a.fancybox-close {
    display: none;
}

.photo-panel-right .owl-item.active > LI:before,
.photo-panel-left .owl-item.active > LI:before {
    position: absolute;
    content: " ";
    width: 100%;
    height: 430px;
    top: 0;
    left: 0;
    border: 5px solid transparent;
    transition: .2s all ease;
    cursor: pointer;
}

.main_photo_sider_cover2 {
    cursor: pointer;
}

.photo-panel-right .owl-item.active.selected > LI:before,
.photo-panel-left .owl-item.active.selected > LI:before,
.photo-panel-right .owl-item.active:hover > LI:before,
.photo-panel-left .owl-item.active:hover > LI:before {
    border: 5px solid #ff6b11;
}

@media (max-width: 1280px) {

    .photo-panel-right .owl-item.active > LI:before,
    .photo-panel-left .owl-item.active > LI:before {
        height: 389px;
    }

    .photo-panel.photo-panel-first .photo-panel-left,
    .photo-panel.photo-panel-first .photo-panel-left #photo-panel-left-slider {
        max-width: 660px !important;
    }

    .photo-panel.photo-panel-second .photo-panel-right,
    .photo-panel.photo-panel-second .photo-panel-right #photo-panel-right-slider {
        max-width: 660px !important;
    }

    .photo-panel-right {
        padding-top: 40px;
    }

    .photo-panel-right .elem {
        padding-top: 0;
        margin-left: 0px;
    }

    .photo-panel-right .elem:nth-child(1),
    .photo-panel-right .elem:nth-child(2),
    .photo-panel-right .elem:nth-child(5),
    .photo-panel-right .elem:nth-child(6) {
        width: 160px;
        height: 90px;
        float: none;
    }

    .photo-panel-right .elem:nth-child(3),
    .photo-panel-right .elem:nth-child(4) {
        width: 320px;
        height: 176px;
        margin-top: -107px !important;
        margin-left: 10px;
    }

    .photo-panel-right .elem:nth-child(2) {
        float: left;
        margin-top: 3px !important;
    }

    .photo-panel-right .elem:nth-child(4) {
        float: left;
        margin-top: 3px !important;
        margin-left: 0;
        margin-right: 10px;
    }

    .photo-panel-right .elem:nth-child(5) {
        margin-top: 3px !important;
        float: left;
    }

    .photo-panel-right .elem:nth-child(6) {
        margin-top: 3px !important;
        float: left;
    }

    .photo-panel-right .elem:nth-child(1) .elem-img,
    .photo-panel-right .elem:nth-child(2) .elem-img,
    .photo-panel-right .elem:nth-child(5) .elem-img,
    .photo-panel-right .elem:nth-child(6) .elem-img {
        width: 160px;
        height: 90px;
        border: none;
    }

    .photo-panel-right .elem:nth-child(3) .elem-img,
    .photo-panel-right .elem:nth-child(4) .elem-img {
        width: 320px;
        height: 176px;
        border: none;
    }

    .photo-panel .wrap {
        padding-bottom: 2px;
    }

    .photo-panel h2 {
        text-align: center;
        margin-bottom: 0px;
    }

    .photo-panel-left {
        height: 490px;
    }

    .photo-panel-left .elem:nth-child(3),
    .photo-panel-left .elem:nth-child(4) {
        width: 320px;
    }

    .photo-panel.photo-panel-first .photo-panel-right {
        width: 490px !important;
    }

    .photo-panel-right .elem:nth-child(3), .photo-panel-right .elem:nth-child(4) {
        width: 320px;
        height: 190px;
        margin-top: -97px !important;
        margin-left: 10px;
    }

    .photo-panel-right .elem:nth-child(3) .elem-img, .photo-panel-right .elem:nth-child(4) .elem-img {
        height: 189px;
    }

    .photo-panel-right .elem:nth-child(4) {
        margin-top: 3px !important;
        margin-left: 0px;
    }

    .photo-panel-left .elem:nth-child(3) .elem-img, .photo-panel-left .elem:nth-child(4) .elem-img {
        width: 320px;
        height: 210px;
        border: none;
    }

    .photo-panel-second .photo-panel-left {
        width: 490px !important;
    }

    .photo-panel-left .elem:nth-child(1), .photo-panel-left .elem:nth-child(2), .photo-panel-left .elem:nth-child(5), .photo-panel-left .elem:nth-child(6) {
        width: 160px;
        height: 90px;
        float: none;
    }

    .photo-panel-left .elem:nth-child(1) .elem-img,
    .photo-panel-left .elem:nth-child(2) .elem-img,
    .photo-panel-left .elem:nth-child(5) .elem-img,
    .photo-panel-left .elem:nth-child(6) .elem-img {
        width: 160px;
        height: 90px;
        border: none;
    }

    #photo-panel-left-slider IMG {
        height: 389px;
        widtH: 660px;
    }

    #photo-panel-left-slider .owl-buttons {
        top: -458px;
        position: relative;
    }

    .photo-panel-left .elem:nth-child(1), .photo-panel-left .elem:nth-child(2), .photo-panel-left .elem:nth-child(5), .photo-panel-left .elem:nth-child(6) {
        float: invalid;
    }


    .photo-panel-left .elem:nth-child(3), .photo-panel-left .elem:nth-child(4) {
        width: 320px;
        top: -90px;
        height: 190px;
    }

    .photo-panel-second .photo-panel-left .elem:nth-child(3) IMG {
        height: 190px;
    }

    .photo-panel-second .photo-panel-left .elem:nth-child(5),
    .photo-panel-second .photo-panel-left .elem:nth-child(6) {
        float: right;
        top: -90px;
    }

    #photo-panel-right-slider IMG {
        height: 389px;
        widtH: 660px;
    }

    .photo-panel-first .photo-panel-left {
        height: 395px !important;
    }

    .photo-panel-left {
        height: 440px;
    }
}

