* {
    box-sizing: border-box;
    font-family: 'Unbounded', Arial, sans-serif;
}

body {
    margin: 0;
}

.jtb-children-static * {
    position: static !important;
}

.jtb-tour-price {
    color: #b50909;
    width: 315px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: lowercase;
}

.jtb-tour-detail-program-header-wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 85px 150px;
    width: inherit;
    height: inherit;

    .jtb-tour-detail-program-header {
        display: flex;
        justify-content: flex-start;
    }

    .jtb-tour-detail-program-header-days {
        display: flex;
        gap: 20px;

        .jtb-button {
            color: #b50909;
            text-align: center;
            z-index: 9;
            top: 197px;
            left: calc(50% - 600px + 720px);
            height: 30px;

            &.active .tn-atom {
                color: #ffffff !important;
                background-color: #b50909;
            }

            .tn-atom {
                color: #b50909;
                font-size: 14px;
                line-height: 1.55;
                font-weight: 400;
                border-width: 2px;
                border-radius: 5px 5px 5px 5px;
                background-position: center center;
                border-color: #b50909;
                border-style: solid;
                transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
                width: inherit;
                padding: 2px 5px;

                &:hover {
                    cursor: pointer;
                    color: #ffffff !important;
                    background-color: #b50909;
                }
            }
        }
    }
}

.jtb-tour-detail-content {
    padding: 0 10%;
    height: 700px;

    .days {
        height: 100%;
        .day {
            display: none;
            justify-content: space-between;
            height: 100%;

            &.active {
                display: flex;
            }

            .images, .content {
                width: 100%;
            }

            .images {
                position: relative;

                img {
                    width: 100%;
                    position: absolute;
                }

                .img-1 {
                    width: 62%;
                    height: 65%;
                    left: -5%;
                }
                .img-2 {
                    width: 42%;
                    height: 40%;
                    top: 100px;
                    left: 62%;
                }
                .img-3 {
                    width: 70%;
                    height: 30%;
                    top: 390px;
                    left: 23%;
                }
            }

            .content {
                display: flex;
                flex-direction: column;
                padding-left: 40px;

                .title {
                    color: #b50909;
                    font-size: 26px;
                    font-family: 'Unbounded', Arial, sans-serif;
                    line-height: 1.2;
                    font-weight: 700;
                    background-position: center center;
                    border-color: transparent;
                    border-style: solid;
                    padding-bottom: 15px;
                }

                .footer {
                    margin-top: auto;
                    padding-bottom: 20px;
                    /*padding-top: 40px;*/
                }
            }
        }
    }
}

.jtb-popup-application-embassy {
    width: 800px;
    max-width: 80%;
}

.jtb-application-embassy-form {
    min-height: 56vh;

    .jtb-application-embassy-form-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 20px;

        .field-wrap {
            display: flex;
            flex-direction: column;
            flex: 0 1 calc(50% - 20px);

            .label {
                text-align: left;
                font-weight: 500;
                margin-bottom: 0.2rem;
                color: #212529;
                font-size: 12px;
            }

            .field {
                padding: 0.375rem 0.75rem;
                line-height: 1.5;
                color: #495057;
                background-color: #fff;
                background-clip: padding-box;
                border: 1px solid #ced4da;
                border-radius: 0.375rem;
                box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
                transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

                &:focus {
                    border-color: #80bdff;
                    outline: 0;
                    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
                }
            }

            .field-error {
                color: red;
                font-size: 11px;
                margin-top: 4px;
                text-align: left;
            }
        }
    }
}

.tabs {
    display: flex;
    flex-direction: column;
}

.tab-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.tab-button {
    background-color: #f1f1f1;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    border: 0;
    border-top: 1px solid #ccc;
    width: 100%;
}

.tab-button:first-child {
    border-left: 1px solid #ccc;
}

.tab-button:last-child {
    border-right: 1px solid #ccc;
}

.tab-button:hover {
    background-color: #ddd;
}

.tab-button.active {
    background-color: #fff;
    border-bottom: none;
}

.tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
}

.tab-content.active {
    display: block;
}

