/* CSS Resets */

/*
html,body,
#background div, #background span, #background object, #background iframe, #background h1, #background h2, #background h3, #background h4, #background h5, #background h6, #background p, #background blockquote, #background pre, #background a, #background abbr, #background address, #background cite, #background code, #background del, #background dfn, #background em, #background img, #background ins, #background q, #background small, #background strong, #background sub, #background sup, #background dl, #background dt, #background dd, #background ol, #background ul, #background li, #background fieldset, #background form, #background label, #background legend, #background table, #background caption, #background tbody, #background tfoot, #background thead, #background tr, #background th, #background td { border:0; margin:0; padding:0 }
*/
html, body { border:0; margin:0; padding:0 }

#background article, #background aside, #background figure, #background figure img, #background figcaption, #background hgroup, #background footer, #background header, #background nav, #background section, #background video, #background object { display:block }

#background a img { border:0 }
#background figure { position:relative } 
#background figure img { width:100% }


/* ==================================================================================================================== */
/* ! The 1140px Grid V2 by Andy Taylor \ http://cssgrid.net \ http://www.twitter.com/andytlr \ http://www.andytlr.com   */
/* ==================================================================================================================== */

body { min-width:1220px; min-width:1200px; }

.container {
padding-left: 20px;
padding-right: 20px;
padding-left: 40px;
padding-right: 40px;
}

.row {
/*
width: 100%;
max-width: 1140px;
min-width: 755px;
min-width: 715px; 
*/
width: 1070px;
width: 1140px;
margin:0;
margin: 0 auto;
overflow: hidden;
}

.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol {
margin-right: 3.8%;
float: left;
min-height: 1px;
}

.row .onecol {
width: 4.85%;
}

.row .twocol {
width: 13.45%;
}

.row .threecol {
width: 22.05%;
}

.row .fourcol {
width: 30.75%;
}

.row .fivecol {
width: 39.45%;
}

.row .sixcol {
width: 48%;
}

.row .sevencol {
width: 56.75%;
}

.row .eightcol {
width: 65.4%;
}

.row .ninecol {
width: 74.05%;
}

.row .tencol {
width: 82.7%;
}

.row .elevencol {
width: 91.35%;
}

.row .twelvecol {
width: 100%;
float: left;
}

.last {
margin-right: 0px;
}

img, object, embed {
max-width: 100%;
}

img {
	height: auto;
}


/* Smaller screens */

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

	/*
	body {
	font-size: 0.8em;
	line-height: 1.5em;
	}
	*/	
	
	}


/* Mobile */

@media handheld, only screen and (max-width: 767px) {


	body {
	-webkit-text-size-adjust: none;
	}
	
	.row, body, .container {
	width: 100%;
	min-width: 0;
	margin-left: 0px;
	margin-right: 0px;
	padding-left: 0px;
	padding-right: 0px;
	}
	
.row { max-width:640px; margin-left:auto; margin-right:auto; }
	
	.row .threecol .twelvecol,
	.row .sixcol .twelvecol, 
	.row .sixcol .twelvecol .sixcol,
	#nspirg-foot .threecol,
	.row .sevencol .twelvecol,
	.row .sevencol .twelvecol .fivecol,
	.row .sevencol .twelvecol .sevencol,
	.row .eightcol .elevencol,
	.row .eightcol .elevencol .sixcol { padding:0; }
	
	.row .onecol, .row .twocol, .row .threecol, .row .fourcol, .row .fivecol, .row .sixcol, .row .sevencol, .row .eightcol, .row .ninecol, .row .tencol, .row .elevencol, .row .twelvecol {
	width: auto;
	float: none;
	margin-left: 0px;
	margin-right: 0px;
	padding-left: 20px;
	padding-right: 20px;
	}
	
	#slideshow-player .twelvecol,
	#hp-portals .history-posts,
	#hp-portals .history-posts .twelvecol .fivecol,
	#hp-portals .history-posts .twelvecol .sevencol { padding-left:0; padding-right:0; }
	
	#background #nspirg-foot .threecol ul { padding-left:20px; margin-bottom:20px; }
		
.row .sixcol .twelvecol .sixcol,
#nspirg-foot .threecol {
width: auto;
float: left;
width: 48%;
margin-right: 3.8%;
}
.row .sixcol .twelvecol .sixcol.last,
#nspirg-foot .threecol.nav-last { margin-right:0;}
#background .row .sixcol .twelvecol.post-row { border:none; }

}


/* Smaller screens */

@media only screen and (max-width: 540px) {	
	
	
.row .sixcol .twelvecol .sixcol {
width: auto;
float: none;
}	
	
	}