/*
Theme Name: pleiv-laax-falera
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 16/9 Format unabhängig von der Auflösung

History:	19.01.2022/PMe: Neuer Aufbau gem. HTML-Struktur
*           16.04.2025/PMe: px to vw
*/

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

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

body {
    color: #222;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    height: 100%;
    line-height: 1.3;
    overflow: hidden;
    width: 100%;
    max-height: 100vh;
    max-width: 100vw;
}

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

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

h2 {
    font-size: 1.75vw;
    line-height: 1.2;
    margin-bottom: 0;
}

h3 {
    font-size: 1.5vw;
    margin:  0.271vw 0;
}

img {
    width: auto;
}

.c-red {
  color: #B21B4E;
}

/* 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: center;
    color: #333;
    display: flex;
    height: 6.6666vw !important;
    min-height:6.6666vw !important;
    justify-content: space-between;
    padding: 0;
    position: relative;
    width: 100%;
}

/* Logo */
.topimage {
    line-height: 1;
    z-index: 200;
}

.topimage img {
  height: 6.6666vw;
  width: auto;
}


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

.clock {
  font-size: 4.1145vw;
  height: 4.4792vw;
  line-height: 1;
}

.cur_date {
  font-size: 1.51vw;
}


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


/* Event list
*************************************************************/
.event-list {
    margin: 2.0833vw 3.125vw 2.0833vw 0;
    width: 65.625vw;
}

.date-row {
    align-items: center;
    background-color:#EDEDED;
    display: flex;
    height: 2.265vw !important;
    margin: 1.04166vw 0 0.52083vw 0;
    padding: 0 1.04166vw 0 15.625vw;
}

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

.event-row {
    align-items: baseline;
    display: flex;
    margin: 0 0 0.52083vw 0;
    padding: 0 1.04166vw 0 1.5625vw;
}

.event-time {
    padding-right: 2.0833vw;
    text-align: right;
    width: 14.0625vw;
}

.event-text {
    width: calc(100% - 14.0625vw);
}

.event-text h2 {
    margin-bottom: 0;
}

.event-text div.detailtext {
    margin-bottom: 0.5em;
}

.event-text div.topic {
    margin-bottom: 0;
}

.event-location {
    text-align: right;
    width: 18.229vw;
}


/* Slider
*************************************************************/
.slider-wrapper {
    background: #EDEDED;
    display: flex;
    flex-direction: column;
    margin: 2.0833vw 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;
    /* max-width: 100%; */
    text-align: left;
    width: auto;
    /* min-width: 100%; */
}

.slide_content_wrapper {
/*     box-sizing: border-box; */
    display: flex;
    flex-direction: column;
    font-size: 1.25vw;
    overflow: hidden !important;
    padding: 1.04166vw 0.8333vw 0 1.25vw;
    max-height: 17.5vw;
    height: 17.5vw;
}

.slide_content_wrapper h2 {
    font-size: 1.666vw;
}

.slide_datum {
  margin: 0.1042vw 0 0.8333vw;
}

.slide_topic {
  margin: 0.625vw 0 0 ;
}

.slide_topic.c-red {
  margin: 0 ;
}

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


/* Footer
*************************************************************/
.footer {
  background: url("/theme/images/Zeitfeld_Screen_600x170_2025.jpg") no-repeat right top #f3f3f3;
  display: flex;
  font-size: 1.08333vw;
  line-height: 1.5;
  padding: 1.04166vw 1.666vw 0.78125vw;
  height: 8.8542vw;
  min-height: 8.8542vw;
  background-size: contain;
}

.footer h3 {
  font-size: 1.3542vw;
  line-height: 1.2;
  margin: 0 0  0.271vw;
}

.footer .lbl-legend {
    display: inline-block;
    width: 2.865vw;
}

#todesanzeigen {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-height: 5.2083vw;
}

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