/* Common Styles */

html, body {
	margin:0;
	padding:0;
	background:#E4E4E4;
	font:13px sans-serif;
	text-align: center;
}

img {
	border: 0;
}

#push {
	/* This guy pushes the footer down by 80px */
	height: 65px;
}

/* Link Decorators */
a.decorated {
	background-position:right center;
	background-repeat:no-repeat;
	margin:-2px 0;
	padding:2px 22px 2px 0;
}
a[href^="mailto:"].decorated { 
	background-image:url(../img/icons/email.png); 
}
a[href$=".pdf"].decorated { 
	background-image:url(../img/icons/pdf.png); 
}
a[href$=".doc"].decorated, a[href$=".docx"].decorated { 
	background-image:url(../img/icons/doc.png); 
}
a[href$=".xls"].decorated, a[href$=".xlsx"].decorated { 
	background-image:url(../img/icons/xls.png); 
}
a[href$=".rss"].decorated { 
	background-image:url(../img/icons/feed.png); 
}
a.force-rss {
	background-position:right center;
	background-repeat:no-repeat;
	margin:-2px 0;
	padding:2px 22px 2px 0;
	background-image:url(../img/icons/feed.png);
}
a.decorated-external {
	background-position:right center;
	background-repeat:no-repeat;
	margin:-2px 0;
	padding:2px 15px 2px 0;
	background-image:url(../img/icons/external.png);
}

/* Decorated Linkspan */
.decorated-links a {
	background-position:right center;
	background-repeat:no-repeat;
	margin:-2px 0;
	padding:2px 22px 2px 0;
}
.decorated-links a[href^="mailto:"] { 
	background-image:url(../img/icons/email.png); 
}
.decorated-links a[href$=".pdf"] { 
	background-image:url(../img/icons/pdf.png); 
}
.decorated-links a[href$=".doc"], a[href$=".docx"] { 
	background-image:url(../img/icons/doc.png); 
}
.decorated-links a[href$=".xls"], a[href$=".xlsx"] { 
	background-image:url(../img/icons/xls.png); 
}
.decorated-links a[href$=".rss"] { 
	background-image:url(../img/icons/feed.png); 
}

/* Blockquote */
blockquote {
	border-bottom:1px solid #AAA;
	border-top:1px solid #AAA;
	color:#444;
	margin:1em 0;
	padding: 0.5em 1.5em;
	font-size: 1.3em;
	line-height: 1.2em;
}

/* Article-Summary (much like blockquote) */

.article-summary {
	border-bottom:1px solid #AAA;
	border-top:1px solid #AAA;
	color:#444;
	margin:1em 0;
	padding: 0.5em 1.5em;
	font-size: 1em;
	line-height: 1.4em;
}

/* Special Paragraph Styles */
.error, .notice, .success, .graybox {
	border:2px solid #DDDDDD;
	margin-bottom:1.6em;
	padding:0.8em;
}
.error {
	background:#FBE3E4 none 0 0;
	border-color:#FBC2C4;
	color:#8A1F11;
}
.notice {
	background:#FFF6BF none 0 0;
	border-color:#FFD324;
	color:#514721;
}
.success {
	background:#E6EFC2 none 0 0;
	border-color:#C6D880;
	color:#264409;
}
.graybox {
	background:#EEE none 0 0;
	border-color:#BBB;
	color:#333;
}
.tableheader {
	background-color: #D0DCE0;
	color: #333;
	font-weight: bold;
	font-size: 13px;	
}

