﻿.form-group.design-input            { 
  position:relative; 
  margin-bottom:45px; 
}
.design-input input           
{
   color: rgba(0,0,0,0.87);
  font-size:14px;
  font-family: Roboto,"Helvetica Neue",sans-serif;
 font-weight: normal;
  padding:15px 10px 2px 5px;
  display:block;
  width:100%;
  background-color:transparent;
  background-image: none;
  border-radius: 0px;
  box-shadow:none;
  border-bottom-width: thin;
  border-bottom-color: rgba(0,0,0,0.12);
  border-top: none;
  border-left: none;
  border-right: none;
  margin: 15px 0 0 0;
}



.design-input input:focus         { outline:none; }

/* LABEL ======================================= */
.design-input label                {
  color:#58666e; 
  font-size:14px; 
  position:absolute;
  pointer-events:none;
  left:5px;
  top:5px;
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}

/* active state */
.design-input input:focus ~ label       
{
  font-weight:bolder !important;
  top:-15px;
  font-size:12px;
  /*color:#58666e;*/
  color:Black;
}
/* BOTTOM BARS ================================= 
.bar    { position:relative; display:block; width:100%; }
.bar:before:valid,.bar:after:valid     {
  content:'';
  height:2px; 
  width:0;
  bottom:1px; 
  position:absolute;
 border-color:rgb(63,81,181);
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
  -ms-transition:0.2s ease all; 
}
.bar:before {
  left:50%;
}
.bar:after {
  right:50%; 
}*/

/* active state */
.design-input input:focus ~ .bar:before,.design-input input:focus ~ .bar:after 
{
  font-weight:bolder !important;
  width:50%;
}
.form-group.design-input {
    position: relative;
    margin-bottom: 20px;
}
input:focus:invalid {
   border-bottom:2px solid rgb(221,44,0) ;
}
input:focus:valid        
{ 
  border-bottom:2px solid rgb(63,81,181); 
}

/*.design-input input:read-only ~ label   
{
   top:-15px;
   font-size:12px;
   color:#58666e;
}*/

/*.design-input input[value=""]:read-only ~ label   
{
   top:5px !important;
   font-size:12px;
   color:#58666e;
}
*/
.EmptyBounce ~ label {
  font-weight:bold;
  top:-15px;
  font-size:12px;
  color:Black;
}

.NonEmptyBounce ~ label {
color:#58666e; 
  font-size:14px; 
  position:absolute;
  pointer-events:none;
  left:5px;
  top:5px;
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}
