/*
Theme Name: behindertenseelsorge
Author: verowa
Author URI: http://verowa.ch/
Description:
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: display
Auflösung fix Full HD

History:	19.01.2022/PMe: Neuer Aufbau gem. HTML-Struktur
*           30.10.2025/PMe: Höhen korrigieren
*/

/* --------------------------------------------------------
 General
-------------------------------------------------------- */
:root {
  /* Fonts */
  --font-base: 'Arial', sans-serif;

  /* Colors */
  --color-base: #F0F0F0;
  --color-accent: #009FE4;
  --color-light: #E1EFFB;
  --color-body: #000000;

  /* Space / Margins / Paddings */
  --space-big: 3vh;
  --space-normal: 2vh;
  --space-small: 1vh;
  --space-mini: 0.5vh;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  margin: 0 !important;
}

body {
  color: var(--color-body);
  font-family: var(--font-base);
  font-size: 1.5vw !important;
  font-weight: 300;
  height: 100%;
  overflow: hidden;
  width: 100%;
}

ul,
li {
  list-style-type: none;
  margin: 0;
}

/* Font headings */
h1,
h2,
h3,
h4 {
  font-family: var(--font-base);
  font-weight: 500;
}

h2 {
  line-height: 1.2;
  margin-bottom: var(--space-mini);
}

h3 {
  font-size: 1.78vh;
  margin: var(--space-mini) 0;
}

img {
  width: auto;
}

b {
  font-weight: bold;
}

/* --------------------------------------------------------
 Main Wrapper
-------------------------------------------------------- */
.wrapper {
  align-items: center;
  background: #999;
  display: flex;
  height: 100vh;
  justify-content: center;
  width: 100vw;
}

.hd-container {
  background: white;
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 56.25vh;
}

/* --------------------------------------------------------
 Header
-------------------------------------------------------- */
.header {
  align-items: center;
  display: flex;
  height: 6.6666vh !important;
  min-height: 6.6666vh !important;
  justify-content: space-between;
  padding: 0 1.25vh;
  position: relative;
  width: 100%;
  margin: 1vh 0;
}

/* Logo */
.topimage {
  padding: 0.78125vh;
}

.topimage img {
  margin-top: 0.2083vh;
  height: 7.5vh;
}

/* Date & Time */
.cur_date_time {
  display: flex;
  flex-direction: column-reverse;
  text-align: right;
  font-size: 1.8vh;
  letter-spacing: 2%;
  font-weight: bold;
}

.clock {
  font-size: 3vh;
  height: 3vh;
  margin-bottom: 0.5vh;
  line-height: 1.2;
  font-weight: normal !important;
}

.cur_date {}

/* --------------------------------------------------------
 Content
-------------------------------------------------------- */
.content-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 93.6666vh;
}

.claim{
  font-size: 1.8vh;
  font-weight: 600;
  color: var(--color-accent);
  text-align: center;
  margin: var(--space-mini);
  letter-spacing: 0.1vh;
}


/* --------------------------------------------------------
 Event List
-------------------------------------------------------- */
.event-list {
  margin-bottom: 1.5vh;
  width: 100%;
  font-size: 1.4vh;
  letter-spacing: 2%;
  line-height: 1.2;
  height: 67.1666vh;
}

.date-row {
  align-items: center;
  background-color: var(--color-light);
  display: flex;
  font-size: 1.8vh;
  letter-spacing: 2%;
  font-weight: bold;
  max-width: max-content;
  padding: 0.2vh var(--space-normal);
  margin-top: var(--space-small);
}

.date-row:first-child {
  margin-top: var(--space-normal);
}

.event-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* top aligned */
  gap: var(--space-normal);
  padding: var(--space-small) var(--space-normal) 0;
}

.event-left {
 display: flex;
 flex-direction: column;
 gap: var(--space-mini);
 flex: 1;
 align-items: flex-start; /* force everything left aligned */
}

.event-row.event-definite {
  display: flex;
  flex-direction: row;   /* row instead of column */
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-normal);
}

.event-text-bild {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-small);
}

.event-text-bild>*:first-child {
  flex: 6;
}

.event-text-bild>*:last-child {
  flex: 3;
}

.event-bild {
  width: 16vh;
  height: 11vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.event-bild-inner {
  width: 100%;
  height: 100%;
  display: flex;
  text-align: center;
  flex-direction: column;
}

.event-bild-inner img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: 50% 0%;
}

.image-source {
  font-size: 0.8vh;
  color: #999;
  text-align: center;
  margin-top: 0.4vh;
  display: block;
  width: 100%;
  display: none;
}

.event-info {
  display: flex;
  flex-direction: column;
  gap: 0.25vh;
}

.event-title {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: var(--space-small);
  font-size: 1.6vh;
  font-weight: bold;
}

