
@font-face {
    font-family: 'Tenor Sans';
    src: local('TenorSans-Regular'), url("../fonts/TenorSans/TenorSans-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}




body.bychefs-questionnaire {
    display: block;
    background: linear-gradient(271.5deg, #E3E3E3 8.62%, #FCFCFC 84.57%);

}

html::after {
    display: none;
}

.container {
    overflow: hidden;
}

.bychefs-questionnaire-hero {
    aspect-ratio: 1440/440;
    width: 100%;
    position: relative;
    background: #000000 no-repeat center center;
    background-image: url("/wp-content/themes/chefs_choice/assets/img/chefs_dubai_desktop.jpg?v1.2");
    background-size: cover;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.bychefs-questionnaire-hero__logo {
    aspect-ratio: 1120/458;
    max-width: 56rem;
    width: 60%;
    background: no-repeat center center;
    background-image: url("/wp-content/themes/chefs_choice/assets/img/logo_desktop.svg?v1.2");
    background-size: contain;
    position: relative;
    z-index: 2;
}

.bychefs-questionnaire-hero__logo.bychefs-questionnaire-hero__logo--image {
    background-image: none;
}

.bychefs-questionnaire-hero__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.bychefs-questionnaire-container {
    display: block;
    width: 100%;
    max-width: 62rem;
    margin: 8rem auto 6rem;
    position: relative;
    font-family: "Tenor Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #8D9491;
    font-size: 2.4rem;
    line-height: 120%;
}

.bychefs-questionnaire-container:before {
    content: '';
    width: 180%;
    aspect-ratio: 1149/1053;
    display: block;
    background: url("/wp-content/themes/chefs_choice/assets/img/ellipse.svg?v1.0") no-repeat center center;
    background-size: 100% 100%;
    position: absolute;
    top: 2%;
    left: -40%;
    z-index: 0;
}


.bychefs-questionnaire-container > * {
    margin: 4rem 0;
    position: relative;
    z-index: 10;
}

.bychefs-questionnaire-container .title-block {
    margin: 4rem 0;
}
.bychefs-questionnaire-container .title-block:first-child {
    margin-top: 0;
}

.bychefs-questionnaire-container h1 {
    font-family: Literata, "Times New Roman", "Bitstream Charter", Times, serif;
    font-weight: normal;
    font-size: inherit;
    line-height: 100%;
    color: #212121;
    text-transform: none;
}
.bychefs-questionnaire-container h1 strong {
    font-weight: normal;
    color: #D38159;
}

.bychefs-questionnaire-container .page-title {
    font-size: 5.4rem;
    font-family: Literata, "Times New Roman", "Bitstream Charter", Times, serif;
    line-height: 5.4rem;
    margin-bottom: 1rem;
}

.bychefs-questionnaire-container .page-title + div {
    margin-top: 1rem;
}

.bychefs-questionnaire-container h2 {
    font-size: 3.2rem;
    font-weight: normal;
    text-transform: uppercase;
    color: #212121;
    line-height: 120%;
    margin-bottom: 2rem;
}
.bychefs-questionnaire-container h2 + * {
    margin-top: 2rem;
}




.bychefs-questionnaire-container .sub-title {
    margin: 1.5rem 0;
}
.bychefs-questionnaire-container p {
    line-height: 120%;

}

.bychefs-questionnaire-container ol {
    margin: 2rem 0;
    padding-left: 3.5rem;
}
.bychefs-questionnaire-container ol li {
    margin: 2rem 0;
    list-style: decimal;
}
.bychefs-questionnaire-container ol li:first-child { margin-top: 0; }
.bychefs-questionnaire-container ol li:last-child { margin-bottom: 0; }


.bychefs-questionnaire-form {
    width: 100%;
    position: relative;
}

.bychefs-questionnaire-form__line {
    width: 100%;
    margin: 6rem 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

}
.bychefs-questionnaire-form__line:before,
.bychefs-questionnaire-form__line:after {
    content: '';
    display: block;
    flex: 1;
    height: 1px;
    background: #8D94914D;
}
.bychefs-questionnaire-form__line span {
    display: block;
    width: 6.5rem;
    height: 6.5rem;
    border-radius: 50%;
    border: 1px solid #8D94914D;

    background-position: center center;
    background-repeat: no-repeat;
}


.bychefs-questionnaire-form__line--begin span {
    background-size: 26%;
    background-image: url("/wp-content/themes/chefs_choice/assets/img/user_new.svg?v1.0");
}
.bychefs-questionnaire-form__line--dishes span {
    background-size: 44.4%;
    background-image: url("/wp-content/themes/chefs_choice/assets/img/dishes_new.svg?v1.0");
}

.bychefs-questionnaire-form__field {
    width: 100%;
    height: auto;
    position: relative;
    margin: 2.2rem 0;
    border-radius: 8px;
    overflow: hidden;
}
.bychefs-questionnaire-form__field:first-child { margin-top: 0; }
.bychefs-questionnaire-form__field:last-child { margin-bottom: 0; }

.bychefs-questionnaire-form__field label {
    display: block;
    width: 100%;
    position: relative;
}

.bychefs-questionnaire-form__field label span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    box-sizing: border-box;
    padding: 16px;
    color: #8D9491;
    font-size: 18px;
    line-height: 27px;
    transition: padding-top .3s ease-in-out, font-size .3s ease-in-out, line-height .3s ease-in-out;
}

.bychefs-questionnaire-form__field span.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 0;
}

.bychefs-questionnaire-form__field.active span,
.bychefs-questionnaire-form__field label:has(input:focus) span {
    padding-top: 9px;
    font-size: 10px;
    line-height: 15px;
}
.bychefs-questionnaire-form__field.active span.wpcf7-form-control-wrap,
.bychefs-questionnaire-form__field label:has(input:focus) span.wpcf7-form-control-wrap {
    padding: 0;
}

.bychefs-questionnaire-form__field.active {
    /*background: #2B3530;*/
    background: linear-gradient(271.5deg, #ffffff, transparent);
}

.bychefs-questionnaire-form__field label:has(input.wpcf7-not-valid) > span {
    /*display: none;*/
    /*color: #C34C4C;*/
}
.bychefs-questionnaire-form__field label:has(input.wpcf7-not-valid) > span.wpcf7-form-control-wrap {
    display: block;
}

.bychefs-questionnaire-form__field.active:has(input.wpcf7-not-valid) {
    background: transparent;
}




.bychefs-questionnaire-form__field input[type="text"],
.bychefs-questionnaire-form__field input[type="email"],
.bychefs-questionnaire-form__field input[type="tel"] {
    display: block;
    appearance: none;
    width: 100%;
    min-height: 59px;
    box-sizing: border-box;
    border: 1px solid #8D94914D;
    border-radius: 8px;
    background: none;
    padding: 22px 16px 10px;
    font-size: 18px;
    line-height: 27px;
    vertical-align: middle;
    color: #212121;
    position: relative;
    z-index: 2;

}

.bychefs-questionnaire-form__field span.wpcf7-form-control-wrap.has-phone-code {
    padding-left: 70px  !important;
    border: 1px solid #8D94914D;
    /*border-bottom-color: #ffffff;*/
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.bychefs-questionnaire-form__field span.wpcf7-form-control-wrap.has-phone-code input {
    border: none;
    padding-left: 0;
}

.bychefs-questionnaire-form__field span.wpcf7-form-control-wrap.has-phone-code .phone-code {
    width: 70px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    padding: 0;
}

.phone-code select {
    width: 100%;
    height: 100%;
    border: none;
    position: relative;
    z-index: 10;
    opacity: 0;
}

.phone-code-value {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 22px 0 10px 16px;
    font-size: 18px;
    line-height: 27px;
    color: #212121;
}

.bychefs-questionnaire-form__field.active span.phone-code-value,
.bychefs-questionnaire-form__field label:has(input:focus) span.phone-code-value {
    padding: 22px 0 10px 16px;
    font-size: 18px;
    line-height: 27px;
    color: #212121;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    background-color: transparent;
    color: #212121;
}

.bychefs-questionnaire-form__field input:-webkit-autofill,
.bychefs-questionnaire-form__field input:autofill {
    background-color: transparent;
    color: #212121;
}

.bychefs-questionnaire-form__field input:focus {
    /*border-bottom-color: #ffffff;*/
}

.bychefs-questionnaire-form__field input.wpcf7-not-valid {
    border-color: #C34C4C;
    color: #C34C4C;
}

.bychefs-questionnaire-form__field input.wpcf7-not-valid + .wpcf7-not-valid-tip {
    display: none;
}


.bychefs-questionnaire-form__textarea {
    width: 100%;
    height: auto;
    position: relative;
    margin: 2.2rem 0;
    padding: 10px 0;
}
.bychefs-questionnaire-form__textarea:first-child { margin-top: 0; }
.bychefs-questionnaire-form__textarea:last-child { margin-bottom: 0; }

.bychefs-questionnaire-form__textarea label {
    display: block;
    width: 100%;
    position: relative;
}
.bychefs-questionnaire-form__textarea label > span {
    display: block;
}

.bychefs-questionnaire-form__textarea-title {
    font-size: 18px;
    line-height: 100%;
    color: #212121;
    margin-bottom: 12px;
}
.bychefs-questionnaire-form__textarea-title span {
    color: #D38159
}
.bychefs-questionnaire-form__textarea-subtitle {
    color: #8D9491;
    font-size: 11px;
    line-height: 150%;
    margin-bottom: 12px;
}

.bychefs-questionnaire-form__textarea textarea {
    display: block;
    appearance: none;
    width: 100%;
    height: 180px;
    box-sizing: border-box;
    border: 1px solid #8D94914D;
    border-radius: 8px;
    background: none;
    padding: 12px 16px;
    font-size: 18px;
    line-height: 120%;
    color: #212121;
}

.bychefs-questionnaire-form__textarea.active textarea {
    background: linear-gradient(271.5deg, #ffffff, transparent);

}

.bychefs-questionnaire-form .wpcf7-spinner { display: none; }

.bychefs-questionnaire-form .wpcf7-submit {
    display: block;
    width: 207px;
    height: 54px;
    margin: 5.3rem auto 24px;
    appearance: none;
    background: #A4B7AF;
    border-radius: 30px;
    text-align: center;
    font-size: 20px;
    line-height: 54px;
    vertical-align: middle;
    white-space: nowrap;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    transition: background-color .3s ease-in-out;
    font-family: "Tenor Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
}

.bychefs-questionnaire-form.bychefs-questionnaire-form--fr .wpcf7-submit {
    width: 335px;
}



@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.load {
    display: inline-block;
    margin-right: 5px;
    position: relative;
    height: 26px;
    width: 26px;
    line-height: 26px;
    vertical-align: middle;
}
.load:before {
    content: '';
    display: block;
    width: 26px;
    height: 26px;
    position: absolute;
    top: -2px;
    left: 0;
    background: url("/wp-content/themes/chefs_choice/assets/img/loading.svg?v1.0") no-repeat center center;
    background-size: contain;
    animation: spin 2s linear infinite;
}


.bychefs-questionnaire-form .wpcf7-submit:hover {
    background: #7b8a82;
}

.bychefs-questionnaire-form__policy,
.bychefs-questionnaire-form__policy p {
    font-size: 1.1rem;
    line-height: 150%;
    text-align: center;
    color: #8D9491
}

.bychefs-questionnaire-form__policy a {
    color: #D38159;
    text-decoration: none;
    margin-left: 5px;
}

.bychefs-questionnaire-form__policy .wpcf7-list-item input {

}

.bychefs-questionnaire-form__policy .wpcf7-list-item-label {
    position: relative;
    padding-left: 20px;
    cursor: pointer;
}

.bychefs-questionnaire-form__policy .wpcf7-list-item-label:before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border: 1px solid #D38159;
    position: absolute;
    top: 1px;
    left: 0;
}
.bychefs-questionnaire-form__policy .wpcf7-list-item input:checked + .wpcf7-list-item-label:after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    position: absolute;
    top: 5px;
    left: 4px;
    background: #D38159;
}



.bychefs-questionnaire-footer {
    width: 100%;
    position: relative;
    margin: 6rem 0;
    text-align: center;
}

.bychefs-questionnaire-footer img {
    display: inline-block;
    width: 8.3rem;
    height: auto;
}

.bychefs-questionnaire-container.send-form > * {
    display: none;
}
.bychefs-questionnaire-container.send-form .cf7-custom-success {
    display: block;
    text-align: center;
}

.success-content {
    text-align: center;
    padding: 0 8rem;
}

.cf7-custom-success h3 {
    font-family: Literata, "Times New Roman", "Bitstream Charter", Times, serif;
    font-weight: normal;
    font-size: 3.2rem;
    line-height: 100%;
    text-transform: uppercase;
    color: #212121;
    margin-bottom: 2.4rem;
}
.cf7-custom-success h3 span {
    font-weight: normal;
    color: #D38159;
}

.cf7-custom-success p {
    font-size: 1.7rem;
    line-height: 140%;
    color: #8D9491;
}
.cf7-custom-success p a {
    color: #D38159;
}


.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border: none;
    color: #C34C4C;
}


@media screen and (max-width: 768px) {

    .bychefs-questionnaire-hero {
        aspect-ratio: 375/440;
        align-items: end;
        justify-content: start;
        padding: 50px 24px;
    }

    .bychefs-questionnaire-hero__logo {
        aspect-ratio: 294/211;
        max-width: 56rem;
        width: 78.13%;
        background-image: url("/wp-content/themes/chefs_choice/assets/img/logo_mobile.svg?v1.2");
    }

    .bychefs-questionnaire-hero__logo.bychefs-questionnaire-hero__logo--image {
        background-image: none;
    }

    .success-content {
        padding: 0;
        text-align: left;
    }

}

@media screen and (max-width: 480px) {

    .bychefs-questionnaire-hero {
        background-image: url("/wp-content/themes/chefs_choice/assets/img/chefs_dubai_mobile.jpg?v1.2");
        background-position: top center;
    }

    .bychefs-questionnaire-hero:before {
        content: '';
        display: block;
        width: 100%;
        position: absolute;
        left: 0;
        bottom: 0;
        aspect-ratio: 375/302;
        background: linear-gradient(180deg, rgba(11, 17, 16, 0) 0%, #0B1110 75%);
        z-index: 1;
    }


    .bychefs-questionnaire-container {
        margin: 4.2rem auto 6.4rem;
        font-size: 1.4rem;
        line-height: 120%;
    }

    .bychefs-questionnaire-container:before {
        top: 5%;
        left: -75%;
    }



    .bychefs-questionnaire-container .page-title,
    .bychefs-questionnaire-container h1 {
        font-size: 3.2rem;
        line-height: 120%;
    }

    .bychefs-questionnaire-container h2 {
        font-size: 1.6rem;
        line-height: 120%;
    }

    .bychefs-questionnaire-container .sub-title {
        font-size: 1.8rem;
    }

    .bychefs-questionnaire-container .title-block {
        margin-bottom: 4.4rem;
    }

    .bychefs-questionnaire-container ol li {
        font-size: 1.8rem;
    }

    .bychefs-questionnaire-form__line {
        margin: 4.2rem 0;
    }

    .bychefs-questionnaire-form__line span {
        width: 7.2rem;
        height: 7.2rem;
    }

    .bychefs-questionnaire-form__field label span {
        font-size: 16px;
    }

    .bychefs-questionnaire-form__policy,
    .bychefs-questionnaire-form__policy p {
        text-align: left;
    }


    .bychefs-questionnaire-form__policy label {
        display: inline;
    }

    .bychefs-questionnaire-form__policy .wpcf7-list-item {
        display: inline;
    }

    .bychefs-questionnaire-form__policy a {
        margin-left: 0;
    }


}

.text-capitalize {
    text-transform: capitalize;
}










.header-selects {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 99;
}


.language-menu {
    position: relative;
}
.language-current {
    position: relative;
    font-size: 2rem;
    line-height: 120%;
    border: 0.1rem solid #FFFFFF4D;
    border-radius: 1rem;
    padding: 1rem 2.4rem 1rem 1rem;
    cursor: pointer;
}
.language-menu.languages-1 .language-current {
    cursor: default;
}

.language-current:after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    width: 0.9rem;
    height: 0.5rem;
    background-image: url('../img/select-arrow.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.language-menu.open .language-current:after {
    transform: translateY(-50%) rotate(180deg);
}

.language-menu.languages-1 .language-current:after {
    display: none;
}

.language-list-wrapper {
    position: absolute;
    top: 5.3rem;
    right: 0;
    display: none;
    padding: 0.8rem 0.6rem 0.8rem 0;
    border: 1px solid #8D94914D;
    border-radius: 1rem;
    background-color: #fff;
    z-index: 25;
}
.language-list {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    width: 9rem;
    max-height: 25.3rem;
    padding: 1.2rem 0 1.2rem 2rem;
    box-sizing: border-box;
    overflow-y: auto;
}
.language-list::-webkit-scrollbar {
    width: 0.3rem;
    background-color: transparent;
    border-radius: 1rem;
}
.language-list::-webkit-scrollbar-thumb {
    background-color: #A4B7AF80;
    border-radius: 1rem;
}
.language-menu.open .language-list-wrapper {
    display: block;
}
.language-list a {
    font-size: 2rem;
    line-height: 120%;
    color: #212121;
}
.language-list a.active {
    color: #A4B7AF;
}

