﻿
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&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% - 400px);
	}
	nav.primary ul {
		margin:0; 
		padding:0;
		display:flex; 
		flex-direction:row;
		}
		nav.primary ul li {
			display:flex;
			flex:1;
			margin:0;
			border:solid 1px #ccc;
			list-style-type:none; 
			width:auto;
			position:relative;
			}
			nav.primary ul li a {
				color:#000;
				opacity:1; 
				outline:0;
				font-size:16px !important;
				letter-spacing: 1px;
				text-decoration:none;
				position:relative;
				display:inline-block;
				text-align:center;
				line-height:82px;
				text-transform:uppercase;
				font-weight:600;
				width:100%;
				height:100%;
				font-family: 'raleway', sans-serif;
				
				&:hover{
					&:after{opacity:1;
					transform: translateY(0) rotateX(0);}
					&:before{opacity:0;
					transform:translateY(50%) rotateX(90deg);}
				}
				&:after{
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    color: #fff;
    display: block;
    transition: .5s ease;
    position: absolute;
    background: #ef2328;
	content: attr(data-back);
    transform: translateY(-50%) rotateX(90deg);
  }

  &:before{
    top: 0;
    left: 0;
    opacity: 1;
    color: #000;
    display: block;
    padding: 0 10px;
    line-height: 82px;
    transition: .5s ease;
    position: relative;
    background: #fff;
	 content: attr(data-front);
    transform: translateY(0) rotateX(0);
  }
}
	

				nav.primary ul li a:hover{
				color:#000
				}
			/* Appearance of the sub-level links */
			nav.primary ul li li a { 
				font-size:13px;
				letter-spacing: .2px;
				line-height:24px;
				padding:7px 10px;
				color:#fff;
				background-color: #494848;
				text-align:left;
				transition:.4s ease;
			}
			/* Appearance of the sub-level links on hover */
			nav.primary ul li li a:hover { 
				color:#4b4b4b;
				background-color:#fff;
			}
/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
    display: none;
    position: absolute; 
	top:80px;
}
nav.primary ul ul ul {
    position: absolute; 
    left: 100%;
    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;
}




/******** End of primary Nav ***************/

@media screen and (max-width: 1250px)  {

/*==============================
	Mobile Nav Styles			
================================*/	
nav.primary{display:none;}
#menu-button{ 
	width: calc(100% - 380px);
	display: inline-block;
	font-size: 24px;
	position: relative;
	line-height:80px; 
	z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
	background: #000;
	text-align: center;
	border:solid 1px #bbb;
	box-sizing:border-box;
	}
	#menu-button a{
		 color:#fff;
		 text-decoration: none;
		 padding:2px 0 0 0; 
		 font-weight:normal;
		line-height:80px;
		height: 100%;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
	  }
nav.mobile {
	display:block;
	position: fixed;
	top: 0;
	left: -250px;
	width: 250px;
	height: 100%;
	background: #000;
	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: #fff;
	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: #fff;
	text-decoration: none;
	right:13px;
}
nav.mobile .menu-toggle:hover { /* Menu close button on hoveer */
	color: #fff;
}
	.menu-title{color:#fff;}
	.mobile p{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:15px;
	text-transform:uppercase;
	padding: 15px 10px;
	color: #fff;
	text-decoration: none;
	text-align: left;
	font-family: 'raleway', sans-serif;
}
nav.mobile ul li a:hover {
	background:rgba(45,45,45,0.5); 
	color: #fff; 
	border-left:4px #ef2328 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: #444;
	position: relative;
	display: block;
	padding: 10px 10px 10px 15px;
	border-left:4px #444 solid;
	color: #ccc;
	text-decoration: none;
}
nav.mobile ul li li a:hover {background:rgba(65,65,65,0.5);}

/* 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;
	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{/* 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: 10px;
	color:#fff;
	}
.nav-footer {color:#ccc; position:relative; text-align:center; font-size:14px; line-height:16px; padding:15px 0;}

}

