@import url('https://fonts.googleapis.com/css2?family=Rethink+Sans:ital,wght@0,400..800;1,400..800&display=swap');
*{
    box-sizing: border-box;
}
body{
    margin: 0;
    font-family: "Rethink Sans", sans-serif;
}
p{
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}
li:not(:last-child),
p:not(:last-child){
    margin-bottom: 8px;
}
a{
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
}

/* @media only screen and (max-width: 991px){
    p{
        font-size: 16px;
    }
} */
.hide {
    display: none;
}
.section_padding{
    padding: 20px 0;
}
.patient-header{
    width: 100%;
    z-index: 999;
    padding: 18px 0;
    position: relative;
    background-color: #fff;
}
.patient-header img{
    max-width: 150px;
    width: 100%;
}
.site-logo p{
    color: #373843;
    padding-top: 5px;
}
.site-logo p:last-of-type {
    font-size: 13px;
}
.patient-page-top-content h1{
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3em;
    color: #3741a2;
    margin-bottom: 8px;
}
.instruction_patient h2 {
    font-size: 22px;
    font-weight: 600;
    color: #3741a2;
    line-height: 1.3em;
}
.patient-page-top-content p{
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #373843;
    margin-bottom: 20px;
}
.patient-page-top-content p a{
    color: #3741a2;
    font-weight: 600;
}
.patient-page-top-content p a:hover{
    color: #373843;
}
.patient-form-inner {
    width: 100%;
    display: inline-block;
    vertical-align: top;
}
.patient-form-inner:not(:last-child),
.row .patient-form-inner {
    margin-bottom: 15px;
}
.form-title-main{
    margin-bottom: 12px;
}
.form-title-main h3, .form-title-main.radio-option-input label {
    color: #3741a2;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 !important;
}
.form-title-main h3:not(:last-child){
    margin-bottom: 10px
}
.form-title-main.radio-option-input label::before, .form-title-main.radio-option-input label::after {
    top: 6px;
}
.form-title-main h5{
    color: #373843;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5em;
}
.form-title-main p{
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #373843;
}
.form-field-row:not(:last-of-type){
    margin-bottom: 15px
}
.form-notice-text p{
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #f00;
    text-align: right;
}
.form-row-input input{
    width: 100%;
    max-width: 80%;
    font-size: 14px;
    font-weight:500;
    color: #000;
    border-radius: 4px;
    border: 1px solid #aaa;
    padding: 4px 10px;
    outline: none;
}
label.error {
    display: none;
    color: #ff0000;
    margin: 0;
    font-size: 14px;
}
.modal-form-row label {
    width: 100%;
}
.form-row-input input::placeholder{
    opacity: 0;
}
.form-row-label label{
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    color: #373843;
    margin: 0 !important;
}
.form-title-main h5 span,
label span{
    color: #f00
}
.form-row-input .radio-option-input {
    display: flex;
    align-items: center;
    column-gap: 12px;
    flex-wrap: wrap;
}
.form-row-input input[type="checkbox"],
.form-row-input input[type="radio"]{
    width: fit-content;
}
.form-radio-row  input + label{
    margin-bottom: 0
}
.form-row-input:has(.radio-option-input){
    display: flex;
    align-items: center;
    column-gap: 24px
}
.form-all-checkbox-list{
    column-count: 2;
    width: 100%;
}
.checkbox-option-input{
    margin-bottom: 12px
}
.form-row-input:has(.checkbox-option-input) input + label{
    margin-bottom: 0
}
/*.form-all-checkbox-list{
    margin: 12px 0;
}*/
.checkbox-other-field {
    display: flex;
    align-items: center;
    gap: 16px;
}
.checkbox-other-field label {
    margin: 0;
}
.checkbox-other-field input {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    border-radius: 4px;
    border: 1px solid #aaa;
    padding: 4px 10px;
    outline: none;
    max-width: 300px;
    width: 100%;
}
.form-row-label p a{
    color: #3741a2;
    word-break: break-all;
}
.form-submit {
    text-align: center;
    padding: 10px 0 30px;
}
.form-submit button,
.modal_form_btn {
    font-size: 16px;
    font-weight: 700;
    text-transform: capitalize;
    border-radius: 60px;
    transition: all 0.4s;
    padding: 14px 40px;
    line-height: 1.5;
    text-align: center;
    background: #3741a2;
    color: #ffffff;
    border: 2px solid #3741a2;
    max-width: 200px;
    width: 100%;
    text-transform: uppercase;
}
.form-submit button:hover,
.modal_form_btn:hover {
    background-color: transparent;
    color: #3741a2;
}
.form-contact-input input {
    max-width: max-content;
}
/* .input-child {
    display: none !important;
}
.input-parent:checked ~ .input-child {
    display: flex !important;
} */

