a:link {color:#555; text-decoration:underline;}
a:vistied {color: #555;}
a:hover {color:#888; text-decoration:none;}


body{
	color:#444;
	font-family:'Ubuntu', Arial, Helvetica, sans-serif;
	font-size:1em;
	line-height:1.4em;
	font-weight:normal;	
		background-color:#00040c;

}


.grid_1 { width: 8.333333333333%; }
.grid_2 { width: 16.666666666667%; }
.grid_3 { width: 25%; }
.grid_4 { width: 33.3333333333%; }
.grid_5 { width: 41.6666666667%; }
.grid_6 { width: 50%; }
.grid_7 { width: 58.3333333333%; }
.grid_8 { width: 66.6666666667%; }
.grid_9 { width: 75%; }
.grid_10 { width: 83.333333333333%; }
.grid_11 { width: 91.6666666667%; }
.grid_12 { width: 100%; }

  
.wrapper{
	max-width:1200px;
	width: 92%;
	margin: 0 auto;
}

header{ 
	padding:15px 0; position:relative;
}





#hero,
#page-header{
	position:relative;

	padding:0 0 0px 0;
	


}

#herofront,
#page-header{
	position:relative;
	border-top:1px solid #143c6f;
	padding:0 0 4px 0
	
}

#hero img{ vertical-align:top;

}

aside {
	margin: 1.2% 0 0 0;
}

.head-wrap {
	width: 100%;
	margin: 0;
	background-image: url(../images/bg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-color:#00040c;
}

@media only screen and (max-width: 630px) {
.head-wrap {
	width: 100%;
	margin: 0;
	background-image: url(../images/bg-mobile.jpg);
	background-repeat: no-repeat;
	background-size: cover;
}
} 


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


/*MAIN MENU*/
.menu-toggle{
	display:block;
	padding:10px;
	margin:20px 0 0;
	background:#666;
	color:#fff;
	cursor:pointer;
	text-transform:uppercase;
	font-size:20px;
}

/*SPACE GRID ELEMENTS VERTICALLY, SINCE THEY ARE ONE UNDER ANOTHER SO FAR*/
.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {float:left
} 

/**/



/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

.rightfloat{
	float:right;
}
.leftfloat{
	float:left;
}


/*
LARGER MOBILE DEVICES
This is for mobile devices with a bit larger screens.
*/
@media only screen and (min-width: 481px) {
#banner{
	float:left;
	text-align:left;
	margin-bottom:-20px;/*this depends on the height of the logo*/
}
.menu-toggle{/*make menu float right, instead of sitting under the logo*/
	margin-top:10px; /*this depends on the height of the logo*/
	float:right;
}

} 

/*
TABLET & SMALLER LAPTOPS
The average viewing window and preferred media query for those is 768px.
But I think that some more breathing space is good:)
*/

@media only screen and (max-width: 767px) {.grid_8{width:100%}  .grid_4{width:100%}  .grid_5{width:100%}
}

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

.wrapper{
	max-width: 1024px; 
	margin: 0 auto;
}

#banner{ 
	float:left; 
	text-align:left;
	margin-bottom:0px;
}
header{
	padding:0;
}


aside { 
	width:100%;
}



.grid_1 { width: 8.333333333333%; }
.grid_2 { width: 16.666666666667%; }
.grid_3 { width: 25%; }
.grid_4 { width: 33.3333333333%; }
.grid_5 { width: 41.6666666667%; }
.grid_6 { width: 50%; }
.grid_7 { width: 58.3333333333%; }
.grid_8 { width: 66.6666666667%; }
.grid_9 { width: 75%; }
.grid_10 { width: 83.333333333333%; }
.grid_11 { width: 91.6666666667%; }
.grid_12 { width: 100%; }

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	margin-left: 0;
	margin-right: 0;
	float: left;
	display: block;
}

.alpha{margin-left:0px;}
.omega{margin-right:0px;}
.rightfloat{float:right;}

}

/*
DESKTOP
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*/
@media only screen and (min-width: 1030px) {

} 

/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1240px) {

} 

/*
RETINA (2x RESOLUTION DEVICES)
This applies to the retina iPhone (4s) and iPad (2,3) along with
other displays with a 2x resolution.
*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-device-pixel-ratio: 1.5) {


} 

/*
iPHONE 5 MEDIA QUERY
iPhone 5 or iPod Touch 5th generation styles (you can include your own file if you want)
*/
@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) { 

  
}

/*
PRINT STYLESHEET
*/
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
