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


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

	.sm-mobmob,
	.sm-mobmob ul {
		border:none;
	}
    .sm-mobmob li ul {
        background:#6ab2d3;
        margin-left: 0 !important;
    }
	ul.sm-mobmob {
		border-bottom: none;
	}


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

	.sm-mobmob a {
		padding: 10px 5px;
		color:#fff;
		font-size:10px;
		font-weight:600;
		line-height:17px;
		text-decoration:none;
		border: none;
	}
	.sm-mobmob a:hover, .sm-mobmob a:focus, .sm-mobmob a:active,
	.sm-mobmob a.highlighted {
		background:#6ab2d3;
		color:#ffffff !important;
	}
    .sm-mobmob li ul a:hover, .sm-mobmob li ul a:focus, .sm-mobmob li ul a:active,
    .sm-mobmob li ul a.highlighted {
        background:#395765;
    }
	/* current items - add the class manually to some item or check the "markCurrentItem" script option */
	.sm-mobmob a.current, .sm-mobmob a.current:hover, .sm-mobmob a.current:focus, .sm-mobmob a.current:active {
		background:#555;
		color:#fff;
	}
	.sm-mobmob a.has-submenu {
		padding-right:20px;
	}
 	.sm-mobmob ul a.has-submenu,
	.sm-mobmob-vertical a.has-submenu {
		padding-right:23px;
	}


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

	.sm-mobmob a span.sub-arrow {
		position:absolute;
		right:7px;
		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-top:6px solid #fff; /* tweak size of the arrow */
		border-left:4px dashed transparent;
		border-right:4px dashed transparent;
	}
	.sm-mobmob a:hover span.sub-arrow, .sm-mobmob a:focus span.sub-arrow, .sm-mobmob a:active span.sub-arrow {
		border-top-color:#f6f6f6;
	}
	.sm-mobmob a.highlighted span.sub-arrow {
		border-top-color:#fff;
	}
	.sm-mobmob-vertical a span.sub-arrow,
 	.sm-mobmob ul a span.sub-arrow {
		right:5px;
		margin-top:-4px;
		border-left:6px solid #fff; /* tweak size of the arrow */
		border-top:4px dashed transparent;
		border-bottom:4px dashed transparent;
	}
	.sm-mobmob-vertical a:hover span.sub-arrow, .sm-mobmob-vertical a:focus span.sub-arrow, .sm-mobmob-vertical a:active span.sub-arrow,
	.sm-mobmob-vertical a.highlighted span.sub-arrow,
 	.sm-mobmob ul a:hover span.sub-arrow, .sm-mobmob ul a:focus span.sub-arrow, .sm-mobmob ul a:active span.sub-arrow,
 	.sm-mobmob ul a.highlighted span.sub-arrow {
		border-left-color:#f6f6f6;
		border-top-color:transparent;
	}


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

	.sm-mobmob li {
		border-left:none;
	}
	.sm-mobmob li:first-child {
		border-left:0;
	}
	.sm-mobmob ul li,
	.sm-mobmob-vertical li {
		border-left:0;
		border-top:none;
	}
	.sm-mobmob ul li:first-child,
	.sm-mobmob-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-mobmob span.scroll-up, .sm-mobmob span.scroll-down {
		position:absolute;
		display:none;
		visibility:hidden;
		overflow:hidden;
		border:solid #eee;
		border-width:1px 0;
		background:#fff;
		height:22px;
		/* width and position will be automatically set by the script */
	}
	.sm-mobmob span.scroll-up-arrow, .sm-mobmob 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-mobmob span.scroll-down-arrow {
		top:6px;
		border-style:solid dashed dashed dashed;
		border-color:#555 transparent transparent transparent;
	}


/* Mob-mob specific
===================*/

	.sm-mobmob .first-level-link > a {
        display: flex;
        align-items: center;
        font-size: 1.25em;
		font-weight: bold;
		min-width: 200px;
		white-space: nowrap;
	}
	
	.sm-mobmob .second-level-link > a {
        font-size: 1.05em;
        font-weight: 400;
        padding: 7px 5px 7px 15px;
	}
	
	.first-level-link-vignette {
      background-size: cover;
      background-position: 50% 50%;
      background-repeat: no-repeat;
      min-width: 36px;
      width: 36px;
      height: 30px;
      margin-right: 6px;
      -moz-border-radius: 3px;
      -webkit-border-radius: 3px;
      -khtml-border-radius: 3px;
      border-radius: 3px;
	}
	

/*
---------------------------------------------------------------
  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-mobmob{width:auto !important;}
	ul.sm-mobmob 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-mobmob>li{float:none;}
	ul.sm-mobmob>li>a,ul.sm-mobmob ul.sm-nowrap>li>a{white-space:normal;}
	ul.sm-mobmob iframe{display:none;}

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


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

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


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

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


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

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

}