/*------------Form-------------*/
#contact-form {
	padding-top: 5px;
    font-size:16px;
}

#contact-form input,#contact-form select{
  	border: #eaeaea solid 1px;
	width: 100%;
	background-color: #fff;
  	height: 41px;
	box-sizing: border-box;
	/*-webkit-appearance: none;*/
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
  	padding: 11px 13px 7px;
  	margin-bottom: 8px;
	font-family: 'Lato', sans-serif;
	line-height: 18px;
	color: #868c8e;
	font-size: 16px;
	outline: none;
}
#contact-form textarea {
	border: #eaeaea solid 1px;
	height: 242px;
	position: relative;
	resize: none;
	width: 100%;
	font-family: 'Lato', sans-serif;
	line-height: 18px;
	color: #868c8e;
	font-size: 16px;
	overflow: hidden;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	padding: 11px 13px 7px;
}
#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 13px 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;
	font-family: 'Lato', sans-serif;
	line-height: 18px;
	color: #868c8e;
	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-color: #fff;
	display: none;
	opacity: 0;
	position: absolute;
	width: 100%;
	color: #777;
	height: 45px;
	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 {
	text-align: center;
    width: 150px !important;
    background: #ff7275;
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 300;
}
.btns a {
	background: #ff7275;
	font-size: 14px;
	color: #fff;
	display: inline-block;
	padding: 13px 29px 12px;
	text-transform: uppercase;
	font-weight: 300;
}
.btns a:hover {
	background: #2f3a47;
}


#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;
	}
}

@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;  
  	}
}