/* flex */
.flex {
    display: flex;
    flex-wrap: wrap;
}
.jc-start {
    justify-content: flex-start;
}
.jc-end {
    justify-content: flex-end;
}
.jc-between {
    justify-content: space-between;
}
.jc-center {
    justify-content: center;
}
.ai-start {
    align-items: flex-start;
}
.ai-end {
    align-items: flex-end;
}
.ai-center {
    align-items: center;
}
.gap {
    gap: 45px;
    row-gap: 40px;
}
.center {
    text-align: center;
}
.bold {
    font-weight: 600;
}
.upper {
    text-transform: uppercase;
}
.white-block * {
    color: #fff;
}
.obj {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.m-auto {
    margin-left: auto;
    margin-right: auto;
}

.swiper-button-lock {
    display: none !important;
}

/* Заголовоки */

.h1,
h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 105%;
    margin-bottom: 28px;
}
.h2,
h2 {
    font-size: 46px;
    font-weight: 700;
    line-height: 105%;
    margin-bottom: 28px;
}
.h2 span {
    color: #231B82;
}
.h3,
h3 {
    font-size: 32px;
    font-weight: 700;
    line-height: 105%;
    margin-bottom: 20px;
}

/* Mobile custom horizontal scrollbar for .content table */
.content-table-scrollarea {
    position: relative;
}

@media (max-width: 768px) {
    .content-table-scrollarea {
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 14px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .content-table-scrollarea::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .content-table-scrollbar {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 4px;
        border-radius: 999px;
        background: #dbe2f3;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
        z-index: 2;
    }

    .content-table-scrollbar.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    .content-table-scrollbar__thumb {
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        border-radius: 999px;
        background: #231b82;
        cursor: grab;
        touch-action: none;
    }

    .content-table-scrollbar__thumb:active {
        cursor: grabbing;
    }
}
.h4,
h4 {
    font-size: 20px;
    font-weight: 600;
    line-height: 140%;
    margin-bottom: 8px;
}

/* container */

.container {
    width: calc(100% - 120px);
    max-width: 1280px;
    margin: 0 auto;
}

/* padding */

.p-100-t {
    padding-top: 100px;
}
.p-100-b {
    padding-bottom: 100px;
}
.p-32 {
    padding: 32px;
}

/* br */

.br-20 {
    border-radius: 20px;
}

/* border */



/* content */

.content p {
    margin-bottom: 22px;
}
.content strong {
    font-weight: 700;
}
.content ul {
    margin-bottom: 40px;
}
.content ul li {
    position: relative;
    padding-left: 20px;
}
.content ul li:not(:last-child) {
    margin-bottom: 10px;
}
.content ul li:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 0;
    background: #4334EE;
}
.content ol {
    counter-reset: listCounter;
}
.content ol li::before {
    content: counter(listCounter)'.';
    counter-increment: listCounter;
    color: #4334EE;
    font-size: 16px;
    font-weight: 700;
    position: absolute;
    top: 0px;
    left: 0;
}
.content ol li {
    padding-left: 26px;
    position: relative;
}
.content ol li:not(:last-child) {
    margin-bottom: 16px;
}

.content-table-scrollarea {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #DBE2F3;
}
.content table {
    width: 100%;
    border-collapse: collapse;
}
.content table th {
    font-weight: bold;
    padding: 5px;
    background: #DBE2F3;
    border: 1px solid #DBE2F3;
}
.content table td {
    border: 1px solid #DBE2F3;
    padding: 5px;
    width: 38%;
}
.content table td:first-child {
    border-left: none;
}
.content table td:last-child {
    border-right: none;
}
.content table tr:last-child td {
    border-bottom: none;
}

/* form */

.glightbox-button-hidden {
    display: none !important;
}

