h1{
	background-color: rgb(6,54,88);
	background-color: rgba(6,54,88, 0.8);
	font-size: 3.1em;
	margin-bottom: 1.8%;
	padding-top: 1.6%;
	padding-bottom: 1.6%;
	width: 65.1%;
}

h1:after{
	background-color: rgb(141, 198, 33);
	background-color: rgba(156, 218, 36, 0.9);
	width: 3.1%;
	right: -3.1%;
}

section#main{
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0, 0.9);
	max-width: 1000px;
	margin: 0 auto;
	margin-bottom: 2.1%;
	text-align: center;
}

section#main>div#map_wrapper{
	margin: 0 auto;
	padding-top: 1.2%;
	position: relative;
	width: 97.6%;
}

section#main>div#map_wrapper>h2{
	background-color: rgb(6,54,88);
	background-color: rgba(6,54,88, 0.7);
	border-right: solid 15px #97d61c;
	color: #fff;
	font-family: "Gotham-Medium";
	left: 35%;
	margin: 0;
	padding: 8px 0 8px 15px;
	position: absolute;
	text-transform: uppercase;
	text-align: center;
	top: 2.4%;
	width: 30%;
}

section#main>div#map_wrapper>div{
	height: 458px;
	width: 100%;
}

section#main>div#map_wrapper>nav{
	bottom: 7%;
	position: absolute;
	width: 31.8%;
}

section#main>div#map_wrapper nav:first-of-type{
	left: 1%;
}

section#main>div#map_wrapper>nav:last-of-type{
	right: 1%;
}

section#main>div#map_wrapper>nav>a{
	background-color: #1c5a86;
	border-radius: 5px;
	color: #fff;
	display: block;
	font-family: "Arial";
	font-size: 0.9em;
	line-height: 43px;
	margin-top: 2.1%;
	text-align: left;
	padding: 0 9% 0 6.7%;
}

section#main>div#map_wrapper>nav>a:hover{
	background-color: rgb(0,58,102);
	background-color: rgba(0,58,102, 0.9);
}

section#main>div#map_wrapper>nav>a:after{
	content: " ";
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent; 
	border-left: 7px solid #77b10c; 
	display: block;
	margin-top: 15px;
	float: right;
	width: 0;
}

section#main>div#map_wrapper>nav>a:hover:after{
	border-left-color: #fff;
}

section#main>article{
	display: inline-block;
	font-family: "Gotham-Medium";
	margin: 0;
	overflow: hidden;
	padding: 0;
	vertical-align: top;
	text-align: left;
	width: 32.3%;
}

section#main>article>h3{
	border-bottom: solid 1px #555;
	color: #00aef0;
	font-size: 1.5em;
	margin-top: 5.5%;
	margin-bottom: 3.8%;
	padding-bottom: 1.3%;
	text-transform: uppercase;
}

section#main>article>h3 .white{
	color: #fff;
	text-transform: none;
}

section#main>article>img{
	display: inline-block;
	margin-left: 2.3%;
	margin-right: 5%;
	margin-right: 7%;
	margin-top: 0.3%;
	vertical-align: middle;
}

section#main>article>h4{
	color: #fff;
	display: inline-block;
	font-size: 1.4em;
	margin: 0;
	vertical-align: middle;
}

section#main>article>h4:after{
	content: " ";
	display: inline-block;
	background-image: url("../images/general/phone.png");
}

section#main>article>footer>h5{
	color: #00aef0;

	font-size: 0.9em;
	margin: 2.8% 0 2.5% 0;
}

section#main>article>footer>p,
section#main>article>footer>span{
	color: #fff;
	font-size: 0.9em;
	letter-spacing: -1px;
	margin-bottom: 1.5%;
}

section#main>article>footer a{
	color: #84c20b;
}

section#main>article>footer a:hover{
	text-decoration: underline;
}

section#main>form{
	margin: 0 auto;
	margin-top: 3.6%;
	padding-bottom: 2.9%;
	width: 65%;
}

section#main>form>*{
	border: none;
	border-radius: 5px;
	color: #2d2d2d;
	width: 46.7%;
}

section#main>form>input{
	float: left;
	height: 28px;
	margin-bottom: 8px;
	line-height: 28px;
	text-indent: 14px;
}

section#main>form>input[type="submit"]{
	background-color: #88c812;
	border-radius: 5px;
	color: #fff;
	cursor: pointer;
	display: block;
	float: right;
	line-height: 43px;
	margin-top: 0;
	height: 43px;
	width: 25.6%;
}

section#main>form>input[type="submit"]:hover{
	background-color: #579100;
}

input:after{
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent; 
	border-left: 7px solid #fff; 
	content: "BB";
	float: right;
	height: 0;
	margin-top: 16px;
	margin-right: 7px;
	position: absolute;
	width: 0;
}

