@font-face {
    font-family: 'nexaregular';
    src: url('fonts/fontfabric_-_nexa-webfont.woff2') format('woff2'),
    url('fonts/fontfabric_-_nexa-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'nexablack';
    src: url('fonts/fontfabric_-_nexablack-webfont.woff2') format('woff2'),
    url('fonts/fontfabric_-_nexablack-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'nexablack_italic';
    src: url('fonts/fontfabric_-_nexablackitalic-webfont.woff2') format('woff2'),
    url('fonts/fontfabric_-_nexablackitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'nexabold';
    src: url('fonts/fontfabric_-_nexabold-webfont.woff2') format('woff2'),
    url('fonts/fontfabric_-_nexabold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'nexabold_italic';
    src: url('fonts/fontfabric_-_nexabolditalic-webfont.woff2') format('woff2'),
    url('fonts/fontfabric_-_nexabolditalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'nexabook';
    src: url('fonts/fontfabric_-_nexabook-webfont.woff2') format('woff2'),
    url('fonts/fontfabric_-_nexabook-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'nexabook_italic';
    src: url('fonts/fontfabric_-_nexabookitalic-webfont.woff2') format('woff2'),
    url('fonts/fontfabric_-_nexabookitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'nexaheavy';
    src: url('fonts/fontfabric_-_nexaheavy-webfont.woff2') format('woff2'),
    url('fonts/fontfabric_-_nexaheavy-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'nexaheavy_italic';
    src: url('fonts/fontfabric_-_nexaheavyitalic-webfont.woff2') format('woff2'),
    url('fonts/fontfabric_-_nexaheavyitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'nexalight';
    src: url('fonts/fontfabric_-_nexalight-webfont.woff2') format('woff2'),
    url('fonts/fontfabric_-_nexalight-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'nexalight_italic';
    src: url('fonts/fontfabric_-_nexalightitalic-webfont.woff2') format('woff2'),
    url('fonts/fontfabric_-_nexalightitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'nexaregular_italic';
    src: url('fonts/fontfabric_-_nexa-regularitalic-webfont.woff2') format('woff2'),
    url('fonts/fontfabric_-_nexa-regularitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

*{
    font-family: 'nexaregular';
}

html,body {
    height:100%;
    color: #000;
}

body.noScroll {
    overflow: hidden;
}

.navbar {
    -webkit-transition:padding 0.2s ease;
    -moz-transition:padding 0.2s ease;
    -o-transition:padding 0.2s ease;
    transition:padding 0.2s ease;
    background-color: transparent;
    padding-left: 100px;
    padding-right: 100px;
}

.nav-link{
    color: #000;
    position: relative;
    display: inline-block;
    margin-left: 21px;
}

.nav-link:hover{
    color: #000;
}

.nav-link.active{
    content: '';
    width: 100%;
    position: absolute;
    height: 1px;
    background-color: #000;
    left: 0;
    top: 50%;
}

.nav-link::after {
    content: '';
    width: 0%;
    position: absolute;
    height: 1px;
    left: 0;
    top: 50%;
    transition: all 0.2s linear;
}

.nav-link:hover::after {
    content: '';
    width: 100%;
    position: absolute;
    height: 1px;
    background-color: #000;
    left: 0;
    top: 50%;
}

.navbar-dark .navbar-nav .nav-link {
    color: #FFF;
}

.navbar-dark .navbar-nav .nav-link::after {
    background-color: #FFF;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #FFF;
}

.navbar-dark .navbar-nav .nav-link:hover::after {
    content: '';
    width: 100%;
    position: absolute;
    height: 1px;
    background-color: #FFF;
    left: 0;
    top: 50%;
}

.affix {
    padding-top: 2em !important;
    padding-bottom: 2em !important;
    -webkit-transition:padding 0.2s linear;
    -moz-transition:padding 0.2s linear;
    -o-transition:padding 0.2s linear;
    transition:padding 0.2s linear;
    background-color: #FFF;
}

.affix .logo-white{
    display: none;
}

.affix .logo-dark{
    display: block;
}

.navbar-dark .logo-black{
    display: none;
}

.navbar-dark .logo-white{
    display: block;
}

.nav-default .logo-white{
    display: none;
}

.header{
    background-color: #000;
    height: 100vh;
    width: 100%;
    position: relative;
    transition: all 1s ease;
}

.header-table{
    display: table;
    width: 100%;
    height: 100%;
    background-color: #000;
}

.header-cell{
    display:table-cell;
    vertical-align: middle;
    text-align: center;
    background-color: #000;
}

.header-cell h1{
    color: #FFF;
    max-width: 90%;
    display: block;
    margin: 0 auto;
}

.header-cell h4{
    color: #FFF;
    margin-bottom: 25px;
}

.embed-container-home {
    width: 100%;
    height: 0;
    padding-bottom: 44.5%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    /* margin-top: 80px; */
}

.play-video {
    position: absolute;
    bottom: 100px;
    color: #FFF;
    transform: translate(-50%);
    left: 50%;
    cursor: pointer;
}

/*.play-video {
    color: #FFF;
    cursor: pointer;
    margin-top: 25px;
}*/

#video-home-close{
    display: none;
}

.linea-award {
    width: 100%;
    display: inline-block;
    color: #FFF;
    border-top: 1px solid #32383e;
    padding: 15px 0;
}

.linea-award ul{
    padding-left:0;
    list-style: none;
    margin-bottom:0;
}

.linea-award ul li{
    padding: 5px 0;
}

.linea-award a{
    color: #FFF;
    text-decoration: underline;
}

.titolo-tabella{
    font-size: 80%;
    color: #7B7B7B;
    margin-bottom: 5px;
    margin-top: 80px;
}

.play-video::after{
    content:"";
    height: 90px;
    width: 1px;
    background-color: #FFF;
    position: absolute;
    top: 34px;
    left: 50%;
}

section.intro{
    padding: 100px 0;
}

.link-line{
    position: relative;
    padding-left: 55px;
    color: #000;
    transition: all 0.2s linear;
    line-height: 25px;
}

.link-line:hover{
    color: #000;
    text-decoration: none;
}

.link-line:hover::before {
    width: 100%;
}

.link-line::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 1px;
    background-color: #000;
    top: 51%;
    left: 0;
    transition: all 0.2s linear;
}

p.big-font{
    font-size: 22px;
}

.owl-stage {
    left: -100px;
}

.item-background{
    height: 1px;
    width: 100%;
    positon: relative;
    background-image: url('//placehold.it/350x150&text=2');
    background-size: cover;
    background-position: center;
    padding-bottom: 30%;
}

.blocchi-scheda {
    position: absolute;
    bottom: 0;
}

.owl-item:after{
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    top:0;
    bottom:0;
    transition: all 0.5s linear;
    opacity: 1;
    pointer-events: none;
}

.owl-item.active:after{
    opacity: 0;
}


.owl-item .info-scheda, .owl-item .numero-scheda{
    opacity: 0;
    transition: all 1s linear;
    display: inline-block;
}

.owl-item.active .info-scheda, .owl-item.active .numero-scheda{
    opacity: 1;
    transition: all 1s linear;
}

.info-scheda{
    background-color: #FFF;
    padding: 60px 60px 50px 60px;
    min-height: 287px;
    width:372px;
}

.info-scheda .premio{
    color: #7B7B7B;
}

.info-scheda .premio i{
    margin-right: 18px;
}

.info-scheda .titolo{
    color: #000;
    font-weight: bold;
    font-family: "nexabold";
    font-size: 20px;
    margin-top: 25px;
}

.info-scheda .link {
    position: absolute;
    bottom: 50px;
}

.numero-scheda {
    vertical-align: bottom;
    width: 145px;
    height: 145px;
    text-align: left;
    background-color: rgba(255, 255,255,0.5);
    line-height: 145px;
    font-size: 60px;
    padding: 0 17px;
    margin-left: -4px;
}

.numero-scheda span{
    color: #7B7B7B;
    font-size: 14px;
    position: absolute;
}

.owl-dots {
    position: absolute;
    bottom: 50px;
    right: 220px;
}

.owl-dot{
    display: inline-block;
    width: 15px;
    text-align: center;
    height: 15px;
    border: 2px solid #FFF;
    border-radius: 50%;
    margin-left: 5px;
    margin-right: 5px;
}

.owl-dot.active{
    background-color: #FFF;
}

.owl-nav {
    position: absolute;
    right: 55px;
    bottom: 50px;
    color: #FFF;
    font-size: 16px;
}

section.clienti{
    padding: 100px 0 200px;
}

.bg-gray{
    background-color: #F2F3F5;
}

.logo-cliente{
    max-width: 100%;
    display: block;
    margin: 35px auto 0 auto;
}

.data-premi{
    text-align:center;
}

.data-premi a{
    color:#7B7B7B;
    text-decoration:none;
}

.data-premi a:hover{
    color:#7B7B7B;
}

.tabcontent {
    display: none;
}

.tabcontent.anno-active {
    display: block;
}

#nav-tab {
    text-align: center;
    display: inline-block;
    margin-top: 80px;
}

#nav-tab .nav-item {
    padding: 0 20px;
}

.nav-tabs a.active, .nav-tabs .nav-item.show a {
    color: #FFF;
    background-color: transparent;
    border-color: transparent;
}

.nav-tabs {
    border: none;
}

.nav-tabs a:hover, .nav-tabs a:focus {
    border:none;
}


footer{
    padding: 125px 0;
    background-color: #FFF;
    display: inline-block;
    width: 100%;
}

footer h6{
    color: #7B7B7B;
}

footer ul{
    list-style: none;
    padding-left: 0;
}

footer ul li{
    color: #000;
    font-size: 20px;
    padding: 10px 0;
}

section.main{
    padding: 136px 100px;
}

section.main-detail{
    padding: 0 100px 136px 100px;
}

/*.module {
    width: 48%;
    min-height: 200px;
    background: white;
    position: relative;
    float: left;
    padding: 20px;
    margin-right: 4%;
    margin-bottom: 4%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.module:nth-child(even) {
    margin-right: 0;
}*/
.module{
    margin-top:30px;
}

.blocco{
    width: 100%;
    height: 1px;
    padding-bottom: 60%;
    position: relative;
    background-position: center;
    background-size: cover;
}

.come-in {
    transform: translateY(200px);
    animation: come-in 0.8s ease forwards;
}

.come-in:nth-child(odd) {
    animation-duration: 0.6s;
}

.already-visible {
    transform: translateY(0);
    animation: none;
}

@keyframes come-in {
    to {
        transform: translateY(0);
    }
}

.info-work {
    opacity: 0;
    background-color: #FFF;
    padding: 40px 60px;
    width: 370px;
    height: 280px;
    top: 50%;
    transform: translate(100px, -50%);
    position: absolute;
    transition: all 0.5s ease-in;
}

.info-work .premio{
    color: #7B7B7B;
}

.info-work .premio i{
    margin-right: 18px;
}

.info-work .titolo{
    color: #000;
    font-weight: bold;
    font-family: "nexabold";
    font-size: 20px;
    margin-top: 25px;
}

.info-work .link {
    position: absolute;
    bottom: 50px;
}

.blocco:hover > .info-work{
    opacity: 1;
}

section.header-project{
    padding-top: 136px;
    padding-left:100px;
    padding-right: 100px;
    position: relative;
}

.embed-container iframe,
.embed-container object,
.embed-container embed,

.embed-container-home iframe,
.embed-container-home object,
.embed-container-home embed{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bg-header-half{
    width: 100%;
    height: 320px;
    background-color: #FFF;
    position: absolute;
    bottom: 0;
    margin-left: -100px;
    margin-right: -100px;
}

.header-project h1{
    color: #000;
    font-size:30px;
    margin-bottom:40px;
    font-weight: bold;
    font-family: "nexabold";
}

.header-project .premio{
    color: #7B7B7B;
    margin-bottom: 60px;
}

.header-project .premio i{
    margin-right: 18px;
}

.header-project p{
    color: #111111;
    font-size:16px;
}

.embed-container {
    width:100%;
    height:0;
    padding-bottom:56.25%;
    overflow:hidden;
    position:relative;
    margin:0 auto;
    margin-top: 80px;
}

.container-vimeo {
    max-width: 1700px;
    display: block;
    margin: 0 auto;
    width:100%;
}

.img-fluid{
    width:100%;
}

#top{
    width: 63px;
    height: 63px;
    position: fixed;
    bottom: 69px;
    right: 69px;
    background-color: #111;
    display: none;
    color: #FFF;
    text-align: center;
    z-index: 9999;

}

#top i{
    font-size: 20px;
    line-height: 63px;
}

section.award{
    padding: 100px 0;
}

.bg-dark{
    background-color: #111111 !important;
}

.color-light{
    color: #7B7B7B;
}

.color-white{
    color: #FFF;
}

.color-white a{
    color: #FFF;
    text-decoration: underlines;
}

.big-number {
    color: #FFF;
    font-size: 110px;
    /* position: absolute; */
    margin-top: 0;
    line-height: 110px;
}

.premi-vinti{
    position: absolute;
    padding-left: 15px;
    padding-top: 3px;
    font-size: 18px;
}

.linea-intestazione {
    height: 1px;
    width: 100%;
    background-color: #707070;
    position: absolute;
    bottom: 50px;
}

.table-dark{
    background-color: #111111 !important;
    margin-top: 50px;
}

.table th{
    border-top: 1px solid transparent !important;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 0px solid #dee2e6;
    border-bottom-color: rgb(222, 226, 230);

}

th{
    font-size: 80%;
    color: #7B7B7B;
}

footer.reverse{
    background-color: #111111;
}

footer.reverse ul li{
    color: #FFF;
}

.no-bottom{
    padding-bottom: 0 !important;
}

section.branded{
    padding: 250px 0 385px;
    overflow: hidden;
}

.work-link {
    color: #FFF;
    font-size: 60px;
}

.work-link:hover{
    text-decoration: underline;
    color: #FFF;
}

.img-tagliate {
    position: absolute;
    /* left: 0; */
    left: 50%;
    transform: translate(-50%, 50%);
    bottom: 0%;
    transition: all 0.5s linear;
    width: 100%;
}

.logo {
    width: 35px;
}

.navbar-toggler{
    padding: 0;
}

.menu{
    width: 25px;
}

#opened_menu {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999999999999;
    background-color: rgba(255, 255, 255, 1);
    display: table;
    display: none;
}

.menu_mobile{
    display: table;
    width: 100%;
    height: 100%;
}

#opened_menu ul {
    display: table-cell;
    width: 100%;
    vertical-align: middle;
    list-style: none;
    text-align: center;
    padding-left: 0;
}

#opened_menu ul li{
    padding: 17px 0;
}

#opened_menu ul a{
    font-size: 16px;
    font-weight: bold;
    font-family: "nexabold";
    margin-left: 0px;
}

#close_menu {
    width: 45px;
    margin-top: 130px;
    cursor: pointer;
}

.blocco_mobile{
    display: none;
}

.blocco_dekstop{
    display: block;
}

.info-work .link-mobile{
    display: none;
}

.dati-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

#play {
    position: absolute;
    width: 100px;
    height: 100px;
    color: #FFF;
    background-color: #000;
    border-radius: 50%;
    line-height: 100px;
    text-align: center;
    left: 50%;
    top: 50%;
    margin-top: -50px;
    margin-left: -50px;
    cursor: pointer;
    font-size:12px;
}

.featured-works{
    padding: 0 100px;
    width: 100%;
}

.box-posizioni{
    padding-bottom: 30px;
    border-bottom:1px solid #000;
    margin-bottom: 100px;
}

.box-posizioni:last-child{
    padding-bottom: 0px;
    border-bottom: 0px solid #000;
    margin-bottom: 0px;
}

@media only screen and (min-width : 991px) and (max-width : 1358px) {
    .info-work{
        width: 270px;
        height: 200px;
        transform: translate(25px, -50%);
        padding: 30px 30px;
    }

    .info-work .link{
        display: none;
    }

    .info-work .titolo{
        position: absolute;
        top: 50%;
        transform: translate(0, -50%);
        margin-top: 0;
        max-width: 80%;
    }

    .info-work .link-mobile {
        position: absolute;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
        display: block;
    }

    .info-work .link-mobile a{
        color: #000;
    }
}

@media only screen and (min-width : 900px) and (max-width : 1253px) {
    .item-background {
        padding-bottom: 55%;
    }
}

@media only screen and (max-width : 1200px){
    section.branded {
        padding: 250px 0 200px;
        overflow: hidden;
    }
}

@media only screen and (max-width : 900px) {
    .owl-stage {
        left: 0px;
    }
    .item-background {
        padding-bottom: 80%;
    }

    .owl-item .numero-scheda {
        display: none;
    }

    .blocchi-scheda {
        position: absolute;
        bottom: 50%;
        transform: translate(-50%, 50%);
        left: 50%;
    }

    .owl-dots {
        position: absolute;
        bottom: 50px;
        right: 50%;
        transform: translate(50%);
    }
}

@media only screen and (max-width : 768px) {
    .navbar{
        padding-left: 15px;
        padding-right: 15px;
    }
    section.main{
        padding: 136px 15px;
    }
    section.main-detail{
        padding: 0 15px 136px 15px;
    }
    section.header-project {
        padding-left: 15px;
        padding-right: 15px;
    }
    .bg-header-half {
        height: 145px;
        margin-left: -15px;
        margin-right: -15px;
    }
    .owl-stage {
        left: 0px;
    }
    .item-background {
        padding-bottom: 80%;
    }

    .owl-item .numero-scheda {
        display: none;
    }

    .blocchi-scheda {
        position: absolute;
        bottom: 50%;
        transform: translate(-50%, 50%);
        left: 50%;
    }

    #top{
        right: 15px;
    }

    .owl-dots {
        position: absolute;
        bottom: 50px;
        right: 50%;
        transform: translate(50%);
    }

    .info-work{
        display: none;
    }
    .blocco_mobile{
        display: block;
    }

    .blocco_desktop{
        display: none;
    }

    .featured-works {
        padding: 0 15px;
        width: 100%;
    }

    .hidden-xs{
        display: none;
    }
}

@media only screen and (max-width : 600px) {
    .owl-dots {
        bottom: 15px;
    }
}

@media only screen and (max-width : 575px) {
    .featured-works .row .col-sm-6:last-child{
        display: none;
    }
}

@media only screen and (max-width : 500px) {
    .item-background {
        padding-bottom: 100%;
    }
}

.box-posizioni img {
    max-width: 100%;
    height: auto;
}