﻿
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400;500;700;800;900&family=Open+Sans:wght@300;400;500;600;700;800&display=swap');
/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile { display:none;}

nav.primary {
	padding:0px;
	display:inline-block;
	margin: 0;
	float:right;
	position:relative;
	width:calc(100% - 350px);
	background-color:#fff; 
	border-radius:5px;
	}
	nav.primary ul {
		margin:0; 
		padding:0;
		display:flex; 
		flex-direction:row; 
		justify-content: center;
		}
		nav.primary ul li {
			display:inline-block;
			margin:0;
			list-style-type:none; 
			width:auto;
			position:relative;
			}
			nav.primary ul li a {
				color:#000;
				font-size:14px !important;
				letter-spacing: 1px;
				line-height:20px;
				text-decoration:none;
				display:block;
				text-align:center;
				text-transform:uppercase;
				font-weight:600;
				padding:32px 12px;
				font-family: 'open-sans', sans-serif;
				}	

				nav.primary ul li a:hover{
				background-color:#a3130c;
					color:#fff;
				}
			/* Appearance of the sub-level links */
			nav.primary ul li li a { 
				font-size:13px;
				letter-spacing: .2px;
				line-height:24px;
				padding:15px 10px;
				color:#fff;
				background-color: #000;
				text-align:left;
				transition:.4s ease;
			}
			/* Appearance of the sub-level links on hover */
			nav.primary ul li li a:hover { 
				background-color:#a3130c;
			}
/* 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: 98%;
    top:0; 
}
nav.primary ul li:hover > ul {  
    display: block;
    line-height:18px; 
    z-index: 1000;
}
nav.primary ul ul li {
    float: none; 
	width: 220px;
    position: relative;
    margin:0;
	display: block;
}


/** drop down btns**/
.drop-down a:hover{
	color:#fff!important;
	background-color:#D36D08!important;
}

@media screen and (max-width: 1425px)  {
	nav.primary ul li a {
		font-size: 12px !important;
		letter-spacing: 0;
	}
}


/******** End of primary Nav ***************/

@media screen and (max-width: 1225px)  {

/*==============================
	Mobile Nav Styles			
================================*/	
nav.primary{display:none;}
#menu-button{ 
	width: 50%;
	display: inline-block;
	font-size: 24px;
	position: relative;
	line-height:50px; 
	z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
	background: #fff;
	text-align: center;
	box-sizing:border-box;
	border:none;
	border-radius:10px;
	}
	#menu-button a{
		 color:#a3130c;
		 text-decoration: none;
		 padding:15px 0 0 0; 
    	display: flex;
    	justify-content: right;
    	width: 95%;
		font-size:30px;
		font-weight:800;
		border:none;
	  }
nav.mobile {
	display:block;
	position: fixed;
	top: 0;
	left: -250px;
	width: 250px;
	height: 100%;
	box-shadow:3px 3px 6px rgba(0,0,0,.2);
	background: #fff;
	z-index: 500; /* needs to be higher than #menu-button, adjust as needed */
	overflow:auto;
}


/* MENU HEADER STYLES */
nav.mobile .mobile_top {
	position: relative;
	display:block;
	padding: 0;
	margin:50px 0 10px 0;
	color: #000;
	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:24px;
	font-weight: bold;
	line-height: 1;
	color: #000;
	text-decoration: none;
	right:13px;
}
nav.mobile .menu-toggle:hover { /* Menu close button on hoveer */
	color: #fff;
}
	.menu-title{color:#000;}
	.mobile h3{padding:10px;}
/* 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:16px;
	padding: 15px 10px;
	color: #000;
	text-decoration: none;
	text-align: left;
}
nav.mobile ul li a:hover { 
	color: #000; 
	border-left:4px #000 solid; /* border highlight - Change to fit match site colors */
}

/* SECOND LEVEL */
nav.mobile ul li li:last-child {border:none;}
nav.mobile ul li li a {
	background: #a3130c;
	position: relative;
	display: block;
	padding:15px;
	color: #fff!important;
	border-left:4px solid #000;
	text-decoration: none;
}
nav.mobile ul li li a:hover {background:#000;}

/* THIRD LEVEL */
nav.mobile ul li li li:last-child {border:none;}
nav.mobile ul li li li a {
	background: #000;
	position: relative;
	display: block;
	padding: 10px 10px 10px 25px;
	color: #fff;
	text-decoration: none;
	border-left:4px #000 solid;
}
nav.mobile ul li li li a:hover {background:#000;}

nav.mobile ul li .click{/* dropdown menu idicator arrow be sure to include this image with your image files */ 
	position:relative;
	display:block;
	cursor:pointer;
	width:auto;
	height:auto;
	padding: 15px 10px;
	color:#000;
	}
	
.nav-footer {color:#1B1B1B; position:relative; text-align:center; font-size:14px; line-height:16px; padding:15px 0;}
}
@media screen and (max-width: 650px)  {
#menu-button{border-radius:0!important;}
	#menu-button a{font-size:38px;}
}
@media screen and (max-width: 380px)  {
#menu-button{width:20%;}
	#menu-button a{width:80%;}
}