.overlay_album {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    z-index: 999;
    background: #FFFFFF;
    border: solid 0.5px #e5e5e5;
}

.overlay_album .overlay_album_container {
    display: table-cell;
    vertical-align: middle;
}

.overlay_album:target {
    display: table;
}

.slide_album {
    display: none;
}

.slide_album.active {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.slide_album .slider_img_album {
    width: calc(50vw);
    height: calc(50vw/1.5);
    margin: 10px;
}

.but_close_album {
    width: 40px;
    height: 40px;
    box-shadow: 0px 10 10px 10px rgba(0, 0, 0, 0.25);
    /* background: #4b4e50; */
    background: var(--color-dop);
    margin: auto;
    position: relative;
    display: block;
    z-index: 200;
    text-indent: -9999px;
    cursor: pointer;
    position: absolute;
    right: 0%;

}

.but_close_album:before,
.but_close_album:after {
    content: '';
    width: 28px;
    height: 6px;
    position: absolute;
    top: 40%;
    left: 17%;
    transform: rotate(45deg);
    transition: all 0.3s ease-out;
    background: #FFFFFF;
}

.but_close_album:after {
    transform: rotate(-45deg);
    transition: all 0.3s ease-out;
}

.but_close_album:hover:before,
.but_close_album:hover:after {
    transform: rotate(180deg);
    background: #FFF;
}

#btn-prev_album {

    cursor: pointer;
    width: calc(100% / 2);
    height: calc(97%);
    position: absolute;
    /* left: 50%;
    margin-left: calc((100vh/1.4)/2) */

}

#btn-prev_album:active {
    background-color: #444;
    background-image: url('/img/slide/left-arrow.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;
}

#btn-next_album {
    cursor: pointer;
    width: calc(100% / 2);
    height: calc(97%);
    position: absolute;
    left: calc(100% / 2);
}

#btn-next_album:active {
    background-color: #444;
    background-image: url('/img/slide/right-arrow.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;
}

#btn-prev_album:hover,
#btn-next_album:hover {
    opacity: 0.6;
}

.img {
    width: 100%;
}


.goods_album .imgMini:hover,
.goods_img:hover {
    opacity: 0.8;
    cursor: pointer;
}

.imgMini {
    /* width: 107px; */
    height: 80px;
    margin-right: 0px;
    margin-bottom: 6px;
}






























.slider-wrapper {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}



#btn-prev,
#btn-next {
    cursor: pointer;
    position: absolute;
    z-index: 999;
    width: 60px;
    border-radius: 4px;
    height: 60px;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
    background-color: #0b135496;
}

#btn-prev:hover,
#btn-next:hover {
    background-color: #0b1354a1;
}

#btn-prev img,
#btn-next img {
    width: 30px;
    height: auto;
}

.slider-wrapper:hover #btn-prev,
.slider-wrapper:hover #btn-next {
    opacity: 1;
}

#btn-prev {
    transform: rotate(90deg);
    left: 40px;
}

#btn-next {
    transform: rotate(-90deg);
    right: 40px;
}


#btn-prev:hover,
#btn-next:hover {
    opacity: 0.6;
}


.slide.active {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.but_slide {
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    margin: 0px 10px;
    cursor: pointer;
    border: 1px solid #CCCCCC;
}

.but_slide svg {
    fill: #1e59da !important;
}

.but_slide:hover svg {
    fill: #ffffff !important;
}

.but_slide:hover {
    background: #1e59da;
    border: 1px solid #444444;
}


.slider-wrapper:hover .but_slide {
    display: flex;
}

.slide .slider_text {
    width: 100%;
    background: #FFFFFF;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.slider_text a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--color-dop);
    border-radius: 3px;
    color: #FFF;
}

.slide h2 {
    font-size: 22px;
    color: #444444;
}

.slide p {
    font-size: 14px;
    color: #444444;
}



/*  Р—Р°РґР°РµРј СЃС‚РёР»СЊ РІ С„Р°Р№Р»Рµ style
img {
    height: 100%;
    width: 100%;
}
*/



.dots-wrapper {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background-color: #0b1354ad;
    padding: 10px;
    border-radius: 4px;
    opacity: 0;
    transition: 0.2s ease;
}

.slider-wrapper:hover .dots-wrapper {
    opacity: 1;
}


.dot.active {
    background-color: #c4c4c4;
    opacity: 0.9;
}

.dots-wrapper span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #bbbabb;
    opacity: 0.3;
    margin-right: 10px;
    cursor: pointer;
}

