﻿@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200;400;600&family=Saira:wght@200;300;400;500;600;700;800;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: 100%;
  background-color: #397f2d;
}
nav.primary ul {
  margin: 0;
  padding: 0;
  text-align: center;
}
nav.primary ul li {
  display: inline-block;
  margin: 0;
  list-style-type: none;
  width: auto;
  position: relative;
}
nav.primary ul li a {
  color: #fff;
  font-size: 18px !important;
  line-height: 20px;
  text-decoration: none;
  display: block;
  text-align: center;
  text-transform: uppercase;
  font-weight: 300;
  padding: 5px 12px;
  font-family: "Oswald", sans-serif;
  transition: 0.2s ease;
}

nav.primary ul li a.white {
  background-color: #fff;
  color: #397f2d;
}

nav.primary ul li a:hover {
  background: #333;
  color: #fff;
}
/* Appearance of the sub-level links */
nav.primary ul li li a {
  font-size: 16px !important;
  line-height: 1.4;
  padding: 7px 10px;
  color: #fff;
  font-weight: 300;
  text-align: center;
  background-color: #494848;
  transition: 0.4s ease;
}
/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover {
  color: #fff;
  background-color: #333;
}
/* 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: 200px;
  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: 1220px) {
  nav.primary ul li a {
    font-size: 16px !important;
    padding: 5px 8px;
  }
}

@media screen and (max-width: 1120px) {
  nav.primary ul li a {
    font-size: 15px !important;
    padding: 5px 8px;
  }
}

@media screen and (max-width: 1000px) {
  /*==============================
	Mobile Nav Styles			
================================*/
  nav.primary {
    display: none;
  }
  #menu-button {
    width: 100%;
    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: #397f2d;
    text-align: center;
    box-sizing: border-box;
  }
  #menu-button a {
    color: #000;
    text-decoration: none;
    line-height: 50px;
    height: 100%;
    display: flex;
    font-size: 28px;
    font-weight: 800;
    justify-content: flex-end;
    width: 95%;
    margin: 0 auto;
  }
  nav.mobile {
    display: block;
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #397f2d;
    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 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: 17px;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    text-align: center;
  }
  nav.mobile ul li a:hover {
    background: #333;
    color: #fff;
  }

  /* 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: #fff;
    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: #fff;
    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: #1b1b1b;
    position: relative;
    text-align: center;
    font-size: 14px;
    line-height: 16px;
    padding: 15px 0;
  }
}
