.quiz-next-btn, .quiz-back-btn {
    margin-top: 10px;
    cursor: pointer;
    height: 40px;
    padding: 0px 20px;
    border-radius: 100px;
border: 1px solid #C5A572;
    background: #C5A572;
       font-family: Montserrat,sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: #30333A;
}

.quiz-back-last-btn,
.quiz-back-btn {
    height: 40px;
    padding: 0px 20px;
    border-radius: 100px;
    border: 1px solid #30333A;);
    background: transparent;);
        font-family: Montserrat,sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: #30333A;
    margin-right: 20px;
    margin-top: 30px;
}
.quiz-back-last-btn {
    margin-top: 0px;
}
#hubspot-form form .field-wrapper.last-step-wrapper .quiz-back-btn {
    display: none !important;
}
.hs-form-field {
  margin-bottom: 20px;
}



#hubspot-form form .field-wrapper div>label {
    font-family: Poppins, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 38px;
    text-align: center;
    margin-bottom: 30px;
      display: block;
}

#hubspot-form form  {
    width: 100%;
}

#hubspot-form form .field-wrapper {
    width: 100%;
  text-align: center;
  
}


#hubspot-form form .field-wrapper.last-step-wrapper .field-wrapper {
    display: block !important;
}


#hubspot-form form .field-wrapper.last-step-wrapper .field-wrapper {
    display: block!important;
}

#hubspot-form form .field-wrapper.last-step-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 430px;
    margin: 0 auto;
          margin-bottom: 30px;
}

#hubspot-form form .field-wrapper.last-step-wrapper .field-wrapper .quiz-back-btn, 
#hubspot-form form .field-wrapper.last-step-wrapper .field-wrapper .quiz-next-btn {
    display: none!important;
}

.hs-form-field {
    width: 100%!important;!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;
    margin: 0px;
    margin-bottom: 20px;
    display: block;
    text-align: left;
}

#hubspot-form form .field-wrapper.last-step-wrapper .field-wrapper input[type=email], 
#hubspot-form form .field-wrapper.last-step-wrapper .field-wrapper input[type=file], 
#hubspot-form form .field-wrapper.last-step-wrapper .field-wrapper input[type=number], 
#hubspot-form form .field-wrapper.last-step-wrapper .field-wrapper input[type=password], 
#hubspot-form form .field-wrapper.last-step-wrapper .field-wrapper input[type=search],
#hubspot-form form .field-wrapper.last-step-wrapper .field-wrapper input[type=tel], 
#hubspot-form form .field-wrapper.last-step-wrapper .field-wrapper input[type=text], 
#hubspot-form form .field-wrapper.last-step-wrapper .field-wrapper select, 
#hubspot-form form .field-wrapper.last-step-wrapper .field-wrapper textarea {
    border-radius: 30px;
    background: #F4EFE8;
    border: 0;
    display: inline-block;
    font-size: .875rem;
    padding: .7rem;
    width: 100%;
}

#hubspot-form form .field-wrapper.last-step-wrapper .field-wrapper label {
    font-family: Poppins, sans-serif;
    font-size: 14px!important;
    font-style: normal!important;
    font-weight: 400!important;
    line-height: 21px!important;
    margin-bottom: 5px!important;
    text-align: left!important;
}
#hubspot-form form .inputs-list li label {
    font-family: Poppins, sans-serif;
    font-size: 16px!important;
    font-style: normal!important;
    font-weight: 400!important;
    line-height: 24px!important;
    border-radius: 100px;
    border: 1px solid #1B2838;
    background: #FAF8F5;);
    max-width: 343px;
    margin: 0 auto;
    padding: 15px 20px;
    cursor:pointer;
    text-align: center;
      display: block;
}

#hubspot-form form .inputs-list li.checked label{background: #1B2838!important;color:#FAF8F5!important;}
#hubspot-form form input[type=checkbox],
#hubspot-form form input[type=radio] {opacity:0;font-size: 0;width: 0px;}

#hubspot-form form input[type=checkbox], 
#hubspot-form form input[type=radio] {
    /* border-radius: 100px; */
    /* border: 1px solid #1B2838; */
    /* background: #FAF8F5; */
    /* max-width: 343px; */
    /* margin: 0 auto; */
    /* padding: 15px 20px; */
    /* width: 343px; */
}

