.control-label {
    color: #a9a9a9;
    cursor: text;
    font-size: 13.5px;
    line-height: 0.8;
    margin: 0;
    padding-top: 3px;
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    font-weight: 400;
    margin: 0;
    max-width: 100%;
    white-space: nowrap;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: color, -webkit-transform;
    transition-property: color, -webkit-transform;
    transition-property: color, transform;
    transition-property: color, transform, -webkit-transform;
    -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.form-float-label [class*="col-"] .control-label {
    left: 16px;
}

.form-float-label.control-focus .control-label, .form-float-label.control-highlight .control-label {
    -webkit-transform: scale(0.9, 0.86) translateY(-27px);
    transform: scale(0.9, 0.86) translateY(-14px);
    padding-top: 6px;
}

.form-float-label select:not(:placeholder-shown) ~ label {
    -webkit-transform: scale(0.9, 0.86) translateY(-27px);
    transform: scale(0.9, 0.86) translateY(-14px);
    padding-top: 6px;
}

.form-float-label.control-focus .control-label {
    color: #666;
}

.form-float-label {
    margin-top: 6px;
    position: relative;
}

.form-float-label .form-control {
    z-index: 1;
}

.form-float-label .form-control::-webkit-input-placeholder,
.form-float-label .form-control::-moz-placeholder,
.form-float-label .form-control:-ms-input-placeholder,
.form-float-label .form-control::placeholder {
    color: transparent;
}

legend + .form-float-label {
    margin-top: 12px;
}

.form-float-label .form-control {
    width: 100%;
    height: 32px;
    padding: 0px;
    padding-bottom: -10px;
    color: rgba(0, 0, 0, 0.87);
    background-color: #fff;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #e0e0e0;
    -webkit-box-shadow: 0;
    box-shadow: 0;
    -webkit-transition: 0;
    -o-transition: 0;
    transition: 0;
}

.form-float-label .form-control:-webkit-autofill,
.form-float-label .form-control:-webkit-autofill:hover,
.form-float-label .form-control:-webkit-autofill:focus {
    background-color: #fff !important;
    background-image: none;
/*    color: #666;
    -webkit-text-fill-color: #666;*/
    -webkit-box-shadow: 0;
    transition: background-color 5000s ease-in-out 0s;
}

.form-float-label.form-control, .form-float-label.form-control:focus {
    box-shadow: 0 0 0px transparent !important;
}

.form-float-label .form-control:focus {
    border-color: #666;
    /*border-bottom-width: 2px;*/
    outline: 0;
    box-shadow: 0 0 0 !important;
    -webkit-box-shadow: 0 0 0 !important;
}

.form-float-label .form-control:focus:invalid {
    border-color: #666;
    /*border-bottom-width: 2px;*/
}

.form-float-label .form-control::-webkit-input-placeholder,
.form-float-label .form-control::-moz-placeholder,
.form-float-label .form-control:-ms-input-placeholder,
.form-float-label .form-control::placeholder {
    color: transparent !important;
}

.form-float-label .form-control[disabled], .form-float-label .form-control[readonly], fieldset[disabled] .form-float-label .form-control {
    border-style: double;
    background-color: transparent;
    color: rgba(0, 0, 0, 0.38);
    cursor: not-allowed;
    opacity: 1;
}
