@import url('//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css');
.form-loader,
.form-loader:before,
.form-loader:after {
  background: #f5f5f5;
  -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 {
    background: #f5f6f8;
    display: inline-block;
    width: 100%;
    padding: 100px 0 100px;
}
.ms-survey-from .hs-richtext a {
    text-decoration: underline;
    color: #2ca591;
}
.ms-survey-from .ms-survey-from-inner {
    max-width: 620px;
    width: 100%;
    min-height:400px;
    margin: 0 auto;
    background: #fff;
    padding: 20px 5px 20px 25px;
    box-sizing: border-box;
    box-shadow: 0px 70px 40px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow:hidden;
}
.ms-survey-from .form-title{
    text-align:center;
}
.ms-survey-from .form-title h6{
    text-transform: uppercase;
    font-size: 18px;
    color: #127261;
    opacity: 0.5;
    margin: 0;
}
.ms-survey-from .ms-survey-from-inner .hs-form{
    margin-bottom:0;
    background: #fff;
    padding: 0;
    color:#80a09b;
}
.ms-survey-from form h3{
    font-size:31px;
    line-height:37px;
}
.ms-survey-from .input input, .ms-survey-from select, .ms-survey-from textarea {
    max-width: 100%;
}
.ms-survey-from form.hs-form fieldset .hs-form-field{
    margin-bottom: 20px;
    padding-right:20px;
}
/*Form Default Style*/
.ms-survey-from .hs-form-field > label {
    display: block;
    font-weight: normal;
    font-size: 18px;
    margin-bottom:12px;
    line-height: 26px;
}

.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 {
    display: block;
    font-size: 14px !important;
    line-height: initial;
    font-family: inherit;
    margin: 9px 0px 0px 0px;
    padding: 10px 15px 10px 15px !important;
    border-style: solid !important;
    border-radius: 2px;
    font-weight: normal;
    border: 1px solid transparent;
    box-shadow: none !important;
    border: 1px solid #ced4da !important;
    width: 100% !important;
    height: 38px;
}

.ms-survey-from .hs-button.primary, 
.ms-survey-from input[type="submit"], 
.ms-survey-from input[type="button"] {
    cursor: pointer;
    -webkit-appearance: none;
    text-decoration: none;
    font-weight: normal;
    font-family: inherit;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-block;
    font-size: 16px;
    padding: 18px 30px 0 30px;
    text-align: center !important;
    vertical-align: middle;
    background-image: none;
    border-radius: 4px;
    outline: none;
    white-space: nowrap;
    -webkit-text-stroke: 0px;
    width: auto;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    border: 1px solid;
    color: #ffffff;
    background-color: #2CA591;
    border-color: #2CA591;
    margin-top: 20px;
    cursor: pointer;
    height: 60px;
    width: 100%;
    box-sizing: border-box;
    max-width: 260px;
}

.ms-survey-from .hs-button.primary:hover, 
.ms-survey-from input[type="submit"]:hover, 
.ms-survey-from input[type="button"]:hover {
    color: #2CA591;
    background-color: transparent;
    border-color: #2CA591;
}
.ms-survey-from .hs-fieldtype-checkbox.hs-form-field > label{
    display: block;
    font-weight: bold;
    font-size: 18px;
    line-height: 26px;
    color: #127261;
}
.ms-survey-from li.hs-form-checkbox,
.ms-survey-from li.hs-form-radio{
    margin-bottom: 15px;
}
.ms-survey-from li.hs-form-checkbox input,
.ms-survey-from li.hs-form-radio input{
    width: 22px !important;
    height: 22px;
    margin: 0 10px 0 0;
    border-radius: 5px;
    border: 1px solid #CED4DA;
    display: inline-block;
    vertical-align: bottom;
}
.ms-survey-from ul.inputs-list.multi-container {
    margin-bottom: 35px;
}
.ms-survey-from textarea {
    height: 230px !important;
    width: 100% !important;
}
a.hs-button.primary.next-btn{
    float:right;
    margin-right: 20px;
}
a.hs-button.primary.prev-btn {
    background: transparent;
    color: #2CA591;
}
a.hs-button.primary.prev-btn:hover{
    color: #fff;
    background:#2CA591;
}
.ms-form-section .hubspot-link__container.sproket {
    display: none;
}
.ms-form-steps {
    padding: 20px 20px 20px 0;
    display: table;
    width: 100%;
}

.from-step {
    width: 60px;
    height: 60px;
    background: #CECECE;
    border-radius: 0;
    line-height: 55px;
    text-align: center;
    font-size:13px;
    margin: 0 auto;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-weight: bold;
    z-index:1;
}

.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:  0;
}
.ms-form-steps < .from-step-outer.step1.active{
    display:none;
}
.ms-form-section ul.hs-error-msgs.inputs-list label , 
.ms-form-section .inavalid-error {
    padding: 0;
    display: inline-block;
    color: red;
    font-size: 13px;
    line-height: 14px;
    border: none;
}

