﻿/*===================== 
	nav styles 
=======================*/
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
#menu-button{display: none;}
nav.mobile, .mobile-nav-cont-1 { display:none;}

nav.primary {
	padding:0;
	display:inline-block;
	position:relative;
	margin-bottom: 40px;
	z-index: 9000;
	text-align: left;
	float: right;
	width: 100%;
	box-sizing: border-box;
	background-color: #AC0324;
	}
	nav.primary ul {
		margin: 0;
		padding:0;
        display: flex;
		
		list-style: none;
		}
		nav.primary ul li {
			display:inline-block;		
			float: left;
			text-align:center;
			width: auto;
			position: relative;
			}
nav.primary ul li:first-child {
	padding-left: 40px;
}
			nav.primary ul li a {
                font-family: "Jost", sans-serif;
				color: #fff;
				font-size: 16px;
				text-decoration: none;
				padding: 10px 12px;
				display: block;
				margin: 0 5px;
				text-align: center;
				text-transform: uppercase;
				-webkit-transition: all .2s ease-in-out;
				-moz-transition: all .2s ease-in-out;
				-o-transition: all .2s ease-in-out;
				transition: all .2s ease-in-out;
				font-weight: 600;
				box-sizing: border-box;
				letter-spacing: 1px;
				}	
			/* Appearance of the sub-level links */
			nav.primary ul li li a { 
				padding: 8px 0 8px 15px;
				width: 250px;
				display: block;
				text-align: left;
				background: #000;
				font-size: 14px;
				border-bottom: 1px solid #FFC000;
				border-right: 1px solid #FFC000;
				border-left: 1px solid #FFC000;
			}

			nav.primary ul li li:last-child  {
				border-left: 0;
				border-right: 0;
			}

			nav.primary ul li li:last-child a {
				border-right: 1px solid #FFC000;
			}

			nav.primary ul li li:first-child  {
				border-left: 0;
				border-right: 0;
			}
			/* Appearance of the sub-level links on hover */

/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
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; 
}
nav.primary ul ul li {
    float: none; 
    position: relative;
}



@media screen and (max-width: 1800px)  {
    nav.primary ul li a {
      font-size: 13px;
      padding: 10px;
      letter-spacing: 0.5px;
    }
}

	/*==============================
		Mobile Nav Styles			
	================================*/	
@media screen and (max-width: 1420px) {
	
    header {
        padding:0px!important;
        align-items: stretch;
    }
    
	nav.primary{display:none;}
	#menu-button{ 	
		position: relative;
	    display: block;
		vertical-align: middle;
		float: left;
		padding: .75em 0.938em 0.813em 0.938em;
		line-height: 1.125em;
		cursor: pointer;
		letter-spacing: 1px;
		font-weight: 900;
		text-decoration: none;
		background-color: #AC0324;
		width: 100%;
		z-index: 10000;
	}
	
	#menu-button > a {
		color: #fff;
		text-decoration: none;
	}
	
    .menu-toggle {
        display: flex;
        gap:13px;
        align-items: center;
    }

	nav.mobile { /* this section is new updated position width and positioning*/
		position: relative;
		left: 0px;
		width: 100%;
		height: auto;
		background: #AC0324;
		z-index: 500; 
		overflow:auto;
		border-bottom: 2px solid #fff;
	}

	/* MENU LIST STYLE */
	nav.mobile ul {
		color: #fff;
		margin: 0;
		padding: 0;
		font-size: 14px;
		font-weight: 600;
		text-transform: uppercase;
		list-style: none;
		overflow: hidden;
		text-align: center;
	}
	nav.mobile ul li {
		display: block;
    	border-top: solid #fff 1px;
	}
	

	/* FIRST LEVEL */
	nav.mobile ul li a {	
		padding: 5px 0;
		margin: 0px;
		text-decoration: none;
		color: #fff;
		font-weight: 500;
		font-size: 16px;
		display: block;
	}
	
	nav.mobile ul li a:hover {	
		background: #fff;
    	color: #000;
    	transition: all 300ms ease;
	}
	
	.flex-heading {
		display: flex;
		flex-direction: column-reverse;
	}
	
	.flex-mobile {
		display: flex;
		flex-direction: column;
	}
	
}

