/* Floating Labels */

legend{font-size: 16px;}
.floating-labels .form-group {
    padding-bottom: 7px;
    margin: 27px 0 0 0;
    position: relative;
}
.floating-labels input,
.floating-labels select,
.floating-labels textarea {
    background: #343434;
    color: #fff;
    border-radius: 0;
    border: none;
    border-bottom: 2px solid #343434;
    -webkit-transition: border-color 0.2s ease;
    transition: border-color 0.2s ease;
    margin-bottom: 7px;
    padding-left: 5px;
    padding-right: 5px;
}
.custom-select.is-valid, .was-validated .custom-select:valid {
    background: #343434;
    color: #fff;
}
.floating-labels input:focus,
.floating-labels select:focus,
.floating-labels textarea:focus {
     background: #3f3f3f;
     color: #fff;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
            border-bottom-color: #a0a0a0;
}
.floating-labels .form-group label:not(.custom-control-label) {
    position: absolute;
    pointer-events: none;
    -webkit-transition: 0.3s ease all;
    transition: 0.3s ease all;
        top: 10px;
        left: 5px;
    font-size: 16px;
    line-height: 1.42857;
        color:  #fff;

}


.floating-labels .form-group.is-focused label:not(.custom-control-label),
.floating-labels .form-group:not(.is-empty) label:not(.custom-control-label) {
top: -16px;
    font-size: 12px;
    line-height: 1.07143;
}
.floating-labels .form-control.is-invalid ~ label:not(.custom-control-label) {
     color: #dc3545; 
}

.floating-labels .custom-control-label a{ color: #464f8a; text-decoration: none;}
.floating-labels .custom-control-label a:hover, .form-bordered .custom-control-label a:focus{ color: #464f8a; text-decoration: underline;}


.invalid-feedback {
    position: absolute;
    margin-top: auto;
    bottom: -5px;
}
.custom-switch .invalid-feedback {
    bottom: -20px;
}
.required label:not(.custom-file-label):after {
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    content: "\f069";
    color: #dc3545;
    font-size: 0.5em;
    position: absolute;
    top: 1px;
    padding-left: 3px;
}

.floating-labels .dmxDropzone {
    margin-top: 10px;
    background: #343434;
    border: 2px dashed #a0a0a0;
}
.floating-labels .dmxDropzoneMessage {
    color: #a0a0a0;
}

.floating-labels .dmxDropzoneHover {
    background: #eee;
}
.no-float label {
    top: -25px !important;
}

label > a {color:#fff!important;}