
/*
 *
 *=============================================================================
 *	Menu bar, usually under the page heading
 *=============================================================================
 *
 * #mbar is floated to make it contain the floats below.
 *
 */

/* style the outer div to give it width */
#mbar {
	background-color: #333366;
	color: white;
	width: 100%;
	border: 1px solid black;
	margin: 0;
	clear: both;
	height: 26px;
}

#mbleft {
	float: left;
}

#mbright {
	float: right;
	height: auto;
}

/* Defaults for all elements in this class */
.menubar * {font-size:small; background:#333366; color:white; position:relative; z-index:100;}

/* remove all the bullets, borders and padding from the default list styling */
.menubar ul {padding:0; margin:0; list-style-type:none; height:1.5em;  float:left;
		display: table;
}

/* style the sub-level lists */
.menubar ul ul {width:9em; float:left;}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menubar ul li {
	float:left;height:1.5em;line-height:1.5em; padding: 0;
	display: table-cell;
	vertical-align: middle;
}

/* style the sub level list items */
.menubar ul ul li {display:block;width:9em;height:auto;position:relative;line-height:1em;text-align:left;
}

/* style the links for the top level */
.menubar a, .menubar a:visited {
	display:block; float:left; text-decoration:none; height:auto;  padding:2px 3px 0 3px;
}

/* style the sub level links */
.menubar ul ul a, .menubar ul ul a:visited {
	display:block; width:9em; height:100%; line-height:1em; padding:0.5em 0;
}

.menubar ul table ul a, .menubar ul table ul a:visited  { width:11em; w\idth:9em; }


/* style the table so that it takes no part in the layout - required for IE to work */
.menubar table {position:absolute; left:0; top:0; font-size:small;}
.menubar ul ul table {lef\t:-1px;}
.menubar ul ul table ul.left {margin-lef\t:2px;}

/*	style the third level background -- unnecessary, remove later 
.menubar ul ul ul a, .menubar ul ul ul a:visited {background:#333366;}
	style the fourth level background
.menubar ul ul ul ul a, .menubar ul ul ul ul a:visited {background:#333366;}
*/
/*	style the sub level 1 background */
.menubar ul :hover a.sub1 {background:#F3BC4D;color:#333366;}
/* style the sub level 2 background */
.menubar ul ul :hover a.sub2 {background:#F3BC4D;color:#333366;}

/* style the level hovers */
/* first */
.menubar a:hover {color:#333366;background:#F3BC4D;}
.menubar :hover > a {color:#333366;background:#F3BC4D;}
/* second */
.menubar ul ul a:hover{color:#333366;background:#F3BC4D;}
.menubar ul ul :hover > a {color:#333366;background:#F3BC4D;}
/* third */
.menubar ul ul ul a:hover {background:#F3BC4D;color:#333366;}
.menubar ul ul ul :hover > a {background:#F3BC4D;color:#333366;}
/* fourth */
.menubar ul ul ul ul a:hover {background:#F3BC4D;color:#333366;}


/* hide the sub levels and give them an absolute position so that they take up no room */
.menubar ul ul {visibility:hidden;position:absolute;height:0;top:2em;left:0;width:9em;}

/* position the third level flyout menu */
.menubar ul ul ul{left:10em;top:0;width:9em;}

/* position the third level flyout menu for a left flyout */
.menubar ul ul ul.left {left:-10em;}


/* make the second level visible when hover on first level list OR link */
.menubar ul li:hover ul, .menubar ul a:hover ul {visibility:visible; height:auto; padding-bottom:3em;
	background:transparent url('/images/trans.gif');}
/* keep the third level hidden when you hover on first level list OR link */
.menubar ul :hover ul ul{visibility:hidden;}
/* keep the fourth level hidden when you hover on second level list OR link */
.menubar ul :hover ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menubar ul :hover ul :hover ul{visibility:visible;}
/* make the fourth level visible when you hover over third level list OR link */
.menubar ul :hover ul :hover ul :hover ul {visibility:visible;}

/*
 *=============================================================================
 *	General class, for buttons, etc
 *=============================================================================
 *
 */
 
 
*.menu, .menu * {
	background-color: #333366;
	color: white;
}
 
input.menu { border: 3px groove black;}

.menu a, .menu a:visited {
	display:block;
	float:left;
	height:100%;
	font-size:small;
	text-decoration: none;
	padding:0 1em 0 1em;
}

.menu a:hover {color:#333366;background:#F3BC4D;}
.menu :hover > a {color:#333366;background:#F3BC4D;}


/* --- Navigation sidebar (put inside #left div) --- */


div.navbar {
	margin: 0; padding: 0;
	width: 180px;
	clear: left;
	float: left;
	text-align: left;
	border: none;
	background-color: #dddddd;
}

.nav h2 {
	width: 170px;
	text-align: right;
	font-style: italic;
	background-color: #F3BC4D;
	color: #333366;
	margin: 0;
	padding: 2px 10px 2px 0;
	border-bottom: 1px solid white;
	border-top: none;
}


.nav ul {
	white-space: nowrap;
	list-style: none;
	margin: 0;
}

.nav ul li {
	padding: 2px 8px 2px 0;
	border-bottom: 1px solid white;
	text-align: right;
}

.nav ul ul {
	list-style: none;
	margin: 0;
}

.nav ul ul a {
	font-style: italic;
	font-size: 1em;
}

.nav ul ul li {
	font-style: italic;
	font-size: 0.85em;
	border: none;
	padding: 0 12px 0 0;
}

.nav {
	background-color: #F3BC4D;
	color: #333366;
	border: 0;
	padding: 0;
	font-size: small;
	font-family: sans-serif;
	text-decoration: none;
}

a.nav:hover {
	color: #F3BC4D;
	background-color: #333366;
}

input.nav { border: 2px groove black }

TABLE.nav {
	border-collapse: collapse;
	border: 1px solid white;
}

/* Highlighted */

.nav_hi {
	background-color: #F3BC4D;
	color: #333366;
	border: 0;
	padding: 0;
	font-size: small;
	font-family: sans-serif;
	font-weight: bold;
}

A.nav_hi {	text-decoration: none }

A.nav_hi:hover {
	color: #F3BC4D;
	background-color: #333366;
}

TABLE.nav_hi {
	border-collapse: collapse;
	border: 1px solid white;
}

/* --- Navigation button bar (as distinct from menu) --- */

#navBtnBar {
	font-size: smaller;
}

#navBtnBar table {
	background-color: #F3BC4D;
}

#navBtnBar input {
	border: 2px groove black;
}

/*	--- Same thing as class ---	*/

.navBtnBar {
	font-size: smaller;
}

table.navBtnBar {
	background-color: #F3BC4D;
}

input.navBtnBar {
	background-color: #F3BC4D;
	border: 2px groove black;
}

/*
 *-----------------------------------------------------------------------------
 *	anchor link as button
 *-----------------------------------------------------------------------------
 */

a.btn, input.btn {
	border: 2px groove black;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

a.btn {	padding: 2px 4px; }

* { font-family:Helvetica,Arial,sans-serif; }
	 
 
#page 
{
	width: 1024px;
	margin: 0 auto;
    height: 100%;
    background-color: white;
}

/*
 *-----------------------------------------------------------------------------
 *	wrapper for middle part of page (includes left, center and right columns)
 *-----------------------------------------------------------------------------
 */

#middle 
{
	width: 100%;
	border: none;
    padding-bottom: 50px;
    background-color: white;
    position: relative;
}

#middle:after
{
    content: " ";
    display: block;
    clear: both;
    
}

/*
 *-----------------------------------------------------------------------------
 *	content
 *-----------------------------------------------------------------------------
 */

#content
{
    width: 800px;
    height: 100%;
    margin: 0 auto;
    padding-top: 24px;
    float: left;
}

#content h1 {
	width: 90%;
	padding: 8px 0;
	margin: 0;
	font-size: 14pt;
	text-align: left;
	font-style: italic;
}

#content h2 {
	padding: 8px 0;
	margin: 0;
	font-size: 12pt;
	text-align: left;
	font-style: italic;
}

#content h3 {
	padding: 8px 0;
	margin: 0;
	font-size: 10pt;
	text-align: left;
	font-style: italic;
}

/*
 *-----------------------------------------------------------------------------
 *	general left column
 *-----------------------------------------------------------------------------
 */

#left 
{
	width: auto;
	height: 500px;
	float: left;
	margin: 0 16px 0 0;
	background-color: #dddddd;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
}

/*
 *-----------------------------------------------------------------------------
 *	Page footer
 *-----------------------------------------------------------------------------
 */

#footer
{
	width: 100%;
    background-color: white;
    height: 50px;
    position:relative;
    bottom: 0;
	color: #666666;
	font-size: xx-small;
     text-align: center;
	line-height: 1.2em;
	height: 2em;
}

#footer * {
	color: #666666;
	font-size: xx-small;
}

/*
 *-----------------------------------------------------------------------------
 *	Miscellaneous
 *-----------------------------------------------------------------------------
 */

p.portrait {
	width: auto;
	text-align: center;
	padding: 16px;
}

p.portrait img {
	-moz-box-shadow: 0 3px 3px 3px #333333;
	-webkit-box-shadow: 0 3px 3px 3px #333333;
	box-shadow: 0 3px 3px 3px #333333;
}

ul.bullets {
	list-style: disc outside;
}

*.bigger {
	font-size: 1.1em;
}
