/*-------------------------------SEZIONI CONTENT---------------------------------*/
body{
    font-family: 'Montserrat', sans-serif;
}

.loader-page{
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #FFF;
    top: 0;
    left: 0;
    z-index: 3;
}

#container{
    background-color: #999;
}

.video-preview{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    position: absolute;
    background-position: center center;
}

.home .video-preview{
    background-image: url("../images/video-preview/video-preview-home.jpg");
}

.commerciale .video-preview{
    background-image: url("../images/video-preview/video-preview-commerciale.jpg");
}

.creativa .video-preview{
    background-image: url("../images/video-preview/video-preview-creativa.jpg");
}

.tont .video-preview{
    background-image: url("../images/video-preview/video-preview-tont.jpg");
}

.ventosa .video-preview{
    background-image: url("../images/video-preview/video-preview-ventosa.jpg");
}

.gianmaria .video-preview{
    background-image: url("../images/video-preview/video-preview-gianmaria.jpg");
}

#container video{
    position: absolute;
	left: 0;
	top: 0;
}

.play{
    position:absolute;
    top: 41%;
    left: calc(50% - 35px);
    width: 70px;
    height: auto;
    z-index: 1;
    text-align: center;
    background: none;
    border: none;
}

.play i{
    /*color: rgba(0,0,0,1);*/
    /*background-color: rgba(2, 23, 37, 1);*/
    color: #17344c;
}

.play i.active{
    color: rgba(0,0,0,0.1);
}

.loader-custom{
    position: absolute;
    top: 40%;
    left: 0;
    z-index: 100;
    width: 100%;
    text-align: center;
    height: 100px;
    display: none;
    font-size: 30px;
    color: #FFF;
}

/* This used to work for parent element of button divs */

/* But it is not enough now, below dont hide play button parent div */

*::-webkit-media-controls-panel {
    display: none!important;
    -webkit-appearance: none;
}

/* Old shadow dom for play button */

*::--webkit-media-controls-play-button {
    display: none!important;
    -webkit-appearance: none;
}

/* New shadow dom for play button */

/* This one works */

*::-webkit-media-controls-start-playback-button {
    display: none!important;
    -webkit-appearance: none;
}

.scroller-first{
    position:absolute;
    bottom: 20px;
    left: calc(50% - 25px);
    width: 50px;
    height: auto;
    z-index: 1;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
}

.container-fluid{
    padding: 0;
    margin: 0;
    height: 100%;
}

.container-fluid .row{
    margin: 0;
}

.it-fixed-scroll{
    float: left;
    width: 100%;
}

.it-fixed-scroll > .row{
    position: relative;
}

.it-fixed{
    position: relative;
    padding: 0;
}


.it-fixed-item{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.it-fixed-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.it-scroll{
    overflow-x: hidden;
    overflow-y: scroll;
    width: 100%;
    position: absolute;
    padding-left: 50%;
    z-index: 1;
}

.closeGallery{
    position: fixed;
    top: 10%;
    right: 10%;
    z-index: 1;
    display: none;

}


.commerciale:not(.fp-viewing-3rdPage) .closeGallery{
    display: none !important;
}

.closeGallery i{
    font-size: 45px;
    color: #FFF;
    border-radius: 50px;
    padding: 10px 15px;
    background-color: #D15454;
    cursor: pointer;
}

.it-scroll-item{
    float:left;
    width: 100%;
}

.it-text{
    float:left;
    width: 100%;
    padding: 200px 150px;
}

.it-text > h1{
    float:left;
    width: 100%;
    text-transform: uppercase;
    margin-bottom: 50px;
    font-size: 64px;
    font-weight: bolder;
    text-align: left;
    color: #9AAAB5;
}

.commerciale .it-text > h1,
.gianmaria .it-text > h1,
.ventosa .it-text > h1{
    color: #000;
}

.it-text > h1 span{
    color: #D15454;
    font-size: 38px;
}

.commerciale .it-text > h1 span{
    color: #9AAAB5;
}

.gianmaria .it-text > h1 span{
    color: #74A7E1;
}

.ventosa .it-text > h1 span{
    color: #FAC485;
}

.it-text > span{
    float:left;
    width: 100%;
    margin-bottom: 50px;
    text-align: left;
    font-size: 18px;
    line-height: 27px;
    color: #828282;
}

.it-preview-content-plus{
    width: 100%;
    float: left;
    height: auto;
    background-size: cover;
    background-position: center;
}

.it-preview-content-plus.video-gallery{
    background-image: url("../images/videogallery.jpg");
}

.gianmaria .it-preview-content-plus.video-gallery{
    background-image: url("../images/videogallery-gianmaria.jpg");
}

.ventosa .it-preview-content-plus.video-gallery{
    background-image: url("../images/videogallery-ventosa.jpg");
}

.it-preview-content-plus.photo-gallery{
    background-image: url("../images/photogallery.jpg");
}

.gianmaria .it-preview-content-plus.photo-gallery{
    background-image: url("../images/photogallery-gianmaria.jpg");
}

.ventosa .it-preview-content-plus.photo-gallery{
    background-image: url("../images/photogallery-ventosa.jpg");
}

.it-preview-content-plus.vbps{
    background-image: url("../images/testimonial-attivo.jpg");
}

.it-preview-content-plus.brand-study{
    background-image: url("../images/brandstudy.jpg");
}

.it-preview-content-plus.press-review1{
    background-image: url("../images/samsung.jpg");
}

.it-preview-content-plus.press-review2{
    background-image: url("../images/mercedes.jpg");
}

.it-preview-content-plus-overlay{
    background-color: rgba(0,0,0, 0.5);
    height: 100%;
    width: 100%;
    float:left;
}

.it-preview-content-plus-nav{
    margin: 200px 0 200px 0;
    width: 100%;
    float: left;
}

.it-preview-content-plus-nav span{
    width: 100%;
    float: left;
    text-align: center;
    font-size: 55px;
    color: #FFF;
    text-transform: uppercase;
    font-weight: bolder;
}

.it-preview-content-plus-nav span a{
    font-size: 15px;
    color: #FFF;
    border-radius: 50px;
    text-transform: uppercase;
    padding: 10px 50px;
    cursor: pointer;
}

.tont .it-preview-content-plus-nav span a{
    background-color: #D15454;
}

.commerciale .it-preview-content-plus-nav span a{
    background-color: #556374;
}

.gianmaria .it-preview-content-plus-nav span a{
    background-color: #74A7E1;
}

.ventosa .it-preview-content-plus-nav span a{
    background-color: #FAC485;
}


.it-preview-content-plus-nav span a:hover{
    text-decoration: none;
}

.it-preview-content-plus-nav div img{
    width: 50%;
    padding-bottom: 50px;
}

.it-preview-content-plus-nav h3{
    font-size: 35px;
    color: #FFF;
    text-transform: capitalize;
    font-weight: bolder;
}

.it-wrap-content-plus{
    float: left;
    display: none;
}

.it-gallery-item{
    float:left;
    width: 100%;
}

.it-gallery-item iframe{
    width: 100%;
    height: 500px;
}

.it-gallery-item-description{
    float:left;
    width: 100%;
    padding: 40px 90px;
    margin-bottom: 50px;
}

.it-gallery-item-description h1{
    font-weight: bold;
    margin: 0;
    text-align: left;
    font-size: 48px;
    margin-bottom: 25px;
}

.it-gallery-item-description h3{
    font-weight: bold;
    color: #D15454;
    text-align: left;
    font-size: 24px;
    margin-bottom: 25px;
}

.it-gallery-item-description span{
    text-align: left;
    float: left;
    font-size: 18px;
    line-height: 27px;
    margin-bottom: 25px;
}

.fixed-fixed .it-fixed > img {
    width: 100%;
    object-fit: cover;
    height: 100%;
    object-position: top;
}

.social-panel{
    float: left;
    margin-bottom: 50px;
}

.social-panel li{
    float: left;
    padding-right: 20px;
}

.social-panel i{
    color: #000;
    font-size: 30px;
}

.form{
    width: 100%;
    float: left;
}

.form .row{
    width: 100%;
    float: left;
}

.form form > .row{
    margin-bottom: 20px;
}

.form [class*='col-']{
    padding: 0 20px 0 0;
}

.form span{
    width: 100%;
    float: left;
    text-align: left;
    padding: 10px 0;
}

.form input{
    width: 100%;
    float: left;
    padding: 5px;
}

.form input[type^='button']{
    background-color: #FFF;
    border: 1px solid #D15454;
    color: #D15454;
    padding: 15px 70px;
    width: auto;
    border-radius: 50px;
    margin-top: 40px;
}

.form .success{
    display: none;
    color: #0E7224;
}

audio{
    display: none;
}


/* GENERIC RULE OF RESPONSIVE*/

/*@media screen and (min-height: 768px) and (max-height: 900px) {
    .it-text {
        padding: 100px 150px;
    }

    .it-text > h1 {
        font-size: 50px;
    }

    .it-text > span {
        margin-bottom: 25px;
        font-size: 15px;
        line-height: 23px;
    }

}*/

@media screen and (max-width: 1024px) {
    .it-fixed,
    .it-scroll{
        float:left;
    }

    .it-scroll{
        position: relative;
        padding: 0;
        z-index: 0;
        overflow: auto;
    }

    .it-fixed-item {
        position: inherit;
        float: left;
    }

    #section1 .it-fixed-item {
        display: none;
    }

    .creativa #section1 .it-fixed-item {
        display: block;
    }

    .commerciale #section1 .it-fixed-item {
        display: block;
    }

    #tont-1{
        display: block !important;
    }

    .it-text {
        padding: 10px 20px;
    }

    .it-text > h1 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .it-preview-content-plus-nav {
        margin: 100px 0 50px 0;
    }

    .it-preview-content-plus-nav span {
        font-size: 40px;
    }

    .it-wrap-content-plus{
        width: 100%;
    }

    .it-gallery-item-description h1 {
        text-align: left;
    }

    .it-gallery-item-description h3 {
        text-align: left;
    }

    .it-gallery-item-description span {
        text-align: left;
        float: left;
    }
}

@media screen and (max-width: 768px) {
    #fp-nav{
        display: none;
    }

    .it-gallery-item-description {
        padding: 40px 40px;
    }    
}

.sponsors img{
    width: 100%;
    height: auto;
}


.video-modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 4;
    display: none;
}

.video-modal i{
    position: absolute;
    top: 29px;
    right: 29px;
    background-color: rgba(0,0,0,0.8);
    z-index: 4;
    color: #FFF;
    font-size: 40px;
    cursor: pointer;
}

.video-modal iframe {
    position: absolute;
    top: 20%;
    left: 25%;
    width: 50%;
    height: 50%;
}

.open-modal{
    position: absolute;
    top: 105px;
    left: 0;
    z-index: 1;
    color: #FFF;
    font-size: 70px;
    top: calc((100%-70px)/2);
    left: calc((100%-70px)/2);
    cursor: pointer;
}
