@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&family=Unbounded:wght@200;300;400;500;600;700;800;900&display=swap');

:root {
    --base-color: #ffffff;
    --base-content: #000000;
    --green-color: #EBF8F1;
    --green-content: #00AB55;
    --accent-bg: #F3F3F3;
    --accent-content: #565C61;
    --red-color: #DD0E0A;
}

* {
    scrollbar-width: thin;
    scrollbar-color: gray transparent;
    position: relative;
}

/* Работает в Chrome, Edge и Safari */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background: rgba(0, 0, 0, 0.16);
    border-radius: 5px;
    scrollbar-gutter: stable;
}

::-webkit-scrollbar-track {
    background: white;
}

::-webkit-scrollbar-thumb {
    background-color: slategray;
    border-radius: 5px;
}

html, body {
    padding: 0;
    font-family: 'Manrope', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Unbounded', sans-serif;
    margin: 0 !important;
    font-weight: 600;
}

h1 {
    font-size: 30px;
}

.intro_page {
    background: #000;
}

.intro_page-item {
    overflow: hidden;
    z-index: 1;
}

.intro_page-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: all ease-out .4s;
}

.intro_page-item:hover::after {
    transform: scale(105%);
}

.intro_page-item.first::after {
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 12.86%, rgba(0, 0, 0, 0) 66.15%, #000000 89.03%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)), url("../img/kbvp/img4.webp") no-repeat center/cover;
}

.intro_page-item.middle::after {
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 12.86%, rgba(0, 0, 0, 0) 66.15%, #000000 89.03%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)), url("../img/kbvp/img5.webp") no-repeat center/cover;
}

.intro_page-item.last::after {
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 12.86%, rgba(0, 0, 0, 0) 66.15%, #000000 89.03%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)), url("../img/kbvp/img6.webp") no-repeat center/cover;
}

.login-img {
    background-image: url('../img/login-img.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

}

.login-input,
.password-input,
.reg-input {
    padding-left: 0;
}

.drag-n-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    border: 1px dashed #ffffff;
    transition: all linear .3s;
}

.drag-n-drop.file-hover {
    transition: all .3s linear;
    border: 1px dashed var(--red-color);
}

.drag-n-drop.file-hover::after {
    content: '+';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    font-size: 40px;
    justify-content: center;
    align-items: center;
    background: #000;
    opacity: .8;
    transition: all .2s ease-in-out;

}

.login-input::placeholder,
.password-input::placeholder,
.reg-input::placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
}

.smooth-bg-bottom {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 69.42%, rgba(0, 0, 0, 0.64) 86.1%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.24));
}

.sidebar-wrapper {
    min-height: 100%;
    width: 80px;
    background: #fff;
    transform: translateX(0);
}

.sidebar {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    opacity: 1;
}

.sidebar-logo svg {
    width: 52px;
    height: 32px;

}

.avatar-wrapper {
    margin: 0 1rem;
}

.nav-item-text, .avatar-title {
    padding: 0 0 0 12px;
}

.toggler {
    width: 35px;
    height: 35px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background-color: var(--bs-danger);
    z-index: 3;
    cursor: pointer;
}

@media (max-width: 991px) {
    .sidebar-wrapper {
        display: flex;
        flex: 1 1 50%;
        min-height: 100%;
        overflow: hidden;
        z-index: 99;
        position: fixed;
        background: rgba(0, 0, 0, 0.3);
    }

    .sidebar {
        width: fit-content;
        height: 100vh;
        overflow-x: hidden;
        overflow-y: scroll;
        background: #fff;
        transition: all ease-in-out .3s;
    }
}

.header {
    min-height: 40px;
}

.main-wrapper {
    width: 100%;
    min-height: 100vh;
}

.avatar-container {
    width: 48px;
    height: 48px;
}

.offcanvas .avatar-container {
    width: 80px;
    height: 80px;
}

