.contact-form-section {
    background: var(--bg-gradient-light-blue);
    margin-bottom: 100px;
    padding-bottom: 50px;
    padding-top: 50px;
    margin-top: 50px;
}

.contact-form-section .form-row {
    max-width: 1300px;
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
}

.contact-form-section h2 {
    text-align: center;
    padding-bottom: 30px;
}

.form-control {
    background: var(--primary-white-color);
    padding: 15px 27px;
    border-radius: 0;
    box-shadow: none;
    height: 67px;
    border: 1px solid var(--primary-black-color);
    font-size: var(--base-font-size);
    max-width: 100%;
}



.jcf-select {
    display: flex;
    height: 67px;
    cursor: pointer;
}

.form-control:focus {
    border-color: var(--primary-white-color);
    color: var(--primary-black-color);
}

.bvphoneerror,
.invalidemailreg,
.invalidemailcar {
    display: none;
}


/* jcf */
.jcf-hidden,
.jcf-select select {
    appearance: none;
    position: absolute !important;
    left: -9999px !important;
    height: 1px !important;
    width: 1px !important;
    margin: 0px !important;
    border-width: 0px !important;
}

.jcf-select-drop,
.jcf-select {
    --jcf-radius: 0;
}

.specialty-field .jcf-select {
    display: flex;
}

.jcf-unselectable {
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    border: 1px solid var(--primary-black-color);
}

.jcf-select-opener {
    background-color: var(--primary-white-color);
    width: 67px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jcf-select-text {
    flex: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-white-color);
    padding: 15px 27px;
    border-radius: 0;
    box-shadow: none !important;
    font-size: var(--base-font-size);
}

.jcf-select-text>span {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.jcf-select-drop {
    overflow: hidden;
    z-index: 5;
    border-radius: 0;

}

.jcf-list-content {
    display: inline-block;
    overflow: auto;
    width: 100%;
    vertical-align: top;
}

.form-group {
    margin-bottom: 20px;
}

.jcf-select-drop:not(.jcf-drop-flipped) .jcf-list-content {
    border-top: 0;
}

.jcf-select-drop.jcf-drop-flipped .jcf-list-content {
    border-bottom: 0;
}

.jcf-drop-active:not(.jcf-drop-flipped) {
    border-top-left-radius: var(--jcf-radius);
    border-top-right-radius: var(--jcf-radius);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 0;
}

.jcf-drop-active.jcf-drop-flipped {
    border-bottom-left-radius: var(--jcf-radius);
    border-bottom-right-radius: var(--jcf-radius);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 0;
}

.jcf-select-drop:not(.jcf-drop-flipped) {
    border-bottom-left-radius: var(--jcf-radius);
    border-bottom-right-radius: var(--jcf-radius);
}

.jcf-select-drop.jcf-drop-flipped {
    border-top-left-radius: var(--jcf-radius);
    border-top-right-radius: var(--jcf-radius);
}

.jcf-select-drop:not(.jcf-drop-flipped) {
    border-top: 0;
}

.jcf-select-drop.jcf-drop-flipped {
    border-bottom: 0;
}

.jcf-list-content>ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jcf-option {
    padding: 8px .9583333333rem;
    display: flex;
    color: var(--text-color);
    background-color: var(--primary-white-color);
}

.jcf-hover {
    cursor: pointer;
}

.jcf-hover,
.jcf-selected {
    background-color: var(--primary-blue-color);
    color: var(--primary-white-color);
}

.jcf-select .jcf-select-opener:after {
    width: 38px;
    height: 30px;
    display: block;
    content: '';
    background: url('../images/icons/icon-blue-down-arrow.png') no-repeat;
    background-size: contain;
    transition: all .2s;
}

.jcf-drop-active .jcf-select-opener:after {
    transform: rotate(180deg);
}

.dob-fields {
    display: flex;
    gap: 10px;
}

.dob-fields .form-group {
    flex: 1;
}

.dob-fields .form-control {
    width: 100%;
}

.dob-fields .jcf-select {
    width: 100%;
}

@media (max-width: 991px) {

    .jcf-select-drop,
    .jcf-select {
        --jcf-radius: 0;
    }

    .jcf-select {
        font-size: 11.5px;
        height: 45px;
    }

    .dob-month {
        min-width: 100%;
    }

    .dob-fields {
        flex-wrap: wrap;
    }

    .dob-fields .dob-day,
    .dob-fields .dob-year {
        max-width: 50%;
    }
}

.age-validation-error {
    display: none;
    font-size: 16px;
    color: var(--danger-color);
}

.age-validation-error.active {
    display: block;
}

.age-validation .age-validation-error {
    display: block;
}

.dob-fields .jcf-select-opener {
    padding-left: 0.4rem;
}

.dob-fields .jcf-select-opener {
    border-left: 0;
}

.patient-form-submit {
    border: none;
    appearance: none;
    width: 350px;
    height: 66px;
    margin-inline: auto;
    padding-inline: 20px;
}

.patient-form-submit:focus {
    outline: none;
}

@media (max-width: 576px) {
    .patient-form-submit {
        height: 40px;
    }
}

.custom-checkbox-label-label span a {
    text-decoration: underline;
}

.button__container {
    position: relative !important;
    margin-bottom: 50px;
}

.was-validated .form-control:invalid,
.was-validated select:invalid~.jcf-select {
    border-color: var(--danger-color);
}

.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 68px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    margin-top: 50px;
}

