/* 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-green > li > a { ... } instead of .sm-green a { ... }
---------------------------------------------------------------*/


/* Menu box
===================*/

	.sm-green {
		background:#3193c0; /* Old browsers (1)*/
		z-index: 100;
		background-image:url(css-gradients-fallback/main-menu-bg.png);
		background-image:-moz-linear-gradient(top,#A9C95E 0%,#6D882D 100%);
		background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#A9C95E),color-stop(100%,#6D882D));
		background-image:-webkit-linear-gradient(top,#A9C95E 0%,#6D882D 100%);
		background-image:-o-linear-gradient(top,#A9C95E 0%,#6D882D 100%);
		background-image:-ms-linear-gradient(top,#A9C95E 0%,#6D882D 100%);
		background-image:linear-gradient(top,#A9C95E 0%,#6D882D 100%);
		-moz-box-shadow:0 1px 1px rgba(0,0,0,0.3);
		-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.3);
		box-shadow:0 1px 1px rgba(0,0,0,0.3);
	}
	.sm-green-vertical {
		-moz-box-shadow:0 1px 4px rgba(0,0,0,0.3);
		-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.3);
		box-shadow:0 1px 4px rgba(0,0,0,0.3);
	}
	.sm-green ul {
		border:1px solid #a9a9a9;
		padding:7px 0;
		background:#fff;
		-moz-box-shadow:0 5px 12px rgba(0,0,0,0.3);
		-webkit-box-shadow:0 5px 12px rgba(0,0,0,0.3);
		box-shadow:0 5px 12px rgba(0,0,0,0.3);
	}



/* Menu items
===================*/

	.sm-green a {
		padding:13px 24px;
		color:#fff;
		font-size:16px;
		line-height:23px;
		font-family:"Open Sans",Lato,Arial,Helvetica,sans-serif;
		font-weight:400;
		text-decoration:none;
		text-shadow:0 1px 0 rgba(0,0,0,0.3);
	}
	.sm-green a:hover, .sm-green a:focus, .sm-green a:active,
	.sm-green a.highlighted {
		background:#1983af; /* Old browsers (2)*/
		background-image:url(css-gradients-fallback/main-item-hover-bg.png);
		background-image:-moz-linear-gradient(top,#99BE3F 0%,#546823 100%);
		background-image:-webkit-gradient(linear,left top, left bottom,color-stop(0%,#99BE3F),color-stop(100%,#546823));
		background-image:-webkit-linear-gradient(top,#99BE3F 0%,#546823 100%);
		background-image:-o-linear-gradient(top,#99BE3F 0%,#546823 100%);
		background-image:-ms-linear-gradient(top,#99BE3F 0%,#546823 100%);
		background-image:linear-gradient(top,#99BE3F 0%,#546823 100%);
		color:#fff;
	}
	.sm-green-vertical a {
		/*padding:9px 40px 8px 23px;*/
		padding:8px 15px;
		background:#3193c0; /* Old browsers (3)*/
		background-image:url(css-gradients-fallback/vertical-main-item-bg.png);
		background-image:-moz-linear-gradient(top,#9EC249 0%,#80A035 100%);
		background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#9EC249),color-stop(100%,#80A035));
		background-image:-webkit-linear-gradient(top,#9EC249 0%,#80A035 100%);
		background-image:-o-linear-gradient(top,#9EC249 0%,#80A035 100%);
		background-image:-ms-linear-gradient(top,#9EC249 0%,#80A035 100%);
		background-image:linear-gradient(top,#9EC249 0%,#80A035 100%);
	}
	.sm-green ul a {
		padding:9px 40px 8px 23px;
		background:transparent;
		color:#6D882D;
		font-size:16px;
		text-shadow:none;
	}
	.sm-green ul a:hover, .sm-green ul a:focus, .sm-green ul a:active,
	.sm-green ul a.highlighted {
		background:#3193c0; /* Old browsers (4)*/
		background-image:url(css-gradients-fallback/main-menu-bg.png);
		background-image:-moz-linear-gradient(top,#A9C95E 0%,#6D882D 100%);
		background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#A9C95E),color-stop(100%,#6D882D));
		background-image:-webkit-linear-gradient(top,#A9C95E 0%,#6D882D 100%);
		background-image:-o-linear-gradient(top,#A9C95E 0%,#6D882D 100%);
		background-image:-ms-linear-gradient(top,#A9C95E 0%,#6D882D 100%);
		background-image:linear-gradient(top,#A9C95E 0%,#6D882D 100%);
		color:#fff;
		text-shadow:0 1px 0 rgba(0,0,0,0.3);
	}
	/* current items - add the class manually to some item or check the "markCurrentItem" script option (5)*/
	.sm-green a.current, .sm-green a.current:hover, .sm-green a.current:focus, .sm-green a.current:active,
	.sm-green ul a.current, .sm-green ul a.current:hover, .sm-green ul a.current:focus, .sm-green ul a.current:active {
		background:#006892;
		background-image:url(css-gradients-fallback/current-item-bg.png);
		background-image:-moz-linear-gradient(top,#4E6120 0%,#5F7627 100%);
		background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#4E6120),color-stop(100%,#5F7627));
		background-image:-webkit-linear-gradient(top,#4E6120 0%,#5F7627 100%);
		background-image:-o-linear-gradient(top,#4E6120 0%,#5F7627 100%);
		background-image:-ms-linear-gradient(top,#4E6120 0%,#5F7627 100%);
		background-image:linear-gradient(top,#4E6120 0%,#5F7627 100%);
		color:#fff;
		text-shadow:0 1px 0 rgba(0,0,0,0.3);
	}


/* Sub menu indicators
===================*/

	.sm-green a span.sub-arrow {
		position:absolute;
		bottom:2px;
		left:50%;
		margin-left:-5px;
		/* 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:5px; /* tweak size of the arrow */
		border-style:solid dashed dashed dashed;
		border-color:#546823 transparent transparent transparent;
	}
	.sm-green-vertical a span.sub-arrow,
 	.sm-green ul a span.sub-arrow {
		bottom:auto;
		top:50%;
		margin-top:-5px;
		right:15px;
		left:auto;
		margin-left:0;
		border-style:dashed dashed dashed solid;
		border-color:transparent transparent transparent #546823;
	}


/* Items separators
===================*/

	.sm-green li {
		border-left:1px solid #7A9638;
	}
	.sm-green li:first-child,
	.sm-green-vertical li,
	.sm-green ul li {
		border-left:0;
	}


/* Scrolling arrows containers for tall sub menus - test sub menu: "Sub test" -> "more..." -> "more..." in the default download package
===================*/

	.sm-green span.scroll-up, .sm-green span.scroll-down {
		position:absolute;
		display:none;
		visibility:hidden;
		overflow:hidden;
		background:#ffffff;
		height:20px;
		/* width and position will be automatically set by the script */
	}
	.sm-green span.scroll-up-arrow, .sm-green 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 #6D882D transparent;
	}
	.sm-green span.scroll-down-arrow {
		top:6px;
		border-style:solid dashed dashed dashed;
		border-color:#6D882D 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: 850px) {
	.sm-green:not(.sm-green-vertical) > li > a {
		padding-left:18px;
		padding-right:18px;
	}
}
@media screen and (max-width: 750px) {
	.sm-green:not(.sm-green-vertical) > li > a {
		padding-left:10px;
		padding-right:10px;
	}
}

@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-green{width:auto !important;}
	ul.sm-green 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-green>li{float:none;}
	ul.sm-green>li>a,ul.sm-green ul.sm-nowrap>li>a{white-space:normal;}
	ul.sm-green iframe{display:none;}

	/* Uncomment this rule to disable completely the sub menus for small screen devices */
	/*.sm-green ul, .sm-green span.sub-arrow, .sm-green iframe {
		display:none !important;
	}*/


/* Menu box
===================*/

	.sm-green {
		background:transparent;
		-moz-box-shadow:0 1px 4px rgba(0,0,0,0.3);
		-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.3);
		box-shadow:0 1px 4px rgba(0,0,0,0.3);
	}
	.sm-green ul {
		border:0;
		padding:0;
		background:#fff;
		-moz-box-shadow:none;
		-webkit-box-shadow:none;
		box-shadow:none;
	}
	.sm-green ul ul {
		/* darken the background of the 2+ level sub menus and remove border rounding */
		background:rgba(100,100,100,0.1);
	}


/* Menu items
===================*/

	.sm-green a {
		padding:10px 5px 10px 28px !important; /* add some additional left padding to make room for the sub indicator */
		background:#3193c0 !important; /* Old browsers (6)*/
		background-image:url(css-gradients-fallback/vertical-main-item-bg.png) !important;
		background-image:-moz-linear-gradient(top,#9EC249 0%,#80A035 100%) !important;
		background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#9EC249),color-stop(100%,#80A035)) !important;
		background-image:-webkit-linear-gradient(top,#9EC249 0%,#80A035 100%) !important;
		background-image:-o-linear-gradient(top,#9EC249 0%,#80A035 100%) !important;
		background-image:-ms-linear-gradient(top,#9EC249 0%,#80A035 100%) !important;
		background-image:linear-gradient(top,#9EC249 0%,#80A035 100%) !important;
		color:#fff !important;
	}
	.sm-green ul a {
		background:transparent !important;
		color:#6D882D !important;
		text-shadow:none !important;
	}
	.sm-green a.current {
		background:#006892 !important; /* Old browsers (7)*/
		background-image:url(css-gradients-fallback/current-item-bg.png) !important;
		background-image:-moz-linear-gradient(top,#4E6120 0%,#5F7627 100%) !important;
		background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#4E6120),color-stop(100%,#5F7627)) !important;
		background-image:-webkit-linear-gradient(top,#4E6120 0%,#5F7627 100%) !important;
		background-image:-o-linear-gradient(top,#4E6120 0%,#5F7627 100%) !important;
		background-image:-ms-linear-gradient(top,#4E6120 0%,#5F7627 100%) !important;
		background-image:linear-gradient(top,#4E6120 0%,#5F7627 100%) !important;
		color:#fff !important;
	}
	/* add some text indentation for the 2+ level sub menu items */
	.sm-green ul a {
		border-left:8px solid transparent;
	}
	.sm-green ul ul a {
		border-left:16px solid transparent;
	}
	.sm-green ul ul ul a {
		border-left:24px solid transparent;
	}
	.sm-green ul ul ul ul a {
		border-left:32px solid transparent;
	}
	.sm-green ul ul ul ul ul a {
		border-left:40px solid transparent;
	}

/* Sub menu indicators
===================*/

	.sm-green a span.sub-arrow,
	.sm-green ul a span.sub-arrow {
		top:50%;
		margin-top:-9px;
		right:auto;
		left:6px;
		margin-left:0;
		width:17px;
		height:17px;
		font:bold 16px/16px monospace !important;
		text-align:center;
		border:0;
		text-shadow:none;
		background:rgba(0,0,0,0.1);
	}
	/* Hide sub indicator "+" when item is expanded - we enable the item link when it's expanded */
	.sm-green a.highlighted span.sub-arrow {
		display:none !important;
	}


/* Items separators
===================*/

	.sm-green li {
		border-left:0;
	}
	.sm-green ul li {
		border-top:1px solid rgba(0,0,0,0.05);
	}
	.sm-green ul li:first-child {
		border-top:0;
	}

}

/* Toggle item */
.navbar-wrapper {
    background: #6D882D; 
}

.navbar-toggle {
    background: #546823;
}

.navbar-toggle .icon-bar {
    background-color: white;
}