@media only screen and (max-width: 1200px){
    .patient-page-top-content h1{
        font-size: 26px;
    }
}
@media only screen and (max-width: 1024px){
    .patient-page-top-content h1{
        font-size: 24px;
    }
    .section_padding{
        padding: 30px 0;
    }
}
@media only screen and (max-width: 991px){
    .section_padding{
        padding: 20px 0;
    }
    .patient-page-top-content h1{
        font-size: 22px;
    }
    .form-title-main h3, .form-title-main.radio-option-input label{
        font-size: 22px;
    }
    .modal-form-row .form-submit button {
        padding: 10px 35px;
    }
}
@media only screen and (max-width: 767px){
    .container, .container-sm{
        max-width: 100%;
        padding: 0 30px;
    }
    .patient-page-top-content h1{
        font-size: 20px;
    }
    .form-title-main h3, .form-title-main.radio-option-input label {
        font-size: 20px;
    }
}
@media only screen and (max-width: 600px){
    .form-row-input input{
        max-width: 90%;
    }
}
@media only screen and (max-width: 575px){
    .form-title-main h3, .form-title-main.radio-option-input label {
        font-size: 18px;
        line-height: 1.5;
    }
    .form-row-input input{
        max-width: 100%;
    }
    .form-field-row .col-12:first-of-type, .form-field-row .col-6 {
        margin-bottom: 12px;
    }
}
.radio-option-input {
    position: relative;
}
.radio-option-input input[type="radio"],
.radio-option-input input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
    z-index: 99;
}
.radio-option-input label {
    padding-left: 25px;
    position: relative;
    font-size: 16px;
}
.radio-option-input label::before, .radio-option-input label::after {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50px;
    border: 2px solid #373843;
    background: transparent;
    position: absolute;
    top: 3px;
    left: 0;
}
.checkbox-option-input label::before, .checkbox-option-input label::after{
    width: 15px;
    height: 15px;
}
.radio-option-input:not(.checkbox-option-input) label::after {
    width: 9px;
    height: 9px;
    top: 6px;
    left: 3.1px;
    background-color: #3741a2;
    border-color: #3741a2;
    opacity: 0;
}
.radio-option-input input[type="radio"]:checked+label::after,
.checkbox-option-input input[type="checkbox"]:checked+label::after {
    opacity: 1;
}
.radio-option-input input[type="radio"]:checked+label::before {
    border-color: #3741a2;
}
/* checkbox */
.checkbox-option-input label::before, .checkbox-option-input label::after {
    border-radius: 0;
}
.checkbox-option-input label::after {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    border: none;
    font-size: 11px;
    text-align: center;
    color: #fff;
    background-color: #3741a2;
    opacity: 0;
}
@media only screen and (max-width: 575px){
    .radio-option-input label::before, .radio-option-input label::after{
        border-width: 1px;
    }
    .radio-option-input label {
        font-size: 14px;
    }
}
/* Footer Css */
footer.form-footer {
    background: #3741a2;
    padding: 25px 0;
}
.footer-col-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.footer-col-1 p{
    color: #fff;
}
.footer-col-1 a {
    color: #fff;
    transition: all 0.4s;
}
.footer-col-1 a:hover {
    color: #1e73be;
    text-decoration: none;
}
/* Footer Css */
@media only screen and (min-width: 768px){
    .wi-50 {
        width: 50%;
        float: left;
    }
    .wi-50:nth-child(odd) {
        padding-right: 15px;
    }
    .wi-50:nth-child(even) {
        padding-left: 15px;
    }
}
.patient-form input[type="date"] {
    position: relative;
}
.patient-form input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    left: 0;
    width: calc(100% - 10px);
    background-position: right;
}
/* Form Modal */
.form_modal .form-logo {
    text-align: center;
    padding: 0 0 30px;
}
.form_modal h3 {
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 10px;
}
.form_modal h2{
    text-align: center;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.3;
    margin: 0 0 20px;
}
.modal_form_contant .form_b {
    border-bottom: 1px solid #000;
}
.modal_form_contant p {
    margin: 0 0 20px;
}
.form_p_text {
    margin-bottom: 20px;
}
.form_input_text {
    text-align: center;
}
.modal_form_contant input, .form-contact-input input {
    border: none;
    border-bottom: 1px solid #000;
    width: 100%;
    outline: none;
    padding: 0 8px;
    font-weight: bold;
}
.modal_form_contant label {
    margin: 0;
}
.form_input_design, .form_left_label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}
.form_design {
    padding: 20px 0 80px;
}
.modal-header, .modal-footer {
    border: 0;
}
.modal_form_footer {
    margin: 30px 0 10px;
    display: inline-block;
    vertical-align: top;
    width: 100%;
}
.modal-footer {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.modal-body {
    padding-top: 0;
}
.form_modal {
    padding: 0 36px;
}
.form_sign {
    margin-left: 0;
    margin-right: 0;
}
.form_sign>* {
    padding: 0;
    margin: 0 0 10px;
}
.form_sign label {
    width: 100%;
}
.form_sign input {
    width: calc(100% - 10px);
    text-align: center;
}
/* Consent For Treatment */
.modal_form_contant ul {
    margin: 0;
}
.modal_form_contant li {
    margin: 0 0 6px;
}
.modal_form_contant ul + p {
    margin-top: 16px;
}
ul.modal_form_list {
    list-style: decimal;
    padding-left: 18px;
}
.modal_form_list li {
    padding-left: 6px;
    margin: 0 0 16px;
}
.form_left_label label {
    float: left;
    width: 100%;
    max-width: fit-content;
}
.left_label_footer>* {
    margin: 0 0 16px;
}
/* Financial Policy Form */
.modal_form_box {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    border: 1px solid #000;
    padding: 25px 25px 5px;
    margin: 20px 0;
}
@media only screen and (max-width: 1199px) {
    .form_modal {
        padding: 0 16px;
    }
    .footer-col-1{
        justify-content: space-around;
    }
}
@media only screen and (max-width: 991px) {
    .form_sign>*:nth-child(2n + 2) span {
        display: none;
    }
}
@media only screen and (max-width: 767px) {
    .form_modal h3 {
        font-size: 17px;
    }
    .form_input_design, .form_left_label {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .form_input_design .form_input_text {
        width: calc(100% - 12px);
    }
    .modal_form_footer {
        margin: 20px 0 10px;
    }
}
@media only screen and (max-width: 575px) {
    .form_sign>* span {
        display: none;
    }
    .form_modal h2 {
        font-size: 20px;
    }
    .form_modal {
        padding: 0 5px;
    }
    .modal_form_box {
        padding: 18px 16px 0;
    }
    .modal_form_contant ul {
        padding-left: 20px;
    }
}
@media only screen and (max-width: 1199px) and (min-width: 992px) {
    .modal-dialog {
        max-width: 900px;
    }
}
@media only screen and (max-width: 991px) and (min-width: 768px) {
    .modal-dialog {
        max-width: 750px;
    }
}
@media only screen and (min-width: 768px) {
    .form_input_design {
        margin: 0 0 20px;
    }
    .modal_form_contant p, .modal_form_contant li {
        font-size: 18px;
    }
}

/* read more/less  css */
.form-title-main p:not(:last-child) {
    margin-bottom: 16px;
}
.morecontent span {
    display: none;
}
.more-text{
    display: none;
}
a.read-more {
    line-height: 1.6;
    color: var(--Teal_blue);
    font-weight: 600;
}
.form-content{
    max-height: 400px !important;
    padding: 0 10px 0 0 !important;
    display: inline-block;
}
.form-content .scrollbar-active {
    max-height: 240px !important;
    overflow-y: scroll;
}
.form-content .read-more-scroll {
    padding-right: 8px !important;
}
.form-submit button[value="Sign"]{
    background-color: transparent;
    color: #3741a2;
}
@media only screen and (max-width: 767px){
    .dr_description.scroll-content{
        height: auto !important;
    }
}
.form_title {
    background-color: #3741a2;
    padding: 20px 0;
}
.form_title .form-title-main {
    margin-bottom: 0;
}
.form_title .form-title-main h3 {
    color: #fff;
    text-align: center;
    line-height: 1;
}
.form-content-wrapper:not(:last-of-type) {
    margin-bottom: 20px;
}
@media only screen and (max-width: 401px){
    .footer-col-1 .form_address{
        width: 100%;
        max-width: 200px;
    }
}
/*New Form Design*/
.contact-form-group {
    width: 100%;
    /* padding: 0 4px; */
    margin: 0 0 12px;
    display: flex;
}
.contact-form-group label {
    margin-bottom: 0;
    width: 100%;
    max-width: max-content;
    margin-right: 5px;
    white-space: nowrap;
    font-size: 16px;
}
.contact-form-group input, .contact-form-group textarea {
    background: rgba(244, 255, 116, .3);
    height: auto;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    padding: 1px 2px;
    border: none;
    border-bottom: 1px solid #000;
    border-radius: 0;
    outline: none;
    z-index: 99;
    position: relative;
}
.statement-text p {
    font-size: 14px;
    line-height: 1.3;
}
.form-label-title p {
    color: #3741a2;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    padding-bottom: 8px;
    padding-top: 8px;
}
.physician-text .contact-form-group {
    padding-bottom: 10px;
}
.physician-text .contact-form-group label {
    max-width: 40%;
    white-space: break-spaces;
}
.physician-text .contact-form-group input {
    max-width: 60%;
}
.form-row-input.input-child {
    padding-left: 30px;
    width: 100%;
}
.input-child .form-all-checkbox-list {
    column-count: 1;
}
.input-child .form-all-checkbox-list .radio-option-input {
    margin-bottom: 0;
}
.radio-option-input.checkbox-option-input.contact-form-group.other-textarea {
    padding: 0;
    flex-wrap: nowrap;
    column-gap: 2px;
    flex-direction: column;
    align-items: flex-start;
}
.other-textarea textarea{
    max-width: 100%;
    width: 100%;
}
@media only screen and (max-width: 991px){
    .form-label-title p{
        font-size: 16px;
    }
}
@media only screen and (max-width: 767px){
    .patient-page-top-content {
        padding-top: 20px;
    }
}
@media only screen and (max-width: 575px){
    .contact-form-group label{
        font-size: 14px;
    }
    .contact-form-group.date-time {
        display: block;
    }
    .date-time label{
        padding-bottom: 5px;
    }
}

form input[type="datetime-local"],
form input[type="date"] {
	    position: relative;
	}
form input[type="datetime-local"]::-webkit-calendar-picker-indicator,
form input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    left: 0;
    width: calc(100% - 10px);
    background-position: right;
}
 

/* Header */
.site-logo a img {
    display: inline-block;
    width: 100%;
    max-width: 200px;
    margin-bottom: 24px;
}
.doctor-field label font {
    font-size: .9em;
    font-weight: 400;
}
.doctor-field label {
    font-weight: 600;
    font-size: 16px;
}
.doctor-field {
    display: flex;
    flex-wrap: wrap;
}
.doctor-field > div {
    max-width: calc(50% - 12px);
    width: 100%;
    margin-bottom: 0;
}
.doctor-field > div:first-child {
    padding-right: 12px;
    margin-right: 12px;
    border-right: 1px solid #3741a2;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.contact-info{
    max-width: calc(50% - 24px);
    width: 100%;
}
.contact-info:first-child {
    padding-right: 24px;
    margin-right: 24px;
    border-right: 1px solid #3741a2;
}
.contact-info a img {
    width: 15px;
    min-width: 15px;
    height: auto;
}
.contact-info a {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3741a2;
}


.appointment-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.location-selection {
    min-width: 200px;
}
.location-selection .checkbox-option-input {
    margin: 0;
}
.border-top-2{
    padding-top: 20px;
    margin-top: 20px;
    border-top: 2px solid #3741a2;
    width: 100%;
}
.rf-redio-main-section {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    padding: 10px 0;
    border: 1px solid;
    max-width: 520px;
    width: 100%;
    border-radius: 15px;
    margin: 20px 0;
}

.rf-radio-section-main {
    display: inline-block;
    position: relative;
    width: 100%;
    max-width: 415px;
    margin: 0 auto;
}

.rf-radio-section-main::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #212529;
}

