html, body {
    overflow-x: hidden;
    -webkit-tap-highlight-color: rgba(0,0,0,0); 
}

html.block, html.block body {
    overflow: hidden;
    width: 100%;    
    height: 100%;
}

#page_head #logo {
    padding: 0;
}

#page_head .logo {
    width: 70px;
    height: auto;
}

.homepage #page_head .logo {
    width: 171px;
    height: auto;
}

#page_head #filtersMenu {
    width: 25px;
    height: 25px;
    top: 0 !important;
    right: 15px;
    padding-top: 6px;
    padding-bottom: 6px;
    display:block;
}

.footer .right .separator {
    margin-bottom: 10px;
}

.footer ul.follow, .menufooter ul.follow {
    line-height: 20px;
    list-style: none;
    text-align: center;
}

.footer ul.follow li.simple, .menufooter ul.follow li.simple {
    margin-right: 25px;
}

.footer ul.follow li.social, .menufooter ul.follow li.social {
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center center !important;
    background-size: contain;
    width: 20px;
    height: 19px;
    margin-right: 20px;
    display: inline-block;
}

.footer ul.follow li.social:hover, .menufooter ul.follow li.social:hover {
    background-color: transparent;
}

.footer ul.follow li.social:last-of-type , .menufooter ul.follow li.social:last-of-type {
    margin-right: 0;
}

.footer ul.follow li.social.ig, .menufooter ul.follow li.social.ig {
    background-image: url("../img/igico.svg");
    width: 18px;
}

.footer ul.follow li.social.vm, .menufooter ul.follow li.social.vm {
    background-image: url("../img/vmico.svg");
    width: 18px;
}

.footer ul.follow li.social.yt, .menufooter ul.follow li.social.yt {
    background-image: url("../img/ytico.svg");
    width: 19px;
}

.footer ul.follow li.social.in, .menufooter ul.follow li.social.in {
    background-image: url("../img/liico.svg");
    width: 16px;
}

.footer ul.follow li.social.ml, .menufooter ul.follow li.social.ml {
    background-image: url("../img/mailico.svg");
}

.footer ul.follow li.social a, .menufooter ul.follow li.social a {
    width: 100%;
    height: 100%;
}


.content_header {
    padding-bottom: 3px;
}
.second_level_menu ul {
    border-color: #FFF;
}

.second_level_menu.director ul li.active a, .second_level_menu.ads ul li.active a {
    border-color: #FFF;
    color: #FFF;
}

.second_level_menu ul li a:hover {
    /* border-color: #FFF;*/
    color: #FFF; 
    font-weight: bold;
}

.main_title.images {
    color: #2C3036;
}

#filtersMenuPanel .bottom ul li.images.active a {
    background: #2C3036;
    border-color: #2C3036;
}

/* .page_wall:not(.content_wall):not(.award_wall) .tile {
    width: 100%;
} */

.content_header.new-stuff, .content_header.project, .content_header.progetto, .content_header.playlist {
    background-color: #379f7a;
    color: #fff;
}

.main_label.backlink a:before {
    display: block;
    content:'';
    width: 14px;
    height: 24px;
    margin-bottom:10px;
    background: url(../img/backico.svg) no-repeat left top;
    background-size: contain;
}

.main_label.backlink.new-stuff a:before, .main_label.backlink.playlist a:before {
    background: url(../img/backico-newstuff.svg) no-repeat left top;
}

.main_label.backlink.new-stuff a:hover, .main_label.backlink.playlist a:hover {
    color: #379f7a;
}

.main_label.backlink.director a:before {
    background: url(../img/backico-director.svg) no-repeat left top;
}

.main_label.backlink.director a:hover {
    color: #fd4f50;
}

.main_label.backlink.images a:before {
    background: url(../img/backico-images.svg) no-repeat left top;
}

.main_label.backlink.images a:hover {
    color: #2C3036;
}

.main_label.backlink.books a:before {
    background: url(../img/backico-books.svg) no-repeat left top;
}

.main_label.backlink.books a:hover {
    color: #5345ca;
}

.main_label.backlink.extra a:before {
    background: url(../img/backico-extra.svg) no-repeat left top;
}

.main_label.backlink.extra a:hover {
    color: #39d45f;
}

.main_label.backlink.ads a:before {
    background: url(../img/backico-ads.svg) no-repeat left top;
}

.main_label.backlink.ads a:hover {
    color: #fd1999;
}

.main_label.backlink.about a:before {
    background: url(../img/backico-about.svg) no-repeat left top;
}

.main_label.backlink.about a:hover {
    color: #c7af6b;
}


.project_share .share {
    border: 0;
}
.project_share .share:hover {
    background-color: transparent;
}

.project_share .share.wa {
    background: url(../img/waico.svg) no-repeat center center;
    background-size: 20px 20px;
}

.project_share .share.wa:hover {
    background-image: url(../img/waico-green.svg)
}

#images .page_wall:not(.content_wall) .tile, 
#about .page_wall:not(.content_wall) .tile {
    width: 100%;
}

