/* Hide Labels */
.multistep-form[data-hide-labels="true"] .hs-form-field>label {
  display: none;
}
/* Hide the placeholder when the form has the dynamic labels active */
.multistep-form[data-dynamic-label="true"] .hs-input::placeholder {
  content: "";
  display: none;
  opacity: 0;
  visibility: hidden;
}

.multistep-form__content {
  display: flex;
  flex-direction: column;
}

/* Icon field generated outside the form container to be inserted into the form submit button */
.multistep-form__submit-icon{
  pointer-events: none;
  position: absolute;
  z-index: 3;
  display: inline-block;
  width: 1em;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.multistep-form__submit-icon--hidden{
  display: none;
} 

/* Icon Styles */
.multistep-form[data-button-icon="true"] .actions>input {
  padding-right: 1.5rem;
}

.multistep-form[data-dynamic-label="true"] .hs-input::placeholder {
  color: transparent;
}

.multistep-form[data-dynamic-label="true"] .hs-form-field {
  position: relative;
}

.multistep-form[data-dynamic-label="true"] .hs-form-field:has(input[type=email]) label:not(.hs-error-msg), 
.multistep-form[data-dynamic-label="true"] .hs-form-field:has(input[type=number]) label:not(.hs-error-msg), 
.multistep-form[data-dynamic-label="true"] .hs-form-field:has(input[type=password]) label:not(.hs-error-msg), 
.multistep-form[data-dynamic-label="true"] .hs-form-field:has(input[type=search]) label:not(.hs-error-msg), 
.multistep-form[data-dynamic-label="true"] .hs-form-field:has(input[type=tel]) label:not(.hs-error-msg), 
.multistep-form[data-dynamic-label="true"] .hs-form-field:has(input[type=text]) label:not(.hs-error-msg), 
.multistep-form[data-dynamic-label="true"] .hs-form-field:has(textarea) label:not(.hs-error-msg) {
  border: 1px solid transparent;
  position: absolute;
  z-index: 1;
  top:0;
  left:0;
  -webkit-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
}

.multistep-form[data-dynamic-label="true"] .hs-form-field input[type=email]:focus, 
.multistep-form[data-dynamic-label="true"] .hs-form-field input[type=number]:focus, 
.multistep-form[data-dynamic-label="true"] .hs-form-field input[type=password]:focus, 
.multistep-form[data-dynamic-label="true"] .hs-form-field input[type=search]:focus, 
.multistep-form[data-dynamic-label="true"] .hs-form-field input[type=tel]:focus, 
.multistep-form[data-dynamic-label="true"] .hs-form-field input[type=text]:focus, 
.multistep-form[data-dynamic-label="true"] .hs-form-field textarea:focus {
  outline: none;
}

.multistep-form .hs-form-field.active label, 
.multistep-form[data-dynamic-label="true"] .hs-form-field.active:has(textarea) label {
  background-color: #FFF;
}

.multistep-form .form-title {
  display: none;
}

.multistep-form textarea.hs-input {
  min-height: 120px;
}

/** Overriding Checkboxes and Radio Buttons **/
.multistep-form input[type="radio"],
.multistep-form input[type="checkbox"] {
  display: none
}

.multistep-form input[type="radio"]+span,
.multistep-form input[type="checkbox"]+span {
  position: relative;
  display: block;
  padding-left: 30px;
  cursor: pointer
}

.multistep-form input[type="radio"]+span:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0;
  width: 20px;
  height: 20px;
  display: block;
  border: 1px solid;
  transition: all ease .3s;
  -webkit-transition: all ease .3s;
  text-align: center;
  line-height: 18px;
  border-radius: 50%
}

.multistep-form input[type="radio"]+span:after {
  background-color: transparent;
  border-radius: 50%;
  content: "";
  width: 10px;
  height: 10px;
  top: 5px;
  left: 5px;
  position: absolute;
}

.multistep-form input[type="radio"]:checked+span:after {
  background-color: #ffffff;
}

.multistep-form input[type="radio"]:checked+span:before {
  border-color: var(--secondary);  
}

.multistep-form input[type="checkbox"]+span:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;  
  width: 20px;
  height: 20px;
  display: block;
  border: 1px solid;
  transition: all ease .3s;
  -webkit-transition: all ease .3s;
  text-align: center;
  line-height: 18px;
}

.multistep-form input[type="checkbox"]+span:after {
  content: "";
  width: 10px;
  height: 10px;
  top: 5px;
  left: 5px;
  position: absolute;
}

.multistep-form input[type="checkbox"]:checked+span:after {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.multistep-form input[type="checkbox"]:checked+span:before {  
  border-color: var(--secondary);
}
/** END Overriding Checkboxes and Radio Buttons **/

.multistep-form select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7' viewBox='0 0 9 7' fill='none'%3E%3Cpath d='M0.470894 1.66577L3.98518 5.18006C4.01083 5.20739 4.04181 5.22917 4.07621 5.24406C4.11061 5.25896 4.1477 5.26664 4.18518 5.26664C4.22266 5.26664 4.25975 5.25896 4.29415 5.24406C4.32855 5.22917 4.35953 5.20739 4.38518 5.18006L7.89947 1.66577' stroke='%2300427a' stroke-width='1.71429' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) 50%;
}

