:root{
  --bgcol: #31393c;
  --textcol: #edf2fb;
  --linkcol: #33a1fd;
  --hovercol: #2176ff;
  --accentcol: #fdca40;
}

* {
  font-family: "Trebuchet MS", Arial;
/*  font-family: Arial;*/
  font-smooth: always;
}

h1,
h2,
h3 {
/*  font-family: Times New Roman;*/
}

h2 {
  border-bottom: 1px solid;
}


a {
  color: var(--linkcol);
}

a:visited {
  color: var(--linkcol);
}

a:hover {
  color: var(--hovercol);
}

img {
  border-radius: 5px;
  max-width: 100%;
}

html {
  color: var(--textcol);
}

html {
  background-color: var(--bgcol);
  font-size: 15pt;

}



html {
  --scrollbarBG: var(--bgcol);
  --thumbBG: var(--accentcol);
}

body::-webkit-scrollbar {
  width: 11px;
}

body {
  scrollbar-width: thin;
  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}

body::-webkit-scrollbar-track {
  background: var(--scrollbarBG);
}

body::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG);
  border-radius: 6px;
  border: 4px solid var(--scrollbarBG);
}

body {
  text-align: center;
}

#centerContainer {
  max-width: 21cm;
  margin: auto;
  text-align: justify;
}

#titleDiv {
  text-align: center;
  font-size: 30pt;
  margin-top: -35px;

}

#titleDiv a {
  text-decoration: none;
/*  font-family: Times New Roman;*/

}


.box-wrapper {
  filter: blur(0.2mm);
}

.box {
  --size: 50px;
  --b: 10px;
  --p: 25px;
  --R: calc(55.9px + var(--b)/2);

  --_g: #0000 calc(99% - var(--b)), #000 calc(101% - var(--b)) 99%, #0000 101%;
  --mask:
    radial-gradient(8.5px at 50% calc(100% + 3.60px), #0000 calc(99% - 3px), #000 calc(101% - 3px) 99%, #0000 101%) calc(50% - 12px) calc(50% - 4.5px + .5px)/24px 9px repeat-x,
    radial-gradient(8.5px at 50% -3.6px, #0000 calc(99% - 3px), #000 calc(101% - 3px) 99%, #0000 101%) 50% calc(50% + 4.5px)/24px 9px repeat-x;
  -webkit-mask: var(--mask);
  mask: var(--mask);
  background: var(--accentcol);
  height: 10px;
  width: 70%;
  min-width: 340px;
  max-width: 90%;
  margin: auto;
  margin-top: -35px;
  margin-bottom: 40px;
}

.listImage {
  text-align: center;
}

.listImage img {
  width: 250px;
  // margin-left: 2.7cm;
  margin: auto;
  margin-top: 5px;
  aspect-ratio: 16/9;
}

.listDivider {
  margin-bottom: -10px;
  border: 0;
  border-top: 1px dashed #ACB1D6;
  filter: blur(0.15mm)
}

.listFlexContainer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}


@media screen and (min-width: 600px) {
  .listFlexContainer div {
    margin: 10px;
    max-width: calc(100% - 383px);
    margin-top: 0;
  }

  .listSummary {
    min-width: calc(100% - 383px);
    padding-left: 93px;
  }

  .box {
    margin-top: -50px;
  }
}

@media screen and (max-width: 601px) {
  .listImage {
    width: 100%;
  }
  #titleDiv {
  text-align: center;
  font-size: 20pt;
  margin-top: -35px;
  }
  html {
    font-size: 13pt;
  }
}

#search-input {
  background-color: white;
  width: 250px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  background-color: transparent;
  padding: 5px;
  padding-left: 28px;
  margin-left: -28px;
  color: #C5DFF8;
}

#searchBox {
  text-align: center;
  padding-left: 10px;
  margin-bottom: 50px;
}

#tagcon {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#tagcon div {
  width: 300px;
}

#searchResults {
  text-align: left;
  margin-top: -30px;
}

@media screen and (min-width: 18cm) {
  #searchResults {
    padding-left: 6cm;
  }
}

.pagenav li {
  display: inline;
  margin: 5px;
}

.pagenav {
  margin-top: 40px;
  width: 100%;
  text-align: center;
  margin-left: -12px;

}

.pagenav ul {
  padding-inline-start: 0;
}

.pagenav li a {
  font-weight: bold;
  font-size: 16pt;
}

.center {
  text-align: center;
  font-style: italic;
  margin-bottom: 40px;
}

a {
  word-wrap: break-word;
}

.footnotes {
  text-align: left;
  font-size: 13pt;
}

figure img {
  height: auto;
}
.footnotes hr {
  display: none;

}

sup, sub {
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
}
sub { 
  top: 0.4em; 
}

.footnote-ref{
  background-color: #23292b;
  font-size: 12px;
  border-radius: 3px;
  margin-left: 2px;
  padding: 2px;
}

.listItem{
  text-align: left;
}