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


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

    .sm-simple { margin:0 auto;color:#000;display:table; }
/**	.sm-simple,*/
	.sm-simple ul {
		/*border:1px solid #bbb;*/
		/*background:#fff;
		-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);*/
		-moz-box-shadow:0 2px 1px rgba(0, 0, 0, 0.12);
		-webkit-box-shadow:0 2px 1px rgba(0, 0, 0, 0.12);
        box-shadow:0 2px 1px rgba(0, 0, 0, 0.12);
	}

    /** ul.sm ul ul {
        clear: both;
        float: none;
        margin: 0 !important;
        position: relative;
    } **/

    #navigation-toggle {
        display:none;
      /* style it as you like... */
		padding:13px;
		color:#000;
		font-size:16px;
		line-height:17px;
		text-decoration:none;
        cursor:pointer;
        text-transform: uppercase;
    }
    #navigation-toggle .navigation-toggle-text {
        display: inline;
        line-height: 1.188em;
    }
    #navigation-toggle .navigation-toggle-icon {
        display:inline-block;
        margin: 0.3em 0 0 0.438em;
    }
    #navigation-toggle .navigation-toggle-icon-bar {
        border-radius: 1px;
        background: none repeat scroll 0 0 #252525;
        display: block;
        height: 2px;
        margin-bottom: 2px;
        width: 1.125em;
    }

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

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


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

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


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

    /** lvl 1 **/
	.sm-simple li {
		/*border-left:1px solid #f3f3f3;*/
	}
	.sm-simple li:first-child {
		/*border-left:0;*/
	}
    /** lvl 2 **/
	.sm-simple ul li,
	.sm-simple-vertical li {
		/*border-left:0;
		border-top:1px solid #f3f3f3;*/
        /*border-top:1px solid #e0e0e0;*/
        /*background: none repeat scroll 0 0 rgba(255, 255, 255, 0.9);*/
	}
	.sm-simple ul li:first-child,
	.sm-simple-vertical li:first-child {
		/*border-top:0;*/
	}
    /** lvl 3.. **/
	.sm-simple ul li ul li,
	.sm-simple-vertical li li {

	}
	.sm-simple ul li ul li a,
	.sm-simple-vertical li li a {

    }

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

	.sm-simple span.scroll-up, .sm-simple span.scroll-down {
		position:absolute;
		display:none;
		visibility:hidden;
		overflow:hidden;
		height:20px;
        text-align:center;
		/* width and position will be automatically set by the script */
	}
	.sm-simple span.scroll-up-arrow, .sm-simple 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;

	}
	.sm-simple span.scroll-down-arrow {
		top:6px;
	}


/*
---------------------------------------------------------------
  Responsiveness
  These will make the sub menus collapsible when the screen width is too small.
---------------------------------------------------------------*/

@media screen and (min-width: 992px) {
    /** Fixar så menyn blir centrerad */
    .sm-simple { float:none;margin: 0 auto; }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .sm-simple { left:0; }
}

@media screen and (max-width: 991px) {

    .navigation-wrapper {
        overflow-y:auto;
    }
	/* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these) */
	ul.sm-simple{width:100% !important;/*position:absolute;*/z-index:60;top: 37px;}
	ul.sm-simple 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 li { /*background:none repeat scroll 0 0 rgba(255, 255, 255, 0.9);*/ }
    ul.sm-simple li li { }
    ul.sm-simple li li a { }
	ul.sm-simple>li{float:none;}
	ul.sm-simple>li>a,ul.sm-simple ul.sm-nowrap>li>a{white-space:normal;}
	ul.sm-simple iframe{display:none;}
	ul.sm-simple {
		-moz-box-shadow:0 2px 1px rgba(0, 0, 0, 0.12);
		-webkit-box-shadow:0 2px 1px rgba(0, 0, 0, 0.12);
        box-shadow:0 2px 1px rgba(0, 0, 0, 0.12);
	}
	/* Uncomment this rule to disable completely the sub menus for small screen devices */
	/*.sm-simple ul, .sm-simple span.sub-arrow, .sm-simple iframe {
		display:none !important;
	}*/

    /* show the button on small screens */
    #navigation-toggle {
        display:block;
        /*width:92%*/
    }
    /* hide the menu when it has the "collapsed" class set by the script */
    .sm-simple.collapsed {
        display:none;
    }
    .navigation-wrapper .container {  }

    .sm-simple a:hover, .sm-simple a:focus, .sm-simple a:active, .sm-simple a.highlighted {   }

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

	.sm-simple ul {
		border:0;
		/* darken the background of the sub menus */
		-moz-box-shadow:none;
		-webkit-box-shadow:none;
		box-shadow:none;
	}


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

	.sm-simple a:not(.button) {
		padding-top:11px;
		padding-bottom:11px;
		background:transparent !important;
		/*color:#555 !important;*/
	}
	.sm-simple a.current {
		background:#555 !important;
		color:#fff !important;
	}
	.sm-simple a.has-submenu {
		/*padding-right:23px;*/
	}
	/* add some text indentation for the 2+ level sub menu items */
	.sm-simple ul a {
		border-left:8px solid transparent;padding-left:10px !important
	}
	.sm-simple ul ul a {
		border-left:16px solid transparent;
	}
	.sm-simple ul ul ul a {
		border-left:24px solid transparent;
	}
	.sm-simple ul ul ul ul a {
		border-left:32px solid transparent;
	}
	.sm-simple ul ul ul ul ul a {
		border-left:40px solid transparent;
	}


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

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


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

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

}
