/* файл был случайно найден в папке билд, пернесен в src, подключался на всех страницах */
.radio-btn:disabled + label {
    pointer-events: none;
}

.radio-btn:disabled + label .tit {
    background: #f8f8f8;
    opacity: 0.45;
}

.tabs__content {
    display: block;
}

.radio-btn + label .tit.tariffs-tit {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.radio-btn + label .tit.tariffs-tit span {
    margin: 7px 0 0 0;
}

.calculator .autocomplete-wrapper {
    position: relative;
}

.calculator .autocomplete-wrapper .close-btn {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    position: absolute;
    bottom: 28px;
    right: 20px;
    font-size: 26px;
    line-height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    background: #eaeaea;
}

.calculator .autocomplete-wrapper .close-btn:hover {
    background: #ffa45b;
}

.calculator .autocomplete-wrapper ul.autocomplete-list {
    position: absolute;
    z-index: 6;
    background: #fff;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(calc(100% - 8px));
    box-shadow: 0px 4px 30px 10px rgba(165, 181, 193, 0.2);
    padding: 0.5em 0;
}

.calculator .autocomplete-wrapper ul.autocomplete-list li {
    padding: 0 1em;
    transition: 0.3s ease;
    background: #fff;
    cursor: pointer;
}

.calculator .autocomplete-wrapper ul.autocomplete-list li:hover,
.calculator .autocomplete-wrapper ul.autocomplete-list li:active {
    background: #e3e3e3;
}

.react-select [class*="-control"]:hover,
.react-select [class*="-control"]:active,
input:not([type="radio"]):focus {
    border-color: #7a7a7a75 !important;
}

.insurance-item input {
    max-width: 220px;
    padding: 0 30px !important;
    font-weight: 600 !important;
}

.insurance-item input::-moz-placeholder {
    font-weight: 400 !important;
}

.insurance-item input:-ms-input-placeholder {
    font-weight: 400 !important;
}

.insurance-item input::placeholder {
    font-weight: 400 !important;
}

mark {
    background: transparent;
    font-weight: 500;
}
.invalid {
    border: 1px solid red;
}
span.required-field {
    margin-right: 0.1em;
    font-size: 2em !important;
    line-height: 0.5em !important;
    display: inline-flex;
    align-items: center;
}

button[type="submit"]:disabled {
    background-color: #e3e3e3 !important;
    color: #fff !important;
    cursor: not-allowed;
}

.tablist-wrapper {
    position: relative;
}

.tablist-wrapper .title {
    font-size: 14px;
    line-height: 18px;
    color: #000;
    font-weight: 700;
    display: none;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    border-radius: 4px;
    text-transform: uppercase;
    background-color: #69d9e2;
}

.tablist-wrapper .title svg.rotated {
    transform: scaleY(-1);
}

#sticky-price {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 10;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.16);
    cursor: pointer;
}

#sticky-price > * {
    display: flex;
    justify-content: center;
    align-items: center;
}

#sticky-price .info {
    font-size: 14px;
    line-height: 18px;
    background-color: #69d9e2;
    width: 60%;
}

#sticky-price .price {
    font-size: 18px;
    line-height: 18px;
    width: 40%;
    background: #fff;
}

#sticky-price .price > span {
    margin: 7px 0 0 5px;
    font-size: inherit !important;
}

#sticky-price h3 {
    font-weight: 900;
    margin: 0;
}

/* прозрачный оверлей для калькулятора когда открыты табы, чтобы можно было закрыть по клику в люблом месте */
.tabs__caption-overlay{
    display: none;
}

/* инфо вкладка (например, "Россия и Казахстан") */
.infoCalculator{
    padding-top: 60px;
}

.infoCalculator__wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 65px;
    margin-bottom: 72px;
}

.infoCalculator__info-primary {
    max-width: 70%;
}

.infoCalculator__title {
    font-weight: 900;
    font-size: 36px;
    line-height: 1.2;
    color: #000000;

    margin-bottom: 24px;
}

.infoCalculator__advantages{
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.infoCalculator__advantage{
    position: relative;
    padding: 8px 24px;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.5;
    color: #000;
    background-color: white;
    border-radius: 16px;
}

.infoCalculator__advantage::before{
    content: '';
    position: absolute;
    z-index: -1;
    background: linear-gradient(45deg, #FFA45B, #67D6DE);
    transform: scaleX(1.02) scaleY(1.10);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 23px;
}


@media screen and (max-width: 1170px) {
    .tabs__caption li {
        padding: 0;
    }

    .tabs__caption li a {
        padding: 0 5px;
    }
}

@media screen and (max-width: 900px) {
    .calculator .checkout .form input {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .infoCalculator .checkout .form {
        flex-direction: column;
    }

    .infoCalculator .checkout .form input {
        width: 100% !important;
    }
}

@media screen and (max-width: 767px) {
    .section-calc {
        margin: 20px 0 0 0;
    }

    .calculator .checkout {
        padding: 40px 0;
    }

    .section-calc .tabs__content {
        padding: 30px 0;
    }

    .calculator .text .title {
        margin-bottom: 30px;
    }

    .tablist-wrapper ul {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        transform: translateY(calc(100% + 10px));
        z-index: 9 !important;
    }

    .tablist-wrapper .title {
        display: flex;
    }

    .calculator .text .row .col {
        width: 100%;
    }

    #calculator .tablist-wrapper .tabs__caption {
        display: flex;
        flex-direction: column;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.16);
    }

    .tabs__caption li {
        display: flex !important;
    }

    .calculator .text .item:last-of-type {
        margin-bottom: 10px;
    }
    .calculator .text__container .localityContainer :first-child {
        margin-right: 0;
    }
    #sticky-price {
        display: flex;
    }
    .calculator .radio-wrap .radio {
        width: 100%;
        margin-right: 0;
    }
    footer .copyright {
        margin-bottom: 30px;
    }

    #calculator .tablist-wrapper .tabs__caption.hidden-sm {
        display: none;
    }

    /* прозрачный оверлей чтобы закрывать табы по клику в любом месте */
    .tabs__caption-overlay{
        display: none;
    }

    .tabs__caption-overlay_visible{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 8;

        background-color: rgba(0,0,0, .4);
        opacity: 0;
    }

    .infoCalculator{
        padding-top: 10px;
    }
}

