/* =========================
   Base Navbar
========================= */

.navbar {

/*
        margin-left:5vw;
        margin-right: 5vw;
        width:90vw;
        max-width: 90vw;
*/

    top: 0;
    border: 0;
    left: 5rem; 
    /* margin-left: 5vw; */
    padding: 1rem;
    width: 90%;
    font-size: 0.8rem;
    background-color: var(--gray100);
    z-index: 500;
}

.navbar .divider {
    width: 90%;
    margin: 0.25rem 0 0.25rem 0.9375rem;
    padding-left: 0.9375rem;
}

.navbar .divider.grpDivider {
    height: 0.3rem;
    border-radius: 0.325rem;
    background-color: var(--p800);
}

/* =========================
   Top Bar
========================= */

.navbar-top {



    padding-top: 2rem;
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: var(--gray100);
}

.navbar-top img {
    transform: translateY(0.4rem);
}

/* =========================
   Brand
========================= */

.navbar-brand {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* =========================
   Desktop layout
========================= */

.navbar-toggle {
    display: none;
}

.navbar-collapse {
    display: block;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    margin-top: 0;
    list-style: none !important;
    padding-left: 0;
    margin: 0;
}

.navbar-nav > li {
    float: none;
    width: auto;
    list-style: none !important;
}

/* Remove link underlines */
.navbar-nav a {
    text-decoration: none !important;
    color:var(--p600);
}
/* =========================
   Nav Links
========================= */

.navbar-nav li a:hover {
  color: #000000;
}

.navbar-nav > li > a {
  display: block;
  padding: 0.625rem;
  color: var(--p700);
}

.navbar-nav > li > a:hover {
  color: var(--p900);
}

.navbar-nav > li.dropdown {
  position: relative;
}

/* Keep underline off on hover/focus too */
.navbar-nav a:hover,
.navbar-nav a:focus {
  text-decoration: none !important;
    background-color: var(--gray200);
    border-radius: 0.5rem;

}
/* =========================
   Dropdown (Desktop)
========================= */

.navBarDropWide,
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 15rem;
  padding: 1rem 0.75rem 1.25rem 0.75rem;
  background-color: #ffffff;
  z-index: 1000;
  border: 0;
  border-radius: 0.85rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
  color: var(--charcoal);
}


 .navBarDropWide,
.dropdown-menu li {
    list-style: none !important;
    padding:0.2rem;
    margin:0.2rem;
    color: var(--charcoal);
    }



.navBarDropWide-item {
  
  display: none;
  width: 30rem;
  min-height: 2rem;
  color: var(--charcoal);
  background-color: var(--gray50);
}

.navBarDropWide-item:hover {
  background-color: var(--gray100);
  color: var(--p800);
  display: block;
}

/* Show dropdown on hover (desktop only) */
.navbar-nav > li.dropdown:hover > .navBarDropWide,
.navbar-nav > li.dropdown:hover > .dropdown-menu {
  display: block;
}



/* =========================
   Mobile / Tablet
========================= */
@media (max-width: 48rem) {

  .navbar {
          left: 0;
          margin-left: 0;
          padding: 0.3rem 0.4rem;
          width: 31rem;
          background-color: transparent  ;
          /* box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08); */
          backdrop-filter: blur(0.5rem);
          -webkit-backdrop-filter: blur(0.5rem);
        }

  .navbar-top {
        width: 100%;
        max-width: 30rem;
        padding-top: 0.25rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
      }

  .navbar .container {
        width: 90%;
        padding-left: 0;
        padding-right: 0;
      }

  .navbar-header {
        float: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
      }

  .navbar-left,
  .navbar-right {
      float: none !important;
    }

  .navbar-brand {
      padding: 0.25rem 0;
      margin: 0;
    }

  #headerTitle {
    margin: 0;
  }

  /* Hamburger button */
  .navbar-toggle {
        display: block;
        float: none;
        margin: 0.2rem 0.2rem 0 0;
        padding: 0.25rem 0.225rem;
        border: 0;
        border-radius: 0.75rem;
        background: #ffffff;
        box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.1);
      
      }

  .navbar-toggle:hover,
  .navbar-toggle:focus {
        background: #f7f7f7;
        outline: none;
      }

  .navbar-toggle .icon-bar {
        display: block;
        width: 5rem;
        height: 0.45rem;
        margin: 0.22rem 0;
        border-radius: 1rem;
        background-color: var(--p800);
      }

/* Hide by default */
.navbar-collapse {
      display: none;
    }

/* Show when toggled */
.navbar-collapse.open {
      display: block;
    }


  /* Mobile menu panel */
  .navbar-nav {
        float: none !important;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        width: 100%;
        margin: 0.25rem 0 0 0;
        padding: 0.5rem;
        background: #ffffff;
        border-radius: 1rem;
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
      }

  .navbar-nav > li {
        float: none;
        width: 100%;
      }

  .navbar-nav > li > a {
        width: 100%;
        padding: 0.2rem 0.2rem;
        font-size: 1.2rem;
        font-weight: 500;
        line-height: 1;
        border-radius: 0.75rem;
        color: var(--p700);
        transition: background-color 0.2s ease, color 0.2s ease;
      }

  .navbar-nav > li > a:hover,
  .navbar-nav > li > a:focus {
        background-color: var(--gray50);
        color: var(--gray900);
        text-decoration: none;
      }

  #login a {
        font-weight: 600;
      }

  /* Mobile dropdowns */
  .navBarDropWide,
  .dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        margin: 0.2rem 0 0.4rem 0;
        padding: 0.3rem;
        background: var(--gray50);
        border: 0;
        border-radius: 0.8rem;
        box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
    }

  .navBarDropWide-item,
  .dropdown-menu li a {
        display: block;
        width: 100%;
        min-width: 0;
        padding: 0.25rem 0.5rem 0.25rem 0.5rem;
        font-size: 1rem;
        border-width: 0;
        border-radius: 0.65rem;
        background: transparent;
        color: var(--gray900);
  }

  .navBarDropWide-item:hover,
  .dropdown-menu li a:hover {
        background: #ffffff;
        text-decoration: none;
        color: var(--p700);
  }

  .navbar-nav > li.dropdown.open > .navBarDropWide,
  .navbar-nav > li.dropdown.open > .dropdown-menu {
        display: block;
  }

  .dropdown-toggle .caret {
        margin-left: 0.35rem;
  }


  

 #headerImage {
  padding:  1rem 0rem 0rem 0rem;
  margin: 0;
    /* width: 8rem;
    height: auto;
    max-width: 20%; */
    display:none;
  }


}

/* =========================
   Very Small Screens
========================= */

@media (max-width: 30rem) {
  #headerImage {
    width: 8.5rem;
  }

  .navbar-nav > li > a {
    white-space: normal;
    line-height: 1.3;
    font-size: 0.76rem;
    padding: 0.72rem 0.8rem;
    max-width: 28rem;
  }

  .dropdown-menu li a,
  .navBarDropWide-item {
    
    font-size: 0.72rem;
    padding: 0.65rem 0.8rem 0.65rem 1rem;
  }

  .navbar-toggle {
    padding: 0.5rem 0.6rem;
  }

  .navbar-toggle .icon-bar {
    width: 4rem;
  }

   #headerImage {
  padding:  1rem 0rem 0rem 0rem;
  margin: 0;
    /* width: 8rem;
    height: auto;
    max-width: 20%; */
    display:none;
  }
}