/* 
 * contact_tour_form.css
 * Description: Common styles for new ACF modules
 * Author: Dev
 * Created: 2025
 * Version: 1.0
 * Note: Only loaded when new modules are rendered
 */

:root {
    --font-family: "Avenir Book", Helvetica, sans-serif;
    --primary-color: #5a5b5d;
    --secondary-color: #ad237a;
    --border: 2px solid #d5d5d5;
    --font-size: 14px;
}

/* Contact Us */
.contact-us-tour {
    padding: 0 23px;
}

.contact-us-tour .kbh_new_module_top_area {
    max-width: 900px;
    margin: 0 auto;
}

.contact-us-tour .kbh_new_module_top_area img {
    width: 100%;
}

.contact-us-tour .modal-dialog-centered {
    background-image: url(/wp-content/uploads/2025/09/Layer-603-copy-2-1.jpg), url(/wp-content/uploads/2025/09/Layer-603-copy-q2.jpg) !important;
    background-position: -1px -2px, calc(100% + 80px) 100% !important;
    background-repeat: no-repeat, no-repeat !important;
    background-size: 284px 119px, 377px 117px !important;
    margin: 75px auto 75px;
    min-height: initial;
    background: #fff;
    padding: 0 100px;
    max-width: 1180px;
}

.contact-us-tour .modal-content {
    background: transparent;
    padding: 55px 0 60px;
    margin: 0;
}

.contact-us-tour .h1.h1--modal.js-schedule-tour-top-heading.text-center.main-title {
    color: #8b8a8a !important;
    font-size: 30px;
    margin: 0;
}

.contact-us-tour form select {
    max-width: 310px;
    width: 100%;
    padding: 7px 15px;
    color: var(--primary-color);
    border: var(--border);
    font-size: var(--font-size);
}

.contact-us-tour form option {
    color: var(--primary-color) !important;
}

.contact-us-tour form .schools-list select {
    font-weight: 600;
}

.contact-us-tour ul.checkbox-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    margin-bottom: -10px;
}

input[type=checkbox] {
    accent-color: var(--secondary-color);
}

.contact-us-tour ul.checkbox-list li {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 8px 0;
    font-size: 16px;
    color: var(--primary-color);
}

.contact-us-tour ul.checkbox-list li input {
    width: 24px;
    position: relative;
    height: 24px;
    margin: 0;
}

.contact-us-tour ul.checkbox-list li input:checked::before {
    content: '';
}

.contact-us-tour label.form-label[for="help_options"] {
    font-size: 18px;
    padding: 12px 0;
    display: block;
    color: #888888;
}

.contact-us-tour ul.checkbox-list label.checkbox-label {
    margin: 0;
}

.contact-us-tour textarea#additional_info,
.contact-us-tour textarea {
    resize: none;
    padding: 10px 15px;
    font-size: 16px;
    height: 75px;
    margin-top: 20px;
    max-width: 430px;
    width: 100%;
    border: var(--border);
    font-weight: 600;
    color: var(--primary-color);
}

.contact-us-tour textarea {
    margin-top: 10px !important;
}

.contact-us-tour .childcarecrm-form__control::placeholder,
.contact-us-tour textarea#additional_info::placeholder,
.contact-us-tour textarea::placeholder {
    color: var(--primary-color) !important;
}

.contact-us-tour .custom-email-form-field .form-group {
    text-align: center;
}

.contact-us-tour .schools-list {
    text-align: center;
    padding-top: 30px;
    max-width: 528px;
    margin: 0 auto;
}

.contact-us-tour a.btn-next,
.modal-content .childcarecrm-form #childcarecrm-form__confirm-button {
    display: inline-block;
    background: url(/wp-content/uploads/2025/10/fomr-next-bg.webp) center / 100% 100% no-repeat;
    color: #fff;
    padding: 13px 68px;
    letter-spacing: 1px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.modal-content .childcarecrm-form #childcarecrm-form__confirm-button,
