/****Form****/

#form {
	padding-top: 6px;
	position: relative;
	outline: medium none;
	letter-spacing: 0px;
}

#form input {
	width: 100%;
	max-width: 480px;
	height: 40px;
	float:left;
	background: #fff;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	color: #928e92;
    font: 13px/13px 'Open Sans';
	border: 1px solid #e4e4e4;
    padding: 14px 30px 13px 18px;

}


#form textarea {
	width: 100%;
	height: 289px;
	background: #fff;
	position: relative;
	resize:none;
	overflow: hidden;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	float:left;
	margin: 0;
	color: #928e92;
    font: 13px/13px 'Open Sans';
	border: 1px solid #e4e4e4;
    padding: 14px 30px 13px 18px;
}



#form ._placeholder {
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
	color: #928e92;
    font: 13px/13px 'Open Sans';
	border: 0px solid transparent;
    padding: 14px 30px 13px 18px;
	height: 30px !important;
	width: 100% !important;
	box-sizing: border-box;
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	position: absolute;
	right: 0;
	top: 0;
	left: 0;
	cursor: text !important;
	display: block;
}

#form ._placeholder.hidden {
	display: none;
}

#form ._placeholder.focused {
	opacity: 0.3;
}


#form .message ._placeholder {
	height: 100% !important;
}
#form label {
	position:relative;
	display: block;
	min-height: 59px;
	float: left;
	width: 370px;
}

#form label+label {
}



#form label.message {
	width: 100%;
	margin-left: 0;
}




#form .error-message, #form .empty-message {
	color: #E02A05;
	font-size: 12px;
	line-height: 12px;
	width:auto;
	position: absolute;
	z-index: 999;
	top: 20px;
	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 {
	font-size: 0;
	line-height: 0;
	text-align: left;
	padding-top: 175px;
}

.btns a {
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	line-height: 15px;
	color: #fff;
	text-align: center;
	display: inline-block;
	width: 93px;
	margin-top: 33px;
	margin-left: 10px;
	margin-bottom: 0px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	padding: 9px 0px 8px;
	background-color: #105aaf;
	float: right;
}

.btns a:hover {
	-webkit-box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    1px 1px 5px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         1px 1px 5px 0px rgba(50, 50, 50, 0.75);
}

.btns span {
	display: inline-block;
	margin-left: 18px;
	padding-top: 16px;
	font-size: 14px;
	line-height: 18px;
}





.phone {
	position: relative;
}



.message br {
	height: 0;
	line-height: 0;
}

#form .success-message {
	display: none;
	opacity: 0;
	position: absolute;
	background: #fff;
	color: #e64c3c;
	width: 100%;
    border-radius: 0px !important;
	height: 158px;
	text-align: center;
	padding: 68px 10px;
	z-index: 999;
	border: 1px solid #e64c3c;
	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;
}

@media only screen and (max-width: 1199px) {
#form label {
	float: none !important;	
	width: 100%;
	margin-left: 0 !important;
}
}

@media only screen and (max-width: 995px) {

#form {
}

#form .success-message {
}



#form input {
	margin-bottom: 10px;
}


#form .success-message {
	width: 100%;
}

.btns {
	padding-right: 0;
}

#form label.email {
	width: 100%;
	margin: 0;
}

.map figure {
	float: left !important;
	margin-right: 0px !important;
}

#form input, #form textarea, #form .success-message {
	


}

@media only screen and (max-width: 767px) {
	.btns {
		padding-top: 300px;
	}	
	.btns a{
	  	margin-top: -30px;
	}
}

.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;  
  }
  .btns a{
  	margin-bottom: 0;
  }
  .btns {
	padding-top: 200px;
  }	
}