

/* ################################ */
/* 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 #000; 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; }




@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;
	}




}



@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;
	}

	.icon-container-3 i {
		border-right: 1px solid #ccc;
		padding-right: 10px;
		margin-right: 2px;
		padding-left: 2px;
		font-size: 20px;
	}
}


@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: ""; }
}


@media only screen and (max-width: 480px) {
	.button-container-iframe {
		display: none;
		margin-left: 0px;
	}

	.button-container-iframe-widget {
		/*display: table !important;*/
		/*margin-left: 60px;*/
		/*position: absolute;*/
		display: block;
		text-align:center;
	}

	.event-button-small img {
		width: 25px;
		height: auto !important;
	}


}