section#main>form>textarea{
	float: right;
	height: 131px;
	margin-left: 0%;
	padding-top: 10px;
	text-indent: 10px;
}

section#main>form>div.captcha{
	border: solid 2px #fff;
	float: right;
	height: 38px;
	margin: 13px 0;
}

section#main>form>span{
	color: #fff;
	float: right;
	margin-left: 2%;
	text-align: left;
	width: 19%;
}

@media all and (max-width: 1024px){
	section#main>article>h3 .white{
		display: block;
	}
}

@media all and (max-width: 800px){
	h1{
		width: 93%;
		padding-left: 0;
	}
	
	section#main>article>h4{
		font-size: 1.2em;
	}
}

@media 	all and (-webkit-min-device-pixel-ratio: 1     ) and (max-width: 640px),
		all and (   min--moz-device-pixel-ratio: 1     ) and (max-width: 640px),
		all and (     -o-min-device-pixel-ratio: 1/1   ) and (max-width: 640px), 
		all and (        min-device-pixel-ratio: 1     ) and (max-width: 640px),
		all and (                min-resolution: 96dpi ) and (max-width: 640px),
		all and (-webkit-min-device-pixel-ratio: 2     ) and (max-width: 1280px),
		all and (   min--moz-device-pixel-ratio: 2     ) and (max-width: 1280px),
		all and (                min-resolution: 192dpi) and (max-width: 1280px),
		all and (     -o-min-device-pixel-ratio: 2/1   ) and (max-width: 1280px), 
		all and (        min-device-pixel-ratio: 2     ) and (max-width: 1280px){
/*@media all and (max-width: 640px){*/
	h1{
		font-size: 2.9em;
	}

	section#main>article>*{
		width: 100%;
		text-align: center;
	}
	
	section#main>article>h3{
		font-size: 1.2em;
	}

	section#main>article>footer a{
		display: block;
	
		font-size: 0.8em;
	}

	section#main>div#map_wrapper>h2{
		left: 0;
		width: 86%;
	}

	section#main>form{
		border-top: solid 1px #88c812;
		margin-top: 10%;
		padding-top: 10%;
		width: 100%;
	}

	section#main>form>*,
	section#main>form>div.captcha{
		float: none;
		margin: 0 auto;
		width: 80%;
	}

	section#main>form>textarea,
	section#main>form>input,
	section#main>form>div.captcha{
		float: none;
	}

	section#main>form>span{
		text-align: center;
		width: 100%;
	}

	section#main>form>input[type="submit"]{
		border-radius: 0;
		width: 100%;
	}
}

@media all and (max-width: 480px){
	h1{
		font-size: 2em;
	}
	section#main>article{
		width: 100%;
	}

	section#main>article>img{
		display: block;
		margin: 0 auto;
		width: 40%;
	}

	section#main>article>h3{
		width: 100%;
	}

}

@media all and (max-width: 640px){
	section#main>article{
		width: 30%;
	}
}

@media  all and (-webkit-min-device-pixel-ratio: 1     ) and (max-width: 480px),
		all and (   min--moz-device-pixel-ratio: 1     ) and (max-width: 480px),
		all and (     -o-min-device-pixel-ratio: 1/1   ) and (max-width: 480px), 
		all and (        min-device-pixel-ratio: 1     ) and (max-width: 480px),
		all and (                min-resolution: 96dpi ) and (max-width: 480px),
		all and (-webkit-min-device-pixel-ratio: 2     ) and (max-width: 1280px),
		all and (   min--moz-device-pixel-ratio: 2/1   ) and (max-width: 1280px),
		all and (     -o-min-device-pixel-ratio: 2     ) and (max-width: 1280px), 
		all and (        min-device-pixel-ratio: 2     ) and (max-width: 1280px),
		all and (                min-resolution: 192dpi) and (max-width: 1280px){
/*@media all and (max-width: 480px){*/
	h1{
		font-size: 1.4em;
	}
	section#main>div#map_wrapper>nav{
		position: static;
		width: 99%;
	}

}

@media  all and (-webkit-min-device-pixel-ratio: 2     ) and (max-width: 1280px),
		all and (   min--moz-device-pixel-ratio: 2     ) and (max-width: 1280px),
		all and (     -o-min-device-pixel-ratio: 2     ) and (max-width: 1280px), 
		all and (        min-device-pixel-ratio: 2     ) and (max-width: 1280px),
		all and (                min-resolution: 192dpi) and (max-width: 1280px){
	section#main>article>footer{
		font-size: 1.5em;
	}

	section#main>div#map_wrapper>nav{
		font-size: 1.8em;
	}

	section#main>form>input[type="submit"]{
		font-size: 1.7em;
	}
}