#hubspot-form form .inputs-list>li {
    display: block;
    margin: 15px 0 0 0;
}



#hubspot-form form .hs-fieldtype-textarea.hs-input {
    resize: vertical;
    border-radius: 20px;
    max-width: 530px;
    width:100%;
    height: 165px;
    margin: 0 auto;
    float: none;
    display: block;
      background-color: #FCFBF9;
    border: 1px solid #1B2838;
  padding:20px;
}


#hubspot-form form .hs-button, 
#hubspot-form form input[type=submit] {
    border: 1px #30333a;
    border-radius: 100px;
    padding: 12px 20px !important;
    text-transform: none;
    width: 200px !important;
}

.hs_submit  .actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.hs_submit .actions .quiz-back-btn {
    margin-top: 0px;

}
  
  
  #hubspot-form form .field-wrapper.last-step-wrapper .field-wrapper label.hs-error-msg.hs-main-font-element {
    background: none !important;
    padding: 0 !important;
    border: 0px !important;
    font-size: 12px !important;
}


h6.form-eyebrow {
    font-family: Poppins, sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: 11px; /* 100% */
    letter-spacing: 1.1px;
    text-transform: uppercase;
    position: relative;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

h6.form-eyebrow:after {content: "";width: 50px;height: 1px;background: #C2A477;position: absolute;display: block;margin: 0 auto;top: 20px;left: 0;right: 0;}



.hs_describe_what_happened_,
.hs_when_did_this_dental_trauma_occur_,
.hs_are_you_interested_in_learning_about_better_options_,
.hs_what_makes_you_feel_unhappy_about_your_teeth__others_,
.hs_what_makes_you_feel_unhappy_about_your_teeth_,
.hs_when_did_the_dental_trauma_occur_.hs-when_did_the_dental_trauma_occur_,
.hs_are_you_interested_in_exploring_better_options_,
.hs_what_makes_you_feel_unhappy_about_your_teeth__others_ {
    margin-top: 50px;
}
  .submitted-message-container {
    display: none !important;
  }



#loadingscreen{
    display: none;
  }

.loadingscreen .arc {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border-top: 2px solid #bfa582;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  animation: rt 2s infinite linear;
}

.loadingscreen .arc::before {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border-top: 2px solid #765B82;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  animation: rt 4s infinite linear reverse;
  content: "";
}

.loadingscreen .arc::after {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: 50%;
  animation: cw 1s infinite;
  content: "";
  background: #F5BA6D;
}

.loadingscreen h1 {
  font-family: Poppins, sans-serif,sans-serif;
  position: absolute;
  height: 40px;
  margin: auto;
  top: 200px;
  left: 0;
  right: 0;
  bottom: 0;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.1em;
  font-size: 14px;
  font-weight: lighter;
  color: #3d3d3d;
}

.loadingscreen h1:after {
  animation: txt 5s infinite;
  content: "";
}

.loadingscreen h1 span {
  display: none;
}

@keyframes rt {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes cw {
  0% {
    width: 0;
    height: 0;
  }
  75% {
    width: 40px;
    height: 40px;
  }
  100% {
    width: 0;
    height: 0;
  }
}

@keyframes txt {
  0% {
    content: "PROCESSING YOUR RESULTS";
  }
  50% {
    content: "PROCESSING YOUR RESULTS";
  }
  100% {
    content: "PROCESSING YOUR RESULTS";
  }
}
div#loadingscreen {
    position: absolute;
    top: 0;
    left: auto;
    right: 0;
    height: 100%;
    width: 100%;
    background: #f4eee8;
}



.progress-bar-container {
  position: relative;
  width: 60px;
  height: 60px;
}

.progress-bar-circle {
  transform: rotate(0deg);
  transform-origin: center;
}

.progress-bar-bg {
  fill: none;
  stroke: #E1DAC9;
  stroke-width: 2.8;
}

.progress-bar-fg {
  fill: none;
  stroke: #C2A477;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-dasharray: 100, 100; /* 100 is the total circumference */
  stroke-dashoffset: 100; /* Start fully hidden */
  transition: stroke-dashoffset 0.35s ease;
}

.progress-bar-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: bold;
  color: #FCFBF9;
}


