/****Form****/

#contactForm {
	margin: 0 0 7px;
	position: relative;
	overflow: hidden;
}

#contactForm input {
	width: 100%;
	height: 41px;
	float:left;
	background: #fff;
	color: #bab9b9;
    font: normal 14px/24px Arial, sans-serif;
	border: 1px solid #f4f5f5;
    padding: 7px 13px;

    box-sizing: border-box;
	-webkit-appearance: none;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
}

#contactForm textarea {
	width: 100%;
	height: 258px;
	background: #fff;
	position: relative;
	resize:none;
	overflow: hidden;
	float:left;
	color: #bab9b9;
	margin: 0;
    font: normal 14px/24px Arial, sans-serif;
    padding: 8px 15px;
	border: 1px solid #f4f5f5;

    box-sizing: border-box;
	-webkit-appearance: none;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
}

#contactForm ._placeholder {
	color: #bab9b9;
    font: normal 14px/20px Arial, sans-serif;
	border: none;
    padding: 11px 15px;
	height: 41px !important;
	width: 100% !important;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	left: 0;
	cursor: text !important;
	display: block;
	
	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;
}

#contactForm ._placeholder.hidden {
	display: none;
}

#contactForm ._placeholder.focused {
	opacity: 0.3;
}

#contactForm .message ._placeholder {
	height: 100% !important;
}

#contactForm label {
	position:relative;
	display: block;
	min-height: 41px;
	width: 330px;
	margin: 0 0 20px!important;
}

#contactForm label.message {
	width: 100%;
	margin-left: 0;
}

#contactForm .error-message, #contactForm .empty-message {
	color: red;
	font-size: 12px;
    line-height: 42px;
	width:auto;
	position: absolute;
	z-index: 999;
	top: 0;
	opacity: 0;
	right: 15px;
	float:left;

	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}

#contactForm .invalid .error-message, #contactForm .empty .empty-message {
	opacity: 1;
	-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
}

.message br {
	height: 0;
	line-height: 0;
}

#contactForm .success-message {
	display: none;
	opacity: 0;
	position: absolute;
	border: 1px solid #f4f5f5;
	background: #fff;
	color: #3498db;
	width: 330px;
	height: 164px;
	line-height: 164px;
	text-align: center;
	z-index: 999;
	font-family: Arial, sans-serif;
	font-weight: normal;

	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;
}

#contactForm.success .success-message {
	display: block;
	opacity: 1;
	-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
}

.success_wrapper {
	position: relative;	
}

.address { 
	position: relative;
	overflow: hidden; 
	margin: 0 0 27px;
	padding: 0;
	font-style: normal;
}

.address p { 
	color: #31353d; 
	font-size: 20px;
	line-height: 25px;
	margin-bottom: 9px;
	letter-spacing: 0;
	text-transform: uppercase;
	font-family: 'Open Sans';
}

dl dd {
	display: block;
	color: #bbbaba;
	text-align: right;
	width: 251px;
}

.address span {
	float: left;
	text-align: left;
}

.address a { 
	display: inline-block; 
	margin-bottom: 2px;
	color: #3498db;
}

.address a:hover { 
	text-decoration: none;
	color: #31353d; 
}

.map_c {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 309px;
	margin-bottom: 39px;
}

.btns {
	position: relative;
	overflow: hidden;
	margin-top: 48px;
	float: left;
}

.btns .link3 {
	margin: 0 9px 0 0;
	width: 95px;
}


@media only screen and (max-width: 995px) {

	#contactForm ._placeholder { border: none; }

	#contactForm label,
	#contactForm .success-message {width: 100%;}

}

@media only screen and (max-width: 767px) {

	.map figure {
		width: 100% !important;
		display: block !important;
		margin-right: 0px !important;
	}

	.map_c {margin-bottom: 30px;}

	.address {margin: 0 0 30px;}

	#contactForm {margin-bottom: 25px;}
    #contactForm textarea { height: 150px !important; }

    .btns {margin-top: 25px;}

}

@media only screen and (max-width: 479px) {

    #contactForm textarea { height: 170px !important; }

    #contactForm .success-message {
    	height: 147px; 
    	line-height: 147px;
    }

    .map_c {height: 260px;}

    #contactForm label {margin-bottom: 10px!important;}


}