:root {
  --topbar-height: 30px;
}

.topbar {
  height: var(--topbar-height);
  background: var(--primary-gradient);

  z-index: 10;
}

.topbar--fixed {
  position: fixed;
  width: 100%;
  top: var(--header-top-offset);
}

.topbar--sticky {
  position: sticky;
  top: var(--header-top-offset);
}

/*.jetcharge-wp-section .topbar {
  margin-top: 52px;
}*/

.topbar--overlay {
  position: absolute;
  width: 100%;
  background: rgba(38, 38, 41, 0.3);
  top: var(--header-top-offset);
}

.topbar__menu {
  display: flex;
  height: 100%;
  justify-content: flex-end;
  align-items: center;
}

.topbar__menu-item {
  color: white;
  text-decoration: none;
  font-size: 14px;
  line-height: 21px;
}

.topbar__menu-item:not(:last-child) {
  margin-right: 35px;
}

@media (max-width: 1023px) {
  :root {
    --topbar-height: 0px;
  }

  .topbar {
    display: none;
  }
}

/* Country Switch  ====================================== */
.country-switch{
  margin: 0px 0px !important;
  background: #EFEDE8;
  color: #111;
  padding: 0px 10px;
  width: 40px;
  text-align: center;
  border: 1px solid #EFEDE8;
  white-space: nowrap;
}

.country-switch.au-link{
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.country-switch.nz-link{
  background: #FAF9F8;
  /*     margin-right: 35px !important; */
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  color: #333;
}

.country-switch:hover{
  background: #FFB510;
  cursor: pointer;
  color: #fff;
}

@media (max-width: 1023px){
  .country-switch.au-link,
  .country-switch.nz-link{
    margin: 20px 0px !important;
    width: 100px;
  }
  .mega-menu__topbar-menu {
    flex-direction: row;
    justify-content: flex-start;
  }
  .mega-menu__topbar-menu-item {

    width: 100px;
  }
}
/* /Country Switch  ====================================== */

/* Header menu items  ====================================== */
.tablet-row-split,
.mobile-row-split {
  display: none;
}

.mega-menu__topbar-menu-item.btn,
.topbar__menu-item.btn {
  min-width: 0;
  height: auto;
  padding: 1px 10px;
  color: var(--primary-dark-grey-color);
}

.topbar__menu-item.btn:hover {
  color: #fff;
}

.mega-menu__topbar-menu-item.btn {
  align-self: center;
}

@media (max-width: 1023px) {
  .mega-menu__topbar-menu-item.btn {
    flex-basis: 100%;
    max-width: 244px;
    margin-top: 20px;
  }

  .mega-menu__topbar-menu-item.tablet-row-split {
    display: block;
    flex-basis: 100%;
    height: 0;
    line-height: 0;
    text-indent: -99999999px;
    overflow: hidden;
  }
}
@media (max-width: 560px) {
  .mega-menu__topbar-menu-item.mobile-row-split {
    display: block;
    flex-basis: 100%;
    height: 0;
    line-height: 0;
    text-indent: -99999999px;
    overflow: hidden;
  }
}
/* /Header menu items  ====================================== */