﻿

.has-float-label {
    display: block;
    position: relative;
}


    .has-float-label label, .has-float-label > span {
        position: absolute;
        cursor: text;
        font-size: 90%;
        opacity: 1;
        -webkit-transition: all .1s ease;
        transition: all .1s ease;
        top: -.6em;
        left: 0.75rem;
        z-index: 3;
        line-height: 1;
        color: #54639d;
        background: #ffffff;
        padding: 0 5px;
    }

        .has-float-label label::after, .has-float-label > span::after {
            content: " ";
            display: block;
            position: absolute;
            background: white;
            height: 2px;
            top: 50%;
            left: -.2em;
            right: -.2em;
            z-index: -1;
        }

    .has-float-label .form-control::-webkit-input-placeholder {
        opacity: 1;
        -webkit-transition: all .1s ease;
        transition: all .1s ease;
    }

    .has-float-label .form-control:placeholder-shown:not(:focus)::-webkit-input-placeholder {
        opacity: 0;
    }

    .has-float-label .form-control:placeholder-shown:not(:focus) + * {
        font-size: 100%;
        opacity: .65;
        top: .6em;
    }

.input-group.has-float-label,
.input-group .has-float-label {
    display: table-cell;
}

    .input-group .has-float-label .form-control {
        border-radius: 0.25rem;
    }

    .input-group .has-float-label:not(:last-child), .input-group .has-float-label:not(:last-child) .form-control {
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
        border-right: 0;
    }

    .input-group .has-float-label:not(:first-child), .input-group .has-float-label:not(:first-child) .form-control {
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
    }

.form-control:focus {
    /*color: #804000;
            background-color: #fff;
            border-color: #006633;
            box-shadow: 0 0 0 0.2rem rgba(0, 102, 51, 0.25);*/
}



