.custom-form-wizard {
	margin: 2.5rem 0;
	padding: 1.5rem;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 .25rem 1rem rgba(0, 0, 0, 0.1);
}

.custom-form-wizard .wizard {
	display: flex;
	flex-direction: column;
}

.custom-form-wizard .wizard .form-group > label,
.custom-form-wizard .wizard legend,
.custom-form-wizard .wizard span.section-header{
	font-size: 1rem;
    line-height: 1rem;
    font-weight: 700;
}

.custom-form-wizard .wizard .wizard-indicators {
	display: flex;
	justify-content: space-between;
	margin-bottom: 1rem;
	border-bottom: 2px solid var(--light-gray);
	padding-bottom: 1rem;
}

.custom-form-wizard .wizard-indicator {
	flex-grow: 1;
	text-align: center;
	padding: 10px;
	font-weight: bold;
	color: #ccc;
	cursor: pointer;
	position: relative;
	transition: color 0.3s ease;
}

.custom-form-wizard .wizard-indicator.active {
	color: var(--primary);
}

.custom-form-wizard .wizard-indicator.active::after {
	content: '';
	position: absolute;
	bottom: -1rem;
	left: 0;
	width: 100%;
	height: 2px;
	background: rgb(229, 0, 261);
	background: -moz-linear-gradient(90deg, rgba(229, 0, 126, 1) 0%, rgba(227, 0, 58, 1) 50%, rgba(255, 121, 0, 1) 100%);
	background: -webkit-linear-gradient(90deg, rgba(229, 0, 126, 1) 0%, rgba(227, 0, 58, 1) 50%, rgba(255, 121, 0, 1) 100%);
	background: linear-gradient(90deg, rgba(229, 0, 126, 1) 0%, rgba(227, 0, 58, 1) 50%, rgba(255, 121, 0, 1) 100%);
}

.custom-form-wizard .wizard-item {
	padding: 20px 0;
}

.custom-form-wizard .wizard-item :is(.form-group:has(input:required:not(fieldset input:required)) label, fieldset legend:not(:has(label)), fieldset .form-group label, fieldset legend label)::after{
	content: "*";
	display: inline;
	color: var(--secondary);
}

.custom-form-wizard fieldset small {
	display: none;
}

.custom-form-wizard .wizard-control {
	    border-color: var(--primary);
    color: var(--primary);
    background-color: transparent;
	/* padding: 12px 25px; */
	/* border-radius: 5px; */
	/* font-size: 16px; */
	/* cursor: pointer; */
	/* margin-top: 20px; */
}

.custom-form-wizard .wizard-control:hover,
.custom-form-wizard .wizard-control:focus {
	background-color: var(--secondary);
}

.custom-form-wizard .wizard-control[data-wizard-control="prev"] {
	background-color: transparent;
	color: var(--primary);
	border: 1px solid var(--primary);
	margin-right: 10px;
}

.custom-form-wizard .wizard-control[data-wizard-control="prev"]:hover,
.custom-form-wizard .wizard-control[data-wizard-control="prev"]:focus {
	background-color: rgba(13, 40, 79, 0.1);
	color: var(--primary);
}

.custom-form-wizard .wizard .btn-submit {
	/* border-color: var(--secondary); */
	color: var(--white);
	background: rgb(229, 5, 81);
	background: -moz-linear-gradient(90deg, rgba(229, 5, 81, 1) 0%, rgba(227, 0, 58, 1) 50%, rgba(255, 121, 0, 1) 100%);
	background: -webkit-linear-gradient(90deg, rgba(229, 5, 81, 1) 0%, rgba(227, 0, 58, 1) 50%, rgba(255, 121, 0, 1) 100%);
	background: linear-gradient(90deg, rgba(229, 5, 81, 1) 0%, rgba(227, 0, 58, 1) 50%, rgba(255, 121, 0, 1) 100%);
	border: none;
	box-sizing: border-box;
}

.custom-form-wizard .wizard .btn-submit:hover,
.custom-form-wizard .wizard .btn-submit:focus {
	background: rgba(13, 40, 79, 0.1);
	color: var(--primary);
	outline: 1px solid var(--primary);
    outline-offset: -1px;
}

.custom-form-wizard .wizard .btn-previous {
    color: var(--primary);
    background-color: transparent;
	box-sizing: border-box;
	outline: 1px solid var(--primary);
	outline-offset: -1px;
	border: none;
}

.custom-form-wizard .wizard .btn-previous:hover,
.custom-form-wizard .wizard .btn-previous:focus {
	border-color: var(--primary);
	background-color: rgba(13, 40, 79, 0.1);
    /* background: rgb(229, 5, 81);
    background: -moz-linear-gradient(90deg, rgba(229, 5, 81, 1) 0%, rgba(227, 0, 58, 1) 50%, rgba(255, 121, 0, 1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(229, 5, 81, 1) 0%, rgba(227, 0, 58, 1) 50%, rgba(255, 121, 0, 1) 100%);
    background: linear-gradient(90deg, rgba(229, 5, 81, 1) 0%, rgba(227, 0, 58, 1) 50%, rgba(255, 121, 0, 1) 100%); */
	/* outline: none; */
}

.custom-form-wizard .wizard .btn-next {
	color: #fff;
	background: var(--secondary);
	box-sizing: border-box;
	border: none;
}

.custom-form-wizard .wizard .btn-next:hover,
.custom-form-wizard .wizard .btn-next:focus {
	background: rgba(13, 40, 79, 0.1);
	color: var(--primary);
	outline: 1px solid var(--primary);
    outline-offset: -1px;
}

.custom-form-wizard .wizard .wizard-item .w-responsive {
  width: 100%;
}
@media (min-width: 992px) {
  .custom-form-wizard .wizard .wizard-item .w-responsive {
    width: 50%;
  }
}

.custom-form.nopad.wave-white {
	position: relative;
}

.custom-form.nopad.wave-white:after {

    background-image: url(assets/wave-white-shadow.svg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    display: block;
    height: 37px;
    left: 0;
    position: absolute;
    top: -37px;
    width: 100%;
}
@media only screen and (min-width: 768px) {
    .custom-form.nopad.wave-white:after {
        height: 107px;
        top: -107px;
    }
}

.custom-form-wizard .disclaimer.editor-mode {
	display: inline-block;
}

body:not([data-editor-mode="content"]) .custom-form-wizard .disclaimer.editor-mode {
	display: none;
}