/* .tile_area .more {
    display: none !important;
} */

.tile_area .more.isvideo, .tile_area .more.vimeo, .tile_area .more.youtube {
    /* opacity: 1 !important; */
    background: url(../img/playico.svg) no-repeat center center;
    background-size: 90px 90px;
    /* animation: none !important; */
    border: 0;
    /* display: block !important; */
}

.tile_area .more.image {
    /* opacity: 1 !important; */
    background: url(../img/zoomico.svg) no-repeat center center;
    background-size: 90px 90px;
    /* animation: none !important; */
    border: 0;
    display: none !important;
}

#images .tile_area .more {
    background-size: contain;
}

.tile_area .more.isvideo:not(.number):before, .tile_area .more.isvideo:not(.number):after, 
.tile_area .more.vimeo:not(.number):before, .tile_area .more.vimeo:not(.number):after, 
.tile_area .more.youtube:not(.number):before, .tile_area .more.youtube:not(.number):after {
    display: none;
}

.tile.content .tile_area .more {
    opacity: 0;
}

.mfp-container {
    padding: 0;
}

.mfp-bottom-bar {
    display: block !important;
    height: 40px;
    top: auto;
    bottom: 0;
    margin: 0;
    padding: 0 15px;
    line-height: 40px;
    overflow: hidden;
}

.mfp-title, .mfp-counter, .mfp-arrows {
    height: 40px;
    line-height: 40px;
    padding: 0;
    position: static;
    float: left;
}

.mfp-slideshow {
    display: none;
    float: left;
    color: #FFF;
    font-size: 12px;
    margin-right: 10px;
}

.mfp-counter {
    width: 35px;
    margin-right: 10px;
}

.mfp-title {
    width: calc(100% - 85px);
    padding-right: 10px;
}


.mfp-title span {
    display:block;
}

.mfp-title .slide-caption {
    line-height: 1.3;
}

.mfp-title a.showcaption {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../img/moreinfo.svg) no-repeat center center;
    background-size: 18px 18px;
    position: relative;
    top: 5px;
    left: 10px;
}

/* .mfp-title a.closecaption {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../img/moreinfo.svg) no-repeat center center;
    background-size: 18px 18px;
    position: relative;
    top: 5px;
    left: 10px;
} */

.mfp-title a.closecaption {
    display: none;
}

.mfp-arrows {
    width: 40px;
}

.mfp-counter strong {
    font-weight: bold;
}

.mfp-arrow {
    display: block;
    position: static;
    margin: 0;
    width: 20px;
    height: 40px;
    float: left;
}

.mfp-arrow.mfp-arrow-left {
    background: url(../img/arrow-left.svg) no-repeat center center;
    background-size: 16px 20px;
}

.mfp-arrow.mfp-arrow-right {
    background: url(../img/arrow-right.svg) no-repeat center center;
    background-size: 16px 20px;
}

.mfp-arrow:active {
    margin: 0;
}

.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
    display: none;
}

.mfp-container a.mfp-playpause {
    display: block;
    width: 50px;
    height: 50px;
    background: url(../img/popup-playico.svg) no-repeat 0 0;
    background-size: cover;
    position: absolute;
    bottom: 30px;
    left: 50%;
    margin-left: -25px;
    border-radius: 50%;
    z-index: 1046;
    display: none;
}

.mfp-container a.mfp-playpause:hover {
    /* background-image: url(../img/popup-playico-h.svg); */
    background-color: #484747;
}

.mfp-container a.mfp-playpause.pause {
    background-image: url(../img/popup-pauseico.svg);
}


 body:not(.images) .mfp-image-holder.opencaption .mfp-content .mfp-figure .mfp-image {
    height: calc(100% - 140px);
}
.mfp-container.opencaption .mfp-title {
    width: 100%;
}

.mfp-container.opencaption .mfp-title .slide-title {
    font-weight: bold;
}

.mfp-container.opencaption .mfp-bottom-bar {
    height: 140px;
}

.mfp-container.opencaption .mfp-counter, .mfp-container.opencaption .mfp-arrows {
    display: none;
}

.mfp-container.opencaption .mfp-title a.showcaption {
    transform: rotate(45deg);
}

@media only screen and (max-width: 767px) {
    .main_content.single {
        max-height: none !important;
    }
}


@media only screen and (max-width: 959px) and (orientation: landscape) {
    .mfp-title {
        display: none;
    }

    .mfp-arrows {
        float: right;
    }

    .mfp-arrows .mfp-slideshow {
        visibility: hidden !important;
    }

    body:not(.images) .mfp-image-holder .mfp-content .mfp-figure .mfp-image {
        height: 100% !important;
    }
}


body.pushy-open-right{
    overflow-x: hidden;
    height: 100%;
    -webkit-overflow-scrolling: touch;
}

#menumobile {
    padding-left: 20%;
    background: rgba(0,0,0,0.7);
}

#menumobile .extraspace {
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    width: 20% !important;
    height: 100% !important;
    background: transparent !important;
}

