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

* {
    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.1666vw;
}

h3 {
    font-size: 1.4984vw;
    margin: 0.1666vw 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: 1080px; */
    /* width: 191.04166vw;     */
    height: 100vh;
    width: 100vw;
}

/* Header 
*************************************************************/

.header {
    align-items: center;
    /* background: #0079BC; */
    background: #EDEDED;
    color: #333;
    display: flex;
    height: 6.666vw !important;
    min-height:6.666vw !important;
    justify-content: space-between;
    padding: 0 1.666vw;
    position: relative;
    width: 100%;
}

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

.topimage img {
    margin-top: 0.20833vw;
    height: 4.4791vw;
}


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

.clock {
    font-size: 2.3333vw;
    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.6666vw;
    justify-content: space-between;
    overflow: hidden;
}


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

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

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

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

.event-time {
    padding-right: 2.08333vw;
    text-align: right;
    width: 15.104vw;
}

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

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


/* Slider 
*************************************************************/
.slider-wrapper {
    background: #EDEDED;
    display: flex;
    flex-direction: column;
    margin: 2.08333vw 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.8333vw !important;
    overflow: hidden;
    width: 100%;
}

.slide_image img {
    min-height: 100%;
    max-height: 20.8333vw;
    /* 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.3541vw;
    overflow: hidden !important;
    padding: 1.25vw 0.8333vw 0 1.25vw;
    max-height: 31.04166vw;
    height: 31.04166vw;
}

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

.slide_topic {
    margin: 12px 0 0 0;
}

.slide_content {
    display: flex;
    font-size: 22px;
}


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


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

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

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

#hausdienst .person-image {
    margin-right: 14px;
}

#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: 12px;
}


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

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

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

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

.footer li:last-child {
  margin-left: 2.08333vw;
  width: 17.70833vw;
}

.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.520833vw;
    color: #fff;
    font-size: 1.6666vw;
    font-weight: 600;
    left: 7.8125vw;
    line-height: 3.02083vw;
    padding: 1.82291vw 1.82291vw 2.08333vw;
    position: absolute;
    text-align: center;
    top: 41.6666vw;
    width: 43.75vw;
}

