/**
 * BW theme for reveal.js.
 */
@font-face {
  font-family: "BaWueSansBold";
  src: url("fonts/bawue/BaWueSans-Bold.ttf");
}

@font-face {
  font-family: "BaWueSansBoldItalic";
  src: url("fonts/bawue/BaWueSans-BoldItalic.ttf");
}

@font-face {
  font-family: "BaWueSansRegular";
  src: url("fonts/bawue/BaWueSans-Regular.ttf");
}

@font-face {
  font-family: "BaWueSansRegularItalic";
  src: url("fonts/bawue/BaWueSans-RegularItalic.ttf");
}

@font-face {
  font-family: "BaWueSerifRegular";
  src: url("fonts/bawue/BaWueSerif-Regular.ttf");
}

@font-face {
  font-family: "BaWueSerifBold";
  src: url("fonts/bawue/BaWueSerif-Bold.ttf");
}

/**********************************************
 * Farben BW-Landesdesign
 **********************************************/
:root {
  --gelb: #FFFC00;
  --schwarz: #2A2623;
  --weiss: #FFFFFF;
  --grau1: #544F4F;
  --grau2: #7A7575;
  --grau3: #B0ACAB;
  --grau4: #D7D2D1;
  --grau5: #F1EEED;
  --hellblau: #08AAD5;
  --dunkelblau: #116A8D;
  --hellgruen: #85D60A;
  --dunkelgruen: #4D7F0A;
  --hellrot: #F9542A;
  --dunkelrot: #BF1C0D;
}

/*********************************************
 * GLOBAL STYLES
 *********************************************/
.reveal {
  font-family: "Arial", sans-serif;
  font-size: 36px;
  font-weight: normal;
  color: var(--schwarz);
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

::selection {
  color: var(--weiss);
  background: rgba(79, 64, 28, 0.99);
  text-shadow: none;
}

.reveal .slides {
  display: block;
  height: 100%;
  width: 100%;
  position: relative;
  margin: 0;
  text-align: left;
}

.reveal .slides section {
  top: 0;
  left: 0;
  padding: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.reveal .slides>section,
.reveal .slides>section>section {
  font-weight: inherit;
  padding: 0;
}

div.openblock {
  padding-left: 6vh;
  padding-right: 6vh;
  box-sizing: border-box;
}

.openblock .content {
  height: 90%;
  display: flex;
  flex-direction: column;
}

/*********************************************
 * HEADERS
 *********************************************/
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
  text-shadow: none;
  word-wrap: break-word;
}

.reveal h1,
.reveal h2 {
  display: none;
}

.paragraph.titel-gross p {
  text-align: left;
  font-family: BaWueSerifBold, serif;
  font-size: 9.8vh;
  margin-top: 4vh;
  margin-bottom: 5vh;
  line-height: 1;
}

.paragraph.titel p {
  text-align: left;
  font-family: BaWueSerifBold, serif;
  font-size: 7.5vh;
  margin-top: 4vh;
  margin-bottom: 5vh;
  line-height: 1;
}

.reveal h3,
.paragraph.untertitel p {
  text-align: left;
  font-family: BaWueSansBold, sans;
  letter-spacing: 0.05em;
  font-size: 4.2vh;
  margin-top: 3vh;
  margin-bottom: 3vh;
  line-height: 1.5;
}

.reveal h4,
.paragraph.abschnitt p,
.reveal h5,
.paragraph.abschnitt-ohne p {
  text-align: left;
  font-family: BaWueSansBold, sans;
  font-size: 3.5vh;
  margin-top: 5vh;
  margin-bottom: 0;
}

.reveal h6 {
  text-align: left;
  font-family: BaWueSerifBold, serif;
  font-size: 14vh;
  margin-top: 5vh;
  margin-bottom: 7vh;
}

/*********************************************
 * OTHER
 *********************************************/
.reveal p {
  text-align: left;
  font-family: BaWueSansRegular, sans;
  font-size: 3.5vh;
  line-height: 1.3;
  margin-bottom: 2vh;
}

.reveal img,
.reveal video,
.reveal iframe {
  max-width: 100%;
  max-height: 100%;
}

.reveal img.fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reveal img.middle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
  object-fit: cover;
}

.reveal p.img-source {
  position: absolute;
  bottom: 0vh;
  left: 0.5vh;
  background-color: rgba(255, 255, 255, 0.25);
  color: black;
  text-align: left;
  font-family: BaWueSansRegular, sans;
  font-size: 1.5vh;
  line-height: 1.3;
  padding: 0.5vh;
  border-radius: 0.5vh;
  margin-bottom: 0.5vh;
}