.schedule-a-tour #tour-booking-form-step #childcarecrm-form__confirm-button {
    margin: 46px auto 0;
    display: flex;
    float: unset;
}

.contact-us-tour .main-tab-section>.main-tab {
    max-width: 369px;
    width: 100%;
    gap: 10px;
}

.contact-us-tour .main-tab-section>.main-tab>.main-tab {
    width: auto;
    flex: auto;
}

.main-tab button.main-tab img {
    border-radius: unset;
    width: 100%;
}

.contact-us-tour .contact-form-content.modal-content .personal-details .form-container {
    grid-template-columns: 1fr 1fr 1fr;
    padding-bottom: 30px;
    gap: 18px 26px;
    display: grid;
}

.contact-us-tour .contact-form-content.modal-content .personal-details .form-container input[type="text"],
.contact-us-tour .contact-form-content.modal-content .form-container input[type="email"],
.contact-us-tour .contact-form-content.modal-content .form-container input[type="tel"] {
    border: var(--border);
    color: var(--primary-color);
    padding: 7px 15px;
    font-size: 14px;
    width: 100%;
}

.contact-us-tour .contact-form-content.modal-content .personal-details .form-container .form-group {
    margin: 0;
}

.contact-navigation-controls {
    position: relative;
    text-align: center;
}

.contact-navigation-controls a.button-previous {
    font-size: 16px;
    font-weight: 600;
    float: left;
    padding: 0 0 0 40px;
    text-transform: uppercase;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    left: 0;
    color: var(--secondary-color);
    background: url(/wp-content/uploads/2025/10/unnamed-file.png) left 100% / 25px 25px no-repeat;
}

.contact-navigation-controls a.button-previous.previous-tour-date {
    top: -25px;
}

.select-a-day__subcontent {
    padding: 20px;
}

.contact-us-tour .modal-dialog-centered form.childcarecrm-form .fc-view-container {
    padding: 25px 58px 33px;
}

.contact-us-tour .modal-content .h3--modal,
.contact-us-tour .main-title.tour-title {
    color: var(--primary-color);
}

.contact-us-tour .modal-dialog-centered .h3 {
    font-family: var(--font-family);
}

.contact-us-tour .modal-dialog-centered .h3 span {
    font-family: var(--font-family);
    display: inline;
}

.contact-us-tour .modal-dialog-centered form.childcarecrm-form .fc-view-container th,
.contact-us-tour .modal-dialog-centered form.childcarecrm-form .fc-view-container th span {
    font-family: var(--font-family);
    font-size: 16px !important;
}

.contact-us-tour .main-title.tour-title p {
    font-size: 16px;
}

.contact-us-tour .modal-dialog-centered form.childcarecrm-form .fc-view-container th {
    padding: 0 0 4px;
}

.contact-us-tour .modal-dialog-centered form.childcarecrm-form .fc-view-container .fc-body .fc-content-skeleton a.fc-event {
    margin: 0 8px 3px;
    padding: 1px 4px;
    border-radius: 8px;
    border: var(--border);
}

.contact-us-tour .modal-dialog-centered form.childcarecrm-form .fc-view-container .fc-body .fc-content-skeleton a.fc-event span.fc-time {
    font-weight: 400;
    font-size: 14px;
    color: #4197b5;
}

.contact-us-tour .modal-dialog-centered .fc-button-group {
    height: 100%;
    position: absolute;
    width: 100%;
    left: 0;
    background: transparent;
}

.contact-us-tour .modal-dialog-centered .fc-button-group button.fc-button.fc-button-primary {
    position: absolute;
    background: transparent;
    height: 100%;
    top: 0;
    background-position: center;
}

.modal-content .childcarecrm-form .fc-body .fc-content-skeleton .fc-event.available-tour-time:hover {
    background-color: #4197b5;
    color: #4197b5;
}

.contact-us-tour .modal-dialog-centered form.childcarecrm-form .fc-view-container .fc-body .fc-content-skeleton a.fc-event:not(.available-tour-time) {
    display: block;
    background: transparent;
    border: none;
}

