/*tipografia*/
body {
    font-family: tcm, helvetica, Courier;
}

@fontface

{
    font-family: "jigsaw"
;
    src: local "jigsaw"
;
    src: url('../fonts/jigsaw-light.ttf')
}
.jigsaw {
    font-family: "jigsaw";
}

.titol {
    font-size: 40px;
    line-height: 1;
    font-family: jigsaw, tcm, helvetica, Courier;
}

.text1 {
    font-size: 17px;
    line-height: 1.2;
    font-family: jigsaw, tcm, helvetica, Courier;
    text-align: justify;
}

.text1mobil {
    font-size: 17px;
    line-height: 1.2;
    font-family: jigsaw, tcm, helvetica, Courier;
    text-align: justify;
}

.titol3 {
    font-size: 25px;
    line-height: 1.2;
    font-family: jigsaw, tcm, helvetica, Courier;
}

.llegenda {
    font-size: 17px;
    margin-top: 10px;
    font-family: jigsaw, tcm, helvetica, Courier;
}

a {
    text-decoration: none;
    line-height:1;
    color: black;
    font-family: jigsaw, tcm, helvetica, Courier;
}

h2 {
    font-family: jigsaw, tcm, helvetica, Courier;
}

/*estructura*/

body {
    margin: 0px;
    padding: 0px;
}

.container {
}

.background {
    width: 200%;
    height: 200%;
    position: fixed;
    z-index: -2;
    left: -50%;
}

.background img {
    display: block;
    margin: auto;
    min-width: 50%;
    min-height: 50%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

}

.logos {
    max-width: 80%;
    min-height: 60px;
    margin-left: auto;
    margin-right: auto;
}

.marge-logos {
    margin-top: 30px;
}

.text {
    max-width: 80%;
    min-height: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;

}

.dreta {
    width: 42%;
    position: relative;
    float: left;
    height: auto;
    margin-top: 50px;
    background: hsla(0, 100%, 99%, 0.75);
    border-radius: 10px;
    padding-left: 15px;
    padding-right: 15px;
    min-height: 440px;
}

.dretamobil {
    display: none;
    width: 100%;
    position: relative;
    float: left;
    height: auto;
    margin-top: 0px;
    background: hsla(0, 100%, 99%, 0.75);
    border-radius: 10px;
    padding-left: 15px;
    padding-right: 15px;
}

.esquerra {
    width: 42%;
    position: relative;
    float: right;
    height: auto;
    margin-top: 50px;
    background: hsla(0, 100%, 99%, 0.75);
    border-radius: 10px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 420px;
}

.boto {
    text-align: left;
    margin-top: 10px;
}

.accedeix {
    margin-left: 56%;
    cursor: pointer;
}

.boto button {
    font-family: jigsaw, tcm, helvetica, Courier;
    font-size: 12px;
    background-color: #FBBE00;
    border-radius: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
    box-shadow: none;
    border: 0px;
    width: 80px;
}

.boto-registre {
    font-family: jigsaw, tcm, helvetica, Courier;
    font-size: 12px;
    background-color: #FBBE00;
    border-radius: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
    box-shadow: none;
    border: 0px;
    width: 80px;
    text-align: center;
}

.boto-registre a {
    display:block;
}

.textbox {
    width: 75%;
    height: 30px;
    font-size: 20px;
    line-height: 1.2;
    border: 1px solid black;
    border-radius: 10px;
    color: black !important;
    padding-left: 5px;
    background: none;
    font-family: jigsaw, tcm, helvetica, Courier;
}

.textbox:focus {
    outline: none;
    border: 1px solid #07189B;
    border-radius: 10px;
}

.textbox2:focus {
    outline: none;
    border: 1px solid #07189B;
    border-radius: 10px;
}

.textbox2 {
    width: 75%;
    height: 30px;
    font-size: 20px;
    border: 1px solid black;
    border-radius: 10px;
    color: black;
    padding-left: 5px;
    background: none;
    margin-top: 5px;
    font-family: jigsaw, tcm, helvetica, Courier;
}

.help-block {
    padding-left: 5px;
    color: #8F2129;
    font-family: jigsaw, tcm, helvetica, Courier;

}

.esquerra1 {
    width: 100%;
    min-height: 100px;
    position: relative;
    float: left;
}

.esquerra1mobil {
    width: 100%;
    min-height: 100px;
    position: relative;
    float: left;
}

