﻿/* form starting stylings ------------------------------- */



/* Used  as trick to force style change of label on input and select focus change*/
.pseudo-table {
    display: table;
    width:100%;
}

label {
    display: table-header-group;
    color: #5D6A77;
    font-weight: normal;
    font-size: 13px;
}

input {
    display: table-row-group;
    border-style: none !important;
    background-color: white;
}

select {
    display: table-row-group;
    font-size: 13px;
    background-color: white;
    padding: 2px 5px 2px 5px;
    display: block;
    width: 100%;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
}

    input:focus ~ label {
        color: #2ee0e8 !important;
        font-weight: bold;
    }

select:focus ~ label {
    color: #2ee0e8 !important;
    font-weight: bold;
}

    input:focus{
        border-style: none !important;
        outline: none !important;
    }

select:focus {
    border-style: none !important;
    outline: none !important;
}

.group {
    position: relative;
    margin-bottom: 10px;
}

    .group input {
        font-size: 14px;
        padding: 0px;
        display: block;
        width: 100%;
        border: none;
        border-bottom: 1px solid #2ee0e8;
       
    }

        /*.group input:focus {
            outline: none;
        }*/

    /* LABEL ======================================= */
    /*.group label {
        color: #999;
        font-size: 18px;
        font-weight: normal;
        position: absolute;
        pointer-events: none;
        left: 5px;
        top: -10px;
        transition: 0.2s ease all;
    }*/

    .group label {
        color: #B3B3B3;
        font-size: 15px;
        font-weight: normal;
        /*position: absolute;
        pointer-events: none;
        left: 5px;
        top: -10px;
        transition: 0.2s ease all;*/
    }

    /* active state */
    /*.group input:focus ~ .group label, .group input:valid ~ .group label {
       
        color: #2ee0e8;
        
    }*/

    .group select {
        font-size: 14px;
        padding: 2px 5px 2px 5px;
        display: block;
        width: 100%;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid #2ee0e8;
       
    }

   


/* BOTTOM BARS ================================= */
.bar {
    position: relative;
    display: block;
    width: 100%;
    height: 1px;
    background: #b3b3b3;
    margin-bottom:10px;
}



    .bar:before, .bar:after {
        content: '';
        height: 2px!important;
        width: 0px;
        bottom: 0px;
        position: absolute;
        background: #b3b3b3;
        transition: 0.2s ease all;
    }

    .bar:before {
        left: 50%;
        background: #2ee0e8;
    }

    .bar:after {
        right: 50%;
        background: #2ee0e8;
    }

/* active state */
input:focus ~ .bar:before, input:focus ~  .bar:after {
    width: 50%;
    background: #2ee0e8;
    height: 1px;
}

select:focus ~ .bar:before, select:focus ~ .bar:after {
    width: 50%;
    background: #2ee0e8;
    height: 1px;
}

/* HIGHLIGHTER ================================== */
.highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* active state */
/*input:focus ~ .highlight {
    animation: inputHighlighter 0.3s ease;
}*/

/* ANIMATIONS ================ */
@keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}


/* OVERRIDE */
.box-header .box-title {
    margin: 5px !important;
}

.btn-bvb {
    padding: 5px;
    margin-bottom: 5px;
}
