.tpl303-article .menu-container.megamenu .menu {
  display: flex;
  align-items: center;
}

.tpl303-article .tpl303-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  padding: 8px 8px 8px 16px;
}

.tpl303-article .menu-container.megamenu .menu > ul {
  width: auto;
  flex: 1 1 auto;
  margin: 0;
}

.tpl303-article .tpl303-logo img {
  display: block;
  max-height: 52px;
  width: auto;
}

.tpl303-article .tpl303-title {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
}

@media only screen and (max-width: 959px) {
  .tpl303-article .menu-container.megamenu .menu {
    flex-wrap: wrap;
  }

  .tpl303-article .tpl303-brand {
    flex: 1 1 auto;
  }

  .tpl303-article .menu-container.megamenu .menu > .menu-mobile {
    margin-left: auto;
  }

  .tpl303-article .menu-container.megamenu .menu > ul {
    flex: 1 1 100%;
    width: 100%;
  }
}

.tpl303-article .menu-container.megamenu .menu > ul > li.item.button {
  float: right;
  background-color: #2177D1;
  border-radius: 5px;
  padding: 5px 20px;
  margin: 14px 5px 0;
  font-weight: 800;
}

.tpl303-article .menu-container.megamenu .menu > ul > li.item.button a {
  color: #fff;
}

@media only screen and (max-width: 959px) {
  .tpl303-article .menu-container.megamenu .menu > ul > li.item.button {
    float: none;
    width: auto;
    margin: 10px 15px;
  }
}

/* Lets the pagedb Article Background or Picture 1 show through the bar. */
.tpl303-article--bkg .menu-container.megamenu,
.tpl303-article--bkg .menu-container.megamenu .menu > ul > li:not(.item.button) {
  background-color: transparent;
}
