/*=================== STANDARD RULES ====================*/
body, ul, form, fieldset {margin:0px; padding:0px;}

body{
 background: url(../images/main-bg.jpg) repeat-x;
 font-family:Arial, Helvetica, sans-serif;
 font-size:.75em;
 }

h1,h2,h3,h4,h5,h6 {
 color:#000;
 margin-bottom:1em;
 }
h1 {font-size:1.6em;}
h2 {font-size:1.4em;}
h3 {font-size:1.2em;}
h4,h5,h6 {font-size:1.1em;}

a:link {color:#990000;}
a:visited {color:#990000;}
a:hover {color:#cc0000; text-decoration:none;}
a:active {color:#990000;}

input, textarea, select, option, button {
 font:1em arial,helvetica,sans-serif;
 }

.printonly {display:none;}
.clearfloats {clear:both;height:1px;}
/*=================== GLOBAL RULES ======================*/

#container {
	margin:0 auto;
	width:770px;
	background-image: url(../images/container-bg.jpg);
	background-position:0 177px;
	background-repeat: no-repeat;
}
.searchbox{margin:0;padding:10px 0 0 10px;}
#leftmenu{
	width:248px;
	height:310px;
	background-image: url(../images/leftmenu-bg.jpg);
	background-repeat: no-repeat;
	position: relative;
	z-index: 2;
}

#leftmenu ul{
	list-style:none;
	margin:5px 0 0 25px;
	font-family: "Comic Sans MS", Arial, Helvetica, sans-serif;
	font-weight:bold;
}
#leftmenu li{
	padding:2px 0;
}
#leftmenu li a{text-decoration:none;color:#990000;}
#leftmenu li a:hover{text-decoration:none;color:#cc0000;}
#leftmenu span.notepad img {
	border: 0px solid red;
	margin: 70px 0 0 0;
}
#nav ul li:hover, #nav ul li.hover {
    position: static;
}
#outerFooter{
	margin:0 auto;
	height:63px;
	text-align:center;
	font-size:11px;
	z-index: 1;
}

#footer{
	margin:0 auto;
	height:63px;
	text-align:center;
	font-size:11px;
}
#footer ul{
	padding:10px 0;
}
#footer li{
	display:inline;
	padding:0 10px;
}
#footer a{
	text-decoration:underline;
	color:#660000;
}
#footer a:hover{
	text-decoration:none;
	color:#cc0000;
}
#footerbar{
	padding:8px 0;
	background-color:#decead;
	color:#000000;
}


/**********************************************/
/* auto clearing method  */

#container:after
{content: "."; display: block; height: 0; clear: both; visibility: hidden; }

#container
{display: inline-block;}

/* Hides from IE-mac \*/
* html #container
{height: 1%;}

#container
{display: block;}
/* End hide from IE-mac */

#nav, #nav ul { /* all lists */
	list-style: none;
	float : left;
	width:130px;
}

#nav li { /* all list items */
	position : relative;
	float : left;
	width: 180px;
	margin-left: 0px;
}

* html #nav li { margin-left: -5px; }
#nav li ul { /* second-level lists */
	position : absolute;
	left: -999em;
	margin-left : 150px;
	margin-top : -50px;
	padding: 6px;
	background-color: #fff;
	width: 180px;
	z-index: 99;
	line-height:14px;
}
#nav li ul li { margin-left: 0; width: 185px;border-bottom:1px solid #ccc;}
#nav li ul ul { /* third-and-above-level lists */
	left: -999em;
}

#nav li a {
	display : block;
}

#nav li a:hover {

}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}
