.flex-1 {
  flex: 1;
}

main > .container {
  max-width: 1280px;
  padding: 70px 15px 20px;
}

.site-head {
  width: 100%;
  max-width: 1920px;
}

.site-head > .container {
  height: 80px;
  max-width: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ul-nav {
  margin: 0 auto;
  list-style: none;
  display: flex;
  column-gap: 0.5rem;
  padding-inline: 0;
}

.ul-nav > li > a {
  display: block;
  text-transform: none;
  color: oklch(20.5% 0 0);
  padding: 0.5rem 1rem;
  font-size: 16px;
  font-weight: 500;
  border-radius: 3.40282e38px;
  transition-duration: 0.15s;
  transition-property: color, background-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.ul-nav > li > a:hover {
  background-color: oklch(98.5% 0 0);
  text-decoration: none;
}

.current {
  background-color: oklch(98% 0.01 312);
  color: oklch(30% 0.11 312.57) !important;
}

.link-image-ul {
  list-style: none;
  display: flex;
  min-width: 56rem;
  justify-content: space-between;
  align-items: center;
  padding-inline-start: 0;
  padding-block: 1.5rem;
  margin: 0;
}

.link-image-ul > li > a {
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
}

dl {
  margin: 0;
}

dd > a {
  color: inherit;
}

dd > a:hover {
  color: oklch(20.5% 0 0);
  text-decoration: inherit;
}

.footer {
  padding-inline: 1rem;
}

.footer-links-container {
  overflow-x: auto;
  max-width: 1280px;
  margin: auto;
}

.footer-container {
  color: oklch(37.1% 0 0);
  font-size: 0.875rem;
  line-height: 1.42857;
}

.footer-main {
  padding-top: 48px;
  padding-bottom: 24px;
  margin: auto;
  max-width: 1280px;
  display: grid;
  row-gap: 2.5rem;
  column-gap: 1.5rem;
}

@media (min-width: 40rem) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 48rem) {
  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .footer-main {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer-address > p {
  margin: 0;
}

.accesibility-privacy-links {
  list-style: none;
  display: block;
  padding: 0;
}

:where(.accesibility-privacy-links > :not(:last-child)) {
  margin-block-end: 0.5rem;
}

.accesibility-privacy-links > li > a {
  color: inherit;
  line-height: 1.5rem;
}

.accesibility-privacy-links > li > a:hover {
  color: oklch(20.5% 0 0);
  text-decoration: inherit;
}

.footer-copyright {
  padding: 16px 0;
  color: oklch(43.9% 0 0);
  font-size: 0.75rem;
  line-height: 1.5rem;
  margin: auto;
  max-width: 1280px;
}

.not-set {
  color: #c55;
  font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
  content: "";
  left: 3px;
  display: inline-block;
  width: 0;
  height: 0;
  border: solid 5px transparent;
  margin: 4px 4px 2px 4px;
  background: transparent;
}

a.asc:after {
  border-bottom: solid 7px #212529;
  border-top-width: 0;
}

a.desc:after {
  border-top: solid 7px #212529;
  border-bottom-width: 0;
}

.grid-view th {
  white-space: nowrap;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
  padding-top: 7px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
  .site-head > .container {
    flex-direction: column;
  }

  .nav li > form > button.logout {
    display: block;
    text-align: left;
    width: 100%;
    padding: 10px 0;
  }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
  outline: none;
}
