/*
---------------------------------------------------------------
  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-dk > li > a { ... } instead of .sm-dk a { ... }
---------------------------------------------------------------*/


/* Menu box
===================*/

	.sm-dk {
		background:transparent;
	}
	.sm-dk-vertical {
	}
	.sm-dk ul {
		border:1px solid #a9a9a9;
		padding:7px 0;
		background:#fff;
	}
	/* for vertical main menu subs and 2+ level horizontal main menu subs round all corners */
	.sm-dk-vertical ul,
	.sm-dk ul ul {
	}


/* Menu items
===================*/

	.sm-dk a {
		padding:8px 8px;
		color:#000;
		font-size:14px;
		font-weight: lighter;
		line-height:20px;
		font-family:Arial,Helvetica,sans-serif;
		text-decoration:none;
		/*text-shadow:0 1px 0 rgba(0,0,0,0.3);*/
	}
	.sm-dk a:hover, .sm-dk a:focus, .sm-dk a:active,
	.sm-dk a.highlighted {
		background:transparent;
		color:#444;
	}
	.sm-dk-vertical a {
		padding:5px 20px 5px 10px;
		background:transparent;
	}
	.sm-dk ul a {
		padding:9px 40px 8px 23px;
		background:transparent;
		color:#000000;
		font-size:14px;
		text-shadow:none;
	}
	.sm-dk ul a:hover, .sm-dk ul a:focus, .sm-dk ul a:active,
	.sm-dk ul a.highlighted {
		background:transparent;
		color:#444;
		/*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-dk a.current, .sm-dk a.current:hover, .sm-dk a.current:focus, .sm-dk a.current:active,
	.sm-dk ul a.current, .sm-dk ul a.current:hover, .sm-dk ul a.current:focus, .sm-dk ul a.current:active {
		background:#006892;
		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-dk > li:first-child > a {
		-moz-border-radius:8px 0 0 8px;
		-webkit-border-radius:8px 0 0 8px;
		border-radius:8px 0 0 8px;
	}
	/* round the corners of the first and last items for vertical main menu */
	.sm-dk-vertical > li:first-child > a {
	}
	.sm-dk-vertical > li:last-child > a {
	}
	.sm-dk a.has-submenu {

	}


/* Sub menu indicators
===================*/

	.sm-dk 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:#000 transparent transparent transparent;
	}
	.sm-dk-vertical a span.sub-arrow,
 	.sm-dk 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:#000 transparent transparent transparent;
		/*border-color:transparent transparent transparent #a4cde1;*/
	}


/* Items separators
===================*/

	.sm-dk li {
		border-left:1px solid #000;
	}
	.sm-dk li:first-child,
	.sm-dk-vertical li,
	.sm-dk 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-dk span.scroll-up, .sm-dk 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-dk span.scroll-up-arrow, .sm-dk 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 #247eab transparent;
	}
	.sm-dk span.scroll-down-arrow {
		top:6px;
		border-style:solid dashed dashed dashed;
		border-color:#247eab transparent transparent transparent;
	}



/*
---------------------------------------------------------------
  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-dk:not(.sm-dk-vertical) > li > a {
		padding-left:18px;
		padding-right:18px;
	}
}
@media screen and (max-width: 750px) {
	.sm-dk:not(.sm-dk-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-dk{width:auto !important;}
	ul.sm-dk 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-dk>li{float:none;}
	ul.sm-dk>li>a,ul.sm-dk ul.sm-nowrap>li>a{white-space:normal;}
	ul.sm-dk iframe{display:none;}

	/* Uncomment this rule to disable completely the sub menus for small screen devices */
	/*.sm-dk ul, .sm-dk span.sub-arrow, .sm-dk iframe {
		display:none !important;
	}*/


/* Menu box
===================*/

	.sm-dk {
		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-dk 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-dk 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-dk a {
		padding:5px 5px 5px 28px !important; /* add some additional left padding to make room for the sub indicator */
		background:transparent;
		color:#000 !important;
	}
	.sm-dk ul a {
		background:transparent !important;
		color:#247eab !important;
		text-shadow:none !important;
	}
	.sm-dk a.current {
		background:transparent;
		color:#000 !important;
	}
	/* add some text indentation for the 2+ level sub menu items */
	.sm-dk ul a {
		border-left:8px solid transparent;
	}
	.sm-dk ul ul a {
		border-left:16px solid transparent;
	}
	.sm-dk ul ul ul a {
		border-left:24px solid transparent;
	}
	.sm-dk ul ul ul ul a {
		border-left:32px solid transparent;
	}
	.sm-dk ul ul ul ul ul a {
		border-left:40px solid transparent;
	}
	/* round the corners of the first and last items */
	.sm-dk > 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-dk > li:last-child > a,
	.sm-dk > li:last-child > ul > li:last-child > a,
	.sm-dk > li:last-child > ul > li:last-child > ul > li:last-child > a,
	.sm-dk > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a,
	.sm-dk > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a,
	.sm-dk > li:last-child > ul,
	.sm-dk > li:last-child > ul > li:last-child > ul,
	.sm-dk > li:last-child > ul > li:last-child > ul > li:last-child > ul,
	.sm-dk > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul,
	.sm-dk > 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-dk > li:last-child > a.highlighted,
	.sm-dk > li:last-child > ul > li:last-child > a.highlighted,
	.sm-dk > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted,
	.sm-dk > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted,
	.sm-dk > 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-dk a span.sub-arrow,
	.sm-dk 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-dk a.highlighted span.sub-arrow {
		display:none !important;
	}


/* Items separators
===================*/

	.sm-dk li {
		border-left:0;
	}
	.sm-dk ul li {
		border-top:1px solid rgba(0,0,0,0.05);
	}
	.sm-dk ul li:first-child {
		border-top:0;
	}

}