/****Form****/

#form {
	padding-top: 8px;
}

#form.contact {
	padding-top: 3px;
}
#form input {
	border: 1px solid #363636;
	background: none;
	font-size:14px;
	color:#727272;
	line-height: 18px;
	padding: 8px 8px 8px;
	outline: medium none;
	width: 100%;
	height: 36px;
	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.contact input {
	background: url(../images/form_bg.png) 0 0 repeat;
	color: #969696;
	height: 31px;
	padding: 4px 14px 5px;
}

#form.contact textarea {
	background: url(../images/form_bg.png) 0 0 repeat;
	color: #969696;
	padding: 6px 14px 5px;
	height: 291px;
}

#form textarea {
	border: 1px solid #363636;
	background: none;
	font-size:14px;
	color:#727272;
	height: 104px;
	outline: medium none;
	overflow: auto;
	padding: 12px 9px 8px;
	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: 46px;
	width: 100%;
	float: left;
	clear: left;
}

#form.contact label {
	width: 300px;
	min-height: 41px;
}

#form.contact label.message {
	width: 100%;

}

#form .error, #form .empty {
	color: #FF0000;
	display: none;
	font-size: 11px;
	line-height:14px;
	width:auto;
	position: absolute;
	z-index: 999;
	right: 5px;
	top: 12px;
	float:left;
}

#form.contact .error, #form.contact .empty {
	top: 7px;
}

#form .error-empty {
	display:none;
	float:left;
}

.btns {
	position:relative;
	overflow:hidden;
	padding-top: 17px;
	text-align: right;
}

.contact .btns {
	padding-top: 14px;
}
.btns a {
	margin: 0 0 0 0 !important;
	cursor: pointer;

}

#form .message {
	width: 100%;
}

.message br {
	height: 0;
	line-height: 0;
}

#form .success {
	display: none;
	position: absolute;
	width: 100%;
	background: #363636;
	text-align: center;
	padding: 20px 10px;
	z-index: 999;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
}

#form.contact .success {
	width: 300px;
}


.success_wrapper {
	position: relative;	
}

@media only screen and (max-width: 995px) {

#form {
	padding-top: 0;	
}

#form.contact label{
	width: 100%;
}


#form label {
	float: none !important;	
	width: 100%;
}

#form .success {
	width: 100%;
}

#form.contact .success {
	width: 100%;
}

}

@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;  
  }
}