#lf-survey-preloader{
    height: 300px;
    padding-top: 150px;
    display: flex;
    justify-items: center;
    justify-content: center;
}
#thank-you-block{
    display: flex;
    justify-items: center;
    height: 900px;
}
#thank-you-block div{
    margin: 0 auto;
    text-align: center;
}
#thank-you-block button{
    margin: 50px auto;
    display: block;
}
#thank-you-block h1{
    font-size: 42px;
    margin: 0 auto;
    text-align: center;
    max-width: 800px;
}
.lf-survey-preloader-block{
    display: flex;
    flex-direction: column;
    width: max-content;
    justify-content: center;
}
.lf-survey-preloader-block div {
    margin: 0 auto;
}
/*.lf-survey-preloader-block p{*/
/*    font-size: 32px;*/
/*    font-weight: 500;*/
/*    font-family: Sohne,Montserrat,helvetica,Arial;*/
/*}*/
.lds-facebook {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-facebook div {
    display: inline-block;
    position: absolute;
    left: 8px;
    width: 16px;
    background: #44cbcc;
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.lds-facebook div:nth-child(1) {
    left: 8px;
    animation-delay: -0.24s;
}
.lds-facebook div:nth-child(2) {
    left: 32px;
    animation-delay: -0.12s;
}
.lds-facebook div:nth-child(3) {
    left: 56px;
    animation-delay: 0;
}
@keyframes lds-facebook {
    0% {
        top: 8px;
        height: 64px;
    }
    50%, 100% {
        top: 24px;
        height: 32px;
    }
}
#survey-container{
    background: #F4F2EE;
    padding: 0 50px;
}


#lfSurvey input[type="checkbox"] {
    all: unset;
    appearance: checkbox;
    margin: 3px; /* You can adjust this value */
    width: auto; /* Resets any previously set width */
    height: auto; /* Resets any previously set height */
    display: none;
}

#lfSurvey input[type="text"],#lfSurvey input[type="email"],#lfSurvey input[type="tel"],#lfSurvey input[type="date"]{
    border: gray 1px solid;
    margin-top: 7px;
    padding: 3px;
}
#lfSurvey{
    min-height: 125px;
}
button.btn {
    margin: 10px 5px; /* Add some spacing around buttons */
}
.image-options label {
    display: inline-block;
    /*margin-right: 10px;*/
    /*margin-top: 20px;*/
    text-align: center;
    text-transform: uppercase;
    font-size: 0.8em;
}

.image-options input[type="radio"] {
    display: none;
}
.image-options label img {

    margin: 0 auto;
    width: 180px;
    /*max-height: 85px;*/
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
}

/*Style for when the radio button is checked */
.image-options input[type="radio"]:checked + img {
    border-color: #45C1C0; /* Bootstrap primary color for the border */
    background: transparent;
}

.image-options input[type="radio"]:checked + label {
    border:2px solid #45C1C0; /* Color of the border when radio is checked */
    background: transparent;
    border-radius: 5px;
}
.image-options span {
    display: block;
}

.thank-you-text {
    font-size: 1.45em;
    min-width: 7em;
    margin-top: 20px;
    color: #000000;
    font-family: Sohne,Montserrat,helvetica,Arial;
}

.survey-navigation{
    margin-top: 15px;
}

#lfSurvey {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#consentCheckbox{
    font-size: 16px;
}
#survey-container h1:before{
    content:none;
}
#survey-container h1{
    margin-top: 3rem;
}

/* question styles */
.question{
    font-size: 18px;
    margin: 50px 0;
    font-family: Sohne,Montserrat,helvetica,Arial;
}

.question p{
    font-size:1.15em;
    min-width: 7em;
    font-family: Sohne,Montserrat,helvetica,Arial;
    margin: 0;
}

