html, body
{
	background : #87aade;
}

#container
{
	background : #fff;
	border : 1px solid #666;
	margin : 15px auto;
	padding : 4px;
	width : 792px;
	-moz-border-radius : 10px;
	-webkit-border-radius : 10px;
	border-radius : 10px;
}

/* Header / Footer */
#header
{
	background : #fff url('../images/header-bg.png') repeat-x;
	padding : 7px;
	-moz-border-radius-topleft : 9px;
	-moz-border-radius-topright : 9px;
	-webkit-border-top-left-radius : 9px;
	-webkit-border-top-right-radius : 9px;
	border-top-left-radius : 9px;
	border-top-right-radius : 9px;
}

#footer
{
	background : #fff url('../images/footer-bg.png') repeat-x bottom;
	font-family : Arial, sans-serif;
	font-size : 13px;
	text-align : right;
	padding : 4px;

	-moz-border-radius-bottomleft : 9px;
	-moz-border-radius-bottomright : 9px;
	-webkit-border-bottom-left-radius : 9px;
	-webkit-border-bottom-right-radius : 9px;
	border-bottom-left-radius : 9px;
	border-bottom-right-radius : 9px;
}
#footer hr
{
	background : #162d50;
	border : 0;
	height : 3px;
	margin : 4px 0;
	padding : 0;
	-moz-border-radius : 2px;
	-webkit-border-radius : 2px;
	border-radius : 2px;
}
#footer p
{
	margin : 2px 2px;
	padding : 0;
}
#top-jump
{
	margin-right : 8px;
}
#top-jump a:link, #top-jump a:visited
{
	color : #162d50;
	font-size : 14px;
	font-weight : bold;
	text-decoration : none;
}

/* Navigation Bar */
#menu-bar { }

#menu
{
	background : #162d50;
	margin : 0 4px 9px 4px;
	-moz-border-radius : 7px;
	-webkit-border-radius : 7px;
	border-radius : 7px;
}
#menu ul
{
	display : table; /* Fixes whitespace issue */
	margin : 0;
	padding : 5px 0;
}
#menu li
{
	display : inline;
	font-family : Arial, sans-serif;
	font-size : 14px;
	list-style-type : none;
	margin : 0;
	padding : 0;
}
#menu li a:link, #menu li a:visited
{
	color : #fff;

	font-weight : bold;
	padding : 5px 12px;
	text-decoration : none;
}
#menu li a:hover
{
	color : #fff;

	font-weight : bold;
	text-decoration : underline;
}

/* Sidebar */
#sidebar
{
	float : right;
	font-size : 13px;
	font-family : Arial, sans-serif;
	margin-right : 4px;
	width : 165px;
}
#sidebar p
{
	margin : 0;
	padding : 0;
}
#sidebar h3
{
	color : #214478;
	font-family : Georgia, serif;
	font-size : 16px;
	font-weight : normal;
	margin : 0;
	padding : 3px;
}
#sidebar ul, #sidebar li
{
	list-style-type: none;
	margin : 0;
	padding : 0;
}
#sidebar ul li
{
	background : #d7e3f4;
	padding : 0 4px 4px 4px;
	-moz-border-radius : 7px;
	-webkit-border-radius : 7px;
	border-radius : 7px;
}
#sidebar ul li
{
	margin-bottom : 8px;
}
#sidebar ul li ul li
{
	background : #fff;
	margin : 0;
	padding : 5px;
	-moz-border-radius : 7px;
	line-height : 1.5em;
}

/* Content */
#content
{
	float : left;
	font-family : Arial, sans-serif;
	font-size : 13px;
	line-height : 1.5em;
	margin-left : 8px;
	width : 602px;
}
#content p
{
	margin : 4px 0;
	padding : 0;
}
#content h2, #content h3, #content h4, #content h5, #content h6
{
	font-family : Georgia, serif;
	font-weight : bold;
	margin : 0;
	padding : 4px 0;
}
#content h2
{
	color : #214478;
	font-size : 22px;
}
#content h3
{
	color : #2c5aa0;
	font-size : 20px;
}
#content h4
{
	color : #2c5aa0;
	font-size : 16px;
}
#content h5
{
	color : #2c5aa0;
	font-size : 16px;
	font-weight :  normal;
}
#content h6
{
	color : #2c5aa0;
	font-size : 14px;
	font-weight :  normal;
}
#content a, #sidebar a, #footer a
{
	color : #162d50;
	text-decoration : underline;
}
#content a:hover, #sidebar a:hover, #footer a:hover
{
	color : #2c5aa0;
	text-decoration : underline;
}
#content ul, #content ol
{
	margin : 0 0 0 28px;
	padding : 0;
}
#content ul li
{
	list-style-image: url('../images/li.png');
}

/* General Formatting */
.clear
{
	clear : both;
}
img
{
	border : 0;
}

.languages img {
  border: solid 1px #ddd;
  margin-left: 10px;
  }

.languages img:hover, .languages img:focus, .languages img.active /* and not :active */ {
  border-color: #222;
  }

.languages select
{
	width : 100%;
}
code
{
	font-family : monospace;
	font-size : 12px;
	overflow : auto;
}
table
{
	border : 4px solid #d7e3f4;
	margin : 4px 0;
	-moz-border-radius : 7px;
	-webkit-border-radius : 7px;
	border-radius : 7px;
}
table td
{
	font-size : 13px;
	padding : 4px;
}
table th
{
	background : #d7e3f4;
	color : #214478;
	font-family : Georgia, serif;
	font-size : 16px;
	font-weight : normal;
	padding : 0 2px 2px 2px;
	text-align : left;
}
/* For screenshot viewing */
.screenshotbox
{
	border : 1px solid #d0d0d0;
	float : left;
	margin : 10px 10px;
	padding : 3px;
	text-align : center;
}

/*
img.flag
{
	border : 2px solid white;
	margin : 5px;
}
img.flag:hover, img.flag:focus
{
	border : 2px solid #85ADD4;
}
*/
img.right
{
	float : right;
}

/* Lightbox specific */
#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/lightbox/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(/images/lightbox/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; }