/*
---------------------------------------------------------------
  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-default > li > a { ... } instead of .sm-default a { ... }
---------------------------------------------------------------*/

/* Menu box
===================*/
.sm-default {
	border: 0px solid #bbb;
}

.sm-default ul {
	border-bottom: 1px solid silver;
	background-color: white;
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
	border-radius: 3px;
}

/* Menu items
===================*/
.sm-default a {
	padding: 12px;
	color: #555;
	line-height: 17px;
	text-decoration: none;
}

.sm-default a:hover, .sm-default a:focus, .sm-default a:active,
	.sm-default a.highlighted {
	color: #D23600;
	border-radius: 5px;
}

.sm-default-vertical a:hover, .sm-default-vertical a:focus,
	.sm-default-vertical a:active, .sm-default-vertical a.highlighted {
	background: #fff;
}

.sm-default a.has-submenu {
	padding-right: 25px;
}

.sm-default-vertical a, .sm-default ul a {
	padding: 8px 20px;
}

.sm-default-vertical a.has-submenu, .sm-default ul a.has-submenu {
	padding-right: 40px;
}

.sm-default ul a {
	background: white;
	color:#878787;
	
}

.sm-default ul a:hover, .sm-default ul a:focus, .sm-default ul a:active,
	.sm-default ul a.highlighted {
	color: #D23600;
	background: #eee;
	border-radius:0px;
}
/* current items - add the class manually to some item or check the "markCurrentItem" script option */
.sm-default a.current, .sm-default a.current:hover, .sm-default a.current:focus,
	.sm-default a.current:active {
	color: #D23600;
}

/* Sub menu indicators
===================*/
.sm-default a span.sub-arrow {
	position: absolute;
	right: 12px;
	top: 50%;
	margin-top: -2px;
	/* 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: 4px; /* tweak size of the arrow */
	border-style: solid dashed dashed dashed;
	border-color: #555 transparent transparent transparent;
}

.sm-default-vertical a span.sub-arrow, .sm-default ul a span.sub-arrow {
	right: 15px;
	top: 50%;
	margin-top: -5px;
	border-width: 5px;
	border-style: dashed dashed dashed solid;
	border-color: transparent transparent transparent #555;
}

/* Items separators
===================*/
.sm-default li {
	border-left: 1px solid #f3f3f3;
}

.sm-default li:first-child {
	border-left: 0;
}

.sm-default ul li, .sm-default-vertical li {
	border-left: 0;
	border-top: 1px solid #f3f3f3;
}

.sm-default ul li:first-child, .sm-default-vertical li:first-child {
	border-top: 0;
}

/* Scrolling arrows containers for tall sub menus - test sub menu: "Sub test" -> "more..." -> "more..." in the default download package
===================*/
.sm-default span.scroll-up, .sm-default span.scroll-down {
	position: absolute;
	display: none;
	visibility: hidden;
	overflow: hidden;
	background: #fff;
	height: 1px;
	/* width and position will be automatically set by the script */
}

.sm-default span.scroll-up:hover, .sm-default span.scroll-down:hover {
	background: white;
}

.sm-default span.scroll-up-arrow, .sm-default 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 #555 transparent;
}

.sm-default span.scroll-up:hover span.scroll-up-arrow {
	border-color: transparent transparent #D23600 transparent;
}

.sm-default span.scroll-down-arrow {
	top: 8px;
	border-style: solid dashed dashed dashed;
	border-color: #555 transparent transparent transparent;
}

.sm-default span.scroll-down:hover span.scroll-down-arrow {
	border-color: #D23600 transparent transparent transparent;
}

/*
---------------------------------------------------------------
  Responsiveness
  These will make the sub menus collapsible when the screen width is too small.
---------------------------------------------------------------*/
@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-default {
		width: auto !important;
	}
	ul.sm-default 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-default>li {
		float: none;
	}
	ul.sm-default>li>a, ul.sm-default ul.sm-nowrap>li>a {
		white-space: normal;
	}
	ul.sm-default iframe {
		display: none;
	}

	/* Uncomment this rule to disable completely the sub menus for small screen devices */
	/*.sm-default ul, .sm-default span.sub-arrow, .sm-default iframe {
		display:none !important;
	}*/

	/* Menu box
===================*/
	.sm-default ul {
		border: 0;
		/* darken the background of the sub menus */
		background: rgba(100, 100, 100, 0.1);
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
	}

	/* Menu items
===================*/
	.sm-default a {
		padding-top: 13px;
		padding-bottom: 13px;
		background: transparent !important;
		
	}
	.sm-default a.current {
		background: #555 !important;
/* 		color: red !important; */
	}
	.sm-default a.has-submenu {
		padding-right: 23px;
/* 		color: red !important; */
	}
	/* add some text indentation for the 2+ level sub menu items */
	.sm-default ul a {
		border-left: 8px solid transparent;
	}
	.sm-default ul ul a {
		border-left: 16px solid transparent;
	}
	.sm-default ul ul ul a {
		border-left: 24px solid transparent;
	}
	.sm-default ul ul ul ul a {
		border-left: 32px solid transparent;
	}
	.sm-default ul ul ul ul ul a {
		border-left: 40px solid transparent;
	}

	/* Sub menu indicators
===================*/
	.sm-default a span.sub-arrow {
		right: auto;
		margin-left: -14px;
	}
	/* Hide sub indicator when item is expanded - we enable the item link when it's expanded */
	.sm-default a.highlighted span.sub-arrow {
		display: none !important;
	}

	/* Items separators
===================*/
	.sm-default li {
		border-left: 0;
		border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
	}
	.sm-default li:first-child {
		border-top: 0 !important;
	}
}