/*
Theme Name: kath_eschenbach
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.09.2025/PMe: Neuer Aufbau gem. HTML-Struktur

*/

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

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

body {
    color: #222;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    height: 100%;
    line-height: 1.3;
    overflow: hidden;
    width: 100%;
}

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

/* Font headings */
h1,
h2,
h3,
h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

h2 {
    font-size: 1.6666vw;
    line-height: 1.2;
    margin-bottom: 0.38333vw;
}

h3 {
    font-size: 1.6666vw;
    margin: 0.38333vw 0;
}

img {
    width: auto;
}

/* Main wrapper 
*************************************************************/

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

.hd-container {
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 56.25vw;
    width: 100vw;
    max-height: 100vh;
    max-width: 280vh;
}

/* Header 
*************************************************************/

.header {
    align-items: flex-end;
    background: #ededed;
    color: #333;
    display: flex;
    height: 7vw !important;
    min-height:7vw !important;
    justify-content: space-between;
    padding: 0.5208vw 1.6666vw 0.5208vw 1.14vw;
    position: relative;
    width: 100%;
    border-bottom: 0.5208vw solid #ed1c24;
}

/* Logo */
.topimage {
    line-height: 1;
    z-index: 200;
    position: absolute;
    top: 0.6vw;
}

.topimage img {
    max-height: 9vw;
}


/* Date & Time */
.cur_date_time {
    display: flex;
    flex-direction: column;
    text-align: right;
    width: 100%;
}

.clock {
    font-size: 2.6vw;
    height: 2.6vw;
    line-height: 1;
    font-weight: 400;
}

.cur_date {
  font-size: 1.458333vw;
}


/* Content
*************************************************************/
.content-wrapper {
    display: flex;
    flex-direction: row;
    flex-grow: 2;
    flex-wrap: nowrap;
    font-size: 1.6666vw;
    justify-content: space-between;
    overflow: hidden;
}


/* Event list 
*************************************************************/
.event-list {
    margin: 1.5vw 3.125vw 1.5vw 1.6666vw;
    width: 65.525vw;
}

.date-row {
    align-items: center;
    background-color: #ededed;
    display: flex;
    height: 1.75em !important;
    margin: 1.6666vw 0 0.8033vw;
    padding: 0 1.04166vw 0 16.1vw;
}

.date-row:first-child {
    margin: 0 0 0.5208vw;
}

.event-row {
    align-items: baseline;
    display: flex;
    margin: 0 0 0.5208vw 0;
    padding: 0 1.0416vw;
}

.event-time {
    padding-right: 2.085vw;
    text-align: right;
    width: 15.1041vw;
}

.event-title {
    width: calc(100% - 30.0833vw);
}

.event-location {
    text-align: right;
    width: 14.9791vw;
    font-size: 1.3542vw;
}


/* Slider 
*************************************************************/
.slider-wrapper {
    background: #EDEDED;
    display: flex;
    flex-direction: column;
    margin: 1.5vw 0 0;
    position: relative;
    width: 31.25vw;
}

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

.pp-slideshow {
    flex-grow: 2;
    height: auto;
    overflow: hidden;
    padding-left: 0;
    position: relative;
    width: 31.25vw;
}

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

.pp-slideshow>div {
    width: 31.25vw;
}

.slide_image {
    height: 20.833vw !important;
    overflow: hidden;
    width: 100%;
}

.slide_image img {
    min-height: 100%;
    max-height: 20.833vw;
    text-align: left;
    width: auto;
}

.slide_content_wrapper {
    display: flex;
    flex-direction: column;
    font-size: 1.3542vw;
    overflow: hidden !important;
    padding: 1.25vw 0.8333vw 0 1.25vw;
    max-height: 16.6666vw;
    height: 16.6666vw;
}

.slide_content_wrapper h2 {
    font-size: 1.6666vw;
    margin: 0;
}

.slide_topic {
    margin: 0.625vw 0 0 0;
}

.slide_content {
    display: flex;
    font-size: 1.1458vw;
}

.slide_description {
  hyphens: auto;
}


/* Zuständige Person
*************************************************************/
.person-data h2,
.person-data span {
    margin: 0;
}


.person-data span {
    display: block;
    margin-bottom: 0.625vw;
}


/* Footer
*************************************************************/
.footer {
  background: #ed1c24;
  color: #fff;
  font-size: 1.25vw;
  line-height: 1.4;
  padding: 1.25vw 1.66666vw;
  height: 10vw;
}

.footer ul {
  display: flex;
  justify-content: flex-start;
}

.footer h3 {
    font-size: 1.1458vw;
    line-height: 1.2;
    margin: 0 0 0.5em;
    display: inline-block;
}

.qr-code img {
    height: 7vw;
}

.qr-text {
  padding-right: 1.5vw;
  text-align: right;
}

.footer .col-1 {
    display: flex;
    padding-right: 0.78125vw;
    width: calc(68.75vw / 8);
}

.footer .col-2 {
    display: flex;
    padding-right: 0.78125vw;
    width: calc(68.75vw / 4);
}

.footer h3 {
  font-size: 1.25vw;
  line-height: 1.4;
}

.footer .qr-code {
    display: flex;
    justify-content: flex-end;
    width: 31.25vw;
}


/* Fehlerbox
*************************************************************/
.verowa-down {
    background-color: #ed1c24;
    border-radius: 0.5208vw;
    color: #fff;
    font-size: 1.6666vw;
    font-weight: 600;
    left: 7.8125vw;
    line-height: 3.0208vw;
    padding: 1.8229vw 1.8229vw 2.085vw;
    position: absolute;
    text-align: center;
    top: 22.5vw;
    width: 43.75vw;
}