* { padding: 0; margin: 0; }

body {
 font-family: Arial, Helvetica, sans-serif;
 font-size: 0.8125em; /* 16x0.8125=13px */
 line-height: 1.1875em;/* 16x1.2=19px */
 margin:0; /* 18x1=18px */ 
 background:#0080FF;
}

h1 {
 font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
 font-size: 1.375em; /* 16x1.375=22px */
 line-height: 1.636em;/* 16x1.636=36px */
 margin: 0; 
}

h2,h3 {
 font-size: 1.125em; /* 16x1.125=18px */
 margin:0; /* 18x1=18px */
 font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; 
 color: #31444F;
}

a, ul a, a:active, a:visited {
 color: #375A6E;
 text-decoration:none;
}

a:hover {
 color: #50798F;
 
}

#wrapper {
	width: 990px;
	background:#fff;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}
#header {
	color: #333;
	width: 990px;
	float: left;
	height: 144px;
	margin: 0px;
	background-color: #8FAEBF;
}

#header h1 a, #header h2 a {
 color:#fff;
 text-decoration:none;
}

#header h1 a:hover, #header h2 a:hover {
 text-decoration:underline;
}

#navigation {
 float: left;
 width: 990px;
 color: #333;
 padding: 5px 0 5px 0;
 margin: 0;
 background: #375A6E;
 border-top:0px solid #8FAEBF;
 border-bottom:0px solid #8FAEBF; 
}

#navigation li {
 display:inline;
  color:#FFF;
 font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; 
}

#navigation a {
 margin:0;
 color:#FFF;
 text-decoration:none;
 padding: 4px 15px 4px 15px; 
}

#navigation a:hover {
	margin:0;
	padding: 4px 15px 4px 15px;
	
	background-color: #519AC7;
}

#subnavigation {
 float: left;
 width: 990px;
 color: #333;
 padding: 5px 0 5px 0;
 margin: 0;
 background: #50798F;
 border-bottom:0px solid #8FAEBF; 
}

.subnavigation_left {
 float:left;
}

.subnavigation_left li {
 display:inline;
}

#subnavigation a {
 margin:0;
 padding:0; 
 color:#FFF;
 text-decoration:none;
 padding: 4px 15px 4px 15px;  
}

#subnavigation a:hover {
 margin:0;
 padding:0;
 padding: 4px 15px 4px 15px;
 text-decoration:underline; 
}

.subnavigation_right {
 width:150px;
 float:right;
}

.date {
 float:right;
 margin:0;
 padding: 0 15px; 
 color:#FFF;
}


#one {
	color: #000000;
	width: 240px;
	float: left;
	background: #FFF;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 10px;
	
}


#inlog {
	color: #000000;
	width: 200px;
	float: left;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 10px;
	background-color: #80BFFF;
	
}

#one_wide { 
 color: #333;
 padding: 10px 0 0 10px;
 width: 636px;
 float: left;
 background: #FFF;
}

#one .item {
	padding: 10px;
	margin: 0 0 10px 0;
	border:1px solid #E0EAEF;
	background-color: #C4E1FF;
}

#two {
	float: left;
	color: #31444F;
	width: 450px;
	display: inline;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 10px;
}

#two .item, #one_wide .item {
 padding: 10px;
 margin: 0 0 10px 0;
 background: #FFF7EF;
 border:1px solid #FFDFBF; 
}

#three {
	color: #31444F;
	width: 250px;
	float: right;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 10px;
}

#three .item, #three_one .item, #three_two .item {
	padding: 10px;
	border:1px solid #E0EAEF;
	margin: 0 0 10px 0;
	background-color: #C4E1FF;
}

#three_one {
	color: #333;
	background: #FFF;
	width: 250px;
	float: left;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0;
	padding-bottom: 10px;
	padding-left: 0;
}

#three_two {
	color: #333;
	background: #FFF;
	margin: 0px;
	width: 250px;
	float: left;
	padding-top: 0px;
	padding-right: 0;
	padding-bottom: 10px;
}

#one h2, #three h3, #three_one h3, #three_two h3 {
 display:block;
 margin: 0 0 5px 0;
 padding:0;
}

#one_wide h2, #two h2 {
 display:block;
 margin: 0 0 5px 0;
 padding:0;
}

p, #one ul, #one_wide ul, #two ul, #three ul, #three_one ul, #three_two ul {
 margin:0;
 padding: 0 0 10px 0;
 color: #31444F; 
}

#one li, #one_wide li, #two li, #three li, #three_one li, #three_two li {
 margin:0 0 0 20px;
 padding:0;
 color: #31444F; 
}

#two ol, #one_wide ol {
 margin: 0 0 10px 5px;
 color: #31444F; 
}

#two blockquote {
 margin: 10px;
 padding: 10px;
 
 background:#fff;
}

#one .item img, #two .item img  {
 float:left;
 margin: 3px 10px 5px 0;
 padding:3px;
 background:#FFF;
}

#one .item img  {

}

#two .item img  {
 
}

#footer {
	clear: both;
	width: 990px;
	color: #333;
	padding: 5px 0 5px 0;
	margin: 0;
	background-color: #0099FF;
}

#footer a {
 margin:0;
 color:#FFF;
 text-decoration:none;
 padding: 5px 15px 5px 15px; 
}

#footer  li {
 display:inline;
 
 color:#FFF;
}


.item-footer {
 padding:0 0 0 0;
 margin: 10px 0 0 0;
 font-size:0.75em;
}

#one_wide .item p a , p a, #one_wide .item .item-footer a {
 text-decoration:underline;
}

label {
	display:block;
	font-weight:bold;
	margin: 5px 0 0 5px;
}
input {
	margin: 0 0 0 5px;
	padding:3px;
	border: 1px solid #FFDFBF; 
	font: normal 0.8em Arial, sans-serif;
	color:#333;	
}
textarea {
	margin: 5px 0 0 5px;
	padding:3px;
	border: 1px solid #FFDFBF; 
	font: normal 0.8em Arial, sans-serif;
	color:#333;	
	width:320px;
	height:100px;
	display:block;
}
input.button { 
	margin: 0 0 0 5px;
	height: 22px;
	padding: 2px 3px; 
	background: #FFDFBF; 
	border: 1px solid #FFDFBF; 
	font: normal 0.8em Arial, sans-serif;
	color:#333;	
}

img {
  margin:0;
  padding:0;
  border:1px solid #E0EAEF;
}

#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }
