/*! responsive-nav.js v1.0.14 by @viljamis */

#mobile-header{
	min-height: 35px;
	position: fixed;
	top: 0px;
	z-index: 9999 !important;
	/*display: inline-block !important;*/
	/* width: 100%; */
	width: 100%;
}

#nav ul {
	margin: 0;
	padding: 0;
	width: 100%;
	display: block;
	list-style: none;
}

#nav li {
	width: 100%;
	display: block;
}

.js #nav {
	clip: rect(0 0 0 0);
	max-height: 0;
	position: absolute;
	display: block;
	overflow: hidden;
	zoom: 1;
}

#nav.opened {
	max-height: 9999px;
}

@media screen and (min-width: 980px) {
	.js #nav {
		position: relative;
		max-height: none;
	}
	#nav-toggle {
		display: none;
	}
}


/* ------------------------------------------
  DEMO PAGE'S STYLES
--------------------------------------------- */
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 {
	margin: 0;
	padding: 0;
	border: 0;
}

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

@-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;
}

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

#nav {
	width: 49.8%;
}

#nav ul {
	width:100%;
}

#nav li {
	float: left;	
	border-right: solid 1px #fff;
}

@media screen and (min-width: 960px) {
	#nav li {
		width: 25%;
		*width: 24.9%; /* IE7 Hack */
		_width: 19%; /* IE6 Hack */
	}
}

#nav a {
	color: #fff;
	text-decoration: none;
	width: 100%;

	border-bottom: 1px solid #fff;
	padding: 0.9em 1em;
	float: left;
	font-family:"Open Sans";
}
#nav a:hover {
	color: #000;
	text-decoration: none;
	width: 100%;
	background: #fff;
	border-bottom: 1px solid #fff;
	padding: 0.9em 1em;
	float: left;
	font-family:"Open Sans";
}

@media screen and (min-width: 960px) {
	#nav a {
		margin: 0;
		padding: 1em;
		float: left;
		text-align: center;
		border-bottom: 0;
		border-right: 1px solid white;
	}
}

#nav ul ul a {
	background: #ca3716;
	padding-left: 2em;
}

@media screen and (min-width: 960px) {
	#nav ul ul a {
		display: none;
	}
}

#nav-toggle {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	width: 50px;
	height: 35px;
	float: right;
	background: url("/images/design2/hamburger.gif") no-repeat center center #2b3034;
	border-bottom-right-radius:3px;
	color: #000;
	font-size: 0;
	line-height: 60px;
	text-align: center;
	text-decoration: none;
}
/*
@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/design2/hamburger-retina.gif") #000;
		-webkit-background-size: 100px 100px;
		-moz-background-size: 100px 100px;
		-o-background-size: 100px 100px;
		background-size: 100px 100px;
	}
}
*/

/*Additional Media Queries to position the header*/
/*@media (min-width: 640px) and (max-width: 960px){
  #mobile-header{
    width: 100%;
    position: fixed;
    top: 0px;
    z-index: 1000;
    padding-bottom: 2px;
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  }
*/

@media screen and (min-width: 960px) {
	#nav li {
		width: 16.6%;
		*width: 24.9%; /* IE7 Hack */
		_width: 19%; /* IE6 Hack */
	}
}

/*mobile nav fixed*/

#mob-nav li{ float:left; clear:left;  background:#2b3034; border:none;  }
#mob-nav li a { border:1px solid #000; border-top:none; font-family:"Open Sans"; text-shadow: 1px 1px 1px #000; }
#mob-nav li a:hover { text-shadow: none; }

#nav-toggle {
	float:left;
	text-indent: -9999px;
	overflow:hidden;
	color:#CCC;
}

#mobile-header.closed {
	width:auto;
	height:auto;
}