.custom-buttons {
    display: flex;
    gap: 10px;
}

#print-btn, #pdf-btn, #word-btn, #close-btn {
    flex: 1;
    background-color: #3085d6;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

#close-btn {
    background-color: #d33;
}

#print-btn:hover, #pdf-btn:hover, #word-btn:hover {
    background-color: #145cbd;
}

#close-btn:hover {
    background-color: #b62d2d;
}

.jtb-js-write-us:hover {
    cursor: pointer;
}

.jtb-z-index-5000 {
    z-index: 5000;
}

.jtb-swal-html-container {
    padding: 40px 45px 43px;
    font-family: 'Unbounded', Arial, sans-serif !important;
    overflow: visible;
}

.jtb-swal-image {
    margin: 0 !important;
}

.jtb-modal-leave-ticket {
    .title {
        color: #b50909;
        text-align: left;
        font-size: 32px;
        font-weight: 600;
        margin-bottom: 11px;
    }

    .description {
        text-align: left;
        font-size: 14px;
        font-weight: 300;
        line-height: 1.55;
        margin-bottom: 24px;
    }

    .form {
        display: flex;
        gap: 15px;

        .field {
            flex: 1;

            input {
                width: 100%;
                height: 60px;
            }

            .name {
                color: #000000;
                background-color: #e6e6e6;
                border-radius: 4px;
                border: 0;
                padding: 0 20px;
                font-size: 16px;
                line-height: 1.33;
            }

            &.field-phone {
                color: #000;
                font-size: 16px !important;
            }

            .phone {
                color: #000000;
                background-color: #e6e6e6;
                border-radius: 4px;
                border: 0;
                padding: 0 20px;
                font-size: 16px;
            }

            .button {
                color: #ffffff;
                background-color: #b50909;
                border-radius: 4px;
                font-size: 16px;
                font-weight: 700;
                height: 58px;
                width: 100%;
                border: 0;

                &:hover {
                    cursor: pointer;
                }
            }
        }
    }
}

.jtb-options {
    display: flex;
    flex-direction: column;
    border: 1px solid #D1D7DC;

    .inputGroup {
        display: block;
        position: relative;
        border-bottom: 1px solid #D1D7DC;

        &:last-child {
            border-bottom: 1px solid #D1D7DC;
        }

        label {
            padding: 12px 10px 12px 35px;
            width: 100%;
            display: block;
            text-align: left;
            color: #3C454C;
            cursor: pointer;
            position: relative;
            z-index: 2;
            transition: color 200ms ease-in;
            overflow: hidden;
            line-height: 1;

            &:before {
                width: 100%;
                height: 10px;
                content: '';
                background-color: #b50909;
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%) scale3d(1, 1, 1);
                transition: all 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
                opacity: 0;
                z-index: -1;
            }

            &:after {
                width: 14px;
                height: 14px;
                content: '';
                border: 2px solid #D1D7DC;
                background-color: #fff;
                background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
                background-repeat: no-repeat;
                background-position: -4px -6px;
                border-radius: 50%;
                z-index: 2;
                position: absolute;
                left: 10px;
                top: 50%;
                transform: translateY(-50%);
                cursor: pointer;
                transition: all 200ms ease-in;
            }
        }

        input:checked ~ label {
            color: #fff;

            &:before {
                transform: translate(-50%, -50%) scale3d(56, 56, 1);
                opacity: 1;
            }

            &:after {
                background-color: #b50909;
                border-color: #b50909;
            }

            .jtb-price {
                color: #f6f6f6;
            }
        }

        input {
            width: 32px;
            height: 32px;
            order: 1;
            z-index: 2;
            position: absolute;
            right: 30px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            visibility: hidden;
        }
    }

    .jtb-price {
        color: #a4a0a0;
        font-size: 12px;
        transition: all 200ms ease-in;
    }
}