/* ****************************************************************************** */
@media (max-width: 1180px) {

    .photo-panel-right .owl-item.active > LI:before,
    .photo-panel-left .owl-item.active > LI:before {
        height: 348px;
    }


    .photo-panel.photo-panel-first .photo-panel-left,
    .photo-panel.photo-panel-first .photo-panel-left #photo-panel-left-slider {
        max-width: 532px !important;
    }

    .photo-panel.photo-panel-second .photo-panel-right,
    .photo-panel.photo-panel-second .photo-panel-right #photo-panel-right-slider {
        max-width: 532px !important;
    }

    .photo-panel-right {
        padding-top: 40px;
    }

    .photo-panel-right .elem {
        padding-top: 0;
        margin-left: 0px;
    }

    .photo-panel-right .elem:nth-child(1),
    .photo-panel-right .elem:nth-child(2),
    .photo-panel-right .elem:nth-child(5),
    .photo-panel-right .elem:nth-child(6) {
        width: 120px;
        height: 80px;
        float: none;
    }

    .photo-panel-right .elem:nth-child(3),
    .photo-panel-right .elem:nth-child(4) {
        width: 264px;
        height: 167px;
        margin-top: -107px !important;
        margin-left: 10px;
    }

    .photo-panel-right .elem:nth-child(2) {
        float: left;
        margin-top: 3px !important;
    }

    .photo-panel-right .elem:nth-child(4) {
        float: left;
        margin-top: 3px !important;
        margin-left: 0;
        margin-right: 10px;
    }

    .photo-panel-right .elem:nth-child(5) {
        margin-top: 3px !important;
        float: left;
    }

    .photo-panel-right .elem:nth-child(6) {
        margin-top: 3px !important;
        float: left;
    }

    .photo-panel-right .elem:nth-child(1) .elem-img,
    .photo-panel-right .elem:nth-child(2) .elem-img,
    .photo-panel-right .elem:nth-child(5) .elem-img,
    .photo-panel-right .elem:nth-child(6) .elem-img {
        width: 120px;
        height: 80px;
        border: none;
    }

    .photo-panel-right .elem:nth-child(3) .elem-img,
    .photo-panel-right .elem:nth-child(4) .elem-img {
        width: 264px;
        height: 167px;
        border: none;
    }

    .photo-panel .wrap {
        padding-bottom: 2px;
    }

    .photo-panel h2 {
        text-align: center;
        margin-bottom: 0px;
        margin-top: 40px;
    }

    .photo-panel-left {
        height: 490px;
    }

    .photo-panel-left .elem:nth-child(3),
    .photo-panel-left .elem:nth-child(4) {
        width: 262px;
    }

    .photo-panel.photo-panel-first .photo-panel-right {
        width: 395px !important;
    }

    .photo-panel-right .elem:nth-child(3), .photo-panel-right .elem:nth-child(4) {
        width: 262px;
        height: 173px;
        margin-top: -87px !important;
        margin-left: 10px;
    }

    .photo-panel-right .elem:nth-child(3) .elem-img, .photo-panel-right .elem:nth-child(4) .elem-img {
        height: 189px;
    }

    .photo-panel-right .elem:nth-child(4) {
        margin-top: 3px !important;
        margin-left: 0px;
    }

    .photo-panel-left .elem:nth-child(3) .elem-img, .photo-panel-left .elem:nth-child(4) .elem-img {
        width: 262px;
        height: 170px;
        border: none;
    }

    .photo-panel-second .photo-panel-left {
        width: 394px !important;
    }

    .photo-panel-left .elem:nth-child(1), .photo-panel-left .elem:nth-child(2), .photo-panel-left .elem:nth-child(5), .photo-panel-left .elem:nth-child(6) {
        width: 120px;
        height: 80px;
        float: none;
    }

    .photo-panel-left .elem:nth-child(1) .elem-img,
    .photo-panel-left .elem:nth-child(2) .elem-img,
    .photo-panel-left .elem:nth-child(5) .elem-img,
    .photo-panel-left .elem:nth-child(6) .elem-img {
        width: 120px;
        height: 80px;
        border: none;
    }

    #photo-panel-left-slider IMG {
        height: 348px;
        width: 540px;
    }

    #photo-panel-left-slider .owl-buttons {
        top: -458px;
        position: relative;
    }

    .photo-panel-left .elem:nth-child(1), .photo-panel-left .elem:nth-child(2), .photo-panel-left .elem:nth-child(5), .photo-panel-left .elem:nth-child(6) {
        float: invalid;
    }


    .photo-panel-left .elem:nth-child(3), .photo-panel-left .elem:nth-child(4) {
        width: 262px;
        top: -90px;
        height: 170px;
    }

    .photo-panel-second .photo-panel-left .elem:nth-child(3) IMG {
        height: 170px;
    }

    .photo-panel-second .photo-panel-left .elem:nth-child(5),
    .photo-panel-second .photo-panel-left .elem:nth-child(6) {
        float: right;
        top: -90px;
    }

    #photo-panel-right-slider IMG {
        height: 348px;
        widtH: 532px;
    }

    .photo-panel-first .photo-panel-left {
        height: 395px !important;
    }

    .photo-panel-left {
        height: 440px;
    }

    .photo-panel-first .photo-panel-right .elem:nth-child(1) IMG,
    .photo-panel-first .photo-panel-right .elem:nth-child(2) IMG,
    .photo-panel-first .photo-panel-right .elem:nth-child(4) IMG {
        height: 100%;
    }

    .photo-panel-first .photo-panel-right .elem:nth-child(5) IMG,
    .photo-panel-first .photo-panel-right .elem:nth-child(6) IMG {
        height: 78px;
    }

    .photo-panel-first .photo-panel-right .elem:nth-child(6) IMG {
        height: 76px;
    }

    .photo-panel-right .elem:nth-child(6) .elem-img {
        height: 75px;
    }

    .photo-panel-right .elem:nth-child(3) .elem-img, .photo-panel-right .elem:nth-child(4) .elem-img {
        height: 165px;
        width: 262px;
    }

    .photo-panel-right .elem:nth-child(3) .elem-img,
    .photo-panel-first .photo-panel-right .elem:nth-child(3) IMG {
        height: 170px;
    }

    .photo-panel-first .photo-panel-left {
        height: 362px !important;
    }

    .photo-panel-left .elem:nth-child(3), .photo-panel-left .elem:nth-child(4) {
        top: -70px;
    }

    .photo-panel-second .photo-panel-left .elem:nth-child(5), .photo-panel-second .photo-panel-left .elem:nth-child(6) {
        float: right;
        top: -250px;
        clear: both;
    }

    .photo-panel-second .photo-panel-left .elem:nth-child(1) IMG,
    .photo-panel-second .photo-panel-left .elem:nth-child(2) IMG,
    .photo-panel-second .photo-panel-left .elem:nth-child(4) IMG,
    .photo-panel-second .photo-panel-left .elem:nth-child(5) IMG,
    .photo-panel-second .photo-panel-left .elem:nth-child(6) IMG {
        height: 100%;
    }

    .photo-panel-second .photo-panel-left .elem:nth-child(6) IMG {
        height: 78px;
    }

    .photo-panel-left {
        height: 350px;
    }

    .photo-panel-second .photo-panel-left .elem:nth-child(4) IMG {
        height: 168px;
    }

    .photo-panel-first .photo-panel-left .owl-buttons {
        position: relative;
        margin-top: -78px;
    }

    .photo-panel-second .photo-panel-right .owl-buttons {
        position: relative;
        margin-top: -178px;
    }

    .photo-panel-second {
        max-height: 400px;
        margin-top: -6px;
    }

    #photo-panel-left-slider .owl-buttons {
        top: -403px;
        position: relative;
    }
}

