/*
The Gordon Lab 2012 website design
by Sam Crow
*/

/* reset everything except lists */
:not(ul):not(ol):not(li) {
	margin: 0;
	padding: 0;
	border: none;
}

html {
	height: 100%;
}

body {
	font-size: 16px; /* 16pt */
	font-family:'Lucida Sans', 'Lucida Grande', 'Lucida Sans Unicode', sans-serif;
	color: black;
	
	background-color: #e5e5e5;
	
	height: 100%;
}

.page-body {
	background-color: #dee0df;
	width: 960px;
	
	/* This, plus the <br class="clear" /> at the end
	makes this div always span the full height of the
	window or the height of its contents, whichever
	is greater */
	min-height: 100%;
	
	position: relative;
	margin-left: auto;
	margin-right: auto;
	
	padding-bottom: 20px; /* Always this much negative space at the bottom of the page */
}

ul li {
	padding-top: 6px;
	padding-bottom: 6px;
}

ul {
	padding-right: 5px;
}

/* Applied to the main header.gradient.top */
.top {
	background: white; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2QwZDBkMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjI2JSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(208,208,208,1) 0%, rgba(255,255,255,1) 26%, rgba(255,255,255,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(208,208,208,1)), color-stop(26%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(208,208,208,1) 0%,rgba(255,255,255,1) 26%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(208,208,208,1) 0%,rgba(255,255,255,1) 26%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(208,208,208,1) 0%,rgba(255,255,255,1) 26%,rgba(255,255,255,1) 100%); /* IE10+ */
	background: linear-gradient(top,  rgba(208,208,208,1) 0%,rgba(255,255,255,1) 26%,rgba(255,255,255,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d0d0d0', endColorstr='#ffffff',GradientType=0 ); /* IE6-8 */


	height: 195px;

	/* Font styles use for all the text in the header */
	font-weight: bold;
}

header h2 {
	display: inline-block;
	font-size: 2.25em; /* 36pt */
	
	margin-top: 8px;
	margin-left: 18px !important;
	
	width: 600px;
}

header h1 {
	display: inline-block;
	font-size: 3em; /* 48pt */
	line-height: 1.1em;
	margin-left: 18px !important;
	width: 600px;
}

header h3 {
	font-size: 1.1em;
	
	display: inline-block;
	
	line-height: 2em;
	
	margin-left: 18px !important;
	
	color: #444;
}

header img {
	position: absolute;
	top: 0;
	right: 0;
	
	/* Left side drop shadow */
	-webkit-box-shadow:  -10px 0px 30px 0px rgba(0, 0, 0, .5);
	box-shadow:  -10px 0px 3-0px 0px rgba(0, 0, 0, .5);
}


nav {
	background-color: #EFEFEF;
	height: 44px;
	
	/* Makes the navbar above the shadow that the header image casts */
	position: absolute;
	z-index: 1;
	left: 578px;
	top: 149px; /* Snap to the bottom right corner */
	
	border: 1px solid gray !important;	
		
	text-align: center;
	width: 380px;
	
	border-top-left-radius: 8px;
	
	display: table;
}

nav a:link {
	
	display: table-cell;
	
	font-size: 1.8em; /* 30pt */
	
	/*border-right: 2px solid lightgray;*/
	
	height: 100%;
}

nav a:visited {
	/* No purple highligh */
	color: inherit;
}

nav a:link:first-child {
	border-top-left-radius: 8px; /* to match nav::border-top-left-radius */
}

nav :hover {
	background-color: #FFF;
}

nav a:link {
	color: black;
	text-decoration: none;
}

footer {
	text-align: center;
	
	margin-top: 10px !important;
	
	font-size: 0.8em;
	color: #555;
}


/* Utility styles (not for specific elements */

.shadow {
	-webkit-box-shadow: 0px 0px 40px 3px rgba(0, 0, 0, .5);
	box-shadow: 0px 0px 40px 3px rgba(0, 0, 0, .5);
}

/* Modules
<? class="module">
<header>Header Text</header>
<p>
Body text
</p>
</?>
*/
.module {
	background-color: #F8F8F8;
	
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	
	padding-bottom: 5px;/* Keep some clear space from everythign in the bottom */
}

.module header {
	/* Top corners rounded to match .module */
	-webkit-border-radius: 4px 4px 0px 0px;
	border-radius: 4px 4px 0px 0px;
	
	background-color: #008900;/* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzg0YjI4NyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDg5MDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(132,178,135,1) 0%, rgba(0,137,0,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(132,178,135,1)), color-stop(100%,rgba(0,137,0,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(132,178,135,1) 0%,rgba(0,137,0,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(132,178,135,1) 0%,rgba(0,137,0,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(132,178,135,1) 0%,rgba(0,137,0,1) 100%); /* IE10+ */
	background: linear-gradient(top,  rgba(132,178,135,1) 0%,rgba(0,137,0,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#84b287', endColorstr='#008900',GradientType=0 ); /* IE6-8 */



	
	text-align: center;
	font-weight: bold;
	font-size: 1.7em; /* 27.2pt */
	color: white;
	
	padding: 3px 0px;
}

.module p, .module h4 {
	padding: 8px;
}
.module ul, .module ol {
	margin-top: 2px;
}

/* Header-ish green background, padding, and rounded corners for inline elements */
.header-ish {
	
	/* Round corners */
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	
	background-color: #008900;/* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzg0YjI4NyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDg5MDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(132,178,135,1) 0%, rgba(0,137,0,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(132,178,135,1)), color-stop(100%,rgba(0,137,0,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(132,178,135,1) 0%,rgba(0,137,0,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(132,178,135,1) 0%,rgba(0,137,0,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(132,178,135,1) 0%,rgba(0,137,0,1) 100%); /* IE10+ */
	background: linear-gradient(top,  rgba(132,178,135,1) 0%,rgba(0,137,0,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#84b287', endColorstr='#008900',GradientType=0 ); /* IE6-8 */
	
	padding: 4px;
	
	color: white;
	text-decoration: none;
	
	border: 1px solid gray;
}

/* General text styles */
em {
	font-style: normal; /* Override the italic that the em element usually has */
	color: red;
}

/* High-visibility links for actions like "Read more", "Buy now" */
a:link.action {
	/*font-weight: bold;*/
	font-size: 0.8em;
	text-decoration: underline;
	color: red;
}
a:visited.action {
	color: #D70A00;
}

/* Use this for an element that contains text. Text and inline elements within it will be center-aligned */
.center {
	text-align: center;
}

/* Use this for a blocky element to make it centered horizontally within its parent */
.centered {
	display: block;
	position: relative;
	margin-left: auto;
	margin-right: auto;
}

.small {
	font-size: 0.8em;
}

/* Make some text within a container smaller */
.small-elements a, .small-elements p {
	font-size: 0.8em;
}

/* Displays an external link icon to the right */
.external, [rel="ext"] {
	padding-right: 11px;
	background: transparent url('images/external-gray.png') no-repeat right center;
}

ul.linklist {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

ul.linklist li {
	display: inline;
	margin: 0;
	padding: 0;
}


/* 12-column grid
Inspired by that one grid system (http://960.gs/) */
.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: 10px;
}
.half-column {
	display: inline;
	float: left;
	width: 50%;
}

/* column sizes for other grid widths are not currently implemented to save CSS space and time */
.grid-1 { width: 60px;  }
.grid-2 { width: 140px; }
.grid-3 { width: 220px; }
.grid-4 { width: 300px; }
.grid-5 { width: 380px; }
.grid-6 { width: 460px; }
.grid-7 { width: 540px; }
.grid-8 { width: 620px; }
.grid-9 { width: 700px; }
.grid-10{ width: 780px; }
.grid-11{ width: 860px; }
.grid-12{ width: 940px; }
/* http://sonspring.com/journal/clearing-floats */
.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}