#menumobile .content {
    color: #FFF;
    padding: 30px;
    background: #191919;
    min-height: 100%;
    position: relative;
}

#menumobile .logo {
    width: 92px;
    height: 30px;
    background: url(../img/logo-white.svg) no-repeat center center;
    background-size: contain;
}

#menumobile .logo a {
    color: transparent;
    display: block;
    width: 100%;    
    height: 100%;
}

#menumobile .close {
    display: block;
    width: 20px;
    height: 20px;
    background: url(../img/closeico.svg) no-repeat center right;
    background-size: 15px 15px;
    position: absolute;
    right: 30px;
    top: 30px;
    color: transparent;
}

#menumobile .lang {
    list-style-type: none;
    position: absolute;
    top: 37px;
    right: 60px;
    margin: 0;
}
#menumobile .lang li {
    display: inline;
    font-family: 'azbk_bold';
    text-transform: uppercase;
}

#menumobile .lang li a {
    display: inline;
    padding: 0 5px;
}

#menumobile .search_form {
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative; 
}

#menumobile .search_form input {
    width: 100%;
    border-radius: 20px;
    background: #3E3E3E;
    color: #FFF;
    height: 40px;
    line-height: 40px;
    padding: 0 20px 0 40px;
}

#menumobile .search_form .search_submit {
    height: 40px;
    width: 35px;
    position: absolute;
    left: 5px;
    bottom: 0;
    background: url(../img/searchico.svg) no-repeat center center;
    /* background-size: 14px 16px; */
    cursor: pointer;
}

#menumobile .mainmenu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#menumobile .mainmenu li {
    padding: 0;
    margin: 0 0 10px;
    font-family: 'azbk';
    font-weight: 300;
    font-size: 32px;
    color: #FFF;
}

@media only screen and (max-width: 375px) {
    #menumobile .mainmenu li {
        font-size: 26px;
        margin-bottom: 0px;
    }

    .homeprojects .item .title { 
        bottom: 85px;
    }

    #menumobile .logo {
        width: 80px;
    }
}

#menumobile .mainmenu li.active {
    font-family: 'azbk_black'
}

#menumobile .mainmenu li.active.new-stuff, #menumobile .mainmenu li.active.playlist {
    color: #379f7a;
}

#menumobile .mainmenu li.active.director {
    color: #fd4f50;
}

#menumobile .mainmenu li.active.images {
    color: #2C3036;
    color:#FFF;
}

#menumobile .mainmenu li.active.books {
    color: #5345ca
}

#menumobile .mainmenu li.active.extra {
    color: #39d45f;
}

#menumobile .mainmenu li.active.ads {
    color: #fd1999;
}

#menumobile .mainmenu li.active.diary {
    color: #1dcaff;
}

#menumobile .mainmenu li.active.about {
    color: #c7af6b;
}

#menumobile .mainmenu li a {
    padding: 10px 0;
    color: inherit;
}

#menumobile .menufooter {
    width: 100%;
    height: 70px;
    padding: 10px;
    border-top: 1px solid #3E3E3E;
    position: absolute;
    bottom: 0;
    left: 0;
}

.pushy {
    width: 100%;
}

.pushy-right {
    -webkit-transform: translate3d(100%,0,0);
    -ms-transform: translate3d(100%,0,0);
    transform: translate3d(100%,0,0);
}

#galleryZoom {
    /* background: url(../img/zoomico.svg) no-repeat 0 0;
    background-size: contain;
    border-radius: 50%;
    display: none; */

    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: block;
    background: none !important;
    border-radius: 0;
}

#galleryPlayPause {
    background: url(../img/popup-playico.svg) no-repeat 0 0;
    background-size: contain;
    border-radius: 50%;
}

#galleryZoom:hover, #galleryPlayPause:hover {
    background-color: #484747;
}

.slick-active .slider__item .slider__item__bg__picture {
    display: none;
}

.slick-active .slider__item .slider__item__bg__picture.mobile {
    display: block;
}


.homeprojects {
    padding: 40px 20px;
    background: #000;
    margin-bottom: 0;
    position: relative;
}

.homeprojects .head {
    font-family: 'azbk_black';
    font-size: 22px;
    color: #6D7278;
    margin: 20px 0;
}

.homeprojects .item {
    display: block;
    /* width: 100%; */
    height: auto;
    min-height: 300px;
    /* float: left; */
    position: relative;
    overflow:hidden;
}

.homeprojects .item .bg {
    width: 100%;
    border: 2px solid #000;
    border-radius: 12px;
    overflow: hidden;
}

.homeprojects .item .title {
    position: absolute;
    bottom: 45px;
    font-family: 'azbk_black';
    font-size: 18px;
    color: #FFF;
    width: 100%;
    padding: 0 30px 0 15px;
    line-height: 1;
    text-transform: uppercase;
    min-height: 74px;
}

.homeprojects .item .title span {
    display: inline-block;
    font-family: 'azbk_bold';
    font-weight: 400;
    font-size: 1rem;
    /* line-height: 1.2875rem; */
    border-bottom: solid 1px #fff;
    margin-bottom: 8px;
    padding-bottom: 8px;
}

