/* Format navigation */
.layout-container > header {
  text-align: center;
  grid-column: 1/-1;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

header nav {
  font-size: 1rem;
  padding: 0;
}

/* Use flexbox to allow items to wrap, as needed */
header nav ul,
header nav ol {
  align-content: space-around;
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* List items are inline elements, make them behave more like blocks */
header nav ul li,
header nav ol li {
  display: inline-block;
}

header nav a,
header nav a:visited {
  display: inline-block;
}

header nav a:hover,
header nav a.current,
header nav a[aria-current=page],
header nav a[aria-current=true] {
  cursor: pointer;
  text-decoration-color: var(--text-color);
}

/* Reduce nav side on mobile */
@media only screen and (max-width: 720px) {
  header nav a {
    border: none;
    padding: 0;
  }
}
.header nav li {
  font-size: var(--Font-Size-L);
  margin-right: 1rem;
}
.header nav li:last-child {
  margin-right: 0;
}
.header nav a {
  color: var(--header-color);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--accent);
}
.header nav a:hover {
  text-underline-offset: 8px;
}

.header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 2rem 0 2rem;
}
.header-top .menu-service {
  margin-top: -5px;
}

.header-search .simple-search-form {
  display: flex;
  flex-wrap: wrap;
}
.header-search .simple-search-form .form-text {
  max-width: 250px;
  margin-right: 1rem;
}

.header-bottom {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 2rem 2rem 2rem;
}
@media (min-width: 544px) {
  .header-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.header-bottom .site-branding {
  align-self: center;
}
.header-bottom .site-branding .site-name {
  display: none;
}
@media (min-width: 544px) {
  .header-bottom .site-branding .site-name {
    display: block;
  }
}
.header-bottom .site-branding .site-logo {
  margin-bottom: var(--Spacing-10);
}
@media (min-width: 544px) {
  .header-bottom .site-branding .site-logo {
    margin-bottom: 0;
  }
}
@media (min-width: 544px) {
  .header-bottom .site-name {
    display: none;
  }
}

/*# sourceMappingURL=header.css.map */