@media screen and (max-width: 575px) {
    .container {
        padding: 0;
    }
    footer .top {
        padding-right: 20px;
        padding-left: 20px;
    }
    .tablist-wrapper {
    }
    .calculator .text__container .text {
        padding: 0 20px;
    }
    .calculator .newCheckout__container {
        padding: 0 20px;
    }

    .calculator .autocomplete-wrapper ul.autocomplete-list {
        max-height: 150px;
        overflow: auto;
    }
    .calculator .text__container {
        box-shadow: none;
    }
    .calculator .text__container .text .additional__container {
        flex-direction: column;
    }
    .calculator .text__container .text .additional__container .btnTariff {
        justify-content: center;
    }
    .calculator .autocomplete-wrapper ul.autocomplete-list li {
        font-size: 0.8em;
    }

    .calculator .text .line input {
        width: 100%;
        max-width: none;
        /* flex-grow: 1; */
        margin-right: 0;
        text-align: center;
        /*padding: 0 25px;*/
        padding: 20px 5px;
    }
    .calculator .text__container .text .additional__box {
        flex-direction: column;
    }

    .calculator .text .title {
        display: none;
        padding: 38px 0 0 0;
    }

    .calculator .text .title::before {
        top: 8px;
        left: 0;
    }

    .calculator .text .title::after {
        top: 8px;
        left: 30px;
    }

    .calculator .text .item {
        /* margin-bottom: 40px; */
        margin-bottom: 0px;
    }

    .calculator .text .row .col:not(:last-of-type) {
        margin-bottom: 5px;
    }

    .calculator .text .row .col:last-of-type {
        margin-bottom: 0;
    }

    .calculator .checkout {
        width: 100vw;
        /*margin: 0 -20px;*/
    }

    .calculator .text input {
        /*padding: 0 35px 0 45px;*/
        padding: 29px 25px 29px 55px;
    }

    .calculator .text input.from,
    .calculator .text input.to {
        background-position: 18px;
    }

    .calculator .autocomplete-wrapper .close-btn {
        right: 12px;
    }

    .calculator .autocomplete-wrapper .close-btn::before {
        position: absolute;
        content: "";
        top: 0;
        bottom: 0;
        left: 0;
        transform: translateX(-100%);
        width: 30px;
        background: linear-gradient(to right, rgba(255,255,255,0.001) 0, #f8f8f8 90%);
    }

    .calculator .checkout {
        border-radius: 0;
    }
    .section-calc .tabs__content {
        padding: 0;
    }

    .infoCalculator__title{
        padding-top: 20px;
        font-size: 28px;
    }

    .infoCalculator__info-primary{
        max-width: 100%;
    }

    .infoCalculator .desktop{
        /* align-self: flex-end; */
        display: none;
    }
}

@media screen and (max-width: 360px) {
    .calculator .text .radio-wrap .radio {
        width: 100%;
        margin-right: 0;
    }
    .calculator .text input.from,
    .calculator .text input.to {
        background-position: 3px;
    }
    .calculator .text .line input {
        max-width: 100%;
        /* flex-grow: 1; */
        margin-right: 0;
        text-align: center;
        padding: 25px 25px;
    }

    .radio-btn + label .tit.tariffs-tit {
        flex-wrap: wrap;
    }

    .calculator .radio-wrap .newSize .radio-btn + label::before {
        padding: 9px;
        left: 24px;
        top: 22px;
    }

    .calculator .radio-wrap .newSize .radio-btn:checked + label::before {
        left: 24px;
        top: 22px;
    }
    .calculator .checkout {
        width: 100%;
    }
    .calculator .checkout .form {
        max-width: 100%;
        flex-direction: column;
    }

    .calculator .checkout .form input {
        width: 100%;
        margin-right: 0;
        padding: 28px;
    }

    .calculator .checkout .form button {
        padding: 20px 64px;
    }

    .calculator .checkout .footerDescription {
        width: 100%;
    }
    .calculator .text__container .text .additional__container {
        justify-content: flex-start;
    }

    .infoCalculator__title{
        font-size: 28px;
    }
}
