/*		10 Column Layout: 992px. 
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

.mobile {
	display: none; /* This is for the mobile menu, this keeps it hidden in the bigger versions */
}


#navContain {
	margin-left: 20px;
	padding-top: 2px;
	height: 100px;
	margin-top: 10px;
	position:relative;
	z-index: 10000;
	
}
#nav {
	margin: 0px;
	padding: 0px;
	line-height: 100%;
}
#nav li {
	float: left;
	position: relative;
	list-style: none;
	margin-top: 0;
	margin-right: 3px;
	margin-bottom: 0;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 8px;
	padding-left: 0;
}


/* main level link */
#nav a {
	font-weight: bold;
	color: #333;
	text-decoration: none;
	display: block;
	margin: 0;
	-webkit-border-bottom-left-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	-moz-border-radius-bottomleft: 6px;
	-moz-border-radius-bottomright: 6px;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0, .4);
	text-shadow: 0 1px 1px rgba(0,0,0, .3);
	padding-top: 3px;
	padding-right: 10px;
	padding-bottom: 6px;
	padding-left: 10px;
	background-color: #abd16f;
	font-size: 11px;
}
#nav a:hover {
	color: #fff;
}

/* main level link hover */
#nav .current a, #nav li:hover > a {
	color: #FFF;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #8bab50;
}

/* sub levels link hover */
#nav ul li:hover a, #nav li:hover li a {
	background: none;
	border: none;
	color: #333;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
}
#nav ul a:hover {
	color: #fff !important;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	text-shadow: 0 1px 1px rgba(0,0,0, .1);
	font-size: 11px;
	background: #8bab50 url(../images/green_grade.jpg) repeat-x 0 -100px !important;
}

/* dropdown */
#nav li:hover > ul {
	display: block;
}

/* level 2 list */
#nav ul {
	display: none;
	margin: 0;
	padding: 0;
	width: 175px;
	position: absolute;
	top: 22px;
	left: 0;
	border: solid 1px #b4b4b4;
	-webkit-border-bottom-left-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	-moz-border-radius-bottomleft: 6px;
	-moz-border-radius-bottomright: 6px;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0, .3);
	box-shadow: 0 1px 3px rgba(0,0,0, .3);
	background-color: #FFF;
	background-image: url(../images/green_grade.jpg);
	background-repeat: repeat-x;
	background-position: bottom;
	z-index: 100;
}


#nav ul li {
	float: none;
	margin: 0;
	padding: 0;
}

#nav ul a {
	font-weight: normal;
	text-shadow: 0 1px 0 #fff;
}

/* level 3+ list */
#nav ul ul {
	left: 181px;
	top: -3px;
}

/* rounded corners of first and last link */

#nav ul li:last-child > a {
	-webkit-border-bottom-left-radius: 6px;
	-moz-border-radius-bottomleft: 6px;

	-webkit-border-bottom-right-radius: 6px;
	-moz-border-radius-bottomright: 6px;
}

/* clearfix */
#nav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
#nav {
	display: inline-block;
} 
html[xmlns] #nav {
	display: block;
}
 
* html #nav {
	height: 1%;
}

/*		Tablet Layout: 768px.
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {
	#nav ul.last {
	left: -124px;
}

}

/*		Mobile Layout: 320px.
		Gutters: 24px.
		Outer margins: 34px.
		Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252 */   

@media only screen and (max-width: 479px) {
	
.mobile {
	display: block;
}

.menu-hidden {
	display: none;
}

.menu-unhidden {
	display: block;	
}

#nav {
	background-color: #fff;
	padding: 10px;
}

#nav li {
	float: none;
}

#nav a {
	font-size: 14px;
	padding: 10px;
}

#nav li:hover > ul {
	display: none;
}

/* level 2 list */
#nav ul {
	width: 230px;
	top: 32px;
}

#nav ul a:hover {
	font-size: 14px;
}


}

/*		Wide Mobile Layout: 480px.
		Gutters: 24px.
		Outer margins: 22px.
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436  */ 

@media only screen and (min-width: 480px) and (max-width: 767px) {
	
.mobile {
	display: block;
}

.menu-hidden {
	display: none;
}

.menu-unhidden {
	display: block;	
}

#nav {
	background-color: #fff;
	padding: 10px;
}

#nav li {
	float: none;
}

#nav a {
	font-size: 14px;
	padding: 10px;
}

#nav li:hover > ul {
	display: none;
}

/* level 2 list */
#nav ul {
	width: 330px;
	top: 32px;
}

#nav ul a:hover {
	font-size: 14px;
}

	
}


