html{
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: tahoma;
    font-size: 16px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

}
@media screen html{
    height: 100%;
    width: 100%;
}
body{
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    
}
/*MENU GRAN*/
.menu{
    width: 100%;
    min-height: 40px;
    height: 40px;
    text-align:  center;
    position: fixed;
    background-color: white; 
    margin: 0;
    border: 0;
    z-index: 10;
}
.menu_mig{
    margin: 0 auto;
    width: 90%;
    height: 40px;
    padding: 0;    
}
.menu_bot{
    width: 20%;
    display: inline-block;
    text-transform: uppercase;
    line-height: 40px;
    cursor: pointer;
    margin: 0;
    border: 0;
    padding: 0;
    
}
.menu_ralla{
    width: 100%;
    height: 2px;
    position: fixed;
    top: 40px;
    text-align: center;
    background-color: white;
    z-index: 10;
}
.menu_ralla_mig{
    margin: 0 auto;
    height: 2px;
    width: 90%;
    padding: 0;  
}
.menu_bot_ralla{
    width: 20%;
    line-height: 2px;
    margin : 0;
    padding: 0;
    border: 0;    
    background-color: #830909;
    position: relative;
}

/*MENU PETIT*/
.menu_petit_bot{
    display: none;
    min-width: 30%;
    line-height: 40px;
    cursor: pointer;
    float: right;
    text-align: center;
    text-transform: uppercase;
}
#menu_petit_bot2{
    display: none;
}
.menu_bloc{
    display: none;
    position: fixed;
    z-index: 10;
    right:0;
    top: 40px;
    width: auto;
    min-width: 30%;
}
.menu_bloc_bot{
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    background-color: white;
    border-bottom: 1px solid white;
    text-transform: uppercase;
    text-align:  center;
}
.menu_bloc_bot:hover{
    border-bottom: 1px solid #830909;
}

.tram{
    width: 100%;
    min-height: 100%;
    
    margin-bottom: 0px;
    border-bottom: 0px;
    margin-top: 0px;
    border-top: 0px;
    padding-top: 5%;
}
#tram0{
    background: url(../img/fons1.jpg) no-repeat center top fixed;
}
#tram1{
    background: url(../img/fons2.jpg) no-repeat center top fixed;
}
#tram2{
    background: url(../img/fons3.jpg) no-repeat center top fixed;
}
#tram3{
    background: url(../img/fons4.jpg) no-repeat center top fixed;
}
#tram4{
    background: url(../img/fons5.jpg) no-repeat center top fixed;
}
#tram5,#tram6{
    background: url(../img/fons2.jpg) no-repeat center top fixed;
}
.caixa_contingut{
    width: 90%;
    height:90%;
    background-color: white;
    opacity: 0.9;
    padding-top:  2.5%;
    padding-bottom: 2.5%;
    margin-left: 5%;
}

.contingut{
    height: 90%;
    width: 80%;
    padding-top: 10px;
    background-color: white;
    opacity: 0.9;
    text-align: justify;
    position: absolute;
    top: 5%;
    left: 10%;
    margin-left: 1px;
}

.tram h1{
    color: #b11203;
    font-size: 1.5em;
    padding-left: 40px;
    margin-bottom: 1.5em;
    text-shadow: 1px 2px 5px #393838;
}

.tram h2{
    color: #b11203;
    font-size: 1.3em;
    padding-left: 30px;
    text-shadow: 1px 2px 5px gray;
}
.tram p{
    padding-left: 20px;
    padding-right: 20px;
    text-align: justify;    
}

.caixa_boto_portfolio{
    cursor: pointer;
    width: auto;
    min-width: 20%;
    max-width: 40%;
    height: auto;
    min-height: 2em;
    line-height: 2em;
    text-align: center;
    margin: 0 auto;
    border-bottom: 1px solid black;
}

.caixa_boto_portfolio:hover{
    border-bottom: 2px solid #b11203;
}
.caixa_boto_portfolio a{
    text-decoration: none;
    color: #b11203;
}
.caixa_logo{
    width: 90%;
    height:90%;
    background-color: white;
    opacity: 0.8;
    padding-top:  2.5%;
    padding-bottom: 2.5%;
    margin-left: 5%;
    text-align: center;
    position: relative;
}
.logo{
    height: auto;
    max-width: 70%;
    top: 15%;
}
/* PORTFOLIO WEB*/
.boto_volver{
    width: 30%;
    line-height: 40px;
    position: absolute;
    text-transform: uppercase;
    background-color: white;
    text-align: center;
    top: 0;
    z-index: 10;
    cursor: pointer;
    border-bottom: 1px solid white;
}
.boto_volver:hover{
    border-bottom: 1px solid #b11203;
}
/*.boto_volver{
    display: none;
    min-width: 30%;
    line-height: 40px;
    cursor: pointer;
    float: right;
    text-align: left;
    text-transform: uppercase;
}*/
.boto_volver a{
    text-decoration: none;
    color: black; 
}

