/* THIS CSS PRODUCES A CENTERED 2 COLUMN LAYOUT WITH HEADER AND HORIZONTAL NAV */

/* BEGIN STRUCTURE */
:focus {-moz-outline-style: none;} /* removes dotted border around FF links */

body {
	margin:0;
	padding:0;
	height:100.1%; /* keeps vertical scroll bar visible in browsers so layout doesn't 'bounce' page to page */
	text-align:center; /* combined with container {margin:0 auto 0 auto} this centers a page */
	background-color:#212121;
}

div#container {
	position:relative; 
	width:864px;
	margin:45 auto 0 auto; /* combined with body {text-align:center} this centers a page */
	text-align:left;
	background-image:url("/img/content-bg.jpg");
	background-position:0px 51px;
	background-repeat:repeat-y;
	border:0px solid black;
}

div#branding_nav {
	width:155px;
	height:51px;
	border:0px solid black;
}

div#branding_nav img#logo {	
	z-index:3;
	position:absolute;
	top:-32px;
	left:-8px;
}

div#nav {
	z-index:2;
	position:absolute;
	top:0px;
	left:90px;
	width:771px;
	height:51px;
	background-image:url("/img/nav-bg.jpg");
	background-position:top left;
	background-repeat:no-repeat;
}

div#nav ul {
	margin:0;
	padding:0 0 0 58px;
	text-indent:0px;
	text-decoration:none;
	list-style:none;
	border:0px solid black;
}

div#nav ul li {
	float:left;
}

div#nav a {
	display:block;
	/* padding:10 23 10 23px; before tutoring link was added to nav */
	padding:10 23 10 9px;
	font:20px arial, sans-serif;
	color:#764e1d;
	border:0px solid black;
	text-decoration:none;
}

div#nav a:hover {
	color:#121212;
}

div#content {
	overflow:auto; /*clears the floated inner columns */
	padding:0 0 20 0px;
	border:0px solid black;
}

div#content_main {
	float:right;
	padding:20 0 0 0px;
	width:510px;
	border:0px solid black;
}

div#content_sub {
	float:right;
	width:300px;
	margin:68 0 0 0px;
	padding:20 0 0 0px;
	border:0px solid black;
}

div#content_sub h1, div#content_sub h2, div#content_sub h3, div#content_sub h4, div#content_sub h5, div#content_sub p, div#content_sub ul, div#content_sub ol {margin-right:30px;}

img#site_info_bg {margin:20 0 0 0px;}

div#site_info {
	position:relative; 
	width:864px;
	margin:0 auto 0 auto; /* combined with body {text-align:center} this centers a page */
	clear:both;
	height:75px;
	padding:0 0 0 0px;
	color:#595959;
	text-align:center;
}

#site_info p {margin:0;}

#site_info a {
	color:#595959;
	text-decoration:none;
}

#site_info a:visited {text-decoration:none;}

#site_info a:hover {text-decoration:none;}
/* END STRUCTURE */

/* BEGIN GENERAL TYPOGRAPHY */
body {
	font-family:arial, sans-serif;
	font-size:62.5%;
	color:#fff;
}

h1, h2, h3, h4, h5 {
	font-family:arial, sans-serif;
	color:#fff;
	margin:0px 50px 4px 0px;
}

p {font-size:1.2em;}

td {font-size:0.8em;} 

h1 {font-size:2em;} 

h2 {font-size:1.6em;}

h3 {font-size:1.4em;}

h4 {font-size:1.2em;}

p {margin:0px 50px 10px 0px;}

a {
	color:#fff;
	text-decoration:underline;
	font-size:1em;
}

a:visited {}

a:hover {text-decoration:none;}

ul {
	margin:0;
	padding:0 50 10 30px;
	text-indent:0px;
	text-decoration:none;
	list-style:none;
	list-style-image:url("/img/dot-white.png");
	line-height:1.4em;
}

ol {
	margin:0;
	padding:0 50 10 30px;
	text-indent:0px;
	text-decoration:none;
	line-height:1.4em;
}
/* END GENERAL TYPOGRAPHY */

/* BEGIN VARIOUS TAGS AND CLASSES */
img {border:0;}

.center {text-align:center;}

.bold {font-weight:bold;}

.nomargin {margin:0px;}

.clear {
	clear:both;
	height:0px;
	border:0px solid #FFF;
}

