
@media (min-width: 768px) {
    html {
        font-size: 16px !important;
    }
}

@font-face {
    font-family: 'Carisma';
    src: url('/css/fonts/CarismaClassic-400Regular.woff2') format('woff2'), url('/css/fonts/CarismaClassic-400Regular.woff') format('woff'), url('/css/fonts/CarismaClassic-400Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'MuseoSansCyrl-300';
    src: url('/css/fonts/museosanscyrl-300.eot');
    src: url('/css/fonts/museosanscyrl-300.eot?#iefix') format('embedded-opentype'), url('/css/fonts/museosanscyrl-300.woff2') format('woff2'), url('/css/fonts/museosanscyrl-300.woff') format('woff'), url('/css/fonts/museosanscyrl-300.ttf') format('truetype'), url('/css/fonts/museosanscyrl-300.svg#museosanscyrl-300') format('svg');
}

@font-face {
    font-family: 'carismaclassic-500medium';
    src: url('/css/fonts/carismaclassic-500medium.woff2') format('woff2');
}

html {
    position: relative;
    min-height: fit-content;
    height: 100%;
}

body {
    font-family: 'MuseoSansCyrl-300' !important;
    background-color: #F9F9F9;
}

h1, h2, h3, h4, h5 {
    font-family: 'Carisma' !important;
}

.field-validation-error {
    position: absolute;
    width: fit-content;
    left: 0;
    bottom: -16px;
    display: inline-block;
    color: #DB0032;
    font-family: MuseoSansCyrl-300 !important;
    font-size: 12px;
}

.error-validation-field {
    /*border: 1px solid red !important;*/
}

[data-message="Error"], .block-mess-error {
    color: red;
    font-weight: bold;
    padding: 10px 0;
}

[data-message="Panel"], .panel-mess-error {
    display: none;
    background-color: red;
    padding: 3px 8px;
    color: #fff;
    border-radius: 4px;
    position: absolute;
    top: -26px;
    font-size: 13px;
    -webkit-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.25);
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.25);
}

.panel-label-error {
    display: none !important;
    position: absolute !important;
}

.mess-active {
    display: block;
    z-index: 1000;
}

.mess-active-fix {
    width: 34px;
    height: 34px;
    margin-left: 5px;
    top: 0;
}

    .mess-active-fix span {
        font-size: 24px;
        text-align: center;
        margin-left: 4px;
    }

.mess-error {
    display: none;
}


.grid-main {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 103px 1fr;
    height: 100%;
}

    .grid-main > div:first-child {
        background-color: #FFFFFF;
        display: grid;
        align-items: center;
        justify-content: center;
    }

    .grid-main > div:last-child {
        display: grid;
        justify-content: center;
    }

        .grid-main > div:last-child > div {
            width: 896px;
        }

.grid-main-page {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 103px 1fr 68px;
    height: 100%;
}

    .grid-main-page > div:first-child {
        background-color: #FFFFFF;
        display: grid;
        align-items: center;
        justify-content: center;
    }

    .grid-main-page > div:nth-child(2) {
        display: grid;
        justify-content: center;
    }

        .grid-main-page > div:nth-child(2) > div {
            width: 896px;
        }

    .grid-main-page > div:last-child > div {
        text-align: center;
        line-height: 25px;
    }

        .grid-main-page > div:last-child > div:last-child {
            display: grid;
            grid-template-columns: auto auto auto;
            grid-column-gap: 10px;
            justify-content: center;
        }

            .grid-main-page > div:last-child > div:last-child > div > a {
                color: #967E4E !important;
                text-decoration: underline !important;
            }

.grid-main-footer {
    height: 0px;
}

.grid-main-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 32px;
    margin-top: 40px;
}

.grid-main-card-desc {
    display: grid;
    grid-template-rows: auto 56px 1fr;
    grid-row-gap: 10px;
}

.header-text-span {
    font-family: Carisma !important;
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    color: #151515;
}

.css-1vc3uaw {
    position: relative;
    max-width: 100%;
    width: 100%;
    cursor: text;
}

