/* HERO */

.bootstrap-hero-section .slides {
    min-height: 220px;
    height: calc(100vh - 90px);
    overflow: hidden;
    /* border-bottom-left-radius: 1rem !important;
	border-bottom-right-radius: 1rem !important; */
    position: relative;
    box-shadow: 0px 2.6px 8px rgb(0 0 0 / 30%), 0px 22px 64px rgb(0 0 0 / 30%);
}

.bootstrap-hero-section .slides::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0px 15px 15px 0px #00000024;
}

.bootstrap-hero-section .main-title {
    min-height: 305px;
    height: 50vh;
    position: relative;
}

.bootstrap-hero-section .main-title .logo img {
    max-width: 4rem;
}

.main-title-carousel {
    width: 100%;
    line-height: 1;
    max-width: 530px;
}

.secondary-title-carousel-container {
    height: calc(2rem + 0.3vw);
}

.secondary-title-carousel {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bs-primary);
    width: 100%;
    height: calc(2rem + 0.3vw);
    opacity: 0.7;
}

.secondary-title-text {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    width: 100%;
}

.d-hero-hide {
    display: none;
}

.bootstrap-hero-section .carousel-caption {
    padding: 0.7rem 0.3rem !important;
}

@media (max-width: 576px) {
    .bootstrap-hero-section .carousel-caption h2 {
        font-size: calc(1.375rem + 1.5vw) !important;
    }
}

@media (max-width: 385px) {
    .main-title-carousel {
        font-size: calc(1.475rem + 0.3vw) !important;
    }

    .secondary-title-carousel {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 350px) {
    .main-title-carousel {
        font-size: calc(1.275rem + 0.3vw) !important;
    }

    .secondary-title-carousel {
        font-size: 1rem !important;
    }
}

@media (min-width: 768px) {
    .bootstrap-hero-section .carousel-caption {
        padding: 3.5rem !important;
    }

    .bootstrap-hero-section .slides {
        box-shadow: none;
    }

    .bootstrap-hero-section .slides::after {
        box-shadow: inset -15px 15px 15px 0px #00000042;
    }

    .secondary-title-text {
        left: 20%;
        width: 60%;
    }

    .secondary-title-carousel {
        left: 20%;
        width: 60%;
    }

    .secondary-title-carousel,
    .main-title-carousel {
        line-height: 1.15;
    }

    .bootstrap-hero-section .main-title .logo img {
        max-width: 10rem;
    }

    .bootstrap-hero-section .slides {
        /* height: 91vh; */
        box-shadow: 6.3px 0px 21.8px -40px rgba(0, 0, 0, 0.077),
            63px 0px 64px -40px rgba(0, 0, 0, 0.15);
    }

    .bootstrap-hero-section .main-title {
        /* height: 91vh; */
    }
}

#hero_slider_div .background_color {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.25;
    background: #121927;
    z-index: 1;
}

#hero_slider_div,
#hero_slider_div .carousel-inner,
#hero_slider_div .carousel-inner .carousel-item,
#hero_slider_div .carousel-inner .carousel-item .slider_img {
    width: 100%;
    height: 100%;
}

#hero_slider_div .carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    padding-top: 0;
    padding-bottom: 0;
    right: 0;
    z-index: 2;
}

#hero_slider_div .carousel-control-prev,
#hero_slider_div .carousel-control-next {
    align-items: flex-end;
    padding-bottom: 1.5rem;
}

/* Видео в модальном окне */
.herovid_video_modal .modal-body {
    position: relative;
    background-color: var(--bs-dark);
}

.herovid_video_modal .modal-content {
    background: transparent;
    border: none;
}

.herovid_video_modal .modal-footer {
    border-top: none;
    justify-content: center;
}

.herovid_video_modal .modal-footer p {
    text-shadow: 0 0 4px black;
}

.herovid_video_modal .btn-close {
    position: absolute;
    right: 0rem;
    top: 0rem;
    z-index: 1;
    width: 2rem;
    height: 2rem;
    border-radius: 0 0 0 0.8rem;
    background-color: var(--bs-light);
    filter: none !important;
    opacity: 0.8;
}

.herovid_video_modal .btn-close:hover {
    opacity: 1;
}

.vp-center #player {
    height: auto !important;
}

/* Хедер */
#content {
    padding-top: 0 !important;
}

#hero_slider_div .video_opacity {
    position: relative;
}

#hero_slider_div .video_opacity video {
    min-height: 102% !important;
    top: -2px;
}



.slider-text {
    background-color: #2b2a29b2;
    width: fit-content;
}

.slider-badge {
    background-color: #434242b9;
    font-size: .875rem !important;
    line-height: 1 !important;
    font-weight: 400 !important;
}

/* .slider-bottom-container {
    margin: 0 2rem;
} */

@media (min-width: 576px) {
    .slider-bottom-container {
        width: 100%;
        margin: 0;
    }
}

.slider-bottom {
    bottom: 0;
    z-index: 999;
}

.slider-string-cont {
    max-width: 220px;
}

.ryadom-badge {
    font-weight: 500;
}

.slider-string-cont {
    height: 25px;
    overflow: hidden;
    position: relative;
}

.slider-string {
    position: relative;
    transition: transform 0.5s ease;
}

.slider-string-item {
    height: 25px;
}

.strelki-cont-block {
    position: absolute !important;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    top: -20%;
}

@media (min-width: 768px) {
    .strelki-cont-block {
        justify-content: end;
        top: 0;
    }

    .strelki-container {
        position: relative;
    }
}

.strelki-cont-block .strelka {
    display: block;
    position: relative !important;
}

.slider-container {
    z-index: 3;
}

.my_interesting_position_for_chelovek_pauk {
    z-index: 2;
    position: absolute;
    top: calc(100% - 400px);
    height: 350px;
}

@media (min-width: 410px) {
    .my_interesting_position_for_chelovek_pauk {
        top: calc(100% - 400px);
        height: 300px;
    }
}

@media (min-width: 576px) {
    .my_interesting_position_for_chelovek_pauk {
        top: calc(100% - 400px);
        height: 350px;
    }
}

