﻿.close:before, .test-drive-steps .step.active.finished span {
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block
}

#dealer-request-mini[data-modal=ringostat-request-mini] .modal-header-img, .modal, .test-drive-steps [data-step] {
    display: none
}

.modal {
    position: fixed;
    z-index: 100;
    padding-top: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, .4)
}

.inline-content, .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 35px 120px;
    width: 100%;
    height: 100%;
    overflow-y: auto
}

.modal-header {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    align-content: center
}

.close:before {
    content: '';
    margin-right: 10px;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='12' viewBox='0 0 14 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.75596 0.41107C7.0814 0.736507 7.0814 1.26414 6.75596 1.58958L3.17855 5.16699H12.8334C13.2936 5.16699 13.6667 5.54009 13.6667 6.00033C13.6667 6.46056 13.2936 6.83366 12.8334 6.83366H3.17855L6.75596 10.4111C7.0814 10.7365 7.0814 11.2641 6.75596 11.5896C6.43053 11.915 5.90289 11.915 5.57745 11.5896L0.577452 6.58958C0.421171 6.4333 0.333374 6.22134 0.333374 6.00033C0.333374 5.77931 0.421171 5.56735 0.577452 5.41107L5.57745 0.41107C5.90289 0.085633 6.43053 0.085633 6.75596 0.41107Z' fill='%23171717'/%3E%3C/svg%3E%0A");
    width: 14px;
    height: 12px;
    transition: .2s
}

.close:focus, .close:hover {
    cursor: pointer
}

.close:focus:before, .close:hover:before {
    margin-right: 10px;
    transition: .2s;
    transform: translateX(-5px)
}

[data-modal=ringostat-request-mini] .modal-content {
    max-width: 400px;
    width: 100%;
    padding: 30px;
    border-radius: 10px;
    height: auto;
    margin: 20px auto
}

[data-modal=ringostat-request-mini] .modal-header {
    position: relative
}

[data-modal=ringostat-request-mini] .modal-body, [data-modal=ringostat-request-mini] .test-drive-step {
    margin-top: 10px
}

[data-modal=ringostat-request-mini] .modal-body .text-center {
    text-align: center
}

[data-modal=ringostat-request-mini] .modal-body h2 {
    font-size: 26px
}

[data-modal=ringostat-request-mini] .send-btn p {
    font-size: 14px
}

[data-modal=ringostat-request-mini] .modal-body-thanks, [data-modal=ringostat-request-mini] .modal-content .send-btn, [data-modal=ringostat-request-mini] .test-drive-steps {
    margin: 0
}

[data-modal=ringostat-request-mini] .modal-body-thanks p {
    margin-bottom: 0
}

[data-modal=ringostat-request-mini] .close {
    top: -5px;
    right: -10px;
    position: absolute;
    font-size: 30px;
    line-height: 0;
    z-index: 1
}

#dealer-request-mini .close:before, [data-modal=ringostat-request-mini] .close:before {
    content: none
}

#dealer-request-mini .close {
    position: absolute;
    top: 20px;
    font-size: 30px;
    line-height: 0;
    z-index: 1;
    right: 10px
}

#dealer-request-mini .modal-header-img {
    height: calc(100px + 60px);
    width: calc(100% + 60px);
    position: relative;
    top: 0;
    margin: -30px;
    border-radius: 10px 10px 0 0;
    background-image: url("../storage/cascade-blocks/November2022/NNuoYMORk33zLuvourRY.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center
}

#dealer-request-mini .modal-header-img.modal-header-noimg {
    height: 0;
    width: auto;
    background: 0 0
}

#dealer-request-mini .dealer-data, .inline-content .personal-data, .inline-content .send-btn button, .modal-content .personal-data, .modal-content .send-btn button {
    width: 100%
}

#dealer-request-mini .test-drive-btns, #dealer-request-mini .test-drive-steps [data-step].active, .inline-content .ts-dropdown, .modal-content .ts-dropdown {
    margin-top: 0
}

.modal-body {
    margin-top: 50px
}

.modal-body h2 {
    text-align: center;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: #171717
}