.contact-us-tour .modal-dialog-centered form.childcarecrm-form .fc-view-container .fc-body .fc-content-skeleton a.fc-event:not(.available-tour-time) .fc-time {
    color: var(--primary-color);
}

.modal-content .childcarecrm-form__control--tour-time {
    position: relative;
}

.contact-us-tour .modal-dialog-centered .fc-button-group button.fc-prev-button.fc-button.fc-button-primary {
    left: 0;
    z-index: 99;
    background: url(/wp-content/uploads/2025/10/Vector-Smart-Object2left.png) center no-repeat;
}

.contact-us-tour .modal-dialog-centered .fc-button-group button.fc-next-button.fc-button.fc-button-primary {
    background: url(/wp-content/uploads/2025/10/Vector-Smart-Object2.png) center no-repeat;
    right: 0;
    z-index: 99;
}

.contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form {
    position: relative;
}

.contact-us-tour .modal-dialog-centered .crm-container {
    max-width: 1000px;
    margin: auto;
    width: 100%;
}

.contact-us-tour .modal-dialog-centered .select-a-day {
    text-align: center;
}

.tooltip-contact {
    position: relative;
    cursor: pointer;
    text-decoration: underline;
    color: var(--primary-red);
    text-decoration: none;
}

.tooltip-contact::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 40px;
    left: 62%;
    transform: translateX(-50%);
    background-color: #ffffff;
    color: #888;
    padding: 15px;
    border-radius: 3px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    font-size: 16px;
    line-height: 24px;
    z-index: 10;
    box-shadow: 0 0 4px #888;
    z-index: 9;
    width: 240px;
}

.tooltip-contact::before {
    border-color: transparent transparent #ffffff transparent;
    filter: drop-shadow(0px -2px 1px #888);
    border-width: 0 12.5px 14px 12.5px;
    transition: opacity 0.3s;
    transform: rotate(0deg);
    border-style: solid;
    position: absolute;
    visibility: hidden;
    height: 0px;
    content: "";
    z-index: 10;
    width: 0px;
    opacity: 0;
    top: 27px;
    left: 50%;
}

.tooltip-contact:hover::after,
.tooltip-contact:hover::before {
    visibility: visible;
    opacity: 1;
}

.contact-us-tour .modal-dialog-centered .crm-container p.text-contact {
    text-align: center;
    font-size: 18px;
}

.contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__group {
    flex: 0 0 33%;
    width: 270px;
    height: 100%;
    padding: 0;
    margin: 0;
}

#childcarecrm-ninja-form .childcarecrm-form__control--date.childcarecrm-form__date-of-birth.childcarecrm-form__control {
    align-items: center;
    display: flex;
}

#childcarecrm-ninja-form .childcarecrm-form__control--date.childcarecrm-form__date-of-birth.childcarecrm-form__control select {
    background-position: 90% 18px;
    background-size: 14px;
    max-width: 100%;
    padding: 0 15px;
    margin: 0;
}

#childcarecrm-ninja-form .childcarecrm-form__field.childcarecrm-form__expected-start-date label {
    display: block;
}

.contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step>.childcarecrm-form__group {
    justify-content: flex-start;
    flex-wrap: wrap;
    display: flex;
}

.contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__field.childcarecrm-form__field-textarea {
    margin: 30px auto !important;
    flex-basis: 100%;
    display: block;
}

.contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__field textarea.childcarecrm-form__control--textarea.childcarecrm-form__control {
    margin: 0 auto;
}

#childcarecrm-ninja-form .childcarecrm-form__group .childcarecrm-form__field.childcarecrm-form__field-textarea {
    display: block;
}

.contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step .childcarecrm-form__tour-child-toggle.childcarecrm-form__tour-child-toggle--add {
    position: static;
}

.contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__group>div {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
}

.contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__group>div:last-child {
    aspect-ratio: 1/1;
    height: 50px;
}

.contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__group>div:last-child>button {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    height: 50px;
    padding: 0;
}

.contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 button#childcarecrm-form__confirm-button {
    font-family: 'Avenir LT W01_85 Heavy1475544';
    align-items: center;
    border-radius: 5px;
    display: flex;
}

.contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 button#childcarecrm-form__confirm-button::after {
    background-size: cover;
    height: 15px;
    width: 15px;
}

.page-template-contact .page__content.page__content--intro-sm {
    padding: 45px 0 0;
}

.contact-us-tour .modal-dialog-centered span.crm-firstname {
    text-transform: capitalize;
}

.contact-us-tour .modal-dialog-centered .thank-you__subcontent.thank-you__subcontent p {
    max-width: 500px;
    font-size: 16px;
    width: 100%;
}

.contact-us-tour .modal-dialog-centered .location-name-and-time {
    text-align: center;
    font-weight: 600;
}

.contact-us-tour .modal-dialog-centered .time-at-thank-you span.school-time {
    margin-bottom: 30px;
    color: #5a5b5d;
    display: block;
}

.contact-us-tour .modal-dialog-centered .time-at-thank-you,
.contact-us-tour .modal-dialog-centered .location-at-thank-you span.school-distance {
    color: var(--secondary-color);
    line-height: 150%;
    font-weight: 700;
    font-size: 20px;
}

.contact-us-tour .modal-dialog-centered .academy-name,
.contact-us-tour .modal-dialog-centered .location-at-thank-you .school-address {
    font-size: 20px;
}

.contact-us-tour .modal-dialog-centered .academy-name .school-name {
    font-family: var(--font-family);
    line-height: 150%;
    font-weight: 600;
    /* font-size: 15px; */
}

.contact-us-tour .modal-dialog-centered .location-at-thank-you span.school-distance {
    margin-top: 2px;
    display: block;
}

.contact-us-tour #tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__field {
    padding: 0 !important;
    width: 48%;
    flex-grow: 1;
}

.contact-us-tour #tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__field:nth-child(3),
.contact-us-tour #tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__field:nth-child(4),
.contact-us-tour #tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__field:nth-child(5) {
    width: 32%;
}

.contact-us-tour #tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__field.childcarecrm-form__field-textarea {
    flex-basis: 100%;
    justify-content: center;
    display: flex;
    margin-top: 50px;
}

.contact-us-tour #tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__field.childcarecrm-form__field-textarea textarea {
    resize: none;
    height: 110px;
}

.contact-us-tour #tour-booking-form-step>.childcarecrm-form__group {
    display: flex;
    flex-wrap: wrap;
    gap: 0 2%;
}

.childcarecrm-form .childcarecrm-form__field+.childcarecrm-form__group,
.childcarecrm-form .childcarecrm-form__group.childcarecrm-form__group--tour-child[style="display: block;"] {
    width: 32%;
    display: inline-block !important;
    margin: 21px 0 0;
    position: relative;
}

.childcarecrm-form .childcarecrm-form__group.childcarecrm-form__group--tour-child .childcarecrm-form__field {
    width: 100%;
    padding: 0;
}

.modal-dialog--schedule-tour .childcarecrm-form__expected-start-date label {
    display: block !important;
    font-size: 12px;
}

