/*  NAVIGATION
------------------------------------------------*/

nav.primary {
	padding:0;
	margin:0;
	width:100%;
	background:#000 url(/siteart/navbg.jpg) top center repeat-x;
	z-index:700; 
	box-shadow: 0px 3px 6px 1px rgba(0,0,0,.75);
	display: flex;
	align-items: center;
}

.second {
    background: transparent !important;
    box-shadow: none !important;
}

nav.primary ul {
	width:96%;
	max-width:1400px;
	margin:0 auto;
	padding:0;
	text-align: center;
}

nav.second ul {
    width: 96%;
    max-width: 1400px;
    margin: 0;
    padding: 0;
    text-align: center;
}

nav.primary ul li {
	margin:0;
	paddding:0;
	z-index:9999;
	list-style-type:none;	
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	-webkit-transition-property: color;
	transition-property: color;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	border-left:#6f7272 1px solid;
}

nav.primary ul li:first-child {border-left:none;}
nav.primary ul li:last-child {border-right:none;}
		
nav.primary ul li:hover, nav.primary ul li:focus, nav.primary ul li:active {
  color: #fff;
}
nav.primary ul li:hover:before, nav.primary ul li:focus:before, nav.primary ul li:active:before {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}
				
nav.primary ul li a {
    font-family: 'oswaldmedium';
	display:block;
	color:#FFFFFF;
	font-weight:normal;
	font-size:18px;
	line-height:18px;
	text-decoration:none;
	padding:10px 26px;
	margin:0;
	text-transform:uppercase;
	-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:#000;
	background: #da181f; 

}
/*  SUB NAV
------------------------------------------------*/
nav.primary ul li li a:link, nav.primary ul li li a:visited{
	font-size: 14px;
	line-height:14px;	
	text-align: left;
	color:#fff;
	background: #262626;
	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:#da181f;
	color:#fff;
}

nav.primary ul li li {
	border-right:none;
	border-left:none;
}
/*  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;
}

/*===================== 
	mobile nav
=======================*/

#menu-button{ /* initially will need to be hidden */
	display: none;
	font-size: 32px;
	width:100%;
	position: relative;
	z-index: 400;/* needs to be lower than nav.mobile, adjust as needed */
	padding: 0 20px;
	background: #000 url(/siteart/navbg.jpg) top center repeat-x;
	border-bottom: none;
	text-align: right;
	min-height: 0 !important;
	box-sizing: border-box;
	}
	#menu-button a{
		 color:#fff;
		 text-decoration: none;
		 text-align: right !important;
		 box-sizing: border-box;
	  }

nav.mobile {
	display:block;
	position: fixed;
	top: 0;
	left: -250px;
	width: 250px;
	height: 100%;
	background: #000;
	z-index: 500; /* needs to be higher than #menu-button, adjust as needed */
	overflow:auto;
	box-sizing: border-box;
}
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;
	box-sizing: border-box;
}
nav.mobile .menu-toggle { /* Menu close button */
	position: absolute;
	top: 12px;
	right: 10px;
	display: inline-block;
	padding: 6px 9px 5px;
	font-family: 'Nunito Sans', sans-serif;
	font-weight: 700;
	line-height: 1;
	background: #222;
	color: #999;
	text-decoration: none;
	vertical-align: top;
	box-sizing: border-box;
}
.menu-toggle {
	text-align: right;
	font-size: 28px;
	color: #000;
	transition: .3s ease;
	box-sizing: border-box;
}

.menu-toggle a:hover {
	color: #000 !important;
	transition: .3s ease;
}

.close_mobile {
	font-size: 26px !important;
	font-weight: 900;
	text-align: right;
	transition: .3s ease;
	box-sizing: border-box;
}

nav.mobile .menu-toggle:hover { /* Menu close button on hover */
	color: #fff;
	transition: .3s ease;
}
nav.mobile ul {
	list-style: none;
	font-weight: 300;
	margin:0;
	padding:0;
	box-sizing: border-box;
}
nav.mobile ul li {
	padding: 10px 0 !important;
}
nav.mobile ul li a {
	position: relative;
	display: block;
	padding-right: 14px;
	color: #999;
	text-decoration: none;
	font-size: 15px;
	letter-spacing: 1px;
	transition: .3s ease;
	box-sizing: border-box;
}
nav.mobile ul li a:hover {
	color: #2b2b2b;
	transition: .3s ease;
}


nav.mobile ul li li a { /* appearance of the sub-level links */
	position: relative;
	display: block;
	padding: 0px 10px 0px 15px;
	color: #000;
	text-decoration: none;
	text-transform: none !important;
	box-sizing: border-box;
}
nav.mobile ul li li li a { /* appearance of third level sub-level links if needed */
	background: #666;
	position: relative;
	display: block;
	padding: 10px 10px 10px 25px;
	color: #000;
	text-decoration: none;
	box-sizing: border-box;
}
nav.mobile ul li span.click{/* dropdown menu idicator arrow be sure to include this image with your image files */ 
	background:url(../siteart/menu-dropdown-arrow.png) 10px 12px no-repeat;
	background-size:55%;
	position:relative;
	display:block;
	float:right;
	margin:-44px 0 0 0;
	cursor:pointer;
	z-index: 12399994;
	width:44px;
	height:44px;
	-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%;
	transition: .3s ease;
}









/*===================== 
	Responsive styles 
=======================*/
@media screen and (max-width: 1480px) {
nav.primary ul li a {padding:10px 18px;}	
}
@media screen and (max-width: 1340px) {
nav.primary ul li a {padding:10px 15px;font-size:17px}	
}
@media screen and (max-width: 1170px) {
	nav.primary ul li a {padding:10px 13px;font-size:16px}
}
@media screen and (max-width: 950px) {
	nav.primary ul li a {padding:10px 12px;font-size:15px}
}
@media screen and (max-width: 890px) {
    .quicksearch form{width: 100%;}
	.nav_contain {display: none;}
	#menu-button{display: block;}
    nav.second ul{display: none}
	.cont-4 {display: none; visibility:hidden;}
	
	#simple-menu {
		float:right;
		background:url(../siteart/mobile-nav-icon.png) no-repeat center center;
		height:38px;
		width:38px;
		display:block;
		cursor:pointer;
	}
	#simple-menu:hover {background:url(../siteart/mobile-nav-icon-hover.png) no-repeat center center;}
	
	nav {border-bottom: 0;}
	nav a:hover{cursor: pointer}
    
    nav.mobile ul li {padding: 10px 0;border-bottom: 1px solid #484848;}
    nav.mobile ul li:hover{background: #da181f; }
    nav.mobile ul li a:hover{color: #fff}
	
}
@media screen and (max-width: 502px) {
	nav.primary ul li a {padding: 10px;}
}
@media screen and (max-width: 490px) {
	nav.primary ul li a {font-size:14px;}
}
@media screen and (max-width: 462px) {
	nav.primary ul li a {font-size:13px; padding: 10px 5px;}
}

