
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  font-family: "Open Sans";
  margin: 0;
}
h1, h2, h3, h4, h5, h6, p{
  margin-bottom: 0;
}
a:hover,
a{
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}

body label.error {
    font-weight: 600;
    color: red;
    font-size: 12px;
    left: 0;
    display: block;
    text-align: left;
    margin: 0;
}
/* ===========   header css   =========== */
.lp_header {
  padding: 18px 0;
  box-shadow: #3b598a 0 -4px 10px;
  background: #fff;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
}
.main_details {
  background-color: #f0f6ff;
  padding: 60px 0;
  margin-top: 75px;

}
.main_details p {
  color: #3C3932;
  font-weight: 500;
  line-height: 1.6;
}
.main_details p a{
  color: #3b598a;
}
.main_details .detail-text {
  max-width: fit-content;
  margin: 0 auto;
}

.header_logo {
    width:100%;
    max-width: 250px;
}

.header_logo img{
    width: 100%;
    height: 100%;
}

.form-title-main h1{
    font-size: 32px;
    text-align: left;
}


@media only screen and (max-width: 991.98px){
    .form-title-main h1 {
        font-size: 28px;
    }
}

@media only screen and (min-width: 767.98px){
    .form-content-row .small-screen-dnone{
        display: none !important;
    }
}

@media only screen and (max-width: 768.98px) {
    .form-title-main h1 {
        font-size: 24px;
    }
    .form-title-main h2 {
        font-size: 20px !important;
        line-height: 1.2 !important;
    }
    .form-row-input input.signature-input {
        margin: 5px 0;
        height: 0;
        padding: 0;
    }
    .radio-option-input .label-pl-0{
        padding-left: 0px !important;
    }
}





/* ===========   form css   =========== */

.refferral-form-section{
  padding: 60px 0 100px;
  margin-top: 70px;
}
.form-title-main h2 {
  font-size: 25px;
  line-height: 1.5;
  color: #3b598a;
  margin-bottom: 20px;
}
.form-content-title h3 {
  background: #3b598a;
  color: #fff;
  font-size: 18px;
  padding: 20px 15px;
  margin: 0;
  font-weight: 500;
}
.form-content-wrap {
  box-shadow: 4px 4px 35px rgba(0, 0, 0, 0.1);
  margin: 0 0 20px;
  height: calc(100% - 20px);
}
.form-content-wrapper {
  padding: 15px;
}
.form-content-row {
  padding: 10px 0;
  border-top: 1px dashed #efefef;
}
.form-content-row:first-child {
  border: none;
}
.form-row-input input, 
.form-row-input textarea,
.form-row-input select {
  border: 1px solid #6E717C;
  padding: 8px 10px;
  line-height: 1.5;
  width: 100%;
  font-size: 14px;
  outline: none;
  color: #000;
}
.form-row-label label {
  margin: 10px 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  color: #6E717C;
}
.form-row-radio-input {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.radio-option-input {
  background: #3b598a;
  padding: 8px 20px;
  display: inline-block;
  border-radius: 3px;
}
.radio-option-input.active {
  background: #373c4e;
}
.radio-option-input {
  display: inline-block;
  position: relative;
  cursor: pointer;
  margin: 0 6px 0 0;
}
.form-row-input input,
.form-row-input textarea,
.form-row-input select {
  border: 1px solid #6E717C;
  padding: 8px 10px;
  line-height: 1.5;
  width: 100%;
  font-size: 14px;
  outline: none;
  color: #000;
}
.radio-option-input input {
  position: absolute;
  display: inline-block;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.radio-option-input label {
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
  font-weight: 500;
  margin: 0;
}
.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:has(input:checked){
  background-color: #373c4e;
}

.teeth_number_main {
  display: flex;
  align-items: center;
  max-width: max-content;
  margin: 0 auto;
}
.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 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_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 .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 td input:checked ~ img {
  filter: grayscale(1) brightness(0.8);
}
.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);
}