.childcarecrm-form .childcarecrm-form__field.childcarecrm-form__expected-start-date {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.childcarecrm-form .childcarecrm-form__field.childcarecrm-form__expected-start-date input,
.childcarecrm-form .childcarecrm-form__field.childcarecrm-form__expected-start-date label {
    width: 50%;
    margin: 0 !important;
}

.modal-dialog--schedule-tour .childcarecrm-form__control--date {
    display: flex;
    padding: 0;
    border: 0;
}

.contact-us-tour .childcarecrm-form__control--choice-single,
.schedule-a-tour .modal-content .childcarecrm-form__control select {
    margin: 0;
    line-height: 26px;
    -webkit-appearance: none;
    position: relative;
    background: url(/wp-content/uploads/2023/06/dropdownArrow.png) no-repeat !important;
    background-position: center right +10px !important;
    padding: 7px 30px 7px 15px !important;
}

.school__content .sub-title-tour {
    margin-bottom: 30px;
}

.contact-us-tour p.form-tab-2-text {
    text-align: center;
    margin-bottom: 37px;
    font-size: 18px;
    color: var(--primary-color);
}



.contact-us-tour .custom-email-form-field {
    padding-top: 10px;
}

.contact-us-tour .custom-email-form-field .custom-field-align {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 25px 20px;
}

.contact-us-tour .childcarecrm-form__control--text,
.contact-us-tour .childcarecrm-form__control--phone,
.contact-us-tour .childcarecrm-form__control--email,
.contact-us-tour .childcarecrm-form__control--date-single,
.contact-us-tour .childcarecrm-form__control--choice-single,
.contact-us-tour .childcarecrm-form__control select,
.contact-us-tour .custom-email-form-field input {
    color: var(--primary-color);
    background: transparent;
    border: var(--border);
    padding: 7px 15px;
    font-size: 14px;
    width: 100%;
}

.contact-us-tour .custom-email-form-field .custom-field-align>* {
    width: calc(33.33% - 14px);
}

.contact-us-tour .custom-email-form-field .form-group.birthday-select {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    position: relative;
}

.contact-us-tour .custom-email-form-field .form-group.date {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.contact-us-tour .custom-email-form-field input[type="date"] {
    width: 141px;
}

.childcarecrm-form .childcarecrm-form__tour-child-toggle button,
.contact-us-tour .custom-email-form-field button {
    width: 100%;
    font-size: 14px;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    background-color: var(--secondary-color);
    text-transform: uppercase;
    position: relative;
    padding: 15px 10px;
    border: 0;
}

.contact-us-tour.schedule-a-tour .modal-dialog-centered form.childcarecrm-form .fc-view-container {
    padding-bottom: 0;
}
















.contact-us-tour .line-tabs,
.contact-us-tour .container:after,
.contact-us-tour .container:before,
.contact-us-tour #tour-booking-form-step>.childcarecrm-form__group .childcarecrm-form__field label,
.contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__field,
.contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step .childcarecrm-form__disclaimer,
#childcarecrm-ninja-form form>#tour-booking-form-step.childcarecrm-form__step .childcarecrm-form__group>.childcarecrm-form__field,
.contact-us-tour .modal-dialog-centered .fc-button-group button.fc-button.fc-button-primary span,
.contact-us-tour .modal-dialog-centered .fc-left,
#childcarecrm-ninja-form .childcarecrm-form__control--date.childcarecrm-form__date-of-birth.childcarecrm-form__control span,
.contact-us-tour .modal-dialog-centered .fc-button-group button.fc-prev-button.fc-button.fc-button-primary[disabled],
.contact-us-tour .modal-dialog-centered .fc-button-group button.fc-next-button.fc-button.fc-button-primary[disabled],
#childcarecrm-ninja-form .childcarecrm-form__field input[data-key="tour_booking_dynamic_form[lead][firstName]"],
#childcarecrm-ninja-form .childcarecrm-form__field input[data-key="tour_booking_dynamic_form[lead][lastName]"],
#childcarecrm-ninja-form .childcarecrm-form__field input[data-key="tour_booking_dynamic_form[lead][phone]"],
#childcarecrm-ninja-form .childcarecrm-form__field input[data-key="tour_booking_dynamic_form[lead][email]"],
#childcarecrm-ninja-form .childcarecrm-form__field select[data-key="tour_booking_dynamic_form[lead][leadSource]"],
#childcarecrm-ninja-form .childcarecrm-form__field select[data-key="tour_booking_dynamic_form[lead][contactMethod]"],
#childcarecrm-ninja-form .childcarecrm-form__field label,
#childcarecrm-ninja-form #tourTimeStep,
.crm-container,
.a2p-container,
.contact-us-tour .personal-details.container--full,
.contact-us-tour .child-information.container--full,
a.button-previous.previous-tour-date,
a.button-previous.previous-personal,
.phone-title,
.tour-title,
.childcarecrm-form__pst-type-display>label,
.modal-content .childcarecrm-form #tour-booking-form-step .childcarecrm-form__back-button,
.modal-dialog--schedule-tour .childcarecrm-form__control--date span {
    display: none;
}



#childcarecrm-ninja-form form>#tour-booking-form-step.childcarecrm-form__step .childcarecrm-form__group.childcarecrm-form__group--tour-child>.childcarecrm-form__field {
    display: block;
}

/* responsive */
@media (max-width: 1024px) {

    .contact-us-tour .contact-form .childcarecrm-form .childcarecrm-form__field+.childcarecrm-form__group,
    .childcarecrm-form .childcarecrm-form__field:nth-child(5)+.childcarecrm-form__group,
    .contact-us-tour .childcarecrm-form .childcarecrm-form__group.childcarecrm-form__group--tour-child[style="display: block;"] {
        width: 49%;
    }

}

@media screen and (max-width:991px) {
    .contact-us-tour .modal-content {
        height: auto;
    }

    .contact-us-tour .modal-dialog-centered {
        width: 100%;
        padding: 0 28px;
    }

    .contact-us-tour .contact-form-content.modal-content {
        margin: 0;
    }

    .contact-us-tour .main-tab-section>.main-tab {}

    .contact-us-tour .modal-dialog-centered form.childcarecrm-form .fc-view-container th {
        display: table-cell !important;
    }

    .contact-us-tour p.form-tab-2-text {
        margin-bottom: 25px;
    }

    .contact-us-tour .contact-form-content.modal-content .personal-details .form-container {
        display: flex;
        flex-wrap: wrap;
    }

    .contact-us-tour .contact-form-content.modal-content .personal-details .form-container .form-group {
        flex: 0 0 calc(50% - 13px);
        margin: 0;
        display: flex;
        text-align: left;
        flex-direction: column;
        gap: 9px;
    }

    .contact-us-tour .contact-form-content.modal-content .personal-details .form-container .form-group:nth-child(5),
    .contact-us-tour .contact-form-content.modal-content .personal-details .form-container .form-group:nth-child(6) {
        flex: 0 0 100%;
    }

    .contact-us-tour .contact-form-content.modal-content .personal-details .form-container .form-group select {
        max-width: 100%;
    }

    .contact-us-tour .modal-dialog-centered .crm-container {
        max-width: 80%;
    }

    #childcarecrm-ninja-form .childcarecrm-form__field.childcarecrm-form__expected-start-date label {
        display: none;
    }

    .contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__group>div>input.childcarecrm-form__control--date-single.childcarecrm-form__expected-start-date.childcarecrm-form__control.form-control.input,
    #childcarecrm-ninja-form .childcarecrm-form__control--date.childcarecrm-form__date-of-birth.childcarecrm-form__control select {
        width: 100%;
    }

    .contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__group {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        margin: 0 -6px;
    }

    .contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__group>div {
        flex: 0 0 50%;
        padding: 7px 6px !important;
        width: 50%;
    }


    .contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__group>div.childcarecrm-form__tour-child-toggle.childcarecrm-form__tour-child-toggle--remove,
    .contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__group>div.childcarecrm-form__tour-child-toggle.childcarecrm-form__tour-child-toggle--add {
        flex: 0 0 100%;
    }

    .contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step>.childcarecrm-form__group {
        width: 100%;
        display: block;
        margin-top: 20px;
    }


    .contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__group[data-disabled="false"] {
        display: flex !important;
    }

    .contact-us-tour .contact-form-content.modal-content form.childcarecrm-form.tab3 {
        margin: 0 0 -20px;
    }

    .contact-us-tour .custom-email-form-field .custom-field-align>* {
        width: calc(50.33% - 14px);
    }
}


