/* header stuff */

#header ul.nav a
	{
	text-align: left;
	font: 10px Arial;
    height: 19px;
	display: block;
	white-space:nowrap;
	margin:0;
	padding-top: 11px;
	padding-left: 15px;
	padding-right: 15px;
	width: auto;
	text-transform: uppercase;
	
	}


#header ul.nav2 a
	{
	text-align: left;
	font: 10px Arial;
    height: 21px;
	display: block;
	white-space:nowrap;
	margin:0;
	padding-top: 9px;
	padding-left: 15px;
	padding-right: 15px;
	width: auto;
	text-transform: uppercase;
	
	}

#header ul.nav2 a:hover						/* menu on mouse-over  */
	{
	color: #d0e9f9;
	background-color: #0c3656 /*global*/;
	text-decoration:none;
	
	}	

#header ul.home li {
background: transparent;
}

#header ul.home a img
	{
	text-align: left;
	font: 11px Arial;
	margin:0;
	padding: 0;
	border: 0;
	width: auto;
	}

#header ul.parent a
	{
	text-align: left;
	font: 11px Arial;
    height: 19px;
	display: block;
	white-space:nowrap;
	padding-top: 6px;
	padding-left: 15px;
	padding-right: 15px;
	
	}

#header ul.navsp {
	color: #fff;
	background: #666666;
	text-decoration:none;
	padding-top: 8px;
	height: 22px;
	font: 10px Arial;
	}



#header ul.navsp2 {
	color: #fff;
	background: #333333;
	text-decoration:none;
	padding-top: 8px;
	padding-bottom: 0px;
	padding-left: 5px;
	padding-right: 5px;
	height: 22px;
	font: 10px Arial;
	}


#header ul.navcart {
	color: #fff;
	background: #333333;
	text-decoration:none;
	padding-top: 8px;
	height: 22px;
	font: 10px Arial;
	}

#header ul.navcart input {
	background: #333333;
	cursor: pointer;
}
	
#header ul.nav a:link, #header ul.nav a:visited, #header ul.nav a:active	/* menu at rest */
	{
	color: #fff;
	background: #666666;
	text-decoration:none;
	
	}

#header ul.nav2 a:link, #header ul.nav2 a:visited, #header ul.nav2 a:active	/* menu at rest */
	{
	color: #fff;
	background: #4c4c4c;
	text-decoration:none;
	
	}

#header ul.home a img	/* menu at rest */
	{
	background: transparent;
	}
	
#header ul.nav a:hover						/* menu on mouse-over  */
	{
	color: #d0e9f9;
	background-color: #666666;
	text-decoration:none;
	
	}	

#header ul.nav2 a:hover						/* menu on mouse-over  */
	{
	color: #d0e9f9;
	background-color: #4c4c4c;
	text-decoration:none;
	
	}	
	
#header a.top_parent, #header a.top_parent:hover  /* attaches down-arrow to all top-parents */
	{
	background-image: url(navdown_white.gif);
	background-position: right center;
	background-repeat: no-repeat;
	
	}
	
#header a.parent, #header a.parent:hover 	/* attaches side-arrow to all parents */
	{
	background-image: url(nav_white.gif);
	background-position: right center;
	background-repeat: no-repeat;
	
	}

#header ul
	{
	list-style:none;
	margin:0;
	padding:0;
	float:left;
	z-index: 999;
	
	/* width of all menu boxes */
	/* NOTE: For adjustable menu boxes you can comment out the above width rule.
	However, you will have to add padding in the "#menh a" rule so that the menu boxes
	will have space on either side of the text -- try it */
	}

#header ul.parent
	{
	list-style:none;
	margin:0;
	padding:0;
	float:left;
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 0;
	padding-bottom: 0;
	
	/* width of all menu boxes */
	/* NOTE: For adjustable menu boxes you can comment out the above width rule.
	However, you will have to add padding in the "#menh a" rule so that the menu boxes
	will have space on either side of the text -- try it */
	}

