/* SmartMenus Core CSS (it's not recommended editing this)
===============================================================*/

.sm,.sm ul,.sm li{display:block;list-style:none;padding:0;margin:0;line-height:normal;direction:ltr;}
ul.sm ul{position:absolute;top:-999999px;width:100px; z-index:10000;}
ul.sm li{position:relative;float:left;}
ul.sm a{position:relative;display:block;white-space:nowrap;}
ul.sm a.disabled{cursor:default;}
.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;}
ul.sm-rtl li{float:right;}
ul.sm ul li,ul.sm-vertical li{float:none;}
ul.sm ul a,ul.sm-vertical a{white-space:normal;}
ul.sm ul.sm-nowrap>li>a{white-space:nowrap;}
ul.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden;}
ul.sm,ul.sm *,ul.sm *:before,ul.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
ul.sm{-webkit-tap-highlight-color:rgba(0,0,0,0);}

/*
---------------------------------------------------------------
  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-mega > li > a { ... } instead of .sm-mega a { ... }
---------------------------------------------------------------*/


/* Menu box
===================*/

	.sm-mega {
		padding:0;
		background:#fff;
	}
	.sm-mega-vertical {
		padding: 0 0 14px;
	}
	.sm-mega ul {
		border:1px solid #bbb;
		padding:5px 0;
		background:#fff;
		-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);
		-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);
		box-shadow:0 5px 9px rgba(0,0,0,0.2);
	}
	/* first sub level carets */
	.sm-mega > li > ul:before {
		content:'';
		position:absolute;
		top:-18px;
		left:30px;
		width:0;
		height:0;
		overflow:hidden;
		border-width:9px; /* tweak size of the arrow */
		border-style:dashed dashed solid dashed;
		border-color:transparent transparent #bbb transparent;
	}
	.sm-mega > li > ul:after {
		content:'';
		position:absolute;
		top:-16px;
		left:31px;
		width:0;
		height:0;
		overflow:hidden;
		border-width:8px;
		border-style:dashed dashed solid dashed;
		border-color:transparent transparent #fff transparent;
	}
	/* no carets for vertical main */
	.sm-mega-vertical > li > ul:before, .sm-mega-vertical > li > ul:after {
		display:none;
	}
	.sm-mega-vertical > li {
		border-top: 1px solid #f4f4f4;
	}

/* Menu items
===================*/

	.sm-mega a {
		padding:15px;
		color:#000;
		font-size:12px;
		line-height:14px;
		text-decoration:none;
		text-transform: uppercase;
	}
	.sm-mega a:hover, .sm-mega a:focus, .sm-mega a:active,
	.sm-mega a.highlighted {
		color:#000;
	}
	.sm-mega-vertical a:hover, .sm-mega-vertical a:focus, .sm-mega-vertical a:active,
	.sm-mega-vertical a.highlighted {
		background:#fff;
	}
	.sm-mega a:hover, .sm-mega > li > a.highlighted{
		background: #3d5e9b;
		color:#fff;
	}
	.sm-mega a.has-submenu {
		padding-right:25px;
	}
	.sm-mega-vertical a,
 	.sm-mega ul a {
		padding:16px 20px;
	}
	.sm-mega-vertical a.has-submenu,
 	.sm-mega ul a.has-submenu {
		padding-right:40px;
	}
	.sm-mega ul a {
		font-size:12px;
	}
	.sm-mega ul a:hover, .sm-mega ul a:focus, .sm-mega ul a:active,
	.sm-mega ul a.highlighted {
		color:#000;
		background:#eee;
	}
	/* current items - add the class manually to some item or check the "markCurrentItem" script option */
	.sm-mega a.current, .sm-mega a.current:hover, .sm-mega a.current:focus, .sm-mega a.current:active {
		color:#000;
	}


/* Sub menu indicators
===================*/

	.sm-mega a span.sub-arrow {
		position:absolute;
		right:12px;
		top:50%;
		margin-top:-3px;
		/* 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:3px; /* tweak size of the arrow */
		border-style:solid dashed dashed dashed;
		border-color:#555 transparent transparent transparent;
	}
	.sm-mega-vertical a span.sub-arrow,
 	.sm-mega ul a span.sub-arrow {
		right:15px;
		top:50%;
		margin-top:-3px;
		border-width:3px;
		border-style:dashed dashed dashed solid;
		border-color:transparent transparent transparent #555;
	}
	.sm-mega-vertical > li > a:hover > span.sub-arrow, .sm-mega-vertical > li > a.highlighted > span.sub-arrow
	{
		border-color:transparent transparent transparent #fff;
	}


