 a:link {
  color: #004080;
  text-decoration: underline dotted;
  font-weight: bold;
}

a:visited {
  color: #004080;
}

a:hover {
  color: #3a6691;
  text-decoration: dotted;
}

a:active {
  color: #fff;
  text-decoration: dotted;
}

html {
  height: 100%;
}

html::after {
  content:"";
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  pointer-events:none;
  z-index: -1;
  background-color: #004080;
  opacity: 0.2;
  background-size: 11px 11px;
  background-image: repeating-linear-gradient(45deg, #e5e5e5 0, #e5e5e5 1.1px, #004080 0, #004080 50%);
}

body {
  background-color: #dee3ef;
  font-family: system-ui;
}

img {
  max-width:100%;
}

.hidden-searchbox, .search {
  display: none;
}

.search-icon {
  position:absolute;
  z-index: 2;
  top: 10px;
  left: 25px;
  font-size: 1.5em;
}

.hidden-searchbox:checked + .search {
  display: block;
  position: absolute;
  top: 40px;
  z-index: 3;
  padding: 5px;
  background-color: #e5e5e5;
  opacity: 0.9;
  border: 1px solid #000;
}

.hidden-newsbox, .news {
  display: none;
}

.news-icon {
  position:absolute;
  z-index: 2;
  top: 40px;
  left: 25px;
  font-size: 1.5em;
}

.hidden-newsbox:checked + .news {
  display: block;
  position: absolute;
  top: 50px;
  z-index: 1;
  padding: 5px;
  background-color: #e5e5e5;
  opacity: 0.9;
  max-width: 70vw;
  border: 1px solid #000;
}

.news h2 {
  font-size: 1em;
  padding-bottom: 0px;
  color: #1e2e5b;
}

.news p {
  font-size: .9em;
  font-weight: normal;
}

.hidden-infobox, .info {
  display: none;
}

.info-icon {
  position:absolute;
  z-index: 2;
  top: 75px;
  left: 25px;
  font-size: 1.5em;
}

.hidden-infobox:checked + .info {
  display: block;
  position: absolute;
  top: 75px;
  z-index: 3;
  padding: 5px;
  background-color: #e5e5e5;
  opacity: 0.9;
  max-width: 70vw;
  border: 1px solid #000;
}

.info h2 {
  font-size: 1em;
  padding-bottom: 0px;
  color: #1e2e5b;
}

.info p {
  font-size: .9em;
  font-weight: normal;
}

.container {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

.container #header {
  height: 60px;
}

.menu {
  padding-bottom: 15px;
}

.logo {
  width:auto;
  height:auto;
  padding-top: 10px;
  padding-bottom: 1px;
}

.dropdown {
  width: min-content;
}

h1 {
  font-size: 1em;
  color: #1e2e5b;
}

h2 {
  padding-bottom: 10px;
  margin: 0px;
  font-size: .9em;
  color: #1e2e5b;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(46vw, 1fr));
  background-color: #e5e5e5;
  opacity: 0.7;
  width: calc(100vw - 50px);
  border: 1px solid #ccc;
}

.item {
    background-color: #e5e5e5;
    border: 1px solid #ccc;
    position: relative;
    height:22px;
    text-align: center;
}

details[open] {
  border: 1px solid #000;
  z-index: 2;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  overflow:visible;
  background-color: #b2c3d9;
  background-size: 11px 11px;
  background-image: repeating-linear-gradient(45deg, #b2c3d9 0, #b2c3d9 1.1px, #e5e5e5 0, #e5e5e5 50%);
  max-width: max-content;
  width: 100%;
  padding: 5px;
}

details > summary {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

details[open] > details[open] summary {
  margin-bottom: 0px;
  border-bottom: 0px;
}

details[open] > summary {
  font-weight: bold;
  text-decoration: none;
  overflow: unset;
  white-space: unset;
  text-overflow: unset;

}

details[open] > details summary {
  margin-bottom: 0px;
  border-bottom: 0px;
}

summary:hover {
  cursor:pointer;
}

summary::marker {
  content: "";
}

summary {
  text-align: center;
}

p {
  text-align: left;
  margin: 2px;
  color: #1e2e5b;
  font-weight: bold;
  font-size: 0.9em;
}

p span {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
}
