/*
Theme Name: RefKirche-Buelach
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
            04.11.2025/PMe: Ausrichtungen und Masseinheiten optimieren, Footer umstellen
*/

/* --------------------------------------------------------
 Fonts
-------------------------------------------------------- */

@font-face {
  font-family: 'Euclid-Light';
  src: url('https://kath-zug-sm.verowa-infodisplays.ch/theme/fonts/Euclid-Light.woff2') format('woff2'),
    url('https://kath-zug-sm.verowa-infodisplays.ch/theme/fonts/Euclid-Light.woff') format('woff'),
    url('https://kath-zug-sm.verowa-infodisplays.ch/theme/fonts/Euclid-Light.ttf') format('truetype');
  font-style: normal;
}

@font-face {
  font-family: 'Euclid-Regular';
  src: url('https://kath-zug-sm.verowa-infodisplays.ch/theme/fonts/Euclid-Regular.woff2') format('woff2'),
    url('https://kath-zug-sm.verowa-infodisplays.ch/theme/fonts/Euclid-Regular.woff') format('woff'),
    url('https://kath-zug-sm.verowa-infodisplays.ch/theme/fonts/Euclid-Regular.ttf') format('truetype');
  font-style: normal;
}

@font-face {
  font-family: 'Euclid-Medium';
  src: url('https://kath-zug-sm.verowa-infodisplays.ch/theme/fonts/Euclid-Medium.woff2') format('woff2'),
    url('https://kath-zug-sm.verowa-infodisplays.ch/theme/fonts/Euclid-Medium.woff') format('woff'),
    url('https://kath-zug-sm.verowa-infodisplays.ch/theme/fonts/Euclid-Medium.ttf') format('truetype');
  font-style: normal;
}

/* --------------------------------------------------------
 General
-------------------------------------------------------- */
:root {
  /* Fonts */
  --font-base: 'Euclid-Regular', sans-serif;
  --font-light: 'Euclid-Light', sans-serif;
  --font-medium: 'Euclid-Medium', sans-serif;
  --font-arrows: 'Arrows';

  /* Colors */
  --color-base: #eeeeee;
  --color-accent: #ff2846;
  --color-light: #f2f8fc;
  --color-body: #000000;
  --color-gray: #5e6f76;

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

* {
  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);

  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-weight: 600;
}

h2 {
  font-size: 2vw;
  line-height: 1.2;
}

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

img {
  width: auto;
}

/* --------------------------------------------------------
 Main Wrapper
-------------------------------------------------------- */
.wrapper {
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100vw;
  aspect-ratio: 16 / 9;
}

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

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

/* --------------------------------------------------------
 Header
-------------------------------------------------------- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  color: white;
  display: flex;
  height: 11vw !important;
  min-height: 11vw !important;
  justify-content: space-between;
  padding: 0 var(--space-big);
  position: relative;
  width: 100%;
}

.header h1 {
  color: #b4b4b4;
}

/* --------------------------------------------------------
 Logo
-------------------------------------------------------- */
.logo-wrapper {
  display: flex;
  align-items: baseline;
  flex-direction: row;
  justify-content: space-between;
}

.logo-wrapper img {
  height: 8vw;
  max-width: 13vw;
}

/* Date & Time */
.cur_date_time {}

.clock {
  font-size: 3vw;
  line-height: 1;
  font-family: var(--font-light);
  color: var(--color-body);
  text-align: right;
  font-style: normal;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.2vw;
  letter-spacing: 0.078125vw;
}

.cur_date {
  display: none;
}

/* --------------------------------------------------------
 Event List
-------------------------------------------------------- */
.event-list {
  padding: 0;
  margin: 2vw;
  margin-top: 0;
  height: 39vw;
  width: 59vw;
  overflow: hidden;
}

h2.event-type-header {
  max-width: max-content;
  word-break: normal;
  hyphens: auto;
  background: var(--color-accent);
  padding: var(--space-small);
  color: white;
  display: flex;
  gap: var(--space-small);
}

.event-row {
  display: flex;
  align-items: baseline;
  padding-bottom: var(--space-small);
  /* padding-left: 0.5vw;
  padding-right: 0.5vw; */
}

.date-row {
  background: transparent;
  color: var(--color-accent);
  border-radius: 0.5vw;
  font-family: var(--font-base);
  font-size: 1.5625vw;
  font-style: normal;
  line-height: 1;
  padding: 0.5vw;
  padding-left: 14vw !important;
  margin-bottom: var(--space-normal);
  margin-top: var(--space-normal);
}

.date-row:first-of-type {
  margin-top: 0;
}

.event-time {
  line-height: 1;
  font-family: var(--font-light);
  font-size: 1.5vw;
  font-style: normal;
  line-height: 2vw;
  padding-right: 2vw;
  text-align: right;
  width: 14vw;
}

.event-title {
  width: 100%;
  text-align: left;
  font-family: var(--font-base);
  font-size: 1.5625vw;
  font-style: normal;
  line-height: 2vw;
}

.event-location-wrapper {
  display: flex;
  align-items: center;
  width: 16vw;
}

.event-location {
  width: 13.5vw;
  text-align: left;
  font-family: var(--font-base);
  color: var(--color-gray);
  font-size: 1.3vw;
  font-style: normal;
  line-height: 2vw;
}