.homeprojects .pattern {
    width: 100%;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 70%, rgba(255,255,255,0) 100%);
    height: 120px;
    position: absolute;
    bottom: 40px;
    z-index: 1046;
    pointer-events: none;
}

.homeprojects .item:hover .title {
    color: #fffc00;
}



.homeprojects .slick-arrow {
    display: none !important;
}

.homeprojects .slick-list{
    padding:0 10% 0 0;
}

.footer {
    margin-top: 0;
}


.page.homepage #page_head {
    position: absolute;
}


.main_content .content_area .content_area_inner.youtube {
    height: 100%;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
}

.main_content .content_area .content_area_inner.youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider .slider-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
}



@media only screen and (min-width: 768px) {

    .homeprojects .item .title {
        font-size: 22px;
    }

    #images .page_wall:not(.content_wall) .tile, 
    #about .page_wall:not(.content_wall) .tile {
        width: 50%;
    }

    #images .page_wall:not(.content_wall) .tile.first,  
    #about .page_wall:not(.content_wall) .tile.first  {
        width: 100%;
    }

    .project_share .share.wa {
        background-size: 36px 36px;
    }
    .footer .right .separator {
        display: none;
    }

    .mfp-title {
        width: calc(100% - 160px);
    }

    .mfp-arrows {
        width: 115px;
    }

    .mfp-slideshow {
        display: block;
    }

    .mfp-arrow.mfp-arrow-left {
        margin-right: 5px;
    }

    
}





@media only screen and (min-width: 993px) {

    .homeprojects .item .title {
        font-size: 24px;
    }

    .homeprojects .slick-list{
        padding:0;
    }

    #page_head .logo {
        width: 150px;
    }

    .homepage #page_head .logo {
        width: 178px;
    }

    #page_head #filtersMenu {
        display: none;
    }

    #filtersMenuPanel .top .search .search_form {
        padding-right: 0;
    }

    #filtersMenuPanel .top .search .search_text {
        padding: 5px 30px 5px 10px;
    }

    #images .page_wall:not(.content_wall) .tile, 
    #about .page_wall:not(.content_wall) .tile {
        width: 33.333333%;
    }

    #images .page_wall:not(.content_wall) .tile.first, 
    #about .page_wall:not(.content_wall) .tile.first {
        width: 66.66666%;
    }

    .footer .right {
        margin-top: 27px;
        padding-right: 30px;
    }

    .slick-active .slider__item .slider__item__bg__picture {
        display: block;
    }
    
    .slick-active .slider__item .slider__item__bg__picture.mobile {
        display: none;
    }
    
}


@media only screen and (min-width: 1100px) {
    .tile_area .more.isvideo {
        background-size: 120px 120px;
    }
}

@media only screen and (min-width: 1440px) {
    #page_head .logo {
        width: 150px;
    }

    .homepage #page_head .logo {
        width: 190px;
    }
}



/* BACK2TOP */

#back2top {
    display: inline-block;
    background-color: #CCC;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 50%;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, 
      opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#new-stuff #back2top, #progetto #back2top, #playlist #back2top, #progetto #back2top {
    background: #379f7a;
}

#director #back2top, #film #back2top, #commercials #back2top, #web-campaign #back2top, #video #back2top {
    background: #fd4f50;
}

#images #back2top {
    background: #2C3036;
}

#books #back2top {
    background: #5345ca;
}

#extra #back2top {
    background: #39d45f;
}

#ads #back2top, #pubblicit #back2top, #web #back2top {
    background: #fd1999;
}

#diary #back2top {
    background: #1dcaff;
}

#about #back2top {
    background: #c7af6b;
}

#back2top::after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background: url(../img/back2topico.svg) no-repeat center 14px;
}

#back2top:hover {
    cursor: pointer;
    background-color: #333;
}
#back2top:active {
    background-color: #555;
}

#back2top.show {
    opacity: 1;
    visibility: visible;
}



/* GESTIONE MENU */


