@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap');

body label.error {
    font-weight: 600;
    color: red;
    font-size: 12px;
    left: 0;
    display: block;
    text-align: left;
}
img{
    max-width: 100%;
    height: auto;
}
.container{
    max-width: 1200px;
}
body,p,span{
    font-family: 'Work Sans', sans-serif;
}
h1,h2,h3,h4,h5,h6{
    font-family: 'DM Serif Display', serif;
}
a{
    text-decoration: none!important;
}
.site-logo img{
    max-width: 300px;
    height: auto;
}
.referral-page-form .row{
    margin: 0 -5px;
}
.referral-page-form .row > div{
    padding: 0 5px;
}
.referal-main {
    position: fixed;
    width: 100%;
    background: #fff;
    top: 0;
    left: 0;
    z-index: 11;
}
header{
    padding: 16px 0;
}
.tabbing-section {
    background: #3E4248;
}
.tabbing-section-wrap{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}
.tabbing-section ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border: none;
    position: relative;
}
.tabbing-section ul li {
    text-align: center;
    padding: 20px 10px;
    /* max-width: 33.3333333%;
    flex: 0 0 33.3333333%; */
}
.tabbing-section ul li a {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    width: 100%;
    display: inline-block;
}
.tabbing-section ul i{
    position: absolute;
    right: 15px;
    top: 18px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}
.tabbing-section ul.open i{
    transform: rotate(180deg);
}
@media only screen and (min-width: 992px){
    .tabbing-section ul {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .tabbing-section ul i{
        display: none;
    }
}
.referral-form-main{
    padding: 140px 0 84px;
}
.form-title-main{
    padding: 40px 0 0;
    margin: 0 0 20px;
}
.form-title-main h2,
.form-title-main h1 {
    font-size: 25px;
    line-height: 1.5;
    color: #3E4248;
    margin: 0;
}
.form-content-wrap {
    box-shadow: 4px 4px 35px rgba(0, 0, 0, 0.1);
    margin: 0 0 20px;
    height: calc(100% - 20px);
}
.form-content-title h3 {
    background: #0e6d9f;
    color: #fff;
    font-size: 18px;
    padding: 20px 15px;
    margin: 0;
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
}
.form-content-wrapper {
    padding: 15px;
}
ol{
    padding-left: 20px;
}
li,
.form-row-label label,
.form-row-label p {
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
    color: #6E717C;
}
.form-row-input input,
.form-row-input textarea{
    border: 1px solid #6E717C;
    padding: 8px 10px;
    line-height: 1.5;
    width: 100%;
    font-size: 14px;
    outline: none;
    color: #000;
}
.form-row-input input[type="text"],
.form-row-input input[type="date"] {
    margin: 5px 0;
}
.form-row-input input[type="date"] {
    position: relative;
}
.form-row-input input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    left: 0;
    width: calc(100% - 10px);
    background-position: right;
}

.form-content-row{
    padding: 10px 0;
    border-top: 1px dashed #efefef;
}
.form-content-row:first-child{
    border: none;
}

.form-row-radio-input {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}
.radio-option-input {
    display: inline-block;
    position: relative;
    cursor: pointer;
}
.radio-option-input:not(:last-child) {
    margin-right: 6px;
}
.form-radio-input-list .radio-option-input {
    margin-top: 4px;
    margin-bottom: 4px;
}
.radio-option-input.active{
    background: #0e6d9f;
}
.radio-option-input input {
    position: absolute;
    display: inline-block;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.radio-option-input span{
    color: #fff;
}
.radio-option-input span::before {
    content: "\f00c";
    display: none;
    font-family: 'Font Awesome 5 Free';
    color: #Fff;
    font-weight: 900;
    padding: 0 0 0 5px;
}
.radio-option-input input:checked ~ span::before{
    display: inline-block;
}
.radio-option-input{
    background: #0e6d9f;
    padding: 8px 20px;
    display: inline-block;
    border-radius: 3px;
}
.radio-option-input label {
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
    font-weight: 500;
    margin: 0;
}


.teeth_number_main{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: max-content;
    margin: 0 auto;
}
.teeth_number_main .teeth_number_rf{
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
    color: #6E717C;
    text-transform: uppercase;
}
.teeth_number td {
    position: relative;
}
.teeth_number td input {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 11;
    cursor: pointer;
}
.teeth_number td input:checked ~ img{
    filter: grayscale(1) brightness(0.8);
}
.teeth_number td span {
    width: 12px;
    height: 12px;
    display: block;
    background: #Fff;
    border-radius: 2px;
    position: relative;
    margin: 0 auto;
    border: 1px solid #6E717C;
    position: relative;
}
.teeth_number input:checked ~ span::before{
    content: '';
    display: block;
    position: absolute;
    top: -1px;
    left: 3px;
    width: 5px;
    height: 10px;
    border: solid #5E5E5E;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.teeth_number td .teeth-number{
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
    color: #6E717C;
}
.teeth_number .teeth-top td .teeth-number{
    margin: 5px 0 0;
}
.teeth_number .teeth-bottom td .teeth-number{
    margin: 0 0 5px;
}

.referral-form-footer{
    position: fixed;
    bottom: 0;
    padding: 20px 0;
    background: rgb(62 66 72 / 80%);
    left: 0;
    width: 100%;
}

.referral-form-btn button#submit_btn {
    background: #fff;
    padding: 10px 30px;
    display: inline-block;
    border-radius: 3px;
    border: none;
    color: #0e6d9f;
    font-weight: 600;
}
.referral-form-btn {
    text-align: right;
}

