/*------------Form-------------*/
#contact-form {
	padding-top: 5px;
}
#contact-form input{
	width: 380px;
	background-color: #f6f6f6;
  	height: 49px;
  	border: none;
	padding: 11px 10px 7px 17px;
  	margin-bottom: 11px;
	font: 14px/24px 'Arial', sans-serif;
	color: #bab9b9;
	-webkit-appearance: none;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	box-sizing: border-box;
}
#contact-form textarea {
	width: 100%;
	height: 390px;
	position: relative;
	margin-bottom: 46px;
	resize: none;
	font: 14px/24px 'Arial', sans-serif;
	border: none;
	color: #bab9b9;
	overflow: hidden;
	background: #f6f6f6;
	-webkit-appearance: none;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	box-sizing: border-box;
	padding: 11px 10px 7px 17px;
}
#contact-form ._placeholder {
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
	border: 1px solid transparent;
	text-align: left;
	padding: 11px 10px 7px 17px;
	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;
	font: 14px/24px 'Arial', sans-serif;
	color: #bab9b9;
}
#contact-form ._placeholder.hidden {
	display: none;
}
#contact-form ._placeholder.focused {
	opacity: 0.3;
}
#contact-form label {
	position:relative;
	display: block;
	width: 380px;
	cursor: text;
}
#contact-form label.message {
	width: 100%;
	margin-left: 0;
}
.contact-form {
	margin-right: 20px;
}

#contact-form .success-message {
	border: #48474d solid 1px;
	background-color: #fff;
	display: none;
	opacity: 0;
	position: absolute;
	width: 100%;
	height: 108px;
	text-align: center;
	padding: 40px 10px;
	z-index: 999;
	font: 16px/14px Arial, Helvetica, sans-serif;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	transition: 0.5s ease;
	color: #48474d;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}

#contact-form.success .success-message {
	display: block;
	opacity: 1;
}
.success_wrapper {
	position: relative;	
}

.btns a+a {
	margin-left: 30px;
}


#contact-form .error-message,
#contact-form .empty-message {
	height: 0;
	overflow: hidden;
	font: 10px/20px Arial;
	-webkit-transition: 0.3s ease-in height;
	-moz-transition: 0.3s ease-in height;
	-o-transition: 0.3s ease-in height;
	transition: 0.3s ease-in height;
	position: absolute;
	right: 7px;
	top: 0;
	color: #E02A05;
}
#contact-form .invalid .error-message,
#contact-form .empty .empty-message {
	height: 20px;
}


@media only screen and (max-width: 995px) {
	#contact-form label {
		float: none !important;	
		width: 100%;
	}
	#contact-form .success {
		width: 100%;
	}
	#contact-form label.email {
		width: 100%;
		margin: 0;
	}
	#contact-form input {
		width: 100%;
		background: #ececee;
	}
	#contact-form textarea {
		background: #ececee;
	}
}

@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;  
	} 
	#contact-form textarea {
		height: 300px !important; 
	}
	#contact-form {
	 	padding-right: 0;
	}
	.btns {
		text-align: center;
	}
}

@media only screen and (max-width: 479px) {
  	#contact-form textarea {
		height: 200px !important;  
  	}
}