:root {
  --primary-color: #3daee9;
  --secondary-color: #93cee9;
  --accent-color: #3daee9;
  --text-color: #232629;
  --bg-color: #eff0f1;
  --border-color: #bdc3c7;
  --white: white;
}
html,
body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-color);
  color: var(--text-color);
}
header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 20px;
  text-align: center;
}
dialog {
  background-color: var(--secondary-color);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  border: none;
  position: relative;
  top: auto;
}
button.dismiss {
  min-width: max-content;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 16px;
}
sidebar {
  max-width: max-content;
  background-color: var(--bg-color);
  padding: 20px;
  box-sizing: border-box;
  border-left: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
sidebar h1 {
  font-size: small;
}
sidebar ul {
  list-style-type: none;
  padding-left: 20px;
}
article {
  flex: 1;
  width: 768px;
  padding: 20px;
  box-sizing: border-box;
  margin: 0 auto;
}

article img {
  align-self: center;
  height: calc(6em);
  width: auto;
  aspect-ratio: attr(width) / attr(height);
  display: inline-flex;
  padding: auto 16rem;
  cursor: zoom-in;
}
article img.magnified {
  position: fixed;
  display: block;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-width: 100vw;
  max-height: 100vh;
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: zoom-out;
  background-color: rgba(0, 0, 0, 0.8);
}

article img.magnified::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

footer {
  min-width: min-content;
  width: 20%;
  background-color: var(--primary-color);
  padding: 20px;
  height: auto;
  box-sizing: border-box;
  color: var(--white);
}
banners.button-8831 {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}
banners.button-8831 * {
  width: 88px;
  height: 31px;
}
banners.button-8831 div {
  border: 2px solid black;
  border-top-color: white;
  border-left-color: white;
  background-color: #CBCBCB;
  padding: 2px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 8px;
  text-size-adjust: auto;
  word-wrap: break-word;
  pointer-events: none;
}
banners.button-8831 div * {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  pointer-events: none;
  color: black;
  margin: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: center;
}
banners.button-8831 div * img {
  height: auto;
  margin: auto;
}
banners.button-8831 div * p {
  overflow: hidden;
}
banners.button-8831 div *:only-child {
  text-align: center;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
banners.button-8831 .no-padding {
  padding: 0px;
}
banners.button-8831 * span.ace-flag {
  color: white;
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom, black 25%, #A3A3A3 25%, #A3A3A3 50%, white 50%, white 75%, #800080 75%);
}
banners.button-8831 * span.agender-flag {
  color: black;
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom, black 14.28571428571429%, #BCC4C7 14.28571428571429%, #BCC4C7 28.571428571428573%, white 28.571428571428573%, white 42.85714285714286%, #B7F684 42.85714285714286%, #B7F684 57.14285714285714%, white 57.14285714285714%, white 71.42857142857143%,  #BCC4C7 71.42857142857143%, #BCC4C7 85.71428571428571%, black 85.71428571428571%, black 100%);
}
banners.button-8831 * span.trans-flag {
  color:black;
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom, #5BCEFA 20%, #F5A9B8 20%, #F5A9B8 40%, white 40%, white 60%, #F5A9B8 60%, #F5A9B8 80%, #5BCEFA 80%, #5BCEFA 100%);
}
a {
  color: var(--accent-color);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a.external-link::before {
  margin-right: 0.3em;
  content: url('data:image/svg+xml;utf8,<svg class="bi bi-box-arrow-up-right" width="1em" height="1em" fill="currentColor" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z"/><path fill-rule="evenodd" d="M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z"/></svg>');
  padding-right: 0.3em;
  display: inline-block;
}
.treeview ul {
  list-style-type: none;
  padding-left: 20px;
}
.treeview li {
  margin: 5px 0;
}
@media (min-width: 1240px) {
  content {
    flex-direction: row;
    display: flex;
    justify-content: center;
  }
  sidebar {
    order: 3;
    overflow-y: auto;
    margin-right: 1.3em;
  }
  article {
    order: 2;
    margin: 0 auto;
  }
  footer {
    order: 1;
  }
}
@media (max-width: 1240px) {
  content {
    display: flex;
    position: static;
    flex-direction: column;
  }
  sidebar {
    max-width: 100%;
    order: 1;
    border-left: none;
    border-bottom: 1px solid var(--border-color);
  }
  article {
    max-width: 100%;
    order: 2;
  }
  footer {
    width: 100%;
    height: auto;
    order: 3;
  }
}