/****Form****/

#form {
	text-align: left;
	padding-top: 6px;
}

#form input {
	width: 100%;
	height: 32px;
	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: #626161;
    font: italic 16px/24px 'Istok Web', sans-serif;
	border: 1px solid #e2e2e2;
    padding: 7px 14px;
}

#form textarea {
	width: 100%;
	background: #fff;
	height: 273px;
	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;
	margin: 0;
	color: #626161;
    font: italic 16px/19px 'Istok Web', sans-serif;
	border: 1px solid #e2e2e2;
    padding: 7px 14px;
}

#form ._placeholder {
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
	color: #626161;
    font: italic 16px/19px 'Istok Web', sans-serif;
	border: none;
    padding: 7px 14px;
	height: 30px !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;
	min-height: 32px;
	float: left;
	clear: left;
	width: 100%;
	margin-bottom: 10px;
}

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

#form .error-message, #form .empty-message {
	color: #d30c23;
	font-size: 16px;
	line-height:18px;
	width:auto;
	position: absolute;
	z-index: 999;
	top: 7px;
	opacity: 0;
	right: 14px;
	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;
}

.btns {margin-bottom: 40px;}
.btns a+a {margin-left: 15px;}

#form .success-message {
	display: none;
	opacity: 0;
	position: absolute;
	background: #fff;
	width: 100%;
	border: 1px solid #e2e2e2;
	height:74px;
	text-align: center;
	padding: 26px 14px;
	z-index: 999;
	color:#626161;
	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;
}

.success_wrapper {
	position: relative;	
}

.map_c {
    height: 399px;
    margin-top: 0;
    width: 100%;
    margin-top: 6px;
}
.address {
	position: relative;
	overflow: hidden;
	text-align: left;
	margin-top: 2px;
}
.address h6 {font-size: 23px;}
address {
	position: relative;
	margin: 28px 0 -5px;
	float: left;
	text-align: left;
	color: #626161;
	font-family: 'Istok Web';
	font-size: 16px;
	line-height: 24px;
}

address span {display: inline-block; float: left;}
address a {color: #626161; padding-bottom: 3px;text-decoration: underline;}
address a:hover {color: #d30c23; text-decoration: none;}
address p { 
	margin-bottom: 12px;
	position: relative;
	color: #626161;
	display: block;
	text-transform: uppercase;
}

dl dt {position: relative; overflow: hidden;}
dl dd {text-align: right; width: 219px; display: inline-block;}

@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%;
	}
	
	#form label.email {
		width: 100%;
		margin: 0;
	}
	
	#form label.message {width: 100%;}

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

	address {margin-top: 20px; font-size: 14px;}
	dl dd {width: 180px;}
}

@media only screen and (max-width: 767px) {
  
 	.map_c {height: 380px;margin-bottom: 15px;}

  	.address {margin: 0 0 35px;}

  	dl dd {width: 211px;}

    #form textarea {height: 265px !important; width: 100%;}

    .btns {margin-bottom: 0;}

}

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

  .map_c {height: 268px;}	
  #form textarea {height: 200px !important;}
   dl dd {width: 190px;}

}