[data-modal=dealer-request] form, [data-modal=draw-form] form, [data-modal=service-request] form {
    width: 480px
}

.inline-content .dealer-data, .modal-content .dealer-data {
    margin-bottom: 60px
}

.inline-content .dealer-data.mb-1, .modal-content .dealer-data.mb-1 {
    margin-bottom: 15px
}

.test-drive-steps {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    margin: 50px 0
}

.test-drive-steps .progress-wrap {
    max-width: 100%;
    width: 530px;
    margin-bottom: 70px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between
}

.test-drive-steps .progress, .test-drive-steps .progress-wrap::before {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
    transition: .3s ease-in-out;
    position: absolute
}

.test-drive-steps .progress-wrap::before {
    content: "";
    width: 100%;
    height: 3px;
    background-color: #c7c7c7
}

.test-drive-steps .progress {
    width: 0;
    height: 4px;
    background-color: #265C7A
}

.test-drive-steps .step {
    width: 40px;
    height: 40px;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c7c7c7;
    background-color: #fff;
    border: 2px solid #c7c7c7;
    border-radius: 50%;
    transition: .3s ease-in-out
}

.test-drive-steps .step p {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: #c7c7c7;
    position: absolute;
    bottom: -30px;
    width: 130px;
    text-align: center
}

.test-drive-steps .step.active {
    border-color: #265C7A;
    background-color: #265C7A;
    color: #fff
}

.test-drive-steps .step.active.finished span {
    text-indent: -9999px;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='12' viewBox='0 0 16 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.2203 0.377493C15.5643 0.683258 15.5953 1.20999 15.2895 1.55397L6.40063 11.554C6.24249 11.7319 6.01582 11.8337 5.77779 11.8337C5.53975 11.8337 5.31309 11.7319 5.15495 11.554L0.710501 6.55397C0.404736 6.20999 0.43572 5.68326 0.779706 5.37749C1.12369 5.07173 1.65042 5.10271 1.95618 5.4467L5.77779 9.746L14.0438 0.446698C14.3496 0.102712 14.8763 0.0717283 15.2203 0.377493Z' fill='white'/%3E%3C/svg%3E%0A");
    width: 22px;
    height: 17px
}

.test-drive-steps .step.active p {
    color: #737373
}

.test-drive-steps .btn {
    margin: 10px 0;
    padding: 13px 70px;
    color: #fff;
    background: #265C7A;
    border-radius: 4px;
    border: 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    cursor: pointer;
    transition: .2s;
    outline: 0
}

.test-drive-steps .btn:hover {
    background: #1c4359
}

.test-drive-steps .btn:active {
    background: #22526e
}

.test-drive-steps .btn:disabled {
    color: #fff;
    background-color: #d1d1d1;
    cursor: not-allowed;
    display: none
}

.test-drive-steps [data-step].active {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    margin-top: 100px
}

.test-drive-btns, .test-drive-step {
    flex-wrap: wrap;
    display: flex;
    width: 100%
}

.test-drive-btns {
    justify-content: center;
    margin-top: 50px
}

.test-drive-step {
    justify-content: center;
    margin-top: 30px
}

.inline-content h5, .modal-content h5 {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    color: #171717;
    text-align: center;
    width: 100%
}

.inline-content .products, .modal-content .products {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 50px
}

.inline-content .products .product, .modal-content .products .product {
    max-width: 280px;
    display: none
}

.inline-content .products .product.active, .modal-content .products .product.active {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center
}

.inline-content .product_title, .modal-content .product_title {
    text-align: center;
    margin-top: 30px
}

.inline-content .products-btns, .modal-content .products-btns {
    display: flex;
    width: 100%;
    max-width: 50%;
    flex-wrap: wrap;
    justify-content: center
}

.inline-content .products-btns a, .modal-content .products-btns a {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #9f9f9f;
    padding: 10px 30px;
    border: 1px solid #9f9f9f;
    transition: .2s;
    border-radius: 42px;
    margin: 5px;
    text-decoration: none
}