.offcanvas.finish .avatar-container {
    width: 64px;
    height: 64px;
}

.avatar-container img, .ach-avatar-container img {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    border-radius: 50%;
    width: 100%;
    height: 100%;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px;
    white-space: nowrap;
}

.nav-link, .nav-link svg path {
    color: rgba(0, 0, 0, 0.72) !important;
    border-radius: 0 !important;
}

.nav-link:hover,
.nav-link:focus,
.active-link {
    background: var(--accent-bg) !important;
    color: rgba(0, 0, 0) !important;
}

.nav-link:hover svg,
.nav-link:focus svg,
.nav-link:hover svg path,
.nav-link:focus svg path,
.active-link svg path {
    fill-opacity: 1;
}

.card {
    border-radius: 0;
}

.event {
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.event img {
    height: 180px;
    border-radius: 0;
}

.swiper-buttons {
    display: flex;
    height: 28px;
}

.swiper-button-next,
.swiper-button-prev {
    position: static;
    display: flex !important;
    margin: 0;
    justify-content: center;
    align-items: center;
    background: #F9F9F9;
    height: 100%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

.swiper-button-disabled {
    opacity: 1 !important;
}

.swiper-button-disabled svg {
    opacity: .25;
}

.swiper-slide {
    height: auto;
}

.date, .lector, .clock, .location, .price-tag {
    display: flex;
    justify-content: start;
    align-items: center;
}

.date::before, .lector::before, .clock::before, .location::before, .price-tag::before {
    content: '@';
    margin-right: 8px;
    width: 24px;
    height: 24px;

}

.date::before {
    content: url("../img/Icon/stroked/calendar.svg");
}

.lector::before {
    content: url("../img/Icon/stroked/user.svg");
}

.clock::before {
    content: url("../img/Icon/stroked/clock.svg");
}

.location::before {
    content: url("../img/Icon/stroked/pin.svg");
}

.price-tag::before {
    content: url("../img/Icon/stroked/price-tag.svg");
}

.cube {
    display: block;
    width: 12px;
    height: 12px;
}

.trend_down {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F9F0EF;
    width: 44px;
    height: 28px;
}

.trend_down::after {
    content: url("../img/Icon/stroked/trend-down.svg");
    height: 24px;
}

.trend_up {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--green-color);
    width: 44px;
    height: 28px;
}

.trend_up::after {
    content: url("../img/Icon/stroked/trend-up.svg");
    height: 24px;
}

.calendar__weekdays, .calendar_main {
    display: grid;
    grid-template-columns: repeat(7, 14.28%);
    align-content: center;
    text-align: center;
}

.day {
    font-size: 13px;
    padding: 14px 0;
}

.calendar_main .calendar_main__item {
    border: 1px solid var(--bs-border-color);
    height: 112px;
    display: flex;
    flex-direction: column;

}

.calendar_main__item .item-date {
    display: block;
    text-align: right;
    padding: 8px 8px 0 0;
}

.item-event {
    color: var(--red-color);
    padding: 2px 4px;
    background: #DD0E0A3D;
    border: 1px solid #DD0E0A3D;
    line-height: 20px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.show_all {
    line-height: 14px;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: underline;
    padding-top: 2px;
    opacity: .4;
}

.handbook-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F6F6F6;
    width: 42px;
    height: 42px;
    margin-right: 12px;
}

.handbook-icon::after {
    content: url("../img/Icon/stroked/study.svg");
    height: 24px;
}

.btn-red {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--red-color);
    --bs-btn-border-color: #dc3545;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #bb2d3b;
    --bs-btn-hover-border-color: #b02a37;
    --bs-btn-focus-shadow-rgb: 225, 83, 97;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #b02a37;
    --bs-btn-active-border-color: #a52834;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #dc3545;
    --bs-btn-disabled-border-color: #dc3545;
}

.breadcrumb-item, .breadcrumb-link {
    text-decoration: none;
    color: #565C61 !important;
}

