/****Form****/

#form {
	padding-top: 5px;
}


#form.form1 a.btn {
	margin-right: 8px;
	margin-top: 20px;
	display: inline-block;
}

#form input {
  	border: 1px solid #e1e1e1;
  	background:none;
	width: 100%;
	height: 34px;
	float:left;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
		font: 13px/20px Arial, Helvetica, sans-serif;;
	color: #727272;
	padding: 5px 8px 9px;
}


#form textarea {
	width: 100%;
  	border: 1px solid #e1e1e1;
  	background:none;
	height: 176px;
	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;
	margin: 0;
	font: 13px/20px Arial, Helvetica, sans-serif;;
	color: #727272;
	padding: 5px 8px 9px;
	
}



#form ._placeholder {
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
	font: 13px/20px Arial, Helvetica, sans-serif;;
	color: #727272;
	border: 1px solid transparent;
	height: 34px;
	padding: 5px 8px 9px;
	width: 100% !important;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	left: 0;
	display: block;
}

#form ._placeholder.hidden {
	display: none;
}

#form ._placeholder.focused {
	opacity: 0.3;
}



#form label {
	position:relative;
	display: block;
	min-height: 44px;
	float: left;
	clear: left;
	width: 100%;
}

#form label.message {
	width: 100%;
}




#form .error-message, #form .empty-message {
	color: #E02A05;
	font-size: 11px;
	line-height:14px;
	width:auto;
	position: absolute;
	z-index: 999;
	top: 10px;
	opacity: 0;
	right: 5px;
	float:left;
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}

/*#form .message .error-message, #form .message .empty-message {
	bottom: -16px;
}*/




#form .invalid .error-message, #form .empty .empty-message {
	opacity: 1;
}

.btns {
	padding-bottom: 5px;
	text-align: right;
	padding-top: 10px;
}

.btns a.btn {
	clear: both;
	font-weight: normal;
	font-size: 18px;
	text-transform: none;
	padding-top: 9px;
	padding-left: 27px;
	padding-right: 27px;
	margin-left: 5px;
	background-color: #53b1d1;
}

.btns a.btn:hover {
	/*background-color: #373737;*/
}


.phone {
	position: relative;
}



.message br {
	height: 0;
	line-height: 0;
}

#form .success-message {
	display: none;
	opacity: 0;
	position: absolute;
	border: 1px solid #e1e1e1;	
	width: 100%;
	height: 78px;
	color: #878B8F;
	background-color: #fff;
	text-align: center;
	padding: 27px 10px;
	z-index: 999;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}

#form.success .success-message {
	display: block;
	opacity: 1;
}

.success_wrapper {
	position: relative;	
}

@media only screen and (max-width: 995px) {

#form {
}


#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;  
  }
}