.rf-radio-section-main::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #212529;
}

.rf-radio-content {
    height: 20px;
    width: 20px;
    display: inline-block;
    vertical-align: top;
    position: relative;
    float: left;
}

.rf-radio-content:not(:last-child) {
    margin-right: 5px;
}

.rf-radio-content input {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.rf-radio-content input:checked+h2 {
    background: #3741a2;
    color: #fff;
}

.rf-radio-content h2 {
    width: 100%;
    height: 100%;
    font-size: 14px;
    text-align: center;
    border-radius: 5px;
    line-height: 20px;
    font-family: 'Roboto Condensed', sans-serif;
}

.rf-radio-section {
    display: inline-block;
    float: left;
    padding: 0 10px;
}

.rf-radio-section:first-child,
.rf-radio-section-main-two .rf-radio-section:nth-child(2) {
    padding-bottom: 15px;
}

.rf-radio-section-main-first {
    margin: 0 0 10px;
}

body .rf-radio-section-main-two {
    max-width: 280px;
}
.rf-radio-section-main-first .rf-radio-section {
    width: 50%;
    padding: 10px 0px !important;
}
.rf-radio-section-main-first.rf-radio-section-main::before {
    left: calc(50% - 7px);
}


label.error {
    position: absolute;
    bottom: -5px;
    font-size: 12px;
}

@media only screen and (max-width: 1200px){
    .contact-info:first-child{
        padding-right: 12px;
        margin-right: 12px;
    }
    .doctor-field > div:first-child{
        padding: 0;
        margin: 0;
        border: 0;
    }
    .doctor-field > div{
        max-width: 100%;
    }
    .form-all-checkbox-list{
        list-style: 3;
    }
}
@media only screen and (max-width: 991px){
    .contact-info:first-child{
        padding: 0;
        margin: 0;
        border: 0;
    }
    .contact-info{
        max-width: 100%;
    }
    .appointment-detail{
        gap: 6px;
        flex-wrap: wrap;
    }
    .location-selection label {
        margin-bottom: 0;
    }
    .location-selection .contact-info:not(:last-child){
        margin-bottom: 12px;
    }
}
@media only screen and (max-width: 768px){
    .form-all-checkbox-list{
        column-count: 2;
    }
}
@media only screen and (max-width: 575px){
    .form-all-checkbox-list{
        column-count: 1;
    }
}
@media only screen and (max-width: 480px){
    .rf-radio-section-main-first .rf-radio-content h2 {
        font-size: 10px;
    }
    .rf-radio-section-main-first .rf-radio-content {
        width: 12px;
        height: 12px;
    }
}