@media (max-width: 640px) {
  .container-fluid .row-fluid .page-center {
    padding: 32px 15px !important;
  }
}


.formStep hr {
  margin: 85px 0 !important;
}

.hidden {
  display: none;
  visibility: hidden;
}

.calculator {
  position: relative;
}

#progress {
  padding: 180px 0 50px;
  margin-top: -120px;
  min-height: 412px;
  text-align: center;
}

#progress h1 {
  margin: 0;
  line-height: 1.2;
}

#progress-bar {
  position: relative;
  height: 6px;
  border: 1px solid #003478;
  background: transparent;
  overflow: hidden;
  margin: 50px auto 0;
  max-width: 500px;
}

@media (max-width: 599px) {
  #progress-bar {
    max-width: 100%;
  }
}

#progress-complete {
  border: 0;
  position: absolute;
  height: 6px;
  width: 33.33333%;
  background: #003478;
}

.calculator .button {
  min-width: 260px;
}

.calculator button:not(.button-clear) {
  border: none;
}

.calculator button.text {
  display: block;
  -moz-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  background: none;
  box-shadow: none;
  border: none;
  cursor: pointer;
  font-weight: 400;
  font-size: 14px;
  color: #003478;
  letter-spacing: 3px;
  border-bottom: 1px solid #003478;
  text-transform: uppercase;
  margin: 24px auto 0;
  padding: 0;
}

.calculator .hs_submit {
  text-align: center;
}

.calculator .button,
.calculator input[type="submit"] {
  width: auto;
  padding: 25px 35px;
  font-size: 18px;
}


#calculator .hs-form-field > label {
  display: block;
  font-weight: 400;
  font-size: 18px;
  color: #003478;
  letter-spacing: 2px;
  margin: 0 0 15px;
}

#calculator .hs-field-desc {
  display: block;
  font-weight: 400;
  font-size: 18px;
  color: #003478;
  letter-spacing: 2px;
  margin: 0 0 25px;
}

#calculator {
  padding-bottom: 60px;
}

#calculator .formStep[data-step="2"] .hs-form-field > label {
  max-width: 705px;
  margin: 0 auto 60px;
  text-align: center;
}

#calculator .formStep[data-step="2"] .hs-form-field > label span {
  display: block;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #253C4C;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 29px;
}

#calculator fieldset {
  max-width: 100% !important;
}

#calculator .hs-form-radio-display {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
  display: grid;
  grid-template-columns: 1em auto;
  gap: 0.5em;
}

#calculator .hs-form-radio-display + .hs-form-radio-display {
  margin-top: 1em;
}

#calculator input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  margin: 0;

  font: inherit;
  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid #003478;
  border-radius: 50%;
  transform: translateY(-0.075em);

  display: grid;
  place-content: center;
}

#calculator input[type="radio"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em #003478;
  /* Windows High Contrast Mode */
  background-color: CanvasText;
}

#calculator input[type="radio"]:checked::before {
  transform: scale(1);
}

#calculator input[type="radio"]:focus {
  outline: max(2px, 0.15em) solid #003478;
  outline-offset: max(2px, 0.15em);
}


.hs-fieldtype-radio .input ul {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-width: 610px;
  margin: 0 auto !important;
  gap: 30px;
}

@media (min-width: 767px) {
  .hs-fieldtype-radio .input ul {
    gap: 30px 4%;
    flex-direction: row;
  }

  .hs-fieldtype-radio .input ul li {
    width: 48%;
  }
}


body .hs-form-field.hs-fieldtype-radio > label,
ul.hs-error-msgs.inputs-list li label {
  display: block !important;
}

.step-intro {
  margin: 0 0 60px;
}

#results {
  display: none;
}

#results h2,
#results .breakdown-intro {
  text-align: center;
}

#results .breakdown-intro {
  margin-bottom: 45px;
}

#results .breakdown-intro p {
  font-size: 18px;
  font-weight: 600;
}

.breakdown {
  max-width: 700px;
  margin: 0 auto;
}

.bd-row {
  display: flex;
  margin-bottom: 75px;
}

.bdr-col1 {
  color: #003478;
  font-size: 18px;
  line-height: 31px;
  margin: 0 0 60px;
  text-transform: none;
  flex: 0 1 67%;
  padding-right: 30px;
}

/*.bdr-col2:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='19' viewBox='0 0 23 19' width='23'%3E%3Cpath d='m7.59355205 19c-.00480569 0-.00961137 0-.01441706-.0001867-.34987289-.0042001-.67958075-.1630588-.89894624-.4331745l-6.42152919-7.9095182c-.40556233-.4995368-.32546754-1.23017457.17894118-1.63208137.50422027-.40172012 1.24194041-.32247747 1.64759697.1771526l5.53087511 6.81244147 13.31693688-15.60324258c.4179063-.48964306 1.1574168-.55087178 1.6516488-.13701792.4943262.41385386.5561405 1.14626506.1384226 1.63590813l-14.23463466 16.67829197c-.22275775.2611554-.55029833.4114271-.89489439.4114271' fill='%2361C250' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-size: cover;
  content: "";
  display: inline-block;
  height: 19px;
  left: 10px;
  position: absolute;
  top: 0;
  width:23px
}*/

.bdr-col2 {
  flex: 1 0 33%;
  white-space: nowrap;
}

.score-box {
  color: #fff;
  background: #61C250;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 10px;
  text-align:center
}

.score-box.NA {
  background: #525252;
}

.score-box.Medium {
  background: #f2bf00;
}

.score-box.High {
  background: #ed2900;
}

.results-bar {
  display: flex;
  margin: 45px auto 45px;
  max-width: 860px;
  position: relative;
  width:100%
}

.results-bar:before {
  background-image: linear-gradient(270deg, red, #f79646 24%, #ffc001 49%, #b7d960 72%, #2d792b 90%);
  content: "";
  height: 11px;
  top: 0;
  width: 100%;
  z-index:1
}

.rb-points, .results-bar:before {
  display: block;
  position:absolute
}

.rb-points {
  border-radius: 100%;
  height: 29px;
  top: -8.5px;
  width: 29px;
  z-index:3
}

.rb-points.low {
  background: #3f7b2a;
}

.rb-points.med {
  background: #f2bf00;
}

.rb-points.high {
  background: #ed2900;
}

.rb-step {
  padding-top: 23px;
  position: relative;
  text-align: center;
  width: 33.3333%;
  z-index:2
}

@media (max-width: 499px) {
  .rb-step {
      font-size:10px
  }
}

.result {
  display: none;
  text-align: left;
}

#questions .required,
#multistep-form {
  max-width: 1000px;
  margin: 0 auto;
}

#questions .required {
  margin-bottom: 20px;
}

#questions .required span {
  color: #f00;
}

#multistep-form .hs-form-field {
  margin-bottom: 75px;
}

.hs-error-msgs {
  margin-top: 20px;
  font-weight: 700;
  font-size: 16px;
}

@media (min-width: 768px) {
  #multistep-form .hs-form-field > label,
  .hs-error-msgs {
    text-align: left;
  }
}

#multistep-form form {
  animation: fadein 1s;
}

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
