.form_extended .col {
    margin-bottom: 30px;
}

label {
    position: absolute;
    top: 0;
    left: 5px;
    padding-left: 15px;
    display: block;
    width: calc(100% - 30px);
    height: 55px;
    margin-bottom: 0; /* Override default `<label>` margin */
    color: #495057;
    pointer-events: none;
    cursor: text; /* Match the input under the label */
    border: 1px solid transparent;
    border-radius: .25rem;
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    transition: all .1s ease-in-out;
    font-size: .9em;
}

label.active:not(.label_promo) {
    height: initial;
    font-size: .7em;
    top: 0px;
    left: 5px;
    width: fit-content;
    padding: 5px;
}

label.active span {
    margin-left: 10px;
    color: #04ADBF;
}

label.has-error {
    color: #BF3F3F;
}

label.has-error span {
    color: #BF3F3F;
    margin: 0 7px;
}

label:not(.active) span {
    display: none;
}

select,
option,
.form-control {
    border: 1px solid #c1c1c1;
    border-radius: 0;
    padding: 1.7rem 1rem .75rem 1rem;
    height: auto;
    background-color: #fff !important;
    font-size: .9em;
    color: #495057;
    border-radius: 3px;
}
.form-control.required {
    border: 1px solid #c1c1c1;
    border-radius: 0;
    padding: 1.7rem 1rem .75rem 1rem;
    height: auto;
    background-color: #fff !important;
    font-size: .9em;
    color: #495057;
    border-radius: 3px;
    border-left: 2px solid #04ADBF;
}

.form-control.off.required {
    border: 1px solid #c1c1c1;
    border-radius: 0;
    padding: 1.7rem 1rem .75rem 1rem;
    height: auto;
    background-color: #fff !important;
    font-size: .9em;
    color: #495057;
    border-radius: 3px;
    border-left: 1px solid #c1c1c1;
}

span.error {
    margin-top: 0;
    left: 15px;
    padding: 0;
    color: #BF3F3F;
    font-weight: 600;
    font-size: .9em;
}

.js-validateme .col span.error {
    padding: 5px 5px 5px 5px;
    background: #F27D52;
    color: #fff;
    font-weight: 600;
    font-size: .7em;
    display: block;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    width: fit-content;
    margin-top: -1px;
}


.form-control.has-error {
    border: 1px solid #BF3F3F;
}

input[role="button"]:focus,
button:focus {
    outline: none;
}

.form-control:focus {
    background-color: #fff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0);
}

select.form-control:not([size]):not([multiple]) {
    height: initial;
}

/* custom css */
.radio-wrapper,
.checkbox-wrapper {
    position: relative;
}
.radio-wrapper input[type="checkbox"],
.radio-wrapper input[type="radio"],
.checkbox-wrapper input[type="checkbox"],
.checkbox-wrapper input[type="radio"] {
    position: absolute;
    top: 2px;
    left: 1px;
    height: 20px;
    width: 20px;
    appearance: auto;
    outline: none;
    z-index: 2;
}
.radio-label,
.checkbox-label {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    position: relative;
    font-weight: 400;
    line-height: 1.2;
}
.radio-label:before,
.radio-label:after,
.checkbox-label:before,
.checkbox-label:after {
    pointer-events: none;
}
.radio-label:before,
.checkbox-label:before {
    /*display: flex;*/
    /*content: ' ';*/
    /*height: 20px;*/
    /*width: 20px;*/
    /*border: 1px solid #04ADBF;*/
    /*background: #fff;*/
    margin-right: 10px;
    /*border-radius: 3px;*/
    /*align-self: start;*/
}
.radio-label:after,
.checkbox-label:after {
    position: absolute;
    left: 4px;
    display: flex;
    content: ' ';
    height: 12px;
    width: 12px;
    background:  #04ADBF;
    transform: scale(0);
    transition: transform .3s ease;
    border-radius: 3px;
}
.radio-label:before,
.radio-label:after {
    border-radius: 50%;
}
.radio-wrapper input[type="radio"]:checked ~ .radio-label:after,
.checkbox-wrapper input[type="checkbox"]:checked ~ .checkbox-label:after,
.radio-wrapper input[type="radio"]:checked + .radio-wrapper input[type="radio"] + .radio-label:after,
.checkbox-wrapper input[type="checkbox"]:checked + .radio-wrapper input[type="checkbox"] + .checkbox-label:after,
.checkbox-wrapper input[type="radio"]:checked + .checkbox-label:after{
    transform: scale(1);
}