/* Своя кнопка .modal-close; встроенную .gclose убираем с экрана, закрытие через lb.close() */
.glightbox-container[data-modal] .gclose,
.glightbox-container[data-thanks-glightbox] .gclose {
    opacity: 0;
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
.gslide-inline {
    background: transparent;
}
.thanks-modal {
    max-width: 100%;
    width: 550px;
    background: #231B82;
    padding: 46px;
    border-radius: 40px 0;
    position: relative;
}
.thanks-modal * {
    color: #fff;
}
.thanks-modal .modal-close {
    filter: brightness(0) invert(1);
}
.modal-close {
    background: url(../img/modal-close.svg) no-repeat center center / 100%;
    top: 60px;
    right: 60px;
    position: absolute;
    width: 20px;
    height: 20px;
    border: none;
    cursor: pointer;
    z-index: 4;
}
[data-modal] .ginlined-content {
    max-width: 100%;
    width: 1062px;
    padding: 47px;
    border-radius: 28px;
    background: #FFF;
    position: relative;
    overflow: hidden;
}
.gslide-description {
    display: none;
}
[data-modal] .modal-close {
    top: 20px;
    right: 20px;
}
.glightbox-clean .gslide-media {
    box-shadow: none;
}
.default-form {
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
    gap: 16px;
}
.default-form-label {
    width: 100%;
}
.default-form-label.w-50 {
    width: calc(50% - 8px);
}
.default-form-label__name {
    width: max-content;
    position: relative;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}
[data-form-required] .default-form-label__name:before {
    content: "*";
    color: #fff;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    position: absolute;
    right: -10px;
}
.default-form-label__input {
    color: #252525 !important;
    width: 100%;
    border-radius: 1000px;
    background: #F3F9FA;
    border: 1px solid transparent;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 400;
    resize: none;
}
.default-form-label__input::placeholder {
    color: rgba(28, 28, 28, 0.50);
}
.default-form-label__error {
    color: #F12626;
    font-variant-numeric: lining-nums proportional-nums;
    font-size: 12px;
    font-weight: 600;
    line-height: 140%;
    display: block;
    margin-top: 8px;
}
.default-form-accept input {
    display: none;
}
.default-form-accept__span {
    display: block;
    padding-left: 28px;
    background: url("../img/form-check.svg") no-repeat top left;
    cursor: pointer;
    font-size: 12px;
}
.default-form-accept__span a {
    text-decoration: underline !important;
}
.default-form-accept input:checked + .default-form-accept__span {
    background: url("../img/form-check-accept.svg") no-repeat top left;
}
.default-form [data-form-button] {
    margin-top: 20px;
    cursor: pointer;
}

/* breadcrumbs */

#breadcrumbs {
    margin-bottom: 42px;
    margin-top: 24px;
}
.breadcrumbs-list li {
    display: inline;
}
.breadcrumbs-list li:not(:first-child) {
    padding-left: 18px;
    position: relative;
    margin-left: 8px;
}
.breadcrumbs-list li:not(:first-child):before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4334EE;
    position: absolute;
    top: 9px;
    left: 2px;
}
.breadcrumbs-list li span {
    color: #4334EE;
    font-weight: 700;
}

/* pagination */

.pagination {
    margin-top: 42px;
    gap: 12px;
}
.pagination a,
.pagination span {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #F1F5FF;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
}
.pagination span {
    background: #231B82;
    color: #fff;
    font-weight: 700;
}

/* button */

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 1000px;
    background: #4334EE;
    padding: 16px 40px;
    width: max-content;
    color: #FFF;
    font-weight: 700;
    border: none;
    transition: .4s;
}
.button:hover {
    background: #5b4dff;
}
.button.white-button {
    color: #303030;
    background: #FFF;
}

/* absolute-img */

.ab-img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1 !important;
}

/* progress-bar */

.swiper-progress-line {
    width: 100%;
    height: 5px;
    border-radius:0px;
    background: #DBE2F3;
    margin-top: 20px;
    transition-duration: 0ms;
    display: none;
    border-radius: 8px;
}
.swiper-progress-line .swiper-scrollbar-drag {
    background: #231B82;
    border-radius: 8px;
}

@media (max-width: 1300px) {
    .default-form-label.w-50 {
        width: 100%;
    }
}

@media (max-width: 1240px) {
    .container {
        width: calc(100% - 80px);
    }
}

@media (max-width: 1024px) {
    .p-32 {
        padding: 24px;
    }
    .br-20 {
        border-radius: 16px;
    }
    .p-100-t {
        padding-top: 80px;
    }
    .p-100-b {
        padding-bottom: 80px;
    }
    .h1,
    h1 {
        font-size: 44px;
        margin-bottom: 24px;
    }
    .h2,
    h2 {
        font-size: 36px;
        margin-bottom: 24px;
    }
    .h3,
    h3 {
        font-size: 28px;
        margin-bottom: 16px;
    }
    .h4,
    h4 {
        font-size: 18px;
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .container {
        width: calc(100% - 40px);
    }
    .p-32 {
        padding: 16px;
    }
    .br-20 {
        border-radius: 12px;
    }
    .p-100-t {
        padding-top: 50px;
    }
    .p-100-b {
        padding-bottom: 50px;
    }
    .h1,
    h1 {
        font-size: 36px;
        margin-bottom: 24px;
    }
    .h2,
    h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    .h3,
    h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    .h4,
    h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    .default-form .h3 {
        margin-bottom: 4px;
    }
    .default-form [data-form-button] {
        margin-top: 10px;
    }
    .button {
        width: 100%;
    }
    #breadcrumbs {
        margin: 20px 0;
    }
    .pagination {
        margin-top: 20px;
    }
    .breadcrumbs-list li:not(:first-child):before {
        top: 7px;
    }
    [data-modal] .ginlined-content {
        border-radius: 16px;
    }
    [data-modal] .modal-close {
        top: 25px;
    }
    .thanks-modal {
        padding: 20px;
        border-radius: 20px;
    }
    .thanks-modal .modal-close {
        top: 24px;
        right: 20px;
    }
    .content table td {
        width: 25%;
    }
    .content table {
        width: 900px;
        line-height: 120%;
        font-size: 13px;
        margin: 0;
    }
}