﻿.clear{clear:both;}

/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile { display:none;}

nav.primary {
	padding:0;
	margin:0;
	max-width:100%;
	position:relative;
    text-align:center;
	}
	nav.primary ul {
		margin:0 auto; 
		padding:0;
		display: flex;
		justify-content: space-between;
		}
		nav.primary ul li {
			margin:0; 
			padding:0; 
			list-style-type:none;
            display:inline-block;
			}
			nav.primary ul li a {
				display:flex; justify-content: center; align-items: center; column-gap: 10px; 
				color:#000;
                font-weight:700;
				font-size:22px;
				text-decoration:none;
                line-height:60px;font-family: 'Helvetica,Arial,Tahoma,Verdana', sans-serif;
				padding:0px 16px;
				margin:0;
				text-transform: uppercase; 
				text-align:center;
				-webkit-transition:.4s ease-in;  
				-moz-transition:.4s ease-in;  
				-o-transition:.4s ease-in;  
				transition:.4s ease-in;	
				position: relative;
				 
				}	
nav.primary ul li a:before { position: absolute; content: ""; bottom: 12px; left: 20px; right: 20px; height: 2px; background: #fff; transition: .4s ease all; }
nav.primary ul li a:hover:before { background: #ee1420; }
			nav.primary ul li a:hover {
				color: #ee1420;
				}
			/* Appearance of the sub-level links */

nav.primary ul li li { width: 25%; display: flex; justify-content: flex-start; align-items: flex-start; padding: 20px; box-sizing: border-box; background: #fff; }
nav.primary ul li li.lvl2title { width: 100vw; }
nav.primary ul li li.lvl2title a { color: #ee1420; font-size: 27px; font-weight: 700; cursor: pointer;  }
			nav.primary ul li li a { 
                display:flex; justify-content: center; align-items: center; column-gap: 10px; 
				font-size:22px;
				line-height:26px;
				padding:4px; box-sizing: border-box; 
				color:#000;
				font-weight: 400;
				background: #fff; 
				text-align:left;
				border:none;
			}
			/* Appearance of the sub-level links on hover */
nav.primary ul li li a:before { display: none!important; opacity: 0; background: #fff; }
nav.primary ul li li a:hover:before { display: none!important; opacity: 0; background: #fff; }
			nav.primary ul li li a:hover { 
				color: #ee1420;
			}
/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
	display: none; 
    position: fixed;  left: 0;  background:#fff; border-top: 1px solid #000; border-bottom: 1px solid #000;
	 flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; 
}
nav.primary ul ul ul {
    position: absolute; 
    left: 100%;
    top:0; 
}
nav.primary ul li:hover > ul {  
    display: flex;
    line-height:18px; 
    z-index: 99999999;
}/*
nav.primary ul ul li {
    display: block;
    float: none; 
    position: relative;
	width: 25%;
    margin:0;
}*/

@media only screen and (max-width: 1300px) { 
	nav.primary ul li a { font-size: 20px; padding: 0 12px; }
	nav.primary ul li li a { font-size: 20px; }
}

@media only screen and (max-width: 1200px) { 
	nav.primary ul li a { padding: 0 9px; }
}

@media only screen and (max-width: 1100px) { 
	nav.primary ul li a { font-size: 18px; }
	nav.primary ul li li a { font-size: 18px; }
}

/******** End of primary Nav ***************/

@media screen and (max-width: 992px)  {

/*==============================
	Mobile Nav Styles			
================================*/	
nav.primary{display:none;}
#menu-button{
	width: 53px; height: 100%;
	display: flex; justify-content: center; align-items: center; 
	font-size: 50px;
	position: relative;
	line-height: 50px;
	z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
	text-align: right;
	}
	#menu-button a{
		 color:#ee1420;
		 text-decoration: none;
		width: 53px; height: 100%;
	display: flex; justify-content: center; align-items: center; 
		 text-align: revert;
		 font-weight:normal;
		 margin-left: auto;
		 }
nav.mobile {
	display:block;
	position: fixed;
	top: 127px;
	right: -320px;
	width: 320px;
	height: 100%;
	background: #fff;
	z-index: 99999999; /* needs to be higher than #menu-button, adjust as needed */
	overflow:auto;
}
/* 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:15px 0 10px 0;
	color: #999;
	font-size: 18px;
	font-weight: 400;
}

/* MENU CLOSE 'X' BUTTON */
nav.mobile .menu-toggle {
	position: absolute;
	padding: 3px 8px 3px;
	font-family: Arial, sans-serif;
	font-size:36px;
	font-weight: bold;
	line-height: 1;
	background: #fff;
	color: #ee1420;
	text-decoration: none;
	top:-4px;
	right:13px;
}
nav.mobile .menu-toggle:hover { /* Menu close button on hoveer */
	
}

/* MENU LIST STYLE */
nav.mobile ul {
	list-style: none;
	font-weight: 300;
	margin: 76px 0 0 0;
	padding:0;
}
nav.mobile ul li {
	/* border-top: 1px solid #454545; */
	
	position:relative;
}

/* FIRST LEVEL */
nav.mobile ul li a {
	position: relative;
	display: block;
	font-size: 18px;
	padding: 16px 10px;
	color: #000;
	text-transform: uppercase; 
	text-decoration: none;
	/* border-left:4px #333 solid; */
	text-align: left;
}
	nav.mobile ul li a svg, nav.mobile ul li a i { margin-left: 12px; }
nav.mobile ul li a:hover {
	color: #ee1420;
	border-left:4px #ee1420 solid; /* border highlight - Change to fit match site colors */
}

/* SECOND LEVEL */
nav.mobile ul ul {margin-top: 0; }
nav.mobile ul li li:last-child {border:none;}
nav.mobile ul li li a {
	background: #fff;
	position: relative;
	display: block;
	padding: 10px 10px 10px 15px;
	border-left:4px #fff solid;
	color: #000;
	text-decoration: none;
}
nav.mobile ul li li a:hover {}

/* THIRD LEVEL */
nav.mobile ul li li li:last-child {border:none;}
nav.mobile ul li li li a {
	background: #fff;
	position: relative;
	display: block;
	padding: 10px 10px 10px 25px;
	color: #ccc;
	text-decoration: none;
	border-left:4px #555 solid;
}
nav.mobile ul li li li a:hover {background:rgba(85,85,85,0.5);}

nav.mobile ul li .click svg{/* dropdown menu idicator arrow be sure to include this image with your image files */ 
	position:absolute;
	display:block;
	cursor:pointer;
	z-index: 12399994;
	box-sizing: border-box; 
	top: calc(50% - 12px);
	right:20px;
	width: 24px; height: 24px; 
	padding: 4px; color: #222;
}
.nav-footer {color: #999;position:relative;text-align:center;font-size:14px;line-height:16px;padding:15px 0; margin-bottom: 240px; }

/* FONT AWESOME ICONS */
nav.mobile ul li a .fas{
	width:25px;
	padding:8px 3px;
	margin:0 6px 0 0;
	text-align:center;
	background:#292929;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

	.mobile-nav-contact { width: 100%; display: flex; flex-direction: column; align-items: flex-start; padding: 40px 30px; box-sizing: border-box; text-align: left; }
	.mobile-nav-contact * { transition: .4s ease all; }
	.mobile-nav-contact *:not(.red-text) { color: #000; }
	.mobile-nav-contact .red-text { color: #ee1420!important; font-weight: 700; }
	.mobile-nav-contact a.red-text { margin-top: 8px; }
	.mobile-nav-contact a:hover { text-decoration: none; color: #ee1420!important; }

nav.mobile ul li .fa-chevron-down {color:#999;}
}