/****Form****/

#form {
	padding-top: 5px;
}

#form input, #form select {
	border: none;
	font-size:14px;
	background: #e7e7e7;
	color:#4b4b4b;
	line-height: 18px;
	padding: 8px 12px 8px;
	outline: medium none;
	width: 100%;
	height: 34px;
	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: none;
	background: #e7e7e7;
	font-size:14px;
	color:#4b4b4b;
	height: 274px;
	outline: medium none;
	overflow: auto;
	padding: 8px 12px 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: 44px;
	width: 100%;
	float: left;
	clear: left;
}


#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;
}



#form.contact .error, #form.contact .empty {
	top: 7px;
}

#form .error-empty {
	display:none;
	float:left;
}

.btns {
	position:relative;
	overflow:hidden;
	padding-top: 20px;
	text-align: right;

}


.btns a.btn {
	margin: 0 0 0 20px !important;
	cursor: pointer;
	font-size: 20px;
	padding-top: 4px;
	padding-bottom: 6px;
	line-height: 34px;

}

#form .message {
	width: 100%;
}


.message br {
	height: 0;
	line-height: 0;
}

#form .success {
	border: none;
	display: none;
	position: absolute;
	width: 300px;
	background: #e7e7e7;
	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 */
}



.success_wrapper {
	position: relative;	
}

@media only screen and (max-width: 995px) {

#form {
	padding-top: 0;	
}


#form label {
	float: none !important;	
	width: 100%;
}

#form label.message {
	width: 100% !important;
}

#form .success {
	width: 100%;
}

.btns {
	padding-right: 0;
}


}

@media only screen and (max-width: 767px) {
  .map {
	margin-bottom: 25px;
}
  .btns {
		padding-bottom: 0;  
  }
  
  #form textarea {
		height: 300px !important;  
  }
  
}
@media only screen and (max-width: 479px) {
 
  #form textarea {
		height: 200px !important;  
  }
}