/* Used for footer */
* {
	margin: 0;
}
html, body {
	height: 100%;
}
/* Used for forcing scrollbar */
html {
	overflow-y: scroll;
}
/* Body */
body 
{
	background: #fafafa;/*f2f2f2;*/
	text-align: center;
	font-family: Georgia, "Times New Roman", Times, serif;/*Arial, Helvetica, sans-serif;*/
	font-size: 1.03em;/*11pt;*/
	line-height: 1.3em;
	color: #333;
}
/* General Links */
a {
	text-decoration: none;
	font-weight: normal;
	color: #0099ff; 
}
/* Current Section Highlight */
a.current {
	/*text-decoration: underline;*/
	/*border-bottom:1px dotted #ccc;*/	
}
/* Wrapper */
#wrap {
	margin: 0 auto;
	width: 990px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -80px; /* negative value of the footer's height */	
}
/* Header */
#header {
	background: url("../images/header.png") no-repeat;
	/*background-color: #000;*/
	margin: 0px;
	padding: 0px;
	height: 110px;
}
#header a:hover {
  	text-decoration:none;
}
#header a {
  	display:block;
  	width:990px;
  	height:99%;
  	text-decoration:none;  	
}
/* Top Navigation */
#nav {
	background-color: #0099ff;
	padding:5px 5px 5px 15px;
	position: relative;
	top: 1px;
	text-align: left;
	font-size: 1.02em;
	text-transform: uppercase;
	font-weight: bold;
}
#nav ul {
	/*margin: 0;*/
	padding: 0;
}
#nav li {
	display: inline;
}
#nav ul li:before {
	content: "| \0020";
	background: transparent;
	color: #eee;
}
#nav ul li.nav1:before {
	content: "";
}
#nav li a
{
	color: #fff;
}
/* Secondary Navigation */
#subnav {
	padding:15px 10px 15px;
	position: relative;
	text-align: left;
}
#subnav ul {
	/*margin: 0;*/
	padding: 0;
}
#subnav li {
	display: inline;
}
#subnav ul li:before {
	content: "| \0020";
	background: transparent;
	color: #ccc;
}
#subnav ul li.subnav1:before {
	content: "";
}
#subnav li a
{
	/*color: #0099ff;*/
}
/* Content */
#main {
	float: left;
	width: 740px;
	position: relative;
	text-align: justify;
	padding-bottom: 25px;
}
#intromain, #contactmain {
	width: 990px;
	text-align: justify;	
}
#main p, #intromain p, #contactmain p {
	padding:15px 10px 15px;
}
/* Next/Previous */
#next {
	margin-right: 12px;
	margin-top: 5px;
	text-align: right;	
}
#next img {
	border: 0;
}
}
#next a {
	text-decoration: underline;
}
/* Headings */
h2 {
	font-size: 0.87em;
	text-transform: uppercase;
	border-bottom: 1px solid #bdbdbd;
	border-top: 1px solid #bdbdbd;
	margin:15px 0px 0px 0px;
	padding: 0px 10px;
	color: #333;
	height: 22px;	
}
h3 {
	font-size : 1.1em; 
	padding: 10px 10px;
	color: #a1a1a1;
}
hr {
  	border: 0;
  	width: 60%;
  	background-color: #ddd;
	height: 1px;
}
/* Sidebar */
#sidebar {
	float: right;
	width: 240px;
	position: relative;
	top: 60px;	
	text-align: left;/*justify;*/
	color: #a1a1a1;
}
#sidebar ul {
	margin-bottom: 0;
}
#sidebar li {
	color: #0099ff;
}
#sidebar h3, #sidebar p {
	padding: 0 10px 0 0;
}
#sidebar h3 {
	color: #a1a1a1;
}
#sidebar img {
	border: 0;	
}
/* Footer */
#footer, #push {
	height: 80px; /* .push must be the same height as .footer */
	clear: both;
	color: #a1a1a1;
}
#footer p {
	padding: 30px 0px;
	margin: 0;	
}
/* Code */
#code {
	margin-left: 10px;
	margin-right: 7px;
	padding-left: 7px;
	padding-bottom: 10px;
	padding-top: 10px;
	border-left: 3px solid #aaa;
	font-family: Courier New, monospace;
	font-weight: 600;
	color: #000; 
	background-color: #fff;	
}
pre {
	white-space: pre-wrap; 
	white-space: -moz-pre-wrap !important; 
	white-space: -pre-wrap; 
	white-space: -o-pre-wrap; 
	word-wrap: break-word; 
}
pre.code {
	margin-left: 10px;
	margin-right: 7px;
	padding: 4px 10px;
	border-left: 3px solid #aaa;
	font-family: Courier New, monospace;
	font-weight: 600;
	color: #000; 
	background-color: #fff;	
}
code.textcode {
	font-family: Courier New, monospace;
	font-weight: 600;
	color: #0e4d6c;
}
span.aekey {
	color: #000080;
}
span.jskey {
	color: #00f;
}
span.bracketkey {
	color: #f00;
}
span.strkey {
	color: #008080;
}
/* Animation */
#anim {
	text-align: center;
	border: thin silver solid;
	margin: 10px;
	padding: 10px;
}
/* Image */
div.image {
	text-align: center;
	border: thin silver solid;
	margin: 10px;
	padding: 10px;
}
div.image p {
	text-align: center;
	text-indent: 0;
	color: #a1a1a1;
}
/* Language Switch Links */
span.language {
	font-size: 0.85em;
	text-transform: lowercase;
	text-decoration: none;
	margin: 10px;
}
/* Horizontal Separator */
#h-bar
{
	display: block;
	margin: 0 auto;
	height: 12px; 
	width: 75px; 
}


