

/* Start:/local/templates/m1/components/bitrix/catalog.element/.default/style.css?17875723426068*/
/*	>>>	popup*/
.main-images__slider-nest.popup {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100vh;
    z-index: 999999;
    background: #fff;
    border-radius: 0;
    animation-name: imgPopupShow;
    animation-duration: 300ms;
}

.main-images__slider-nest.popup .product-item-detail-slider-images-container { right: 105px; }

.main-images__slider-nest.popup .product-item-detail-slider-block {
    padding-top: 0;
    height: 100%;
}

.main-images__slider-nest.popup .main-images__img-big {
    position: absolute;
    top: 50%;
    left: 50%;
    max-height: 100vh;
    width: calc(100% - 150px);
    transform: translateY(-50%) translateX(-50%);
    border: none;
}

@-webkit-keyframes imgPopupShow {
    from { opacity: 0; }
    to { opacity: 1; }
}

@-moz-keyframes imgPopupShow {
    from { opacity: 0; }
    to { opacity: 1; }
}

@-ms-keyframes imgPopupShow {
    from { opacity: 0; }
    to { opacity: 1; }
}

@-o-keyframes imgPopupShow {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes imgPopupShow {
    from { opacity: 0; }
    to { opacity: 1; }
}

.main-images__slider-nest.popup .main-images__img-big img {
    max-width: 1000px;
    max-height: 90vh;
    width: 100%;
    margin: auto;
    cursor: default
}

.main-images__slider-nest.popup .main-images__img-mini-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    padding: 20px;
    border-left: 1px solid #d3d3d3;
    background-color: #fff;
}

.main-images__slider-nest.popup .main-images__img-mini {
    display: block;
    margin-bottom: 20px;
}

.main-images__slider-nest.popup .product-item-detail-slider-close {
    position: absolute;
    top: 4px;
    right: 110px;
    bottom: 0;
    z-index: 150;
    display: block;
    width: 50px;
    height: 50px;
    background: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpolygon%20fill%3D%22%23000000%22%20fill-rule%3D%22evenodd%22%20points%3D%2216%2015.1%208.944%208%2016%201%2015.006%200%208.05%207%20.994%200%200%201%207.056%208%200%2015.1%20.994%2016%208.05%209%2015.006%2016%22%2F%3E%3C%2Fsvg%3E') no-repeat center;
    opacity: .27;
    cursor: pointer;
    transition: all 300ms ease;
}

.main-images__slider-nest:not(.popup) .product-item-detail-slider-left,
.main-images__slider-nest:not(.popup) .product-item-detail-slider-right {
    display: none;
}

.product-item-detail-slider-left,
.product-item-detail-slider-right {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 111;
    display: block;
    width: 25%;
    background: rgba(255, 255, 255, 0) url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2230%22%20viewBox%3D%220%200%2016%2030%22%3E%3Cpolygon%20fill%3D%22%23000000%22%20fill-rule%3D%22evenodd%22%20points%3D%2216%2050%202%2036%2016%2022%2015%2021%201%2035%200%2036%201%2037%2015%2051%22%20transform%3D%22translate(0%20-21)%22%2F%3E%3C%2Fsvg%3E') no-repeat center;
    opacity: .57;
    cursor: pointer;
    transition: all 300ms ease;
}

.product-item-detail-slider-right {
    right: 0;
    transform: rotate(180deg);
}

.main-images__slider-nest.popup .product-item-detail-slider-close:hover { opacity: 1; }

.main-images__slider-nest.popup .product-item-detail-slider-right { right: 105px; }

.main-images__slider-nest.popup .main-images__img-mini-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    padding: 20px;
    border-left: 1px solid #d3d3d3;
    background-color: #fff;
}

.main-images__slider-nest.popup .main-images__img-mini {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 65px;
    height: 65px;
    margin-right: 0;
    margin-left: 0;
    outline: 1px solid #c0cfda;
    background-color: #fff;
    text-align: center;
    cursor: pointer;
    border: 2px solid #c9cfdf;
}

.main-images__slider-nest.popup .main-images__img-mini.active {
    border: 2px solid #a2adc9;
}

.main-images__slider-nest.popup .main-images__img-mini img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 65px;
    max-height: 65px;
    width: auto;
    height: auto;
    transform: translateY(-50%) translateX(-50%);
}

@media (min-width: 768px) {
    .main-images__slider-nest.popup .main-images__img-mini-wrap {
        display: flex;
        flex-direction: column;
    }
}

/* Slider Mobile*/
@media (max-width: 767px) {
    .main-images__slider-nest.popup .product-item-detail-slider-images-container { right: 0; }

    .main-images__slider-nest.popup .product-item-detail-slider-block {
        padding-top: 0;
        height: calc(100% - 111px);
    }

    .main-images__slider-nest.popup .main-images__img-big { width: 90%; }

    .main-images__slider-nest.popup .main-images__img-big img {
        max-width: 100%;
        max-height: calc(100vh - 115px);
        width: auto;
        cursor: default;
    }

    .main-images__slider-nest.popup .main-images__img-mini-wrap {
        position: absolute;
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        overflow-x: auto;
        max-height: 111px;
        border-top: 1px solid #d3d3d3;
        border-left: none;
        white-space: nowrap;
    }

    .main-images__slider-nest.popup .main-images__img-mini {
        display: inline-block;
        margin-bottom: 0;
    }

    .main-images__slider-nest.popup .product-item-detail-slider-close {
        right: 10px;
        z-index: 200;
    }

    .product-item-detail-slider-left,
    .product-item-detail-slider-right { max-width: 75px; }

    .main-images__slider-nest.popup .product-item-detail-slider-right { right: 0; }

}
/* End */
/* /local/templates/m1/components/bitrix/catalog.element/.default/style.css?17875723426068 */