@media (max-width: 767px) {
    .contact-us-tour #tour-booking-form-step>.childcarecrm-form__group {
        flex-direction: column;
    }

    .contact-us-tour .contact-form-content.modal-content .personal-details .form-container .form-group {
        flex: 100%;
    }

    .contact-us-tour .childcarecrm-form .childcarecrm-form__field.childcarecrm-form__expected-start-date input,
    .contact-us-tour .contact-form .childcarecrm-form .childcarecrm-form__field+.childcarecrm-form__group,
    .childcarecrm-form .childcarecrm-form__field:nth-child(5)+.childcarecrm-form__group,
    .contact-us-tour .childcarecrm-form .childcarecrm-form__group.childcarecrm-form__group--tour-child[style="display: block;"],
    .contact-us-tour .custom-email-form-field .custom-field-align>* {
        width: 100%;
    }

    .contact-us-tour #tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__field {
        width: 100% !important;
    }

    .contact-us-tour #tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__field select {
        max-width: 100%;
    }

    .contact-us-tour .modal-dialog-centered .h3 {
        line-height: 140%;
    }

    .contact-navigation-controls a.button-previous {}
}

@media screen and (max-width:620px) {

    .contact-navigation-controls a.button-previous {
        position: relative;
        transform: unset;
        margin-right: auto;
        top: 0 !important;
    }

    .contact-navigation-controls {
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
        gap: 26px;
    }

    .contact-us-tour ul.checkbox-list {
        grid-template-columns: 1fr;
    }

    .contact-us-tour textarea#additional_info,
    .contact-us-tour textarea {
        max-width: 100%;
    }
}