#header li
	{
	position:relative;
	min-height: 1px;		/* Sophie Dennis contribution for IE7 */
	vertical-align: bottom;		/* Sophie Dennis contribution for IE7 */
	}

#header ul ul
	{
	position:absolute;
	z-index:500;
	top:auto;
	display:none;
	margin:0em 0 0 -1em;
	
	}

#header ul ul.parent
	{
	position:absolute;
	z-index:500;
	top:auto;
	display:none;
	margin:0em 0 0 -1em;
	
	}

#header ul ul ul
	{
	top:0;
	left:100%;
	}

div#header li:hover
	{
	cursor:pointer;
	z-index:100;
	}

div#header li:hover ul ul,
div#header li li:hover ul ul,
div#header li li li:hover ul ul,
div#header li li li li:hover ul ul
{display:none;}

div#header li:hover ul,
div#header li li:hover ul,
div#header li li li:hover ul,
div#header li li li li:hover ul
{display:block;}



/* main nav */

ul#topnav {
	margin-left: 5px; 
	margin-right: 0px; 
	margin-top: 0px; 
	margin-bottom: 0px; 
	padding: 0;
	float:left;
	width: 100%;
	list-style: none;
	font-size: 1.1em;
}



ul#topnav li {
	float: left;
	margin: 0; padding: 0;
	position: relative;
}
ul#topnav li a {
	float: left; 
	text-indent: -9999px;
	height: 18px;
	font: 11px Arial;
	font-weight: bold;
	text-decoration: none;
	color: white;
	padding-top: 4px;
	padding-left: 15px;
	background: #0c3656 /*global*/;
	text-indent: 0;
	padding-right: 15px;
}
ul#topnav li:hover a, ul#topnav li a:hover { background-position: left bottom; }


ul#topnav li .sub {
	position: absolute;	
	top: 22px; left: 0;
	background: #0c3656 /*global*/;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	padding: 20px 20px 20px;
	float: left;
	/*--Bottom right rounded corner--*/
	-moz-border-radius-bottomright: 5px;
	-khtml-border-radius-bottomright: 5px;
	-webkit-border-bottom-right-radius: 5px;
	/*--Bottom left rounded corner--*/
	-moz-border-radius-bottomleft: 5px;
	-khtml-border-radius-bottomleft: 5px;
	-webkit-border-bottom-left-radius: 5px;
	display: none;
}
ul#topnav li .row {clear: both; float: left; width: 100%; margin-bottom: 10px;}
ul#topnav li .sub ul{
	list-style: none;
	margin: 0; 
	padding: 0;
	width: 150px;
	float: left;
}
ul#topnav .sub ul li {
	width: 100%;
	color: #fff;
}
ul#topnav .sub ul li h2 {
	padding: 0;  margin: 0;
	font-size: 11px;
	font-weight: normal;
	color: #a2d4ec;
}
ul#topnav .sub ul li h2 a {
	padding: 5px 0;
	background-image: none;
	color: #a2d4ec;
}
ul#topnav .sub ul li a {
	float: none; 
	text-indent: 0; /*--Reset text indent--*/
	height: auto;
	/* background: url(../images/navarrow.png) no-repeat 5px 12px; */
	padding: 0px 5px 2px 0px;
	display: block;
	text-decoration: none;
	color: #fff;
}

.px10 {
font: 10px Arial;
}

.narrow {
line-height: 0;
margin-top: 0;
}


ul#topnav .sub ul li a:hover {color: #ddd; background-position: 5px 12px ;}

ul#topnav li .search { float: right; }



/* footer nav */



#footpanel {
	position: fixed;
	top: 0; left: 0;
	z-index: 9999; /*--Keeps the panel on top of all other elements--*/
	background: #000;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	width: 100%;
	margin: 0px auto;
	padding-left: 1px;
	padding-right: 0;
	padding-top: 0;
	padding-bottom: 0;
	font: 10px Arial;
}