@media only screen and (max-width: 992px) {
    body.filters_menu_active, html.filters_menu_active, .page.filters_menu_active {
        overflow: hidden;
    }
    #lockPage.visible {
        display: block;
        opacity: 1;
    }
    #filtersMenu {
        display: block;
        cursor: pointer;
        text-align: center;
        z-index: 99;
        background: transparent;
        height: 70px;
        margin-top: 0;
        width: 70px;
        overflow: hidden;
        position: absolute;
        top: 0;
        right: 30px;
        transition: all 0.2s linear 0s;
        -webkit-transition: all 0.2s linear 0s;
        -moz-transition: all 0.2s linear 0s;
        -ms-transition: all 0.2s linear 0s;
        -o-transition: all 0.2s linear 0s;
    }
    #filtersMenu span.hamb {
        display: block;
        height: 35px;
        width: 35px;
        overflow: hidden;
        margin: 17px;
        cursor: pointer;
        text-align: center;
        position: relative;
        padding: 6px;
    }
    #filtersMenu span.hamb span {
        background: #000;
        position: relative;
        display: block;
        height: 2px;
        width: 25px;
        transition: all 0.4s ease 0s;
        -webkit-transition: all 0.4s ease 0s;
        -moz-transition: all 0.4s ease 0s;
        -ms-transition: all 0.4s ease 0s;
        -o-transition: all 0.4s ease 0s;
        cursor: pointer;
    }
    .page {
        padding-top: 75px;
    }
    .page.homepage {
        /*padding-top: 70px;*/
        padding-top: 130px;
    }
    .page.homepage #filtersMenu span.hamb span {
        background: #fff;
    }
    #filtersMenu span.hamb span.hamb_top {
        top: 0;
    }
    #filtersMenu span.hamb span.hamb_mid {
        top: 8px;
    }
    #filtersMenu span.hamb span.hamb_bot {
        top: 16px;
    }
    #filtersMenu span.hamb.open span.hamb_top {
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        width: 28px;
        top: 9px;
    }
    #filtersMenu span.hamb.open span.hamb_mid {
        opacity: 0;
    }
    #filtersMenu span.hamb.open span.hamb_bot {
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        width: 28px;
        top: 5px;
    }
    .homepage #filtersMenu span.hamb.open span.hamb_top, .homepage #filtersMenu span.hamb.open span.hamb_mid, .homepage #filtersMenu span.hamb.open span.hamb_bot {
        background: #000;
    }
    #page_head, #page_head.compressed {
        height: 75px;
        line-height: 1rem;
        padding: 20px 0;
    }
    #page_head #logo, #page_head.compressed #logo {
        padding: 0;
    }
    #page_head .logo, #page_head.compressed .logo {
        height: 35px;
        width: 113px;
    }
    .homepage #page_head .logo {
        height: 72px;
        width: 145px;
    }
    .homepage #page_head.filters_menu_active .logo_hover {
        display: block;
        width: 139px;
        height: 43px;
        top: 0;
        left: 15px;
    }
    .homepage #page_head {
        height: 80px;
        margin-top: 15px;
        padding: 0 15px;
    }
    #page_head #filtersMenu, #page_head.compressed #filtersMenu {
        top: -17px;
        right: 2px;
        width: 50px;
    }
    .homepage #page_head #filtersMenu, .homepage #page_head.compressed #filtersMenu {
        top: -12px;
    }
    #filtersMenu span.hamb {
        margin-left: -3px;
    }
    #filtersMenuPanel {
        position: fixed;
        background: rgba(255, 255, 255, .98);
        top: 74px;
        left: 0;
        width: 100%;
        display: block;
        overflow: auto;
        height: 0 !important;
        opacity: 0;
        visibility: hidden;
        transition:
            top 0.2s linear 0s,
            opacity 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0s;
        -webkit-transition:
            top 0.2s linear 0s,
            opacity 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0s;
        -moz-transition:
            top 0.2s linear 0s,
            opacity 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0s;
        -ms-transition:
            top 0.2s linear 0s,
            opacity 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0s;
        -o-transition:
            top 0.2s linear 0s,
            opacity 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) 0s;
    }
    .homepage #filtersMenuPanel {
        top: 70px;
    }
    #filtersMenuPanel.filters_menu_active {
        visibility: visible;
        opacity: 1;
    }
    #filtersMenuPanel .top, #filtersMenuPanel .bottom {
        height: auto;
    }
    #filtersMenuPanel .top {
        margin-top: 5px;
        margin-bottom: 15px;
    }
    .homepage #filtersMenuPanel .top {
        margin-top: 9px;
    }
    #page_head.compressed #filtersMenuPanel .top {
        height: auto;
    }
    #filtersMenuPanel .top ul li {
        float: none;
        border: none;
    }
    #filtersMenuPanel .top ul li ul.lang_menu {
        display: none;
        opacity: 0;
        visibility: hidden;
    }
    .sup_lang_menu {
        text-align: right;
        position: fixed;
        top: 28px;
        right: 57px;
        height: auto;
        width: auto;
        transition: all 0.2s linear 0s;
        -webkit-transition: all 0.2s linear 0s;
        -moz-transition: all 0.2s linear 0s;
        -ms-transition: all 0.2s linear 0s;
        -o-transition: all 0.2s linear 0s;
    }
    .sup_lang_menu.active {
        display: block;
        opacity: 1;
        visibility: visible;
        transition: all 0.2s linear 0s;
        -webkit-transition: all 0.2s linear 0s;
        -moz-transition: all 0.2s linear 0s;
        -ms-transition: all 0.2s linear 0s;
        -o-transition: all 0.2s linear 0s;
    }
    .homepage .sup_lang_menu {
        top: 28px;
    }
    .sup_lang_menu li {
        display: inline-block;
        /* float: right; */
    }
    .sup_lang_menu li a {
        color: #ccc;
        font-size: 0.875rem;
        line-height: 1.125rem;
        border-left: solid 1px #ccc;
        text-transform: uppercase;
        font-family: 'azbk_bold';
        padding: 0 10px;
        display: block;
    }
    .sup_lang_menu li:last-child a {
        border: none;
    }
    .sup_lang_menu li a:hover {
        color: #fff;
        background: #ccc;
    }
    .sup_lang_menu li a.active {
        color: #000;
        background: none;
    }
    #filtersMenuPanel .top .search {
        width: 100% !important;
        height: auto;
        padding: 0 15px;
    }
    #filtersMenuPanel .top .search .search_form {
        width: 100%;
        padding-right: 70px;
        border-radius: 4px;
        overflow: hidden;
    }
    .homepage #filtersMenuPanel .top .search .search_text {
        background: #1a1a1a;
    }
    #filtersMenuPanel .top .search .search_text {
        height: 70px;
        background: #1a1a1a;
        padding: 0 10px;
        font-family: "azbk";
        font-size: 1.5rem;
        line-height: 4.375rem;
        color: #fff;
    }
    #filtersMenuPanel .top .search .search_text::-webkit-input-placeholder { color: #fff; font-family: "azbk"; font-size: 1.5rem; line-height: 4.375rem; }
    #filtersMenuPanel .top .search .search_text:-moz-placeholder { color: #fff; font-family: "azbk"; font-size: 1.5rem; line-height: 4.375rem; }
    #filtersMenuPanel .top .search .search_text::-moz-placeholder { color: #fff; font-family: "azbk"; font-size: 1.5rem; line-height: 4.375rem; }
    #filtersMenuPanel .top .search .search_text:-ms-input-placeholder { color: #fff; font-family: "azbk"; font-size: 1.5rem; line-height: 4.375rem; }
    #filtersMenuPanel .top .search .search_submit {
        width: 70px;
        height: 70px;
        background: url(../img/icons.png) 0 -105px no-repeat #1a1a1a;
        background-size: 210px 455px;
    }
    .homepage #filtersMenuPanel .top .search .search_submit {
        background-position: 0 -105px;
    }
    #filtersMenuPanel .bottom ul {
        padding: 0 15px;
        border-top: none;
    }
    .homepage #filtersMenuPanel .bottom ul {
        border-top: none;
    }
    #filtersMenuPanel .bottom ul li {
        float: none;
        width: 100%;
        display: block;
    }
    #filtersMenuPanel .bottom ul li a {
        border-right: none;
        color: #000;
        border-bottom: dotted 1px #000;
        font-family: "azbk_black";
        font-size: 1.0625rem;
        line-height: 3.25rem;
    }
    .homepage #filtersMenuPanel .bottom ul li a {
        color: #000;
        border-bottom: dotted 1px #000;
    }
    #filtersMenuPanel .bottom ul li.active a {
        background: transparent;
        color: #ccc;
        margin-left: 0;
        border-left: none;
    }
    #filtersMenuPanel .bottom ul li.new-stuff.active a, #filtersMenuPanel .bottom ul li.playlist.active a {
        background: transparent;
        color: #379f7a;
        border-color: #000;
    }
    #filtersMenuPanel .bottom ul li.director.active a {
        background: transparent;
        color: #fd4f50;
        border-color: #000;
    }
    #filtersMenuPanel .bottom ul li.ads.active a {
        background: transparent;
        color: #fd1999;
        border-color: #000;
    }
    #filtersMenuPanel .bottom ul li.books.active a {
        background: transparent;
        color: #5345ca;
        border-color: #000;
    }
    #filtersMenuPanel .bottom ul li.extra.active a {
        background: transparent;
        color: #39d45f;
        border-color: #000;
    }
    #filtersMenuPanel .bottom ul li.diary.active a {
        background: transparent;
        color: #1dcaff;
        border-color: #000;
    }
    #filtersMenuPanel .bottom ul li.about.active a {
        background: transparent;
        color: #c7af6b;
        border-color: #000;
    }

    .homepage #filtersMenuPanel .bottom ul li.active a {
        color: #ccc;
    }
    #filtersMenuPanel .bottom ul li:last-child a {
        border-bottom: solid 1px #000;
    }
    #filtersMenuPanel .bottom_social {
        display: block;
        padding: 0 15px;
    }
    #filtersMenuPanel .bottom_social ul.follow {
        list-style: none;
        display: inline-block;
        margin-right: 0;
        width: 100%;
    }
    #filtersMenuPanel .bottom_social ul.follow li {
        float: left;
        margin-left: 0;
        width: 16.666%;
        height: 40px;
        display: block;
        overflow: hidden;
        margin-bottom: 5px;
    }
    #filtersMenuPanel .bottom_social ul.follow li.simple {
        padding: 15px 0;
        background: none;
        float: none;
        display: block;
        font-family: "azbk";
        font-size: 1.0625rem;
        height: auto;
        width: auto;
        border-radius: 0;
        border: none;
        margin: 0;
    }
    #filtersMenuPanel .bottom_social ul.follow li.social a {
        width: 40px;
        height: 40px;
        display: block;
        margin: 0 auto;
        overflow: hidden;
        border-radius: 50%;
        background: url(../img/icons.png) 0 0 no-repeat transparent;
        background-size: 210px 455px;
    }
    #filtersMenuPanel .bottom_social ul.follow li.social.fb a {
        background-position: 1px -50px;
    }
    #filtersMenuPanel .bottom_social ul.follow li.social.tw a {
        background-position: -33px -50px;
    }
    #filtersMenuPanel .bottom_social ul.follow li.social.vm a {
        background-position: -69px -50px;
    }
    #filtersMenuPanel .bottom_social ul.follow li.social.yt a {
        background-position: -104px -50px;
        /*clear: left;*/
    }
    #filtersMenuPanel .bottom_social ul.follow li.social.in a {
        background-position: -138px -51px;
    }
    #filtersMenuPanel .bottom_social ul.follow li.social.ml a {
        background-position: -174px -50px;
    }
    .second_level_menu ul li {
        margin-right: 15px;
    }
    .second_level_menu ul li a, .second_level_menu ul li.active a {
        font-size: .875rem;
        padding: 20px 16px 16px;
    }
    .slider__item__about__content {
        bottom: 25px;
    }
    .slider__item__about__content a {
        margin-top: 0;
        font-size: .875rem;
        line-height: 1.25rem;
    }
    .slider__item__about__title {
        font-size: 2.125rem;
        line-height: 2.125rem;
    }
    .slider__item__about__action {
        font-size: .875rem;
        line-height: 1.25rem;
    }
    #colWidther.content, .tile.content {
        width: 50%;
    }
    #colWidther.awards, .tile.award, #colWidther.keywords, .tile.keywords {
        width: 33.333333%;
    }
    .tile.content .tile_area .more, .tile.client .tile_area .more {
        top: 45%;
        -ms-transform: scale(.65);
        -moz-transform: scale(.65);
        -o-transform: scale(.65);
        -webkit-transform: scale(.65);
        transform: scale(.65);
    }
    .tile.twitter .tile_area .text_area .title {
        font-size: 1rem;
        line-height: 1.125rem;
    }
    .project_share .share {
        background-size: 210px 455px;
        height: 35px;
        width: 35px;
    }
    .project_share .share.fb {
        background-position: -36px -1px;
    }
    .project_share .share.tw {
        background-position: -71px -1px;
    }

    #headSlideshow .slider__prev_btn,
    #headSlideshow .slick-prev,
    #headSlideshow .slider__next_btn,
    #headSlideshow .slick-next {
        background-size: 20px 18px;
    }

    .columns_6 .tile, .columns_6 #colWidther,
    .columns_7 .tile, .columns_7 #colWidther,
    .columns_8 .tile, .columns_8 #colWidther {
        width: 33.333333%;
    }

}

