/****Form****/

#form {
	padding-top: 5px;

}

#form input {
 	padding: 13px 14px 13px;
  	background: #1b1b1b;
  	border: 1px solid #2b2b2b;
	width: 100%;
	height: 46px;
	float:left;
	font: 12px/20px Arial, Helvetica, sans-serif;
	color: #7a7a7a;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
}

#form textarea {
 	padding: 13px 14px 13px;
	width: 100%;
	background: #1b1b1b;
  	border: 1px solid #2b2b2b;
	height: 166px;
	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: 12px/20px Arial, Helvetica, sans-serif;
	color: #7a7a7a;
	margin: 0;
	border-top-width: 2px;
	border-bottom-width: 2px;
	
}
#form label {
	position:relative;
	display: block;
	min-height: 60px;
	float: left;
}

#form .grid_6>label {
	width: 100%;
}




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


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

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

.message .empty, .message .empty{
	bottom: -16px !important;
}




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

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

.phone {
	position: relative;
}



#form .message {
	position: relative;
}



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

#form .success {
	display: none;
	position: absolute;
  		background: #1b1b1b;

  	border: 1px solid #2b2b2b;


	width: 100%;
	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 .grid_3 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;  
  }
}