.event-info .event-time {
  letter-spacing: 2%;
  margin: 0;
  padding: 0;
}

.event-info .event-time,
.event-info .event-location {
  display: flex;
}

.event-info .event-time,
.event-info .event-location {
  display: flex;
  align-items: flex-start;
  gap: 0.5vh;
}

.event-info svg {
  width: 1.6vh;
  height: 1.6vh;
  flex-shrink: 0;
  fill: currentColor; /* inherits text color */
}


/* --------------------------------------------------------
Icons
-------------------------------------------------------- */
.icons {
  display: flex;
  gap: 0.5vh;
  align-items: center;
}

.icons span img {
  width: 1.8vh;
  height: 1.8vh;
  margin: 0; /* remove bottom offset */
  display: block;
}

/* --------------------------------------------------------
 Slider
-------------------------------------------------------- */
.slider-wrapper {
  background: #EDEDED;
  display: flex;
  flex-direction: row;
  margin: 0;
  position: relative;
  width: 100%;
  height: 25vh;
}

#SliderNoResult {
  flex-direction: row;
  left: 0;
  position: absolute;
  top: 0;
  height: 100%;
  z-index: 3;
}

.pp-slideshow {
  flex-grow: 2;
  height: auto;
  overflow: hidden;
  padding-left: 0;
  position: relative;
  width: 100%;
  height: 23vh;
}

.pp-slideshow>div {
  align-items: center;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.pp-slideshow>div {
  width: 100%;
}

.slide_info-container h2 {
  color: black;
  margin-bottom: var(--space-small);
  font-size: 1.7vh;
  font-weight: bold;
  margin-top: 1vh;
}

.slider-column .slide_info-container {
  font-size: 1.5vh;
  letter-spacing: 2%;
}

.slide_info-container .slide_date_time hr {
  margin-top: var(--space-small);
  margin-bottom: var(--space-small);
}

.slide_content_wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden !important;
  height: 100%;
  background-color: #e1effb; 
}

.slide_content_wrapper>* {
  flex: 0 0 50%;
  max-width: 50%;
}

.slide_content_wrapper .slide_bild img {
  height: 25vh;
  max-width: 100%;
  object-fit: scale-down;
  object-position: center;
  display: block;
}

.slider-column {
  background: var(--color-light);
  color: black;
  display: flex;
  margin: 0;
  padding: 1vh;
  align-items: center;
  height: 100%;
  padding: var(--space-normal);
}

.slide_info-wrapper {
  display: flex;
}

.slide_info-content-wrapper {
  display: flex;
  flex-direction: column;
  width: 34%;
}

.slide_topic {
  margin: 0;
  /* font-size: 1.8vh;  */
}

.slide_content {
  display: flex;
  /* font-size: 1.1458vh; */
}

.slide_description {
  /* font-size: 1.6vh; */
}

/* --------------------------------------------------------
 Footer
-------------------------------------------------------- */
.footer {
  background: var(--color-base);
  color: black;
  font-size: 1.8vh;
  line-height: 1.4;
  letter-spacing: 2%;
  padding: var(--space-mini) 0;
}

.footer ul {
  display: flex;
  justify-content: flex-start;
  padding: var(--space-small) var(--space-normal);
  gap: var(--space-normal);
}

.footer h3 {
  font-size: 1.25vh;
  margin: 0 0 0.5em;
}

.qr-code img {
  height: 8.25vh;
  mix-blend-mode: multiply;

}

.footer .etage {
  font-weight: 500;
  width: 2%;
  position: relative;
}

.footer .rooms-1 {
  width: 27%;
}

.footer .rooms-2 {
  width: 27%;
}

.footer .rooms-3 {
  width: 14%;
}

.footer .rooms-4 {
  width: 14%;
}

.footer .rooms-3 p {
  position: relative;
}

.icn {
  position: absolute;
}

.icn-wheelchair {
  width: 1.6vh;
  top: 7.4vh;
}

.icn-restroom {
  width: 1.9vh;
  top: 7.7vh;
}

.icn-wheelchair {
  width: 1.7vh;
  position: absolute;
  top: 7.6vh;
}

/* --------------------------------------------------------
 Verowa Error Box
-------------------------------------------------------- */
.verowa-down {
  background-color: #8fb810;
  border-radius: 0.5208vh;
  color: white;
  font-size: 1.6666vh;
  font-weight: 600;
  left: 7.8125vh;
  line-height: 3.0208vh;
  padding: 1.8229vh 1.8229vh 2.083vh;
  position: absolute;
  text-align: center;
  top: 22.5vh;
  width: 43.75vh;
}

/* Fallback Slider */
#V_hinweise_SLIDE_FALLBACK {
  left: 0 !important;
}

#V_hinweise_SLIDE_FALLBACK .slide_image {
  max-height: 33vh;
  height: 33vh;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  display: flex;
  align-items: end;
}