.jtb-buttons {
    display: flex;
    gap: 15px;
    color: #000;
    margin-top: 30px;
    font-size: 12px;
    line-height: 1.55;

    .jtb-cart-button-wrap {
        .jtb-button {
            font-weight: 400;
            border-width: 2px;
            border-radius: 5px;
            border-color: #b50909;
            border-style: solid;
            background-color: #b50909;
            transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
            padding: 10px 20px;

            color: #fff;

            &:hover {
                cursor: pointer;
            }
        }
    }

    .jtb-write-us {
        color: #b50909;
        font-weight: 600;
        border-width: 2px;
        border-radius: 5px;
        border-color: #b50909;
        border-style: solid;
        transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
        padding: 10px 20px;

        &:hover {
            cursor: pointer;
        }
    }
}

.jtb-modal-cart {
    text-align: left;

    .cart-item {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        padding-bottom: 10px;
        border-bottom: 1px solid #ddd;
        align-items: flex-start;

        .cart-left, .cart-right {
            display: flex;
            flex-direction: column;
            gap: 8px;
            min-width: 85px;

            .tour-name, .tour-price {
                font-weight: bold;
                font-size: 20px;
            }

            .options-list, .options-prices {
                list-style: none;
                padding: 0;
                margin: 0;

                .option, .option-price {
                    font-size: 16px;
                }
            }

            .options-prices, .tour-price {
                text-align: right;
            }
        }
    }

    .cart-total {
        display: flex;
        justify-content: space-between;
        padding: 10px 0 20px 0;
        font-size: 18px;
        font-weight: bold;
        border-top: 1px solid #ccc;
    }

    .cart-actions {
        display: flex;

        .cart-btn {
            flex: 1;
            color: #b50909;
            font-weight: 600;
            border-width: 2px;
            border-radius: 5px;
            border-color: #b50909;
            border-style: solid;
            transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
            padding: 10px 20px;
            background: #fff;

            &:hover {
                cursor: pointer;
            }
        }
    }
}

.jtb-document-info {
    .description {
        text-align: left;
        padding-bottom: 20px;
        font-size: 14px;
    }
}

.jtb-info-swal-title-custom {
    font-size: 16px;
}

.jtb-payment-finish-page {
    padding-top: 135px !important;
    padding-bottom: 50px !important;
    min-height: 80vh;
    text-align: center;

    .title {
        color: #b50909;
    }

    .description {
        padding: 30px 0;
        font-size: 1.1rem;
    }

    &.finish-success {
        .image {
            width: 20%;
            margin: auto;
        }
    }

    &.finish-fail {
        .advice {
            margin: 0 auto;
            text-align: left;
            max-width: 600px;
            padding-bottom: 50px;
        }

        .image {
            margin: auto;
        }
    }
}

.jtb-custom-container {
    padding: 0 10%;
}





.jtb-tours-block {
    .tours-block-wrap {
        background-color: #b50909;
        padding: 80px 0 130px 0;
        height: auto;
    }

    .header {
        font-weight: 700;
        line-height: 65px;
        color: #ffffff;
        font-size: 42px;
        text-transform: uppercase;
        text-align: center;
        padding-bottom: 10px;
        position: relative;
        z-index: 4;
    }

    .tours {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 50px;
        position: relative;
        z-index: 4;

        .tour {
            display: flex;
            justify-content: space-between;
            flex-direction: column;
            flex: 0 0 calc(33.333% - 50px);
            background: #fff;
            border-radius: 10px 10px 10px 10px;

            .content-middle {
                .img {
                    height: 200px;
                    border-radius: 10px 10px 10px 10px;
                    background-color: #ffffff;
                    background-position: center center;
                    background-size: cover;
                    background-repeat: no-repeat;
                    border-color: transparent;
                    border-style: solid;
                }

                .title {
                    font-weight: 700;
                    font-size: 18px;
                    padding: 10px 12px;
                }

                .description {
                    font-size: 13px;
                    padding: 15px 10px;
                    font-weight: 500;
                }
            }

            .content-bottom {
                .price {
                    color: #b50909;
                    font-size: 24px;
                    line-height: 1.25;
                    font-weight: 700;
                    text-transform: lowercase;
                    padding: 0 15px;
                    margin: auto 0 15px 0;
                }

                .button {
                    color: #ffffff !important;
                    font-size: 14px;
                    line-height: 1.55;
                    font-weight: 600;
                    border-width: 2px;
                    border-radius: 7px 7px 7px 7px;
                    background-color: #520e0e;
                    background-position: center center;
                    border-color: transparent;
                    border-style: solid;
                    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
                    text-align: center;
                    padding: 10px 0;
                    margin: 0 15px 20px 15px;
                    display: block;

                    &:hover {
                        cursor: pointer;
                        color: #520e0e !important;
                        background-color: #ffffff;
                        border-color: #520e0e;
                    }
                }
            }
        }
    }
}

