.form-group.floating {
    position: relative
}

.form-group.floating input {
    padding: 1.375rem .75rem;
}

.form-group.floating > label {
    top: 12px;
    left: 8px;
    position: absolute;
    background-color: white;
    padding: 0px 5px 0px 5px;
    font-size: 1.1em;
    transition: 0.1s;
    pointer-events: none;
    transform-origin: bottom left;
}

.form-group.floating .form-control:valid ~ label,
.form-group.floating .form-control:focus ~ label {
    background: #fff;
    border-radius: 5px;
    color: #005ebf;
    top: -8px;
    font-size: 0.75em;
}