.form-content-row h4 {
  font-size: 24px;
  font-weight: 600;
  color: #6E717C;
  margin-bottom: 24px;
}
.form-content-row p {
  color: #6E717C;
}
.form-content-row p a{
  display: block;
  color: #3b598a;
  line-height: 1.5;
  margin-top: 10px;
  display: inline-block;
}

.referral-form-footer {
  position: fixed;
  bottom: 0;
  padding: 20px 0;
  background: #f0f6ff;
  left: 0;
  width: 100%;
}
.referral-form-btn {
  text-align: right;
}
.referral-form-btn button#submit_btn {
  background: #fff;
  padding: 10px 30px;
  display: inline-block;
  border-radius: 3px;
  border: none;
  color: #3b598a;
  font-weight: 600;
  box-shadow: 0 0 12px #f0f6ff;
}
.referral-form-btn button#submit_btn i {
  font-size: 14px;
  padding: 0 0 0 5px;
}


.radio-option-input label {
    font-size: 14px;
    line-height: 1.5;
    color: #3b598a;
    font-weight: 500;
    background-color: trasparent !important;
    margin: 0;
    position: relative;
    font-size: 16px;
    padding-left: 20px;
}

.checkbox-option-input label::before {
    width: 15px;
    height: 15px;
    content: "";
    display: block;
    border: 1px solid #3b598a;
    position: absolute;
    top: 4px;
    left: 0;
}

.checkbox-option-input label::after{
     width: 15px;
    height: 15px;
}

.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: #3b598a;
    opacity: 0;
    left: 0;
    top: 4px;
    position: absolute;
}

.radio-option-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;
    z-index: 99;
}

.radio-option-input{
    background: transparent !important;
    padding: 0 0;
}
.radio-option-input input[type="radio"]:checked+label::after, .checkbox-option-input input[type="checkbox"]:checked+label::after {
    opacity: 1;
}

.form-content-row .textarea-content{
    height: 39px;
}

button.clear-sign-btn{
    background: #3b598a;
    color: #ffffff;
    padding: 10px 30px;
    display: inline-block;
    border-radius: 3px;
    border: none;
    font-weight: 600;
    margin-top: 10px;
}

@media only screen and (max-width: 991px){
  .container {
    max-width: calc(100% - 30px);
  }
}
@media only screen and (max-width: 768px){
  /*.form-row-input input[type="text"] {
    margin: 5px 0;
  }*/
}
@media only screen and (max-width: 575px){
  .container {
    max-width: 100%;
  }
  .form-title-main h2{
    font-size: 20px;
  }
  .radio-option-input{
    padding: 4px 14px;
  }
  .referral-form-btn button#submit_btn{
    width: 100%;
  }
  .teeth_number td .teeth-number, .teeth_number_main .teeth_number_rf {
    font-size: 10px;
  }
  .teeth_number td span {
    width: 10px;
    height: 10px;
  }
  .form-content-row h4{
    font-size: 18px;
  }
  .form-title-main h1 {
    font-size: 24px;
    text-align: center;
  }
  .form-content-row:nth-child(2), .form-content-row:nth-child(3), .form-content-row:nth-child(4) {
        border: none;
    }
    .form-content-wrapper .form-content-row:first-child{
        border: none;
        padding-bottom: 0px;
    }
    .form-content-wrapper .form-content-row:nth-child(2){
        padding-bottom: 0px;
    }
    .form-content-wrapper .form-content-row:nth-child(2), .form-content-wrapper .form-content-row:nth-child(3){
        padding-top: 0px;
        
    }
    .form-content-wrapper .form-content-row:nth-child(4){
        padding-top: 0px;
    }
    .form-content-row .textarea-content {
        padding-left: 14px;
        padding-right: 14px;
    }
    .form-content-row .note-col label{
        padding: 4px 14px;
    }
    .note-col .form-row-input{
        padding: 0 14px;
    }
    .form-row-input canvas{
        width: 100%;
        max-width: 515px;
        height: 100%;
        min-height: 150px !important;
    }
}

@media only screen and (max-width: 425.98px) {
    .form-title-main h1 {
        font-size: 18px;
        text-align: center;
    }
    .form-title-main h2 {
        font-size: 16px !important;
        line-height: 1 !important;
    }
}

.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;
}