.boto_volver a:hover{
    color: #b11203;
}
.linia_volver{
    width: 10%;
    height: 2px;
    position: absolute;
    top: 40px;
    background-color: white;
    z-index: 10;
}
.boto_volver:hover + .linia_volver{
    background-color: #b11203;
}
.tram_d{
    width: 100%;
    height: 100%;
    margin-bottom: 0px;
    border-bottom: 0px;
    margin-top: 0px;
    border-top: 0px;
    padding: 0px;
    padding-top: 0%;
}
.portfolio_web_presentacio{
    width:  75%;
    height: 100%;
    float: left;
    text-align:center;
    position: relative;
}

.portfolio_web_presentacio img{
    height: auto;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.portfolio_web_presentacio span{
    color: black;
}

.portfolio_web_presentacio a{
    color: #b11203;
}

.portfolio_web_llista{
    float: left;
    width: 25%;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: #dedede;
}

.descri{
    width: auto;
    margin: 0 auto;
    margin-top: 40px;
    background-color: white;
    opacity: 0.9;    
}

.llista_bloc{
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    text-align: center;
    cursor: pointer;
}

.llista_bloc img{
    height: 90%;
    margin-top:5%;
}

.llista_bloc span{
    text-align: center;
    color: #b11203;
}

.llista_bloc_clickat{
    width: 100%;
    height: auto;
    background-color: #b11203;
    margin-bottom: 30px;
    text-align: center;
}

.llista_bloc_clickat img{
    height: 90%;
    margin-top:5%;
}

.llista_bloc_clickat span{
    text-align: center;
    color: white;
}

.portfolio_web_movil{
    display: none;
    width: 100%;
    height: auto;
    text-align: center;
}

.movil_bloc{
    width: 100%;
    background-color: white;
    opacity: 0.9;
    margin-bottom: 2em;
}

.movil_bloc img{
    width: 100%;
}

.movil_bloc a{
    text-decoration: none;
    color: #b11203;
}
/*CONTACTO*/
.submenu_cont{
    margin: 0 auto;
    width: 100%;
    text-align: center;
    background-color: white;
    opacity: 0.9;
}

.cont_botons{
    color: gray;
    cursor: pointer;
}

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

.caixa_cont_general{
    width: 100%;
    height: auto;
    margin: 0 auto;
    text-align: center;
    color: gray;
}

.caixa_cont_general a{
    color: #b11203;
    text-decoration: none;
    line-height: 2em;
}

.inp_caixa{
    width: 80%;
    height: 200px;
    resize: none;
    overflow-y: scroll;
    font-family:'titilliumregular',Arial, Helvetica, sans-serif;
    padding: 1%;
    line-height: 2em;
    -ms-box-sizing:content-box;
    -moz-box-sizing:content-box;
    -webkit-box-sizing:content-box; 
    box-sizing:content-box;
}

.inp_cnt{
    width: 82%;
    height: 2em;
    line-height: 2em;
    padding-left: 2%;
    margin-bottom: 1em;
    font-family:'titilliumregular',Arial, Helvetica, sans-serif;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.inp_cnt2{
    width: 80%;
    height: 2em;
    line-height: 2em;
    padding-left: 2%;
    margin-bottom: 1em;
    font-family:'titilliumregular',Arial, Helvetica, sans-serif;
    -ms-box-sizing:content-box;
    -moz-box-sizing:content-box;
    -webkit-box-sizing:content-box; 
    box-sizing:content-box;
}


.f1_check{
    float: left;
    width: 68%;
    height: auto;
    line-height: 2em; 
    border:  none;
}

.f1_boto{
    width: 27%;
    height: 2em;
    line-height: 2em; 
    font-family: Tahoma;
    font-size: 1em;
    float: right;
    cursor: pointer;
    text-transform: uppercase;
    color: gray;
    text-align: center;
    border-bottom: 1px solid black;
}

.f1_boto:hover{
    border-bottom: 1px solid #b11203;
    color: #b11203; 
}
 
.f1_toc{
    height: 50%;
    width: 50%;
    position: fixed;
    z-index: 50;
    top: inherit;
    left: 25%;
    
    padding: 20px;
    border-radius: 20px;
    background-color: #d4d5d6; 
    font-size: 14px;
    text-align: justify;
    color: black;
    opacity: 0.9;
    display: block;
}
#taula1{
    
}
#taula2{
    position: relative;
    padding-bottom: 40%;
    height: 0;
    overflow: hidden;
}
#taula2 iframe{
    position: absolute;
    top: 0;
    left: 0;
    height: 100% !important;
    width: 100% !important;
    border: none;
}
@media screen and (max-device-width:700px) {
    #tram0{
        background: url(../img/fons1.jpg) no-repeat center center fixed;
        background-size: cover;
    }
    #tram1{
        background: url(../img/fons2.jpg) no-repeat center center fixed;
        background-size: cover;
    }
    #tram2{
        background: url(../img/fons3.jpg) no-repeat center center fixed;
        background-size: cover;
    }
    #tram3{
        background: url(../img/fons4.jpg) no-repeat center center fixed;
        background-size: cover;
    }
    #tram4{
        background: url(../img/fons5.jpg) no-repeat center center fixed;
        background-size: cover;
    }
    #tram5{
        overflow-y: scroll;
        background: url(../img/fons1.jpg) no-repeat center center scroll;
        background-size: cover !important;
    }
    html{
        font-size:1.2em;    
    }
    /*.menu{
        height: 3em;
    }
    .menu_petit_bot{
        line-height:  3em;
    }
    .menu_bloc{
        top: 3em;
    }
    .menu_bloc_bot{
        height: 3em;
        line-height: 3em;
    }
    .cont_botons{
        font-size: 1.5em;   
    }*/
    .inp_caixa{
        border: none;
        font-size: 1em; 
    }
    .inp_cnt{
        border: none;
        font-size: 1em;
        margin-bottom: 1.5em; 
    }
    .inp_cnt2{
        border: none;
        font-size: 1em;
        margin-bottom: 1.5em;
    }
    .f1_boto{
        height: 4em;
        line-height: 4em;
    }
    .menu_mig{
        display: none !important;
    }
    .menu_ralla{
        display: none !important;
    }
    .menu_petit_bot{
        display: block;
    }
    #menu_petit_bot1{
        display: block;
    }
    #menu_petit_bot2{
        display: none;
    }
    #taula2{
        padding-bottom: 100%;
    }
    
    .portfolio_web_presentacio{
        display: none;
    }
    
    .portfolio_web_llista{
        display: none;
    }
    
    .portfolio_web_movil{
        display: block;
    }
    
    .text_portfolio{
        font-size: 0.9em;
    }
}


