/****Form****/

#form input {
	width: 100%;
	height: 42px;
	float:left;
	background: #fff;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	color: #464646;
    font-family: 'Open Sans', sans-serif;
	border: none;
	font-size: 12px;
	font-weight: 300;
    padding: 12px 11px 12px;
}

#form textarea {
	width: 100%;
	height: 136px;
	background: #fff;
	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;
	color: #464646;
    font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	font-weight: 300;
    padding: 12px 11px 12px;
    border: 1px solid #e9ebe5;
    margin-bottom: 15px;	
}

#form ._placeholder {
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
	color: #242424;
	border: 1px solid transparent;
    padding: 12px 11px 12px;
	height: 40px !important;
	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;
	cursor: text !important;
	display: block;
}

#form ._placeholder.hidden {
	display: none;
}

#form ._placeholder.focused {
	opacity: 0.3;
}

#form .message ._placeholder {
	height: 100% !important;
}

#form label {
	position:relative;
	display: block;
	float: left;
	clear: left;
	width: 415px;
	margin-bottom: 8px;
}

#form label.message {
	width: 100%;
	margin-left: 0;
}

#form .error-message, #form .empty-message {
	color: #464646;
	font-size: 12px;
    line-height: 42px;
	width:auto;
	position: absolute;
	z-index: 999;
	top: 0;
	opacity: 0;
	right: 5px;
	float:left;
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}

#form .invalid .error-message, #form .empty .empty-message {
	opacity: 1;
	-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
}

.btns {
	margin-bottom: 2px;
	text-align: right;
	padding-top: 41px;
}

.btns a.btn {
	margin: 0;
	display: inline-block;
}

.phone {
	position: relative;
}

.message br {
	height: 0;
	line-height: 0;
}

#form .success-message {
	display: none;
	opacity: 0;
	-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)';
	top: 300px;
	position: absolute;
	width: 100%;
	text-align: right;
	padding: 10px;
	font-family: 'Open Sans';
	font-weight: normal;
	font-size: 12px;
	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;
	-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
}

.success_wrapper {
	position: relative;	
}

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

	#form label {
		float: none !important;	
		width: 100%;
		margin-left: 0 !important;
	}

	#form input {
		margin-bottom: 10px;
	}
	
	#form .success-message {
		width: 100%;
		top: 330px;
	}
	
	.btns {
		padding-right: 0;
	}
	
	#form label.email {
		width: 100%;
		margin: 0;
	}
	
	.map figure {
		float: left !important;
		margin-right: 0px !important;
		width: 100%;
	}

	#form ._placeholder { border: 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;  
    }
  
    #form textarea {
		height: 200px !important; 
    }

    #form {
 		padding-right: 0;
    }

    #form ._placeholder { border: none; }

	#form .success-message {
		width: 100%;
		top: 330px;
	}

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

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

  	#form ._placeholder { border: none; }

  	#form .success-message {
		width: 100%;
		top: 330px;
	}
}
@media only screen and (max-width: 320px) {
	
	#form .success-message {
		width: 100%;
		top: 330px;
	}
}