﻿.input-group .floating-label, notrequired ~ .floating-label {
    position: absolute;
    pointer-events: none;
    color: gray;
    font-family: inherit;
    font-weight: 400;
    top: 8px;
    left: 12px;
    transition: 0.2s ease all;
}

.input-group input:focus ~ .floating-label, .input-group input:not(:focus):required:valid ~ .floating-label, .input-group input:not(:focus).hasavalue ~ .floating-label {
    top: -12px;
    left: 8px;
    font-size: 13px;
    background-color: white;
    color: darkblue;
    z-index: 5;
}
/*End FLOATING label*/

/*Disapparing label*/
.input-group .disappear-label, notrequired ~ .disappear-label {
    position: absolute;
    pointer-events: none;
    color: gray;
    font-family: inherit;
    font-weight: 400;
    top: 8px;
    left: 12px;
    z-index: 1000;
}

.input-group select:focus ~ .disappear-label
,.input-group select:not(:focus):required:valid ~ .disappear-label
,.input-group select:not(:focus).hasavalue ~ .disappear-label
.input-group input:focus ~ .disappear-label
,.input-group input:not(:focus):required:valid ~ .disappear-label
,.input-group input:not(:focus).hasavalue ~ .disappear-label
{
	 display:none;
}
/*End Disappearing label*/

.fixed-label {
    position: absolute;
    pointer-events: none;
    font-family: inherit;
    font-weight: 400;
    top: -12px;
    left: 8px;
    font-size: 13px;
    background-color: white;
    color: darkblue;
    z-index: 5;
}
