/* Mobile Layout: 640px and below. */

body, div,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre, dl, dt, dd, ol, ul, li, hr,
fieldset, form, label, legend, th, td,
article, aside, figure, footer, header, hgroup, menu, nav, section,
summary, hgroup {
}

a:active,
a:hover {
outline: 0;
}

#nav a:link {
	color: #000;
	text-decoration: none;
}

#nav a:visited {
	color: #000;
	text-decoration: none;
}

#nav a:hover {
	color: #49A942;
	text-decoration: none;
}

#nav a:active {
	color: #000;
	text-decoration: none;
}


@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }

body {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
text-size-adjust: 100%;
font: normal 100%/1.4 sans-serif;
}

#nav,
#nav * {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

/* MOBILE NAV UL */
#nav,
#nav ul {
list-style: none;
width: 100%;
float: left;
}

/* MOBILE NAV LI */
#nav li {
float: left;
width: 100%;
}

/* MOBILE MENU*/
#nav a {
	color: #FFF;
	text-decoration: none;
	width: 100%;
	background: #FFF;
	float: left;
	padding-top: 0.5em;
	padding-right: 0em;
	padding-bottom: 0.5em;
	padding-left: 1em;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
}

#nav ul {
	background-color: #FFF;
}

/* MOBILE TOGGLE*/
#nav-toggle {
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
width: 50px;
height: 50px;
float: left;
text-indent: -9999px;
overflow: hidden;
background-color: #49A942;
background-image: url(../images/hamburger.gif);
background-repeat: no-repeat;
background-position: 50% 50%;
}

/* Tablet Layout: 641px to 768px. Inherits styles from: Mobile Layout. */
@media screen and (min-width: 641px) {

/* DESKTOP UL*/
#nav ul {
background-color: #FFF;
}

/* DESKTOP LI*/
#nav li {
display:inline-block;
width:auto;
margin-left:10px;
}


/* DESKTOP LINK*/
#nav a {
	margin: 0;
	float: left;
	text-align: right;
	border-bottom: 0px;
	padding-top: 0.5em;
	padding-right: 0em;
	padding-bottom: 0.5em;
	padding-left: 0.5em;
}

#nav ul ul a {
display: none;
}
}

/* DESKTOP LAYOUT: 769px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */
@media only screen and (min-width: 769px) {

#nav ul {
background-color: #FFF;
}

#nav a {
	padding-top: 0.7em;
	padding-right: 0em;
	padding-bottom: 0.7em;
	padding-left: 0.7em;
	text-align: left;
}
}

@media screen and (-webkit-min-device-pixel-ratio: 1.3), screen and (min--moz-device-pixel-ratio: 1.3), screen and (-o-min-device-pixel-ratio: 2 / 1), screen and (min-device-pixel-ratio: 1.3), screen and (min-resolution: 192dpi), screen and (min-resolution: 2dppx) {
#nav-toggle {
background-image: url("../images/hamburger-retina.gif");
-webkit-background-size: 100px 100px;
-moz-background-size: 100px 100px;
-o-background-size: 100px 100px;
background-size: 100px 100px;
}
}