.jtb-switch-country {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    padding: 20px 0;

    .country {
        display: inline-block;
        vertical-align: middle;
    }

    .switch {
        position: relative;
        display: inline-block;
        width: 60px;
        height: 34px;
        z-index: 5;
        padding: 0 20px;
        margin: 0 10px 0 8px;
    }

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        -webkit-transition: 0.4s;
        transition: 0.4s;
    }

    .slider:before {
        position: absolute;
        content: "";
        height: 40px;
        width: 40px;
        left: 0px;
        bottom: 4px;
        top: 0;
        bottom: 0;
        margin: auto 0;
        -webkit-transition: 0.4s;
        transition: 0.4s;
        box-shadow: 0 0px 15px #2020203d;
        background: white url('/images/flag-kg.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: 240%;
    }

    input:checked + .slider {
        background-color: #2196f3;
    }

    input:focus + .slider {
        box-shadow: 0 0 1px #2196f3;
    }

    input:checked + .slider:before {
        -webkit-transform: translateX(24px);
        -ms-transform: translateX(24px);
        transform: translateX(24px);
        background: white url('/images/flag-kz.svg');
        background-repeat: no-repeat;
        background-position: 57% center;
        background-size: 240%;
    }

    .slider.round {
        border-radius: 34px;
    }

    .slider.round:before {
        border-radius: 50%;
    }
}




.jtb-button {
    color: #b50909;
    text-align: center;
    z-index: 9;
    top: 197px;
    left: calc(50% - 600px + 720px);
    height: 30px;

    &.active .tn-atom {
        color: #ffffff !important;
        background-color: #b50909;
    }

    .tn-atom {
        color: #b50909;
        font-size: 14px;
        line-height: 1.55;
        font-weight: 400;
        border-width: 2px;
        border-radius: 5px 5px 5px 5px;
        background-position: center center;
        border-color: #b50909;
        border-style: solid;
        transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
        width: inherit;
        padding: 2px 5px;

        &:hover {
            cursor: pointer;
            color: #ffffff !important;
            background-color: #b50909;
        }
    }
}







@media (max-width: 960px) {
    .jtb-modal-leave-ticket .form {
        flex-direction: column;
    }

    .jtb-modal-leave-ticket .form .iti.iti--allow-dropdown.iti--show-flags.iti--inline-dropdown {
        width: 100%;
    }

    .jtb-custom-container {
        padding: 0 2%;
    }

    .jtb-tour-detail-content {
        height: auto;

        .days {
            .day {
                display: flex;
                flex-direction: column;

                .images {
                    height: 800px;

                    .img-1 {
                        width: 40%;
                        left: 10%;
                        top: 10%;
                    }
                    .img-2 {
                        width: 31%;
                        top: 16%;
                        left: 54%;
                    }
                    .img-3 {
                        width: 50%;
                        top: 65%;
                    }
                }

                .content {

                    .footer {
                        padding-top: 30px;
                        padding-bottom: 20px;
                    }
                }
            }
        }
    }
}

@media (max-width: 640px) {
    .jtb-custom-container {
        padding: 0;
    }

    .jtb-tour-detail-content .days .day {
        .images {
            height: 350px;
        }

        .content {
            padding: 0 20px 0 20px;
        }
    }

    .jtb-main-banner {
        /*background-image: url("/images/main_banner_sakura.jpg") !important;*/
        background-image: url("/images/main_banner_expo_mobile.jpg") !important;
    }
}