.inline-content .products-btns a.active, .inline-content .products-btns a:hover, .modal-content .products-btns a.active, .modal-content .products-btns a:hover {
    color: #265C7A;
    border-color: #265C7A;
    transition: .2s
}

.inline-content .ts-wrapper.single.required.invalid input::placeholder, .modal-content .ts-wrapper.single.required.invalid input::placeholder {
    color: transparent;
    width: 0
}

.inline-content select[name=dealer][data-lang=ru] ~ .ts-wrapper.single .ts-control:after, .modal-content select[name=dealer][data-lang=ru] ~ .ts-wrapper.single .ts-control:after {
    content: 'Дилерский центр *';
    font-weight: 500;
    position: absolute;
    color: #9f9f9f;
    transition: .2s
}

.inline-content select[name=dealer][data-lang=kz] ~ .ts-wrapper.single .ts-control:after, .modal-content select[name=dealer][data-lang=kz] ~ .ts-wrapper.single .ts-control:after {
    content: 'Дилерлік орталық *';
    font-weight: 500;
    position: absolute;
    color: #9f9f9f;
    transition: .2s
}

.inline-content select[name=request_type][data-lang=ru] ~ .ts-wrapper.single .ts-control:after, .modal-content select[name=request_type][data-lang=ru] ~ .ts-wrapper.single .ts-control:after {
    content: 'Тип заявки *';
    font-weight: 500;
    position: absolute;
    color: #9f9f9f;
    transition: .2s
}

.inline-content select[name=request_type][data-lang=kz] ~ .ts-wrapper.single .ts-control:after, .modal-content select[name=request_type][data-lang=kz] ~ .ts-wrapper.single .ts-control:after {
    content: 'Өтінім түрі *';
    font-weight: 500;
    position: absolute;
    color: #9f9f9f;
    transition: .2s
}

.inline-content select[name=payment][data-lang=ru] ~ .ts-wrapper.single .ts-control:after, .modal-content select[name=payment][data-lang=ru] ~ .ts-wrapper.single .ts-control:after {
    content: 'Способ приобретения *';
    font-weight: 500;
    position: absolute;
    color: #9f9f9f;
    transition: .2s
}

.inline-content select[name=payment][data-lang=kz] ~ .ts-wrapper.single .ts-control:after, .modal-content select[name=payment][data-lang=kz] ~ .ts-wrapper.single .ts-control:after {
    content: 'Сатып алу әдісі *';
    font-weight: 500;
    position: absolute;
    color: #9f9f9f;
    transition: .2s
}

.inline-content select[name=city][data-lang=ru] ~ .ts-wrapper.single .ts-control:after, .modal-content select[name=city][data-lang=ru] ~ .ts-wrapper.single .ts-control:after {
    content: 'Город *';
    font-weight: 500;
    position: absolute;
    color: #9f9f9f;
    transition: .2s
}

.inline-content select[name=city][data-lang=kz] ~ .ts-wrapper.single .ts-control:after, .modal-content select[name=city][data-lang=kz] ~ .ts-wrapper.single .ts-control:after {
    content: 'Қала *';
    font-weight: 500;
    position: absolute;
    color: #9f9f9f;
    transition: .2s
}

.inline-content select[name=modelNo] ~ .ts-wrapper.single .ts-control:after, .inline-content select[name=model] ~ .ts-wrapper.single .ts-control:after, .modal-content select[name=modelNo] ~ .ts-wrapper.single .ts-control:after, .modal-content select[name=model] ~ .ts-wrapper.single .ts-control:after {
    content: 'Модель *';
    font-weight: 500;
    position: absolute;
    color: #9f9f9f;
    transition: .2s
}

.inline-content .ts-wrapper.single.required:not(.invalid) .ts-control:after, .modal-content .ts-wrapper.single.required:not(.invalid) .ts-control:after {
    font-size: 12px;
    transition: .2s;
    transform: translateY(-20px)
}

.inline-content .ts-wrapper.single.required:not(.invalid) .ts-control, .modal-content .ts-wrapper.single.required:not(.invalid) .ts-control {
    padding-top: 25px
}