.referral-form-btn button#submit_btn i {
    font-size: 14px;
    padding: 0 0 0 5px;
}
    

@media only screen and (max-width: 1199px){
    .container{
        padding: 0 5%;
    }
}
@media only screen and (max-width: 991px){
    .radio-option-input{
        padding: 6px 15px;
    }
    .form-row-label label,
    .form-row-label p {
        margin: 6px 0;
    }
    .tabbing-section ul li a {
        font-size: 15px;
    }
    .form-title-main {
        padding: 30px 0 0;
        margin: 0 0 15px;
    }
    .form-title-main h2,
    .form-title-main h1 {
        font-size: 22px;
    }
    .form-content-title h3{
        font-size: 16px;
        padding: 15px;
    }
    .tabbing-section ul li {
        display: none;
        width: 100%;
        padding: 14px 10px;
        text-align: left;
    }
    .tabbing-section ul li.active {
        display: block;
    }
    .tabbing-section ul.open li {
        display: block;
    }
}
@media only screen and (max-width: 767px){
    .form-row-radio-input{
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    .referring-information-inner .form-row-radio-input,
    .information-inner .form-row-radio-input{
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }
    .referral-form-btn button#submit_btn{
        width: 100%;
    }
}
@media only screen and (max-width: 575px){
    .teeth_number td .teeth-number,
    .teeth_number_main .teeth_number_rf{
        font-size: 10px;
    }
    .teeth_number td span{
        width: 10px;
        height: 10px;
    }
}
@media only screen and (max-width: 375px){
    .teeth_number_main .teeth_number_rf{
        font-size: 9px;
    }
}

.form-row-label.form-row-input {
    display: flex;
    gap: 20px;
    align-items: center;
}
.form-row-label.form-row-input label{
    white-space: nowrap;
}
.form-row-input canvas{
    width: 100% !important;
}
/* @media only screen and (max-width: 768.5px){
    .form-date-row{
        flex-direction: column-reverse;
    }
} */
@media only screen and (max-width: 575.5px){
    .form-row-label.form-row-input{
        flex-direction: column;
        gap: 0;
        align-items: start;
    }
}
.inline-input input {
    border: 1px solid #6E717C;
    padding: 8px 10px;
    line-height: 1.5;
    font-size: 14px;
    outline: none;
    color: #000;
    margin: 4px 0;
    max-width: 260px;
    width: 100%;
}
.clear-sign-btn {
    color: #0e6d9f;
    display: inline-block;
    border: 0;
    background-color: transparent;
    padding: 0;
    line-height: 1;
    font-weight: 600;
    float: right;
}

.form-all-checkbox-list > * {
    margin: 4px 0;
}


.radio-option-input {
    position: relative;
}
.form-all-checkbox-list {
    column-count: 3;
}
.radio-option-input.checkbox-option-input {
    padding: 0;
    background: transparent;
    width: 100%;
}
.radio-option-input.checkbox-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.checkbox-option-input label {
    padding-left: 25px;
    position: relative;
    font-size: 14px;
    color: #6E717C;
}
.radio-option-input.checkbox-option-input label::before, 
.radio-option-input.checkbox-option-input label::after {
    content: "";
    display: block;
    border: 1px solid #3c3932;
    background: transparent;
    position: absolute;
    top: 3px;
    left: 0;
    width: 18px;
    height: 18px;
}
.radio-option-input.checkbox-option-input label::after {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    border: none;
    font-size: 12px;
    text-align: center;
    color: #fff;
    background-color: #0e6d9f;
    opacity: 0;
}
.radio-option-input.checkbox-option-input input[type="checkbox"]:checked+label::after {
    opacity: 1;
}
/* checkbox */
.radio-option-input.checkbox-option-input label::before, 
.radio-option-input.checkbox-option-input label::after {
    border-radius: 0;
}
@media only screen and (max-width: 991.5px){
    .form-all-checkbox-list {
        column-count: 2;
    }
}
@media only screen and (max-width: 768.5px){
    .form-all-checkbox-list {
        column-count: 1;
    }
}