@media only screen and (max-width: 567px), only screen and (max-width: 992px) and (orientation: landscape) {

    .slider__item__about__content {
        margin-bottom: 0;
    }

    .homepage #page_head {
        margin-top: 4% !important;
        padding: 0 4% !important;
    }

    #page_head #filtersMenu, #page_head.compressed #filtersMenu {
        right: 22px;
        padding: 0;
    }

    .main_title {
        font-size: 2.0625rem;
        line-height: 2.0625rem;
    }

    .second_level_menu ul li {
        margin-right: 0;
    }

    .second_level_menu ul li a, .second_level_menu ul li.active a {
        font-size: 0.6875rem;
        padding: 15px 11px 11px;    
    }
}

@media only screen and (max-width: 992px) and (orientation: landscape) {
    .slick-active .slider__item .slider__item__bg__picture {
        display: block;
    }
    
    .slick-active .slider__item .slider__item__bg__picture.mobile {
        display: none;
    }
}

@media only screen and (max-width: 567px) {
    .tile.nofirst .tile_area .text_area .label {
        font-size: .75rem;
        line-height: 1.6875rem;
        margin-bottom: 2px;
    }

    .tile.nofirst .tile_area .text_area .title {
        font-size: 1.5625rem;
        line-height: 1.875rem;
    }

}

