/****Form****/

#form {
	padding-top: 4px;
	color: #7a7773;
}
#form input {
	border: none;
	font-size:16px;
	color:#807876;
	background: #e5ddce;
	line-height: 18px;
	padding: 11px 9px 9px;
	outline: medium none;
	width: 100%;
	height: 41px;
	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;
	font-size:16px;
	color:#807876;
	background: #e5ddce;
	height: 189px !important;
	outline: medium none;
	overflow: auto;
	padding: 11px 9px 9px;
	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 .value {
	margin-bottom: 8px;
	display: inline-block;

}
#form label {
	position:relative;
	display: block;
	min-height: 51px;
	float: left;
	clear: left;
	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: 14px;
}
#form .error-empty {
	display:none;
	float:left;
}

.btns {
	position:relative;
	overflow:hidden;
	padding-top: 42px;
	text-align: left;
	padding-right: 81px;
}
.btns a {
	margin: 0 10px 0 0px !important;
	cursor: pointer;


}

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

#form .success {
	display: none;
	position: absolute;
	width: 100%;
	border: none;
	background: #E5DDCE;
	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 .success {
	width: 100%;
}

#form {
	padding-top: 0;	
}


#form label {
	float: none !important;	
}

.btns {
	padding-right: 0;
}

.map .extra_wrapper {
	overflow: visible;
}


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

