html{
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: tahoma;
    font-size: 13px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(../img/fons1.jpg) no-repeat center top fixed; 

}
@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: 610px;
    height: 40px;
    padding: 0;   
}
.menu_bot{
    width: 100px;
    display: inline-block;
    text-transform: uppercase;
    line-height: 40px;
    cursor: pointer;
    margin: 0;
    border: 0;
    padding: 0;
    font-size: 14px;
}

.menu_mig a{
    text-decoration: none;
    color: black;
}
.menu_ralla{
    width: 100%;
    height: 2px;
    position: fixed;
    top: 40px;
    text-align: center;
    margin: 0;
    border: 0;
    background-color: white;
    z-index: 10;
}
.menu_ralla_mig{
    margin: 0 auto;
    height: 2px;
    width: 610px;
    padding: 0;  
}
.menu_bot_ralla{
    width: 100px;
    line-height: 2px;
    margin : 0;
    padding: 0;
    border: 0;    
    background-color: #ffa500;
    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 a{
    text-decoration: none;
    color: #4f4f4f;
}
.menu_bloc_bot:hover{
    border-bottom: 1px solid #ffa500;
}

.tram{
    width: 100%;
    margin-bottom: 0px;
    border-bottom: 0px;
    margin-top: 0px;
    border-top: 0px;
}
/*#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/fons2.jpg) no-repeat center top fixed;
}
#tram4{
    background: url(../img/fons3.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.8;
    padding-top:  2.5%;
    padding-bottom: 2.5%;
    margin-left: 5%;
    min-height: 500px;
}

.caixa_contingut_cont{
    width: 90%;
    height:90%;
    /*background-color: white;*/
    opacity: 0.8;
    padding-top:  2.5%;
    padding-bottom: 2.5%;
    margin-left: 5%;
    min-height: 500px;
    text-align: center;
    line-height: 30px;
}

.caixa_contingut_cont a{
    color: #ffa500;
}

.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: black;
    font-size: 1.2em;
    padding-left: 40px;
    margin-bottom: 1em;
    margin-top: 2em;
    font-weight: 100;
    text-transform: uppercase;
    border-bottom: 1px solid #ffa500;
}

.tram h2{
    color: #4f4f4f;
    font-size: 1.3em;
    margin-top: 1.3em;
    margin-bottom: 1.3em;
    padding-bottom: 0px;
    font-weight: 100;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-color: #ffa500;
}

.tram h3{
    color: #4f4f4f;
    font-size: 1.1em;
    padding-left: 1.1em;
    margin-bottom: 0px;
    font-weight: 100;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-color: #ffa500;
}

.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: 100%;
    max-width: 100%;
    max-height:300px;
    opacity: 0.8;
    text-align: center;
    position: relative;
}
.logo{
    height: auto;
    max-height: 300px;
    max-width: 100%;
}
/* 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;
}

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



/* ACTORES */

.castings{
    width: 90%;
    margin-left: 5%;
    height: calc(100% - 120px);
    text-align: justify;
    color: #bbbbbb;
    overflow: scroll;
    overflow-x: hidden;
}

.castings{
    scrollbar-3dlight-color:black;
    scrollbar-arrow-color:#ffa500;
    scrollbar-darkshadow-color:blue;
    scrollbar-face-color:#ffa500;
    scrollbar-highlight-color:#383838;
    scrollbar-shadow-color:#ffa500;
}

.fons_img{
    height: 300px;
    width: 19%;
    margin-left:1%;
    min-width: 200px;
    max-width: 300px;
    display: inline-block;
    overflow: hidden;
    -webkit-transition:-webkit-transform 0.4s;
    -moz-transition:transform 0.4s;
    -o-transition:transform 0.4s;
    transition:transform 0.4s;
}

.fons_img img{
    height: 296px;
    width: 100%;
    object-fit: cover;
    border-bottom: 2px solid white;
    z-index: 1;
    filter: none;
    -webkit-filter: grayscale(0%);
}

.nom_act{
    position: relative;
    bottom: 0;
    background-color: white;
    opacity: 0.8;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 1.2em;
    z-index: 10;

    -webkit-transition:-webkit-transform 0.4s;
    -moz-transition:transform 0.4s;
    -o-transition:transform 0.4s;
    transition:transform 0.4s;

    
    text-decoration: none;
    color: #383838;
    font-weight: 100;
    text-transform: uppercase;
    line-height: 40px;
    text-align: center;
}

.nom_act a{
    
}
.hovered .nom_act,.fons_img:hover .nom_act{
    -webkit-transform:translateY(-46px);
    -moz-transform:translateY(-46px);
    -ms-transform:translateY(-46px);
    -o-transform:translateY(-46px);
    transform:translateY(-46px);
}

.hovered img, .fons_img:hover img{
    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%);
}

.hovered .noticia_dins,.fons_img:hover .noticia_dins{
    -webkit-transform:translateY(-146px);
    -moz-transform:translateY(-146px);
    -ms-transform:translateY(-146px);
    -o-transform:translateY(-146px);
    transform:translateY(-146px);
}

.dins_l{
    float: left;
    width: 59%;
    min-height: 500px;
    padding-left:1%;
}
/*
.dins_d{
    float: right;
    width:40%;
    text-align: center;
    overflow-y: scroll;
}

.dins_d{
    scrollbar-3dlight-color:black;
    scrollbar-arrow-color:#ffa500;
    scrollbar-darkshadow-color:blue;
    scrollbar-face-color:#ffa500;
    scrollbar-highlight-color:#383838;
    scrollbar-shadow-color:#ffa500;
}*/

.dins_d{
    float: right;
    width:40%;
    text-align: center;
    overflow: hidden;
}
.dins_d2{
    height: 100%;
    width:100%;
    text-align: center;
    overflow-y: scroll;
}


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

.nom_actor{
    text-align: center;
}

.nom_actor h1{
    line-height: 50px;
}

.curri{
    padding-left: 50px;
    font-size: 1em;
}

.bloc_act{
    background:rgba(254,235,199,0.63);
}
/*4.0*/
#tram0{
    padding-top: 3%;
}

.video_actor{
    width: 98%;
    margin-top: 1.5em;
}

.noticia_dins{
    position: relative;
    bottom: 0;
    background-color: white;
    opacity: 0.8;
    width: 97%;
    height: 140px;
    font-size: 1.2em;
    z-index: 10;

    -webkit-transition:-webkit-transform 0.4s;
    -moz-transition:transform 0.4s;
    -o-transition:transform 0.4s;
    transition:transform 0.4s;
    
    text-decoration: none;
    color: #383838;
    font-weight: 100;
    text-align: justify;
    padding: 1%;
    line-height: 20px;
}

.noticia_dins p{
    margin: 0 auto;
}

@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;    
    }
    
    .caixa_logo, .caixa_contingut, .caixa_contingut_cont{
        padding-top: 1.3em;
    }
    
    .dins_d, .dins_l{
        float: none;
        width: 100%;
    }
    .curri{
        padding-left: 0px;
    }
    .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;
    }
}