@media only screen and (max-width: 992px) and (orientation: landscape) {
    #menumobile .pushy-content {
        padding-bottom: 60px;
        /* margin-top: 10px;
        position: static; */
    }
}



.homepage #page_head {
    margin-top: 15px;
    padding: 0px 15px;
}

#page_head #filtersMenu, #page_head.compressed #filtersMenu {
    right: 2px;
}

.homeprojects {
    padding: 40px 4%;
}

@media only screen and (min-width: 768px) {
    .homepage #page_head {
        margin-top: 30px;
        padding: 0px 30px;
    }

    #page_head #filtersMenu, #page_head.compressed #filtersMenu {
        right: 22px;
    }

    .homeprojects {
        padding: 40px 30px;
    }

    .mfp-image-holder .mfp-content .mfp-figure img.mfp-img {
        object-position: top center !important;
    }
}

@media only screen and (min-width: 1024px) {
    .homepage #page_head {
        margin-top: 4%;
        padding: 0 4%;
    }

    .homeprojects {
        padding: 40px 4%;
    }

    .mfp-bottom-bar {
        padding: 0 30px;
    }

    .mfp-container.opencaption .mfp-bottom-bar {
        height: 200px;
        padding: 0 100px;
    }

    body:not(.images) .mfp-image-holder.opencaption .mfp-content .mfp-figure .mfp-image {
        height: calc(100% - 200px);
    }

    .mfp-container.opencaption .mfp-title {
        font-size: 18px;
        float: left;
        width: calc(100% - 50px);
    }

    .mfp-container.opencaption .mfp-title .slide-title {
        float: left;
        width: calc(100% - 50px);
    }

    .mfp-container.opencaption .mfp-title .slide-caption {
        clear: both;
        width: calc(100% + 50px);
        margin: -45px;
    }

    .mfp-container.opencaption .mfp-title a.showcaption {
        display: none;
    }

    .mfp-container.opencaption .mfp-counter {
        float: left;
        font-size: 18px;
        display: block;
    }

    .mfp-container.opencaption .mfp-title a.closecaption {
        display: block;
        color: yellow;
    }
    
    .mfp-container.opencaption .mfp-title a.closecaption:hover {
        text-decoration: underline;
    }

    
}