{#***************** Step Styles **********************#}
.multistep-form__buttons-container{
	display:none;
	justify-content: space-between;
	align-items: center;
	gap:20px;
	margin: 30px 0;
}
.multistep-form form{
	opacity:0;
	transition:opacity 0.3 easa;
}
.multistep-form__button,
.hs-error-msgs{
	display:none;
}
.multistep-form__step{
	transition:opacity ease .3s;
	max-height: 0;
	overflow: hidden;
	opacity:0;
}
.multistep-form div.hs_submit{
 display:none;
}
.multistep-form .submitted-message{
	min-height: 250px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction:column;
	opacity:0;
}
.multistep-form__step-bottom-description{
	margin-top:30px;
}
{#***************** Progress Bar **********************#}
.multistep-form__bar-container {
  position: relative;
  width: 99.7%;
  margin:10px 0 60px;
	display:flex;
}

.multistep-form__progress-bar-inner {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 0%;
  transition: ease 1s;
	overflow:hidden;
}

.multistep-form__progress-bar-steps {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: space-between;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.multistep-form__progress-step {
  font-size: 14px;
  padding: 10px;
  text-align: center;
  transition: ease 1s .5s;
	display: flex;
	justify-content: center;
	align-items: center;
	position:relative;
}
.multistep-form__progress-step:not(:last-child)::after,
.multistep-form__progress-step:not(:first-child)::before{
	position:absolute;
	content:"";
	width: 12px;
}
.multistep-form__progress-step:not(:last-child)::after{
	right: -12px;
}
.multistep-form__progress-step:not(:first-child)::before{
	left: -12px;
}
.multistep-form--layout-segmented-progress-bar .multistep-form__progress-step{
	padding:0;
}
.multistep-form--layout-segmented-progress-bar .multistep-form__progress-step::before{
	left: 0;
}
.multistep-form--layout-segmented-progress-bar .multistep-form__progress-step::after{
	display:none;
}
.multistep-form--layout-segmented-progress-bar .multistep-form__progress-step:last-child::before{
	display:none;
}
.multistep-form--layout-segmented-progress-bar .multistep-form__step-index,
.multistep-form--layout-simple-progress-bar .multistep-form__progress-step,
.multistep-form--layout-without-progress-bar .multistep-form__bar-container{
	display:none;
}
.multistep-form__couter-form-name{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap:20px;
	margin-bottom:50px;
}
.multistep-form__form-name >*,
.multistep-form__couter{
	margin:0;
	text-transform:uppercase;
}
{#***************** End Progress Bar **********************#}
{#***************** CHECKBOX LIKE CARDS **********************#}
.multistep-form__cards-container{
	display: flex;
	flex-direction:column;
	gap:30px;
	margin-bottom:30px;
}
.multistep-form__card-container{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}
.multistep-form__card{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction:column;
	gap:10px;
	padding:20px;
	cursor:pointer;
	transition:all .3s ease;
}
.multistep-form__card-label{
	text-align:center;
}
.multistep-form__card-icon{
	width:32px;
	height:auto;
}
.multistep-form__card-label{
	margin:0;
	transition:all .3s ease;
	font-weight:700;
	font-size:18px;
}
.multistep-form__card-icon svg{
	transition:all .3s ease;
}
.multistep-form__cards-has-label{
	position:relative;
	padding-top:30px;
}
.multistep-form__cards-label{
	position:absolute;
	top:0;
  right:0;
	left:0;
}
{#***************** END CHECKBOX LIKE CARDS **********************#}

{#*** DISPLAY ***#}
.multistep-form--form-ready form{
	opacity:1;
}
.multistep-form--form-ready .multistep-form__buttons-container{
	display:flex;
}
.multistep-form--form-submitted .multistep-form__buttons-container{
	display:none;
}
.multistep-form--step-active{
	max-height: revert;
	overflow: visible;
	position:relative;
	z-index:10;
}
.multistep-form--btn-active,
.hs-error-msgs:last-child{
	display:block;
}
.multistep-form--hidden{
	display:none;
}

.legal-consent-container .hs-richtext{
  font-size: 14px;
  color: #ffffff;
}

{#***************** MEDIA QUERIES **********************#}
@media(max-width:766px){
	.multistep-form__card-container{
		flex-direction:column;
	}
	.multistep-form__card {
		width: 100%;
	}
}
{#***************** ANIMATIONS **********************#}
@keyframes slide-up {
  from {
    transform: translateY(10%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slide-down {
  from {
    transform: translateY(-10%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes enter-left {
  from {
    opacity: 0;
    transform: translateX(-10%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes enter-right {
  from {
    opacity: 0;
    transform: translateX(10%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoom {
  from {
		opacity: 0;
    transform: scale(0.8); 
  }
  to {
		opacity: 1;
    transform: scale(1);
  }
}
{#***************** End Step Styles **********************#}
