*, body, ul, p, nav {
	margin: 0;
	padding: 0;
	border: 0;
}

@-ms-viewport, @viewport { width: device-width; }

html {
	font-size: 76%;
	transition: font-size 0.2s;
}

body {
	line-height: 1.3;
	background: #fcfcfc;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-family: Helvetica, Arial, sans-serif;
	color: #666;
	background: url(../images/bg.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

a {
	text-decoration: none;
	color: #84AF1C;
	font-weight: 700; 
	transition: color 0.4s;
}

#content a:hover, #content a:focus, #content a:visited {color: #607F00;}

ul { list-style: none; }
	
h1, #content { font-weight: normal; }

h2, h2 a, footer {
	font-family: BrandonText-Medium, sans-serif;
	letter-spacing: 0.15rem;
}

h3, h4, nav a {
	font-family: BrandonText-Bold, sans-serif;	
	font-weight: normal;
	letter-spacing: 0.075rem;
}
	
h1 {
	font-size: 1.8rem;
	line-height: 1.2;
	letter-spacing: -0.05rem;
	text-align: center;
	color: #00ADD5;
	padding-top: 2rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #B2B2B2;
	margin-bottom: 1.3rem;
}
	
header h1 {
	font-size: 2rem;
	font-weight: 700;
	color: #FFF;
	padding: 1rem;
	border: 0;
}

header h1 strong {
	letter-spacing: 0.22rem;
	font-size: 1.1rem;
	font-weight: normal;
	color: #CCC;
}

h2 {
	color: #00ADD5;
	font-size: 1.8rem;
	font-weight: 400; 
	line-height: 1.2;
	text-align: left;
}
	
h3 {
	font-size: 1rem;
	line-height: 1.2;
	margin: 0 0 1rem 0;
}

h4 { font-size: 0.875em; }

header { background: #666; }

#content p {
	padding-bottom: 1rem;
}
#content p strong {
	color: #00ADD5;
}

footer {
	color: #666;
	font-size: 0.875rem;
	letter-spacing: 0.05rem;
}

article, section, nav, header h1, footer {
	display: block;
}

body { padding: 8% 0;}
	
#page {
	max-width: 100%;
	margin: 0;
	display: none;
}

#content {
	overflow: hidden;
	width: 100%;
	background: #FFF;
	margin-top: 3rem;
	padding-top: 1rem;
}

img {
	border: 0;
	max-width: 100%;
	height: auto;
}

#contact {
	padding: 0 0 0 10%;
	color: #666; 
} 

#contact address {
	padding-bottom: 1rem;
}
#contact ul li { float: left; }
#contact ul { margin: 0; }
#contact ul li { padding-right: 0.8rem; padding-bottom: 1rem;}
#contact ul li {
	height: 2.5rem;
	width: 2.5rem;
}
#contact ul li a span {
	bottom: 3rem;
	left: 0rem; 
}
#contact ul li a:hover span, #contact ul li a:focus span {
	display: block;
}
#contact ul li a {
	float: left;
	display: block;
	position: relative;
	height: 2.5rem;
	width: 2.5rem;
}
#contact ul li.email a { background: url(../images/icon_email.svg); }
#contact ul li.email a { 
	background-position: 0.25rem 0.25rem;
	background-size: 2rem 2rem;
	background-repeat: no-repeat;
}
#contact ul li.email:hover a { background: url(../images/icon_email.svg); }
#contact ul li.email:hover a a {
	background-repeat: no-repeat;
	background-position: 0rem 0rem;
	background-size: 3rem 3rem;
	height: 3rem;
	width: 3rem;
	top: -0.25rem;
	left: -0.25rem;
}
#contact ul li a span {
	display: none;
	background: #33BDDD;
	-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
	-moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
	white-space: nowrap;
	position: absolute;
	padding: 4px 10px;
	color: #eee;
	z-index: 1;
 }
#contact ul li.rics a span { background: #004677;}

footer {
	clear:both;
	padding: 1rem;
	width: auto;
	font-size: 0.625rem;
	background: #33BDDD;
}
footer p { 
	padding-left: 18%;
	padding-right: 0;
	font-size: 0.7rem;
	color: #fff; 
	margin: 0; 
}

@media screen and (min-width: 322px) {

	header h1 {
		margin: 0 0 0 10%;
		text-align: left;
	}

	footer p { padding-left: 10%; }

	#contact ul li { padding-right: 0.8rem; }
}

@media screen and (min-width: 480px) {	
	#contact ul li { padding-right: 0.2rem; }
}

@media screen and (min-width: 768px) {	

	html { font-size: 95%; }

	header h1 {
		margin: 0 0 0 10%;
		text-align: left;
	}

	#contact {
		float: left; 
		width: 80%;
		padding: 0 0 0 10%;
	}

	#contact ul li { padding-right: 0.6rem; }

	footer p { padding-left: 10%; }
}	
	
@media screen and (min-width: 1024px) and (min-height: 400px) {

	html { font-size: 100%; }

	header h1 {
		margin: 0 0 0 22%;
		line-height: 2rem;
		text-align: left;
	}

	#contact {
		float: left; 
		width: 80%;
		padding: 0 0 0 20%;
	}

	#contact ul li { padding-right: 0.6rem; }

	 footer {
		position: fixed;
		left: 0;
		bottom: 3rem;
		width: 22%;
	}

	footer p { padding-left: 20%; }
}

@media screen and (min-width: 1280px) {

	html { font-size: 106%; }

	#contact ul li { padding-right: 1rem; }


}

@media screen and (min-width: 1680px) {
	html { font-size: 136%; }
}