/****Form****/

/*--- contact_form ------*/
#contact-form {
	position: relative;
	margin-top: 56px;
}
#contact-form label {
	position: relative;
	/*!*/
	display: block;
	min-height: 70px;
	margin-bottom: 0px;
	width: 100%;
	width: 370px;
	box-shadow: none;
}
#contact-form label.last{margin-right: 0;}
#contact-form label.message{width: 100%; float: none;}
#contact-form label.phone{margin-right: 0;}
#contact-form span {display: block;}
#contact-form ._placeholder {
	position: absolute;
	/*!*/
	left: 0;
	right: 0;
	top: 0;
	/*top: 0 !important;*/
	bottom: 0;
	cursor: text;
	padding: 13px 10px 13px 19px;
	font:14px/20px "Ubuntu", Arial, Helvetica, sans-serif;
	color: #6b7173;
	display: block;
}
#contact-form ._placeholder.focused {
	opacity: .4;
	filter: alpha(opacity=40);
	/*.box-shadow(0px 0px 7px 0px rgba(0, 0, 255, 0.5));*/
}
#contact-form ._placeholder.hidden {
	display: none;
}
input{-webkit-appearance:none;}
#contact-form input,
#contact-form textarea {
	outline: none;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 13px 10px 13px 19px;
	font:14px/20px "Ubuntu", Arial, Helvetica, sans-serif;
	color: #6b7173;
	border: none;
	border: 1px solid #e6e6e6;
	border-radius: 0;
	width: 100%;
	background: #f3f3f3;
	box-shadow: none;
	-webkit-appearance:none;
	resize: none;
	height: 48px;

	-webkit-box-sizing: border-box; /* Safari */
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	box-sizing: border-box;
}
#contact-form textarea {
	width: 100%;
	height: 200px;
	margin-bottom: 0;
	overflow: hidden;
}
#contact-form .message {
	width: 100%;
}

#contact-form .captcha-text{
	float: left;
}

#contact-form .captcha-image{
	width: 100px !important;
	padding: 0;
	float: left;
}

#contact-form .refresh-image{
	padding: 0 5px 0 5px !important;
	float:left;
	cursor: pointer;
}

#contact-form .error-message,
#contact-form .empty-message {
	height: 0;
	overflow: hidden;
	font: 10px/20px Arial;
	-webkit-transition: 0.3s ease-in height;
	-moz-transition: 0.3s ease-in height;
	-o-transition: 0.3s ease-in height;
	transition: 0.3s ease-in height;
	position: absolute;
	right: 3px;
	top: 0;
}
#contact-form .invalid .error-message,
#contact-form .empty .empty-message {
	height: 20px;
}
#contact-form .success-message {
	position: absolute;
	overflow: hidden;
	height: 0;
	left: 0;
	top: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	background: #f3f3f3;
	border-radius: 0;
	z-index: 10;
	width: 100%;
	width: 370px;
	text-align: center;
	-webkit-transition: all 0.4s linear;
	-moz-transition: all 0.4s linear;
	-o-transition: all 0.4s linear;
	transition: all 0.4s linear;
	padding: 0px 0;
}
#contact-form.success .success-message {
	height: 188px;
	padding: 85px 0 0;
	border: none;
	border: 1px solid #e6e6e6;
	-webkit-transition: all 0.4s linear;
	-moz-transition: all 0.4s linear;
	-o-transition: all 0.4s linear;
	transition: all 0.4s linear;
}
.form_btns {
	display: block;
	float: right;
	margin-top: 40px;
}
.form_btns a {
	margin-left: 20px;
	margin-top: 2px !important;
	padding: 14px 42px !important;
	float: left;
}
/*--- contact_form end------*/

@media only screen and (max-width: 1199px) {
	#contact-form {padding-top: 0;}
	#contact-form .success-message {width: 100%;}

	#contact-form label{width: 100%; float: none;}

}

@media only screen and (max-width: 767px) {
	#contact-form textarea {height: 300px !important;}
	#contact-form {margin-top: 30px;}
	#contact-form.success .success-message {height: 188px; padding-top: 85px;}
}
@media only screen and (max-width: 479px) {
	#contact-form textarea {height: 200px !important;}
}

/* Contact Form Modal 
========================================================*/
.modal-open {
	overflow: hidden;
  }
  #contact-form .modal {
	letter-spacing: normal;
	display: none;
	overflow: auto;
	overflow-y: scroll;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1050;
	-webkit-overflow-scrolling: touch;
	outline: 0;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
  }
  #contact-form .modal h4 {
	font-weight: bold;
	color: #000;
	padding: 0;
	margin: 0;
  }
  .modal.fade .modal-dialog {
	-webkit-transform: translate(0, -25%);
	-ms-transform: translate(0, -25%);
	transform: translate(0, -25%);
	-webkit-transition: -webkit-transform 0.3s ease-out;
	-moz-transition: -moz-transform 0.3s ease-out;
	-o-transition: -o-transform 0.3s ease-out;
	transition: transform 0.3s ease-out;
  }
  .modal.in .modal-dialog {
	-webkit-transform: translate(0, 0);
	-ms-transform: translate(0, 0);
	transform: translate(0, 0);
  }
  .modal-content {
	position: relative;
	background-color: #ffffff;
	border: 1px solid #999999;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 6px;
	-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	background-clip: padding-box;
	outline: none;
  }
  .modal-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1040;
	background-color: #000000;
  }
  .modal-backdrop.fade {
	opacity: 0;
	filter: alpha(opacity=0);
  }
  .modal-backdrop.in {
	opacity: 0.5;
	filter: alpha(opacity=50);
  }
  .modal-header {
	padding: 15px;
	border-bottom: 1px solid #e5e5e5;
	min-height: 16.42857143px;
  }
  .modal-header .close {
	margin-top: -2px;
  }
  .modal-title {
	margin: 0;
	line-height: 1.42857143;
  }
  .modal-body {
	position: relative;
	padding: 20px;
  }
  .modal-dialog {
	width: 600px;
	margin: 10px auto;
  }
  @media only screen and (max-width: 768px) {
	.modal-dialog {
	  position: relative;
	  width: auto;
	  margin: 10px;
	}
  }
  /* Contact Form Close icon 
  ========================================================*/
  .close {
	float: right;
	font-size: 21px;
	font-weight: bold;
	line-height: 1;
	color: #000000;
	text-shadow: 0 1px 0 #ffffff;
	opacity: 0.2;
	filter: alpha(opacity=20);
  }
  .close:hover,
  .close:focus {
	color: #000000;
	text-decoration: none;
	cursor: pointer;
	opacity: 0.5;
	filter: alpha(opacity=50);
  }
  button.close {
	padding: 0;
	cursor: pointer;
	background: transparent;
	border: 0;
	-webkit-appearance: none;
  }
  