/* -----------------------------------
Basic rules
----------------------------------- */

body
{
}

/* -----------------------------------
Navigation
----------------------------------- */

#nav ul, .botnav 
{
	font-family: 'Muli', sans-serif;
	margin: 0;
	padding: 0;
	width: 100%;
	display: block;
	list-style: none;
	line-height: 1;
}

#nav li, .botnav li { display: inline; }

#nav a
{
	display: block;
	padding: .7em;
	color: #fff;
	background: #5d4630;
	border-bottom: 1px solid #fff;
	text-decoration: none;
}

#nav-toggle
{
	font-family: 'Muli', sans-serif;
	letter-spacing: .1em;
	display: block;
	padding: .5em .5em .5em 40px;
	color: #fff;
	background-image: url(../img/responsive-nav.png);
	background-repeat: no-repeat;
	background-position: 10px 50%;
	border-radius: 5px 5px 0 0;
	text-decoration: none;
background: rgb(71,122,0); /* Old browsers */
background-image: url(../img/responsive-nav.png), -moz-linear-gradient(top,  rgba(189,216,177,1) 0%, rgba(156,198,131,1) 17%, rgba(127,175,82,1) 33%, rgba(71,122,0,1) 67%, rgba(50,86,0,1) 83%, rgba(0,36,0,1) 100%); /* FF3.6+ */
background-image: url(../img/responsive-nav.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(189,216,177,1)), color-stop(17%,rgba(156,198,131,1)), color-stop(33%,rgba(127,175,82,1)), color-stop(67%,rgba(71,122,0,1)), color-stop(83%,rgba(50,86,0,1)), color-stop(100%,rgba(0,36,0,1))); /* Chrome,Safari4+ */
background-image: url(../img/responsive-nav.png), -webkit-linear-gradient(top,  rgba(189,216,177,1) 0%,rgba(156,198,131,1) 17%,rgba(127,175,82,1) 33%,rgba(71,122,0,1) 67%,rgba(50,86,0,1) 83%,rgba(0,36,0,1) 100%); /* Chrome10+,Safari5.1+ */
background-image: url(../img/responsive-nav.png), -o-linear-gradient(top,  rgba(189,216,177,1) 0%,rgba(156,198,131,1) 17%,rgba(127,175,82,1) 33%,rgba(71,122,0,1) 67%,rgba(50,86,0,1) 83%,rgba(0,36,0,1) 100%); /* Opera 11.10+ */
background-image: url(../img/responsive-nav.png), -ms-linear-gradient(top,  rgba(189,216,177,1) 0%,rgba(156,198,131,1) 17%,rgba(127,175,82,1) 33%,rgba(71,122,0,1) 67%,rgba(50,86,0,1) 83%,rgba(0,36,0,1) 100%); /* IE10+ */
background-image:url(../img/responsive-nav.png),  linear-gradient(to bottom,  rgba(189,216,177,1) 0%,rgba(156,198,131,1) 17%,rgba(127,175,82,1) 33%,rgba(71,122,0,1) 67%,rgba(50,86,0,1) 83%,rgba(0,36,0,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bdd8b1', endColorstr='#002400',GradientType=0 ); /* IE6-9 */
	background-repeat: no-repeat;
	background-position: 0px 50%;
}

#nav a:focus,#nav-toggle:focus { background-color: black; }
#nav a:hover,#nav-toggle:hover { background-color: #B5A25E; }
#nav a:active,#nav-toggle:active { background-color: #AAC968; }

.botnav {
	margin-bottom:-10px;
}
.botnav li {
	background-color: rgba(181,162,94, .85);
}
.botnav a {
	border-left:1px solid #5d6430;
	border-right:1px solid #5d6430;
	text-decoration: none;
	display: inline-block;
	padding:5px 2px 15px;
	color: #5d4630;

}
.botnav a:hover {
	text-decoration: underline;
}
.botnav a:visited {
	color:#666;
}


/* -----------------------------------
Predefined
----------------------------------- */
/*when js kicks in, do this*/
.js #nav
{
	clip: rect(0 0 0 0);
	max-height: 0;
	position: absolute;
	display: block;
	overflow: hidden;
	zoom: 1;
}
/*when it's opened give it an enormous max height*/
#nav.opened { max-height: 9999px; }

/* -----------------------------------
Navigation wide screen
----------------------------------- */

@media (min-width: 38em)
{
	.js #nav { position: relative; }
	/*when class closed is injected, give it a max-height of none*/
	.js #nav.closed { max-height: none; }
	/*when it's widescreen, don't even show it*/
	#nav-toggle { display: none; }
	
	#nav
	{
		overflow: hidden;
		zoom: 1;
background: rgb(71,122,0); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(189,216,177,1) 0%, rgba(156,198,131,1) 17%, rgba(127,175,82,1) 33%, rgba(71,122,0,1) 67%, rgba(50,86,0,1) 83%, rgba(0,36,0,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(189,216,177,1)), color-stop(17%,rgba(156,198,131,1)), color-stop(33%,rgba(127,175,82,1)), color-stop(67%,rgba(71,122,0,1)), color-stop(83%,rgba(50,86,0,1)), color-stop(100%,rgba(0,36,0,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(189,216,177,1) 0%,rgba(156,198,131,1) 17%,rgba(127,175,82,1) 33%,rgba(71,122,0,1) 67%,rgba(50,86,0,1) 83%,rgba(0,36,0,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(189,216,177,1) 0%,rgba(156,198,131,1) 17%,rgba(127,175,82,1) 33%,rgba(71,122,0,1) 67%,rgba(50,86,0,1) 83%,rgba(0,36,0,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(189,216,177,1) 0%,rgba(156,198,131,1) 17%,rgba(127,175,82,1) 33%,rgba(71,122,0,1) 67%,rgba(50,86,0,1) 83%,rgba(0,36,0,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(189,216,177,1) 0%,rgba(156,198,131,1) 17%,rgba(127,175,82,1) 33%,rgba(71,122,0,1) 67%,rgba(50,86,0,1) 83%,rgba(0,36,0,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bdd8b1', endColorstr='#002400',GradientType=0 ); /* IE6-9 */

	}
	
	#nav a
	{
		float: left;
		padding: .5em 1em;
		border-bottom: 0;
		border-right: 1px solid #fff;
	}
}
