/* =============== Custom style for header =============== */

#masthead.site-header {
  margin: 0 auto !important;
  max-width: 1500px !important;
  width: 100% !important;
}

@media only screen and (max-width: 1024px) {
  .site-header-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .site-header-wrapper .mobile-menu-button {
    grid-column-start: 1;
    grid-column-end: 2;
  }
  .site-header-wrapper .site-branding {
    justify-self: center;
  }
}

/* =============== Fix extended Navigation =============== */
@media only screen and (max-width: 1399px) {
  .main-navigation ul li a {
    margin: 0 15px 0 0;
  }
}
@media only screen and (max-width: 1199px) {
  .top-headers-wrapper .site-header .main-navigation {
    display: none !important;
  }
  .top-headers-wrapper .site-header .mobile-menu-button {
    cursor: pointer;
    display: inline-block;
    margin-right: 15px;
    height: 20px;
    margin-top: auto;
    margin-bottom: auto;
    vertical-align: middle;
  }
  .top-headers-wrapper .site-header .mobile-menu-button span.mobile-menu-text {
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 24px;
    position: relative;
    top: -2px;
    -webkit-transition: background-image .3s ease;
    -o-transition: background-image .3s ease;
    transition: background-image .3s ease;
  }
  .site-header-wrapper .mobile-menu-button {
    grid-column-start: 1;
    grid-column-end: 2;
  }
  .top-headers-wrapper .site-header.full-header .site-header-wrapper {
    margin: 0 calc(15px + 0.9375rem) !important;
  }
}
@media only screen and (max-width: 767px) {
  .top-headers-wrapper .site-header.full-header .site-header-wrapper {
    margin: 0 15px !important;
  }
}