﻿/*this style is used to override the margin for sub-pages and the breadcrumb*/
#contentContainer {
	margin-top: 50px;
}

/*always show the loading div without a background*/
div.loading {
	display: block;
	background: none;
}

/*hide homepage agency tabbing for noscript b/c of ajax loading */
#featureAgencyWrapper .letterPager {
	display: none;
}
   
/*fix alignment on feature tabs */
.tabItem {
	clear: both;
	background: #ffffff;
	overflow: hidden;
	padding: 15px;
}

#tabLeaders li {
	display: inline;
	background: url("/images/bkg_feature_tab.jpg") no-repeat scroll 0 0 #FFFFFF;
	padding: 20px;
}

.tabLeaderItem {
	color: #1D70C2;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
}   

/*Hide min-calendar from homepage */
.navCalendarDiv {
	display: none;
}

.tabItem #agendaViewContainer {
	width: 90%;
}

	.tabItem #agendaViewContainer .innerContainer {
		width: 400px;
	}

#menusystemContainer {
	height: 35px;
}

#menuBar {
	margin-left: auto;
	margin-right: auto;
	list-style: none;
	margin-bottom: 10px; /* Clear floats */
	width: 100%; /* Bring the nav above everything else--uncomment if needed. 	        position:relative; 	        z-index:5; 	        */
}

	#menuBar li {
		float: left;
		text-align: center;
		position: relative;
		border-right: #327fcb 1px solid;
		-moz-box-shadow: 1px 0 1px -4px #327fcb, -1px 0 1px -4px #7cb8f5;
		-webkit-box-shadow: 1px 0 1px -4px #327fcb, -1px 0 1px -4px #7cb8f5;
		/* ReSharper disable once CssBrowserCompatibility */
		box-shadow: 1px 0 1px -4px #327fcb, -1px 0 1px -4px #7cb8f5;
		/* ReSharper disable once CssBrowserCompatibility */
		text-shadow: 1px 1px 1px #555;
	}

	#menuBar li li {
		border-right: 0;
		text-align: left;
	}

	#menuBar a {
		color: #FFFFFF;
		display: block;
		font-family: 'Ubuntu',sans-serif;
		font-size: 138%;
		padding: 5px 0;
		text-decoration: none;
		/* ReSharper disable once CssBrowserCompatibility */
		text-shadow: 1px 1px 1px #555555;
		text-transform: uppercase;
		width: 138px;
	}

	#menuBar li li a {
		color: #FFFFFF;
		display: block;
		font-family: 'Ubuntu',sans-serif;
		font-size: 128%;
		line-height: 1.5em;
		margin-top: 5px;
		padding-left: 10px;
		text-decoration: none;
		text-transform: capitalize;
	}

	#menuBar a:hover {
		background: none;
		background-color: #6c6c6c;
		background: url('/images/bkg_nav_item.png') center right no-repeat;
	}

/*--- DROPDOWN ---*/
	#menuBar ul {
		list-style: none;
		position: absolute;
		left: -9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
	}

	#menuBar ul li {
		padding-top: 1px; /* Introducing a padding between the li and the a give the illusion spaced items */
		float: none;
	}

	#menuBar ul a {
		white-space: nowrap; /* Stop text wrapping and creating multi-line dropdown items */
	}

	#menuBar li:hover ul {
		/* Display the dropdown on hover */
		left: 0; /* Bring back on-screen when needed */
		background: url("/images/bkg_menu_hot.png") no-repeat scroll right top #0A0A0A;
		font-weight: normal;
		position: absolute;
		width: 20em;
		z-index: 9999;
	}

	#menuBar li:hover a {
		/* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
		background: none;
		background-color: #6c6c6c;
		background: url('/images/bkg_nav_item.png') center right no-repeat;
	}


	#menuBar li:hover li a {
		/* Don't use the hover state for the sub-menu */
		border: 0;
		background-image: none;
		background-color: transparent;
		font-weight: 400;
		color: #fff;
		width: 15em;
	}

	#menuBar 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;
		color: #FFFFFF;
		display: block;
		font-family: 'Ubuntu',sans-serif;
		font-size: 128%;
		line-height: 1.5em;
		margin-top: 5px;
		padding-left: 10px;
	}

	#menuBar li:hover ul li a:hover {
		/* Here we define the most explicit hover states--what happens when you hover each individual link. */
		border: 0;
		background-image: none;
		background-color: #5aa8f5;
		font-weight: 400;
		color: #fff;
	}
