:root {
    --screen-mobile: 360px;
    --screen-tablet: 480px;
    --screen-desktop: 1280px;
}

.bg-grey {
    background-color: #f2f3f5;
}

.bg-white {
    background-color: #ffffff;
}

.btn-primary {
    background-color: #00509f;
    border-color: #00509f;
    color: #ffffff;
    border-radius: 0;
}

.btn-primary:hover {
    /* background-color: #00509F;
    color: white;
    border-color: #00509F; */
    cursor: default;
}

.btn-outline-primary {
    background-color: #f2f3f5;
    border-color: #00509f;
    color: #00509f;
    border-radius: 0;
}

.btn-outline-primary:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
}

.btn-danger {
    background-color: #ff144f;
    border-color: #ff144f;
    color: #ffffff;
    border-radius: 0;
    font-weight: bold;
}

.btn-danger:hover {
    background-color: #ffffff;
    color: #ff144f;
    border-color: #ff144f;
    font-weight: bold;
}

.btn-outline-danger {
    background-color: #ffffff;
    border-color: #e8e8e8;
    color: #2c2d2e;
    border-radius: 0;
    font-weight: bold;
}

.btn-outline-danger:hover {
    background-color: #ff144f;
    border-color: #ff144f;
    color: #ffffff;
    font-weight: bold;
}

.btn {
    border-radius: 0;
}

.text-primary {
    color: #00509f !important;
}

.text-link {
    color: #4ba4e6;
}

.form-control {
    border-radius: 0;
}

.form-range {
    --bs-primary: #00509f;
}

.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: #f2f3f5;
    border: 2px solid #00509f;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -7px;
}

.form-label--input-label {
    position: absolute;
    left: 0;
    top: -30px;
    font-size: 18px;
}

.form-label-2 {
    font-size: 12px;
    color: #a8abb0;
}

.form-control-2 {
    background-color: #f5f7f6;
}

.bi-search {
    fill: #00509f;
}

.input-group-text {
    border-radius: 0;
}

.input-group {
    position: relative;
}

.icon-bg {
    background-color: #fefefe;
    font-size: 12px;
}

.icon-bg img {
    width: 40%; /* Adjust this value as needed */
}

.icon-bg-2 img {
    width: 85%; /* Adjust this value as needed */
}

.call-back {
    font-family: SourceSansPro, sans-serif;
}

.black-link {
    color: black;
}

.small-text {
    font-size: 14px;
}

.bg-blue {
    padding-left: 0;
    padding-right: 0;
    background-color: #edfbfe;
    /*      font-size: 12px;*/
}

.nav-underline .nav-item .nav-link.active {
    border-bottom: 4px solid #ff144f;
}

.nav-underline .nav-item .nav-link {
    color: black;
    font-weight: bold;
    margin: 0 30px 0 0;
}

.horizontal-line-1,
.horizontal-line-2 {
    height: 2px; /* Adjust the height of the line as needed */
    background-color: #00509f; /* Blue color */
    /*top: 25px; !* Adjust the margin-top to position the line properly *!*/
    /*position: relative;*/
    display: inline-block;
    width: calc(50% - 90px);
}

.horizontal-line-2 {
    background-color: #afbac4; /* Blue color */
}

.image-container {
    position: relative;
    width: 100%;
    height: 80%;
    background-position: left center;
}

.form-date-control {
    color: #00509f;
}

.gap {
    gap: 10px; /* Adjust the value as needed */
}

.custom-checkbox {
    width: 2.5em;
    height: 2.5em;
    margin-right: 1em;
    border-radius: 0;
    border: 2px solid #c5cdd5;
}

.custom-checkbox-2 {
    width: 2em;
    height: 2em;
    margin-right: 1em;
    border-radius: 0;
    border-radius: 0;
    border: 2px solid #c5cdd5;
}

/* Прячу мену Bitrix*/
.content-container .sidemenu {
    display: none;
}

::-webkit-input-placeholder {
    font-size: 70%;
}

.toast-cover {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
}

.toast-closer {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    opacity: 0.2;
}

.toast-closer + .toast {
    display: block;
    z-index: 100;
    position: absolute;
}

.my_range {
    position: relative;
}

