body{ background-color: #fcfcfc; padding:15px; height: 100vh; }
.panel{
    margin: auto; 
    margin-top:40px;
    width:400px;
    padding:30px;
    background-color: #fff;
    margin-bottom: 100px;
    box-shadow: 0 0 45px rgba(100,100,100,0.2); border-radius:7px;
}

.form-group{ 
    position:relative; margin-bottom: 30px;
}
.inputMaterial 				{
    font-size:16px;
    padding:7px 0;
    display:block;
    width:100%;
    border:none;
    border-bottom:1px solid #ccc;
}

.inputMaterial:focus { outline:none;}

.material label{
    color:#999; 
    font-size:16px;
    font-weight:normal;
    position:absolute;
    pointer-events:none;
    left:0px;
    top:10px;
    transition:0.2s ease all; 
}

/* active state */
.inputMaterial:focus ~ label, .inputMaterial:valid ~ label 		{
    top:-12px;
    font-size:12px;
    color:#337ab7;
}

/* BOTTOM BARS ================================= */
.bar { position:relative; display:block; width:auto; }
.bar:before, .bar:after 	{
    content:'';
    height:2px; 
    width:0;
    bottom:1px; 
    position:absolute;
    background:#337ab7; 
    transition:0.2s ease all; 
    -moz-transition:0.2s ease all; 
    -webkit-transition:0.2s ease all;
}
.bar:before {
    left:50%;
}
.bar:after {
    right:50%; 
}
/* active state */
.inputMaterial:focus ~ .bar:before, .inputMaterial:focus ~ .bar:after {
    width:50%;
}

.title{margin-bottom:45px}
.top{margin-top: 100px; text-align: center}
.logo{height: 50px;}

@media (max-width: 768px){
    .top{ margin-top: 30px }
    .panel{width: 100%;}
}

.top-label{ margin-left: 7px;
            border-radius: 5px; padding:10px 20px; font-size: 16px; display: inline-block; color:#fff; background-color:#337ab7; position: relative;
}
.top-label:before{
    border-left: 16px solid #327ab8;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    content: " ";
    position: absolute;
    right: -15px;
    width: 0px;
    top: 2px;
}

.login-admin .top-label{

}

.login-erp .top-label{
    background-color:#ff851b; 
}
.login-erp .top-label:before{
    border-left: 16px solid #ff851b;
}

body.login-erp .inputMaterial:focus ~ label, body.login-erp .inputMaterial:valid ~ label{
    color:#ff851b;
}
body.login-erp .bar:before, body.login-erp .bar:after {
    background:#ff851b; 
}
body.login-admin{
    background-image: url("../images/footer_image_admin.jpg");
    background-position: center bottom;
    background-repeat: repeat-x;
}
body.login-erp{
    background-image: url("../images/footer_image_erp.png");
    background-position: center bottom;
    background-repeat: repeat-x;
}

.btn-warning{
    background-color:#ff851b; border-color:#ff851b; 
}
.btn:focus{outline:0!important;}

.form-group.has-error .bar::before,.form-group.has-error .bar::after, .form-group.has-error .input-group-addon {
    background: #dd4b39 !important;    
}