﻿/*----------------------------------------------------------
Colors:
Orange	#F8981D
----------------------------------------------------------*/
#main-navigation { height: 32px; padding-left: 0px; }

/*** CSS DROP DOWN ***/
#navdd { list-style: none; font-weight: bold; margin: 0; padding: 0; position: relative; float: left; z-index: 30; background-image: url('../images/advantage/nav-border.png'); background-repeat: no-repeat; background-position: left top; }
#navdd li { float: left; margin: 0; position: relative; background-image: url('../images/advantage/nav-border-right.png'); background-repeat: no-repeat; background-position: right top; }
#navdd li:hover { background-image: url('../images/advantage/nav-border-right-on.png'); }
#navdd a, #navdd span { display: block; padding: 0; color: #fff; text-decoration: none; height: 32px; line-height: 32px; font-size: 1.1em; padding-left: 15px; padding-right: 30px; }
#navdd a:hover, #navdd span:hover { color: #F8981D; text-decoration:none; }
#navdd a.on, #navdd span.on { color: #F8981D; }

/*--- DROPDOWN ---*/
#navdd ul {
	background: #fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
	background: rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
	list-style: none; position: absolute;
	left: -9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
	margin: 0; padding: 0; }
#navdd ul li {
	padding-top: 0px; /* Introducing a padding between the li and the a give the illusion spaced items */
	border: 1px solid #ccc; border-top-width: 0px; float: none; margin: 0; min-width: 150px; }
#navdd ul a { white-space: nowrap; /* Stop text wrapping and creating multi-line dropdown items */ }
#navdd li:hover ul { /* Display the dropdown on hover */ left: -4px; /* Bring back on-screen when needed */ }
#navdd li:hover a { /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	color: #F8981D; text-decoration: none; }
#navdd li:hover ul a { /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
	text-decoration: none; background-color: #E9EEF2; color: #073A6B; font-weight: normal; font-size: 1.1em; height: 1.8em; line-height: 1.8em; }
#navdd li:hover ul li a:hover { /* Here we define the most explicit hover states--what happens when you hover each individual link. */
	text-decoration: none; background-color: #fff; color: #073A6B; }

/*--- DROPDOWN OK WITH IPAD ---*/
/* #drop-downs is a UL */
#drop-downs { width: 100%; list-style: none; font-weight: bold; margin: 0; padding: 0; position: relative; float: left; z-index: 30; background-image: url('../images/advantage/nav-border.png'); background-repeat: no-repeat; background-position: left top; }
#drop-downs li.drop-down-header-item { float: left; margin: 0; position: relative; height: 32px; line-height: 32px; font-size: 1.1em; background-image: url('../images/advantage/nav-border.png'); background-repeat: no-repeat; background-position: right top; }
#drop-downs li.drop-down-header-item.has-drop-down { background-image: url('../images/advantage/nav-border-right.png'); }
#drop-downs li.drop-down-header-item span.drop-down-header { display: block; padding-left: 15px; padding-right: 30px; color: #fff; }
#drop-downs a { display: block; text-decoration: none; color: #fff; }
#drop-downs li.has-drop-down a { padding-left: 15px; padding-right: 30px; }
#drop-downs a:hover, #drop-downs li.drop-down-header-item span.drop-down-header:hover, #drop-downs a.on { text-decoration: none; color: #F8981D; }
#drop-downs li.drop-down-header-item.has-drop-down span.drop-down-header:hover { background-image: url('../images/advantage/nav-border-right-on.png'); background-repeat: no-repeat; background-position: right top; }

/*--- DROPDOWN MENUS ---*/
	/* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
	/* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
	/* Hide off-screen when not needed (this is more accessible than display:none;) */
#drop-downs ul { background:#e9eef2; background:rgba(255,255,255,0); list-style: none; position: absolute; left: -9999px; margin: 0; padding: 0; }
	/* Introducing a padding between the li and the a give the illusion spaced items */
#drop-downs ul li { padding: 0px; float: none; margin: 0; min-width: 125px; font-size: .9em; border: 1px solid #ccc; border-top-width: 0px; }
	/* Stop text wrapping and creating multi-line dropdown items */
#drop-downs ul a { white-space: nowrap; padding-left: 10px; padding-right: 10px; display: block; }
	/* Display the dropdown on hover Bring back on-screen when needed */
#drop-downs li:hover ul { left: 0px; }
	/* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
#drop-downs li:hover a, #drop-downs li:hover span.drop-down-header { color: #F8981D; text-decoration: none; }
#drop-downs li.has-drop-down:hover span.drop-down-header { background-image: url('../images/advantage/nav-border-right-on.png'); background-repeat: no-repeat; background-position: right top; }
	/* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
#drop-downs li:hover ul a { text-decoration: none; background-color: #E9EEF2; color: #073A6B; font-weight: normal; font-size: 1.1em; height: 1.8em; line-height: 1.8em; border: 1px solid #E7F3DC; border-top-width: 0px; font-weight: normal; }
	/* Here we define the most explicit hover states--what happens when you hover each individual link. */
#drop-downs li:hover ul li a:hover { text-decoration: none; background-color: #fff; color: #073A6B; }

	#drop-downs .drop-down-cover { border: 0px solid red; position: absolute; top: 34px; left: 0; height: 0; width: 0; z-index: -1; }