@charset "utf-8";

/* CSS Document */

/* ----------------- First Main navbar ----------------- */

/* Overall main navigation styles */
#navbar1, #navbar1 ul {
	float: left;
	list-style: none;
	line-height: 1em;
	color: #999;
	background-color: transparent; /* background of main text */
	text-transform: uppercase;
	font-weight: normal;
	font-size:95%;
	padding: 0;
	margin-left:40px;  /* pads the whole bar over */
}
/* -------------------------- */
/* The top main navigation links */
#navbar1 a {
	display: block;
	padding: 12px 10px; /* this centers the text vertically and spaces it horiz */
	color: #fff;	/* text color */
	font-weight: normal; /* makes the main nav text normal */
	background-color:transparent; /* background of main text */
	/*background: url(line.jpg) no-repeat top right;*/ /* puts a "bar" on right of the main nav links */
	text-decoration: none;
}
/* I'm targeting the last main navigation link to have no "bar" on the right side */
#navbar1 a.last {
	background-image: none;
}
#navbar1 a.one, #navbar1 a.two, #navbar1 a.three, #navbar1 a.four {
	text-align: left;
	font-size: 1em;
}
#navbar1 li {
	float: left;
	padding: 0;
	list-style-position:inside;
	margin-left:0
}
/* -------------------------- */
/* The dropdown links lists */
#navbar1 li ul {
	position: absolute;
	left: -999em;
	height: auto;
	width: 150px; /* dropdown box width text width in dropdown */
	font-size:85%;  /* font size for dropdown is smaller */
	font-weight: normal;
	border: 1px solid #999;
	background-color: #5fa4b0;
	margin: 0;
}
#navbar1 li li {
	padding: 0;
	margin: 0;  /* this got rid of the left margin on the dropdown box */
	list-style: none; /* gets rid of list styling in first tier dropdowns */
	clear:both; /* makes short menu items go to next line */
}
#navbar1 li ul a {
	padding: 3px 5px;  /* spaces out the submenu text lines */
	/** html width: 100px;*/
}
/* This controls the flyout location of the second level dropdowns */
#navbar1 li ul ul {
	margin: -2em 0 0 140px;
}
#navbar1 li:hover ul ul, #navbar1 li:hover ul ul ul, #navbar1 li.sfhover ul ul, #navbar1 li.sfhover ul ul ul {
	left: -999em;
}
#navbar1 li:hover ul, #navbar1 li li:hover ul, #navbar1 li li li:hover ul, #navbar1 li.sfhover ul, #navbar1 li li.sfhover ul, #navbar1 li li li.sfhover ul {
	left: auto;
}
/* -------------------------- */
/* Here is the background of the main nav link while looking at the dropdown */
#navbar1 li:hover, #navbar1 li.sfhover {
	background-color: transparent;
}
/* main nav rollover text color */
#navbar1 li a:hover {
	color: #444;
}

/* -------------------------- */
/* The dropdown links list colors */
#navbar1 li ul.under a {
	color: #fff;
	background-image: none;
}
#navbar1 li ul.under a:hover {
	background: #51868f;
	color: #fff;
}
/* -------------------------- */
/* The background of the second level links while looking at the dropdown under it... */
#navbar1 li ul.under li:hover a.daddy, #navbar1 li ul.under li.sfhover a.daddy {
	color: #fff;
}
#navbar1 li ul.under li:hover, #navbar1 li ul.under li.sfhover {
	color: #fff;
	background-color: #51868f; 
}
/* ----------------- Second Main navbar ----------------- */

#navbar2 {
	float: right;
	margin-right:28px;
	list-style: none;
/*	position:absolute;
	top:150px;
	right:34px;	*/
	line-height: 1em;
	color: #fff;
	background-color: transparent;
	text-transform: uppercase;
	font-weight: normal;
	font-size:95%;
	padding: 0;
}

/* -------------------------- */
/* Here are the top secondary navigation links */

#navbar2 li {
	float: left; /* makes the navbar horizontal */
	list-style-position:inside;
	margin-left:0
	}
	
#navbar2 a {
	display: block;
	padding-top:11px; /* spaces both items down to center vertically */
	padding-bottom:13px; /* must be here so the hot spot area is contiguous to the lower drop down menu */
	color: #fff;	/* text color */
	font-weight: normal; /* makes the main nav text normal */
	background-color: transparent; /* background of main text */
	text-decoration: none;
}
/* positions Physicians  */
#navbar2 a.one {
	padding-right:30px; /* horizontal positioning */
	font-size: 1em;
}

