﻿
.clear{clear:both;}
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@100;200;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:flex;
	justify-content: flex-end;
	margin: 0;
	position:relative;
	width:100%;
	margin-top:75px;
	background: linear-gradient(to right, transparent 50%, #2E843B 50%);
	}
	nav.primary ul {
		margin:0; 
		padding:0;
		float:right;
		margin-right: 8%;
		background:#2E843B;
		}
		nav.primary ul li {
			display:inline-block;
			margin:0;
			list-style-type:none; 
			width:auto;
			}
			nav.primary ul li a {
				color:#fff;
				font-size:18px !important;
				text-decoration:none;
				position:relative;
				display:block;
				margin:0px 1px;
				text-align:center;
				text-transform:uppercase;
				-webkit-transition:.4s ease-in;  
				-moz-transition:.4s ease-in;  
				-o-transition:.4s ease-in;  
				transition:.4s ease-in;	
				padding:10px 20px;
				font-family: 'roboto_regular';
				}	
			nav.primary ul li a:hover {
				background: #d6a024;
				color:#fff;
				}
			/* 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: #2E843B;
				text-align:left;
				border-bottom: 1px solid #d6a024;
			}
			/* Appearance of the sub-level links on hover */
			nav.primary ul li li a:hover { 
				color: #2E843B;
				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; 
}
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;
}

.my-logo img{max-width: 200px;}
.my-logo{
/*	width:100%;*/
	position: absolute;
    top: 15px;
    left: 50px;
}

/******** End of primary Nav ***************/

@media screen and (max-width: 1240px)  {
	.nav-boarder {margin-top: 90px;}
/*==============================
	Mobile Nav Styles			
================================*/	
nav.primary{display:none;}
#menu-button{ 
	width: 100%;
	display: inline-block;
	font-size: 24px;
	position: relative;
	line-height:60px; 
	z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
	text-align: right;
	}
	#menu-button a{
		 color:#2E843B;
		 text-decoration: none;
		 font-weight:700;
		font-size: 30px;
        margin-right: 10px;
		cursor: pointer;
	  }
	#menu-button a:hover {color: #d6a024}
	
	.top-ul {margin-top: 50px!important;}
	.top-ul > li:first-child {border-top:1px #888 solid; }
nav.mobile {
	display:block;
	position: fixed;
	top: 0;
	left: -350px;
	width: 250px;
	height: 100%;
	background: #fff;
	z-index: 500; /* needs to be higher than #menu-button, adjust as needed */
	overflow:auto;
	}

/* 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;
/*	background: #222;*/
	color: #000;
	text-decoration: none;
	top:10px;
	right:13px;
}
nav.mobile .menu-toggle:hover { /* Menu close button on hoveer */
/*	color: #fff;*/
}

/* MENU LIST STYLE */
nav.mobile ul {
	list-style: none;
	font-weight: 300;
	margin:0;
	padding:0;
}
nav.mobile ul li {
	border-bottom:1px #888 solid;
	position:relative;
	line-height: 40px;
}

/* FIRST LEVEL */
nav.mobile ul li a {
	position: relative;
	display: block;
	font-size:18px;
	padding: 0 15px;
	color: #000;
	text-decoration: none;
	text-align: left;
	font-family: 'roboto_condensedbold';
	cursor: pointer;
}
nav.mobile ul li a:hover {
	background:#2E843B; 
	color: #fff; 
}

/* SECOND LEVEL */
nav.mobile ul li li:last-child {border:none;}
nav.mobile ul li li a {
	background: #757575;
	position: relative;
	display: block;
	padding: 0 15px;
	color: #fff;
	text-decoration: none;
}
nav.mobile ul li li a:hover {background:#2E843B;}

nav.mobile ul li .fa-chevron-down {color: #000;margin-left: 20px;}
}

@media screen and (max-width: 1020px)  {
	#menu-button{width:100%;}
}

@media screen and (max-width:750px){
	.my-logo img {max-width: 160px;}
	.my-logo {top: 60px;}
}

@media screen and (max-width:500px){
	.my-logo {left: 0;right: 0;top: 50px;display: flex;justify-content: center;}
	.nav-boarder {margin-top: 130px;}
}

@media screen and (max-width:450px){
	#menu-button{width:100%;}
}