/*------------Form-------------*/
#contact-form {
	padding-top: 10px;
}
#contact-form input{
  	border: #ededed solid 1px;
	width: 770px;
	background-color: #fff;
  	height: 44px;
  	padding: 13px 13px 7px;
  	margin-bottom: 15px;
	line-height: 18px;
	font-family: 'Trebuchet MS';
	color: #acacac;
	font-size: 16px;
	outline: none;
	border: 4px solid #fcfcfc;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-box-shadow: 0 0 5px 0 #cdcbcb;
	box-shadow: 0 0 5px 0 #cdcbcb;
}
#contact-form textarea {
	border: #ededed solid 1px;
	height: 237px;
	position: relative;
	background: #fff;
	resize: none;
	width: 100%;
	line-height: 18px;
	font-family: 'Trebuchet MS';
	color: #acacac;
	font-size: 16px;
	overflow: hidden;
	padding: 13px 13px 7px;
	border: 4px solid #fcfcfc;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-box-shadow: 0 0 5px 0 #cdcbcb;
	box-shadow: 0 0 5px 0 #cdcbcb;
}
#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: 12px 14px 7px;
	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;
	line-height: 18px;
	font-family: 'Trebuchet MS';
	color: #acacac;
	font-size: 16px;
}
#contact-form ._placeholder.hidden {
	display: none;
}
#contact-form ._placeholder.focused {
	opacity: 0.3;
}
#contact-form label {
	position: relative;
	display: block;
	width: 420px;
	cursor: text;
}
#contact-form label.message {
	width: 100%;
	margin-left: 0;
}

#contact-form .success-message {
	border: #dbdbdb solid 1px;
	background: #fff;
	display: none;
	opacity: 0;
	position: absolute;
	width: 100%;
	color: #777;
	height: 50px;
	text-align: center;
	padding: 20px 10px;
	z-index: 999;
    font: 12px/14px Arial, Helvetica, sans-serif;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}

#contact-form.success .success-message {
	display: block;
	opacity: 1;
}
.success_wrapper {
	position: relative;	
}

.btns {
	margin-top: 30px;
	text-align: right;
}

.btns a:hover {
	background: #3477ac;
}


#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: 3px;
 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%;
		float: none;
		background: #efefef;
	}
#contact-form textarea {
	background: #efefef;
}
}

@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;  
  	}
}