/* Import font from Google fonts */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600);


/*
---------------------------------------------------------------
  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-invert > li > a { ... } instead of .sm-simple-invert a { ... }
---------------------------------------------------------------*/


/* Menu box
===================*/

	.sm-simple-invert {
		/*border-bottom:2px solid #8db863;*/
		background:#fff;
		z-index:100;
	}
	.sm-simple-invert-vertical {
		border-right:2px solid #ddd;
		border-bottom:0;
	}
	.sm-simple-invert ul {
		padding:8px 0;
		background:#fff;
		-moz-border-radius:0 4px 4px 4px;
		-webkit-border-radius:0 4px 4px 4px;
		border-radius:0 4px 4px 4px;
		-moz-box-shadow:0 4px 3px rgba(0,0,0,0.25);
		-webkit-box-shadow:0 4px 3px rgba(0,0,0,0.25);
		box-shadow:0 4px 3px rgba(0,0,0,0.25);
	}
	.sm-simple-invert-vertical ul,
	.sm-simple-invert ul ul {
		-moz-border-radius:4px;
		-webkit-border-radius:4px;
		border-radius:4px;
	}

	ul.sm li{border-bottom:1px dotted #ddd;} /* added by Rax */


/* Menu items
===================*/

	.sm-simple-invert a {
		border-bottom:2px solid #fff;
		padding:11px 20px 9px 20px;
		color:#444;
		font-size:15px;
		line-height:22px;
		font-family:'Open Sans', Arial,sans-serif; /* added Open Sans by Rax */
		text-decoration:none;
		-moz-border-radius:4px 4px 0 0;
		-webkit-border-radius:4px 4px 0 0;
		border-radius:4px 4px 0 0;
	}
	.sm-simple-invert a:hover, .sm-simple-invert a:focus, .sm-simple-invert a:active {
		border-bottom-color:#ddd;
		background:#999;
		color:#fff;
	}
	.sm-simple-invert a.highlighted {
		border-bottom-color:#ddd !important;
		background:#999;
		color:#fff;
		-moz-box-shadow:0 4px 3px rgba(0,0,0,0.25);
		-webkit-box-shadow:0 4px 3px rgba(0,0,0,0.25);
		box-shadow:0 4px 3px rgba(0,0,0,0.25);
	}
	.sm-simple-invert-vertical a {
		/*-moz-border-radius:4px 0 0 4px;
		-webkit-border-radius:4px 0 0 4px;
		border-radius:4px 0 0 4px;*/
		-moz-border-radius:0px; /* changed by Rax */
		-webkit-border-radius:0px; /* changed by Rax */
		border-radius:0px; /* changed by Rax */
	}
	.sm-simple-invert-vertical a:hover, .sm-simple-invert-vertical a:focus, .sm-simple-invert-vertical a:active,
	.sm-simple-invert-vertical a.highlighted {
		border-bottom-color:#999 !important;
		background:#999;
		color:#fff;
		-moz-box-shadow:none;
		-webkit-box-shadow:none;
		box-shadow:none;
	}
	.sm-simple-invert ul a {
		border-bottom:0;
		padding:10px 20px;
		font-size:14px;
		line-height:normal;
		-moz-border-radius:0;
		-webkit-border-radius:0;
		border-radius:0;
	}
	.sm-simple-invert ul a:hover, .sm-simple-invert ul a:focus, .sm-simple-invert ul a:active,
	.sm-simple-invert ul a.highlighted {
		background:#999;
		color:#fff;
		-moz-box-shadow:none;
		-webkit-box-shadow:none;
		box-shadow:none;
	}
	/* current items - add the class manually to some item or check the "markCurrentItem" script option */
	.sm-simple-invert a.current, .sm-simple-invert a.current:hover, .sm-simple-invert a.current:focus, .sm-simple-invert a.current:active {
		border-bottom-color:#ddd;
	}
	.sm-simple-invert-vertical a.current, .sm-simple-invert-vertical a.current:hover, .sm-simple-invert-vertical a.current:focus, .sm-simple-invert-vertical a.current:active {
		border-right:5px solid #ddd; /* changed from 2px to 5px by Rax */
		border-bottom-color:#fff;
		border-bottom:0px; /* added by Rax */
	}
	.sm-simple-invert ul a.current, .sm-simple-invert ul a.current:hover, .sm-simple-invert ul a.current:focus, .sm-simple-invert ul a.current:active {
		border-right:0;
		border-bottom:0;
		font-weight:bold;
	}
	.sm-simple-invert a.has-submenu {
		padding-right:32px;
	}


/* Sub menu indicators
===================*/

	.sm-simple-invert a span.sub-arrow {
		position:absolute;
		right:17px;
		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 #999; /* tweak size of the arrow */
		border-left:4px dashed transparent;
		border-right:4px dashed transparent;
	}
	.sm-simple-invert a:hover span.sub-arrow, .sm-simple-invert a:focus span.sub-arrow, .sm-simple-invert a:active span.sub-arrow {
		border-top-color:#fff;
	}
	.sm-simple-invert a.highlighted span.sub-arrow {
		border-top-color:#eee;
	}
	.sm-simple-invert-vertical a span.sub-arrow,
 	.sm-simple-invert ul a span.sub-arrow {
		right:15px;
		margin-top:-4px;
		border-left:6px solid #999; /* tweak size of the arrow */
		border-top:4px dashed transparent;
		border-bottom:4px dashed transparent;
	}
	.sm-simple-invert-vertical a:hover span.sub-arrow, .sm-simple-invert-vertical a:focus span.sub-arrow, .sm-simple-invert-vertical a:active span.sub-arrow,
	.sm-simple-invert-vertical a.highlighted span.sub-arrow,
 	.sm-simple-invert ul a:hover span.sub-arrow, .sm-simple-invert ul a:focus span.sub-arrow, .sm-simple-invert ul a:active span.sub-arrow,
 	.sm-simple-invert ul a.highlighted span.sub-arrow {
		border-left-color:#eee;
		border-top-color:transparent;
	}


/* Scrolling arrows containers for tall sub menus - test sub menu: "Sub test" -> "more..." in the default download package
===================*/

	.sm-simple-invert span.scroll-up, .sm-simple-invert span.scroll-down {
		position:absolute;
		display:none;
		visibility:hidden;
		overflow:hidden;
		background:#333333; /* changed colour from F6FFED to 333333 by Rax */
		height:20px;
		/* width and position will be automatically set by the script */
	}
	.sm-simple-invert span.scroll-up-arrow, .sm-simple-invert span.scroll-down-arrow {
		position:absolute;
		top:6px;
		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-bottom:8px solid #eee; /* tweak size of the arrow */
		border-left:6px dashed transparent;
		border-right:6px dashed transparent;
	}
	.sm-simple-invert span.scroll-down-arrow {
		border-top:8px solid #eee; /* tweak size of the arrow */
		border-bottom:0;
	}


/*
---------------------------------------------------------------
  Responsiveness
  These will make the sub menus collapsible when the screen width is too small.
---------------------------------------------------------------*/


/* decrease horizontal main menu items left/simple-invert padding to avoid wrapping */
@media screen and (max-width: 850px) {
	.sm-simple-invert:not(.sm-simple-invert-vertical) > li > a {
		padding-left:12px;
		padding-right:12px;
	}
	.sm-simple-invert:not(.sm-simple-invert-vertical) > li > a.has-submenu {
		padding-right:24px;
	}
	.sm-simple-invert:not(.sm-simple-invert-vertical) a span.sub-arrow {
		right:9px;
	}
}
@media screen and (max-width: 720px) {
	.sm-simple-invert:not(.sm-simple-invert-vertical) > li > a {
		padding-left:6px;
		padding-right:6px;
	}
	.sm-simple-invert:not(.sm-simple-invert-vertical) > li > a.has-submenu {
		padding-right:18px;
	}
	.sm-simple-invert:not(.sm-simple-invert-vertical) a span.sub-arrow {
		right:3px;
	}
}

@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-invert{width:auto !important;}
	ul.sm-simple-invert 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-invert>li{float:none;}
	ul.sm-simple-invert>li>a,ul.sm-simple-invert ul.sm-nowrap>li>a{white-space:normal;}
	ul.sm-simple-invert iframe{display:none;}

	ul.sm li{border-bottom:none;} /* added by Rax */


	/* Uncomment this rule to disable completely the sub menus for small screen devices */
	/*.sm-simple-invert ul, .sm-simple-invert span.sub-arrow, .sm-simple-invert iframe {
		display:none !important;
	}*/


/* Menu box
===================*/

	.sm-simple-invert {
		border-top:2px solid #333;
		border-bottom:2px solid #333;
		border-right:0;
	}
	.sm-simple-invert ul {
		border:0;
		padding:0;
		/* darken the background of the sub menus */
		background:rgba(0,0,0,0.09);
		-moz-border-radius:0 !important;
		-webkit-border-radius:0 !important;
		border-radius:0 !important;
		-moz-box-shadow:none;
		-webkit-box-shadow:none;
		box-shadow:none;
	}


/* Menu items
===================*/

	.sm-simple-invert a {
		border:0 !important;
		padding:13px 23px !important;
		background:transparent !important;
		color:#000 !important;
		-moz-border-radius:0 !important;
		-webkit-border-radius:0 !important;
		border-radius:0 !important;
		-moz-box-shadow:none !important;
		-webkit-box-shadow:none !important;
		box-shadow:none !important;
	}
	.sm-simple-invert a.current {
		font-weight:bold;
	}
	/* add some text indentation for the 2+ level sub menu items */
	.sm-simple-invert ul a {
		border-left:8px solid transparent !important;
	}
	.sm-simple-invert ul ul a {
		border-left:16px solid transparent !important;
	}
	.sm-simple-invert ul ul ul a {
		border-left:24px solid transparent !important;
	}
	.sm-simple-invert ul ul ul ul a {
		border-left:32px solid transparent !important;
	}
	.sm-simple-invert ul ul ul ul ul a {
		border-left:40px solid transparent !important;
	}


/* Sub menu indicators
===================*/

	.sm-simple-invert a span.sub-arrow {
		right:auto !important;
		margin-top:-7px !important;
		margin-left:-16px !important;
		border-left:9px solid #999 !important; /* tweak size of the arrow */
		border-top:6px dashed transparent !important;
		border-bottom:6px dashed transparent !important;
	}
	/* Hide sub indicator when item is expanded - we enable the item link when it's expanded */
	.sm-simple-invert a.highlighted span.sub-arrow {
		display:none !important;
	}




/* Items separators
===================*/

	.sm-simple-invert li {
		border-top:1px solid rgba(0,0,0,0.1);
	}
	.sm-simple-invert li:first-child {
		border-top:0;
	}

}


/* Toggle item */
.navbar-wrapper {
    background: #999;
}

.navbar-toggle {
    background: #666;
}

.navbar-toggle .icon-bar {
    background-color: white;
}