.progressive-form-wrapper {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 10px 0 rgb(33 33 33 / 16%);
  padding: 5px;
  position: relative;
  z-index: 9;
  margin-top: -150px;
}
/* hiding the back button because the Audit Eligibility is only 2 pages, and the first page only has 1 question */
a.hs-button.primary.prev-btn {
  display: none!important;
}
/* hiding the H2s because they're used functionally but not needed visually 
.hs-richtext.hs-main-font-element h2 {
display: none!important;
}*/
.hs-richtext.hs-main-font-element {
  margin: 0.5rem 0!important;
}
.hs-richtext.hs-main-font-element h2 {
  font-size: 1.17rem!important;
  margin-top: 0!important;
  margin-bottom: 0.5rem!important;
  font-weight: 600!important;
}
div.landing-form-head h2 {
  margin: 0!important;
  color: #fff!important;
  font-size: 26px!important;
  letter-spacing: .05em!important;
  text-transform: uppercase!important;
  font-weight: bold!important;
}
a.hs-button.primary.next-btn.submit_btn,
.ms-survey-from .hs-button.primary {
  color:#fff!important;
}
.form-description {
  margin: 0 25px;
  padding: 45px 0 45px;
  border-bottom: solid 1px #cbd6e2;
}

.form-loader,
.form-loader:before,
.form-loader:after {
  background: #ebeff5;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}
.form-loader {
  color: #f5f5f5;
  text-indent: -9999em;
  margin: 88px auto;
  position: relative;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.form-loader:before,
.form-loader:after {
  position: absolute;
  top: 0;
  content: '';
}
.form-loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.form-loader:after {
  left: 1.5em;
}
@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

.ms-layout .header-container-wrapper {
  display: none;
}
.ms-survey-from {

}
.ms-survey-from .input input, .ms-survey-from select, .ms-survey-from textarea {
  max-width: 100%;
}
.ms-survey-from h1,
.ms-survey-from h2, 
.ms-survey-from h3, 
.ms-survey-from h4,
.ms-survey-from h5,
.ms-survey-from h6 {

}
.ms-survey-from .hs-form-field {

}
.ms-survey-from h1 {

}
.ms-survey-from h2 {

}
.ms-survey-from h3 {

}
.ms-survey-from h4 {

}
.ms-survey-from h5 {

}
.ms-survey-from h6 {

}



/*Form Default Style*/
.ms-survey-from .hs-form-field > label {

}

.ms-survey-from input[type="text"], 
.ms-survey-from input[type="password"], 
.ms-survey-from input[type="datetime"], 
.ms-survey-from input[type="datetime-local"], 
.ms-survey-from input[type="date"], 
.ms-survey-from input[type="month"], 
.ms-survey-from input[type="time"], 
.ms-survey-from input[type="week"], 
.ms-survey-from input[type="number"], 
.ms-survey-from input[type="email"], 
.ms-survey-from input[type="url"],
.ms-survey-from input[type="search"], 
.ms-survey-from input[type="tel"], 
.ms-survey-from input[type="color"], 
.ms-survey-from input[type="file"], 
.ms-survey-from textarea, 
.ms-survey-from select {

}

.ms-survey-from .hs-button.primary, 
.ms-survey-from input[type="submit"], 
.ms-survey-from input[type="button"] {

}

.ms-survey-from .hs-button.primary:hover, 
.ms-survey-from input[type="submit"]:hover, 
.ms-survey-from input[type="button"]:hover {

}
.ms-form-section {
  padding:0;
}
.ms-form-section .hubspot-link__container.sproket {
  display: none;
}
.ms-form-steps {
  padding: 35px 0 0 0;
  display: table;
  width: 100%;
}

.from-step {
  width: 50px;
  height: 50px;
  background: #ebeff5;
  border-radius: 50%;
  line-height: 50px;
  font-size: 1.35rem;
  text-align: center;
  margin: 0 auto;
  border: 10px solid #fff;
  color: #c4ccd7;
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
  font-weight: 600;
  z-index: 1;
}
.completed .from-step {
  color: #fff;
}
.from-step-outer {
  display: table-cell;
  text-align: center;
  position: relative;
}
.form-step-content {
  display: none;
}

.form-step-content.step1 {
  display: block;
}

.ms-form-section .prev-btn {
  margin-right: 20px;
}
.form-step-content.step1 .prev-btn {
  display: none;
}
.ms-form-section .hs_error_rollup {
  padding: 0;
  list-style:none;
}

.ms-form-section ul.hs-error-msgs.inputs-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.ms-form-section ul.hs-error-msgs.inputs-list label , 
.ms-form-section .inavalid-error {

}

.ms-form-section .hs_error_rollup ul.hs-error-msgs.inputs-list  label {
  display: block;
}
.ms-survey-from .invalid.error {
  border: 1px solid red;
}



.from-step:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #d50032;
  left: 0;
  border-radius: 50%;
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: 24px;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: inherit;
  font-size: inherit;
  opacity: 0;
  transition: all 0.3s ease;
}

.completed .from-step:before{
  opacity:1;
}
.ms-form-section .form-title {
  display: none;
}

.ms-form-section .submitted-message {
  text-align: center;
}

.form-step-content input[type="submit"] {
  width: 0!important;
  padding: 0!important;
  font-size: 0!important;
  opacity: 0;
  height: 0;
  border: none!important;
}



.from-step-outer:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  background: #ebeff5;
  top: 50%;
  left:0
}
.ms-form-steps .from-step-outer.step1:before {
  width: 50%;
  left: 50%;
}

.ms-form-steps .from-step-outer:last-child:before {
  width: 50%;
}

.from-step-outer:after {
  content: "";
  position: absolute;
  width: 0;
  height: 4px;
  background: #3d4ed7;
  top: 50%;
  left: 0;
  transition: all 0.3s ease;
}

.from-step-outer.complted:after {}
.from-step-outer.step1:after {
  left: 50%;
}
.from-step-outer.completed:after {
  width: 100%;
}
.from-step-outer.active:after{
  width:50%;
  transition-delay: 0s;
}
.from-step-outer.active.completed:after{
  width:100%
}



.from-step-outer.step1.active:after {
  width: 0;
}

.from-step-outer.step1.completed:after {
  width: 50%;
}

.from-step-outer:last-child:after {
  max-width: 50%;
}
.ms-form-steps span.hs-form-required {
  color: red;
  margin: 0 4px;
}

@media (max-width:767px){
  .progressive-form-wrapper {
    margin: 25px 0 0;
  }
  .progressive-form ul.inputs-list.multi-container {
    columns: 2!important;
  }


} 

@media (max-width:479px){
  .progressive-form ul.inputs-list.multi-container {
    columns: 1!important;
  }
}



/* calendar adjustments*/
.fn-date-picker .is-selected .pika-button {
  color: #fff;
  font-weight: 700;
  background: #3d4ed7!important;
  box-shadow: inset 0 1px 3px #3d4ed7!important;
  border-radius: 3px;
}
.fn-date-picker .pika-button:hover {
  color: #fff!important;
  background: #d50032!important;
  box-shadow: none!important;
  border-radius: 3px!important;
}
