/* CSS Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td
{
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
:focus { outline: 0; }
ins { text-decoration: none; }
del { text-decoration: line-through; }
table { border-collapse: collapse; border-spacing: 0; }


/* Basic styles */
body {
	background: #040404 ;
	color: #fff;
	padding: 2em 0;
	font-family: 'Lucida Grande', helvetica, verdana, arial, sans-serif;
	min-width: 760px;
	font-size: 10.5pt;
}

a { color: #5D8EC2; text-decoration: none; text-shadow: #5A5A5A 0px 0px 10px; }
a:hover { color: #fff; text-decoration: underline; }

p, li { color: #C2C2C2; }
p { margin-bottom: 1.0em; line-height: 15pt; }
.bulleted li { list-style-type: disc; margin-left: 3em; line-height: 14pt; }
.light { color: #626262;}
.center-text { text-align: center;}

h1, h2, h3 { font-weight: bold; }
h1 { font-size: 14pt; padding: 0.6em 0 0.3em; margin-top: 1em; text-shadow: rgba(0,0,0,0.95) 1px 2px 3px; border-top: 2px dashed #333; }
h1.first { border: none; margin-top: 0; }
h2 { font-size: 11pt; padding: 0.3em 0; margin-top: 0.25em;  }
h3 { font-size: 12pt; color: #585858; padding-bottom: 0.5pt; }

code { display: block; background-color: #313131; border: 1px dotted #8F8F8F; margin: 0.75em 0; padding: 1pt 3pt; }
hr { margin-bottom: 1em; border: 0px; width: 98%; background-color: #606060; height: 1px; }
abbr.amp { font-family: "Baskerville", "Palatino", "Book Antiqua", serif; font-style: italic; font-size: 115%; font-weight: normal; }
.reg { font-size: 55%; vertical-align: top; padding-left: 1px; }


/* Page geometry */
#wrapper {
	width: 780px;
	margin: 0 auto;
	border: 1px solid #2D2D2D;
	border-top: 1px solid #303030;
	-webkit-box-shadow: 0 1px 20px rgba(255,255,255,0.20); -moz-box-shadow: 0 1px 50px rgba(255,255,255,0.175); /* 2009-7-25: c safari 3.0.2 has a *hard* time with big shadows: https://bugs.webkit.org/show_bug.cgi?id=22102 */
}

#header, #wrapper {
	-webkit-border-top-right-radius: 16px; -webkit-border-top-left-radius: 16px;
	-moz-border-radius-topright: 16px; -moz-border-radius-topleft: 16px;
}

#header {
	height: 90px;
	background: #1F1F1F url("images/HeaderBG.png") repeat-x;
	position: relative; /* so that bottom shadow will be on top of div below */
	-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.7);
	-moz-box-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

#logotitle { padding: 17px 0 0 20px; float: left; }
#nav { float: right;  margin: 64px 2px 0 0 ; }
#nav li { margin-right: 13px; display: inline; float: left;  }
#nav a { 
	display: block;
	background: #070A0F url("images/TabBackground.png") repeat-x;
	height: 20px;
	padding: 6px 15px 0;
	color: #EDEDED;
	font-size: 9.5pt;
	font-weight: bold;
	text-shadow: rgba(0,0,0,0.95) 0px 1px 1px;
	-webkit-box-shadow: rgba(0,0,0,0.80) 0 -1px 4px; -moz-box-shadow: rgba(0,0,0,0.80) 0 -1px 4px;
	-webkit-border-top-right-radius: 6px; -webkit-border-top-left-radius: 6px;
	-moz-border-radius-topright: 6px; -moz-border-radius-topleft: 6px;
}
#nav li.selected a { background-color: #001535; }
#nav li a:hover { color: #B8B8B8; background-color: #001027; text-decoration: none; }

#content { background: #1f1f1f; padding: 1em 2em 0.75em;  }
#footer { color: #353535; text-align: center; margin: 40px 0 20px;}


.plain-button { text-align: center; margin: 2.5em auto; }
.plain-button .button {
	background: #55595E;
	color: #F2F2F2;
	text-shadow: #00011E 0px 1px 1px;
	-webkit-border-radius: 10px;
	-webkit-box-shadow: rgba(0,0,0,1) 1px 2px 5px;
	-moz-border-radius: 10px;
	-moz-box-shadow: rgba(0,0,0,1) 1px 2px 5px;
	
	font-size: 11.5pt;
	padding: 7.5pt 10pt 6.5pt;
}
.plain-button .button:hover { background: #353535;  }
.plain-button .label { font-weight: bold;}
.plain-button a:hover { text-decoration: none; }


#bottom { text-align: center; padding-top: 2em; }


.blurb { text-align: center; margin-bottom: 2em;}
.blurb.news { color: #7E7E7E; text-align: left;}
.blurb.news a { color: #42678D; }
.blurb.primary-description { margin-top: 1.25em;}

@media handheld {
	#wrapper { -webkit-box-shadow: none; /* slow on iPhone 3.0 */ }
}
#screenshots-div {
	margin-top:0px;
	width:300px;
	float:right;
}
#screenshots-div #screenshots {
	margin-top:5px;
}
#screenshots-div #screenshots p {
	margin-top:0px;
	padding-top:0px;
	padding-bottom:5px;
}
#twitter-div {
	margin-top:0px;
	width:400px;
	float:left;
}

#twitter-div ul li {
	background:none;
	margin:5px 0px 1em 0px;
	padding:4px 0px 4px 0px;
	color: #7E7E7E; 
	text-align:left;
}


/* Lightbox */
#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; }
