@media (min-width: 1001px) {
  #Header {
    height: 288px;
  }

  #menuwrapper {
    top: 252px;
    height: 36px;
    box-sizing: border-box;
    padding: 0;
    background: #29587d;
    background-color: #29587d !important;
  }

  #menuwrapper > ul {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    height: 100%;
  }

  #menuwrapper > ul > li {
    float: none;
    height: 100%;
    min-width: 0;
    margin: 0;
  }

  #menuwrapper > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 4px;
    white-space: nowrap;
    color: #fff !important;
  }

  #Menu #menuwrapper > ul > li:is(:hover, .sfHover, .over) > a,
  #Menu #menuwrapper > ul > li > a:focus-visible {
    color: #fcb656 !important;
  }

  #Menu #menuwrapper > ul > li:is(:hover, .sfHover, .over) > ul {
    top: 100%;
    left: 0;
  }

  #Menu #menuwrapper > ul > li:nth-last-child(-n+2):is(:hover, .sfHover, .over) > ul {
    right: 0;
    left: auto;
  }
}

@media (max-width: 1000px) {
  html.rwdnav #Menu {
    background-color: #212527 !important;
  }

  html.rwdnav #Menu #menuwrapper {
    background-color: transparent !important;
  }

  html.rwdnav #Menu #menuwrapper li > a {
    color: #fff !important;
  }
}
