/* Stans Superstore Styleheet */

/* global white space reset */
* {
	margin: 0px;
	padding: 0px;
}

/* layout divs */
body {
	text-align:center;
	font: normal 0.8em/1.4em Verdana, Arial, Helvetica, sans-serif;
	background: #FFFFFF url(images/bg-gradient.jpg) repeat-x;
	padding: 20px 0px 20px 0px;
}

#container {
	position: relative;
	text-align: left;
	margin: 0px auto;
	width: 771px;
	background: #FFFFFF url(images/content-background2.gif) repeat-y;
}
#inner-container {
	border: 1px solid #000099;
	height: 100%;
}
#header {
	position: relative;
}
#header img {
	border: 0px;
}
#top {
	clear: both;
	position: relative;
	width: 100%;
	height: 12px;
	background: #000099;
	border-bottom: 4px solid #FF0000; 
}
#content {
	position: relative;
	float: left;
	width: 500px;
	padding: 20px;
}
#content img {
	border: 1px solid #000099;
}
#sidebar {
	position: relative;
	float: right;
	width: 180px;
	padding: 20px;
}
#sidebar p {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	color: #333333;
	text-align: center;
	margin-bottom: 20px;
	}
#sidebar img {
	border: 0px;
}
#bottom {
	clear: both;
	position: relative;
	width: 100%;
	height: 12px;
	background: #000099;
	border-top: 4px solid #FF0000; 
}
#footer {
	position: relative;
	clear: both;
	width: 100%;
	height: 30px;
	background:#CCCCCC url(images/silver-gradient2.jpg) repeat-x; 
	color: #000000;
	border-top: 1px solid #FF0000; 
}
#footer p {
	font-size: 0.8em;
	color: #333333;
	padding: 0px 10px 0px 10px;
}
#footer span {
	float: right;
}

/* classes */

.left {float: left; margin: 4px 20px 4px 0px;}
.right {float: right; margin: 4px 0px 4px 20px;} 
.small {font-size: 86%;}
.red {color: #000099;}

/* typography */

h1 {
	font-size: 1.4em;
	margin-bottom: 20px;
	padding: 0px 0px 5px 25px;
	color: #FF0000;
	border-bottom: 1px solid #000099;
	background: url('images/arrow.gif') 0px 1px no-repeat;
}
h2 {
	font-size: 1.4em;
	margin: 20px 0px 20px 0px;
	padding: 0px 0px 5px 0px;
	color: #FF0000;
	border-bottom: 1px solid #000099;
}
h3 {
	font-size: 1.2em;
	padding: 2px 0 2px 0;
	margin-bottom: 10px;
	color: #FF0000;
	background: #E8E8E8;
}
p {
	margin: 5px 0px 10px 0px;
}
strong {
	color: #333333;
}
em {
	color: #333333;
}
u {
	text-decoration: none;
	border-bottom: 1px dashed #333333;
}

/* navigation */

a:link {color: #FF0000;}
a:visited {color: #FF0000;}
a:hover {color: #000099;}

#footer a:link {color: #000099; text-decoration: none;}
#footer a:visited {color: #000099; text-decoration: none;}
#footer a:hover {color: #FF0000; text-decoration: underline;}

/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.menu {
width:100%; 
font-size:0.9em;
position:relative;
z-index:100;
border-left: 1px solid #999999;
border-top: 1px solid #999999;

}
/* 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:128px;
}
/* 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:128px;
position:relative;
}
/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
font-size:1em;
text-decoration:none; 
color:#000099; 
width:117px; 
height:30px; 
border:1px solid #999999; 
border-width:0px 1px 1px 0px; 
background:#F5F5F5 url('images/silver-gradient2.jpg') repeat-x; 
padding-left:10px; 
line-height:29px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:128px;
w\idth:117px;
}

/* 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:128px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:30px;
t\op:31px;
}



/* 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;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
background:#F5F5F5 url('images/silver-gradient2.jpg') repeat-x; 
color:#000099; 
height:20px; 
line-height:1.4em; 
border-left:1px solid #999999; 
padding:5px 10px; 
width:105px
/* yet another hack for IE5.5 */
}
* html .menu ul ul a{
width:126px;
w\idth:105px;
}


/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
color:#FFFFFF; 
background:#000099;
}
.menu :hover > a, .menu ul ul :hover > a {
color:#FFFFFF;
background:#000099;
}

/* 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;
}