.my_range > input {
    opacity: 0;
    z-index: 2;
    width: 87%;
    margin-left: 6.5%;
    cursor: pointer;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.my_range > div {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.my_range .now,
.my_range .before,
.my_range .after {
    display: block;
    height: 2em;
    width: 16.66%;
    position: relative;
}

.my_range .before span.b,
.my_range .before span.p,
.my_range .before span.a,
.my_range .now span.b,
.my_range .now span.p,
.my_range .now span.a,
.my_range .after span.b,
.my_range .after span.p,
.my_range .after span.a {
    display: block;
    border: solid #0f519c 2px;
    background: #0f519c;
    position: absolute;
    top: 50%;
    left: 0;
    width: 50%;
    margin-top: -2px;
}

.my_range .before span.a,
.my_range .now span.a,
.my_range .after span.a {
    left: 50%;
}

.my_range .before span.p,
.my_range .after span.p {
    left: 50%;
    width: 8px;
    height: 8px;
    margin-top: -5px;
    margin-left: -5px;
    border-radius: 4px;
}

.my_range .now span.p {
    left: 50%;
    width: 22px;
    height: 22px;
    margin-top: -12px;
    margin-left: -12px;
    background: #f2f3f5;
    border-radius: 11px;
    border-width: 3px;
}

.my_range .now span.a,
.my_range .after span {
    border-color: #999999 !important;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove {
    left: unset !important;
    right: 0;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    padding-left: 0 !important;
    padding-right: 20px !important;
}

.delete-icon:hover {
    fill: blue;
}

.image-container {
    background-size: cover;
    margin-bottom: 55px !important;
}

.image-text-top {
    padding-top: 3em;
}

.image-text-buttons {
    padding-bottom: 3em;
}

.select2-search__field {
    min-height: 24px;
}

.find-icon {
    position: absolute;
    top: 2px;
    right: 16px;
}

.callform {
    height: auto;
    width: auto;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    user-select: none;
}

.popup {
    position: relative;

    width: 15px;
    height: 15px;
    display: block;
}

.popup__icon {
    width: 15px;
    height: 15px;
    transform: translateY(-80%);
}

.popup__img {
    position: absolute;
    top: 100%;
    left: 100%;
    z-index: 1030;

    height: 60vh;

    transform: translateY(calc(-100% - 16px)) translateX(-50%);
}

.popup__imgMob {
    display: none;
}
/* // СТАРЫЕ СТИЛИ МОБИЛЬНОЙ ВЕРСИИ */
@media (max-width: 576px) {
    .image-container {
        background-position: center;
    }

    .image-text-top {
        padding-top: 0;
    }

    .image-text-buttons {
        padding-bottom: 0;
    }

    .text-sm {
        color: #d8dee9 !important; /* Use your desired white color code */
        text-shadow: 1px 1px 1px #0e0e0e, -1px -1px 1px #0e0e0e;
        font-size: 80%;
    }

    .small-text-size {
        font-size: 14px; /* Adjust the desired font size for 'sm' screens */
    }

    .small-text-size-2 {
        font-size: 12px; /* Adjust the desired font size for 'sm' screens */
    }

    .translated {
        transform: translateY(-15px);
    }

    .range-container {
        padding-left: 0;
        padding-right: 1px;
    }

    .days-body {
        position: relative;
        top: -2em;
        left: 1em;
        text-align: center;
    }

    .popup__imgMob {
        display: block;
        position: absolute;
        top: 60%;
        right: -17px;
        z-index: 1030;
        height: 70vh;
        transform: translateY(calc(-100% - 16px));
    }

    /* .popup__img {
    transform: translateY(calc(-100% - 16px)) translateX(-80%);
    }
    .col-sm-10 {
        width: 83%!important;
    } */
}

/* НОВЫЕ СТИЛИ МОБИЛЬНОЙ ВЕРСИИ / Экран 480 */
/* Исключения */
@media (min-width: 1300px) {
    .image-text-body-mobile {
        display: none;
    }
    .ins-term--desktop {
        display: inline !important;
    }
    .ins-term--mobile {
        display: none !important;
    }
    /* .ins-term__select {
        display: none !important;
    } */
    .kind-of-sport-input {
        width: 680px !important;
    }
}
/* @media (max-width: 1300px) {
    .content-container {
        width: 480px;
        padding-top: 0;
        padding-right: 20px;
        padding-bottom: 0;
        padding-left: 20px;
        border-left: 1px solid red;
        border-right: 1px solid red;
    }
    .image-container {
        width: 480px;
        height: 390px;
        margin-right: -20px;
        margin-left: -20px;
        background-size: 230%;
        background-position: 53% -62px;
        background-clip: border-box;
    }
    .image-text-wrapper {
        width: 100%;
        margin: 0;
        padding: 25px 20px 5px;
    }
    .image-text-top {
        padding: 0;
        margin-bottom: 10px!important;
        color: white;
    }
    .image-text-top * {
        margin: 0;
        font-size: 48px!important;
        font-weight: bold;
    }
    .image-text-body {
        display: none;
    }
    .image-text-body-mobile {
        margin-bottom: 60px!important;
    }
    .image-text-body-mobile * {
        margin: 0;
        color: white;
    }
    .image-text-buttons {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0!important;
        padding: 0!important;
    }
    .image-text-buttons div {
        width: auto;
        margin: 0!important;
        margin-bottom: 20px!important;
        padding: 0!important;
    }
    .image-text-buttons button {
        width: 320px;
        height: 60px;
        margin: 0!important;
        font-size: 28px!important;
    }
    .calc-wrapper-first, .calc-wrapper-third, .calc-wrapper-fourth {
        margin: 0!important;
        padding: 0!important;
        width: 440px;
        background: white!important;
    }
    .calc__settings {
        width: 100%!important;
        padding-right: 0!important;
    }








    .popup {
        display: none!important;
    }
} */

/* НОВЫЕ СТИЛИ МОБИЛЬНОЙ ВЕРСИИ / Экран 360 */
/* Исключения */
@media (min-width: 1300px) {
    .ins-term__select {
        display: none !important;
    }
    .select2-container {
        width: 700px !important;
    }
    .ins-amount__select-wrapper {
        display: none !important;
    }
    .calc__pricing--mobile {
        display: none !important;
    }
    .social-title {
        margin-left: -15px;
        margin-right: -15px;
        margin-bottom: 15px;

        font-size: 20px;
        line-height: 24px;
    }
    .callform {
        padding: 40px 15px !important;
    }
    .callform__subtitle {
        max-width: 650px !important;
    }
}
@media (max-width: 1300px) {
    /* @media (max-width: 480px) { */
    .mobile-hidden {
        display: none !important;
    }
    .container {
        overflow: visible !important;
    }
    .content-container {
        width: 360px;
        margin-top: 0;
        padding: 0 15px;
    }
    .image-container {
        transform: translateX(4px);
        width: 360px;
        height: 290px;
        margin-right: -20px;
        margin-left: -20px;
        background-size: 230%;
        background-position: 55% -50px;
        background-clip: border-box;
    }
    .image-text-wrapper {
        width: 100%;
        margin: 0;
        padding: 20px 15px 0;
    }
    .image-text-top {
        padding: 0;
        margin-bottom: 7px !important;
        color: white;
    }
    .image-text-top .col {
        margin: 0 !important;
        padding: 0 !important;
        padding-left: 20px !important;
    }
    .image-text-top * {
        margin: 0;
        color: white !important;
        font-size: 32px !important;
        font-weight: bold;
    }
    .image-text-body {
        display: none;
    }
    .image-text-body-mobile {
        margin-bottom: 40px !important;
    }
    .image-text-body-mobile .col {
        margin: 0 !important;
        padding: 0 !important;
        padding-left: 20px !important;
    }
    .image-text-body-mobile * {
        margin: 0;
        color: white !important;
        font-size: 15px !important;
    }
    .image-text-buttons {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0 !important;
        padding: 0 !important;
    }
    .image-text-buttons div {
        width: auto;
        margin: 0 !important;
        margin-bottom: 10px !important;
        padding: 0 !important;
    }
    .image-text-buttons button {
        width: 290px;
        height: 47px;
        margin: 0 !important;
        font-size: 20px !important;
    }
    .calc-wrapper-first,
    .calc-wrapper-third,
    .calc-wrapper-fourth {
        margin: 0 !important;
        padding: 0 !important;
        width: 320px;
        background: white !important;
    }
    .calc__settings {
        width: 100% !important;
        padding-right: 0 !important;
    }
    .kind-of-sport-input {
        width: 305px !important;
    }
    .ins-term--desktop {
        display: none !important;
    }
    .ins-term--mobile {
        display: flex !important;
        flex-direction: column !important;
    }
    .ins-term--mobile button {
        margin: 0 !important;
    }
    .ins-term__select {
        width: 320px !important;
        height: 43px;
        padding: 0 10px;

        font-weight: 700 !important;
        color: #00509f !important;

        border: 1px solid #ccced1;
        border-radius: 0%;
        transition: box-shadow 300ms ease-in-out;
    }
    .ins-term__select:focus {
        /* box-shadow: 0px 0px 0px 7px rgba(#00509f, 0.3) !important; */
        /* border: none !important; */
        outline: none !important;
    }
    .ins-term__select option {
        font-weight: 700 !important;
        color: #00509f !important;
    }
    .select2-container {
        width: 320px !important;
    }
    .ins-amount__select-label {
        margin-left: -15px !important;
    }
    .ins-amount__select {
        width: 320px !important;
        height: 43px;
        margin-left: -15px;
        padding: 0 10px;

        font-weight: 700 !important;
        color: #00509f !important;

        border: 1px solid #ccced1;
        border-radius: 0%;
        transition: box-shadow 300ms ease-in-out;
    }
    .ins-amount__select option {
        font-weight: 700 !important;
        color: #00509f !important;
    }
    .ins-amount__range,
    .ins-amount__labels {
        display: none !important;
    }

    .calc__pricing--mobile {
        width: 360px !important;
    }
    .calc__pricing--desktop {
        display: none !important;
    }

    .calc-bottom {
        padding: 0 !important;
    }
    .advants {
        display: flex !important;
        justify-content: baseline !important;
    }
    .advants__advant {
        width: 48% !important;
        height: 120px !important;
        padding: 20px 5px 0 !important;

        flex: none !important;
    }
    .advants__img-wrapper {
        margin: 0 !important;
    }
    .advants__img-wrapper img {
        margin: 0 !important;
    }
    .advants__text {
        font-size: 13px !important;
        font-weight: 400 !important;
    }
    .how-to__item {
        height: 220px !important;
        padding: 20px 10px 20px !important;
        flex: none !important;
    }
    .how-to__img-wrapper {
        margin: 0 !important;
    }
    .how-to__img-wrapper img {
        width: 200px !important;
        /* height: 100px !important; */
        margin: 0 !important;
    }
    .how-to__text {
        padding: 0 !important;

        font-size: 16px !important;
        font-weight: 400 !important;
        text-align: center !important;
    }

    .text-tables {
        font-size: 14px !important;
    }
    .risks-tabs {
        display: flex;
        justify-content: space-between !important;
        padding: 0 !important;
    }
    .risks-tabs__link {
        margin-right: 0 !important;
        padding: 10px 15px !important;
    }
    .spectre-tabs {
        /* display: flex;
        justify-content: space-between !important; */
        padding: 0 !important;
    }
    .spectre-tabs__tab {
        width: 50% !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .spectre-tabs__link {
        margin-right: 0 !important;
        padding: 10px 0px !important;
        text-align: center;
    }
    .spectre-tabs__link:not(.active) {
        border-bottom: 4px solid #fff;
    }

    .callform {
        /* background-position: 90% 50%; */
        height: 520px !important;
        padding: 20px 15px 0 !important;
    }
    .callform__title,
    .callform__subtitle {
        font-size: 16px !important;
        margin-bottom: 15px !important;
    }
    .callform__input-wrapper {
        margin-bottom: 15px !important;
    }
    .callform__input {
        min-height: auto !important;
        height: 50px !important;
    }
    .callform__btn-wrapper {
        margin-top: -5px !important;
        margin-bottom: 10px !important;
    }
    .callform__disclaimer * {
        color: #fff !important;
        text-align: center;
    }

    .stepper__step-title--translated {
        transform: translateX(-20px);
    }
    .indicator-main {
        padding: 20px !important;
    }
    .big-input-wrapper {
        font-size: 16px !important;
        flex-wrap: nowrap;
    }
    .big-input-wrapper label {
        padding: 0 !important;
    }

    .social-title {
        margin-left: -15px;
        margin-right: -15px;
        margin-bottom: 15px;

        font-size: 16px;
        line-height: 20px;
    }

    .popup {
        display: none !important;
    }

    .popup_credAthletes {
        display: block !important;
        top: -15px;
        right: 23px;
    }

    .popup__img {
        display: none;
    }
}