.error a { color:#8A1F11; }
.error a:hover { color:#8A1F11; }
.success a { color:#264409; }
.success a:hover { color:#264409; }
.notice a { color:#514721; }
.notice a:hover { color:#514721; }

.errorlist {
	color: #8A1F11;
	margin: 5px 0 5px 0;
	padding: 0 0 0 2em;
}

.clear {
	clear: both;
	float: none;
}


/* ---- Rounded Corners ---------------------------------*/
.rounded-div {
	text-align: left;
	clear:both;
	width:780px;
	margin:0 auto;
	padding:0;
	/* slide the entire image up by 120px 
	position:relative;
	top:-120px;
	margin-bottom:-120px;
	background-color: #fff; */
	/* Rounded corners for CSS3 browsers like Firefox, Safari, and Opera */
	/* IE needs a different set of special tricks to get rounded corners */
	-webkit-border-radius: 20px;
	-khtml-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}

/* ---- Content Area ------------------------------------- */

#titlebar {
	color: #DDD;
	font: 25px Helvetica, Arial, sans-serif;
	text-align:left;
	background: url(../img/graybg.png) no-repeat scroll right #444;
	margin: 0;
	padding: 0;
	width: 100%;
	overflow: hidden;
}
#titlebar p {
	margin: 20px;
}

#graybg {
	background-color: #444;
	height: 250px;
	width: 100%;
	clear: both;
}
#rightside {
	float: right;
	width: 700px;
	top: 0;
}
#container {
	background-color: #FFF;
	margin: -250px auto 0 auto;
	clear: both;
	padding: 0;
	width: 901px;
	border-left: 1px solid #AAA;
	border-right: 1px solid #AAA;
	border-bottom: 1px solid #AAA;
	overflow: hidden;
	background: url("../img/1px.png");
	background-repeat: repeat-y;
	background-position: 200px;
	background-color: #FFF;
}

#sidebar {
	float:left;
	width: 200px;
	position: relative;
	left: 0;
	top: 0;
}
#sidebar #sidebar-pic {
	background-color: #333;
	height:250px;
	width: 100%;
}
#sidebar #sidebar-head {
	background-color: #CCC;
	padding:10px;
	background: url("../img/navbar-grad.png") repeat-x scroll 0 0 #7297B2;
	color: #FFF;
	font-weight: bold;
	text-align: left;
	width: 180px;
}
#sidebar #sidebar-toc {
        font-size: 12px;
	text-align:left;
	width: 200px;
}
#sidebar #sidebar-toc a {
	color: #20557B;
}
#sidebar #sidebar-toc ul {
	margin: 15px 15px 30px 15px;
	padding: 0 0 0 15px;
}
#sidebar #sidebar-toc li {
	margin-bottom: 1em;
}
#content {
	line-height: 1.4em;
	text-align: left;
	margin: 0;
	padding: 0;
	width: 100%;
}
#content-inner {
	margin: 20px 20px 40px 20px;
}
#content h3 {
	font-size: 20px;
	color: #20557B;
	border-top: 1px solid #CCC;
	padding-top: 10px;
	line-height: 1.2em;
}
#content h3.first {
	margin-top: 0;
	border:0;
	padding-top: 0;
}

#content h2 {
	font-size: 16px;
	font-weight: normal;
	color: #666;
	border-top: 1px solid #CCC;
	padding-top: 10px;
	line-height: 1.2em;
}
#content h2.first {
	margin-top: 0;
	border:0;
	padding-top: 0;
}
#content h2.subtitle {
	margin-top: -12px;
	margin-bottom: 20px;
	border:0;
	padding-top: 0;
}

#content a {
 	color: #20557B;
}
#content a:hover {
	color: #C35617;
}
#content p {
	margin: 0 0 1.5em 0;
}
#content p.nospace {
	margin: 0;
}
#content p.leftblock {
	border-bottom:1px solid #AAA;
	border-top:1px solid #AAA;
	color:#444;
	margin:1em 0;
	padding: 0.5em 1.5em;
	font-size: 1.3em;
	line-height: 1.2em;
	width: 380px;
}
#content .indented {
	margin-left: 1em;
}
#content .toc {
	float: right;
	background-color:#EEE;
	border:4px solid #CCC;
	margin: 0px 0px 20px 20px;
	padding:15px;
	width:175px;
	/* rounded corners for CSS3 browsers */
	-webkit-border-radius: 10px;
	-khtml-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
#content .toc ul {
	padding-left: 2em;
	margin-left: 0;
	margin-bottom: 0.5em;
}
#content .toc li {
	margin-bottom: 0.5em;
}
#content .toc strong {
	font-size: 14px;
}
#content .right-floater-abs {
	float: right;
	clear: right;
	text-align: center;
	position: absolute;
	/* height 0 to prevent pushing divs down */
	height: 0;
	overflow: visible;
	/* put it 20px from the right too */ 
	right:20px;
}
#content .right-floater-relative {
	float: right;
	clear: right;
	text-align: center;
	position: relative;
	/* height 0 to prevent pushing divs down */
	height: 0;
	overflow: visible;
}
#content ul.special {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}
#content ul.special li {
	padding-bottom: 1em;
}
#content ul.special li.last {
	padding-bottom: 0;
}
#content form {
	width: 65%;
}