*html #footpanel { /*--IE6 Hack - Fixed Positioning to the Bottom--*/
	margin-top: -1px; /*--prevents IE6 from having an infinity scroll bar - due to 1px border on #footpanel--*/
	position: absolute;
	top:expression(eval(document.compatMode &&document.compatMode=='CSS1Compat') ?documentElement.scrollTop+(documentElement.clientHeight-this.clientHeight) : document.body.scrollTop +(document.body.clientHeight-this.clientHeight));
}

#footpanel ul {
	padding: 0; margin: 0;
	float: left;
	width: 952px;
	list-style: none;
	border-bottom: 0px solid #fff; /*--Gives the bevel feel on the panel--*/
	border-right: 0px solid #fff; /*--Gives the bevel feel on the panel--*/
	font-size: 1.1em;
}
#footpanel ul li{
	padding: 0; margin: 0;
	float: left;
	position: relative;
}
#footpanel ul li a{
	padding-top: 8px;
padding-right: 5px;
padding-bottom: 2px;
padding-left: 5px;
	float: left;
	text-indent: -9999px;
	height: 16px; width: 16px;
	text-decoration: none;
	color: #fff;
	position: relative;
}
html #footpanel ul li a:hover{	background-color: #0c3656 /*global*/; }

html #footpanel ul li a.active { /*--Active state when subpanel is open--*/
	background-color: #444;
	height: 17px;
	margin-top: -2px; /*--Push it up 2px to attach the active button to subpanel--*/
	border: 0px solid #555;
	border-top: none;
	z-index: 200; /*--Keeps the active area on top of the subpanel--*/
	position: relative;
}


#footpanel a.home{	
	background: url(../images/footericons/home.png) no-repeat 5px center;
	width: 22px;
	padding-left: 2px;
	padding-right: 2px;
	border-left: 0px solid #bbb;
	border-right: 0px solid #bbb;
	text-indent: 0; /*--Reset text indent--*/
}

#footpanel a.stories{	background: url(../images/footericons/stories.png) no-repeat 65px center; 
	width: 70px;
	padding-left: 10px;
	padding-right: 10px;
	border-left: 1px solid #bbb;
	border-right: 1px solid #bbb;
	text-indent: 0; /*--Reset text indent--*/
}

#footpanel a.photos{	background: url(../images/footericons/photos.png) no-repeat 65px center; 
	width: 70px;
	padding-left: 10px;
	padding-right: 10px;
	border-right: 1px solid #bbb;
	text-indent: 0; /*--Reset text indent--*/
}

#footpanel a.clinics{	background: url(../images/footericons/clinics.png) no-repeat 65px center; 
	width: 70px;
	padding-left: 10px;
	padding-right: 10px;
	border-right: 1px solid #bbb;
	text-indent: 0; /*--Reset text indent--*/
}

#footpanel a.about{	background: url(../images/footericons/about.png) no-repeat 65px center; 
	width: 70px;
	padding-left: 10px;
	padding-right: 10px;
	border-right: 1px solid #bbb;
	text-indent: 0; /*--Reset text indent--*/
}

#footpanel a.support{	background: url(../images/footericons/support.png) no-repeat 65px center; 
	width: 70px;
	padding-left: 10px;
	padding-right: 10px;
	border-right: 1px solid #bbb;
	text-indent: 0; /*--Reset text indent--*/
}
#footpanel a.contact{	background: url(../images/footericons/contact.png) no-repeat 65px center; 
	width: 70px;
	padding-left: 10px;
	padding-right: 10px;
	border-right: 1px solid #bbb;
	text-indent: 0; /*--Reset text indent--*/
}
#footpanel a.cart{	background: url(../images/footericons/cart.png) no-repeat 65px center; 
	width: 70px;
	padding-left: 10px;
	padding-right: 10px;
	border-right: 1px solid #bbb;
	text-indent: 0; /*--Reset text indent--*/
}
a.alerts{	background:  url(newspaper.png) no-repeat center center; 
	width: 126px;
	border-right: 0px solid #bbb;
	height: 16px;
	padding-left: 40px;
	margin-right: 1px;	 }