@media (max-width: 940px) {
    .photo-panel-right .owl-item.active > LI:before,
    .photo-panel-left .owl-item.active > LI:before,
    .photo-panel-right .owl-item.active.selected > LI:before,
    .photo-panel-left .owl-item.active.selected > LI:before,
    .photo-panel-right .owl-item.active:hover > LI:before,
    .photo-panel-left .owl-item.active:hover > LI:before {
        border: 0 !important;
        height: auto;
    }


    .photo-panel.photo-panel-first .photo-panel-right,
    .photo-panel.photo-panel-second {
        display: none;
    }

    .photo-panel.photo-panel-first .photo-panel-left {
        margin-top: 20px;
        max-width: 620px !important;
        width: 620px !important;
        margin-left: 0;
        margin-right: 0;
    }

    #photo-panel-left-slider IMG {
        width: 620px;
        height: 400px;
    }

    .photo-panel.photo-panel-first .photo-panel-left, .photo-panel.photo-panel-first .photo-panel-left #photo-panel-left-slider {
        max-width: 100% !important;
        width: 100% !important;
    }

    .photo-panel .all {
        display: block;
        height: 400px;
    }
}

@media (max-width: 639px) {
    .photo-panel.photo-panel-first .photo-panel-left {
        margin-top: 20px;
        max-width: 460px !important;
        width: 460px !important;
        margin-left: 0;
        margin-right: 0;
    }

    #photo-panel-left-slider IMG {
        width: 460px;
        height: 296px;
    }

    .photo-panel.photo-panel-first .photo-panel-left, .photo-panel.photo-panel-first .photo-panel-left #photo-panel-left-slider {
        max-width: 460px !important;
        width: 460px;
    }

    .photo-panel .all {
        display: block;
        height: 328px;
    }

    #photo-panel-left-slider .owl-buttons {
        top: -425px;
    }

    .photo-panel h2 {
        font-size: 22px;
    }
}