/* ---- Header styles ------------------------------------ */
#header {
	clear:both;
	width:100%;
	margin:0;
	padding:0;
	text-align:center;
	overflow: hidden;
	background:#20557B;
	border-top:5px solid #333;
	border-bottom:4px solid #FFCD7E;
}
#header #innerheader {
	padding: 0;
	margin: 0 auto;
	width: 901px;
	text-align: left;
	border-left: 1px solid #7999b0;
	border-right: 1px solid #7999b0;
}
#header #innerheader #searchbox {
	float:right;
	position: relative;
	top: 25px;
	right: 20px;
}
#header #innerheader #searchbox input {
	float:left;
	border:0;
	margin:0;
	padding:0;
}
#header #innerheader #searchbox .search {
	font:11px Verdana, Arial, Helvetica, sans-serif;
	padding: 3px 5px 3px 10px;
	height: 14px;
    background: url("../img/searchcap.png") no-repeat scroll 0 0 #FFF;
}
/* ---- Link bar ------------------------------------ */

#navbar {
	clear:both;
	margin:0;
	padding:0;
	width: 100%;
	height: 38px;
	text-align:center;
	background: url("../img/navbar-grad.png") repeat-x scroll 0 0 #7297B2;
}
#navbar #innernavbar {
	width: 901px;
	padding: 0;
	margin: 0 auto;
    height: 38px;
	position: relative;
	border-left: 1px solid #9db6c9;
	border-right: 1px solid #9db6c9;
	z-index: 500;
}
#navbar #innernavbar ul  {
	/* Centering is done by pushing the UL 50% relative to the enclosing div */
	/* Then, pushing the LI's 50% right relative to the UL */
	clear: left;
	float: left;
	position: relative;
	left: 50%;
	list-style:none;
	margin:0;
	padding:0;
	z-index: 500;
}
#navbar #innernavbar ul li {
	display: block;
	position:relative;
	float:left;
	right:50%;
	width: 179px;
	min-width: 179px;
	max-width: 179px;
	margin:0;
	border-right: 1px solid #aac1d1;
	padding:11px 0 11px 0;
	z-index: 500;
}
#navbar #innernavbar ul li.hover,
#navbar #innernavbar ul li:hover {
    position: relative;
    z-index: 500;
    cursor: default;
}
#navbar #innernavbar ul li.last {
	border-right: 0;
	z-index: 500;
}
#navbar #innernavbar ul li a {
	margin:0;
	padding:4px;
	color:#fff;
	text-decoration:none;
	font-weight: bold;
    text-shadow:1px 1px 1px #333;
    z-index: 500;
}
#navbar #innernavbar ul ul {
    visibility: hidden;
    position: absolute;
    margin: 0;
    padding: 0;
    float: left;
    top: 100%;
    left: -1px;
    z-index: 500;
    background-color: #5e5e5e;
    text-align: left;
    border-top: 3px solid #999;
    /* neato shadow thing */
    -moz-box-shadow: 3px 3px 4px #333;
    -webkit-box-shadow: 3px 3px 4px #333;
    box-shadow: 3px 3px 4px #333;

}
#navbar #innernavbar ul ul li {
    position: relative;
    margin: 0;
    padding: 7px 10px 7px 10px;
    left: 0;
    border: 0;
    z-index: 500;
}
#navbar #innernavbar ul ul li.hover,
#navbar #innernavbar ul ul li:hover {
    background-color: #7297B2;
    border-left: 5px solid #ccc;
    padding: 7px 10px 7px 5px;
    z-index: 500;
}
#navbar #innernavbar ul ul li a {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: normal;
    font: 11px Verdana, Helvetica, Arial, sans-serif;
    line-height: 1.2em;
    z-index: 500;
}
#navbar #innernavbar ul li:hover > ul {
    visibility: visible;
    z-index: 500;
}

/* ---- Footer styles ------------------------------------ */
#footer {
	font: 12px Helvetica, Arial, sans-serif;
	color: #666;
	width:901px;
	margin: 0 auto;
	clear: both;
	line-height: 18px;
}

#footer a {
	color: #20557B;
}

#footer #footer-left {
	display:inline;
	width:420px;
	float:left;
	text-align:left;
	padding: 5px 5px 5px 15px;
}

#footer #footer-right {
	display:inline;
	width:420px;
	float:right;
	text-align:right;
	padding: 5px 15px 5px 5px;
}

#footer #spacer {
	clear: both;
	height:50px;
}

