﻿.clear{clear:both;}

/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile {display:none;}

nav.primary { 
	position: relative; width: 100%; padding: 0; margin: 0; 
	display: flex; justify-content: flex-end; align-items: stretch; 
}
nav.primary ul { 
	position: relative; width: 100%; padding: 0; margin: 0; 
	display: flex; justify-content: flex-end; align-items: stretch; 
}
nav.primary > ul { gap: 30px; padding: 0 30px; }
nav.primary ul li { 
	position: relative; padding: 0; margin: 0; list-style-type: none;
	display: flex; align-items: stretch; 
}
nav.primary ul li a {
	color: #000; letter-spacing: .25px; line-height: 1.2; 
	font-size: 16px;
	font-weight: 800; gap: 8px; 
	text-align: center;
	padding: 0 12px; 
	position: relative; width: 100%; 
	display: flex; justify-content: center; align-items: center; 
	text-decoration:none; text-transform: uppercase;
	-webkit-transition: .2s ease all; 
	-moz-transition: .2s ease all; 
	-o-transition: .2s ease all; 
	transition: .2s ease all;
	cursor: pointer; margin: 0; 
}	
nav.primary ul li a i { width: 12px; height: 10px; line-height: 6px; margin-left: 8px; margin-top: -6px; }
nav.primary ul li a i:before { height: 100%; line-height: 6px; margin-top: -1px; display: flex; justify-content: center; align-items: flex-start; position: absolute; }
nav.primary ul li a:hover { background: #1a316b; color: #fff; }

/* Appearance of the sub-level links */
nav.primary ul li li a { 
	justify-content: flex-start; 
	text-align: left; 
	font-size: 16px; font-weight: 400; 
	padding: 12px; text-transform: none; 
	color: #000;
	background: #fff;
}

/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover { background: #1a316b; color: #fff; }

/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul { display: none; width: unset; position: absolute; top: 100%; left: 0; box-shadow: 0 4px 10px rgb(0 0 0 / 70%); }
nav.primary ul ul ul { position: absolute; left: 100%; top: 0; }
nav.primary ul li:hover > ul { display: block; line-height: 18px; z-index: 100; }
nav.primary ul ul li { width: 100%; position: relative; display: block; float: none; margin: 0; }

@media only screen and (max-width: 1599px) {
	nav.primary ul li a { padding: 0 6px; }
}

@media only screen and (max-width: 1199px) {
	nav.primary { justify-content: center; }
	nav.primary > ul { justify-content: center; gap: 25px!important; padding: 0; }
	nav.primary ul li a { padding: 0 20px; }
}

@media only screen and (max-width: 1040px) {
	nav.primary > ul { gap: 20px!important; }
}

@media only screen and (max-width: 1000px) {
	nav.primary > ul { gap: 10px!important; }
}

/******** End of primary Nav ***************/

@media screen and (min-width: 992px) {
	.menu-toggle.exit-click { display: none !important; }
}

@media screen and (max-width: 991px) {
	.mobile + .menu-toggle.exit-click{
		position: fixed !important; z-index: 499; pointer-events: none; opacity: 0; 
		top: 0 !important;left: 0 !important;right: 0 !important;bottom: 0 !important; 
		background: rgba(36,32,33,0.33); transition: ease opacity 0.3s; 
	}
	.mobile.open + .menu-toggle.exit-click{
		pointer-events: auto; opacity: 1;
		-webkit-backdrop-filter: blur(4px);
		backdrop-filter: blur(4px);
	}
/*==============================
	Mobile Nav Styles			
================================*/	
	nav.primary{display:none;} 
	nav.primary ul { flex-direction: column; gap: 0!important; } 
	nav.primary ul li { width: 100%!important; display: flex; flex-direction: column; align-items: stretch; } 
	nav.primary > ul > li { width: 100%!important; border-bottom: 1px solid #cab7b7; display: flex; flex-direction: column; align-items: stretch; } 
	nav.primary ul li:last-child { border-bottom: none; } 
	nav.primary ul li a { justify-content: space-between; font-weight: 500; padding: 15px 20px 10px 20px; text-transform: none; min-height: 44px; } 
	nav.primary ul li a span { width: 100%; display: flex; justify-content: space-between; align-items: center; } 
	nav.primary ul li a i { font-weight: 900!important; width: 18px; height: 18px; margin: 0!important; } 
	nav.primary ul li a i:before { content: "\2b"; font-weight: 900!important; width: 18px; height: 18px; margin: 0!important; } 
	
	.has-dpdown.active { background: #1a316b; color: #fff; } 
	.has-dpdown.active i { transform: rotate(45deg); } 
	
	nav.primary ul ul { position: relative; width: 100%!important; padding-left: 15px; box-shadow: 0 6px 12px rgba(0,0,0,.175); } 
	nav.primary ul ul li a { padding: 10px 15px; } 
	
	#menu-button { 
		position: relative; display: flex; justify-content: flex-end; align-items: stretch; 
		z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
	}
	#menu-button a {
		color: #000; font-size: 16px; padding: 8px; min-height: 50px; min-width: 50px; 
		position: relative; display: flex; justify-content: center; align-items: center; column-gap: 12px; 
		cursor: pointer; text-decoration: none; transition: .2s ease all; 
	}
	#menu-button a i { font-size: 18px; }
	#menu-button a span { font-size: 16px; font-weight: 500; }
	
	#menu-button a:hover { color: #000; }

	.dpdown-list:not(.open) { display: none; }
	.dpdown-list.open { display: flex!important; }
}