/*=============================
Web site development: Remarc Solutions, Ellen J. Cramer 2013.

NSDL Archive
Search site: nsdl.org
Logo: images/nsdl_logo.gif
Colors:
	blue: #0B3866
	red: #A4001D
	gold: #FFB900
	green: #96A405
	gray: #666666

===============================*/

/***** Default mobile tags *****/

body {
	margin: 0;
	background: #000000;
	font-family: Verdana, sans-serif;
	font-size: 1em;	
	color: #000000;
}

h1, h2, h3 {
	letter-spacing: .2px;
	font-weight: bolder;
}

h1 {
	font-size: 1.3em;
}

h2 {
	font-size: 1.2em;
}

h3 {
	font-size: 1.1em;
}

a {
	color: #0B3866;
}

a:hover {
	color: #666666;
}

/***** Main Elements *****/

.wrapper {
	float: left;
	margin: 0 1% 20px 1%;
	width: 98%;
	border-right: 5px solid #0B3866;
	background: #FFFFFF;
}

/***** HEADER *****/

header {
	margin: 0;
	padding: 0;
	width: 100%;	
	/* IE10 Consumer Preview */ 
	background-image: -ms-linear-gradient(left, #0B3866 0%, #000000 100%);
	/* Mozilla Firefox */ 
	background-image: -moz-linear-gradient(left, #0B3866 0%, #000000 100%);
	/* Opera */ 
	background-image: -o-linear-gradient(left, #0B3866 0%, #000000 100%);
	/* Webkit (Safari/Chrome 10) */ 
	background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #0B3866), color-stop(1, #000000));	/* Webkit (Chrome 11+) */ 
	background-image: -webkit-linear-gradient(left, #0B3866 0%, #000000 100%);
	/* W3C Markup, IE10 Release Preview */ 
	background-image: linear-gradient(to right, #0B3866 0%, #000000 100%);
}

header div#logo {
	float: right;
	width:120px;
}

header div#logo a {
	border: 0;
	text-decoration: none;
}

header div#logo img {
	max-width: 100%;
}

header div#title {
	float: left;
	padding: 10px 0 0 20px;
	width: 50%;
	clear: none;
}

header div#title h1 {
	margin: 0;
	height: 55px;
	color: #FFFFFF;
	text-align: left;
	font-size: 1.1em;
	font-weight: bolder;
	letter-spacing: .2px;
}

header div#title a, .mini-header a {
	text-decoration: none;
	color: #FFFFFF;
}

header div#title a:hover,  .mini-header a:hover {
	text-decoration: underline;
	color: #EEEEEE;
}

header div#title h2 {
}

nav {
	margin: 0;
	padding: 0;
	width: 100%;
	background-color: #000000;
	clear: both;
}

ul#nav {
	margin: 0 auto;
	padding: 0;
	width: 100%;
	list-style: none;
	clear: both;
}

ul#nav li {
	margin: 0;
	padding: 0;
	text-align: center;
}

ul#nav li a {
	display: block;
	padding: 5px 0;
	text-decoration: none;
	color: #FFFFCC;
}

ul#nav li a.selected {
	background-color: #FFB900;
	color: #FFFFFF;
}

ul#nav li a:hover {
	text-decoration: underline;
	background-color: #FFFFCC;
	color: #000000;
}

div#search, div#search-home {
	margin: 1% 2% 0;
	width: 96%;
	clear: both;
}

/* MINI HEADER */

div.mini-header {
	display: block;
	width: 100%;
	height: 48px;
	border-bottom: 2px solid #CCCCCC;
	background-color: #0B3866;
}

div.mini-header p {
	float:left;
	margin: 0;
	width: 330px;
	clear: none;
}

p#home-link {
	float: left;
	padding: 15px;
}

p#search {
	float: right;
}

div.gsc-control-cse.gsc-control-cse-en {
	padding: .4em .6em;
	background-color: #000000;
	border-top: 0;
	border-bottom: 0;
}

form.gsc-search-box {
	margin: 0 3px;
	width: 280px;
}

/***** IFRAME *****/

.subpages {
	width: 99%;
	height: 700px;
}


/***** CONTENT *****/

section {
	float: left;
	margin: 0 auto;
	padding: 10px 20px;
	background: #FFFFFF;
}

section.toc {
	margin: 10px auto;
	width: 260px;
	-webkit-box-shadow: 0 5px 10px #aaa;
	   -moz-box-shadow: 0 5px 10px #aaa;
			box-shadow: 0 5px 10px #aaa;
	clear: left;
}
	
