/*
This stylesheet has been based on Dan Cederholm's stylesheet for
http://simplebits.com/ and modified for use for this site.
*/

body {
	margin: 0;
	padding: 0;
	font-family: Verdana, sans-serif;
	text-align: center;
	line-height: 1.5em;
	color: #333333;
	background: #dddddd;
	/* font-size: x-small; /* IE5 Win */
  	voice-family: inherit;
  	font-size: small;
}

html>body { /* be nice to Opera */
	font-size: small;
}

/* ---( links )------------------------------- */

a:link {
	color: #305080;
}

a:visited {
	color: #305080;
}

a:hover {
	color: #003366;
}

a.term {
	color: #006973;
	text-decoration: none;
	font-weight: bold;
}

/* ---( common elements )------------------------------- */

p {
	margin: 1em 0 1em;
	padding: 0;
    text-align: justify;
}

p.goodbox {
	border: medium solid #339933;
	border-width: 1px;
	background: #e0ffe0;
	padding: 1px 0 5px 5px;
}

p.badbox {
	border: medium solid #993333;
	border-width: 1px;
	background: #ffe0e0;
	padding: 1px 0 5px 5px;
}

p.infobox {
	border: medium solid #333399;
	border-width: 1px;
	background: #e0e0ff;
	padding: 1px 0 5px 5px;
}

p.centered {
	text-align: center;
}

h1 {
	font-family: "Trebuchet MS", Verdana, sans-serif;
	font-size: 140%;
	font-weight: bold;
	color: #930;
	padding: 0;
	margin: 0;
}

h2 {
	font-family: "Trebuchet MS", Verdana, sans-serif;
	font-size: 140%;
	color: #930;
	padding: 0;
	margin: 15px 0 1em 0;
}

h2 a:link, h2 a:visited {
	text-decoration: none;
	color: #930;
}

h2 a:hover {
	color: #600;
}

h2.sub {
	color: #999;
	font-size: 90%;
	font-weight: normal;
	padding-bottom: 2px;
	margin-bottom: 1.5em;
	border-bottom: 1px solid #ddd;
}

h2.sub a {
	font-size: 100%;
	color: #999;
	text-decoration: underline;
}

h3 {
	font-family: "Trebuchet MS", Verdana, sans-serif;
	font-size: 115%;
	font-weight: bold;
	color: #222;
	padding: 0 0 2px 0;
	margin: 1.2em 0 -.2em 0;
	border-bottom: 1px solid #eee;
}

h1 span, h2 span, h3 span {
	color: #999;
}

code {
	color: #c63;
	font-size: 110%;
	line-height: 1.2em;
	text-align: left;
}

code strong {
	color: #930;
}

abbr, acronym, .popup {
	font-style: normal;
	border-bottom: 1px dotted;
}

em {
	font-style: italic;
}

strong {
	font-weight: bold;
}

strike {
	text-decoration: line-through;
}

address {
	margin: 0;
	padding: 0;
	font-style: normal;
}

.small {
	font-size: 80%;
}

.bodytop {
    border:         1px;
    margin-top:     10px;
}

.location {
    float: left;
}

.prevnext {
    float: right;
}

/* ---( top )------------------------------- */

#wrap {
	position: relative;
	margin: 0 auto;
	padding: 0 16px;
	font-size: 95%;
	text-align: left;
	background: url(../images/framework.png) repeat-y;
	width: 782px;
	voice-family: "\"}\""; 
  	voice-family: inherit;
  	width: 750px;
}

html>body #wrap {
  	width: 750px;
} 

#logo {
	background: #99f;
    height: 106px;
    padding: 1px 0px 1px 20px; 
	margin: 0;
	border-bottom: 1px solid #000;
	border-top: 1px solid #000;
}

#logo a {
	border-style: none;
	display: block;
	width: 318px;
}

/* ---( main column )----------------------------- */

/* Commented Backslash Hack
     hides rule from IE5-Mac \*/
#main-body {clear:left;}
/* End IE5-Mac hack */

