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


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

	.sm-simple-menu-search,
	.sm-simple-menu-search > ul {
		background:#EEEEEE;
	}

	.sm-simple-menu-search ul {
		background:#FFFFFF;
		-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);
	}	

	.sm-simple-menu-search > li {
		border-bottom: 2px solid transparent;
	    color: #737373;
	    font-size: 12px;
	    margin: 0 9px;
	    padding: 0px 0px 0px 0px;
	    text-decoration: none;
	    text-overflow: ellipsis;
	    transition: border-color 0.218s ease 0s;
	    white-space: nowrap;
	}

	.sm-simple-menu-search > li:hover {
		color: #262626;
		text-decoration: none;
	}

	.sm-simple-menu-search > li:hover > a > span.sub-arrow {
		opacity: 0.9;
	}


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

	.sm-simple-menu-search > li > a {
		padding:3px 2px 2px 2px;
		color:#555;
		font-size:13px;
		line-height:21px;
		font-family:'Lucida Sans Unicode','Lucida Sans','Lucida Grande',Arial,sans-serif;
		text-decoration:none;
	}

	.sm-simple-menu-search a {
		padding: 6px 10px;
		color:#555;
		font-size:14px;
		line-height:21px;
		font-family:'Lucida Sans Unicode','Lucida Sans','Lucida Grande',Arial,sans-serif;
		text-decoration:none;
	}

	.sm-simple-menu-search li ul a:hover, .sm-simple-menu-search li ul a:focus, .sm-simple-menu-search li ul a:active,
	.sm-simple-menu-search li ul a.highlighted {
		background:#eee;
		color:#555;
	}
	/* current items - add the class manually to some item or check the "markCurrentItem" script option */
	.sm-simple-menu-search a.current, .sm-simple-menu-search a.current:hover, .sm-simple-menu-search a.current:focus, .sm-simple-menu-search a.current:active {
		background:#555;
		color:#fff;
	}
	.sm-simple-menu-search a.has-submenu {
		padding-right:32px;
	}
 	.sm-simple-menu-search ul a.has-submenu,
	.sm-simple-menu-search-vertical a.has-submenu {
		padding-right:23px;
	}


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

	.sm-simple-menu-search a span.sub-arrow {
		position:absolute;
		right:12px;
		top:50%;
		width:10px;
		height:10px;
		line-height:21px;
		background-image: url('../../images/smartmenu/marker-down-g.png');
		background-repeat: no-repeat;
		background-position: 0 0;
		overflow: hidden;
		text-indent: 1000px;
		margin-top: -3px;
		opacity: 0.7;
	}
 	.sm-simple-menu-search ul a span.sub-arrow,
	.sm-simple-menu-search-vertical a span.sub-arrow {
		right:auto;
		margin-left:-14px;
		background-image: url('../../images/smartmenu/marker-left-g.png');
		margin-top: -5px;
	}


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

	.sm-simple-menu-search li {
	}
	.sm-simple-menu-search li:first-child {
	}
	.sm-simple-menu-search ul li,
	.sm-simple-menu-search-vertical li {
	}
	.sm-simple-menu-search ul li:first-child,
	.sm-simple-menu-search-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-simple-menu-search span.scroll-up, .sm-simple-menu-search span.scroll-down {
		position:absolute;
		display:none;
		visibility:hidden;
		overflow:hidden;
		border:solid #bbb;
		border-width:1px 0;
		background:#fff;
		height:22px;
		/* width and position will be automatically set by the script */
	}
	.sm-simple-menu-search span.scroll-up-arrow, .sm-simple-menu-search 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-simple-menu-search span.scroll-down-arrow {
		top:6px;
		border-style:solid dashed dashed dashed;
		border-color:#555 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-simple-menu-search{width:auto !important;}
	ul.sm-simple-menu-search 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-simple-menu-search>li{float:none;}
	ul.sm-simple-menu-search>li>a,ul.sm-simple-menu-search ul.sm-nowrap>li>a{white-space:normal;}
	ul.sm-simple-menu-search iframe{display:none;}

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


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

	.sm-simple-menu-search 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-simple-menu-search a {
		padding-top:13px;
		padding-bottom:13px;
		background:transparent !important;
		color:#555 !important;
	}
	.sm-simple-menu-search a.current {
		background:#555 !important;
		color:#fff !important;
	}
	.sm-simple-menu-search a.has-submenu {
		padding-right:23px;
	}
	/* add some text indentation for the 2+ level sub menu items */
	.sm-simple-menu-search ul a {
		border-left:8px solid transparent;
	}
	.sm-simple-menu-search ul ul a {
		border-left:16px solid transparent;
	}
	.sm-simple-menu-search ul ul ul a {
		border-left:24px solid transparent;
	}
	.sm-simple-menu-search ul ul ul ul a {
		border-left:32px solid transparent;
	}
	.sm-simple-menu-search ul ul ul ul ul a {
		border-left:40px solid transparent;
	}


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

	.sm-simple-menu-search 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-simple-menu-search a.highlighted span.sub-arrow {
		display:none !important;
	}


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

	.sm-simple-menu-search li {
		border-left:0;
		border-top:1px solid rgba(0,0,0,0.05) !important;
	}
	.sm-simple-menu-search li:first-child {
		border-top:0 !important;
	}

}