
*{
  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;
}
/* ===========   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;
}

/* ===========   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;
}

@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-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;
}