@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

:root{
    --spacing: .25rem;
    --color-white:#fff;
    --main-text-color:#1f3e5b;
    --radius-lg: .5rem;
    --grey-text-color:#8c8885;
    --button-bg-hover:#162b40;
}

html {
  font-size: 16px;
}

body{
font-family: "Lora", serif;
  font-optical-sizing: auto;
  overflow-x: hidden;
}

.bmi-input-container .height-row{
    flex-direction: column;
}

.bmi-label-inline{
    color: var(--main-text-color);
    font-size: 1rem;
    margin-bottom: .25rem;
}

.question-group-card .card-body .text-heading,
.bmi-label-inline{
    font-size: 1.5rem;
    line-height: 1.35;
    font-weight: 400;
    color: var(--main-text-color);
    font-family: Lora, sans-serif;
    display: block;
}

.bmi-field, .form-control-custom, select, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"] {
    padding: 14px 18px;
    /* border: 2px solid #DDE3EE; */
    /* border-radius: 14px; */
    font-size: 15px;
    background-color: #fff;
    color: var(--main-text-color);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    height: 50px;
    border-radius: 3px;
    border: 1px solid #a3b0bc !important;
}

.question-title .title{
    margin-top: 0;
}

h2,h3,h4,h5,h6,p,
p.ui-question.ui-question-subtext.text-left.size-lg.mt-2{
    margin-top: 1rem !important;
}

.question-group-card .options-grid{
    margin-top: 1rem;
}

.question-title .title + div{
    margin-top: 1.5rem;
    font-size: 1.5rem;
}

.option-card.image-card{
    cursor: pointer;
    border: 1px solid #a3b0bc;
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 4);
    border-radius: .25rem;
}

option-card.image-card.selected {
    /* border: 2.5px solid #2563EB; */
    background-color: #EEF4FF;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.15);

    box-shadow: 0 0 0 2px #5c97ce;
    border-color: #0000;
}

.question-group-card .ui-subheader,
.ui-subheader,
h2.question-title{
    font-size: 1.125rem;
    line-height: 1.563;
    color: var(--main-text-color);
}

.full-center-wrapper,
.full-center-wrapper.container,
.main-questionnaire-container {
    max-width: 100%;
    width: 100% ;
    margin: 0 auto ;
    padding-left: 0 ;
    padding-right: 0 ;
}

.full-center-wrapper.container .main-questionnaire-container{
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* h3.ui-question.text-left.size-lg.mt-4{
    font-size: 1.625rem;
    line-height: 2rem;
    color: var(--main-text-color);
    font-weight: 400;
} */


/***********************/

.question-title .title,
p.ui-subheader,
.main-title,
#main-title{
    font-size: 1.875rem !important;
    /* letter-spacing: 0.25em; */
    color: var(--main-text-color) !important;
    line-height: calc(2.25 / 1.875) !important;
    font-weight: 400 !important;
}

.main-title-small,
#main-title-small,
.frm-label,
h3.ui-question.text-left.size-lg.mt-4{
    font-size: 1.5rem !important; /*24px*/ 
    /* letter-spacing: 0.25em; */
    color: var(--main-text-color) !important;
    line-height: 2rem !important; /*32px*/
    font-weight: 400 !important; 
}

.main-title-accent,
.title-accent{
    color:#5c97ce !important;
}



.main-subtitle{
    font-size: 1.125rem !important;
    line-height: 1.563 !important;
    color: var(--main-text-color) !important;
    font-weight: 300 !important;
}

.no-margin{
    margin: 0 !important;
}

.mt-1rm{
    margin-top: 1rem !important;
}
.mt-half{
    margin-top: .5rem !important;
}

.mb-half{
    margin-bottom: .5rem !important;
}

.mb-1rm{
    margin-bottom: 1rem !important;
}

.form_height_feet{
    font-size: 1.5rem;
    line-height: 2rem;
    color: var(--main-text-color);
    font-weight: 400;
}

#text-xl,
.text-xl{
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 400;
    color: #000;
}

.text-xl .bold{
    font-weight: 700;
}

.font-general, 
#font-general{
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 200;
    color: #7d8fa0;
}

.black-font{
    color: #000;
}

.font-bold{
    font-weight: 700;
}

.question-group-card .option-label{
    font-size: 1.125rem !important;
    line-height: 1.75rem;
    font-weight: 400;
    color: #132638;
}