/* PORTFOLIO GRAFICO */
.menu_bloc_g{
    display: none;
    position: fixed;
    z-index: 10;
    right:0;
    top: 40px;
    width: auto;
    min-width: 30%;
    float: right;
}
.menu_petit_bot_g{
    min-width: 30%;
    line-height: 40px;
    cursor: pointer;
    float: right;
    text-align: center;
    text-transform: uppercase;
}
.caixa_contingut_g{
    width: 90%;
    height: 90% !important;
    background-color: white;
    opacity: 0.9;
    padding-top:  2.5%;
    padding-bottom: 2.5%;
    margin-left: 5%;
}
.portfolio_grafico_item_dins{
    margin-left: 2%;
    margin-bottom: 1%;
    width: 30%;
    
    text-align: center;
    cursor: pointer;
    background-color:  white;
    min-height: 200px;
    position: relative;
    display: inline-block;
}

.portfolio_grafico_item_dins img{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    max-width: 100%;
}

#portfolio_grafico_tot{
    z-index: 100;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0; 
    display: none;   
}

#portfolio_grafico_gran{
    height: 80%;
    width: 80%;
    position: absolute;
    top: 10%;
    left: 10%;
    background-color: white;
    text-align: center;
    display: inline-block;
    z-index:100;
    align-items: center;
}

#portfolio_grafico_gran:before{
    height: 100%;
    content: ' ';
    vertical-align: middle;
    display: inline-block;  
}

#portfolio_grafico_gran img{
    max-height: 100%;
    max-width: 100%;
    vertical-align: middle;
    display: inline-block;
}

#portfolio_grafico_gran_tancar{
    position: absolute;
    top:0;
    right: 0;
    cursor: pointer; 
    width: 5%;
    height: 5%; 
}
#portfolio_grafico_gran_tancar img{
    width: 100%;
    height: 100%;
}
#targetes_cara2_1{
    display: none;
}
/*input[type=checkbox] {
	visibility: hidden;
}

.slideThree {
	width: 200px;
	height: 26px;
	background: #333;
	margin: 20px auto;

	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
	position: relative;

	-webkit-box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,0.2);
	-moz-box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,0.2);
	box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,0.2);
}

.slideThree:after {
	content: 'OFF';
	font: 12px/26px Arial, sans-serif;
	color: #000;
	position: absolute;
	right: 10px;
	z-index: 0;
	font-weight: bold;
	text-shadow: 1px 1px 0px rgba(255,255,255,.15);
}

.slideThree:before {
	content: 'ON';
	font: 12px/26px Arial, sans-serif;
	color: #00bf00;
	position: absolute;
	left: 10px;
	z-index: 0;
	font-weight: bold;
}

.slideThree label {
	display: block;
	width: 34px;
	height: 20px;

	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;

	-webkit-transition: all .4s ease;
	-moz-transition: all .4s ease;
	-o-transition: all .4s ease;
	-ms-transition: all .4s ease;
	transition: all .4s ease;
	cursor: pointer;
	position: absolute;
	top: 3px;
	left: 3px;
	z-index: 1;

	-webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
	background: #fcfff4;

	background: -webkit-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
	background: -moz-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
	background: -o-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
	background: -ms-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
	background: linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#b3bead',GradientType=0 );
}

.slideThree input[type=checkbox]:checked + label {
	left: 43px;
}*/


.boto_tancar{
    color: white; 
    cursor: pointer; 
}




