/*-----Prevents iPhone from resizing in landscape mode -----*/
html {-webkit-text-size-adjust: none; }


/*----------- apply a natural box layout model to all elements --------------*/
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }


/*-----BODY -----*/
body {
	background-color:  #000;
	font-size: 16px;
	font-family: 'Fjalla One', sans-serif;
}





/*CONTROLLING THE TOTAL PAGE WIDTH*/
header, #content, footer {
	min-width: 320px;
	max-width: 960px;
	margin: 0 auto;
}



/*topline*/
div#topline {
	background-color: #FF9;
	height: 14px;
}

/*-----HEADER -----*/
div#logowrap {
	border-bottom: solid 3px #390;
}
header img.logo {width: 120px; 
				margin: 5px 0 0 2%;
				
				}
div#logowrap h1{
	color:#FF9;
	font-size: 2em;
	float:right;
	
	
	}



/*-----NAVigation -----*/
div.nav {
	background-color: #FFF;
	border-bottom: solid 2px #390;
	}
nav ul {
		margin-right: 2%;
		float: right;
		clear:both;
	}
nav ul li {
	float:left;
	
}
nav ul li a {
	text-transform:uppercase;
	font-size: 1em;
	display:block;
	color: #FFF;
	text-decoration:none;
	padding: .8em .7em;
	text-align:center;
	/*transition*/
	-webkit-transition: color 0.3s linear; 
	transition: color 0.3s linear;
}

nav ul li.active a {
	color: #0FF;
	text-decoration:underline;
	
}

nav ul li a:hover {
	color: #36F;
}

/*STICKY NAVIGATION*/
.sticky {  
    position: fixed;  
    width: 100%;  
    left: 0;  
    top: 0;  
    z-index: 100;  
    border-bottom:1px #bbb solid;
	background-color:#fff; 
}  

div.nav  h1 {
	float: left;
	margin: .2em 0 0 2%;
	font-size:1.5em;
	color: #fff;
	display:none;
}

div.sticky h1 {display:block;}








/*-----SUB NAVIGATION -----*/
ul#subMenu li a {
	width: 30%;
	float:left;
	display: block;
	color: #757575;
	text-decoration:none;
	font-size: .75em;
	padding-top: .5em;
	/*transition*/
	-webkit-transition: color 0.3s linear; 
	transition: color 0.3s linear;
}
ul#subMenu li a:hover {
	color: #000;
}





/*-----CONTENT -----*/
#content {
	min-height: 5em;
}
#content article {margin: 0 2%;}
#content h1 {
	font-size: 1.6em;
	color: #39F;
	padding: 1em 0 .4em 0;
}

#content p {
	line-spacing: 150%;
	padding-bottom: .5em;
	color:#CCC;	
}
#content ul li {
	list-style-type:circle;
	margin-left: 4%;
	line-height:150%;	
}
figure {
	width: 100%;
	margin: .5em 0;
	border: solid 1px #888;
	padding: .3em;
}
figure img {
	width: 100%;	
}
figcaption {
	padding: .3em;
	text-align: center;
	color:#FFF;	
}

/*----- FOOTER -----*/
div#footerWrapper {
	margin-top:4em;
	clear: both;
	border-top: solid 1px #bbb;
	border-bottom: solid 1px #bbb;
}
footer {
	border-top: solid 1px #fff;
	border-bottom: solid 1px #fff;
	font-size: .7em;
	color: #666;
	text-align: center;
	padding: .8em 0;
	background-color: #390;
}
/*----- OTHER -----*/
.clear:after {
  content: "";
  display: table;
  clear: both;
}
.keepOpen {clear:both;}