@media (min-width:1025px) {
  div.twocol {
    column-count: 2 !important;
    margin-top: 10px !important
  }

  div.twocol p {
    margin-block-start: 0 !important;
    margin-bottom: var(--p-line-spacing) !important;
  }
}

div.centered {
  margin: 2em auto;
  text-align: center;
  width: 50% !important;
}

div.floatblock {
  padding: 5px;
}

div.floatblock.left {
  float: left;
  margin-right: 10px;
}

div.floatblock p:first-child {
  margin-top: 0;
}

div.floatblock p:last-child {
  margin-bottom: 0;
}

.darkgreybg {
  background-color: #333;
}

.smallfont {
  font-size: 90%;
}

div.headline p {
  font-size: 120%;
  font-weight: 600;
  margin-left: 1em;
  color: #8080ff;
}

div.left-aligned p, p.left-aligned {
  text-align: left !important;
}

dl.simple dt, section dl dt {
  font-size: 13.8pt;
  font-weight: 600;
  color: var(--color-emph-special);
}

div.clearfix {
  clear: both;
}

div.left50 {
  margin-left: 50px;
}

div.container.gallery {
  width: auto;
  margin-left: auto;
  margin-right: auto;
  clear: both;
  display: grid;
  grid-template-columns: repeat(auto-fit, 10rem);
  justify-content: center;
  align-items: start;
  gap: 1em 0;
}

div.container.gallery img {
  width: 10rem;
  height: 10rem;
}

div.container.gallery.small {
  grid-template-columns: repeat(auto-fit, 5rem);
}

div.container.gallery.small img {
  width: 5rem;
  height: 5rem;
}

div.container.gallery3 {
  width: auto;
  margin-left: auto;
  margin-right: auto;
  clear: both;
  display: grid;
  grid-template-columns: repeat(auto-fit, 20em);
  justify-content: center;
  align-items: start;
  grid-gap: 0px;
  gap: 1em 0;
}

div.container.gallery.portrait {
  width: auto;
  margin-left: auto;
  margin-right: auto;
  clear: both;
  display: grid;
  grid-template-columns: repeat(auto-fit, 10em);
  justify-content: center;
  align-items: start;
  grid-gap: 0px;
}

div.container.gallery.portrait.small {
  grid-template-columns: repeat(auto-fit, 6em);
}

div.container.gallery.landscape {
  width: auto;
  margin-left: auto;
  margin-right: auto;
  clear: both;
  display: grid;
  grid-template-columns: repeat(auto-fit, 15em);
  justify-content: center;
  align-items: center;
  grid-gap: 0px;
}

div.container.gallery.landscape.small {
  grid-template-columns: repeat(auto-fit, 8em);
}

div.container.gallery3 img {
  width: 20em;
  height: 20em;
}

div.container.gallery.portrait img {
  height: 15em;
}

div.container.gallery.portrait.small img {
  height: 9em;
}

div.container.gallery.landscape img {
  width: 16em;
  height: 7em;
}

div.container.gallery.landscape.small img {
  width: 8em;
  height: 3.5em;
}

div.gallery figure.lbthumb {
  margin: 0 !important;
}

div.gallery figure.lbthumb.bordered {
  margin: 0 1px !important;
}

div.gallery figure.lbthumb.bordered a[data-fancybox] {
  line-height: 0 !important;
}
@media (min-width:1025px) {
  div.narrow {
    width: 50em;
    margin: 0 auto;
  }
}

section.pageheader h1, section.pageheader h2, section.pageheader h3 {
  text-align: center;
}

div.titlebox, p.titlebox {
  background-color: var(--color-titlebox);
  border: 1px solid var(--color-figure-bgborder);
  padding: 5px 8px;
  border-radius: var(--radius-bordered-figures);
}

.titlebox.noradius {
  border-radius: 0 !important;
}

.titlebox.noborder {
  border: none !important;
}

.centerheading h1, .centerheading h2, .centerheading h3, .centerheading h4, .centerheading h5 {
  text-align: center;
}

