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


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


/* Menu items
===================*/
	.sm-core a.has-submenu {

	}
 	.sm-core ul a.has-submenu,
	.sm-core-vertical a.has-submenu {
		padding-right:23px;
	}


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

	/*
	.sm-core a span.sub-arrow {
		position:absolute;
		right:12px;
		top:50%;
		margin-top:-8px;
		width:16px;
		height:16px;
		line-height:16px;
	}
 	.sm-core ul a span.sub-arrow,
	.sm-core-vertical a span.sub-arrow {
		right:auto;
		margin-left:-14px;
	}
	*/
    .sm-core .sub-arrow { display: none; }


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



/* Scrolling arrows containers for tall sub menus - test sub menu: "Sub test" -> "more..." -> "more..." in the default download package
===================*/

	.sm-core span.scroll-up, .sm-core span.scroll-down {
		position:absolute;
		display:none;
		visibility:hidden;
		overflow:hidden;
		border:solid #bbb;
		border-width:1px 0;
		background:#fff;
		height:20px;
		/* width and position will be automatically set by the script */
	}
	.sm-core span.scroll-up-arrow, .sm-core 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-core 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: 767px) {

	/* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these) */
	ul.sm-core.responsive{width:auto !important;}
	ul.sm-core.responsive ul{display:none;position:static !important;top:auto !important;left:auto !important;margin-left:0 !important;margin-top:0 !important;width:100% !important;min-width:0 !important;max-width:none !important;}
	ul.sm-core.responsive>li{float:none;}
	ul.sm-core.responsive>li>a,ul.sm-core ul.sm-nowrap>li>a{white-space:normal;}
    ul.sm-core.responsive li { display: block; width: 100%; }
	ul.sm-core.responsive iframe{display:none;}

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


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

	.sm-core ul {
		border:0;
		-moz-box-shadow:none;
		-webkit-box-shadow:none;
		box-shadow:none;
	}


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


	.sm-core a.has-submenu {
		padding-right:23px;
	}
	/* add some text indentation for the 2+ level sub menu items */
	.sm-core ul a {
		border-left:8px solid transparent;
	}
	.sm-core ul ul a {
		border-left:16px solid transparent;
	}
	.sm-core ul ul ul a {
		border-left:24px solid transparent;
	}
	.sm-core ul ul ul ul a {
		border-left:32px solid transparent;
	}
	.sm-core ul ul ul ul ul a {
		border-left:40px solid transparent;
	}


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

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


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

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

}

/* Vertical Styling
===================*/

    .sm-core-vertical li {
        clear:both;
    }