.photo {
	float:left;
	margin:0 11 11 0px;
	padding:3px;
	background:#fff;
	border:1px solid #acc0a5;
}

.even {background:#efefef;}

.title {float:left;margin:0 0 0 -3000px;} /* Allows for text titles to be used without being seen (use when you have a graphic title but want the SEO benefits of text) */

a.btn {
	padding:1 3 1 3px;
	background-color:#7b1402;
	border:1px solid #ac895e;
	color:#fff;
	text-decoration:none;
	font-size:1.2em;
}

a.btn:hover{
	background-color:#212121;
}

.float_right {float:right;}
/* END VARIOUS TAGS AND CLASSES */

/* BEGIN INDIVIDUAL PAGE TAGS */
div#content_main_home {
	float:right;
	width:540px;
	border:0px solid black;
	padding:8 0 0 0px;
}

div#content_main_lesson {
	float:right;
	width:540px;
	border:0px solid black;
	padding:8 0 0 0px;
}

div#content_sub_lesson {
	float:right;
	width:270px;
	margin:68 0 0 0px;
	padding:20 0 0 0px;
	border:0px solid black;
}
/* +++ */
div#news {
	width:500px;
	padding:0 0 0 0px;
	background-image:url("/img/news-bg.png");
	background-position:0px 34px;
	background-repeat:repeat-x;
	overflow:auto;
}

ol {
	margin:16 0 0 0px;
	padding:0 0 10 0px;
	text-indent:0px;
	text-decoration:none;
	line-height:1.4em;
	list-style:none;
}

ol li {
	float:left;
	width:162px;
	border:0px solid black;
}

div#news img, ol li h3, ol li p{
	margin-right:10px;
	margin-left:14px;
}

div#content_sub_home {
	position:relative;
	float:right;
	width:280px;
	margin:68 0 0 0px;
	padding:28 0 0 0px;
	border:0px solid black;
}

div#demo_lesson {
	z-index:10;
	position:absolute;
	top:-46px;
	left:92px;
	width:200px;
	height:68px;
	border:0px solid black;
}

div#demo_lesson img {margin:0 0 18 18px;}

div#demo_lesson a.btn {margin:0 7 0 0px;}

div#content_sub_home h1, div#content_sub_home h2, div#content_sub_home h3, div#content_sub_home h4, div#content_sub_home h5, div#content_sub_home p, div#content_sub_home ul, div#content_sub_home ol {
	margin-right:30px;
}

div#content_sub_home p {font-size:1.4em;}

div#screenshot {
	position:relative;
	width:270px;
	height:210px;
	margin:0 0 30 0px;
	position:relative;
	top:0px;
	left:-4px;
}

div#screenshot img{
	position:absolute;
	top:6;
	left:6;
	z-index:6;
}

div#screenshot img#frame {
	top:0;
	left:0;
	z-index:7;
}
/* END INDIVIDUAL PAGE TAGS */

#adminnav {
	margin-top:80px;
}

#adminnav ul {
	font:11px tahoma, arial, verdana, helvetica, arial, san-serif;
	margin:0;
	padding:0;
	list-style:none; list-style-type:none;
	vertical-align:middle;
}

#adminnav li {
	list-style-image:none;
}

#adminnav li a {
	display: block;
	font:11px tahoma, verdana, helvetica, arial, san-serif;
	color:#d3d1c9;
	font-weight:bold;
	text-decoration:none;
	text-indent:10px;
	padding-top:7px;
	padding-left:10px;
	padding-right:0px;
	padding-bottom:0px;
	min-height:21px;
	height:auto !important;
	height:28px;
	text-transform:none;
}

#adminnav li a:hover {
	color:#f0d645;
}

.submit {
	background-color:#edc884;
	color:#412100;
	font-size:0.8em;
	font-weight:bold;
}

.error {
	color:#fff798;
}

.tableLight {
	background-image:url(/img/yellow.png);
}

.tableDark {
	background-image:url(/img/brown.png);
}

div#glossary {
	margin:15 175 0 175px;
	border:0px solid black;
}

td {font-size:11px;}

.STinfotable {
	background-image:url(/img/brown.png);
	border-color:ffcd8f;
	border-width:thin;
	border-style:solid;
	}

/* BEGIN LESSONS */
object.lesson, embed.lesson {
	margin:0 0 10 0px;
}

div#test {
	background-color:#70370a;
	padding:10px;
	margin:0 30 30 0px;
	border:1px solid #572b08;
}
