.contact-form{padding-top: 30px; border: 5px solid #2E5473;}
/* form starting stylings ------------------------------- */
.contact-form .group 			  { 
  position:relative; 
  margin-bottom:30px; 
}
.contact-form textarea				{
  font-size:18px;
  padding:10px 0px 10px 0px;
  display:block;
  border:none;
  border-bottom:1px solid #757575;
  width: 100%;
  height: 100px;
}
.contact-form input{
  font-size:18px;
  padding:5px 0px 5px 0px !important;
  display:block !important;
  border:none;
  border-bottom:1px solid #757575;
  width: 100% !important;
  background-image: none !important;
}
.contact-form .wpcf7-captchar{width: 100% !important;}
.contact-form input[type=submit]{background-color: #2e5473;color: #fff; cursor: pointer;}
.contact-form .wpcf7-captchac{position:absolute;right:0;}
.contact-form input:focus,
.contact-form textarea:focus  { outline:none; }

/* LABEL ======================================= */
.contact-form label 				 {
  color:#999; 
  font-size:18px;
  font-weight:normal;
  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 */
.contact-form input:focus ~ label, 
.contact-form input.used ~ label , 
.contact-form textarea:focus ~ label,
.contact-form textarea.used ~ label		{
  top:-20px;
  font-size:14px;
  color:#2e5473;
}

/* BOTTOM BARS ================================= */
.contact-form .bar 	{ position:relative; display:block;  }
.contact-form .bar:before, .contact-form .bar:after 	{
  content:'';
  height:2px; 
  width:0;
  bottom:1px; 
  position:absolute;
  background:#2e5473; 
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}
.contact-form .bar:before {
  left:50%;
}
.contact-form .bar:after {
  right:50%; 
}

/* active state */
.contact-form input:focus ~ .bar:before, 
.contact-form input:focus ~ .bar:after ,
.contact-form textarea:focus ~ .bar:before,
.contact-form textarea:focus ~ .bar:after{
  width:50%;
}

/* HIGHLIGHTER ================================== */
.contact-form .highlight {
  position:absolute;
  height:60%; 
  width:100px; 
  top:25%; 
  left:0;
  pointer-events:none;
  opacity:0.5;
}

/* active state */
.contact-form input:focus ~ .highlight,
.contact-form textarea:focus ~ .highlight {
  -webkit-animation:inputHighlighter 0.3s ease;
  -moz-animation:inputHighlighter 0.3s ease;
  animation:inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
	from { background:#2e5473; }
  to 	{ width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
	from { background:#2e5473; }
  to 	{ width:0; background:transparent; }
}
@keyframes inputHighlighter {
	from { background:#2e5473; }
  to 	{ width:0; background:transparent; }
}