@charset "UTF-8";
/* CSS Document */

/* begin horizontal menu */
#mainNav {
	float:right;
	font-size:0.7em;
	right:80px;
	top: 0px;
	position: absolute;
	list-style: none;
	background: url(../images/navigation/mainNavDivider.gif) no-repeat right top;
	padding-right: 2px; /* gives padding for the right border so as not to interfere with the hover effect */
	z-index: 100;
}
#mainNav li {
	float:left;
	background: url(../images/navigation/mainNavDivider.gif) no-repeat left top;
	padding: 0;
	position: relative;
	display: inline;
}
#mainNav li:hover {
	background: url(../images/navigation/mainNavHoverBg.gif) no-repeat left top;
}
#mainNav ul li:hover {
	background: none; /* overrides topnav hover effect */
}

#mainNav a {
	display: block; /*creates space each side of menu item's text */
	text-decoration:none;	 /* removes the underlining of the link */
	color:#7c6a55;
	padding: 1em 1.5em 0.3em;
}
#mainNav a:hover {
	color:#b5121b;
}
/* end horizontal menu */

/* begin drop-down menu */
#mainNav li ul {
	position:absolute; /* positions the drop-down ul in relation to its relatively positioned li parent */
	width: 5em; /*sets the width of the menu - in combo with the li's 100% width, makes the menu stack*/
	left: 0; /*aligns the drop under the menu */
	text-align: left;
	display: none; /*hides drop-down by default */
	background: url(../images/navigation/subNavLine.gif) no-repeat left top; /* creates visual line linking subnav to main nav element */
	font-size: 0.95em;
	padding-top: 0.3em;
}
#mainNav li ul#servicesNav, #mainNav li ul#contactNav {
	width: 9em;
}
#mainNav li ul li {
	width:100%;
	background: url(none); /* removes inherited visual line dividers */
	margin-bottom: .4em;
	padding-left: 1em;
}
#mainNav li ul li a {
	padding: 0 0.5em;
}
#mainNav li:hover ul {
	display: block; /* shows the drop-down when the menu is hovered */
} 
/* end drop-down */

/* begin current-page styles */
#home #mainNav li.home, #about #mainNav li.about, #services #mainNav li.services, #news #mainNav li.news, #newsUpdates #mainNav li.news, #contact #mainNav li.contact {
	background: url(../images/navigation/mainNavHoverBg.gif) no-repeat left top; /* Creates background color on main li item */
}
#home #mainNav .home a, #about #mainNav .about a, #services #mainNav .services a, #news #mainNav .news a, #newsUpdates #mainNav .news a, #contact #mainNav .contact a {
	color: #b5121b; /* highlights color of current main link */
}
#about #mainNav #aboutNav, #services #mainNav #servicesNav, #news #mainNav #newsNav, #newsUpdates #mainNav #newsNav, #contact #mainNav #contactNav {
	display: block; /* continues to show drop down when in parent section */
}
#about #mainNav .about li a, #services #mainNav .services li a, #news #mainNav .news li a, #newsUpdates #mainNav .news li a, #contact #mainNav .contact li a {
	color:#7c6a55; /* resets color of drop-down links from inherited parent current-page style */
}
#about #mainNav .about li a:hover, #services #mainNav .services li a:hover, #news #mainNav .news li a:hover, #newsUpdates #mainNav .news li a:hover, #contact #mainNav .contact li a:hover {
	color: #b5121b; /* re-enables hover color on drop down links when in parent section */
}
#company #mainNav #aboutNav .company a, #quality #mainNav #aboutNav .quality a, #general #mainNav #servicesNav .general a, #manufacturing #mainNav #servicesNav .manufacturing a, #qualityControl #mainNav #servicesNav .qualityControl a, #featuredArticles #mainNav #newsNav .featuredArticles a, #newsUpdates #mainNav #newsNav .updates a, #contactUs #mainNav #contactNav .contactUs a, #employment #mainNav #contactNav .employment a {
	color: #b5121b;
	cursor: default; /* current sub-page highlights and changes cursor to default */
}
/* end current-page styles */

/* begin external link icon */
.external { 
	background: url(../images/navigation/externalLinks-f1.gif) no-repeat right center; 
	padding-right: 12px;/* gives space to separate icon from link text */
}
.external:hover { 
	background: url(../images/navigation/externalLinks-f2.gif) no-repeat right center; /* swaps external link color on rollover */
}
/* end external link icon */