.description{
  width: 13.5vw;
  padding-right: var(--space-normal);
  text-align: right;
  font-family: var(--font-accent);
  font-size: 1.3vw;
  font-style: normal;
  line-height: 2vw;
}

.arrow_icon {
  color: var(--color-accent);
  text-align: center;
  font-family: var(--font-arrows);
  font-size: 1.75vw;
  font-style: normal;
  line-height: 1.7vw;
  margin-top: 0.3vw;
}

/* --------------------------------------------------------
 Slider
-------------------------------------------------------- */
.slider-wrapper {
  border-radius: 0.5vw;
  background: transparent;
  margin: 2vw;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 33vw;
}

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

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

.slide_image {
  overflow: hidden;
  width: 100%;
}

.slide_image img {
  width: auto;
  max-height: 15vw;
  aspect-ratio: 319.00/255.20;
}

.slide_content_wrapper {
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
  padding: var(--space-normal) 0;
  font-size: 1.56vw;
}

.slide_content {
  display: flex;
}

.slide_content_wrapper h2 {
  font-size: 3.02vw;
  word-break: break-word;
  hyphens: auto;
  text-edge: cap;
  font-size: 1.6vw;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  color: var(--color-accent);
  border-left: solid 2px var(--color-accent);
  padding-left: 1vw; 
}

.slide_content_wrapper span.slide_topic {
  color: var(--color-accent);
  margin-top: var(--space-small);
  font-family: var(--font-accent);
  font-size: 1.2vw;
  font-style: normal;
  line-height: 1.2;
  margin-bottom: var(--space-small);
  padding-left: 1vw; 
}

.slide_content_wrapper .slide_datum {
  font-family: var(--font-accent);
  color: var(--color-gray);
  font-size: 1.2vw;
  font-style: normal;
  line-height: 1.5;
  padding-left: 1vw; 
}

.slide_content_wrapper span.slide_location {
  font-family: var(--font-accent);
  color: var(--color-gray);
  font-size: 1.2vw;
  font-style: normal;
  line-height: 1.2;
  padding-left: 1vw; 
}

.slide_date_time hr {
  margin: var(--space-small) 0;
}

.slide_content_wrapper .slide_description{
  color: var(--color-body);
  margin-top: var(--space-small);
  font-family: var(--font-accent);
  font-size: 1vw;
  font-style: normal;
  line-height: 1.5;
  margin-bottom: 1.44vw;
  padding-left: 1vw; 
  margin-top: var(--space-normal);
}

/* --------------------------------------------------------
 Person
-------------------------------------------------------- */
#hausdienst {
  display: flex;
  flex-wrap: nowrap;
  /*     width: 100%;
    margin-left: 2vw;
    border-top: 3px solid #fff;
    box-sizing: border-box;
    padding: 2.0833vw 0; */
}


#hausdienst .headline {
  font-size: 1.1458333333vw;
  line-height: 1.2;
  margin: 0 1.04166vw 0 0;
  width: 5.20833vw;
}

#hausdienst .person-image {
  border: 1px solid #fff;
  max-height: 5.625vw;
  overflow: hidden;
  width: 4.5833vw;
}

#hausdienst .person-image img {
  width: 100%;
}

#hausdienst .person-image {
  margin-right: 0.72916vw;
}

#hausdienst .person-data {
  font-size: 0.98958vw;
  line-height: 1.5;
  margin-right: 1.6666vw;
}

#hausdienst .person-data .name {
  font-size: 0.98958vw;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 0;
  margin-top: 0;
}

.person-data h2,
.person-data span {
  margin: 0;
}

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

/* --------------------------------------------------------
 Footer
-------------------------------------------------------- */
.footer{
  display: flex;
  justify-content: space-between;
  background: white;
  color: var(--color-body);
  font-size: 1.25vw;
  line-height: 1.2 !important;
  height: 6vw;
  padding: 2vw;
}

.footer .wp-block-column {
  display: flex;
  flex-direction: row;
}

.footer .footer-title {
  width: 12.5vw;
}

.footer-title:has(+ .footer-widgets:not(:has(.personwidget))) {
  display: none;
}

.footer h3 {
  font-family: var(--font-accent);
  font-size: 1.3vw;
  font-style: normal;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
  padding: 0.5vw 0;
  text-align: left;
}

.footer p{
  font-size: 1vw;
  line-height: 1.5;
}

.footer-label{
  font-size: 1.2vw;
  color: var(--color-accent);
}

.footer-value{
  font-size: 1.2vw;
  color: var(--color-body);
  letter-spacing: 0.1vw;
}

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

.footer #text-1,
.footer #text-2,
.footer #text-3,
.footer #text-4 {
  display: flex;
  color: white;
}

.footer #text-1 {
  display: flex;
  flex-direction: row;
  gap: 5vw;
}

.footer #text-4 {
  text-align: center;
  gap: var(--space-big);
  display: flex;
  flex-direction: column;
}

.footer #text-4.widget.widget_text {
  justify-content: center;
}

.footer li#text-4 img{
  max-width: 50vw;
}

.footer .textwidget-wrapper {
  display: flex;
  justify-content: space-between;
}

.footer .footer-widgets {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 83.5vw;
}

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