@media (max-width: 1200px) {
    .photos-grid .photo-block a img {
        margin-left: -7%;
    }
    .photos-grid .photo-block a img[src^="data:"], .photos-grid .photo-block a img:not([src]) {
        width: 100% !important;
    }
}
@media (min-width: 991px) and (max-width: 1200px) {
    #placeGalleryViewport {
        height: 330px;
    }
}
@media (max-width: 1024px) {
    .mfp-content {
        margin-left: 0;
        top: 0;
    }
    .mfp-banner {
        display: none !important;
    }
    .mfp-photo-like-wrapper .mfp-photo-like {
        opacity: .4;
    }
    /*.mfp-img {
        min-height: auto !important;
        min-width: 600px !important;
    }
    .mfp-wrap.mfp-gallery.mfp-close-btn-in.mfp-auto-cursor.mfp-ready {
        height: 100% !important;
    }*/
    .container .main .chrono .event-block .event-img {
        height: 200px;
        position: relative;
    }
    .container .main .chrono .event-block a>img {
        width: 325px;
        top: -15px;
        position: relative;
        left: 50%;
        margin-left: -163px;
    }
    .container .main .photo-carousel-wrapper .carousel, .container .main .photo-carousel-wrapper .carousel .item a {
        height: 320px;
    }
    .container .main .photo-carousel-wrapper.play-video-block .img {
        height: 250px;
    }
    .container .main .photo-carousel-wrapper.play-video-block iframe {
        height: 250px;
    }
    .photos-grid .photo-block {
        max-height: 342px;
    }
    .photos-grid .photo-block >  a {
        width: 342px;
        height: 342px;
    }
}
@media (max-width: 990px) {
    .main-nav .logo {
        float: none;
    }
    .main-nav {
        text-align: center;
    }
    .main-nav ul {
        float: none;
    }
    .main-nav .underline {
        margin: 0;
    }
    .photos-grid .photo-block >  a {
        height: 125px;
    }
    .photos-grid .photo-block >  a img {
        width: 190px;
    }
    #placeGalleryViewport {
        height: 200px;
    }
    .container .top-panel .btn-group.btn-hamburger {
        display: none;
    }
    .container .top-panel .btn-group-top-panel.btn-group-lang {
        margin-left: -10px;
    }
    .container .main .chrono .event-block .event-img {
        height: 230px;
    }
    .container .main .chrono .event-block a>img {
        width: 380px;
        top: -20px;
        margin-left: -190px;
    }
    .photos-grid .photo-block a img {
        min-width: unset;
        min-height: unset;
        margin-left: unset;
    }
}
@media (max-width: 773px) {
    .content-wrap #responsive_sidebar{
        display: none;
    }
    .content-wrap .sidebar {
        position: relative;
        display: none;
        float: none;
        right: 0;
        width: 100%;
    }
    .content-wrap .sidebar .scroll-to-fixed {
        display: none;
    }
    .content-wrap .main {
        padding-right: 0;
    }
    .container {
        padding: 0;
        width: 100%;
    }
    .container > .row {
        margin-left: 0;
        margin-right: 0;
    }
    .container > .row > .col-xs-12 {
        padding-left: 0;
        padding-right: 0;
    }
    .top-addfox {
        margin-top: 70px !important;
        margin-bottom: -60px !important;
    }
    .container .top-banner {
        padding-top: 50px;
        margin-bottom: -60px;
    }
    .main-nav {
        display: none;
        padding-top: 10px;
        margin-bottom: 0;
        margin-top: 0;
        background: rgba(255, 255, 255, 0.95);
        position: fixed;
        z-index: 1100;
        top: 54px;
        width: 100%;
    }
    .container .top-panel .search {
        display: none;
        top: 54px;
        left: 0;
        width: 100%;
        margin-top: 0;
        padding: 10px 20px;
        background-color: #50565c;
        height: auto;
    }
    .container .top-panel .search input {
        width: 100%;
    }
    .container .top-panel .search>img:first-child {
        left: 39px;
        top: 19px;
    }
    .container .top-panel .search .search-close {
        right: 40px;
        top: 20px;
    }
    .container .top-panel .btn-group-top-panel ul {
        max-height: 310px;
    }
    .main-nav .logo {
        margin-bottom: 20px;
        display: none;
    }
    .main-nav ul.sub-menu li {
        padding-top: 5px;
    }
    .main-nav ul.main-menu li {
        padding-bottom: 10px;
    }
    .main-nav ul.main-menu, .main-nav ul.sub-menu {
        text-align: center;
    }
    .main-nav ul.main-menu li, .main-nav ul.sub-menu li {
        width: auto;
        padding-left: 20px;
        padding-right: 20px;
        float: none;
        margin-left: 0;
        display: inline-block;
    }
    .main-nav ul.main-menu li.active, .main-nav ul.main-menu li:hover,
    .main-nav ul.sub-menu li.active, .main-nav ul.sub-menu li:hover
    {
        border: none;
    }
    .main-nav ul.main-menu li a {
        display: inline-block;
        border-bottom: 3px solid transparent;
    }
    .main-nav ul.main-menu li.active a {
        border-bottom: 3px solid #50565c;
    }
    .main-nav ul.sub-menu li a {
        display: inline-block;
        border-bottom: 3px solid transparent;
    }
    .main-nav ul.sub-menu li.active a {
        border-bottom: 3px solid #90a4ae;
    }
    .main-nav .sub-menu-wrap {
        height: auto;
    }
    .main-nav ul.sub-menu {
        margin-bottom: 0;
        padding-bottom: 20px;
        padding-top: 10px;
        border-bottom: 2px solid #50565c;
    }
    .main-nav ul.main-menu {
        margin-bottom: 0;
        /*padding-top: 10px;*/
        padding-bottom: 10px;
    }
    .container .top-panel {
        position: fixed;
        z-index: 1100;
        top: 0;
    }
    .container .top-panel .wrap-for-mobile {
        display: none;
        position: absolute;
        width: 100%;
        background-color: #50565c;
        height: 57px;
        top: 54px;
        left: 0;
        padding: 0 23px;
    }
    .content-wrap {
        padding-top: 70px;
    }
    .mobile-panel {
        display: block;
        position: relative;
    }
    .mobile-panel > div {
        display: inline-block;
    }
    .mobile-panel .menu-btn-wrap {
        position: absolute;
        left: 50%;
        margin-left: -55px;
        top: 14px;
        width: 110px;
    }
    .mobile-panel .menu-btn-wrap a {
        color: white;
        text-transform: uppercase;
        font-size: 1.1em;
    }
    .mobile-panel .menu-btn-wrap span {
        margin-left: 5px;
        position: relative;
        top: 3px;
        font-size: 1.2em;
    }
    .mobile-panel .logo-wrap {
        padding-top: 9px;

    }
    .mobile-panel .logo-wrap img {
        width: 36px;
    }
    .mobile-panel .search-btn-wrap {
        float: right;
        padding-top: 14px;
        margin-right: 5px;
    }
    .mobile-panel .search-btn-wrap a, .mobile-panel .settings-btn-wrap a {
        display: inline-block;
        width: auto;
        height: auto;
        font-size: 1.5em;
        color: black;
    }
    .mobile-panel .settings-btn-wrap a {
        font-size: 1.6em;
    }
    .mobile-panel .search-btn-wrap a.open, .mobile-panel .settings-btn-wrap a.open {
        color: white;
    }
    .mobile-panel .settings-btn-wrap {
        float: right;
        padding-top: 14px;
    }
    .photos-grid .photo-block >  a {
        height: 145px;
    }
    .photos-grid .photo-block >  a img {
        width: 240px;
    }
    .container .main .photos-grid .photo-block .photo-tags {
        padding: 3px;
        font-size: 9px;
    }
    .photos-grid .photo-block > .photo-num {
        position: absolute;
        color: #FFFFFF;
        background-color: rgba(0, 0, 0, 0.65);
        display: block;
        padding: 2px 3px;
        top: 2px;
        margin-left: 2px;
    }
    .mfp-img {
        max-height: 450px !important;
        /*min-width: 600px !important;*/
        /*min-height: 400px !important;*/
    }
    .mfp-content {
        min-width: 400px;
    }
    .container .main .photo-carousel-wrapper .img {
        height: 300px;
    }
    .container .main .photo-carousel-wrapper iframe {
        height: 300px;
    }
    .container .main .chrono .event-block .event-img {
        height: 220px;
    }
    .container .main .chrono .event-block a>img {
        width: 360px;
        top: -20px;
        margin-left: -180px;
    }
    .container .main .photo-carousel-wrapper.play-video-block .img {
        height: 200px;
    }
    .container .main .photo-carousel-wrapper.play-video-block iframe {
        height: 200px;
    }
}
@media (max-width: 768px) {
    #placeGalleryViewport {
        height: 350px;
    }

    .container .block .shareWidgetDropdown .shareLabel {
        opacity: 1;
    }

    .container .main .chrono .event-block .event-img {
        height: 210px;
    }

    .container .main .chrono .event-block a > img {
        width: 350px;
        top: -22px;
        margin-left: -175px;
    }
    .photos-grid .photo-block >  a {
        width: 245px;
        height: 245px;
    }
}
@media (max-width: 700px) {
    .photos-grid .photo-block >  a {
        height: 140px;
        margin-bottom: 0;
    }
    .photos-grid .photo-block >  a img {
        width: 220px;
    }
    .photos-grid > .row {
        margin: 0 -5px;
    }
    .photos-grid > .row > .col-xs-4, .photos-grid > .row > .col-xs-12 {
        /*        padding: 0 5px;*/
    }
    .container .main .chrono .event-block .event-img {
        height: 210px;
    }
    .container .main .photo-carousel-wrapper .carousel, .container .main .photo-carousel-wrapper .carousel .item a {
        height: 270px;
    }
    .container .main .photo-carousel-wrapper.play-video-block .img {
        height: 200px;
    }
    .container .main .photo-carousel-wrapper.play-video-block iframe {
        height: 200px;
    }
}

