/* font-awesome is required for checkmark in completed steps. Not worth it.
@import url('//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css');
*/

/* overwrite default width of input in form */
fieldset.form-columns-1 input.hs-input:not([type="checkbox"]),
fieldset.form-columns-1 select.hs-input {
    width: 100% !important;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

.moduleframe {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* required? 
@-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;
  }
}
 end keyframes */

/*
.ms-layout .header-container-wrapper {
    display: none;
}
*/

.form-container {
  position: relative;
  padding: 20px;
  z-index: 2;
  transition: 2s;
  width:600px;
}


.form-container .input input, .form-container select, .form-container textarea {
    max-width: 100%;
}
.form-container h1,
.form-container h2, 
.form-container h3, 
.form-container h4,
.form-container h5,
.form-container h6 {
    color: #303133;
    font-family: inherit;
    -webkit-font-smoothing: antialiased;
    margin: 0 0 20px;
    line-height: 1.5em;
    word-break: break-word;
}
.form-container .hs-form-field {
    margin-bottom: 20px;
}
.form-container h1 {
    font-size: 35px;
    line-height: 1.2;
    margin: 27px 0 0;
    font-weight: 500;
    text-transform: uppercase;
}
.form-container h2 {
    font-size: 35px;
}
.form-container h3 {
    font-size: 29px;
    line-height: 1.5em;
    font-weight: 300;
}
.form-container h4 {
    line-height: 1.2;
    margin: 27px 0 0;
    font-size: 20px;
    font-weight: normal;
}
.form-container h5 {
    font-size: 16px;
}
.form-container h6 {
  font-size:14px;
}



/*Form Default Style*/
.form-container .hs-form-field > label {
    display: block;
    font-weight: 600;
}
/*
.form-container input[type="text"], 
.form-container input[type="password"], 
.form-container input[type="datetime"], 
.form-container input[type="datetime-local"], 
.form-container input[type="date"], 
.form-container input[type="month"], 
.form-container input[type="time"], 
.form-container input[type="week"], 
.form-container input[type="number"], 
.form-container input[type="email"], 
.form-container input[type="url"],
.form-container input[type="search"], 
.form-container input[type="tel"], 
.form-container input[type="color"], 
.form-container input[type="file"], 
.form-container textarea, 
.form-container select {
    display: block;
    font-size: 14px;
    line-height: initial;
    font-family: inherit;
    margin: 9px 0px 0px 0px;
    padding: 10px 15px 10px 15px;
    border-style: solid;
    border-radius: 2px;
    font-weight: normal;
    border: 1px solid transparent;
    -webkit-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.025);
    -moz-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.025);
    box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.025);
    -webkit-transition: color 400ms cubic-bezier(0.785, 0.135, 0.15, 0.86), background-color 400ms cubic-bezier(0.785, 0.135, 0.15, 0.86), border-color 400ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
    -moz-transition: color 400ms cubic-bezier(0.785, 0.135, 0.15, 0.86), background-color 400ms cubic-bezier(0.785, 0.135, 0.15, 0.86), border-color 400ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
    -o-transition: color 400ms cubic-bezier(0.785, 0.135, 0.15, 0.86), background-color 400ms cubic-bezier(0.785, 0.135, 0.15, 0.86), border-color 400ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition: color 400ms cubic-bezier(0.785, 0.135, 0.15, 0.86), background-color 400ms cubic-bezier(0.785, 0.135, 0.15, 0.86), border-color 400ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
    border: 1px solid #eaeaea;
    width: 100%;
    max-width: 767px;
}
*/

.form-container .hs-button.primary, 
.form-container input[type="submit"], 
.form-container input[type="button"] {
    cursor: pointer;
    -webkit-appearance: none;
    text-decoration: none;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-block;
    -webkit-transition: color 200ms ease-in-out, background-color 200ms ease-in-out, border-color 200ms ease-in-out;
    -moz-transition: color 200ms ease-in-out, background-color 200ms ease-in-out, border-color 200ms ease-in-out;
    -o-transition: color 200ms ease-in-out, background-color 200ms ease-in-out, border-color 200ms ease-in-out;
    transition: color 200ms ease-in-out, background-color 200ms ease-in-out, border-color 200ms ease-in-out;
    font-size: 12px;
    padding: 13px 31px 13px 31px;
    text-align: center !important;
    vertical-align: middle;
    background-image: none;
    border-radius: 2px;
    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: #006cff;
    border-color: #006cff;
    margin-top: 20px;
    cursor: pointer;
}

.form-container .hs-button.primary:hover, 
.form-container input[type="submit"]:hover, 
.form-container input[type="button"]:hover {
    color: #006cff;
    background-color: transparent;
    border-color: #006cff;
}
.form-section {
  background: #fff;
  padding: 40px;
  border-radius: 5px;
  margin-top: 0px;
  max-height:400px;
  overflow: hidden;
  transition: 2s ease-in;
}

.form-section .hubspot-link__container.sproket {
    display: none;
}

.form-steps {
  padding: 20px 0;
  width: 100%;
  display: none;
  position: absolute;
  transition: 2s;
}

.from-step {
    width: 60px;
    height: 60px;
    background: #55c2ff;
    border-radius: 50%;
    line-height: 55px;
    text-align: center;
    font-size:13px;
    margin: 0 auto;
    border: 3px solid #fff;
    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;
}

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

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

.form-section ul.hs-error-msgs.inputs-list label , 
.form-section .inavalid-error {
    padding: 10px;
    background: #e89f9f;
    display: inline-block;
    color: #fff;
    border: 1px solid #e61212;
}

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



.from-step:before {
    content: "\2713";

    font-size: 24px;    text-rendering: auto;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #5bda5b;
    left: 0;
    border-radius: 50%;
    display: inline-block;

    line-height: inherit;
    font-size: inherit;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.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: #fff;
    top: 50%;
    left:0
}
.form-steps .from-step-outer.step1:before {
    width: 50%;
    left: 50%;
}

.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%;
}
.form-steps span.hs-form-required {
    color: red;
    margin: 0 4px;
}

button.close-button {
  position: absolute;
  right: .2em;
  top:0px;
  font-size: 3em;
  padding: 5px;
  background-color: transparent;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: none;
}

button.close-button.active{
  display: block;
}



@media (max-width:767px){

button.close-button {
  position: absolute;
  right: .1em;
  top:0px;
  font-size: 2em;
  padding: 5px;
  background-color: transparent;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: none;
}
  
.from-step {
    width: 70px;
    height: 70px;
    line-height: 65px;
    font-size: 16px;
}
  .form-section {
    padding: 10px;
}
  
  .form-container h1 {
    font-size: 28px;
    line-height: 1.2;
    margin: 10px 0 0;
    font-weight: 500;
    text-transform: uppercase;
}
  
  .form-container .hs-button.primary, .form-container input[type="submit"], .form-container input[type="button"]
  {
        padding: 13px 21px 13px 21px;
  }
  
} 

@media (max-width:479px){
.form-container h1 {
    font-size: 24px;
    line-height: 1.2;
    margin: 10px 0 0;
    font-weight: 500;
    text-transform: uppercase;
  }
  .from-step {
    width: 50px;
    height: 50px;
    line-height: 45px;
    font-size: 12px;
}
  
button.close-button {
  right: -5px;
  top:-20px;
  font-size: 1.5em;
  padding: 5px;
}  
}