/****Form****/

#form {
	padding: 17px;
	background-color: #99ff99;
	border: 1px solid #5a5a5a;
	
}

#form input {
 	padding: 10px 14px 10px;
  	border: 1px solid #5a5a5a;
  	background: #FFFBF0;
	width: 100%; 
	height: 42px;
	float:left;
	font: 14px/22px Arial, Helvetica, sans-serif;
	color: #5a5a5a;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
}

#form textarea {
 	padding: 9px 14px 10px;
	width: 100%;
  	border: 1px solid #5a5a5a;
  	background:FFFBF0;
	height: 222px;
	position: relative;
	resize:none;
	overflow: hidden;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	float:left;
	font: 14px/22px Arial, Helvetica, sans-serif;
	color: #5a5a5a;
	margin: 0;
;
	
}
#form label {
	position:relative;
	display: block;
	min-height: 57px;
	float: left;
	clear: left;
	width: 380px;
}

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





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

#form .message .error, #form .message .empty {
	bottom: -16px;
}

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

.btns {
	position:relative;
	padding-top: 30px;
	text-align: right;
}




.content .btns a.btn {
	margin: 0;
	cursor: pointer;
	text-align: center;
}

.content .btns a.btn+a.btn {
	margin-left: 30px;
}



.content .none {
	width: 20px;
	display: inline-block;
}

.phone {
	position: relative;
}


/*
#form .message {
	position: relative;
	width: 100%;
}

*/



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

#form .success {
	display: none;
	position: absolute;
	width: 380px;
	border: 1px solid #5a5a5a;
  	background-color: #0f0f0f;
  	height: 99px;
	text-align: center;
	padding: 28px 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 input {
	margin-bottom: 10px;
}


#form .success {
	width: 100%;
}

.btns {
	padding-right: 0;
}

#form label.email {
	width: 100%;
	margin: 0;
}

.map figure {
	float: left !important;
	margin-right: 0px !important;
}

}

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


.map figure {
	width: 100% !important;
	float: none !important;
	display: block !important;
	margin-right: 0px !important;
}
  .btns {
		padding-bottom: 0;  
  }
  
  #form textarea {
		height: 300px !important; 
  }

   #form {
 	padding-right: 0;
 }
  
}
@media only screen and (max-width: 479px) {

  #form textarea {
		height: 200px !important;  
  }
}
#resForm {
	text-align: center;
	padding:20px;
	background-color: #f97c00;
	color:#009;
	 
	border-radius: 25px;
	margin:30px;
}

#resFormTable {
	padding:7px;

}
#resFormTable td {
	padding:5px;
	vertical-align:top;
}
#resFormTable #dt {
	padding:0px;
}
