/****Form****/

#form {
	padding-top: 7px;
}

#form input {
 	padding: 7px 16px 9px;
  	border: 1px solid #d2d2d2;
	width: 100%;
	height: 34px;
	float:left;
	font: 13px/18px Arial, Helvetica, sans-serif;
	color: #9b9b9b;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
}

#form textarea {
 	padding: 6px 16px 9px;
	width: 100%;
  	border: 1px solid #d2d2d2;
	height: 194px;
	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: 13px/18px Arial, Helvetica, sans-serif;
	color: #9b9b9b;
	margin: 0;
;
	
}
#form label {
	position:relative;
	display: block;
	min-height: 54px;
	float: left;
	clear: left;
	width: 280px;
}

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





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


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

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

.btns {
	position:relative;
	padding-top: 29px;
	text-align: left;
}




.content .btns a.btn {
	background: url(../images/contact_btn.png) 0 0 repeat-x #c9edee;
	margin: 0 20px 0 0px !important;
	cursor: pointer;
	min-width: 50px;
	text-align: center;
}

.content .btns a.btn:hover {
	background: #c9edee;
}


.content .btns a.btn+a.btn {
	margin-right: 0;

}



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

.phone {
	top: -1px;
	min-height: 53px !important;
	position: relative;
}


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

*/



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

#form .success {
	display: none;
	position: absolute;
	border: 1px solid #d2d2d2;
	width: 280px;
	background-color: #fff;
	text-align: center;
	height: 88px;
	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 input {
	margin-bottom: 10px;
}

#form label.message {
}

#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 {
	margin-bottom: 25px;
}

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