.custom-checkbox a {
    text-decoration: underline;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 25px;
    width: 25px;
    z-index: 999;
    left: 0;
}

.checkmark {
    position: absolute;
    top: 6px;
    left: 0px;
    height: 45px;
    width: 45px;
    background-color: var(--primary-white-color);
    border: 1px solid var(--primary-black-color);
}

.custom-checkbox-label-label::before,
.custom-checkbox-label-label::after {
    display: none;
}

.custom-checkbox input:checked~.checkmark {
    background-color: var(--primary-blue-color);
}

.custom-checkbox .checkmark:after {
    left: 12px;
    top: 0px;
    width: 18px;
    height: 32px;
    border: solid var(--primary-white-color);
    border-width: 0 5px 5px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.page-contact .content-container+.content-container>.component-content {
    padding-top: 0;
}

.tab-details {
    padding-inline: 15px;
}

@media (max-width: 576px) {

    .form-control,
    .jcf-select {
        height: 40px;
    }

    .jcf-select-opener {
        width: 40px;
    }
}

.form-control.feedback-invalid,
.jcf-hidden.feedback-invalid+.jcf-unselectable,
.custom-checkbox .feedback-invalid~.checkmark,
.custom_radio .feedback-invalid+span,
.dob-invalid .dob-month .jcf-unselectable,
.dob-invalid .dob-day .jcf-unselectable{
    border: 1px solid var(--danger-color);
}

.error-msg.active {
    color: var(--danger-color);
}

.form-group .error-msg {
    padding-left: 68px;
}

.radio-btn-grp {
    display: flex;
    gap: 70px;
}

.custom_radio span {
    display: flex;
    border: 1px solid var(--primary-black-color);
    padding: 12px 40px;
    background: var(--primary-white-color);
    cursor: pointer;
}

.custom_radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 25px;
    width: 25px;
    z-index: 999;
    left: 0;
}

.custom_radio input[type="radio"]:checked+span {
    background-color: var(--primary-blue-color);
    color: var(--primary-white-color);
}

input:-internal-autofill-selected {
    background-color: red !important;
}

@media (max-width: 767px) {
    .form-group:nth-child(odd) {
        padding-right: 0px;
    }

    .radio-btn-grp {
        gap: 20px;
    }

    .custom_radio span {
        padding: 12px 55px;
    }

    .jcf-select .jcf-select-opener:after {
        width: 18px;
        height: 20px;
    }

    .checkmark {
        height: 30px;
        width: 30px;
    }

    .custom-checkbox {
        padding-left: 46px;
    }

    .patient-form-submit {
        width: 145px;
    }

    .quantum-button--primary:after {
        right: 5px;
        background-size: 31px;
    }

    .form-group .error-msg {
        padding-left: 50px;
    }

    .contact-form-section {
        padding-inline: 20px;
    }

    .custom-checkbox .checkmark:after {
        left: 9px;
        top: 1px;
        width: 13px;
        height: 20px;
    }

    .contact-form-section h2 {
        padding-bottom: 0px;
    }

    .custom-checkbox {
        margin-top: 0px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1180px) {
    .form-group:nth-child(odd) {
        padding-right: 0px;
    }

    .radio-btn-grp {
        gap: 20px;
    }

    .custom_radio span {
        padding: 10px 55px;
    }

    .jcf-select .jcf-select-opener:after {
        width: 18px;
        height: 20px;
    }

    .checkmark {
        height: 30px;
        width: 30px;
    }

    .custom-checkbox {
        padding-left: 46px;
    }

    .patient-form-submit {
        width: 315px;
    }

    .quantum-button--primary:after {
        right: 5px;
        background-size: 31px;
    }

    .form-group .error-msg {
        padding-left: 50px;
    }

    .contact-form-section {
        padding-inline: 20px;
    }

    .form-control {
        height: 40px;
    }

    .dob-fields .jcf-select {
        width: 100%;
        height: 45px;
    }

    .custom-checkbox .checkmark:after {
        left: 9px;
        width: 13px;
        height: 22px;
    }

    .contact-form-section h2 {
        padding-bottom: 0px;
    }

    .custom-checkbox {
        margin-top: 0px;
    }
}