.question{
    display: flex;

}
.question .number{
    /*margin-top: 1.25em;*/
    border-radius: 50%;
    width: 43px;
    height: 43px;
    padding: 9px 12px;
    border: 1px solid #000000;
    color: #000000;
    text-align: center;
}
.question .content{
    margin-left: 4em;
    display: inline-flex;
    flex-direction: column;
    color: #000000;
}
.question .content-line{
    /*margin-left: 4em;*/
    /*display: inline-flex;*/
    /*flex-direction: initial;*/
    /*align-items: center;*/
}
.question .content-line input[type="text"], input[type="email"], input[type="tel"]{
    /*margin-left: 2em;*/
    padding: 1.6em 3.2em;
}
#lfSurvey input[type="text"], #lfSurvey input[type="email"], #lfSurvey input[type="tel"], #lfSurvey input[type="date"]{
    margin-top: 20px;
    font-size: 0.8em;
    text-align: left;
    padding: 1.6em;
    text-transform: uppercase;
    border: 1px solid #000000;
    transition: all 0.1s ease-in-out;
    width: 500px;
    border-radius: 5px;
}


.question .content .text-radio{
    display: flex;
    margin-top: 20px;
}

.switch-field-large{
    display: grid;
    grid-template-columns:repeat(4,210px);
    margin-bottom: 36px;
    overflow: hidden;
    margin-top: 20px;
}
.switch-field-large input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}
.switch-field-large label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    color: #000000;
    font-size: 0.8em;
    line-height: 1;
    text-align: center;
    padding: 0.6em 0.1em;
    text-transform: uppercase;
    border: 1px solid #000000;
    transition: all 0.1s ease-in-out;
}
.switch-field-large label:last-child{
    border-right: 1px solid #000000;
}
.switch-field-large label span{
    position: relative;
    display: block;
    top: -20px;
}
.switch-field-large label:hover {
    cursor: pointer;
}

.switch-field-large input:checked + label {
    color: #45C1C0;
    box-shadow: none;
}


.switch-field-large label:nth-child(2){
    border-radius: 5px 0 0 5px;

}
.switch-field-large label:nth-child(2), .switch-field-large label:nth-child(4),.switch-field-large label:nth-child(6){
    border-right: none;
}
.switch-field-large label:nth-child(8){
    border-radius: 0 5px 5px 0;
}


.switch-field {
    display: flex;
    margin-bottom: 36px;
    overflow: hidden;
    margin-top: 20px;
    flex-wrap: wrap;
    flex: 1;
}


.switch-field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}
.checkboxes input{
    display: none;
}

.switch-field label {
    color: #000000;
    font-size: 0.8em;
    line-height: 1;
    text-align: center;
    padding: 1.6em 3.2em;
    text-transform: uppercase;
    border: 1px solid #000000;
    border-right: none;
    transition: all 0.1s ease-in-out;
}
.switch-field label:last-child{
    border-right:1px solid #000000;
}
.switch-field label:hover {
    cursor: pointer;
}

.switch-field input:checked + label {
    background-color: #45C1C0;
    color: white;
    box-shadow: none;
}

.switch-field label:first-of-type {
    border-radius: 5px 0 0 5px;
}

.switch-field label:last-of-type {
    border-radius: 0 5px 5px 0;
}
.checkboxes{
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 0.8em;
}
.checkboxes label{
    margin:  15px 15px;
}

.form-check{
    font-size: 18px;
    margin: 100px auto 50px;
    color: #000000;
    font-family: Sohne,Montserrat,helvetica,Arial;
    line-height: 28px;
    width: 85%;
}
.form-check-center{
    text-align: center;
    padding-bottom: 100px;
}
.survey-navigation button, .survey-thank-you a{
    margin: 70px auto 100px;
    display: block;
    border-radius: 5px;
    background-color: #45C1C0;
}
.survey-navigation button.btn, .survey-thank-you button.btn{
    background-color: transparent;
    border: 3px solid #45C1C0;
    color:  #45C1C0;
    box-shadow: none;
    font-size: 1.2em;
    line-height: 1;
    text-align: center;
    padding: 1.6em 3.2em;
    text-transform: uppercase;
    border-radius: 5px;
}

.survey-navigation button.btn:disabled{
    opacity: 0.5;
}
.background-color-primary1:after{
    background-color: transparent;
}
/* Initial state of the input field - no red border */
.form-control {
    border: 1px solid grey; /* default border */
}

/* Style for the error message */
.form-control-error {
    display: none;
    color: red;
    font-size: 1em;
    margin: 10px;
}

/* Style for the input field when it is invalid and has been touched */
.form-control.touched:invalid {
    border: 2px solid red!important;
}

/* Style to display the error message when the input field is invalid and has been touched */
.form-control.touched:invalid + .form-control-error {
    display: block;
}

