

/* ################################ */
/* FOUNDATION OVERRIDES */
/* ################################ */

/* flyout handling for small view port */
.flyout { background: #f2f2f2;border: none; }
ul.flyout li, .nav-bar li ul li { border: none;}
ul.flyout li a, .nav-bar li ul li a { background: #333; border: 1px solid #333; border-width: 1px 1px 0 0; color: #555; display: block; font-size: 14px; height: auto; line-height: 1; padding: 15px 20px; -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; }
ul.flyout li a:hover, ul.flyout li a:focus, .nav-bar li ul li a:hover, .nav-bar li ul li a:focus { background: #000; color: #929292; }



.nav-bar-primary > li { float: none; display: block; border-right: none; }
.nav-bar-primary > li > a.main { text-align: left; border-top: 1px solid #ddd; border-right: none; }
.nav-bar-primary > li:first-child > a.main { border-top: none; margin-left: 0;}
.nav-bar-primary > li.has-flyout > a.flyout-toggle { position: absolute; right: 0; top: 0; padding: 22px; z-index: 2; display: block; }
.nav-bar-primary > li.has-flyout.is-touch > a.flyout-toggle span { content: ""; width: 0; height: 0; display: block; }
.nav-bar-primary > li.has-flyout > a.flyout-toggle:hover span { border-top-color: #141414; }
.nav-bar.vertical > li.has-flyout > .flyout { left: 0; }
.flyout { position: relative; width: 100% !important; top: auto; margin-right: -2px; border-width: 1px 1px 0 1px;}
.flyout.right { float: none; right: auto; left: -1px; }
.flyout.small, .flyout.large { width: 100% !important; }
.flyout p:last-child { margin-bottom: 18px; } /* margin bottom below button row */

.nav-bar-primary { height: 40px; background: #000; margin-left: 0; padding: 0; }
/*.nav-bar-primary > li { float: left; display: block; position: relative; padding: 0; margin: 0; border: 1px solid ; border-right: none; line-height: 38px; -webkit-box-shadow: 1px 0 0 rgba(255, 255, 255, 0) inset; -moz-box-shadow: 1px 0 0 rgba(255, 255, 255, 0) inset; box-shadow: 1px 0 0 rgba(255, 255, 255, 0) inset; }*/
.nav-bar-primary > li { float: left; display: block; position: relative; padding: 0; margin: 0; border: none ; border-right: none; line-height: 38px; -webkit-box-shadow: 1px 0 0 rgba(255, 255, 255, 0) inset; -moz-box-shadow: 1px 0 0 rgba(255, 255, 255, 0) inset; box-shadow: 1px 0 0 rgba(255, 255, 255, 0) inset; }
.nav-bar-primary > li:first-child { padding-left: 12px; -webkit-box-shadow: 0 0 0; -moz-box-shadow: 0 0 0; box-shadow: 0 0 0; }
.nav-bar-primary > li:last-child { border-right: solid 1px #000; -webkit-box-shadow: 1px 0 0 rgba(255, 255, 255, 0) inset, 1px 0 0 rgba(255, 255, 255, 0); -moz-box-shadow: 1px 0 0 rgba(255, 255, 255, 0) inset, 1px 0 0 rgba(255, 255, 255, 0); box-shadow: 1px 0 0 rgba(255, 255, 255, 0) inset, 1px 0 0 rgba(255, 255, 255, 0); }
.nav-bar-primary > li.active { background: #2ba6cb; border-color: #2284a1; }
.nav-bar-primary > li.active > a { color: white; cursor: default; }
.nav-bar-primary > li.active:hover { background: #2ba6cb; cursor: default; }
.nav-bar-primary > li:hover { background: #333333; }
.nav-bar-primary > li > a { color: #ccc; }
.nav-bar-primary > li ul { margin-bottom: 0; }
.nav-bar-primary > li .flyout { display: none; }
.nav-bar-primary > li.has-flyout > a:first-child { padding-right: 40px; position: relative; }
.nav-bar-primary > li.has-flyout > a:first-child:after { content: ""; display: block; width: 0; height: 0; border: solid 4px; border-color: #e6e6e6 transparent transparent transparent; position: absolute; right: 20px; top: 17px; }
.nav-bar-primary > li.has-flyout > a.flyout-toggle { border-left: 0 !important; position: absolute; right: 0; top: 0; padding: 20px; z-index: 2; display: block; }
.nav-bar-primary > li.has-flyout.is-touch > a:first-child { padding-right: 55px; }
.nav-bar-primary > li.has-flyout.is-touch > a.flyout-toggle { border-left: 1px dashed #666; }
.nav-bar-primary > li > a:first-child { position: relative; padding: 0 12px; display: block; text-decoration: none; font-size: 18px; } /* THIS CONTROLS PADDING IN PRIMARY NAV OF NAV ITEMS */
.nav-bar-primary > li > input { margin: 0 10px; }
.nav-bar-primary {margin-top: 0; margin-bottom: 0;}
.nav-bar-primary > li:first-child  { margin-left: -10px;}


.nav-bar {background-color: #000;}
.nav-bar.vertical > li .flyout {background-color: #000;}

/* styles for category navigation */
.nav-bar-legend > li { float: none; display: block; border: none; width: 10.4%; text-align: center; white-space:nowrap;} /* 104 / 1000 = 10.4% */
/*.nav-bar-legend > li > a:first-child { position: relative; display: block; text-decoration: none; font-size: 12px; font-weight: bold; text-transform: uppercase; }*/
/*
target/context = result
12px = context
12px = target

*/
div.legend-container a {font-size: 12px;} /* visibility: hidden*/
.nav-bar-legend > li > a:first-child { position: relative; display: block; text-decoration: none; font-weight: bold; text-transform: uppercase; }
.nav-bar-legend {margin-top: 0; margin-bottom: 0;}
.nav-bar-legend > li > a { color: #000;}
.nav-bar-legend > li ul { margin-bottom: 0; }
.nav-bar-legend > li { float: left; display: block; position: relative; padding: 0; margin: 0; line-height: 38px; margin-right: .7%;} /* 7 / 1000 =  .7% */
.nav-bar-legend > li:last-child {margin-right: 0;}
.nav-bar-legend-small-font {font-size: 10px;}


.nav-bar-legend-small { height: 40px; background: #4d4d4d; margin-left: 0; margin-top: 20px; padding: 0; }
.nav-bar-legend-small > li { float: left; display: block; position: relative; padding: 0; margin: 0; border: 1px solid #333333; border-right: none; line-height: 38px; -webkit-box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2) inset; -moz-box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2) inset; box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2) inset; }
.nav-bar-legend-small > li:first-child { -webkit-box-shadow: 0 0 0; -moz-box-shadow: 0 0 0; box-shadow: 0 0 0; }
.nav-bar-legend-small > li:last-child { border-right: solid 1px #333333; -webkit-box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2) inset, 1px 0 0 rgba(255, 255, 255, 0.2); -moz-box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2) inset, 1px 0 0 rgba(255, 255, 255, 0.2); box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2) inset, 1px 0 0 rgba(255, 255, 255, 0.2); }
.nav-bar-legend-small > li.active { background: #2ba6cb; border-color: #2284a1; }
.nav-bar-legend-small > li.active > a { color: white; cursor: default; }
.nav-bar-legend-small > li.active:hover { background: #2ba6cb; cursor: default; }
.nav-bar-legend-small > li:hover { background: #333333; }
.nav-bar-legend-small > li > a { color: #e6e6e6; }
.nav-bar-legend-small > li ul { margin-bottom: 0; }
.nav-bar-legend-small > li .flyout { display: none; }
.nav-bar-legend-small > li.has-flyout > a:first-child { padding-right: 40px; position: relative; }
.nav-bar-legend-small > li.has-flyout > a:first-child:after { content: ""; display: block; width: 0; height: 0; border: solid 4px; border-color: #e6e6e6 transparent transparent transparent; position: absolute; right: 20px; top: 17px; }
.nav-bar-legend-small > li.has-flyout > a.flyout-toggle { border-left: 0 !important; position: absolute; right: 0; top: 0; padding: 20px; z-index: 2; display: block; }
.nav-bar-legend-small > li.has-flyout.is-touch > a:first-child { padding-right: 55px; }
.nav-bar-legend-small > li.has-flyout.is-touch > a.flyout-toggle { border-left: 1px dashed #666; }
.nav-bar-legend-small > li > a:first-child { position: relative; padding: 0 5px; display: block; text-decoration: none; font-size: 12px; }
.nav-bar-legend-small > li > input { margin: 0 10px; }
.nav-bar-legend-small.vertical { height: auto; margin-top: 0; }
.nav-bar-legend-small.vertical > li { float: none; border-bottom: none; border-right: solid 1px #333333; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
.nav-bar-legend-small.vertical > li.has-flyout > a:first-child:after { content: ""; display: block; width: 0; height: 0; border: solid 4px; border-color: transparent transparent transparent #e6e6e6; }
.nav-bar-legend-small.vertical > li .flyout { left: 100%; top: -1px; }
.nav-bar-legend-small.vertical > li .flyout.right { left: auto; right: 100%; }
.nav-bar-legend-small.vertical > li.active { border-right: solid 1px #2284a1; }
.nav-bar-legend-small.vertical > li:last-child { border-bottom: solid 1px #333333; }


/* Custom Forms ---------------------- */
form.custom { /* Custom input, disabled */ }
form.custom span.custom { display: inline-block; width: 16px; height: 16px; position: relative; top: 2px; border: solid 1px #cccccc; background: white; }
form.custom span.custom.radio { -webkit-border-radius: 100px; -moz-border-radius: 100px; -ms-border-radius: 100px; -o-border-radius: 100px; border-radius: 100px; }
form.custom span.custom.checkbox:before { content: ""; display: block; line-height: 0.8; height: 14px; width: 14px; text-align: center; position: absolute; top: 0; left: 0; font-size: 14px; color: #fff; }
form.custom span.custom.radio.checked:before { content: ""; display: block; width: 8px; height: 8px; -webkit-border-radius: 100px; -moz-border-radius: 100px; -ms-border-radius: 100px; -o-border-radius: 100px; border-radius: 100px; background: #222222; position: relative; top: 3px; left: 3px; }
form.custom span.custom.checkbox.checked:before { content: "\00d7"; color: #222222; }
form.custom div.custom.dropdown { display: block; position: relative; width: auto; height: 28px; margin-bottom: 9px; margin-top: 2px; }
form.custom div.custom.dropdown ul { overflow-y: auto; max-height: 200px; }
form.custom div.custom.dropdown a.current { display: block; width: auto; line-height: 26px; min-height: 28px; padding: 0; padding-left: 6px; padding-right: 38px; border: solid 1px #dddddd; color: #141414; background-color: white; white-space: nowrap; }
form.custom div.custom.dropdown a.selector { position: absolute; width: 27px; height: 28px; display: block; right: 0; top: 0; border: solid 1px #dddddd; }
form.custom div.custom.dropdown a.selector:after { content: ""; display: block; content: ""; display: block; width: 0; height: 0; border: solid 5px; border-color: #aaaaaa transparent transparent transparent; position: absolute; left: 50%; top: 50%; margin-top: -2px; margin-left: -5px; }
form.custom div.custom.dropdown:hover a.selector:after, form.custom div.custom.dropdown.open a.selector:after { content: ""; display: block; width: 0; height: 0; border: solid 5px; border-color: #222222 transparent transparent transparent; }
form.custom div.custom.dropdown.open ul { display: block; z-index: 10; }
form.custom div.custom.dropdown.small { width: 134px !important; }
form.custom div.custom.dropdown.medium { width: 254px !important; }
form.custom div.custom.dropdown.large { width: 434px !important; }
form.custom div.custom.dropdown.expand { width: 100% !important; }
form.custom div.custom.dropdown.open.small ul { width: 134px !important; }
form.custom div.custom.dropdown.open.medium ul { width: 254px !important; }
form.custom div.custom.dropdown.open.large ul { width: 434px !important; }
form.custom div.custom.dropdown.open.expand ul { width: 100% !important; }
form.custom div.custom.dropdown ul { position: absolute; width: auto; display: none; margin: 0; left: 0; top: 27px; margin: 0; padding: 0; background: white; background: rgba(255, 255, 255, 0.95); border: solid 1px #cccccc; }
form.custom div.custom.dropdown ul li { color: #555555; font-size: 13px; cursor: pointer; padding: 3px; padding-left: 6px; padding-right: 38px; min-height: 18px; line-height: 18px; margin: 0; white-space: nowrap; list-style: none; }
form.custom div.custom.dropdown ul li.selected { background: #cdebf5; color: black; }
form.custom div.custom.dropdown ul li.selected:after { content: "\2013"; position: absolute; right: 10px; }
form.custom div.custom.dropdown ul li:hover { background-color: #cdebf5; color: black; }
form.custom div.custom.dropdown ul li:hover:after { content: "\2013"; position: absolute; right: 10px; color: #a3dbec; }
form.custom div.custom.dropdown ul li.selected:hover { background: #cdebf5; cursor: default; color: black; }
form.custom div.custom.dropdown ul li.selected:hover:after { color: black; }
form.custom div.custom.dropdown ul.show { display: block; }
form.custom .custom.disabled { background-color: #dddddd; }






@media only screen and (max-width: 1000px) {
	/* handler for feedback widget.. don't want to show on non-desktop view ports */
	#feedback_content, #feedback_trigger {
		display: none;
	}
}




@media only screen and (max-width: 990px) {
	.adsense-container {
		display: none;
	}
	.nav-bar-primary > li > a:first-child { position: relative; padding: 0 12px; display: block; text-decoration: none; font-size: 14px; } /* THIS CONTROLS PADDING IN PRIMARY NAV OF NAV ITEMS */
}


@media only screen and (max-width: 900px) {
	.icon-container-3 {
		font-size: 12px;
		min-height: 0px;
		white-space: normal;
	}
}


@media only screen and (max-width: 767px) {
	.nav-bar-primary { height: auto; }
	.nav-bar-primary > li { float: none; display: block; border-right: none; border-bottom: 1px solid #333;}
	.nav-bar-primary > li > a.main { text-align: left; border-top: 1px solid #ddd; border-right: none; }
	.nav-bar-primary > li:first-child > a.main { border-top: none; }
	.nav-bar-primary > li.has-flyout > a.flyout-toggle { position: absolute; right: 0; top: 0; padding: 22px; z-index: 2; display: block;}
	.nav-bar-primary > li.has-flyout.is-touch > a.flyout-toggle span { content: ""; width: 0; height: 0; display: block; }
	.nav-bar-primary > li.has-flyout > a.flyout-toggle:hover span { border-top-color: #141414; }
	.nav-bar-primary > li:first-child  { margin-left: 0px;}

	ul.nav-bar { /* handler for the padding below menu bar */
		margin-bottom: 0px;
	}
	div.button-container { /* handler for the padding above the button container */
		margin-top: 5px;
	}
	div.search-container {
		width: 45%; /* smaller width so it will scale and remain on one line */
		display: inline-block;
	}
	div.submit-container {
		width: 45%; /* smaller width so it will scale and remain on one line */
		display: inline-block;
	}


	/* #############################
	ADDTHIS EVENT DETAIL
	################################ */
	.addthis_button_facebook,
	.addthis_button_myspace,
	.addthis_button_google {
		margin-right: 0px;
	}

	div.addthis_separator {
		display: none;
		padding-right: 5px;
	}

	.event-date-small {
		font-size: 12px;
	}

	.icon-container-3 {
		font-size: 20px;
		min-height: 0px;
		white-space: normal;
	}

}


@media only screen and (max-width: 600px) {
	.icon-container-3 {
		font-size: 12px;
		min-height: 0px;
		white-space: normal;
	}
}


@media only screen and (max-width: 400px) {
	/* #############################
	CALENDAR OVERLAY
	################################ */
	.sbHolder,.sbSelector {
		width: 100px;
	}

	.sbToggle {
		display: none;
	}

	div#date-selector {
		width: 100px;
	}

	table.calendar-table th.calendar-day-head  {
		font-size: 8px;
		height: 46px;
	}

	td.calendar-day {
		font-size: 10px;
	}

	.calendar-back, .calendar-forward {
		display: none;
	}

	div.day-number {
		height: 46px;
	}

	td.calendar-day  {
		height:46px;
	}

	.event-date-small {
		font-size: 10px;
	}

	.search-form-container {
		width: 100% !important;
		float: none;
		clear: both;
	}

	.icon-container-3 {
		font-size: 10px;
		min-height: 0px;
		white-space: normal;
	}

	.icon-container-3 i {
		font-size: 12px;
		padding-right: 4px;
		margin-bottom: 5px;
	}

	.footer {
		height: 100px;
	}

	.footer-logo-container {
		text-align: center;
		font-size: 14px;
	}
}


@media print {
	div:not(.reveal-modal) {
		/*display: inherit !important;*/
	}
	a[href]:after { content: none; }
	abbr[title]:after { content: none; }
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
}

