/* Extra Classes */
.no-margin {
  margin: 0;
}

.no-padding {
  padding: 0;
}

header.scrolled {
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 20px 0px;
}

.menu-container {
  padding-left: 30px;
  padding-right: 30px;
}

.grt-menu-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.grt-logo {
  display: inline-block;
}

.grt-logo img {
  max-height: 60px;
  width: auto;
}

.grt-mobile-button {
  display: none;
}

.body-overflow {
  overflow: hidden;
}

.grt-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--Re-blue);
  list-style: none;
}

.grt-menu:after {
  content: "";
  clear: both;
  display: block;
}

.grt-menu li {
  display: inline-block;
  margin: 0;
  transition: all ease 0.8s;
}

.grt-menu a {
  display: block;
  padding: 0.75em 2em;
  text-decoration: none;
}

/* Mobile only style */
@media (max-width: 767px) {
  .menu-container {
    padding-left: 15px;
    padding-right: 15px;
    background-color: #ccc;
  }

  .grt-mobile-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #163d67;
    padding: 0;
    cursor: pointer;
    border: 0;
  }

  .grt-mobile-button .line1,
  .grt-mobile-button .line2,
  .grt-mobile-button .line3 {
    width: 35px;
    height: 2px;
    background-color: #163d67;
    transition: 0.4s;
    display: block;
    border-radius: 400px;
  }

  .grt-mobile-button .line2,
  .grt-mobile-button .line3 {
    margin-top: 10px;
  }

  .menu-label {
    margin-left: 10px;
  }

  .grt-menu {
    display: none;
    border-top: 0.5px solid #163d67;
    border-bottom: 0.5px solid #163d67;
  }

  .open-grt-menu {
    position: absolute;
    margin: 0;
    padding: 0;
    background: #fff;
    width: 100%;
    height: auto;
    right: 0;
    left: 0;
    top: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .grt-mobile-button-open {
    z-index: 99999;
  }

  .grt-mobile-button-open .line1 {
    transform: rotate(-45deg) translate(-9px, 8px);
  }

  .grt-mobile-button-open .line2 {
    opacity: 0;
  }

  .grt-mobile-button-open .line3 {
    transform: rotate(45deg) translate(-9px, -8px);
  }

  .grt-menu li {
    display: block;
    width: 100%;
    border-bottom: 0.5px solid #163d67;
  }

  .grt-menu a:hover,
  .grt-menu a:focus {
    background-color: #3fa9f51a;
  }
}

@media screen and (min-width: 600px) {
  .grt-menu a {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3125rem;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .grt-menu li {
    border-bottom: solid 5px transparent;
  }

  .grt-menu li:hover,
  .grt-menu li:focus,
  .grt-menu li.current_page_item {
    border-bottom: solid 5px #163d67;
  }
}

@media screen and (min-width: 1250px) {
  .grt-mobile-button {
    display: none;
  }

  .nav-item {
    color: var(--Re-blue, #163d67);
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0.36px;
  }

  .current {
    background-color: #163d67;
    color: #fff;
  }
}