.main_title.playlist {
    color: #379f7a;
}

.mfp-close:before, .mfp-close:after {
    width: 22px;
    top: 25px;
}


.mfp-image-holder .mfp-content, .mfp-image-holder .mfp-content .mfp-figure, .mfp-image-holder .mfp-content .mfp-figure .mfp-image, .mfp-iframe-holder .mfp-content { 
    width: 100%;
    height: 100%;
    background: #000;
}

.mfp-iframe-holder .mfp-content {
    max-width: 100%;
    max-height: 100%;
}

.mfp-image-holder .mfp-content .mfp-figure img.mfp-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    padding: 0;
}

.mfp-iframe-holder .mfp-content .mfp-iframe-scaler iframe {
    max-height: calc(100% - 40px);
}

body:not(.images) .mfp-image-holder .mfp-content .mfp-figure .mfp-image {
    height: calc(100% - 40px);
}

.mfp-iframe-holder .mfp-close {
    top: 0;
}


@media only screen and (max-width: 767px) { 

    .main_content .content_area .content_area_inner.image /*, .main_content .content_area .content_area_inner.gallery */ {
        height: auto !important;
    }
    .main_content .content_area .content_area_inner.image img /*, .main_content .content_area .content_area_inner.gallery img */ {
        position: static !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
        max-height: none;
    }

}


/* @media only screen and (max-width: 767px),
only screen and (max-width: 959px) and (orientation: landscape) { */

@media only screen and (max-width: 959px) and (orientation: landscape) {

    .content_header {
        padding: 8px 0 1px 0;
    }

    .page {
        padding-top: 66px;
    }

    #page_head, #page_head.compressed {
        height: 66px;
        padding: 18px 0;
    }

    #page_head .logo, #page_head.compressed .logo {
        height: 30px;
        width: 97px;
    }

    .main_label {
        width: auto;
        float:left;
        padding-right: 10px;
        border-right: 1px solid #FFF;
        height: 16px;
    }

    .main_label, .main_label a {
        font-size: 16px;
        line-height: 18px;
        /* font-family: 'azbk_bold'; */
    }


    .main_label.backlink, .main_label.backlink a {
        width: 100%;
        height: 24px;
        line-height: 24px;
        border-right: none;
    }

    .main_label.backlink {
        width: auto;
        float:left;
    }

    .main_label.backlink a:before {
        float:left;
        margin-right: 9px;
    }

    .main_title {
        font-size: 16px;
        line-height: 18px;
        margin-left: 45px;
        margin-bottom: 8px;
    }

    body#playlist .main_title {
        /* margin-left: 88px; */
        margin-left: 82px;
    }

    body#director .main_title {
        /* margin-left: 91px; */
        margin-left: 87px;
    }

    body#images .main_title {
        /* margin-left: 76px; */
        margin-left: 72px;
    }

    body#books .main_title {
        /* margin-left: 73px; */
        margin-left: 69px;
    }

    body#extra .main_title {
        /* margin-left: 68px; */
        margin-left: 64px;
    }

    body#ads .main_title {
        /* margin-left: 54px; */
        margin-left: 50px;
    }

    body#diary .main_title {
        /* margin-left: 67px; */
        margin-left: 63px;
    }

    body#about .main_title {
        /* margin-left: 71px; */
        margin-left: 67px;
    }
    
    .main_title:not([class="main_title"]) {
        margin-left: 23px !important;
        /* clear: left !important; */
        line-height: 24px;
    }

    .second_level_menu ul li a, .second_level_menu ul li.active a {
        padding: 10px 11px 4px;
        font-size: 12px;
        line-height: 12px;
    }

    /* .second_level_menu ul li a {
        font-family: 'azbk_bold';
    } */

    .second_level_menu ul li.active a {
        border:none;
    }

    .second_level_menu ul li:first-of-type a {
        padding-left: 0;
    }

    #menumobile .mainmenu {
        column-count: 3;
    }

}