* { box-sizing:border-box; }

/* form starting stylings ------------------------------- */
.group {
    position: relative;
    float: left;
    width: 100%;
}
input[type=text] {
    font-size: 14px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 2px solid #c7c7c7;
    background: white;
    color: black;
    font-weight: 100;
}
input[type=text]:focus 		{ outline:none; }

input[type=password] {
    font-size: 14px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 2px solid #c7c7c7;
    background: white;
    color: black;
    font-weight: 100;
}
input[type=password]:focus    { outline:none; }

input[type=email] {
    font-size: 14px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 2px solid #c7c7c7;
    background: white;
    color: black;
    font-weight: 100;
}
input[type=email]:focus    { outline:none; }

/* LABEL ======================================= */
.group label {
  color: #c7c7c7;
  font-size: 13px;
  font-weight: 100;
  position:absolute;
  pointer-events:none;
  left:5px;
  top:10px;
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}

/* active state */
input[type=text]:focus ~ label, input[type=text]:valid ~ label 		{
  top:-10px;
  font-size:11px;
  color:#c7c7c7;
}
input[type=password]:focus ~ label, input[type=password]:valid ~ label    {
  top:-10px;
  font-size:11px;
  color:#c7c7c7;
}
input[type=email]:focus ~ label, input[type=email]:valid ~ label    {
  top:-10px;
  font-size:11px;
  color:#c7c7c7;
}

input[type=text]:disabled ~ label, input[type=text]:valid ~ label    {
  top:-10px;
  font-size:11px;
  color:#c7c7c7;
  cursor: not-allowed;
}

input[type=text]:disabled {
  cursor: not-allowed;
}

input[type=password]:disabled {
  cursor: not-allowed;
}

input[type=email]:disabled {
  cursor: not-allowed;
}


/* BOTTOM BARS ================================= */
.bar 	{ position:relative; display:block; width:100%; }
.bar:before, .bar:after 	{
  content:'';
  height:2px; 
  width:0;
  bottom:1px; 
  position:absolute;
  background:var(--color-2); 
  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 */
input[type=text]:focus ~ .bar:before, input[type=text]:focus ~ .bar:after {
  width:50%;
}
input[type=password]:focus ~ .bar:before, input[type=password]:focus ~ .bar:after {
  width:50%;
}
input[type=email]:focus ~ .bar:before, input[type=email]:focus ~ .bar:after {
  width:50%;
}




select {
    font-size: 14px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 2px solid #c7c7c7;
    background: white;
    color: black;
    font-weight: 100;
}
select:focus    { outline:none; }

/* active state */
select:focus ~ label, select:valid ~ label    {
  top:-10px;
  font-size:11px;
  color:#c7c7c7;
}

/* active state */
select:focus ~ .bar:before, select:focus ~ .bar:after {
  width:50%;
}
/* HIGHLIGHTER ================================== */


/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
	from { background:white; }
  to 	{ width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
	from { background:white; }
  to 	{ width:0; background:transparent; }
}
@keyframes inputHighlighter {
	from { background:white; }
  to 	{ width:0; background:transparent; }
}