.form-label-group {
    position: relative;
}

.form-label-group select,
.form-label-group input,
.form-label-group label {
    height: 3.5rem;
    padding: 1rem;
}

.form-label-group label {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    margin-bottom: 0;
    line-height: 1.5;
    color: #6c757d;
    pointer-events: none;
    cursor: text;
    border: 1px solid transparent;
    border-radius: .25rem;
    transition: all .1s ease-in-out;
}

.form-label-group select::-webkit-input-placeholder,
.form-label-group input::-webkit-input-placeholder {
    color: transparent;
}

.form-label-group select::-moz-placeholder,
.form-label-group input::-moz-placeholder {
    color: transparent;
}

.form-label-group select:-ms-input-placeholder,
.form-label-group input:-ms-input-placeholder {
    color: transparent;
}

.form-label-group select::-ms-input-placeholder,
.form-label-group input::-ms-input-placeholder {
    color: transparent;
}

.form-label-group select::placeholder,
.form-label-group input::placeholder {
    color: transparent;
}

.form-label-group select:not(:-moz-placeholder-shown),
.form-label-group input:not(:-moz-placeholder-shown) {
    padding-top: 1.25rem!important;
    padding-bottom: .25rem!important;
}

.form-label-group select:not(:-ms-input-placeholder),
.form-label-group input:not(:-ms-input-placeholder) {
    padding-top: 1.25rem!important;
    padding-bottom: .25rem!important;
}

.form-label-group select:not(:placeholder-shown),
.form-label-group input:not(:placeholder-shown) {
    padding-top: 1.25rem!important;
    padding-bottom: .25rem!important;
}

.form-label-group select:not(:-moz-placeholder-shown)~label,
.form-label-group input:not(:-moz-placeholder-shown)~label {
    padding-top: .35rem!important;
    padding-bottom: .35rem!important;
    font-size: 13px!important;
    color: #6c757d!important;
}

.form-label-group select:not(:-ms-input-placeholder)~label,
.form-label-group input:not(:-ms-input-placeholder)~label {
    padding-top: .35rem!important;
    padding-bottom: .35rem!important;
    font-size: 13px!important;
    color: #6c757d!important;
}

.form-label-group select:not(:placeholder-shown)~label,
.form-label-group input:not(:placeholder-shown)~label {
    padding-top: .35rem!important;
    padding-bottom: .35rem!important;
    font-size: 13px!important;
    color: #6c757d!important;
}

@supports (-ms-ime-align: auto) {
    .form-label-group {
        display: -ms-flexbox!important;
        display: flex!important;
        -ms-flex-direction: column-reverse!important;
        flex-direction: column-reverse!important;
    }
    .form-label-group label {
        position: static!important;
    }
    .form-label-group input::-ms-input-placeholder {
        color: #6c757d!important;
    }
}