a#top {
	float: right;
	font-size: .7em;
	text-align: right;
}

dt {
	font-size: .9em;
}

dd {
	font-size: .8em;
	padding: 3px;
	margin-bottom: 10px;
}

p.small, span.small {
	font-size: .8em;
}

section.toc ul li {
	padding: 5px 2px;
}

section.toc#docs ul li {
	font-size: .8em;
}

section.image-home {
	margin: 10px auto;
	padding: 3px;
	width: 280px;
	text-align: center;
}

section.image-home img {
	max-width: 100%;
}

sup {
	font-size: .7em;
}

div#sh-images div {
	float: left;
	margin: 12px;
	width: 110px;
}

div#sh-images div img {
	float: left;
	max-width: 100%;
}

div#sh-images div p {
	height: 35px;
	clear: both;
	font-size: .7em;
}

/***** FOOTER *****/

footer {
    height: 175px;
    padding: 15px;
	background: #FFFFFF;
	font-size: .8em;
	color: #333333;
	clear: both;
}

footer p sup {
	font-size: .7em;
}

footer #center {
	margin: 30px auto;
	padding: 10px 10px 15px;
	width: 90%;
	height: 100px;
	border-top: 2px solid #DDDDDD;
	border-bottom: 2px solid #DDDDDD;
	text-align: center;
	font-style: italic;
}

footer #right {
	float: right;
	padding: 20px 10px;
	width: 200px;
	clear: both;
}

/***** MEDIA QUERIES *****/

/***** Landscape *****/
@media only screen and (min-width: 480px) {

	header {
		height: 95px;
	}
	
	header div#logo {
		width: 200px;
	}
	
	header div#logo img {
		max-width: 100%;
	}
	
	header div#title h1 {
		padding: 20px 20px 0 0;
		font-size: 1.3em;
	}
	
	nav {
	}
	
	ul#nav {
		float: left;
		margin-left: .5em;
		background-color: #000000;
		color: #FFFFFF;
	}
	
	ul#nav li {
		display: inline;
	}
	
	ul#nav li a {
		float: left;
		padding: 0.5em 1em;
		border-right: 1px solid #FFFFCC;
	}
	
	ul#nav li a.selected {
		border-top: 1px solid #FFB900;
		border-right: 1px solid #FFB900;
	}	
	
	ul#nav li a:hover {
		border-top: 1px solid #FFFFCC;
		border-right: 1px solid #FFFFCC;
	}	
	
	section.toc, section.image-home {
		margin-left: 20px;
		width: 420px;
	}
	
	section.toc#home {
		width: 280px;
		height: 240px;
	}
	
	section.image-home {
		margin-left: 20px;
		width: 280px;
	}
	
	section.image-home#onramp {
		width: 320px;
	}	
	
	section h2 {
		padding-top: 20px;
	}
	
	footer #center {
		height: 60px;
	}

}

/***** Landscape Tablet *****/
@media only screen and (min-width: 640px) {

	header div#title h1 {
		font-size: 1.5em;
	}
	
	ul#nav {
		margin-left: .4em;
		width: 320px;
		clear: none;
	}
	
	div#search {
		float: right;
		width: 250px;
		margin: 0 20px 0 0;
		clear: none;
	}	
	
	div#search-home {
		float: left;
		width: 280px;
	}

}

/***** Wide *****/
@media only screen and (min-width: 768px) {

	ul#nav {
		margin-left: .5em;
		width: 400px;
	}
	
	div#search {
		float: right;
		width: 280px;
		margin: 0 20px;
	}

	h1, header div#title h1 {
		font-size: 1.7em;
	}
	
	h2 {
		font-size: 1.5em;
	}
	
	h3 {
		font-size: 1.3em;
	}
	
	section.toc#docs ul li {
		width: 450px;
		font-size: .8em;
	}
	
	hr {
		margin: 20px 0;
	}
	
	section.toc#docs ul#categories li {
		font-size: 1em
	}
	
	section.image-home {
		width: 320px;
	}	
	
	section.image-home#onramp {
		width: 400px;
	}	
	
	footer {
		height: 150px;
	}
	
	footer #center {
		width: 60%;
		height: 50px;
	}

}

/***** Max *****/
@media only screen and (min-width: 1026px) {

	header div#title h1 {
		padding-right: 40px;
	}	
	
	ul#nav {
		margin-left: .8em;
	}
	
	footer #center {
		width: 60%;
		height: 35px;
	}
	
}
