html{
    height: 100%;
    width: 100%;
    font-family:'titilliumregular',Arial, Helvetica, sans-serif;
    /*background: url(../img/fons.jpg) no-repeat center top fixed;*/
    background:  url(../img/patronus.jpg) repeat; 
    min-height: 900px;
    margin: 0;
    padding: 0;
}

body{
    margin:0;
    padding:0;
    height: 100%;
    width: 100%;
    text-align: center;	
    font-family:'titilliumregular',Arial, Helvetica, sans-serif;
}

.barrasup1{
    width: 100%;
    height: 100px;
    background-color: white;
}

.barrasup1_dins{
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.barrasup2{
    width: 100%;
    height: 40px;
    background-color: white;
    margin-top: 20px;
}

.menu{
    width: 80%;
    height: 40px;
    margin: 0 auto;
}

.menu_item{
    min-width: 19%;
    height: 40px;
    line-height: 40px;
    text-transform: uppercase;
    color: black;
    float: left;
    z-index: 10;
}

.menu_item:hover{
    height: 60px;
    line-height: 60px;
    margin-top: -10px;
    background-color:  #c65c34;
    z-index: 10;
}
.menu_item:hover a{
    color: white;
}
.menu_item a{
    text-decoration: none;
    color: black;
}
.menu_item_hover{
    min-width: 19%;
    height: 60px;
    margin-top: -10px;
    line-height: 60px;
    background-color:  #c65c34;
    z-index: 10;
    text-transform: uppercase;
    color: black;
    float: left;
    display: block;
}

.menu_item_hover a{
    text-decoration: none;
    color: white;
}

.contingut{
    width: 90%;
    margin: 0 auto;
    margin-top: 10px;
    padding-top:  30px;
    height: 80%;
    background-color: white;
    overflow-y: hidden;
}

.logo_caixa{
    float: left;
    width: 40%;
}

.logo{
    
}

.siguenos{
    float: left;
    text-align: center;
    line-height: 100px;
    width: 30%;
}

.idiomes{
    width: 30%;
    float: right;
    line-height: 100px;
    text-align:  center;
}

.siguenos span{
    font-weight: normal;
    line-height: 20px;
    vertical-align: middle;
}

.siguenos img{
    height: 20px;
    border: none;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%);
    vertical-align: middle;
}

.siguenos img:hover{
    filter: none;
    -webkit-filter: grayscale(0%);
}









.scroller{
    width: 100%;
    height: 800px;
    overflow-x: no-content;
    overflow-y: scroll;
}

.pqt_gran{
    width: 30%;
    max-width: 300px;
    height: 400px;
    border: 3px solid #b25836;
    padding: 0;
    float: left;
    margin-left: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.pqt_text{
    background: url(../img/patronus2.png) no-repeat;
    text-transform: uppercase;
    vertical-align: baseline;
    color: black;
    line-height: 70px;
    
    position: relative;
    bottom: 0;
    width: 100%;
    height: 70px;
    z-index: 10;
    
    
    
    -webkit-transition:-webkit-transform 0.4s;
    -moz-transition:transform 0.4s;
    -o-transition:transform 0.4s;
    transition:transform 0.4s;
}

.pqt_text_txt{
    height: 16px;
    line-height: 16px;
    position: absolute;
    width: 80%;
    padding-left: 5%;
    text-align:  left;
    bottom: 0;
    z-index: 11;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.9);
}

.pqt_img{
    width: 300px;
    height: 400px;
    background-color: green;    
}

.pqt_gran:hover .pqt_text{
    -webkit-transform:translateY(-74px);
    -moz-transform:translateY(-74px);
    -ms-transform:translateY(-74px);
    -o-transform:translateY(-74px);
    transform:translateY(-74px);
    
    
}

.pqt_gran:hover img{
    filter: none;
    -webkit-filter: grayscale(0%);
}





.tira_text{
    height: auto;
    min-height: 190px;
}