.options-grid, .options-grid-checkbox {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option-card.image-card:hover{
    background: #fff;
}

.option-card.image-card.selected {
    background-color: #fff;
    border: none;
    border: 1px solid #5c97ce;
    box-shadow: none ;
}

.list,
.font-300{
    font-size: 1rem !important;
    line-height: 1.5rem !important;
    color: var(--main-text-color);
    font-weight: 300;
}

.font-300.font-bold{
    color: var(--main-text-color) !important;
}

img.main-rounded-image{
    border-radius: var(--radius-lg);
}

.bold-main-text-color{
    color: var(--main-text-color) !important;
}

.grey-text-color{
    color: var(--grey-text-color) !important;
}

.options-list-vertical .list-item-row{
    padding: .5rem 1rem;
    min-height: 58px;
}

.top-bottom-border{
    padding-block: 1rem;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.top-border-only{
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.font-18{
    font-size: 1.125rem !important;
    line-height: 1.75rem !important;
    font-weight: 400 !important;
}

.dob-group{
    flex-direction: column;
}


.mt-6 {
    margin-top: calc(var(--spacing) * 6)
}

.margin-top-6{
    margin-top: calc(var(--spacing) * 6) !important;
}

.red{
    color: #f00;
}

.intake_form_header{
    gap: 1rem;
}

.header-bar{
    border-bottom: none;
}

.main-questionnaire-container{
    margin-top: 1rem;
}

.stepper-container{
    padding-top: 0;
    margin-top: 1rem;
}

.stepper-container{
    justify-content: center;
    border-bottom: 1px solid #e9ecef;
}

.stepper-text{
    color: #a3b0bc;
}

.stepper-line{
    background-color: #a3b0bc;
}

.stepper-dot{
    border: 2px solid #a3b0bc;
}

.question-title + p.ui-subheader{
    font-size: 18px !important;
    line-height: 25px !important;
    color: var(--main-text-color);
    font-weight: 300;
}


.question-group-card{
    max-width: 700px;
}

.stepper-container{
    padding-bottom: 1.5rem;
}

.stepper-text.active{
    font-weight: 300;
}

.stepper-dot{
    position: relative;
}

.stepper-dot.active:before{
    content: "";
    width: 14px;
    height: 14px;
    position: absolute;
    background: #5c97ce;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
}

.stepper-dot.active{
    border-width: 2px;
}
.option-label:hover {
    transform: none;
    border-color:none;
    box-shadow: none;
}

.question-group-card .option-card.image-card {
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 4);
}

h2.question-title,
#main-title{
    margin-top: .5rem !important;
}

.btn-next,
.btn-next:disabled {
    max-width: 700px;
    /* background: var(--main-text-color) !important; */
    display: block;
    margin:0 auto;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 400;

}

.btn-next:hover{
    background: #162b40 !important;
    box-shadow: none !important;

}

.stepper-dot{
    width: 32px;
    height: 32px;
}

.stepper-dot.done::before {
    content: "";
    width: 32px;
    height: 32px;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(92, 151, 206);
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M4 9.2L7.2 12.3L14 5.4' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
}

.back-btn-black{
    width: 30px;
    height: 30px;
    z-index: 10;
    display: block !important;
    left: calc((100% - 100vw) / 2);
    color: #132638;
    min-width: 60px;
    padding: 0;
    margin: 0;

    left: 10px;
    transform: translateY(-50%);
    outline: none;
    box-shadow: none;
    border: none;
}

.btn-back:hover{
    background: none;
    color: var(--main-text-color);
    border: none;
} 

/* css for sticky button starts here */

    .btn-sticky-container {
        position: sticky;
        bottom: 20px; 
        width: 100%;
        z-index: 1000;
        pointer-events: none;
        margin-top: 24px;
    }


    .btn-sticky-container .btn-next {
        pointer-events: auto;
        margin-top: 0;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

/* css for sticky button ends here */

#nextBtn{
    opacity: 1 !important; 
    margin-top: 1rem !important;
}

.header_logo{
    width: 100%;
    max-width: 165px;
}



/* Back button + stepper on the same row */
.stepper-back-row {
    position: relative;
    width: 100%;
}
.stepper-back-row #backButtonWrapper {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(calc(-50% - 5px));
    z-index: 10;
}
.stepper-back-row .back-btn-black {
    transform: none;
}
/* Fix: prevent display:block !important from overriding the hidden attribute */
.stepper-back-row .back-btn-black[hidden] {
    display: none !important;
}

@media (max-width: 1024px) {
    .stepper-line{
        min-width: 40px;
        max-width: 40px;
    }
}


@media (max-width: 768px) {
    img.social_security{
        height: 2.5rem;
    }

    .header_logo{
        max-width: 100px;
    }

}