.breadcrumb-item.active {
    font-weight: 600;
    color: #000000B8 !important;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 4px;
}

.breadcrumb-item + .breadcrumb-item::before {
    padding-right: 4px;
    width: 24px;
    height: 24px;
    content: url("../img/Icon/stroked/mini-chevron-right.svg") !important;
}

.user-table {
    border: 1px solid #E0E0E0 !important;
}

th {
    border-bottom-width: 2px !important;
}

.fancybox-navigation {
    top: 50%;
}
.fancybox__container{
    z-index: 1055;
}
.event-banner {
    height: 277px;
    display: flex;
    justify-content: stretch;
    margin: 0 -48px;
    background: url("../img/event-banner.webp") center/cover;
}

.event-banner::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.scroll-container {
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    /*scroll-snap-type: y mandatory;*/
    /*scroll-behavior: smooth;*/
    background: #000;
}
@media (max-width: 575.98px) {
    .scroll-container header{
        background: rgba(0, 0, 0, 0.8);
        padding-bottom: 10px;
}
}

.scroll-section {
    height: 100%;
    width: 100%;
    top: 0;
    position: fixed;
    visibility: hidden;
    overflow: hidden;
}

.bg {
    display: flex;
    align-items: center;
    justify-content: start;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.bg a {
    z-index: 2;
}

.bg a * {
    will-change: transform;
}

.scroll-section .outer,
.scroll-section .inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.first .bg {
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 12.86%, rgba(0, 0, 0, 0) 66.15%, #000000 89.03%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)), url("../img/kbvp/mainbg-1-16_9.jpg") no-repeat center/cover;
}

.second .bg {
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 12.86%, rgba(0, 0, 0, 0) 66.15%, #000000 89.03%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)), url("../img/kbvp/mainbg-2-16_9.jpg") no-repeat center/cover;
}

.third .bg {
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 12.86%, rgba(0, 0, 0, 0) 66.15%, #000000 89.03%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)), url("../img/kbvp/mainbg-3-16_9.jpg") no-repeat center/cover;
}
.fourth .bg{
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 12.86%, rgba(0, 0, 0, 0) 66.15%, #000000 89.03%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)), url("../img/kbvp/mainbg-4-16_9.jpg") no-repeat center/cover;
}
@media (max-width: 767.98px) {
    .first .bg {
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 12.86%, rgba(0, 0, 0, 0) 66.15%, #000000 89.03%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)), url("../img/kbvp/mainbg-1.webp") no-repeat center/cover;
}

.second .bg {
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 12.86%, rgba(0, 0, 0, 0) 66.15%, #000000 89.03%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)), url("../img/kbvp/mainbg-2.webp") no-repeat center/cover;
}

.third .bg {
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 12.86%, rgba(0, 0, 0, 0) 66.15%, #000000 89.03%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)), url("../img/kbvp/mainbg-3.webp") no-repeat center/cover;
}
}
.bg a {
    font-family: 'Unbounded', sans-serif;
    display: block;
    background: rgba(0, 0, 0, 0.75);
}

.bg a span {
    z-index: 5;
}

.bg a::after {
    content: '';
    background: grey;
    opacity: .3;
    z-index: 4;
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    transition: all .3s ease-in-out;
}

.bg a:hover::after {
    width: 100%;
}

.carbine-text-container {
    height: 4.5em;
    margin-bottom: 16px;
    overflow: hidden;
}

.carbine-text-container p {
    margin: 0;
}

.additional-sidebar {
    display: flex;
    flex-direction: column;
    min-width: 244px;
    background-color: #fff;
}

@media (max-width: 991px) {
    .additional-sidebar {
        min-width: 0;
    }
}

.chevron-check-container,
.instructor-check-container,
.target-check-container {
    position: relative;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 140px;
    padding: 5px 0;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .2s ease-in-out;
    margin-bottom: 12px;
}

.instructor-check-container {
    min-height: 140px;
    background-size: cover;
}

.chevron-check-container.checked,
.instructor-check-container.checked,
.target-check-container.checked {
    border: 2px solid var(--red-color);
}

.chevron-check-container::after,
.instructor-check-container::after,
.target-check-container::after {
    content: url("../img/Icon/stroked/check-mark.svg");
    position: absolute;
    bottom: -1px;
    right: -1px;
    background: var(--red-color);
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity .2s ease-in-out;
}

.chevron-check-container.checked::after,
.instructor-check-container.checked::after,
.target-check-container.checked::after {
    opacity: 1;
}

.sticky-btns {
    bottom: 0;
    right: 0;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.ach-wrapper {
    height: 100%;
    min-height: 200px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.ach-wrapper::after {
    position: absolute;
    bottom: 0;
    width: 20vw;
    left: 20px;
    z-index: 0;
}

.ach-wrapper.bullets::after {
    content: url("../img/Icon/bullet.svg");

}

.ach-wrapper.statistic::after {
    content: url("../img/Icon/hourglass.svg");

}

.ach-wrapper.courses::after {
    content: url("../img/Icon/stroked/book1.svg");

}

.ach-wrapper.shooters::after {
    content: url("../img/Icon/stroked/group-peoples.svg");

}

.ach-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 1;
}

.ach-content-text-container {
    height: 3em;
    margin-bottom: 4px;
    overflow: hidden;
}

.ach-counter {
    font-size: 65px;
    font-weight: 600;
    margin-top: auto;
    align-self: end;
    color: var(--red-color);
    font-family: 'Unbounded', sans-serif;
}

.ach-additional-text {
    font-size: 1.5vw;
    color: #000000A3;
}

.ach-card {
    display: flex;
    justify-content: center;
}

.ach-card img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.ach-avatar-container {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.offcanvas {
    max-width: 528px !important;
    width: fit-content !important;
}

.rate .swiper {
    max-width: 100% !important;
}

@media (max-width: 576px) {
    .offcanvas {
        max-width: 100vw !important;
    }

    .rate .swiper {
        max-width: 280px !important;
    }
}


.resp-img-container, .card-bg-image-container {
    min-height: 0;
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.card-bg-image-container {
    height: 190px;
}

.resp-img-container::after, .card-bg-image-container::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.64) 79.69%);
    z-index: 0;
}

.card-bg-image-container .card-hashtag {
    z-index: 1;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0 0 20px 20px;
    padding: 5px 11px;
    border-radius: 3px;
    background: #FFFFFF1F;
    color: #ffffff;
    border: 1px solid #FFFFFF1F
}

.card-body__desc {
    height: 3em;
    overflow: hidden;
}

.personal_request-wrapper {
    margin: 0;
    background: #000;
}

.personal_request-title {
    border-right: 2px solid #3D3D3D;
    padding: 36px 40px 36px 36px;
}

.personal_request-form {
    padding: 52px 40px 0 40px;
}

.form-floating.other label::after {
    background: #000 !important;
}

@media (max-width: 991px) {
    .ach-counter {
        white-space: nowrap;
        font-size: 45px;
    }

    .ach-counter .ach-additional-text {
        font-size: 20px;
    }

    .personal_request-form {
        padding: 22px 30px 22px 30px;
    }
    .personal_request-title{
            padding: 16px 40px 16px 16px;

    }
}

.theory-bg-imaged {
    background-image: url('../img/theory_head_bg.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.fc .fc-toolbar{
    flex-wrap: wrap;
}

.accordion-button.bg-red{
    background-color: var(--red-color)!important;
    color: #F9F9F9!important;
}
.accordion-button.bg-red:hover,.accordion-button.bg-red:focus,.accordion-button.bg-red.collapsed{
    background-color: var(--red-color) !important;
    color: #F9F9F9!important;
}