/*
Theme Name: kathedrale-sg
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
*/

/* --------------------------------------------------------
  Fonts
-------------------------------------------------------- */
@font-face {
  font-family: 'DINN';
  src: url('https://kathedrale-sg.verowa-infodisplays.ch/theme/fonts/DINNextW1G-Light.otf') format('opentype');
  font-style: normal;
  font-display: swap;
  font-weight: 400; /* Regular */
}

@font-face {
  font-family: 'DINN';
  src: url('https://kathedrale-sg.verowa-infodisplays.ch/theme/fonts/DINNextW1G-Regular.otf') format('opentype');
  font-style: normal;
  font-display: swap;
  font-weight: 500; /* Medium */
}


/* --------------------------------------------------------
 General
-------------------------------------------------------- */
:root {
  /* Fonts */
  --font-base: 'DINN', sans-serif;    /* Regular */
  --font-medium: 'DINN', sans-serif;  /* Medium */

  /* Colors */
  --color-accent: #9B1889;
  --color-light: #EFEDE2;
  --color-body: #000000;

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

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

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

body {
  font-family: var(--font-base);
}

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

/* Font headings */
h1,
h2,
h3,
h4 {
  font-family: var(--font-medium) !important;
}

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;
}

/* --------------------------------------------------------
 Header
-------------------------------------------------------- */
.header {
  align-items: center;
  display: flex;
  height: 6.6666vh !important;
  min-height: 6.6666vh !important;
  justify-content: space-between;
  padding: 0 var(--space-medium);
  position: relative;
  width: 100%;
  margin: ar(--space-norma) 0;
  border-bottom: solid 2px var(--color-accent);
}

/* Logo */
.topimage {
  width: 15vh;
}

.topimage img {

}

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

.clock {
  font-size: 3vh;
  height: 3vh;
  margin-bottom: 0.5vh;
  line-height: 1.2;
  letter-spacing: 6%;
}

.cur_date {
  font-size: 1.66666vh;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  font-size: 1.6vh;
  width: 100%;
  height: 53.806vh;
}

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


/* --------------------------------------------------------
 Event List
-------------------------------------------------------- */
.event-list {
  padding: 2vh 1.6666vh 0;
  height: 30.5vh;
  /* height: auto; */
  margin-bottom: var(--space-medium);
  width: 100%;
  overflow: hidden;
}

.date-row {
  align-items: center;
  background-color: var(--color-light);
  display: flex;
  padding: var(--space-small);
  margin: var(--space-mini) 0;
  padding-left: 10.4vh;
  border-radius: 0.5vh;
}

.date-row:first-child {
  margin: 0 0 var(--space-mini);
}

.event-row {
  align-items: baseline;
  display: flex;
  padding: var(--space-mini) var(--space-mini);
}

.event-time {
  width: 14vh;
  padding-right: var(--space-medium);
  text-align: right;
}

.event-title {
  font-family: var(--font-medium);
  font-size: 1.6vh;
  width: 43vh;
  color: var(--color-accent);
  margin: 0;
}

.event-location {
  text-align: right;
  width: 22vh;
}


/* --------------------------------------------------------
 Slider
-------------------------------------------------------- */
.slider-wrapper {
  background: var(--color-light);
  display: flex;
  flex-direction: row;
  margin: 0;
  position: relative;
  width: 100%;
  height: 21vh;
}

#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: 21vh;
}

.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: 2vh;
  font-weight: bold;
}

.slider-column .slide_info-container {
  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;
  /* or space-between, depending on design */
  align-items: flex-end;
  overflow: hidden !important;
  height: 100%;
}

.slide_content_wrapper>* {
  display: flex;
  flex: 100%;
  max-width: 100%;
  height: 100%;
  align-items: center;
  align-content: center;
}

.slide_content_wrapper .slide_bild {
  display: flex;
  align-items: center;
}

.slide_content_wrapper .slide_bild img {
  aspect-ratio: auto;
  width: 85%;
  border-radius: 2vh;
  margin: var(--space-normal) var(--space-medium);
  display: block;
}

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

.slide_info-wrapper {
  display: flex;
}

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

.slide_info-container{
  font-size: 1.6vh;
}

.slide_info-container  span.slider-title{
  font-size: 2.1vh !important;
  color: var(--color-accent);
  font-weight: bold;
}

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

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

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

/* --------------------------------------------------------
 Footer - Flyers
-------------------------------------------------------- */
.footer {
  background: var(--color-light);
  color: #fff;
  font-size: 1.25vh;
  line-height: 1.5;
  padding: var(--space-medium);
  height: 39.52675vh;
  display: flex;
  justify-content: space-between;
}

.flyer_left, .flyer_right {
  height: 35.52675vh; /* or whatever height you want */
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .flyer1 img,
.footer .flyer2 img{
  border-radius: 2vh;
  width: 25.125vh;
  background: white;
}

/* Flyer containers */
#flyer_left,
#flyer_right {
  background: var(--color-light);
  height: 35.52675vh;
  width: 25.125vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The track wrapper */
#flyer_left .PPSliderTrack,
#flyer_right .PPSliderTrack {
  background: var(--color-light);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slides themselves */
#flyer_left .slide-wrapper,
#flyer_right .slide-wrapper {
  height: 100%;
}

#flyer_left img,
#flyer_right img {
  height: 100%;
  width: auto;        /* keep aspect ratio */
  border: 1px solid #ccc;
  border-radius: 1vh; /* optional rounding */
}


/* --------------------------------------------------------
 Verowa Error Box
-------------------------------------------------------- */
.verowa-down {
  background-color: #8fb810;
  border-radius: 0.5208vh;
  color: #fff;
  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;
}