.tira_text h2{
    padding-top: 10px;
    margin-top: 0px;
    font-size: 16px;
    color: #013263;
}

.tira_img{
    height:  110px;
}

.tira_img img{
    height: 100px;
    border: 1px #013263 solid;
    margin-right: 1px;
    margin-left: 1px;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%);
}

.tira_img img:hover{
    filter: none;
    -webkit-filter: grayscale(0%);
}




.contingut h1{
    color: #c65c34;
}

.contingut p{
    line-height: 25px;
    font-family: tahoma;
}


.serveis_tira{
    width: 100%;
    height: auto;
    min-height: 250px;
    background-color: #ffe5d6;
    text-align: left;
}

.serveis_tira h1{
    font-size: 16px;    
}

.serveis_tira_img{
    height: auto;
    width: 100%;
}

.serveis_tira_img img{
    width: 15%;
    margin-left: 1%;
}


.overlay{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0, 0.6);
    z-index: 50;
    display: none;
}



.boto_tancar{color:white;cursor:pointer;margin-right:30px;}



.inp_cnt:focus,.inp_cnt2:focus,.inp_caixa:focus{outline:none !important;border:1px solid white;box-shadow:0 0 10px white;}

.centrat{
    width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    min-height: 700px;
    margin-top: 100px;
    background-color: #c65c34;
    text-align: right;
}

.table_formu{
    width: 1200px;
    margin: 0 auto;
    margin-top:  20px;
}

.table_formu tr td{
    width: 1200px;    
}
.f1_check{float:left;width:500px;height:34px;margin-left:100px;margin-top:10px;line-height:34px;border:none;color: white}
.f1_toc{height:120px;width:1000px;position:inherit;z-index:20;margin-top:-150px;margin-left:30px;padding:20px;border-radius:20px;background-color:#d4d5d6;font-size:14px;text-align:justify;color:black;opacity:0.9;display:none;}
.f1_boto{width:74px;height:34px;border:1px solid #c65c34;border-radius:10px;background-color: white;line-height:34px;font-family:Tahoma;font-size:12px;outline:none;float:right;margin-top:10px;margin-right:50px;cursor:pointer;text-transform:uppercase;color:#956433;text-align:center;box-shadow:2px 2px 10px #571717;}
.f1_boto:hover{color:white;border:1px solid #c65c34;background-color:#c65c34;box-shadow:2px 2px 10px black;}
.inp_cnt{
    width:1200px;height:30px;line-height:30px;margin-bottom:15px;font-family: 'titilliumregular ',Arial,Helvetica,sans-serif;padding-left:20px;
    -ms-box-sizing:content-box;
-moz-box-sizing:content-box;
-webkit-box-sizing:content-box; 
box-sizing:content-box;
}
.texta_cnt{width:1180px;height:200px;resize:none;overflow-y:scroll;font-family: 'titilliumregular ',Arial,Helvetica,sans-serif;padding:20px;line-height:20px;
-ms-box-sizing:content-box;
-moz-box-sizing:content-box;
-webkit-box-sizing:content-box; 
box-sizing:content-box;}
.sel_cnt{
    width:1200px;height:30px;line-height:30px;margin-bottom:15px;font-family: 'titilliumregular ',Arial,Helvetica,sans-serif;padding-left:20px;
    -ms-box-sizing:content-box;
-moz-box-sizing:content-box;
-webkit-box-sizing:content-box; 
box-sizing:content-box;
}


.slogan{
    float: right;
    text-align: right;
    width: 100%;
    font-size: 20px;
    color: #c65c34;
    margin-right: 20px;
    margin-bottom: 20px;
}

.index_ap{
    width: 100%;
    background-color: #ffe5d6;
    margin-top: 40px;
    padding-bottom: 20px;
}

.index_ap h1{
    color: #c65c34;
    font-size:  18px;
}

.index_tira_img{
    height: auto;
    width: 100%;
}

.index_tira_img img{
    height: auto;
    width: 30%;
    max-width: 300px;
    margin-left: 2%;
}