.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 15px;
    user-select: none;
}

/* Скрываем чекбокс */
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Создаем кастомный чекбокс */
.custom-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: transparent;
    border-radius: 4px;
    border: 1px solid #000000;
}

/* Стилизация галочки при выборе */
.custom-checkbox input:checked ~ .checkmark {
    background-color: #45C1C0; /* Цвет фона при выборе */
}

/* Создаем белую галочку */
.custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

/* Отображаем галочку, когда чекбокс выбран */
.custom-checkbox input:checked ~ .checkmark::after {
    display: block;
}

/* Стиль галочки */
.custom-checkbox .checkmark::after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
.number-mobile{
    display: none;
}
#iframe-form-desktop{
    display: block;
    margin: 0 auto;
}
#iframe-form-mobile{
    display: none;
    height: 950px;
    margin:  0 auto;
}
@media only screen and (max-width: 1024px) {
    .question .content{
        margin-left: 2em;
        width: 100%;
    }
    .switch-field-large {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin: 20px auto 0;
        width: 100%;
    }

    .switch-field-large label:nth-child(2){
        border: 1px solid #000000;
        border-right: none;
        border-bottom: none;
    }
    .switch-field-large label:nth-child(4){
        border: 1px solid #000000;
        border-bottom: none;
    }
    .switch-field-large label:nth-child(6){
        border: 1px solid #000000;
        border-right: none;
    }

    #thank-you-block h1{
        font-size: 32px;
    }
    .switch-field-large label:nth-child(2){
        border-radius:5px 0 0 0;
    }
    .switch-field-large label:nth-child(4){
        border-radius: 0 5px 0 0 ;
    }
    .switch-field-large label:nth-child(6){
        border-radius: 0 0 0 5px;
    }
    .switch-field-large label:nth-child(8){
        border-radius: 0 0 5px 0 ;
    }
}
@media only screen and (max-width: 768px) {
    .switch-field-large {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        height: auto;
        margin: 20px auto 0;
        width: 100%;
    }

    .image-options label img{
        max-height: 100%;
    }

    .question .content{
        margin-left: 0;
    }
    .number-desktop{
        display: none;
    }
    .number-mobile{
        display: block;
        min-width: 43px;
    }
    .question-title{
        display: flex;
        gap: 1em;
    }
    .form-check{
        width: 100%;
        margin: 20px auto 20px;
    }
    .survey-navigation button, .survey-thank-you a{
        margin: 30px auto 50px;
    }
    .question .content .text-radio{
        margin: 20px auto 0;
        width: 100%;
    }
    .switch-field label{
        width: 100%;
    }
    #survey-container{
        padding: 0 25px;
    }
    #lfSurvey input[type="text"], #lfSurvey input[type="email"], #lfSurvey input[type="tel"], #lfSurvey input[type="date"]{
        width: 100%;
    }
    .survey-navigation button.btn, .survey-thank-you button.btn{
        padding: 1.2em 2.4em;
    }
    #thank-you-block h1{
        font-size: 32px;
    }

    #thank-you-block button{
        padding: 1.2em 1.2em;
    }
    #thank-you-block{
        height: 1200px;
    }
    #thank-you-block div{
        max-width: 280px;
    }

    #iframe-form-desktop{
        display: none;
    }
    #iframe-form-mobile{
        display: block;
    }
    .switch-field-large label:nth-child(2){
        border: 1px solid #000000;
        border-bottom: none;
    }

    .switch-field-large label:nth-child(4){
        border: 1px solid #000000;
        border-bottom: none;
        border-radius: 0;
    }
    .switch-field-large label:nth-child(6){
        border: 1px solid #000000;
        border-bottom: none;
        border-radius: 0;
    }
    .switch-field-large label:first-of-type{
        border-radius:5px 5px 0 0 ;
    }
    .switch-field-large label:last-of-type{
        border-radius:0 0 5px 5px;
    }

    .switch-field label {
        border: 1px solid #000000;
        border-bottom: none;

    }
    .switch-field label:first-of-type, .switch-field label:last-of-type{
        border-radius: 0;
    }
    .switch-field label:nth-child(2){
        border-radius: 5px 5px 0 0;
    }

    .switch-field label:last-child{
        border-bottom: 1px solid #000000;
        border-radius: 0 0 5px 5px;
    }
}