/* Import "PT Sans Narrow" font from Google fonts */
@import url(https://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700);

/* ---------------------------------------------------------------
  Note that styles you apply to the main menu items are inherited by the sub menus items too.
  If you'd like to avoid this, you could use child selectors (not supported by IE6) - for example:
  .sm-usnmc > li > a { ... } instead of .sm-usnmc a { ... }
--------------------------------------------------------------- */

/*=================== Menu Bar ===================*/
	.sm-usnmc {
		background:#3193c0; */ /* Old browsers */
		/* -------- this bunch controls all of the gradients in the menu bar -------- */
	/*	background-image:url(css-gradients-fallback/main-menu-bg.png); */
		background-color: hsl(70, 11%, 23%) !important; 
		background-repeat: repeat-x; 
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#7b7f66", endColorstr="#3e4134"); 
		background-image: -moz-linear-gradient(top, #7b7f66 0%,#3e4134); 
		background-image: -ms-linear-gradient(top, #7b7f66 0%,#3e4134); 
		background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #7b7f66), color-stop(100%, #3e4134)); 
		background-image: -webkit-linear-gradient(top, #7b7f66 0%,#3e4134); 
		background-image: -o-linear-gradient(top, #7b7f66 0%,#3e4134); 
		background-image: linear-gradient(#7b7f66 0%,#3e4134); 
		border-color: #3e4134 #3e4134 hsl(70, 11%, 17.5%); 
		-moz-border-radius:8px; 
		-webkit-border-radius:8px;
		-moz-box-shadow:0 1px 1px rgba(0,0,0,0.3);
		-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.3);
		color: #fff !important;
		text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.33);
		box-shadow:0 1px 1px rgba(0,0,0,0.3);
		border-radius:15px;
		margin-left:12px;
		margin-right:16px;
	}
	.sm-usnmc-vertical {
		-moz-box-shadow:0 1px 4px rgba(0,0,0,0.3);
		-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.3);
		box-shadow:0 1px 4px rgba(0,0,0,0.3);
	}
	.sm-usnmc ul {
		border:1px solid #15518C;
		padding:8px 0;
		background:#fff;
		-moz-border-radius:0 0 4px 4px;
		-webkit-border-radius:0 0 4px 4px;
		border-radius:0 0 4px 4px;
		-moz-box-shadow:0 5px 12px rgba(0,0,0,0.3);
		-webkit-box-shadow:0 5px 12px rgba(0,0,0,0.3);
		box-shadow:0 5px 12px rgba(0,0,0,0.3);
	}
	/* for vertical main menu subs and 2+ level horizontal main menu subs round all corners */
	.sm-usnmc-vertical ul,
	.sm-usnmc ul ul {
		-moz-border-radius:4px;
		-webkit-border-radius:4px;
		border-radius:4px;
	}


/* Menu items
===================*/

	.sm-usnmc a {
		padding:13px 24px;
		color:#fff;
		font-size:18px;
		line-height:23px;
		font-family:"PT Sans Narrow","Arial Narrow",Arial,Helvetica,sans-serif;
		font-weight:bold;
		text-decoration:none;
		text-shadow:0 1px 0 rgba(0,0,0,0.3);
	}
	.sm-usnmc a:hover, .sm-usnmc a:focus, .sm-usnmc a:active,
	.sm-usnmc a.highlighted {
		background:#1983af; /* Old browsers */
	/*	background-image:url(css-gradients-fallback/main-item-hover-bg.png); */
		background-image:-moz-linear-gradient(top,#A5AD9D 0%,#3e4134 100%);
		background-image:-webkit-gradient(linear,left top, left bottom,color-stop(0%,#A5AD9D),color-stop(100%,#3e4134));
		background-image:-webkit-linear-gradient(top,#A5AD9D 0%,#3e4134 100%);
		background-image:-o-linear-gradient(top,#A5AD9D 0%,#3e4134 100%);
		background-image:-ms-linear-gradient(top,#A5AD9D 0%,#3e4134 100%);
		background-image:linear-gradient(top,#A5AD9D 0%,#3e4134 100%);
		color:#fff;
	}
	.sm-usnmc-vertical a {
		padding:9px 40px 8px 23px;
		background:#3193c0; /* Old browsers */
		background-image:url(css-gradients-fallback/vertical-main-item-bg.png);
		background-image:-moz-linear-gradient(top,#A5AD9D 0%,#3e4134 100%);
		background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#A5AD9D),color-stop(100%,#3e4134));
		background-image:-webkit-linear-gradient(top,#A5AD9D 0%,#3e4134 100%);
		background-image:-o-linear-gradient(top,#A5AD9D 0%,#3e4134 100%);
		background-image:-ms-linear-gradient(top,#A5AD9D 0%,#3e4134 100%);
		background-image:linear-gradient(top,#A5AD9D 0%,#3e4134 100%);
	}
	.sm-usnmc ul a {
	/*	padding:9px 40px 8px 23px; */
		padding:6px 25px 5px 18px;
		background:transparent;
		color:#3e4134;
	/*	font-size:16px; */
		font-size:14px;
		text-shadow:none;
	}
	.sm-usnmc ul a:hover, .sm-usnmc ul a:focus, .sm-usnmc ul a:active,
	.sm-usnmc ul a.highlighted {
		background:#3193c0; /* Old browsers */
		background-image:url(css-gradients-fallback/main-menu-bg.png);
		background-image:-moz-linear-gradient(top,#7b7f66 0%,#3e4134 100%);
		background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#3674B2),color-stop(100%,#003366));
		background-image:-webkit-linear-gradient(top,#7b7f66 0%,#3e4134 100%);
		background-image:-o-linear-gradient(top,#7b7f66 0%,#3e4134 100%);
		background-image:-ms-linear-gradient(top,#7b7f66 0%,#3e4134 100%);
		background-image:linear-gradient(top,#7b7f66 0%,#3e4134 100%);
		color:#fff;
		text-shadow:0 1px 0 rgba(0,0,0,0.3);
	}
	/* current items - add the class manually to some item or check the "markCurrentItem" script option */
	.sm-usnmc a.current, .sm-usnmc a.current:hover, .sm-usnmc a.current:focus, .sm-usnmc a.current:active,
	.sm-usnmc ul a.current, .sm-usnmc ul a.current:hover, .sm-usnmc ul a.current:focus, .sm-usnmc ul a.current:active {
		background:#006892;
		background-image:url(css-gradients-fallback/current-item-bg.png);
		background-image:-moz-linear-gradient(top,#15518C 0%,#002040 100%);
		background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#15518C),color-stop(100%,#002040));
		background-image:-webkit-linear-gradient(top,#15518C 0%,#002040 100%);
		background-image:-o-linear-gradient(top,#15518C 0%,#002040 100%);
		background-image:-ms-linear-gradient(top,#15518C 0%,#002040 100%);
		background-image:linear-gradient(top,#15518C 0%,#002040 100%);
		color:#fff;
		text-shadow:0 1px 0 rgba(0,0,0,0.3);
	}
	/* round the left corners of the first item for horizontal main menu */
	.sm-usnmc > li:first-child > a {
		-moz-border-radius:8px 0 0 8px;
		-webkit-border-radius:8px 0 0 8px;
		border-radius:8px 0 0 8px;
	}
	
	.sm-usnmc > li:last-child > a {
		-moz-border-radius:0 8px 8px 0;
		-webkit-border-radius:0 8px 8px 0;
		border-radius:0 8px 8px 0;
	}
	
	/* round the corners of the first and last items for vertical main menu */
	.sm-usnmc-vertical > li:first-child > a {
		-moz-border-radius:8px 8px 0 0;
		-webkit-border-radius:8px 8px 0 0;
		border-radius:8px 8px 0 0;
	}
	.sm-usnmc-vertical > li:last-child > a {
		-moz-border-radius:0 0 8px 8px;
		-webkit-border-radius:0 0 8px 8px;
		border-radius:0 0 8px 8px;
	}
	.sm-usnmc a.has-submenu {

	}


/* Sub menu indicators
===================*/

	.sm-usnmc a span.sub-arrow {
		position:absolute;
		bottom:2px;
		left:50%;
		margin-left:-5px;
		/* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
		width:0;
		height:0;
		overflow:hidden;
		border-width:5px; /* tweak size of the arrow */
		border-style:solid dashed dashed dashed;
		border-color:#A5AD9D transparent transparent transparent; /* #a4cde1 */
	}
	.sm-usnmc-vertical a span.sub-arrow,
 	.sm-usnmc ul a span.sub-arrow {
		bottom:auto;
		top:50%;
		margin-top:-5px;
		right:15px;
		left:auto;
		margin-left:0;
		border-style:dashed dashed dashed solid;
		border-color:transparent transparent transparent #A5AD9D;
	}


/* Items separators
===================*/

	.sm-usnmc li {
	/*	border-left:1px solid #1a8bb9; */
		border-left:1px solide $15518C;
	}
	.sm-usnmc li:first-child,
	.sm-usnmc-vertical li,
	.sm-usnmc ul li {
		border-left:0;
	}


/* Scrolling arrows containers for tall sub menus - test sub menu: "Sub test" -> "more..." -> "more..." in the default download package
===================*/

	.sm-usnmc span.scroll-up, .sm-usnmc span.scroll-down {
		position:absolute;
		display:none;
		visibility:hidden;
		overflow:hidden;
		background:#ffffff;
		height:20px;
		/* width and position will be automatically set by the script */
	}
	.sm-usnmc span.scroll-up-arrow, .sm-usnmc span.scroll-down-arrow {
		position:absolute;
		top:-2px;
		left:50%;
		margin-left:-8px;
		/* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
		width:0;
		height:0;
		overflow:hidden;
		border-width:8px; /* tweak size of the arrow */
		border-style:dashed dashed solid dashed;
		border-color:transparent transparent #15518C transparent; /* #247eab */
	}
	.sm-usnmc span.scroll-down-arrow {
		top:6px;
		border-style:solid dashed dashed dashed;
		border-color:#15518C transparent transparent transparent; /* #247eab */
	}



/*
---------------------------------------------------------------
  Responsiveness
  These will make the sub menus collapsible when the screen width is too small.
---------------------------------------------------------------*/


/* decrease horizontal main menu items left/right padding to avoid wrapping */
@media screen and (max-width: 850px) {
	.sm-usnmc:not(.sm-usnmc-vertical) > li > a {
		padding-left:18px;
		padding-right:18px;
	}
}
@media screen and (max-width: 750px) {
	.sm-usnmc:not(.sm-usnmc-vertical) > li > a {
		padding-left:10px;
		padding-right:10px;
	}
}

@media screen and (max-width: 640px) {

	/* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these) */
	ul.sm-usnmc{width:auto !important;}
	ul.sm-usnmc ul{display:none;position:static !important;top:auto !important;left:auto !important;margin-left:0 !important;margin-top:0 !important;width:auto !important;min-width:0 !important;max-width:none !important;}
	ul.sm-usnmc>li{float:none;}
	ul.sm-usnmc>li>a,ul.sm-usnmc ul.sm-nowrap>li>a{white-space:normal;}
	ul.sm-usnmc iframe{display:none;}

	/* Uncomment this rule to disable completely the sub menus for small screen devices */
	/*.sm-usnmc ul, .sm-usnmc span.sub-arrow, .sm-usnmc iframe {
		display:none !important;
	}*/


/* Menu box
===================*/

	.sm-usnmc {
		background:transparent;
		-moz-box-shadow:0 1px 4px rgba(0,0,0,0.3);
		-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.3);
		box-shadow:0 1px 4px rgba(0,0,0,0.3);
	}
	.sm-usnmc ul {
		border:0;
		padding:0;
		background:#fff;
		-moz-border-radius:0;
		-webkit-border-radius:0;
		border-radius:0;
		-moz-box-shadow:none;
		-webkit-box-shadow:none;
		box-shadow:none;
	}
	.sm-usnmc ul ul {
		/* darken the background of the 2+ level sub menus and remove border rounding */
		background:rgba(100,100,100,0.1);
		-moz-border-radius:0;
		-webkit-border-radius:0;
		border-radius:0;
	}


/* Menu items
===================*/

	.sm-usnmc a {
		padding:10px 5px 10px 28px !important; /* add some additional left padding to make room for the sub indicator */
		background:#3193c0 !important; /* Old browsers */
		background-image:url(css-gradients-fallback/vertical-main-item-bg.png) !important;
		background-image:-moz-linear-gradient(top,#3674B2 0%,#003366 100%) !important;
		background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#3674B2),color-stop(100%,#003366)) !important;
		background-image:-webkit-linear-gradient(top,#3674B2 0%,#003366 100%) !important;
		background-image:-o-linear-gradient(top,#3674B2 0%,#003366 100%) !important;
		background-image:-ms-linear-gradient(top,#3674B2 0%,#003366 100%) !important;
		background-image:linear-gradient(top,#3674B2 0%,#003366 100%) !important;
		color:#fff !important;
	}
	.sm-usnmc ul a {
		background:transparent !important;
		color:#15518C !important; /* #247eab */
		text-shadow:none !important;
	}
	.sm-usnmc a.current {
		background:#006892 !important; /* Old browsers */
		background-image:url(css-gradients-fallback/current-item-bg.png) !important;
		background-image:-moz-linear-gradient(top,#005a84 0%,#00749f 100%) !important;
		background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#005a84),color-stop(100%,#00749f)) !important;
		background-image:-webkit-linear-gradient(top,#005a84 0%,#00749f 100%) !important;
		background-image:-o-linear-gradient(top,#005a84 0%,#00749f 100%) !important;
		background-image:-ms-linear-gradient(top,#005a84 0%,#00749f 100%) !important;
		background-image:linear-gradient(top,#005a84 0%,#00749f 100%) !important;
		color:#fff !important;
	}
	/* add some text indentation for the 2+ level sub menu items */
	.sm-usnmc ul a {
		border-left:8px solid transparent;
	}
	.sm-usnmc ul ul a {
		border-left:16px solid transparent;
	}
	.sm-usnmc ul ul ul a {
		border-left:24px solid transparent;
	}
	.sm-usnmc ul ul ul ul a {
		border-left:32px solid transparent;
	}
	.sm-usnmc ul ul ul ul ul a {
		border-left:40px solid transparent;
	}
	/* round the corners of the first and last items */
	.sm-usnmc > li:first-child > a {
		-moz-border-radius:8px 8px 0 0;
		-webkit-border-radius:8px 8px 0 0;
		border-radius:8px 8px 0 0;
	}
	/* presume we have 4 levels max */
	.sm-usnmc > li:last-child > a,
	.sm-usnmc > li:last-child > ul > li:last-child > a,
	.sm-usnmc > li:last-child > ul > li:last-child > ul > li:last-child > a,
	.sm-usnmc > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a,
	.sm-usnmc > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a,
	.sm-usnmc > li:last-child > ul,
	.sm-usnmc > li:last-child > ul > li:last-child > ul,
	.sm-usnmc > li:last-child > ul > li:last-child > ul > li:last-child > ul,
	.sm-usnmc > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul,
	.sm-usnmc > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul {
		-moz-border-radius:0 0 8px 8px;
		-webkit-border-radius:0 0 8px 8px;
		border-radius:0 0 8px 8px;
	}
	/* highlighted items, don't need rounding since their sub is open */
	.sm-usnmc > li:last-child > a.highlighted,
	.sm-usnmc > li:last-child > ul > li:last-child > a.highlighted,
	.sm-usnmc > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted,
	.sm-usnmc > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted,
	.sm-usnmc > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted {
		-moz-border-radius:0;
		-webkit-border-radius:0;
		border-radius:0;
	}


/* Sub menu indicators
===================*/

	.sm-usnmc a span.sub-arrow,
	.sm-usnmc ul a span.sub-arrow {
		top:50%;
		margin-top:-9px;
		right:auto;
		left:6px;
		margin-left:0;
		width:17px;
		height:17px;
		font:bold 16px/16px monospace !important;
		text-align:center;
		border:0;
		text-shadow:none;
		background:rgba(0,0,0,0.1);
		-moz-border-radius:100px;
		-webkit-border-radius:100px;
		border-radius:100px;
	}
	/* Hide sub indicator "+" when item is expanded - we enable the item link when it's expanded */
	.sm-usnmc a.highlighted span.sub-arrow {
		display:none !important;
	}


/* Items separators
===================*/

	.sm-usnmc li {
		border-left:0;
	}
	.sm-usnmc ul li {
		border-top:1px solid rgba(0,0,0,0.05);
	}
	.sm-usnmc ul li:first-child {
		border-top:0;
	}

}