.navbar-container {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 0;
    width: 100%;
}




button.quiz-next-btn:disabled{
    background-color: #C5C8CB;
    border-color: #C5C8CB;
    color: #30333A;
    
}
button.quiz-next-btn:disabled:hover {
    background-color: #C5C8CB;
    border-color: #C5C8CB;
    color: #30333A;
    cursor: not-allowed;
}


#hubspot-form form .hs-form-checkbox label {
  position: relative;
  cursor: pointer;
}

#hubspot-form form .hs-form-checkbox label:before {
  content:'';
  -webkit-appearance: none;
  background-color: transparent;
  border: 1px solid #1B2838;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  border-radius: 4px;
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
}

#hubspot-form form .hs-form-checkbox.checked label:before {
  content: '';
  display: block;
  position: absolute;
  height: 18px;
  border: solid #1B2838;
  background: url(https://47936503.fs1.hubspotusercontent-na1.net/hubfs/47936503/Check%20box.svg);
  background-size: cover;
  border: 0px;
}



#hubspot-form form .hs-fieldtype-checkbox .inputs-list li label {
    text-align: left;
    padding-left: 50px;
}

@media(max-width:767px){
#hubspot-form form .field-wrapper div>label {
  font-size: 24px;
  }
  
  
  
  .progress-bar-text{color:#1B2838!important;}
 .header__container:before {
        content: "";
        background: #F4EEE8;
        position: absolute;
        top: 60%;
        width: 100%;
        z-index: 0;
        height: 122px;
    }



.header__container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 10px 0px;
    position: relative;
}
.navbar-container {
  align-items: center;
        display: flex
;
        justify-content: space-between;
        padding: 0;
        width: 100%;
        flex-direction: column;
        gap: 10px;
}
}

#hubspot-form form>div:nth-child(1)>.quiz-next-btn {
    width: 200px;
}

.tooltip {
  position: relative;
  display: inline-block;
  color: #007bff;
}

.tooltip:hover::after {
  content: attr(title);
  position: absolute;
  background: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 10;
  font-size: 0.875rem;
}

.tooltip:hover::before {
  content: "";
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
  z-index: 10;
}
#hubspot-form form .hs-fieldtype-checkbox .inputs-list li label {
    max-width: 410px !important;
}


.header--no-navigation {
    background-color: #1B2838 !important;
    padding: 20px 0px 16px 0px;
}

.hs-form-required {
    color: #ef6b51;
}

ul.inputs-list.multi-container {
    padding: 0 !important;
}


.hs_what_makes_you_feel_unhappy_about_your_teeth__others_ label {
    margin: 0 auto;
    display: block;
    font-family: Poppins, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 38px;
    text-align: center;
    margin-bottom: 30px;
}


#hubspot-form form .field-wrapper.last-step-wrapper:before {
    content: "To receive your dental health score, please provide your:";
    color: #30333A;
    text-align: center;
    font-family: Montserrat;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 38px;
    margin-bottom: 30px;
    position: relative;
    display: block;
}



.custom-tooltip-container {
  display: inline-block;
  position: relative;
  margin-left: 8px;
  cursor: pointer;
}

.tooltip-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  z-index: 9999;
  position: relative;
}

/* Tooltip text positioned on the left of the icon */
.tooltip-text {
  display: none;
  position: absolute;
  left: -420px; /* Adjust this based on the tooltip width */
  top: 0;
  background: #ffffff;
  padding: 20px;
  z-index: 9999;
  width: 400px;
  text-align: left;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 19px;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.18);
  border: 1px solid #365076;
}



/* Mobile style: Tooltip below the icon */
@media (max-width: 768px) {
  .tooltip-text {
    position: absolute;
    top: 100%; /* Below the icon */
    left: 0;
    width: 100vw;
    max-width: none;
    padding: 20px;
    text-align: left;
    box-shadow: none;
    transform: none;
            margin: 0px 20px;
  }


}