#content {
	float: left;
	margin: 0 0 0 0;
	padding: 0 20px;
	background: #ffffff;
	width: 542px; /* for IE5/Win */
	voice-family: "\"}\""; 
  	voice-family: inherit;
  	width: 502px;
}
html>body #content { /* be nice to Opera */
	width: 502px;
}
#content .entry {
	margin: 0;
	padding-top: 12px;
	border-top: 1px solid #ddd;
}
#content .single {
	border-top: none;
	padding-top: 0;
}

/* lists */

#content ul {
	/* list-style: none; */
	margin: 0 0 0 0;
	padding-left: 12px;
}
#content ul li {
	padding: 0 0 4px 10px;
	line-height: 1.3em;
	/* background: url(../images/li_box.gif) no-repeat 0 1px; */
}
#content dl dd {
	margin: 0;
	padding: 0 0 1em 0;
	font-size: 90%;
}

/* ---( right column )----------------------------- */

#sidebar {
	position: relative;
	font-size: 90%;
	line-height: 1.5em;
	margin: 0 0 0 542px;
	padding: 20px 15px 40px 20px;
	color: #937966;
	/* background: #ddddff; */
	border-left: 1px solid #aaf;
}

#sidebar h1 {
	font-size: 120%;
	color: #009;
	padding: 0 0 4px 19px;
	margin: 0 0 4px 0;
	border: none;
	background: url(../images/icon_chapter_closed.png) no-repeat 0 1px;
}

#sidebar h2 {
	font-size: 120%;
	color: #009;
	padding: 0 0 4px 19px;
	margin: 0 0 4px 0;
	border: none;
	background: url(../images/icon_chapter.png) no-repeat 0 1px;
}

#sidebar h3 {
	font-size: 110%;
	padding: 0 0 4px 19px;
	margin: 0px 0 4px 12px;
	color: #00c;
	border: none;
	background: url(../images/icon_section.png) no-repeat 0px 1px;
}

ul.notype {
	list-style-type: none;
}

li.sidebar_chapter_closed {
	padding: 0px 0 4px 0px;
	margin: 0 0 -4px -30px;
}

a.sidebar_chapter_closed {
	font-size: 120%;
	color: #009;
	padding: 0 0 4px 19px;
	margin: 0 0 4px -20px;
	border: none;
	background: url(../images/icon_chapter_closed.png) no-repeat 0 1px;
    text-decoration: none;
}

li.sidebar_chapter_opened {
	padding: 0px 0 4px 0px;
	margin: 0 0 -4px -30px;
}

a.sidebar_chapter_opened {
	font-size: 120%;
	color: #009;
	padding: 0 0 4px 19px;
	margin: 0 0 4px -20px;
	border: none;
	background: url(../images/icon_chapter.png) no-repeat 0 1px;
    text-decoration: none;
}

li.sidebar_section {
	padding: 0px 0px 4px 0px;
	margin: 0 0 0px -40px;
}

a.sidebar_section {
	font-size: 100%;
	color: #009;
	padding: 0 0 4px 19px;
	margin: 0 0 4px -30px;
	border: none;
	background: url(../images/icon_section.png) no-repeat 0 1px;
    text-decoration: none;
}

/* sub nav icons */

#sidebar p {
	margin-top: 4px;
	margin-bottom: 20px;
}
#sidebar img {
	vertical-align: middle;
}

/* custom ul styles */

#sidebar ul.none li {
	margin-bottom: 2px;
	padding-left: 0;
	background: none;
}
	
/* ---( footer )----------------------------------- */

#footer {
	position: relative;
	clear: both;
	margin: 0;
	padding: 0;
	font-size: 90%;
	color: #000;
	background: #ccc;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
}
#footer p {
	margin: 0;
	padding: 8px 20px;
}

/* Fixes float escaping bug in IE/Win, hides from IE Mac \*/
* html #footer p { height: 1%; }
/* End hide from IE Mac */

#footer a {
	color: #339;
}
#footer a:hover {
	color: #33f;
}

/* ---( misc. )------------------------------------------ */

#logo a, #nav a, a.noline:link, a.noline:visited, .photoBox a:link, .photoBox a:visited {
	border-style: none;
}
h3 img {
	vertical-align: middle;
}
ul.noBullet li {
	list-style-type: none;
}
.center {
	text-align: center;
}
a img {
	border: none;
}
.hide {
	display: none;
}