.dots-wrapper span:last-child {
    margin-right: 0;
}


.slide_album_dot {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dot_album {
    background: #CCC;
    margin: 4px;
    width: 10px;
    height: 3px;
}

.dot_album.active {
    /* background: #000; */
    background: var(--color-dop);
}



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

    .but_close_album {
        top: 0px;
        right: 1%;
    }

    .overlay_album {
        width: 100%;
        height: 100%;
    }

    .slide.active {
        justify-content: center;
    }

    .slide .slider_img {
        width: 96%;
        height: 200px;
        margin-right: 0px;
    }

    .slide .slider_text {
        width: 96%;
    }

    .slider_text a {
        position: absolute;
        margin-top: 10px;
        right: 2%;
        top: auto;
        left: auto;
    }

    .slider_text h2 {
        font-size: 24px;
        margin-top: 20px;
        margin-left: 0px;
    }

    #btn-prev {
        display: none;
    }

    #btn-next {
        display: none;
    }

    .dots-wrapper {
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 4%;
    }

    .slide_album .slider_img_album {
        width: calc(98vw);
        height: calc(90vh);
        margin: 10px;
    }


    #btn-prev_album {

        cursor: pointer;
        width: calc(100vw / 2);
        height: calc(90vh);
        position: absolute;
        top: 44px;
    }

    #btn-next_album {
        cursor: pointer;
        width: calc(100vw / 2);
        height: calc(90vh);
        position: absolute;
        left: calc(100vw / 1.8);
        top: 44px;
    }

    .imgMini {
        /* width: calc(90%/3); */
        max-width: 80px;
        margin-right: 20px;
        height: 80px;
    }

    .goods_album {
        display: table;
        /* justify-content: space-between;
        flex-wrap: wrap; */
    }

}












/*ГђЕЎГђВ°Г‘в‚¬Г‘Ж’Г‘ВЃГђВµГђВ»Г‘Е’ ГђВќГђВ°Г‘вЂЎГђВ°ГђВ»ГђВѕ*/
@-webkit-keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 7));
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 7));
    }
}

.slider_carousel {
    background: white;
    box-shadow: 0 5px 5px -5px #333;
    height: 100px;
    margin: 40px auto;
    overflow: hidden;
    position: relative;
    /* width: 80%; */
    padding-left: 200px;
}

.slider_carousel::before,
.slider_carousel::after {
    background: linear-gradient(to right, white 0%, rgba(255, 0, 0, 0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.slider_carousel::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider_carousel::before {
    left: 0;
    top: 0;
}

.slider_carousel .slide_carousel_track {
    -webkit-animation: scroll 40s linear infinite;
    animation: scroll 40s linear infinite;
    display: flex;
    justify-content: space-between;
    /* width: calc(250px * 14); */
    width: max-content;
}

.slider_carousel .slide_carousel {
    height: 100px;
    /* width: 250px; */
    margin-right: 60px;
}

.mt80 {
    margin-top: 70px;
}

.slide {
    width: 100%;
    height: 100%;
    padding: 40px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: white !important;
    text-align: left;
    display: none;
}

.content-overlay {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #0588918c;
    border-radius: 12px;
}

.slide-title {
    font-size: 62px !important;
    font-weight: bold;
    color: white !important;
    margin: 0px;
}

.slide-text {
    font-size: 24px !important;
    color: white !important;
    margin-bottom: 20px;
    margin-top: 16px;
}


@media (max-width: 768px) {
    .slide-title {
        font-size: 30px !important;
        text-align: center;
    }

    .slide-text {
        font-size: 16px;
        text-align: center;
    }

    .slide-link {
        font-size: 18px;
        text-align: center;
    }

    .content-overlay {
        text-align: center;
        justify-content: center;
    }
}


.slide-link {
    display: inline-block;
    padding: 16px 20px;
    color: white !important;
    font-size: 20px;
    font-weight: 400;
    background-color: #F79E95;
    border-radius: 6px;
    transition: 0.2s ease;
    width: fit-content;
}

.slide-link:hover {
    background-color: #e49289;
}