.reveal strong,
.reveal b {
  font-weight: bold;
}

.reveal em {
  font-style: italic;
}

.reveal ol,
.reveal dl,
.reveal ul {
  text-align: left;
  margin-top: 2vh;
  margin-bottom: 2vh;
  font-size: 3.5vh;
  font-family: BaWueSansRegular, sans;
  line-height: 1.3em;
}

.reveal ol {
  list-style-type: decimal;
  margin-left: 6vh;
}

.reveal ul {
  list-style-type: disc;
  margin-left: 4vh;
}

.reveal ul li::marker {
  font-size: 0.5em;
}

.reveal ul ul {
  list-style-type: square;
}

.reveal ul ul ul {
  list-style-type: circle;
}

.reveal dt {
  font-weight: bold;
}

.reveal dd {
  margin-left: 40px;
}

.reveal q,
.reveal blockquote {
  quotes: none;
}

.reveal blockquote {
  display: block;
  position: relative;
  width: 70%;
  margin: 20px auto;
  padding: 5px;
  font-style: italic;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}

.reveal blockquote p:first-child,
.reveal blockquote p:last-child {
  display: inline-block;
}

.reveal q {
  font-style: italic;
}

.reveal pre {
  display: block;
  position: relative;
  margin: 2vh;
  text-align: left;
  font-size: 2.5vh;
  font-family: monospace;
  line-height: 1.2em;
  word-wrap: break-word;
  background-color: var(--grau4);
  border: 1px solid var(--grau1);
  border-radius: 0.5vh;
  padding: 2vh 3vh;
}

.schwarz .listingblock {
  height: 100%;
}

.reveal .schwarz code {
  height: 100%;
  max-height: 90vh;
}

.reveal .schwarz pre {
  display: block;
  position: relative;
  margin-top: 8vh;
  text-align: left;
  font-size: 2.5vh;
  font-family: monospace;
  line-height: 1.2em;
  word-wrap: break-word;
  background-color: var(--schwarz);
  border: none;
  padding: 0;
  height: 100%;
}

.reveal code {
  font-family: monospace;
}

.reveal pre code {
  display: block;
  overflow: auto;
  word-wrap: normal;
  max-height: 400px;
}

.reveal .schwarz pre code {
  display: block;
  overflow: auto;
  word-wrap: normal;
}

.reveal table {
  margin: auto;
  border-collapse: collapse;
  border-spacing: 0;
}

.reveal .table-40 table {
  width: 40%;
  height: 40%;
  margin: 0 auto;
}

.reveal .table-80 table {
  width: 80%;
  height: 80%;
  margin: 0 auto;
}

.reveal table th {
  font-weight: bold;
}

.reveal table th,
.reveal table td {
  text-align: left;
  padding: 0.2em 0.5em;
  border-bottom: 1px solid;
}

.reveal table th[align="center"],
.reveal table td[align="center"] {
  text-align: center;
}

.reveal table th[align="right"],
.reveal table td[align="right"] {
  text-align: right;
}

.reveal table tr:last-child td {
  border-bottom: none;
}

.reveal sup {
  vertical-align: super;
}

.reveal sub {
  vertical-align: sub;
}

.reveal small {
  display: inline-block;
  font-size: 0.6em;
  line-height: 1.2em;
  vertical-align: top;
}

.reveal small * {
  vertical-align: top;
}

/*********************************************
 * LINKS
 *********************************************/
.reveal a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.reveal a:hover {
  color: #c0a86e;
  text-shadow: none;
  border: none;
}

.reveal .roll span:after {
  color: #fff;
  background: #564826;
}

.reveal .img-source a {
  color: #000000;
  text-decoration: none;
  transition: color 0.15s ease;
}

.reveal .img-source a:hover {
  color: #404040;
  text-shadow: none;
  border: none;
}

/*********************************************
 * IMAGES
 *********************************************/
.reveal a img {
  transition: all 0.15s linear;
}

.reveal a:hover img {
  background: rgba(255, 255, 255, 0.2);
  border-color: #8b743d;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
}

/*********************************************
 * NAVIGATION CONTROLS
 *********************************************/
.reveal .slide-number {
  position: absolute;
  width: 11vh;
  bottom: 1vh;
  height: 11vh;
  right: 1vh;
  padding: 0;
  text-align: center;
  background-color: transparent;
  font-size: 1.5vh;
  font-family: BaWueSansRegular, sans;
  color: inherit;
  z-index: 9;
  transform: translateY(45%);
}

.reveal .controls {
  bottom: 1vh;
  right: 1vh;
  width: 11vh;
  height: 11vh;
  font-size: 0.5vh;
}

