/****Form****/
#form input {
	width: 100%;
	background-color: #fff;
	border: 1px solid #e8e8e8;
	height: 35px;
	float: left;
	box-sizing: border-box;
	-webkit-appearance: none;
	position: relative;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	color: #989696;
    
	font: 12px/12px arial;
	padding-left: 16px;
	padding-right: 16px;
	margin-bottom: 14px;
}

#form textarea {
	width: 100%;
 	background-color: #fff;
	height: 138px;
	position: relative;
	resize:none;
	overflow: hidden;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	float:left;
	margin: 0;
	position: relative;
	color: #989696;
	font: 12px arial;
	padding: 15px 16px 10px;
	border: 1px solid #e8e8e8;
}
#form label.txtar1 textarea{
	height: 188px !important;
}

#form label {
	position: relative;
	width: 100%;
	display: block;
	min-height: 49px;
}

#form label.message {
	width: 100%;
	margin-left: 0;
}


#form .error-message, #form .empty-message {
	color: #b3b3b3;
    font: 12px arial;
	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 ._placeholder {
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
	color: #989696;
    font: 12px arial;
	border: 1px solid transparent;
	height: 42px !important;
	padding: 9px 20px 10px;
	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 !important;
	top: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	display: block;
}
#form textarea ._placeholder{
	padding-top: 20px;
}

#form .message ._placeholder  {
	height: 100% !important;
	padding-top: 17px;
}

#form .invalid .error-message, #form .empty .empty-message {
	opacity: 1;
}

.btns {
	text-align: right;
	padding-top: 19px;
}

.btns a.btn {
	clear: both;
	font-size: 11px;
	color: #fff;
	text-transform: uppercase;
	line-height: 20px;
	font-family: 'Open Sans', sans-serif;
	padding: 5px 22px 4px 20px;
	font-weight: bold;
	background: #f54027;
	display: inline-block;
}
.btn+.btn{
	margin-left: 16px;
}
	
a.btn:hover{
	color: #f26b5d;
}

.phone {
	position: relative;
}

.message br {
	height: 0;
	line-height: 0;
}

#form .success-message {
	display: none; 
	opacity: 0; 
	position: absolute;
	width: 100%;
	height: -9px;
	background-color: #fff;
	color: #b3b3b3;
    font-size: 13px;
    line-height: 20px;
    font-family: 'PT Sans', sans-serif;
	text-align: center;
	border: 1px solid #e8e8e8;
	padding: 12px 0px;
	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;	
}

#form ._placeholder.hidden {
	display: none;
}
#form ._placeholder.focused {
	opacity: 0.3;
}


@media only screen and (max-width: 995px) {
	#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;
	}
  	#form input{
  		width: 100%;
  	}
	.map figure {
		float: left !important;
	}
 	#form .success-message{
 		height: 94px;
 	}

}

@media only screen and (max-width: 767px) {
	.map figure {
		width: 100% !important;
		float: none !important;
		display: block !important;
		margin: 0 0 25px !important;
		text-align: center;
	}
  	.btns {
		padding-bottom: 0;  
  	}
   	#form {
 		padding-right: 0;
 	}

}
@media only screen and (max-width: 479px) {

 	#form textarea {
		height: 200px !important;  
  	}
}