.inline-content .ts-control, .modal-content .ts-control, .modal-content .ts-wrapper.single.input-active .ts-control {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right .75rem center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding: 20px 15px 15px;
    min-width: 485px;
    height: 60px;
    font-weight: 500;
    font-size: 16px;
    color: #171717
}

.inline-content .ts-control, .inline-content .ts-control input, .inline-content .ts-control > input, .inline-content .ts-dropdown, .modal-content .ts-control, .modal-content .ts-control input, .modal-content .ts-control > input, .modal-content .ts-dropdown {
    font-weight: 500;
    font-size: 16px;
    color: #171717
}

.inline-content .ts-dropdown .create, .inline-content .ts-dropdown .no-results, .inline-content .ts-dropdown .optgroup-header, .inline-content .ts-dropdown .option, .modal-content .ts-dropdown .create, .modal-content .ts-dropdown .no-results, .modal-content .ts-dropdown .optgroup-header, .modal-content .ts-dropdown .option {
    padding: 8px
}

.test-drive-steps [data-step="3"].active {
    width: 450px;
    margin: 100px auto 0
}

.inline-content .input-double-data, .modal-content .input-double-data {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between
}

.inline-content .personal-data .input-double-data .input-data, .modal-content .personal-data .input-double-data .input-data {
    width: calc(50% - 10px);
    margin-bottom: 0
}

.inline-content .personal-data .input-data, .modal-content .personal-data .input-data {
    position: relative;
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%
}

.inline-content .personal-data .input-data p, .modal-content .personal-data .input-data p {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #737373;
    margin-top: 5px
}

.inline-content .personal-data input::placeholder, .modal-content .personal-data input::placeholder {
    text-indent: -9999px
}

.inline-content .personal-data input:focus ~ .label, .inline-content .personal-data input:not(:focus):not(:placeholder-shown) ~ .label, .modal-content .personal-data input:focus ~ .label, .modal-content .personal-data input:not(:focus):not(:placeholder-shown) ~ .label {
    top: 7px;
    bottom: 9px;
    left: 15px;
    font-size: 12px;
    opacity: 1
}

.inline-content .personal-data input, .modal-content .personal-data input {
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    color: #171717;
    background: #fff;
    border: 1px solid #c7c7c7;
    border-radius: 4px;
    padding: 24px 15px 15px
}

.inline-content input[name=regNumber], .inline-content input[name=vin], .modal-content input[name=regNumber], .modal-content input[name=vin] {
    text-transform: uppercase
}

.inline-content .personal-data .label, .modal-content .personal-data .label {
    position: absolute;
    pointer-events: none;
    left: 20px;
    top: 18px;
    transition: .2s;
    color: #737373
}

.inline-content .send-btn, .modal-content .send-btn {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 35px
}

.inline-content .send-btn p, .modal-content .send-btn p {
    width: 100%;
    font-weight: 300;
    margin: 10px 0
}

.modal-body-thanks {
    display: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    margin: 100px 0 0
}

.modal-body-thanks h3 {
    width: 100%;
    text-align: center;
    margin: 40px 0
}

.modal-body-thanks p {
    margin-bottom: 40px;
    width: 100%;
    text-align: center
}

.modal-body-thanks a {
    margin-top: 40px
}

@media screen and (max-width: 1050px) {
    .inline-content .products-btns, .modal-content .products-btns {
        max-width: 100%
    }
}

@media screen and (max-width: 760px) {
    .test-drive-steps .progress-wrap {
        width: 85%
    }

    .modal-content {
        padding: 35px
    }

    .modal-body h2 {
        font-size: 26px
    }

    .modal-content .personal-data .input-data {
        margin: 10px 0
    }
}

@media screen and (max-width: 576px) {
    .modal-content {
        padding: 20px
    }

    .test-drive-steps .progress-wrap {
        width: 80%
    }

    .modal-content .ts-control, .modal-content .ts-wrapper.single.input-active .ts-control {
        min-width: 80%;
        font-size: 13px
    }

    .ajax-form, .modal-content .ts-wrapper, .test-drive-steps [data-step="3"].active {
        width: 100%
    }
}