a.alerts:hover {	
	background: #000 !important;
}

#footpanel li#alertpanel {	float: right; }  /*--Right align the chat and alert panels--*/

#footpanel li#chatpanel {	float: right; }

#footpanel a small {  /*--panel tool tip styles--*/
	text-align: center;
	width: 70px;
	background: url(pop_arrow.gif) no-repeat center bottom;
	padding: 5px 5px 11px;
	display: none; /*--Hide by default--*/
	color: #fff;
	font-size: 1em;
	text-indent: 0;
}
#footpanel a:hover small{
	display: block; /*--Show on hover--*/
	position: absolute;
	top: -35px; /*--Position tooltip 35px above the list item--*/
	left: 50%; 
	margin-left: -40px; /*--Center the tooltip--*/
	z-index: 9999;
}





#footpanel ul li div a { /*--Reset link style for subpanel links--*/
	text-indent: 0;
	width: auto;
	height: auto;
	padding: 0;
	float: none;
	color: #00629a;
	position: static;
}
#footpanel ul li div a:hover {	text-decoration: underline; } /*--Reset link style for subpanel links--*/

#footpanel .subpanel {
	position: absolute;
	left: 0; bottom: 27px;
	display: none;	/*--Hide by default--*/
	width: 198px;
	border: 1px solid #555;
	background: #fff;
	overflow: hidden;
	padding-bottom: 2px;
}
#footpanel h3 {
	background: #526ea6;
	padding: 5px 10px;
	color: #fff;
	font-size: 1.1em;
	cursor: pointer;
}
#footpanel h3 span { 
	font-size: 1.5em;
	float: right;
	line-height: 0.6em;	
	font-weight: normal;
}
#footpanel .subpanel ul{
	padding: 0; margin: 0;
	background: #fff;
	width: 100%;
	overflow: auto;
}
#footpanel .subpanel li{ 
	float: none; /*--Reset float--*/
	display: block;
	padding: 0; margin: 0;
	overflow: hidden;
	clear: both;
	background: #fff;
	position: static;  /*--Reset relative positioning--*/
	font-size: 0.9em;
}

#chatpanel .subpanel li { background: url(dash.gif) repeat-x left center; } 
#chatpanel .subpanel li span {
	padding: 5px;
	background: #fff;
	color: #777;
	float: left;
}
#chatpanel .subpanel li a img {
	float: left;
	margin: 0 5px;
}
#chatpanel .subpanel li {
	padding: 3px 0;	margin: 0;
	line-height: 22px;
	height: 22px;
	background: #fff;
	display: block;
}
#chatpanel .subpanel li a:hover {
	background: #3b5998;
	color: #fff;
	text-decoration: none;
}


#alertpanel .subpanel { right: 0; left: auto; /*--Reset left positioning and make it right positioned--*/ }
#alertpanel .subpanel li {
	border-top: 1px solid #f0f0f0;
	display: block;
}
#alertpanel .subpanel li p {padding: 5px 10px;}
#alertpanel .subpanel li a.delete{
	background: url(delete_x.gif) no-repeat;
	float: right;
	width: 13px; height: 14px;
	margin: 5px;
	text-indent: -9999px;
	visibility: hidden; /*--Hides by default but still takes up space (not completely gone like display:none;)--*/
}
#alertpanel .subpanel li a.delete:hover { background-position: left bottom; }
#footpanel #alertpanel li.view {
	text-align: right;
	padding: 5px 10px 5px 0;
}

/* SEARCH */

#search {
position: absolute;
top: 0px;
right: 10px;
}

#search input { 
border: 1px solid black; 
float: left;
padding: 1px; 
margin-top: 3px; 
height: 12px; 
font: 12px Arial;
 }


#submitbutton {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  padding: 0;
  border: 0;
  background: transparent url(../images/footericons/search.png) no-repeat center top;
  cursor: pointer; /* hand-shaped cursor */
  cursor: hand; /* for IE 5.x */
}