/* Scrolling arrows containers for tall sub menus - test sub menu: "Sub test" -> "more..." -> "more..." in the default download package
===================*/

	.sm-mega span.scroll-up, .sm-mega span.scroll-down {
		position:absolute;
		display:none;
		visibility:hidden;
		overflow:hidden;
		background:#fff;
		height:20px;
		/* width and position will be automatically set by the script */
	}
	.sm-mega span.scroll-up:hover, .sm-mega span.scroll-down:hover {
		background:#eee;
	}
	.sm-mega span.scroll-up-arrow, .sm-mega span.scroll-down-arrow {
		position:absolute;
		top:0;
		left:50%;
		margin-left:-6px;
		/* 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:6px; /* tweak size of the arrow */
		border-style:dashed dashed solid dashed;
		border-color:transparent transparent #555 transparent;
	}
	.sm-mega span.scroll-up:hover span.scroll-up-arrow {
		border-color:transparent transparent #000 transparent;
	}
	.sm-mega span.scroll-down-arrow {
		top:8px;
		border-style:solid dashed dashed dashed;
		border-color:#555 transparent transparent transparent;
	}
	.sm-mega span.scroll-down:hover span.scroll-down-arrow {
		border-color:#000 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: 991px) {
	.sm-mega:not(.sm-mega-vertical) > li > a {
		padding-left:8px;
		padding-right:8px;
	}
	.sm-mega:not(.sm-mega-vertical) > li > a.has-submenu {
		padding-right:25px;
	}
}
@media screen and (max-width: 768px) {
	.sm-mega:not(.sm-mega-vertical) > li > a {
		padding-left:3px;
		padding-right:3px;
	}
	.sm-mega:not(.sm-mega-vertical) > li > a.has-submenu {
		padding-right:25px;
	}
}


@media screen and (max-width: 992px) {

	/* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these) */
	ul.sm-mega{width:auto !important;}
	ul.sm-mega 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-mega>li{float:none;}
	ul.sm-mega>li>a,ul.sm-mega ul.sm-nowrap>li>a{white-space:normal;}
	ul.sm-mega iframe{display:none;}

	/* Uncomment this rule to disable completely the sub menus for small screen devices */
	/*.sm-mega ul, .sm-mega span.sub-arrow, .sm-mega iframe {
		display:none !important;
	}*/


/* Menu box
===================*/

	.sm-mega {
		padding:0;
	}
	.sm-mega ul {
		border:0;
		padding:0;
		/* darken the background of the sub menus */
		background:rgba(130,130,130,0.1);
		-moz-border-radius:0;
		-webkit-border-radius:0;
		border-radius:0;
		-moz-box-shadow:none;
		-webkit-box-shadow:none;
		box-shadow:none;
	}
	/* no carets */
	.sm-mega > li > ul:before, .sm-mega > li > ul:after {
		display:none;
	}


/* Menu items
===================*/

	.sm-mega a {
		padding:13px 5px 13px 28px !important;
		color:#555 !important;
		background:transparent !important;
	}
	.sm-mega a.current {
		color:#000 !important;
	}
	/* add some text indentation for the 2+ level sub menu items */
	.sm-mega ul a {
		border-left:8px solid transparent;
	}
	.sm-mega ul ul a {
		border-left:16px solid transparent;
	}
	.sm-mega ul ul ul a {
		border-left:24px solid transparent;
	}
	.sm-mega ul ul ul ul a {
		border-left:32px solid transparent;
	}
	.sm-mega ul ul ul ul ul a {
		border-left:40px solid transparent;
	}


/* Sub menu indicators
===================*/

	.sm-mega a span.sub-arrow,
	.sm-mega ul a span.sub-arrow {
		top:50%;
		margin-top:-9px;
		right:auto;
		left:6px;
		margin-left:0;
		width:17px;
		height:17px;
		font:normal 16px/16px monospace !important;
		text-align:center;
		border:0;
		text-shadow:none;
		background:rgba(255,255,255,0.6);
	}
	/* Hide sub indicator when item is expanded - we enable the item link when it's expanded */
	.sm-mega a.highlighted span.sub-arrow {
		display:none !important;
	}


/* Items separators
===================*/

	.sm-mega li {
		border-top:1px solid rgba(0,0,0,0.05);
	}
	.sm-mega > li:first-child {
		border-top:0;
	}

}