/*
Theme Name: RefKirche-BadenPlus
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: 'OpenSans';
  src: url('fonts/OpenSans-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'Arrows';
  src: url('fonts/Arrows-IDT.otf') format('opentype'),
       url('fonts/Arrows-IDT.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* --------------------------------------------------------
 General
-------------------------------------------------------- */
:root {
  /* Fonts */
  --font-base: 'OpenSans', sans-serif;
  --font-accent: 'OpenSans-Italic', sans-serif;
  --font-arrows: 'Arrows';

  /* Colors */
  --color-base: white;
  --color-accent: #009ee0;
  --color-light: #eaeaea;
  --color-body: #333;

  /* 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);
  font-weight: 400;
  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: var(--color-light);
  color: white;
  display: flex;
  height: 6.25vw !important;
  min-height: 6.25vw !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: 3.5vw;
  margin-top: 0.75vw;
}

/* Date & Time */
.cur_date_time {
  text-align: right;
  font-family: var(--font-accent);
  color: white;
  text-align: right;
  font-size: 1.3vw;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  /* letter-spacing: 0.078125vw; */
  text-transform: uppercase;
}

.clock {
  font-size: 3vw;
  line-height: 1.5;
  font-family: var(--font-accent);
  color: var(--color-accent);
  text-align: right;
  font-style: normal;
  font-weight: 300;
  margin-top: 0.5vw;
}

.cur_date{
  display: none;
}

/* --------------------------------------------------------
 Event List
-------------------------------------------------------- */
.event-list {
  padding: 0;
  margin: 2vw;
  height: 42vw;
  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;
  flex-direction: row;
  align-items: baseline;
  padding: var(--space-small) 0;
  gap: 2vw;
}

.date-row {
  background: white;
  color: var(--color-accent);
  border-radius: 0.5vw;
  font-family: var(--font-body);
  font-size: 1.5vw;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  padding: 0.5vw;
  padding-left: 14.5vw;
  margin-top: var(--space-normal);
}

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

.event-time {
  font-weight: 400;
  line-height: 1;
  font-family: var(--font-accent);
  font-size: 1.2vw;
  font-style: normal;
  font-weight: 300;
  line-height: 2vw;
  padding-right: 0;
  text-align: right;
  width: 12.5vw;
  flex-shrink: 0;
}

.event-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap:0.5vw;
}

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

.event-location-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.event-location {
  flex: 1;
  text-align: left;
  font-family: var(--font-base);
  font-size: 1.2vw;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2vw;
}

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

/* --------------------------------------------------------
 Slider
-------------------------------------------------------- */
.slider-wrapper {
  border-radius: 0.5vw;
  background: white;
  padding: 2vw;
  margin: 2vw;
  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: 18vw;
  aspect-ratio: 319.00/255.20;
  /* border-radius: 0.8vw; */
}

.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 {
  color: var(--color-accent);
  font-size: 3.02vw;
  word-break: break-word;
  hyphens: auto;
  text-edge: cap;
  font-size: 2vw;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  margin-top: 1vw;
}

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

.slide_content_wrapper .slide_datum {
  font-family: var(--font-accent);
  font-size: 1.2vw;
  font-style: normal;
  font-weight: 300;
  line-height: 1.2;
}

.slide_content_wrapper span.slide_location {
  font-family: var(--font-accent);
  font-size: 1.2vw;
  font-style: normal;
  font-weight: 300;
  line-height: 1.2;
}

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

/* --------------------------------------------------------
 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: var(--color-light);
  color: #fff;
  font-size: 1.25vw;
  height: 3vw;
  padding: 1.15vw var(--space-big);
}

.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;
  font-weight: 400;
  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 .lbl-legend {
  display: inline-block;
  width: 2.86458vw;
}

.footer #text-1,
.footer #text-2,
.footer #text-3,
.footer #text-4 {
  display: flex;
  color: var(--color-body);
}

.footer #text-1 {
  gap: 5vw;
}

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

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

ul.footer li#text-1.widget.widget_text{
  font-family: var(--font-accent);
  font-size: 0.9vw;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
}

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