@media (max-width: 580px) {

    .full-center-wrapper, 
    .full-center-wrapper.container{
        padding-top: 0;
    }

    .header-bar-intake{
        padding-block: calc(var(--spacing) * 4) !important;
        padding-inline: calc(var(--spacing) * 4) !important;
    }

    .stepper-line{
        flex-grow: initial;
        min-width: 12px;
        margin: 0 3px;
    }

    .header-bar .w-8{
        display: none;
    }

    .stepper-dot,
    .stepper-dot.done::before {
        width: 28px;
        height: 28px;
    }

    .intake_form_header{
        gap: .5rem;
    }

    img.social_security {
        height: 2rem;
    }

    .options-grid, .options-grid-checkbox{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
            
}

@media (max-width: 400px) {
    .options-grid, .options-grid-checkbox{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}




/* Tanmay Css */
.bg-general{
    background-color: #f8fafc;
}
.medical_question_optional h3.ui-question{
    font-size: 1.875rem !important;
    margin-top: 0 !important;
}
.medical_question_optional .option-label{
    padding: 14px 18px;
    font-size: 15px;
    background-color: #fff;
    color: var(--main-text-color);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    min-height: 50px;
    border-radius: 3px;
    border: 1px solid #a3b0bc !important;
}
.medical_question_optional .option-label:has(input:checked), 
.medical_question_optional .option-label:has(input:focus) {
    padding: 14px 18px;
    font-size: 15px;
    background-color: #fff;
    color: var(--main-text-color);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    border-radius: 3px;
    border: 2px solid #5c97ce !important;
}
.medical_question_optional br{
    display: none;
}
.medical_question_optional .question-tree-children{
    border: 0;
}
.stepper-line.done {
    background-color: #5c97ce;
}
.navbars button:first-child{
    background: #1f3e5b;
}
.medicalHeading{
    font-size: 1.875rem;
    line-height: calc(2.25 / 1.875);
    color:#1f3e5b;
    margin: 0;
    font-weight: 400;
}
.medicalHeading span{
    color:#5c97ce;
}
.review-list ul li{
    font-size: 1.125rem;
    line-height: 1.563;
    color: black;
}
.review-list ul li span{
    font-weight: 600;
}
.strong-text{
    font-size: 1.125rem;
    line-height: 1.563;
    color: #1f3e5b;
    font-weight: 300;
}
.letsPara{
    font-size: 1.5rem;
    line-height: 1.563;
    color: #1f3e5b;
    font-weight: 400;
}
.medical-form{
    padding-top: 1rem;
}
.form-medical-review label{
    color: #1f3e5b;
    font-weight: 400;
    line-height: 100%;
    font-size: 1.5rem;
}
.form-medical-review label.checkbox-label{
    font-size: 1rem;
    line-height: 1.2rem;
}
.custom-checkbox{
    display: flex;
    align-items: center;
    gap: .5rem;
}
.custom-checkbox input + label .checkbox-box:before {
    background-color: #fafbfc !important;
    border: 1px solid #a3b0bc !important;
    border-radius: 5px;
}
.custom-checkbox input:checked + label .checkbox-box:before{
    background: #5c97ce !important;
}
.letsParah3{
    color: #1f3e5b;
    font-weight: 300;
    line-height: 1.5rem;
    font-size: 1.125rem;
}
.medical-form input, .medical-form select{
    border: 1px solid #a3b0bc;
}
.sticky-button{
    position: sticky;
    bottom: 0;
    padding-top: .5rem;
    padding-bottom: .5rem;
    
}
.mid_intake_heading {
    font-size: 1.5rem;
    display: block;
    padding: 1.5rem 0 1rem;
}
.mt-2rm{    
    margin-top: 2rem !important;
}
.intake_heading{
    font-size: 1.5rem;
    line-height: calc(2 / 1.5);
    color: #1f3e5b;
    margin-top: 1rem;
}
.subIntakesubHeading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 2rem;
    text-align: center;
}
.subIntakeHeading {
    font-size: 1.875rem;
}
.italicText{
    color: #1f3e5b;
}
.lostText{
    color: #8c8885 !important;
}
.list-item-row.selected{
    border: 1px solid #5c97ce !important;
    box-shadow: none !important;
}
.selected .custom-square-checkbox {
    background-color: #5c97ce !important;
    border-color: #5c97ce !important;
    font-size: 0px;
    position: relative !important;
}
.selected .custom-square-checkbox::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-50%, -50%);
    left: 25%;
    top: 50%;
}
.selected .custom-square-checkbox::after{
    content: "";
    position: absolute;
    transform-origin: 50% center;
    width: 0.35rem;
    height: 0.65rem;
    transform: rotate(45deg) scale(0);
    border-bottom: 2px solid rgb(255, 255, 255);
    border-right: 2px solid rgb(255, 255, 255);
    transition: transform 0.15s;
    z-index: 9;
}
.selected .custom-square-checkbox{
    position: inherit;
}
.medical-review-intake{
    max-width: 90%;
}