/*-------------Form------------*/
#form label {
	position: relative;
	min-height: 54px;
	display: block;
	width: 100%;
}
#form input {
	width: 100%;
	margin-bottom: 15px;
	outline: none;
	border: 1px solid rgba(112, 112, 112, 0.4);
  border-radius: 30px;
  padding: 14px 30px;
  transition: 0.3s;
}
#form textarea {
	width: 100%;
    height: 300px;
	margin-bottom: 15px;
	outline: none;
	border: 1px solid rgba(112, 112, 112, 0.4);
  border-radius: 30px;
  padding: 14px 30px;
  transition: 0.3s;
}
#form ._placeholder {
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
	color: #8f8e8e;
    font: 13px/21px 'Ubuntu', sans-serif;
	border: 1px solid transparent;
	height: 42px !important;
	padding: 10px 17px 15px;
	width: 100% !important;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	position: absolute;
	text-align: left;
	right: 0 !important;
	top: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	display: block;
}

#form .error-message, #form .empty-message {
	color: #FF0000;
    font-size: 11px;
    line-height: 20px;
    font-family: 'Ubuntu', sans-serif;
	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 .message ._placeholder  {
	height: 100% !important;
}
#form .invalid .error-message, #form .empty .empty-message {
	opacity: 1;
}
.message br {
	height: 0;
	line-height: 0;
}
#form .success-message {
	display: none; 
	opacity: 0; 
	position: absolute;
	width: 100%;
	background-color: #fff;
	color: #444;
    font-size: 13px;
    line-height: 20px;
	text-align: center;
	border: 1px solid #cacace;
	padding: 38px 10px;
	z-index: 999;
	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;
}

#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 textarea {
		height: 300px !important; 
  	}
   	#form {
 		padding-right: 0;
 	}

}
@media only screen and (max-width: 479px) {

 	#form textarea {
		height: 200px !important;  
  	}
}