/*  NAVIGATION
------------------------------------------------*/
#menu-button{display: none;}
nav.mobile {display:none;}
nav.primary, nav.mobile{   
    background: #b90e00 url("../siteart/nav_off.jpg") repeat-x;
    border-bottom: 1px #9e9e9e solid;
    border-top: 2px #000 solid;
}
nav.primary {
	padding:0;
	margin:0;
	width:100%;
	z-index:700; 
}

nav.primary ul {
	margin:0 auto;
	padding:0;
    text-align: center;
}

nav.primary ul li {
	margin:0;
	padding:0;
    text-align: center;
    display: inline-block;
	z-index:9999;
	list-style-type:none;	
	vertical-align: middle;
}

nav.primary ul li a {
	display:block;
    text-align: center;
	color:#fff;
	font-size:15px;
    font-weight: 300;
	line-height:normal;
	text-decoration:none;
	padding:13px 13px;
	margin: 0;
	-webkit-transition:.3s ease-in;  
	-moz-transition:.3s ease-in;  
	-o-transition:.3s ease-in;  
	transition:.3s ease-in;
}	

nav.primary ul li a:hover {color:#fff; background: #a00600}

/*  SUB NAV
------------------------------------------------*/
nav.primary ul li li a:link, nav.primary ul li li a:visited{
	font-size: 14px;
	line-height:14px;	
	padding:10px;
	color:#fff;
	background: #1a1a1a;
	width: 210px;
	border-right:none;
	border-left:none;
	border-bottom: #fff solid 1px;
}

nav.primary ul li li a:hover,nav.primary ul li li a:active {
	background:#b10700;
}


/*  OPTIONAL SUB-LEVEL LINKS
------------------------------------------------*/
nav.primary ul li li:last-child  {
}

nav.primary ul li li:last-child a {
	border-bottom:none;
}


/*  NAV DROPDOWNS
------------------------------------------------*/
nav.primary ul ul {
    display: none;
    position: absolute; 
}
  
nav.primary ul ul ul {
    position: absolute; 
    left: 100%;
    top:0; 
}
  
nav.primary ul li:hover > ul {  
    display: block;
    line-height:18px; 
    z-index: 500;
}
  
nav.primary ul ul li {
    float: none; 
    position: relative;
    margin:0;
}



/*===================== 
	Responsive styles 
=======================*/

@media screen and (max-width: 1279px) {
	
	nav.primary ul li a {
    	font-size: 12px;
	}
	
}
@media screen and (max-width: 1030px) {
	nav.primary{display:none;}
	
	#menu-button{ /* initially will need to be hidden */
		display: block;
		font-size: 28px;
		position: absolute;
		z-index: 999;/* needs to be lower than nav.mobile, adjust as needed */
		padding:0px;
		background: #b10700;
		right: 8px;
		top:20px;
		border: #ccc 1px solid;
		border-radius: 5px;
	}
	#menu-button a{
		color:#fff;
		text-decoration: none;
		padding:5px 15px;
		float:right;
	}
	nav.mobile {
		display:block;
		position: fixed;
		top: 0;
		left: -250px;
		width: 250px;
		height: 100%;
		background: #333;
		z-index: 500; /* needs to be higher than #menu-button, adjust as needed */
		overflow:auto;
	}
	nav.mobile h3 { /* Menu header styles */
		position: relative;
		padding: 12px 10px;
		color: #fff;
		font-size: 1.2em;
		font-weight: 400;
		border-bottom: 4px solid #222;
	}
	nav.mobile .menu-toggle { /* Menu close button */
		position: absolute;
		top: 12px;
		right: 10px;
		display: inline-block;
		padding: 6px 9px 5px;
		font-family: Arial, sans-serif;
		font-weight: bold;
		line-height: 1;
		background: #222;
		color: #999;
		text-decoration: none;
		vertical-align: top;
	}
	nav.mobile .menu-toggle:hover {color: #fff;}
	nav.mobile ul {
		list-style: none;
		font-weight: 300;
		border-top: 1px solid #151515;
		border-bottom: 1px solid #454545;
		margin:0;
		padding:0;
	}
	nav.mobile ul li {
		border-top: 1px solid #454545;
		border-bottom: 1px solid #151515;
	}
	nav.mobile ul li a {
		position: relative;
		display: block;
		padding: 15px 0px 15px 20px;
		color: #999;
		font-size:15px;
		text-decoration: none;
	}
	nav.mobile ul li a:hover {background:#b10700; color: #fff;}
	
	nav.mobile ul li span.click{/* dropdown menu idicator arrow be sure to include this image with your image files */ 
		background:url(../siteart/arrow.png) 10px 12px no-repeat;
		background-size:55%;
		position:relative;
		display:block;
		float:right;
		margin:-50px 0 0 0;
		cursor:pointer;
		z-index: 12399994;
		width:44px;
		height:50px;
		-webkit-transition:background-size .3s ease-in-out;
		-moz-transition:background-size .3s ease-in-out;
		transition:background-size .3s ease-in-out;
	}
	nav.mobile ul li span.click:hover{background-size:60%;}
}

@media screen and (max-width: 830px) {
	
	#menu-button{ /* initially will need to be hidden */
		position:relative;
		right:auto;
		top:auto;
        z-index: 5;
        width: 100%;
        padding: 10px 0;
		border: #ccc 1px solid;
        border-right: none;
        border-left: none;
		border-radius: 0;
        text-align: center;
	}
	#menu-button a{
		float:none;
        text-align: center;
	}
}