#navbar2 a.two {
	padding-right:25px; /* horizontal positioning */
	font-size: 1em;
}

/* -------------------------- */
/* The dropdown links lists */
#navbar2 li ul {
	position: absolute;
	left: -999em;
	height: auto;
	width: 180px; /* dropdown box width text width in dropdown */
	font-size:85%;  /* font size for dropdown is smaller */
	border: 1px solid #888;
	background-color: #5fa4b0; /* teal */
	margin-top: 0px; /* must be here so the hot spot area is contiguous to the lower drop down menu */
	margin-left:-50px;  /* spaces the dropdown under the main nav title */
}
#navbar2 li li {
	margin: 0;  /* this got rid of the left margin on the dropdown box */
	list-style: none; /* gets rid of list styling in first tier dropdowns */
	clear:both; /* makes short menu items go to next line */
}
#navbar2 li ul a {
	padding: 3px 5px; /* spaces out submenu text items */
	/** html width: 100px;*/
}
#navbar2 li:hover ul ul, #navbar2 li:hover ul ul ul, #navbar2 li.sfhover1 ul ul, #navbar2 li.sfhover1 ul ul ul {
	left: -999em;
}
#navbar2 li:hover ul, #navbar2 li li:hover ul, #navbar2 li li li:hover ul, #navbar2 li.sfhover1 ul, #navbar2 li li.sfhover1 ul, #navbar2 li li li.sfhover1 ul {
	left: auto;
}
/* -------------------------- */
/* The background and color of the main nav link while looking at the dropdown
   (a little different than the method used on the main nav...) */
#navbar2 li:hover a.one, #navbar2 li.sfhover1 a.one,
#navbar2 li:hover a.two, #navbar2 li.sfhover1 a.two,
#navbar2 li:hover a.three, #navbar2 li.sfhover1 a.three {
	color: #444;  /* main nav rollover color */
	background-color: transparent;
}
/* -------------------------- */
/* The dropdown links list colors */
#navbar2 li ul.under a {
	color: #fff;  /* dropdown text color */
	background-color: #5fa4b0; /* #5fa4b0 teal of the drop down box  */
}
#navbar2 li ul.under a:hover {
	background-color: #51868f;  /* Rollover color of the drop down box */
	color: #fff;
}


/* ----------------- Mid page Horizontal navbar ----------------- */
#midpage_nav {
	height: 40px;
	background-image: url(/images/midpage_navbar.jpg); /*  600 x 40 navbar */
	background-repeat: no-repeat;
	background-position: left bottom;
	margin: 0;
	padding: 0;
	list-style: none;
}
/* physician pages have a different color navbar */
#physician_medication #midpage_nav li, 
#physician_diabetes #midpage_nav li, 
#physician_smoking #midpage_nav li,
#physician_cancer #midpage_nav li {
	background-image: url(/images/physician_midpage_navbar.jpg); /*  600 x 40 navbar */
	background-repeat: no-repeat;
	background-position: left bottom;
}

/*The below makes the navbar horizontal*/
#midpage_nav li {
	float: left;
	list-style-position:inside;
	margin-left:0;
	/*background-color:#61a1ac;*/
}

#midpage_nav a {
	display:block;
	width:120px;  /* 600/5 */
	height:40px;
	line-height:40px;
	color: #fff;  /*color for the navbar text */
	text-decoration:none;
	text-align: center;
	background: url(/images/nav_divider.gif) no-repeat left 55%;
}

/*blank out vert separators on left side horizontal menu items */
#consumer_nav .cancer a, 
#midpage_nav .cancer a {
	background: none;
}

#midpage_nav a:hover, .selected a {
	background-color:#51868f;  /* # 51868f 8abf5c */
}

/*highlight current page link - body tag ID, ul ID, li class*/
#physician_medication #midpage_nav .medication a, 
#physician_smoking #midpage_nav .smoking a, 
#physician_diabetes #midpage_nav .diabetes a,
#physician_copd #midpage_nav .copd a,
#physician_cancer #midpage_nav .cancer a
 {
	background-color:#51868f !important;
}