.reveal .controls .navigate-left {
  position: absolute;
  bottom: 0vh;
  height: 11vh;
  left: 2.3vh;
}

.reveal .controls .navigate-right {
  position: absolute;
  right: 2vh;
  bottom: 0vh;
  height: 11vh;
}

.reveal .controls .navigate-down {
  position: absolute;
  bottom: 1.5vh;
  left: 4.6vh;
  z-index: 10;
}

.reveal .controls .navigate-up {
  position: absolute;
  top: -1.5vh;
  left: 4.6vh;
}

/*********************************************
 * PROGRESS BAR
 *********************************************/
.reveal .progress {
  background: rgba(0, 0, 0, 0.2);
}

.reveal .progress span {
  background: #8b743d;
  transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
}

/*********************************************
 * Seitentemplates
 *********************************************/
p.byline {
  display: none;
}

div.custom-footer {
  position: absolute;
  bottom: 6vh;
  right: 15vh;
  font-size: 1.5vh;
  font-family: BaWueSansRegular, sans;
}

/* ========================================
   Textausrichtung (z. B. rechtsbündig im Fluss)
   ======================================== */

.rechtsklar {
  display: flex;
  justify-content: flex-end;
  width: 100vw;
  margin-top: 2vh;
  padding-right: 2vw;
  font-size: 90%;
  text-align: right;
}

.linksklar {
  display: flex;
  justify-content: flex-start;
  width: 100vw;
  margin-top: 2vh;
  padding-left: 2vw;
  font-size: 90%;
  text-align: left;
}

.zentriertklar {
  display: flex;
  justify-content: center;
  width: 100vw;
  margin-top: 2vh;
  font-size: 90%;
  text-align: center;
}


/*********************************************
 * Bildpositionen
 *********************************************/
.links>img,
.rechts>img,
.unten>img,
.oben>img,
.oben-links>img,
.oben-rechts>img,
.mitte-links>img,
.mitte-rechts>img,
.unten-links>img,
.unten-rechts>img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.unten,
.oben,
.oben-links,
.oben-rechts,
.mitte-links,
.mitte-rechts,
.unten-links,
.unten-rechts,
.links,
.rechts,
.oben4-1,
.oben4-2,
.oben4-3,
.oben4-4,
.unten4-1,
.unten4-2,
.unten4-3,
.unten4-4,
.links-30,
.links-70,
.rechts-30,
.rechts-70,
.alles {
  position: absolute;
  object-fit: cover;
}

.unten {
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 50vh;
}

.oben {
  top: 0;
  left: 0;
  width: 100vw;
  height: 50vh;
}

.oben-links {
  top: 0;
  left: 0;
  width: 50vw;
  height: 50vh;
}

.oben-rechts {
  top: 0;
  right: 0;
  width: 50vw;
  height: 50vh;
}

.mitte-links {
  top: 50vh;
  /* Positionierung in der Mitte vertikal */
  left: 0;
  width: 50vw;
  height: 50vh;
  transform: translateY(-50%);
  /* Zentriert die Box vertikal */
}

.mitte-rechts {
  top: 50vh;
  /* Positionierung in der Mitte vertikal */
  right: 0;
  width: 50vw;
  height: 50vh;
  transform: translateY(-50%);
  /* Zentriert die Box vertikal */
}

.unten-links {
  bottom: 0;
  left: 0;
  width: 50vw;
  height: 50vh;
}

.unten-rechts {
  bottom: 0;
  right: 0;
  width: 50vw;
  height: 50vh;
}

.links {
  top: 0;
  left: 0;
  width: 50vw;
  height: 100vh;
}

.rechts {
  position: absolute;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100vh;
}

.oben4-1 {
  top: 0;
  left: 0;
  width: 25vw;
  height: 50vh;
}

.oben4-2 {
  top: 0;
  left: 25vw;
  width: 25vw;
  height: 50vh;
}

.oben4-3 {
  top: 0;
  left: 50vw;
  width: 25vw;
  height: 50vh;
}

.oben4-4 {
  top: 0;
  left: 75vw;
  width: 25vw;
  height: 50vh;
}

.mitte4-1 {
  top: 30;
  left: 0;
  width: 25vw;
  height: 50vh;
}

.mitte4-2 {
  top: 30;
  left: 25vw;
  width: 25vw;
  height: 50vh;
}

.mitte4-3 {
  top: 30;
  left: 50vw;
  width: 25vw;
  height: 50vh;
}

.mitte4-4 {
  top: 30;
  left: 75vw;
  width: 25vw;
  height: 50vh;
}