.css-q5knam {
    display: flex;
    outline: none;
    position: relative;
    min-height: 100%;
    background-color: rgb(233, 233, 233);
    color: rgb(0, 0, 0);
    border: 1px solid transparent;
    transition: color, background-color 0.2s, border-color 0.1s;
    font-family: "Carisma Classic", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0.01em;
}

.panel-input-h {
    display: flex;
    outline: none;
    position: relative;
    min-height: 100%;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    border: 1px solid rgb(130, 130, 134);
    transition: color, background-color 0.2s, border-color 0.1s;
    font-family: "Carisma", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0.01em;
}

.panel-input {
    display: flex;
    outline: none;
    position: relative;
    min-height: 100%;
    background-color: rgb(233, 233, 233);
    color: rgb(0, 0, 0);
    border: 1px solid transparent;
    transition: color, background-color 0.2s, border-color 0.1s;
    font-family: "Carisma", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0.01em;
}

    .panel-input.panel-active {
        background-color: rgb(255,255,255);
        border: 1px solid rgb(130,130,134);
        transition: color, background-color 0.2s, border-color 0.1s;
    }

    .panel-input > div:first-child {
        -webkit-box-flex: 1;
        flex-grow: 1;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .panel-input.error-input-field {
        border: 1px solid #DB0032;
    }

.label-input {
    position: absolute;
    display: block;
    color: rgb(117, 117, 117);
    z-index: 1;
    left: 16px;
    top: 16px;
    transition: transform 0.3s;
    will-change: transform;
    font-family: Carisma, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 24px;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

    .label-input.label-active {
        font-size: 0.75rem;
        line-height: 16px;
        transform: translate(0px, -8px);
    }

    .label-input.error-input-label {
        color: #DB0032;
    }

.input-main-control {
    width: 100%;
    appearance: none;
    position: relative;
    background: transparent;
    text-overflow: ellipsis;
    outline: none !important;
    border: none !important;
    position: relative;
    padding: 30px 12px 8px 16px;
    height: 56px;
    font-family: Carisma !important;
    font-size: 16px !important;
    color: #000000 !important;
    font-weight: 400;
}

    .input-main-control:not(:-webkit-autofill) {
        animation: 999999s ease 0s 1 normal none running autofill;
    }

    .input-main-control.error-input {
        color: #DB0032;
    }

textarea.input-main-control {
    height: 122px;
}

.panel-reset-btn {
    cursor: default;
    display: none;
    flex-shrink: 0;
    -webkit-box-align: center;
    align-items: center;
    padding-right: 12px;
}

    .panel-reset-btn > span {
        height: 16px;
        cursor: pointer;
    }

        .panel-reset-btn > span:hover {
            color: rgba(0,0,0,0.25);
        }

    .panel-reset-btn.btn-reset-active {
        display: flex;
    }

.grid-select-amount {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    grid-column-gap: 6px;
    grid-row-gap: 6px;
    margin-top: 10px;
}

.panel-amount {
    height: 40px;
    width: 100%;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    background-color: #E9E9E9;
}

    .panel-amount:hover {
        border: 1px solid #151515;
        background-color: #f3f3f3;
    }

    .panel-amount > span {
        line-height: 40px;
        font-family: Carisma !important;
        color: #151515;
        font-weight: 600;
    }

    .panel-amount.amount-active {
        border: 1px solid #151515;
    }

.grid-main-data {
    margin-top: 20px;
    display: grid;
    grid-template-rows: auto 56px 1fr;
    grid-row-gap: 10px;
}

    .grid-main-data > div:nth-child(2) {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-column-gap: 9px;
        width: 100%;
    }

    .grid-main-data > div:last-child > div {
        margin-top: 10px;
    }

.grid-main-sched {
    margin-top: 30px;
    display: grid;
    grid-template-rows: auto auto auto 1fr;
    grid-row-gap: 10px;
}

    .grid-main-sched > div:nth-child(2) {
        color: #757575;
    }

    .grid-main-sched > div:nth-child(3) {
        margin-bottom: 30px;
    }

.ui.toggle.checkbox input {
    height: 2rem !important;
    width: 3.13rem !important;
}

.ui.toggle.checkbox .box, .ui.toggle.checkbox label {
    min-height: 26px !important;
    line-height: 26px !important;
}

    .ui.toggle.checkbox .box:before, .ui.toggle.checkbox label:before {
        height: 27px !important;
        width: 50px !important;
    }

    .ui.toggle.checkbox .box:after, .ui.toggle.checkbox label:after {
        width: 27px !important;
        height: 27px !important;
    }

.ui.toggle.checkbox input:checked ~ .box:after, .ui.toggle.checkbox input:checked ~ label:after {
    left: 23px;
}

.ui.toggle.checkbox input:focus:checked ~ .box:before, .ui.toggle.checkbox input:focus:checked ~ label:before {
    background-color: #967E4E !important;
    background: #967E4E !important;
    /*background: linear-gradient(90deg, #967E4E, #967E4E,#967E4E,#FFFFFF33) !important;*/
}

.ui.toggle.checkbox input:checked ~ .box:before, .ui.toggle.checkbox input:checked ~ label:before {
    background-color: #967E4E !important;
    background: #967E4E !important;
    /*background: linear-gradient(90deg, #967E4E, #967E4E,#967E4E, #FFFFFF33) !important;*/
}

.main-button {
    border-radius: 0 !important;
    width: 195px !important;
    height: 56px !important;
    line-height: 56px !important;
    font-weight: 500 !important;
    font-family: Carisma !important;
    text-transform: uppercase !important;
    padding: 0 !important;
    background-color: #0A0A0A29 !important;
}

.panel-sched {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 10px;
    height: 0px;
    margin: 0px;
    opacity: 0;
    transition: height 0.8s linear, opacity 0.5s linear, margin-top 0.5s linear, margin-bottom 0.5s linear;
}

    .panel-sched.open {
        margin-top: 10px;
        margin-bottom: 10px;
        height: 58px;
        opacity: 1;
        transition: height 0.5s linear, opacity 0.8s linear, margin-top 0.5s linear, margin-bottom 0.5s linear;
    }

.grid-main-data-sender {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.ui.checkbox.accept-terms .box::before, .ui.checkbox.accept-terms label::before {
    height: 20px !important;
    width: 20px !important;
    border-radius: 0px !important;
}

.ui.checkbox.accept-terms .box::after, .ui.checkbox.accept-terms label::after {
    height: 20px !important;
    width: 20px !important;
    font-size: 18px !important;
    top: 1px !important;
}

.grid-accept-terms {
    margin-top: 20px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 20px 1fr;
    grid-column-gap: 10px;
}

    .grid-accept-terms > div:last-child > span > a {
        text-decoration: underline;
        color: rgba(0, 0, 0, 0.87) !important;
    }

[data-valmsg-for="dataCreatingGiftCard.AcceptTerms"] > span {
    position: absolute;
    width: max-content;
    top: 6px;
}

.accept-terms.accept-error > label:before {
    border-color: #DB0032 !important;
}

.grid-main-success {
    display: grid;
    grid-template-rows: auto 1fr 100px 100px;
}

    .grid-main-success > div:first-child {
        padding-top: 75px;
        padding-bottom: 40px;
    }

    .grid-main-success > div:nth-child(2) {
        text-align: center;
        letter-spacing: 0.04em;
        padding-top: 8px;
        line-height:41px;
    }

        .grid-main-success > div:nth-child(2) > span {
            font-size: 56px;
            font-family: Carisma;
        }

    .grid-main-success > div:nth-child(3) > div:first-child {
        padding-top: 60px;
        text-align: center;
        font-size: 16px;
        line-height: 0px;
    }

    .grid-main-success > div:nth-child(3) > div:last-child {
        padding-top: 30px;
        text-align: center;
        font-size: 16px;
        line-height: 0px;
    }

    .grid-main-success > div:last-child {
        text-align: center;
    }

        .grid-main-success > div:last-child > a {
            width: 190px;
            margin-top: 42px;
            height: 48px;
            border-radius: 0 !important;
            background-color: #000000 !important;
            text-transform: uppercase !important;
            font-family: Carisma !important;
            color: #ffffff !important;
            line-height: 25px;
            font-size: 13px;
            letter-spacing: 0.02em !important;
            font-weight: 100 !important;
        }

.grid-main-fail {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    grid-column-gap: 20px;
}

    .grid-main-fail > a:first-child {
        width: 217px !important;
        font-family: carismaclassic-500medium !important;
        font-weight: 500 !important;
        letter-spacing: -0.001em !important;
    }

[href="tel:88001000005"] {
    color: #967E4E !important;
}

.btn-submit-active {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.swiper {
    width: 100%;
    height: 40px;
}

.swiper-slide {
    text-align: center;
    /*font-size: 16px;*/
    font-weight: 600;
    background: #E9E9E9;
    font-family: Carisma !important;
    color: #151515;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

@media (max-width: 768px) {
    html {
        min-height: fit-content;
    }

    body {
        min-height: fit-content;
    }

    .grid-main > div:nth-child(2) {
        padding: 0 15px;
    }

    .grid-main > div:last-child > div {
        width: 100%;
    }

    .grid-main-card {
        grid-template-rows: auto 1fr;
        grid-template-columns: none;
        column-gap: unset;
        grid-row-gap: 20px;
        margin-top: 15px;
    }

        .grid-main-card > div:first-child > img {
            width: 100%;
        }

    .grid-select-amount {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-main-data {
        grid-template-rows: 1fr;
    }

        .grid-main-data > div:last-child > div {
            margin-top: 6px;
        }

        .grid-main-data > div:nth-child(2) {
            grid-template-rows: 1fr auto 1fr;
            grid-template-columns: none;
            grid-column-gap: unset;
            grid-row-gap: 16px;
        }

    .grid-main-sched > div:nth-child(3) {
        margin-bottom: 15px;
    }

    .grid-main-data-sender {
        grid-template-columns: none;
        grid-template-rows: 1fr;
        grid-auto-columns: unset;
        grid-row-gap: 16px;
    }

    .panel-sched {
        grid-template-rows: 1fr;
        grid-template-columns: none;
        grid-column-gap: unset;
        grid-row-gap: 16px;
    }

        .panel-sched.open {
            height: 126px;
        }

    .grid-main-footer {
        height: 40px;
    }

    .field-validation-error[data-valmsg-for="dataCreatingGiftCard.AcceptTerms"] {
        opacity: 0;
    }

    .main-button {
        height: 48px !important;
        line-height: 48px !important;
        width: 100% !important;
    }

    .grecaptcha-badge {
        display: none;
    }

    .grid-main-page > div:nth-child(2) > div {
        width: 100%;
    }

    .grid-main-page > div:nth-child(2) > div, .grid-main-page > div:nth-child(3) > div {
        padding: 0 15px;
    }

    .grid-main-success > div:nth-child(2) > span {
        font-size: 36px;
    }

    .grid-main-success > div:nth-child(3) {
        margin-bottom: 40px;
    }

        .grid-main-success > div:nth-child(3) > div:last-child {
            line-height: 20px;
        }

    .grid-main-success {
        grid-template-rows: auto 1fr auto 100px;
    }

        .grid-main-success > div:last-child > a {
            width: 100%;
        }

    .grid-main-page {
        grid-template-rows: 103px 1fr auto;
    }

        .grid-main-page > div:nth-child(3) {
            margin-bottom: 20px;
        }

        .grid-main-page > div:last-child > div:last-child {
            grid-template-columns: none;
            grid-column-gap: unset;
            grid-template-rows: 1fr;
            grid-row-gap: 0px;
        }

    .grid-main-fail {
        margin-top: 40px;
        grid-template-columns: none;
        justify-content: center;
        grid-column-gap: unset;
        grid-template-rows: 1fr;
        grid-row-gap: 15px;
    }

    .grid-main-success > div:last-child > a {
        margin-top: 0px;
    }
}
