/**********************************
Responsive navbar-brand image CSS
- Remove navbar-brand padding for firefox bug workaround
- add 100% height and width auto ... similar to how bootstrap img-responsive class works
***********************************/

#nav {
    width: 100%;
    display: block;
    background-color: rgba(255,255,255,0.5);
    border-radius: 0;
    border: 0;
    z-index: 11;
    position: absolute;
}

#nav ul {
    padding: 0;
    margin: 0 0 0 104px;
    list-style: none;
    position: relative;
    display: inline-block;
    float: left;
}

#nav ul li {
    display: list-item;
    height: 100%;
    list-style: none;
    float: left;
}

#nav ul li a {
  color: #222;
  display: block;
  font-family: PromptMedium;
  font-size: 1.05em;
  padding: 15px 16px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

#nav ul li a:hover {color:#222; text-shadow: 1px 1px 2px #DEDDC8; position: relative; top:1px;}

/* The Dropdown Styles */
/* =================== */
/* Hide Dropdowns by Default */
#nav ul ul {
    display: none;
    position: absolute;
    z-index: 10000;
    margin-left: 8px;
    min-width: 228px;
    background: #faf8ef;
    border: 1px solid rgba(53, 74, 58, 0.2);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 18px 42px rgba(26, 48, 35, 0.24);
    margin-top: 0;
    overflow: hidden;
    padding: 7px 0;
    transform: translateY(-6px);
    -webkit-transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    opacity:0;
}
/* Display Dropdowns on Hover */
#nav ul li:hover > ul {
    display:list-item;
    opacity:1;
    transform: translateY(0);
}
/* Fisrt Tier Dropdown */
#nav ul ul li {
    /*width:200px;*/
    float:none;
    position: relative;
    border-bottom:none;
}
#nav ul ul li i {
    /*margin-right:10px;*/
    }
#nav ul ul li a {
    border-left: 3px solid transparent;
    color: #263d30;
    font-size: 15px;
    font-weight: 500;
    padding: 11px 18px;
    text-align:left;
    text-transform: none;
    white-space: nowrap;
}
#nav ul ul li a:hover,
#nav ul ul li a:focus {
    background: #e9efe5;
    border-left-color: #3c7b59;
    color: #183e2c;
    position: static;
    text-shadow: none;
    top: 0;
}
/* Second, Third and more Tiers */
nav ul ul ul li {
    position: absolute relative;
    top:-79px;
    left:200px;
}


#nav .container-fluid, #nav .navbar-collapse {padding-left: 0; padding-right: 0}

/*------- Menu background colors ---------------------*/

/*---------------------------------------------------*/

#navbar7 {max-width:1200px; margin: 0 auto; width: 100%}

@media (min-width: 1280px) {
  #navbar7 {
    align-items: center;
    display: flex !important;
    gap: 12px;
    max-width: 1280px;
  }

  #nav #navbar7 > ul {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    float: none;
    margin-left: 220px;
    min-width: 0;
    white-space: nowrap;
  }

  #nav #navbar7 > ul > li {
    float: none;
  }

  #nav #navbar7 > ul > li > a {
    padding-left: 10px;
    padding-right: 10px;
  }

  #nav #filter {
    flex: 0 0 230px;
    float: none;
    margin: 0 12px 0 0;
    width: 230px;
  }
}

@media (min-width: 769px) and (max-width: 1279px) {
  #navbar7 {
    display: block !important;
  }

  #nav #filter {
    float: right;
    margin: 3px 2% 8px 0;
    width: 250px;
  }
}

@media only screen and (max-width : 768px){
  .navbar {margin-bottom: 0}
  #nav ul li {width: 100%}
  #nav ul ul {position: relative; top: inherit; display: none}
}

.navbar-brand {
  padding: 0px;
}
.navbar-brand>img {
  height: 100%;
  padding: 15px;
  width: auto;
}

@media (max-width:1200px){
#nav ul li a {padding-left: 12px; padding-right: 12px; font-size: 1.4em;}
}

@media (max-width:1080px){
#nav ul li {font-size: 0.8em;}
#nav ul li a {padding: 10px; font-size: 1.4em;}
}

@media only screen and (max-width : 1024px){}

@media (max-width: 768px){
    #nav {background-color: rgba(255,255,255,0.9)!important; position: relative;}
    #nav ul {margin: 0;float: none;width: 100%;}
    #nav ul li a {
        align-items: center;
        display: flex;
        font-size: 16px;
        font-weight: 600;
        justify-content: space-between;
        min-height: 52px;
        padding: 12px 20px;
    }
    #nav > ul > li {
        border-bottom: 1px solid rgba(92, 97, 153, 0.13);
        width: 100%;
    }
    #nav > ul > li > a[href="javascript:void(0)"]::after {
        border-bottom: 2px solid currentColor;
        border-right: 2px solid currentColor;
        content: "";
        height: 7px;
        margin-left: 12px;
        transform: rotate(45deg) translateY(-2px);
        transition: transform 180ms ease;
        width: 7px;
    }
    #nav > ul > li.is-open > a[href="javascript:void(0)"]::after {
        transform: rotate(225deg) translate(-2px, -2px);
    }
    #nav ul ul {
        background: #f4f7f4;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        min-width: 0;
        opacity: 1;
        overflow: visible;
        padding: 0;
        position: static;
        transform: none;
        transition: none;
        width: 100%;
    }
    #nav ul li.is-open > ul {
        display: block;
    }
    #nav ul ul li {
        border-bottom: 1px solid rgba(92, 97, 153, 0.09);
    }
    #nav ul ul li:last-child {
        border-bottom: 0;
    }
    #nav ul ul li a {
        color: #3f4b44;
        font-size: 15px;
        font-weight: 400;
        padding-left: 34px;
    }
    #nav ul li a:focus-visible {
        box-shadow: inset 0 0 0 2px #245d45;
        outline: 0;
    }

    #navbar7 {width: 100%}
}


/* EXAMPLE 9 - Center with Flexbox and Text*/
.brand-centered {
  display: flex;
  justify-content: center;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}
.brand-centered .navbar-brand {
  display: flex;
  align-items: center;
}
.navbar-toggle {
    z-index: 1;
}




/* CSS Transform Align Navbar Brand Text ... This could also be achieved with table / table-cells */
.navbar-alignit .navbar-header {
	  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  height: 50px;
}
.navbar-alignit .navbar-brand {
	top: 50%;
	display: block;
	position: relative;
	height: auto;
	transform: translate(0,-50%);
	margin-right: 15px;
  margin-left: 15px;
}




.navbar-nav>li>.dropdown-menu {
	z-index: 9999;
}
