/***** Page *****/

body {
	background: #FFFFFF;
	background-image: url('body-bg.jpg');
	background-position: top;
	background-repeat: repeat-x;
	color: #333;
	margin: 0.5em;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.85em;
}

body a:visited {
    text-decoration: none;
    border: 0;
}

.left {
    float: left;
    padding: 0;
    text-align: left;
    font-size: 1em;
    font-weight: normal;
    display: inline;
}

.right {
    display: inline;
    float: right;
    text-align: right;
    padding: 0;
    font-size: 1em;
    font-weight: normal;
}
.rightpad{
	display: inline;
	float: right;
	text-align: right;
	font-size: 1em;
	font-weight: normal;
	padding: 0;
	margin-left: 30px;
	margin-bottom: 30px;
}

/***** Wrapper *****/

#wrapper {
    background: #FCFBE9;
    border: 1px solid #BBD1E2;
    color: #000;
    margin: 0 auto;
    padding: 1em;
    width: 740px;
}

/***** Navigation *****/

#navigation {
	margin: 0 0 0 0;
	float: left;
	width: 100%;
	color: #FFFFFF;
	background-color: #8FA7BA;
	border: 1px solid #89929B;    /*background-image:url('header-bg.jpg');
    background-position:bottom right;
    background-repeat:no-repeat;*/
}
   /*
#navigation ul {
    margin: 0;
    padding: 4.8em 0 0 .3em;
    list-style: none;
}

#navigation li {
    float: left;
    white-space: nowrap;
}

#navigation li a {
    float: left;
    display: block;
    margin: 0;
    padding: 0 0 0 4px;
    text-decoration: none;
    background-image: url( 'tableftB.gif' );
    background-position: left top;
    background-repeat: no-repeat;
}

#navigation a span {
    float: left;
    display: block;
    background-image: url( 'tabrightB.gif' );
    background-position: right top;
    background-repeat: no-repeat;
    background-color: transparent;
    padding: 5px 15px 4px 6px;
    color: #9E8100;
}
*/

#navigation h1 {
	margin: 0 0 -.6em 0;
	padding: 1em 0 0 1em;
	font-size: 1.5em;
	letter-spacing: 0.1em;
	color: #ffffff;
	background-color:#8FA7BA;
}

#navigation h2 {
	margin: 0 0 0 0;
	padding: 1em 0 0 1.75em;
	font-size: .9em;
	font-weight: 300;
	letter-spacing: 0.1em;
	color: #000000;
	background-color:#8FA7BA;
}



/***** Content *****/

#content {
	background: #fff;
	float: left;
	padding: 15px 10px;
	width: 720px;
	color: #000;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #8FA7BA;
	border-left-color: #8FA7BA;
}

#content h1 {
	color: #8FA7BA;
	font-size: 1.3em;
	margin: 0;
	padding: 10px 5px 0 0;
	text-align: left;
	background: inherit;
}

#content h2 {
    color: #9E8100;
    font-size: 1em;
    margin: 0;
    padding: 0 0 0 10px;
    font-weight: bold;
    background: inherit;
}

#content p {
    margin: 10px 5px;
    padding-left: 10px;
    padding-right: 10px;
    background: inherit;
    color: inherit;
}

#content a {
    text-decoration: underline;
    color: #547699;
    background-color: #FFFFFF;
}

#content a:hover {
    text-decoration: underline;
}

#content ul{
    list-style-type:square;
}

#content ul li{
    padding-bottom:.9em;
}
/***** Side Content *****/

#sidecontent {
    margin: 0;
    padding: 15px 0 0 0;
    float: right;
    width: 164px;
    color: #000000;
    background-color: #FCFBE9;
}

#sidecontent ul {
    color: #333;
    list-style: none;
    padding: 0;
    margin: 0;
    background: inherit;
}

#sidecontent li {
    padding: 0.1ex 0;
}

#sidecontent li a {
    color: #000;
    text-decoration: none;
    font-size: 1em;
    display: block;
    padding: 8px 20px;
    background: inherit;
}

#sidecontent li a:hover {
    background: #9E8100;
    color: #FFFFFF;
}

#sidecontent h4 {
    font-size: 1em;
    font-weight: bold;
    margin: 0;
    padding: 10px 0 2px 15px;
}

/***** Footer *****/

#footer {
	background: #FFFFFF;
	clear: both;
	color: #547699;
	font-size: .9em;
	height: 1.8em;
	line-height: 1.8em;
	padding: 0;
	text-align: center;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: #8FA7BA;
	border-bottom-color: #8FA7BA;
	border-left-color: #8FA7BA;
}

#footer a {
    background: inherit;
    color: #547699;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

#footer .left {
    margin: 0 0 0 8px;

}

#footer .right {

    margin: 0 8px 0 0;
}

.menu {
	width:100%;
	height:32px;
	font-size:0.85em;
	position:relative;
	z-index:100;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: none;
	border-top-color: #000000;
	border-right-color: #000;
	border-bottom-color: #000000;
}
/* hack to correct IE5.5 faulty box model */
* html .menu {width:701px; w\idth:740px;}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {padding:0;margin:0;list-style-type:none;}
.menu ul ul {width:80px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {float:left;width:80px;position:relative;}
/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	font-size:11px;
	text-decoration:none;
	color:#fff;
	width:80px;
	height:30px;
	padding-left:10px;
	line-height:29px;
	background-color: #8FA7BA;
	border-top-width: 1px;
	border-right-width: 0;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-top-color: #000;
	border-right-color: #000;
	border-bottom-color: #000;
	border-left-color: #000;
	border-bottom-style: solid;
	border-top-style: solid;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:80px; w\idth:80px;}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	background-color: #BCD1E0;
	background-repeat: no-repeat;
	background-position: right bottom;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #000;
}
/* style the second level hover */
.menu ul ul a.drop:hover{
	background-color: #8FA7BA;
	background-repeat: no-repeat;
	background-position: right bottom;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #000;
}
.menu ul ul :hover > a.drop {
	background-color: #C9DCEB;
	background-repeat: no-repeat;
	background-position: right bottom;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	background-color: #C9DEEE;
}
/* style the third level hover */
.menu ul ul ul a:hover {
	background-color: #BED2E2;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {visibility:hidden;position:absolute;height:0;top:31px;left:0; width:80px;border-top:1px solid #000;}
/* another hack for IE5.5 */
* html .menu ul ul {top:30px;t\op:31px;}

/* position the third level flyout menu */
.menu ul ul ul{left:80px; top:-1px; width:80px;}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-80px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0; border-collapse:collapse;;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {background:#BDD1E1; color:#000; height:auto; line-height:1em; padding:5px 10px; width:80px;border-width:0 1px 1px 1px;}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:80px;w\idth:80px;}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
	color:#fff;
	background-color: #BDD1E1;
}
#content p {
	text-indent: 20px;
	line-height: 1.2em;
	padding-top: 5px;
	padding-bottom: 5px;
}
.menu :hover > a, .menu ul ul :hover > a {
	color:#fff;
	background-color: #9BB6CB;
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{visibility:visible; }
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ visibility:visible;}