.unten4-1 {
  bottom: 0;
  left: 0;
  width: 25vw;
  height: 50vh;
}

.unten4-2 {
  bottom: 0;
  left: 25vw;
  width: 25vw;
  height: 50vh;
}

.unten4-3 {
  bottom: 0;
  left: 50vw;
  width: 25vw;
  height: 50vh;
}

.unten4-4 {
  bottom: 0;
  left: 75vw;
  width: 25vw;
  height: 50vh;
}

.links-30 {
  top: 0;
  left: 0;
  width: 31vw;
  height: 100vh;
}

.links-70 {
  top: 0;
  left: 0;
  width: 69vw;
  height: 100vh;
}

.rechts-30 {
  top: 0;
  right: 0;
  width: 31vw;
  height: 100vh;
}

.rechts-70 {
  top: 0;
  right: 0;
  width: 69vw;
  height: 100vh;
}

.alles {
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

img.right60-back,
img.right80-back {
  position: absolute;
  bottom: 0;
  right: 0;
  border: none;
  z-index: -1;
}

img.right60-back {
  max-width: 60%;
}

img.right80-back {
  max-width: 80%;
}

.wappen img {
  position: absolute;
  top: 6vh;
  right: 0;
  width: 11vh;
  z-index: 10;
}

.imageblock.fit {
  flex: 1 1 auto;
  overflow: hidden;
}

.fit img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  left: 0;
}

.hoehe-30 img,
.hoehe-40 img,
.hoehe-50 img,
.hoehe-60 img,
.hoehe-70 img,
.hoehe-80 img {
  object-fit: contain;
  left: 0;
}

.hoehe-30 img {
  height: 30vh;
}

.hoehe-40 img {
  height: 40vh;
}

.hoehe-50 img {
  height: 50vh;
}

.hoehe-60 img {
  height: 60vh;
}

.hoehe-70 img {
  height: 70vh;
}

.hoehe-80 img {
  height: 80vh;
}

/*********************************************
 * Spaltendefinitionen
 *********************************************/
.reveal .columns2 div,
.reveal .columns3 div {
  padding-left: 0;
  padding-right: 0;
}

.reveal .slides div.columns2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6vh;
  padding-left: 0;
  padding-right: 0;
}

.reveal .slides div.columns3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6vh;
  padding-left: 0;
  padding-right: 0;
}

.col1 {
  grid-column: 1;
}

.col2 {
  grid-column: 2;
}

.col3 {
  grid-column: 3;
}

/*********************************************
 * Logos und Hintergründe
 *********************************************/
.logo .preamble::after,
.logo .slide-content::after,
.logo-gross .preamble::after,
.logo-gross .slide-content::after {
  content: " ";
  background-image: url('logos/logozsl.png');
  background-size: 100% 100%;
  position: fixed;
}

.logo .preamble::after {
  width: 20vh;
  height: 4.4vh;
  bottom: 3vh;
  left: 0vh;
}

.logo .slide-content::after {
  width: 20vh;
  height: 4.4vh;
  bottom: 5vh;
  left: 6vh;
}

.logo-gross .preamble::after {
  width: 36vh;
  height: 7.9vh;
  bottom: 3vh;
  left: 0vh;
}

.logo-gross .slide-content::after {
  width: 36vh;
  height: 7.9vh;
  bottom: 6vh;
  left: 6vh;
}

.schwarz.logo .preamble::after,
.schwarz.logo-gross .preamble::after,
.schwarz.logo .slide-content::after,
.schwarz.logo-gross .slide-content::after {
  content: url('logos/logozsl-white.png');
}

.gelb {
  background-color: var(--gelb);
  color: var(--schwarz);
}

.weiss {
  background-color: var(--weiss);
  color: var(--schwarz);
}

.schwarz {
  background-color: var(--schwarz);
  color: var(--weiss);
}

/*********************************************
 * NOTE Style (Zec)
 *********************************************/
.admonitionblock.note {
  background-color: var(--gelb);
}

.admonitionblock.warning {
  background-color: var(--hellrot);
}

.admonitionblock {
  border: 1px solid var(--grau1);
  border-radius: 0.5vh;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--black);
  position: relative;
  margin: 2vh;
  text-align: left;
  font-size: 2.5vh;
}

.admonitionblock .icon {
  display: none;
}

.admonitionblock .title {
  display: none;
}

.admonitionblock .content {
  position: relative;
  z-index: 2;
  padding: 2vh 3vh;
}

.admonitionblock img {
  max-width: 80%;
  margin-top: 10px;
  border-radius: 3px;
}

.admonitionblock table {
  width: 100%;
}