@media screen and (max-width:537px) {
    .contact-us-tour label.form-label[for="help_options"] {
        padding: 15px 0 20px;
    }

    .contact-us-tour textarea#additional_info,
    .contact-us-tour textarea {
        margin-top: 10px;
        height: 78px;
    }

    .contact-us-tour .main-tab-section>.main-tab {}

    .title.text-center.h3.h3--modal.display-block.h3-new-font.margin-bottom-10 {
        margin: 15px 0;
    }

    .contact-us-tour .modal-dialog-centered form.childcarecrm-form .fc-view-container {
        padding: 25px 48px 33px;
    }

    .contact-us-tour .modal-dialog-centered .fc-button-group button.fc-prev-button.fc-button.fc-button-primary {}

    .contact-us-tour .modal-dialog-centered .fc-button-group button.fc-next-button.fc-button.fc-button-primary {}

    .contact-us-tour .modal-dialog-centered .crm-container {
        max-width: 90%;
    }

    #childcarecrm-ninja-form .childcarecrm-form__control--date.childcarecrm-form__date-of-birth.childcarecrm-form__control select {
        padding: 0 9px;
        background-size: 10px;
    }
}


@media screen and (max-width:375px) {
    .contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__group>div:last-child>button {
        height: inherit;
        display: flex;
        gap: 10px;
    }

    .contact-us-tour .contact-form-content.modal-content div#childcarecrm-ninja-form form.childcarecrm-form.tab3 div#tour-booking-form-step>.childcarecrm-form__group>.childcarecrm-form__group>div:last-child {
        height: 224px;
    }

    .childcarecrm-form .childcarecrm-form__tour-child-toggle.childcarecrm-form__tour-child-toggle--add button:after {
        height: 60px;
        background-size: 50px;
        width: 100%;
    }

}

@media screen and (max-width:340px) {
    .contact-us-tour .modal-dialog-centered form.childcarecrm-form .fc-view-container {
        width: 90%;
        margin: auto;
    }

    .contact-us-tour .modal-dialog-centered .fc-button-group button.fc-prev-button.fc-button.fc-button-primary {
        left: -15px;
    }

    .contact-us-tour .modal-dialog-centered .fc-button-group button.fc-next-button.fc-button.fc-button-primary {
        right: -15px;
    }
}