.ms-form-section .hs_error_rollup ul.hs-error-msgs.inputs-list  label {
    display: block;
}
.ms-survey-from .invalid.error{
    border:1px solid red;
}
.ms-survey-from .hs-fieldtype-checkbox .invalid.error,
.ms-survey-from .hs-form-radio .invalid.error{
    border:none;
    box-shadow:none;
}



.from-step:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #5bda5b;
    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;
    color:#80a09b;
}

.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: #fff;
    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: #5bda5b;
    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;
}



.from-step {
	transition: all .3s ease;
	position: relative;
	line-height: 22px;
	height: 22px;
	width: 100%;
}
.from-step-outer.active .from-step, 
.from-step-outer.completed .from-step {
	background-image: linear-gradient(-45deg,#127763 25%,#13806b 25%,#13806b 50%,#127763 50%, #127763 75%,#13806b 75%,#13806b);
	background-size: 1rem 1rem;
}
.from-step-outer.step1.active::before {
	content: "20%" !important;
	display: inline-block;
	opacity: 1;
	width: 100%;
	height: 100%;
	top: 3px;
	left: -10px;
	z-index: 999;
	text-align: right;
	background: transparent;
	color: #e0e0e0;
	font-size: 12px;
}
.from-step-outer.step2.active::before {
	content: "40%" !important;
	display: inline-block;
	opacity: 1;
	width: 100%;
	height: 100%;
	top: 3px;
	left: -10px;
	z-index: 999;
	text-align: right;
	background: transparent;
	color: #e0e0e0;
	font-size: 12px;
}
.from-step-outer.step3.active::before {
	content: "60%" !important;
	display: inline-block;
	opacity: 1;
	width: 100%;
	height: 100%;
	top: 3px;
	left: -10px;
	z-index: 999;
	text-align: right;
	background: transparent;
	color: #e0e0e0;
	font-size: 12px;
}
.from-step-outer.step4.active::before {
	content: "80%" !important;
	display: inline-block;
	opacity: 1;
	width: 100%;
	height: 100%;
	top: 3px;
	left: -10px;
	z-index: 999;
	text-align: right;
	background: transparent;
	color: #e0e0e0;
	font-size: 12px;
}
.from-step-outer.step5.active::before {
	content: "90%" !important;
	display: inline-block;
	opacity: 1;
	width: 100%;
	height: 100%;
	top: 3px;
	left: -10px;
	z-index: 999;
	text-align: right;
	background: transparent;
	color: #e0e0e0;
	font-size: 12px;
}
.from-step-outer.step6.active::before {
	content: "100%" !important;
	display: inline-block;
	opacity: 1;
	width: 100%;
	height: 100%;
	top: 3px;
	left: -10px;
	z-index: 999;
	text-align: right;
	background: transparent;
	color: #e0e0e0;
	font-size: 12px;
}
.from-step-outer.step7.active::before {
	content: "100%" !important;
	display: inline-block;
	opacity: 1;
	width: 100%;
	height: 100%;
	top: 3px;
	left: -10px;
	z-index: 999;
	text-align: right;
	background: transparent;
	color: #e0e0e0;
	font-size: 12px;
}
.from-step::before {
	content: "";
	background: transparent;
}
.from-step::before {
	position: absolute;
	width: 100%;
	height: 100%;
/* 	background: #5bda5b; */
	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 .3s ease;
}
.ms-survey-from .hs-richtext.hs-main-font-element h1 {
    display: none;
}

@media (max-width:767px){
  .ms-survey-from{
      padding:50px 15px;
  }
  .ms-survey-from .hs-button.primary, .ms-survey-from input[type="submit"], .ms-survey-from input[type="button"] {
      padding: 8px 21px 10px 21px;
      font-size: 15px;
      height: 40px;
      width: auto;
      box-sizing: border-box;
      max-width: none;
  }
  .ms-survey-from .ms-survey-from-inner{
      padding:20px 10px;
  }
  .ms-form-steps{
      padding:20px 0;
  }
  .ms-survey-from .form-columns-2 .hs-form-field,
  .ms-survey-from .form-columns-1 .hs-form-field,
  .ms-survey-from .form-columns-3 .hs-form-field{
      padding-right: 0 !important;
      width:100% !important;
  }
  .ms-survey-from .form-columns-2 .hs-form-field .hs-input,
  .ms-survey-from .form-columns-3 .hs-form-field .hs-input{
      width:100% !important;
  }
  a.hs-button.primary.next-btn{
      margin-right:0;
  }
} 



