/*
Theme Name: ref-kirche-march
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.04.2024/PMe: px to vw
*/

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

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

body {
    color: #333;
    font-family: 'Roboto', sans-serif;
    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-family: 'Roboto', sans-serif;
    font-weight: 500;
}

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

h3 {
    font-size: 1.5vw;
    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: center;
    background: #EDEDED;
    color: #333;
    display: flex;
    height: 6.6666vw !important;
    min-height:6.6666vw !important;
    justify-content: space-between;
    padding: 0 1.6666vw;
    position: relative;
    width: 100%;
}

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

.topimage img {
    margin-top: 0.2083vw;
    max-height: 4.4792vw;
}


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

.clock {
    font-size: 2.5vw;
    height: 2.8125vw;
    line-height: 1.2;
}

.cur_date {
  font-size: 1.1666vw;
}


/* Content
*************************************************************/
.content-wrapper {
    display: flex;
    flex-direction: row;
    flex-grow: 2;
    flex-wrap: nowrap;
    font-size: 1.6667vw;
    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.3vw !important;
    margin: 1.0416vw 0 0.5208vw;
    padding: 0 1.0416vw 0 16.6666vw;
}

.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 0 1.5625vw;
}

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

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

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


/* Slider 
*************************************************************/
.slider-wrapper {
    background: #EDEDED;
    display: flex;
    flex-direction: column;
    margin: 2.085vw 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.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;
}

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

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


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


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


/* Footer
*************************************************************/
.footer {
	background: #0079BC;
    color: #fff;
    display: flex;
    font-size: 1.25vw;
    justify-content: space-between;
    padding: 1.3542vw 1.6666vw 0.9375vw;
}

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

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

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

.footer li:last-child {
  margin-left: 1.085vw;
  width: 17.0833vw;
}

.footer #text-1 {
  display: flex;
  flex-wrap: nowrap;
}

.footer #text-4 {
  display: flex;
  flex-wrap: nowrap;
}


/* Fehlerbox
*************************************************************/
.verowa-down {
    background-color: #8fb810;
    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;
}