@media (max-width: 479px) {
    .photo-panel.photo-panel-first .photo-panel-left {
        margin-top: 20px;
        max-width: 300px !important;
        width: auto !important;
        margin-left: 0;
        margin-right: 0;
    }

    #photo-panel-left-slider IMG {
        width: 300px;
        width: 100%;
        height: 295px;
    }

    .photo-panel.photo-panel-first .photo-panel-left, .photo-panel.photo-panel-first .photo-panel-left #photo-panel-left-slider {
        max-width: 300px !important;
        width: 300px;
        max-width: 100% !important;
        width: 100%;
    }

    .photo-panel.photo-panel-first .photo-panel-left {
        width: 100%;
    }

    .photo-panel .owl-buttons div {
        margin-top: -31px;
    }

    .photo-panel .all {
        display: block;
        height: 334px;
    }

    #photo-panel-left-slider .owl-buttons {
        top: -425px;
    }

    .photo-panel .owl-buttons div {
        width: 32px;
        height: 32px;
        margin-top: -71px;
    }

    .photo-panel .owl-buttons .owl-prev {
        background-position: 1px 0px;
        background-size: 61px;
        left: 11px;
    }

    .photo-panel .owl-buttons .owl-next {
        background-position: -29px 0px;
        background-size: 61px;
        right: 11px;
    }

    .photo-panel.photo-panel-first .photo-panel-left {
        width: 100%;
    }

    #photo-panel-left-slider .owl-buttons {
        top: -378px;
    }
}

@media (max-width: 420px) {
    #photo-panel-left-slider .owl-buttons {
        top: -395px;
    }

    #photo-panel-left-slider IMG {
        height: 248px;
    }

    .photo-panel .all {
        height: 280px;
    }

}

@media (max-width: 360px) {
    #photo-panel-left-slider .owl-buttons {
        top: -415px;
    }

    #photo-panel-left-slider IMG {
        height: 228px;
    }

    .photo-panel .all {
        height: 260px;
    }

}
