/****Form****/

#form {
	padding-top: 3px;
}
#form input {
	border: 1px solid #e9e9e9;
	font-size:12px;
	color:#8c8b8b;
	padding: 7px 7px 6px;
	outline: medium none;
	width: 100%;
	float:left;
	font-family: Arial, Helvetica, sans-serif;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
}
#form textarea {
	border: 1px solid #e9e9e9;
	font-size:12px;
	color:#8c8b8b;
	height: 393px !important;
	outline: medium none;
	overflow: auto;
	padding: 7px 7px 6px;
	width: 100%;
	position: relative;
	resize:none;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	float:left;
	font-family: Arial, Helvetica, sans-serif;
	margin: 0;
	
}
#form label {
	position:relative;
	display: block;
	min-height: 40px;
	width: 100%;
	
	float: left;
	clear: left;
}

#form label > span {
	position: absolute;
}

#form .error, #form .empty {
	color: #FF0000;
	display: none;
	font-size: 11px;
	line-height:14px;
	width:auto;
	position: absolute;
	z-index: 999;
	right: 5px;
	top: 9px;
	float:left;
	background: #fff;
}
#form .error-empty {
	display:none;
	float:left;
}

#form .asp-error {
	color: #FF0000;
	font-size: 11px;
	line-height:14px;
	width:auto;
	position: absolute;
	z-index: 999;
	right: 5px;
	top: 9px;
	float:left;
	background: #fff;
}

.btns {
	position:relative;
	overflow:hidden;
	padding-top: 28px;
	text-align: right;
}
.btns a {
	margin: 0 0 0 8px !important;
	cursor: pointer;
}

.btns input.btn {
	margin: 0 0 0 8px !important;
	cursor: pointer;
}

#form input.btn {
	outline: none;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */

	width:auto;
	float: none;

	background: url(../images/btn_bg.png) 0 0 repeat-x;
	display:inline-block;
	font:16px/21px 'Archivo Narrow', sans-serif;
	color:#565656;
	padding: 13px 19px 12px;
	border-radius: 6px;
	border: 1px solid #fff;
	box-shadow: 0px 0px 1px #c6c6c1;
	text-transform:uppercase;
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}

#form input.btn:hover {
	background-position: 0 -60px;
	color: #fff;
	border-color: #009cc9;
	text-align: right;
}

.message {

}

.message br {
	height: 0;
	line-height: 0;
}

#form .success {
	display: none;
	position: absolute;
	width: 278px;
	border: 1px solid #e9e9e9;
	background: #fff;
	text-align: center;
	padding: 20px 10px;
	z-index: 999;
}


.success_wrapper {
	position: relative;	
}

@media only screen and (max-width: 995px) {

#form {
	padding-top: 0;	
}


#form label {
	float: none !important;	
}




@media only screen and (max-width: 767px) {
  
  .btns {
		padding-bottom: 0;  
  }
  
  #form textarea {
		height: 300px !important;  
  }
  
}
@media only screen and (max-width: 479px) {
 
  #form textarea {
		height: 200px !important;  
  }
}

