﻿
.clear{clear:both;}

/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile { display:none;}

nav.primary {
	padding:0;
	display:inline-block;
	margin:0;
	width:100%;
	position:relative;
	font-family: industry, sans-serif;
	}
	nav.primary ul {
		margin:0; 
		padding:0;
		}
		nav.primary ul li {
			display:inline-block;
			margin:0;
			list-style-type:none; 
			width:auto;
			}
		nav.primary > ul {
			display: flex;
			justify-content: flex-end;
			align-items: center;
			}
		nav.primary > ul > li {
			width:20%;
			}
			nav.primary ul li a {
				color: #fff;
				font-size: 16px;
				text-decoration: none;
				display: block;
				margin: 0;
				text-align: center;
				text-transform: uppercase;
				-webkit-transition: .4s ease-in;
				-moz-transition: .2s ease-in;
				-o-transition: .2s ease-in;
				transition: .2s ease-in;
				font-weight: 600;
				letter-spacing: 2px;
				width: 100%;
				display: block;
				text-align: center;
				padding: 4px 0;
				border-left: #666666 solid 2px;
				}
			nav.primary ul li:first-child a {
				border-left: none;
				}
			nav.primary ul li a.cta {
				color: #fff !important;
				border-left: none;
				padding: 15px 0;
				clip-path: polygon(0 0, 100% 0%, 100% 100%, 5px 100%, 0  calc(100% - 5px));
				}	
			nav.primary ul li a:hover {
				color:#dc2e25;
				transform: none !important;
				}
			/* Appearance of the sub-level links */
			nav.primary ul li li a { 
				padding:20px;
				color:#fff;
				background: #333;
				text-align:left;
				border-right:none;
				border-left:none;
			}
			/* Appearance of the sub-level links on hover */
			nav.primary ul li li a:hover { 
			}
/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
    display: block;
    position: absolute; 
    line-height:18px; 
    padding-top: 0;
	transform-origin: top;
	transition: ease all 0.1s;
	opacity: 0;
	z-index: 10000;
	clip-path: polygon(0 0, 100% 0%, 100% 100%, 5px 100%, 0  calc(100% - 5px));
	
	pointer-events: none;
}
nav.primary ul ul ul {
    position: absolute; 
    left: 100%;
    top:0; 
}
nav.primary ul li:hover > ul {  
    display: block;
    padding-top: 24px;
	transition: ease all 0.2s;
	opacity: 1;
	pointer-events: auto;
}
nav.primary ul ul li {
    float: none; 
    position: relative;
    margin:0;
	display: block;
}

@media screen and (max-width: 1200px)  {
	nav.primary ul li a, #inv-search input{font-size:14px;}	
}


/******** End of primary Nav ***************/

@media screen and (min-width: 1024px)  {
		
	.menu-toggle.exit-click{
		display: none !important;
	}
}

@media screen and (max-width: 1023px)  {

	
	.mobile:not(.open) + .menu-toggle.exit-click{
		display: none;
	}
	.mobile.open + .menu-toggle.exit-click{
		position: fixed !important;
		top: 0 !important;
		left: 252px !important;
		right: 0 !important;
		bottom: 0 !important;
		z-index: 1000;
	}
/*==============================
	Mobile Nav Styles			
================================*/	
nav.primary{display:none;}
#menu-button{ 
	width: 100%;
	display: flex;
	align-items: center;
	position: relative;
    line-height: 45px; 
	z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
	background: #cdced0;
	text-align: center;
	}
	#menu-button a{
		width: 33.33333%;
		display: block;
		color: #000;
		font-size: 20px;
		display: flex;
		justify-content: center;
		align-items: center;
	  }
	#menu-button a:first-child{
		border-right: solid 2px #a4a5a6;
		height: 20px;
		display: flex;
		justify-content: center;
		align-items: center;
	  }
	#menu-button a:nth-child(2){
		height: 20px;
	  }
	#menu-button a.menu-toggle{
		background: #dc2e25;
		 color:#fff;
		height: 45px;
	  }
nav.mobile {
	display:block;
	position: fixed;
	top: 0;
	left: -252px;
	width: 252px;
	height: 100%;
	background: #333;
	z-index: 500; /* needs to be higher than #menu-button, adjust as needed */
	overflow:auto;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-family: industry, sans-serif;
}
/* MENU HEADER SOCIAL MEDIA */
	nav.mobile .social-media {
		position: relative;
		text-decoration: none;
		display: inline-block;
		font-size:16px;
		word-spacing:13px;
		padding:0 0 0 15px;
		color: #ccc !important;
	}
	
	nav.mobile .social-media a:link, nav.mobile .social-media a:visited {color:#ccc; text-decoration:none;}
	nav.mobile .social-media a:hover, nav.mobile .social-media a:active {color:#fff; text-decoration:underline;}

/* MENU HEADER STYLES */
nav.mobile .mobile_top {
	position: relative;
	display:block;
	padding: 0;
	margin:25px 15px 10px;
	color: #999;
	font-size: 16px;
	font-weight: 400;
}

/* MENU CLOSE 'X' BUTTON */
nav.mobile .menu-toggle:not(.exit-click) {
	position: absolute;
	padding: 3px 8px 3px;
	font-family: Arial, sans-serif;
	font-size:24px;
	font-weight: bold;
	line-height: 1;
	color: #fff;
	text-decoration: none;
	top: 0;
	right:-2px;
}
nav.mobile .menu-toggle:not(.exit-click):hover { /* Menu close button on hoveer */
	color: #fff;
}

/* MENU LIST STYLE */
nav.mobile ul {
	list-style: none;
	font-weight: 300;
	margin:0;
	padding:0;
}
nav.mobile ul li {
	position:relative;
}

/* FIRST LEVEL */
nav.mobile ul li a {
	position: relative;
	display: block;
	font-size:14px;
	padding: 15px;
	color: #fff;
	text-decoration: none;
	text-align: left;
}
nav.mobile ul li a:hover {
	background: #dc2e25; 
	color: #fff; 
}

/* SECOND LEVEL */
nav.mobile ul li li:last-child {border:none;}
nav.mobile ul li li a {
	background: #444;
	position: relative;
	display: block;
	padding: 15px;
	color: #fff;
	text-decoration: none;
}

/* THIRD LEVEL */
nav.mobile ul li li li:last-child {border:none;}
nav.mobile ul li li li a {
	background: #555;
	position: relative;
	display: block;
	color: #fff;
	text-decoration: none;
}

nav.mobile ul li .click i{/* dropdown menu idicator arrow be sure to include this image with your image files */ 
	position:absolute;
	display:block;
	cursor:pointer;
	z-index: 12399994;
	top:0;
	right:0;
	width:auto;
	height:auto;
	padding: 17px 22px;
	color:#fff;

}
nav.mobile ul li .click.open i:before{
    content: "\f068";
}
	
.nav-footer {color:#fff; position:relative; text-align:center; font-size:14px; line-height:24px; padding:30px 0; text-transform: uppercase;}

/* FONT AWESOME ICONS */
nav.mobile ul li a .fa{
	width:25px;
	font-weight:100;
	padding:8px 3px;
	margin:0 6px 0 0;
	text-align:center;
	background:#292929;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}


nav.mobile ul li .fa-chevron-down {color:#999;}
}

