.text-center {
    text-align: center;
}

.checkout-section {
    margin: 0px 0;
}

.checkout-section .offers__text {
    font-size: 20px;
    text-align: center;
}

.checkout-section .page-title__text {
    max-width: 1000px;
    margin: 0 auto 25px;
    font-weight: bold !important;
    font-size: 34px;
    line-height: normal;
}

.checkout-section .offers__text {
    margin: 0 auto 16px;
    color: #333;
}
.checkout-section .offers__text.error {
    color: red;
}

.form-checkout {
    width: 100%;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;
}

.form-checkout__footer {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.tabs__content {
    max-width: 400px;
    width: 100%;
    margin: 0 6px 14px 0;
    border: 10px solid #197A5B;
    border-radius: 20px;
    padding: 30px 25px;
    box-sizing: border-box;
}


.tabs__content:last-child {
    margin: 0 0 14px;
}


.tabs__caption {
    width: 100%;
    list-style: none;
    display: none;
    align-items: stretch;
    justify-content: center;
    margin: 0;
    padding: 0;
    font-weight: 600;
    line-height: normal;
}

.tabs__caption li {
    border-radius: 10px 10px 0 0;
    padding: 5px 15px;
    flex: 1;
    text-align: center;
    background: #6e9985;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.tabs__caption li.active {
    background: #fff;
    color: #000;
}

.form-checkout .form-group {
    width: 100%;
}


.form-checkout .form-group h3 {
    font-weight: 600 !important;
    text-align: center;
    margin: 0 auto 17px;
    font-size: 24px;
}


.checkbox-my {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 5px 9px;
    position: relative;
    font-size: 20px;
    cursor: pointer;
    color: #333;
    font-weight: normal;
    z-index: 1;
    box-sizing: border-box;
    margin: 0;
}

.input-check {
    display: none;
}

.input-check:checked ~ .input-check__custom:before {
    opacity: 1;
}

.input-check:checked ~ .checkbox-my__icon:before {
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #D2D3D6;
    content: '';
}

.checkbox-my__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px 0 0;
    width: 33px;
    height: 33px;
    background: #197A5B
}

.input-check__custom {
    position: relative;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    min-width: 19px;
    border: 1px solid #197A5B;
}

.input-check__custom:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background: url('../img/modal-checkout/check.svg') no-repeat center;
    -webkit-background-size: 100%;
    background-size: 100%;
    opacity: 0;
    transition: .3s ease;
}

.btn-my {
    height: 38px;
    margin: 0 auto;
    font-weight: bold;
    font-size: 16px;
    max-width: 365px;
    width: 100%;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.btn-orange {
    background: #FFBD59;
    color: #000;
}
.modal_label
{
    font-size: 20px;
}

.modal-checkout {
    border: 10px solid #197A5B;
    max-width: 727px;
}

.modal-checkout .fancybox-button {
    padding: 0 !important;
    transform: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 20px !important;
    right: 20px !important;
    border: 1px solid #197A5B;

}

.modal-checkout .fancybox-button:before, .modal-checkout .fancybox-button:after {
    background: #197A5B;
    width: 12px;
    height: 1px;
    content: '';
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.modal-checkout .fancybox-button:before {
    transform: translate(-50%,-50%) rotate(45deg);
}

.modal-checkout .fancybox-button:after {
    transform: translate(-50%,-50%) rotate(135deg);
}

.modal-checkout .fancybox-button svg {
    display: none;
}

.popup {
    border-radius: 15px;
}

.popup__text {
    color: #333;
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.33333;
}

.popup__title {
    margin: 0 0 20px;
    font-weight: 500 !important;
}

.form-modal {
    width: 100%;
    margin: 0;
    color: #333;
}

.form-modal label {
    width: 100%;
    margin: 0 0 35px;
    display: block;
}

.form-modal input {
    height: 30px;
    border: none;
    border-bottom: 2px solid #D2D3D6;
    width: 100%;
    font-size: 16px;
    text-shadow: none;
    box-shadow: none;
    border-radius: 0;
}

.form-modal input:focus, .form-modal textarea:focus, .form-modal input:hover, .form-modal textarea:hover {
    outline: none;
    box-shadow: none;
}

.form-modal textarea {
    width: 100%;
    height: 130px;
    border-radius: 0;
    border: 2px solid #D2D3D6;
}

.input-title {
    display: block;
    margin: 0 0 10px;
    width: 100%;
    text-align: left;
    line-height: normal;
    font-weight: normal;
}

.form-modal .btn {
    width: fit-content;
    max-width: none;
    min-width: auto;
    padding: 0 50px;
}

.form-modal .consent-checkbox {
    display: flex;
    font-weight: normal;
}

.consent-checkbox {
    display: flex;
    align-items: center;
    font-size: 14px;
    text-align: left;
    line-height: normal;
}

.consent-checkbox input {
    display: none;
}

.checkbox-custom {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin: 0 16px 0 0;
    border: 1px solid #197A5B;
    position: relative;
}

.checkbox-custom:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: url('../img/modal-checkout/check.svg') no-repeat center;
    -webkit-background-size: 100%;
    background-size: 100%;
    opacity: 0;
    transition: .3s ease;
}

.checkbox-text {
    display: block;
}

.consent-checkbox input:checked ~ .checkbox-custom:before {
    opacity: 1;
}

#formCheckout label.error {
    color:red;
}


@media (max-width: 1023px) {
    .modal-checkout .fancybox-button {
        left: auto;
    }

    .checkout-section .container {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
}

@media (max-width: 900px) {
    .tabs__content {
        max-width: 300px;
        padding: 20px;
    }

    .checkbox-my {
        font-size: 16px;
    }

    .checkout-section .page-title__text {
        font-size: 30px;
        line-height: normal;
    }

    .checkout-section .offers__text {
        font-size: 16px;
    }
}

@media (max-width: 680px) {
    .checkout-section .container
    {
        background: #40785e;
    }
    .checkout-section h1.title
    {
        color: #fff;
        padding-top:25px;
    }
    .checkout-section .offers__text
    {
        color: #fff;
    }

    .tabs__caption {
        display: flex;
    }

    .form-checkout .form-group h3 {
        display: none;
    }

    .tabs__content {
        display: none;
        border: none;
        margin: 0;
        max-width: none;
        background: #fff;
        border-radius: 0;
        padding: 20px 10px;
    }

    .tabs__content.active {
        display: block;
    }

    .form-checkout .btn {
        margin: 30px auto 0;
    }

    .fixed-modal {
        font-size: 12px;
        max-width: 200px;
        padding: 15px;
    }

    .checkout-section .page-title__text {
        font-size: 24px;
    }
}

.modal_spaces
{
    padding: 80px 0 80px 0;
    text-align: center;
}

.popup_header
{
    font-weight: 600 !important;
    text-align: center;
    margin: 0 auto 17px;
    font-size: 24px;
}
#error_checkout_form {color: red;}