@media (max-width: 570px) {
    .materialInfo .social-wrap {
        display: block;
        padding-top: 5px;
    }
    .materialInfo .date-wrap {
        display: block;
        padding-top: 5px;
    }
    #placeGalleryViewport {
        height: 300px;
    }
    .container .main .place-gallery div .imgWrapper {
        height: 60px;
    }
    .container .main .place-gallery div .imgWrapper img {
        width: 100px;
    }
    .container .top-panel .btn-hamburger.open .dropdown-menu:first-of-type {
        width: 150px !important;
    }
    .container .top-panel .btn-hamburger.open .dropdown-menu:last-of-type {
        left: 120px !important;
    }
    .container .main .chrono .event-block .event-img {
        height: 170px;
    }
    .container .main .chrono .event-block a>img {
        width: 270px;
        top: -10px;
        margin-left: -135px;
    }
    .container .main .photo-carousel-wrapper .carousel, .container .main .photo-carousel-wrapper .carousel .item a {
        height: 240px;
    }
}
@media (max-width: 567px) {
    .content-wrap {
        padding-top: unset;
        margin-top: 70px;
    }
    .content-wrap .main .chrono > .row > .col-xs-6 {
        /*width: 100% !important;*/
    }
    .content-wrap .main .chrono .event-block {
        padding: 22px 0 0 0 !important;
        border: none;
    }

    .photos-grid > .row > .col-xs-4 {
        /*width: 50% !important;
        margin-top: 10px;*/
    }
    .photos-grid .photo-block >  a {
        height: 110px;
    }
    .photos-grid .photo-block >  a img {
        width: 170px;
    }

    .container .main .posters .poster-block .label {
        float: none;
        display: inline-block;
        top: 0;
        right: 0;
        margin-top: 17px;
    }
    .container .main .posters .poster-block .img {
        width: 100%;
    }
    .container .main .posters .poster-block .info {
        width: 100%;
    }
    .mfp-img {
        /*min-height: auto !important;*/
    }
    .content-wrap .main .header .title, .content-wrap .main .header .additional {
        font-size: 20px;
    }
    .content-wrap .main .header .date {
        margin-top: 6px;
    }
    .container .main .photo-carousel-wrapper .img {
        height: 250px;
    }
    .container .main .photo-carousel-wrapper iframe {
        height: 250px;
    }
    .container .main .photo-carousel-wrapper .carousel, .container .main .photo-carousel-wrapper .carousel .item a {
        height: 240px;
    }
}
@media (max-width: 480px) {
    #placeGalleryViewport {
        height: 230px;
    }
    .container .main .place-gallery div .imgWrapper {
        height: 50px;
    }
    .container .main .place-gallery div .imgWrapper img {
        width: 80px;
    }
    .main-padd {
        padding-left: 5px;
        padding-right: 5px;
    }
    .row {
        margin-left: -5px;
        margin-right: -5px;
    }

    .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
        padding-left: 5px;
        padding-right: 5px;
    }

    .container .top-panel .search {
        padding-left: 12px;
        padding-right: 12px;
    }
    .container .top-panel .search>img:first-child {
        left: 31px;
    }
    .container .top-panel .search .search-close {
        right: 32px;
    }
    .container .top-panel .user-menu > .sign-out:first-of-type {
        display: none;
    }
    /*    .container .main .photo-carousel-wrapper .carousel {
            height: auto;
        }
        .container .main .photo-carousel-wrapper .carousel .item a {
            height: auto;
        }*/
    .container .top-panel .btn-hamburger.open .dropdown-menu:first-of-type {
        width: 130px !important;
    }
    .container .top-panel .btn-hamburger.open .dropdown-menu:last-of-type {
        left: 100px !important;
        width: 200px;
    }
    .container .top-panel .btn-hamburger .dropdown-menu>li>a {
        padding: 5px 21px 5px 11px;
        white-space: normal;
    }
    .container .top-panel .wrap-for-mobile {
        padding: 0 15px;
    }
    .photos-grid .photo-block >  a {
        height: 130px;
    }
    .photos-grid .photo-block >  a img {
        width: 200px;
    }
    .container .main .chrono .event-block .event-img {
        height: 260px;
    }
    .container .main .chrono .event-block a>img {
        width: 480px;
        top: -20px;
        margin-left: -240px;
    }
    .container .main .photo-carousel-wrapper .carousel, .container .main .photo-carousel-wrapper .carousel .item a {
        height: 220px;
    }
    .container .main .photo-carousel-wrapper .content {
        font-size: 11px;
    }
    .container .main .photo-carousel-wrapper .content.hover-content {
        height: 55px;
        margin-top: -55px;
    }
    .carousel-indicators {
        bottom: 45px;
    }
    .container .main .photo-carousel-wrapper .content .event {
        height: 18px;
    }
    .carousel-indicators li, .carousel-indicators li.active {
        width: 11px;
        height: 11px;
    }
    .carousel-indicators li.active {
        position: relative;
        top: -1px;
    }
    .container .main .photo-carousel-wrapper.play-video-block .img {
        height: 170px;
    }
    .container .main .photo-carousel-wrapper.play-video-block iframe {
        height: 170px;
    }
}
@media (max-width: 420px) {
    .container .main .photo-carousel-wrapper .carousel, .container .main .photo-carousel-wrapper .carousel .item a {
        height: 200px;
    }
    .container .main .photo-carousel-wrapper.play-video-block .img {
        height: 160px;
    }
    .container .main .photo-carousel-wrapper.play-video-block iframe {
        height: 160px;
    }
}
@media (max-width: 412px) {
    .photos-grid .photo-block >  a {
        width: 189px;
        height: 189px;
    }
    .photos-grid .photo-block >  a img {
        width: auto;
        height: 189px;
        margin-left: -111px;
    }
}
@media (max-width: 414px) {
    .photos-grid .photo-block >  a {
        width: 190px;
        height: 190px;
    }
}
@media (max-width: 400px) {
    #placeGalleryViewport {
        height: 150px;
    }

    .container .main .place-gallery .placeGalleryPhoto {
        width: 25%;
    }

    .mfp-content {
        min-width: 100%;
    }

    .container .main .photo-carousel-wrapper .img {
        height: 200px;
    }

    .container .main .photo-carousel-wrapper iframe {
        height: 200px;
    }

    .container .main .chrono .event-block .event-img {
        height: 230px;
    }

    .container .main .chrono .event-block a > img {
        width: 370px;
        top: -15px;
        margin-left: -185px;
    }

    .container .main .photo-carousel-wrapper.play-video-block .img {
        height: 150px;
    }

    .container .main .photo-carousel-wrapper.play-video-block iframe {
        height: 150px;
    }
}
@media (max-width: 375px) {
    .photos-grid .photo-block > a {
        width: 170px;
        height: 170px;
    }
    .photos-grid .photo-block a img {
        height: 100%;
        width: auto;
        margin-left: -15%;
    }
}
@media (max-width: 360px) {
    .container .main .chrono .event-block .event-img {
        height: 210px;
    }

    .container .main .chrono .event-block a > img {
        width: 370px;
        top: -25px;
        margin-left: -185px;
    }

    .container .main .photo-carousel-wrapper .carousel, .container .main .photo-carousel-wrapper .carousel .item a {
        height: 180px;
    }

    .container .main .photo-carousel-wrapper.play-video-block .img {
        height: 140px;
    }

    .container .main .photo-carousel-wrapper.play-video-block iframe {
        height: 140px;
    }

    .photos-grid .photo-block > a {
        width: 163px;
        height: 163px;
    }

    .photos-grid .photo-block > a img {
        width: auto;
        height: 163px;
        margin-left: -91px;
    }
}
@media (max-width: 320px) {
    .container .top-panel .btn-hamburger.open .dropdown-menu:last-of-type {
        width: 180px;
    }

    .container .top-panel .btn-hamburger .dropdown-menu > li > a {
        padding: 5px 21px 5px 11px;
        white-space: normal;
    }

    .container .main .chrono .event-block .event-img {
        height: 200px;
    }

    .container .main .chrono .event-block a > img {
        width: 330px;
        top: -20px;
        margin-left: -165px;
    }

    .container .main .photo-carousel-wrapper .carousel, .container .main .photo-carousel-wrapper .carousel .item a {
        height: 150px;
    }

    .container .main .photo-carousel-wrapper.play-video-block .img {
        height: 110px;
    }

    .container .main .photo-carousel-wrapper.play-video-block iframe {
        height: 110px;
    }
}
@media (max-width: 320px) {
    .photos-grid .photo-block > a {
        width: 142px;
        height: 142px;
    }

    .photos-grid .photo-block a img {
        height: 100%;
        width: auto;
        margin-left: -30%;
        /*margin-top: -5%;*/
    }
}

.photos-grid .photo-block a img[data-orientation="horizontal"] {
    height: 100%;
    width: auto;
    margin-left: -15%;
}
.photos-grid .photo-block a img[data-orientation="vertical"] {
    width: 100% !important;
    height: auto !important;
    margin-left: 0;
    margin-top: -10%;
}
.photos-grid .photo-block a img[data-orientation="same"] {
    width: 100% !important;
    height: 100% !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
}