.esquerra2 {
    width: 100%;
    min-height: 100px;
    position: relative;
    float: left;
    margin-top: 40px;

}

.esquerra2mobil {
    width: 100%;
    min-height: 100px;
    position: relative;
    float: left;
    margin-top: 40px;

}

::-webkit-input-placeholder {
    color: black;
}

/* WebKit */
:-moz-placeholder {
    color: black;
}

/* Firefox 18- */
::-moz-placeholder {
    color: black;
}

/* Firefox 19+ */
:-ms-input-placeholder {
    color: black;
}

/* Desktop */
@media only screen and (min-width: 851px) {
    .titol3 {
        margin-top: 5px;
        margin-bottom: 5px;

    }

    .llegenda2:hover {
        text-decoration: underline;
    }

    .logos {
        max-width: 80%;
        min-height: 60px;
        margin-left: auto;
        margin-right: auto;
    }

    .marge-logos {
        margin-top: 30px;
    }

    .text {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        position: relative;

    }

    .dreta {
        width: 41%;
        position: relative;
        float: left;
        height: auto;
        margin-top: 50px;
        background: hsla(0, 100%, 99%, 0.75);
        border-radius: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .dretamobil {
        display: none;
        width: 100%;
        position: relative;
        float: left;
        height: auto;
        margin-top: 0px;
        background: hsla(0, 100%, 99%, 0.75);
        border-radius: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .esquerra {
        width: 41%;
        position: relative;
        float: right;
        height: auto;
        margin-top: 50px;
        background: hsla(0, 100%, 99%, 0.75);
        border-radius: 10px;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 10px;
        padding-bottom: 10px;
        min-height: 420px;

    }

    .boto {
        text-align: left;
        margin-top: 10px;
    }

    .accedeix {
        margin-right: 21%;
        cursor: pointer;
    }

    .boto-registre {
        width: 125px;
    }

    .boto-registre a {
        font-size:14px;
    }

    .boto button {
        font-family: jigsaw, tcm, helvetica, Courier;
        font-size: 12px;
        background-color: #FBBE00;
        border-radius: 10px;
        padding-top: 7px;
        padding-bottom: 7px;
        box-shadow: none;
        border: 0px;
        width: 125px;
        cursor: pointer;
        float: right;

    }

    .textbox {
        width: 75%;
        height: 30px;
        font-size: 20px;
        line-height: 1.2;
        border: 1px solid black;
        border-radius: 10px;
        color: black !important;
        background: none;
        padding-left: 15px;
        font-family: jigsaw, tcm, helvetica, Courier;

    }

    .textbox2 {
        width: 75%;
        height: 30px;
        font-size: 20px;
        border: 1px solid black;
        border-radius: 10px;
        color: black;
        background: none;
        margin-top: 5px;
        padding-left: 15px;
        font-family: jigsaw, tcm, helvetica, Courier;
    }

    .esquerra1 {
        width: 100%;
        min-height: 250px;
        position: relative;
        float: left;
    }

    .esquerra1mobil {
        width: 100%;
        min-height: 100px;
        position: relative;
        float: left;
    }

    .esquerra2 {
        width: 100%;
        min-height: 100px;
        position: relative;
        float: left;
        margin-top: 40px;

    }

    .esquerra2mobil {
        width: 100%;
        min-height: 100px;
        position: relative;
        float: left;
        margin-top: 40px;

    }

    .titol {
        font-size: 40px;
        line-height: 1;
        font-family: jigsaw, tcm, helvetica, Courier;
    }

    .text1 {
        font-size: 17px;
        line-height: 1.2;
        font-family: jigsaw, tcm, helvetica, Courier;
    }

    .text1mobil {
        font-size: 17px;
        line-height: 1.2;
        font-family: jigsaw, tcm, helvetica, Courier;
    }

    .titol3 {
        font-size: 25px;
        line-height: 1.2;
        font-family: jigsaw, tcm, helvetica, Courier;
    }

    .llegenda {
        font-size: 17px;
        line-height: 1.2;
        margin-top: 10px;
        font-family: jigsaw, tcm, helvetica, Courier;
    }

    .llegenda2 {
        font-size: 14px;
        line-height: 0.5;
        font-family: jigsaw, tcm, helvetica, Courier;
        padding-top:5px;
    }

    h2 {
        font-size: 35px;
    }

    .registre {
        margin-top: 60px;
    }

}

/* mobil */
@media only screen and (max-width: 850px) {
    .text {
        min-height: 800px !important;
        overflow:hidden;
    }

    .logos img {
        width: 30%;
    }

    .dreta {
        display: none;
    }

    .dretamobil {
        display: block;
        width: 90%;
        position: relative;
        margin-left: 0px;
        margin-right: 0px%;
        height: auto;
        margin-top: 0px;
        background: none;
    }

    .esquerra {
        width: 90%;
        position: relative;
        float: left;
        margin-left: auto;
        margin-right: auto;
        min-height: 450px;
        margin-top: 0px;
        background: none;
        margin-bottom: 15px;
    }

    .esquerra1 {
        width: 90%;
    }

    .esquerra2 {
        width: 90%;
    }

    .form-group {
        width: 325px;
    }

    .boto button {
        cursor: pointer;
        font-family: jigsaw, tcm, helvetica, Courier;
        font-size: 12px;
        background-color: #FBBE00;
        border-radius: 10px;
        padding-top: 7px;
        padding-bottom: 7px;
        box-shadow: none;
        border: 0px;
        width: 250px;

    }

    .text {
        width: 80%;
        background: red;
        position: relative;
        margin-left: auto;
        margin-right: auto;
        padding: 10px;
        padding-bottom: 65px;
        height: 100%;
        -webkit-height: 100%;
        -moz-height: 100%;
        -o-height: 100%;
        background: hsla(0, 100%, 99%, 0.75);
        border-radius: 10px;
        margin-top: 20px;

    }

    .accedeix {
        margin-left: 0%;
        cursor: pointer;
    }

    .jigsaw, .form-group {
        width:90%;
    }

    .textbox, .textbox2 {
        width: 97%;
        padding-left:15px;
    }

    .accedeix {
        width:91%;
    }

    .accedeix button {
        width:100%;
        font-size:14px;
    }

    .boto-registre {
        width:82%;
    }

    .boto-registre a {
        width:100%;
        font-size:14px;
        padding: 3px 0;
    }

}

@media only screen and (max-width: 380px) {
    .dreta {
        display: none;
    }

    .container {
        width: 100%;
        padding: 0px;
        margin: 0px;
    }

    .text {
        width: 100%;
        position: relative;
        margin-left: auto;
        margin-right: auto;
        padding: 10px;
        padding-bottom: 65px;
        min-height: 950px;
        background: hsla(0, 100%, 99%, 0.75);
        border-radius: 10px;
        margin-top: 20px;

    }

    .form-group, .textbox, .textbox2 {
        width: 215px;
    }

    .boto button, .boto-registre a {
        width:221px;
    }

    .dretamobil {
        display: block;
        width: 90%;
        position: relative;
        margin-left: 0px;
        margin-right: 0px%;
        height: auto;
        margin-top: 60px;
        background: none;
    }

    .esquerra {
        width: 90%;
        position: relative;
        float: left;
        margin-left: auto;
        margin-right: auto;
        height: 450px;
        margin-top: 0px;
        background: none;
    }

    .esquerra1 {
        width: 90%;
    }

    .esquerra2 {
        width: 90%;
    }

    .esquerra2mobil {
        margin-top: 0px;
    }

    .boto button {
        font-family: jigsaw, tcm, helvetica, Courier;
        font-size: 12px;
        background-color: #FBBE00;
        border-radius: 10px;
        padding-top: 7px;
        padding-bottom: 7px;
        box-shadow: none;
        border: 0px;

    }

    .accedeix {
        margin-left: 0%;
        cursor: pointer;
    }

    .boto-registre {
        font-family: jigsaw, tcm, helvetica, Courier;
        background-color: #FBBE00;
        border-radius: 10px;
        padding-top: 7px;
        padding-bottom: 7px;
        box-shadow: none;
        border: 0px;

        text-align: center;
    }
}

@media only screen and (max-width: 320px) {
    .text {
        height: 1000px !important;
    }

    .form-group {
        width: 325px;
    }

    .textbox2 {
        width: 58%
    }

    .textbox {
        width: 58%;
    }

    .boto button {
        width: 200px;
    }

    .boto-registre {
        width: 200px;
    }

    .titol {
        font-size: 35px;
    }
}