/*
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
*         14.01.2022/PMe: CSS umbau auf vw anstelle px
*         15.01.2022/PMe: CSS optimieren
*/

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

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

body {
    color: #333;
    font-family: 'Open Sans', 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: 2vw;
/*     font-size: 2.4rem; */
    line-height: 1.2;
    margin-bottom: 0.166666vw;
}

h3 {
    font-size: 1.5vw;
/*     font-size: 1.8rem; */
    margin: 0.166666vw 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: 100vh;
    max-height: 100vh;
    max-height: 2160px;
    width: 100vw;
    width: 3840px;
}

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

.header {
    align-items: center;
    background: #f3f3f3;
    color: #000;
    display: flex;
    height: 5.8333vw !important;
    min-height: 5.8333vw !important;
    justify-content: flex-end;
    padding: 0 1.875vw;
/*     padding: 0 32px; */
    position: relative;
    width: 100%;
}

/* Logo */
.topimage {
    left: 0;
    position: absolute;
    top: 1.041666vw;
/*     top: 20px; */
    z-index: 200;
}

.topimage img {
    margin-left: 1.875vw;
/*     margin-left: 32px; */
    max-height: 8.333vw;
/*     max-height: 160px; */
}


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

.clock {
    font-size: 2.5vw;
/*     font-size: 2.8em; */
    height: 2.8125vw;
/*     height: 54px; */
    line-height: 1;
}

.cur_date {
  font-size: 1.16666vw;
/*   font-size: 1.4em; */
}


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


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

.date-row {
    align-items: center;
    background-color:#f3f3f3;
    display: flex;
    height: 2.4vw !important;
/*     height: 1.75em !important; */
    margin: 1.04166vw 0 0.520833vw;
/*     margin: 20px 0 10px; */
    padding: 0 1.04166vw 0 15.6666vw;
/*     padding: 0 20px 0 320px; */
}

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

.event-time {
    padding-right: 2.083333vw;
    text-align: right;
    width: 14.105vw;
/*     width: 290px; */
}

.event-title {
    width: calc(100% - 28.0833vw);
/*     width: calc(100% - 520px); */
}

.event-location {
    text-align: right;
    width: 13.98vw;
/*     width: 230px; */
}


/* Slider 
*************************************************************/
.slider-wrapper {
    display: flex;
    flex-direction: column;
    margin: 2.08333vw 0;
    position: relative;
    width: 33.3333vw;
/*     width: 600px; */
}

#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: 33.3333vw;
/*     width: 600px; */
}

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

.pp-slideshow>div {
  width: 33.3333vw;
/*     width: 600px; */
}

.slide_image {
    height: 20.8333vw !important;
/*     height: 400px !important; */
    overflow: hidden;
    width: 100%;
}

.slide_image img {
    height: 100%;
    max-height: 20.8333vw;
/*     max-height: 400px; */
    max-width: 100%;
    text-align: left;
    width: auto;
}

.slide_content_wrapper {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
    padding: 1.04166vw 1.04166vw 0 0;
}

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

.slide_content {
    display: flex;
}


/* Zuständige Person
*************************************************************/
.roster {
    margin-left: 35px;
    width: 100%;
}

.person-image {
    display: none;
}

.person-data {
    align-items: center;
	color: #fff;
    display: flex;
    flex-direction: row;
    height: 60px;
    justify-content: flex-start;
    width: 100%;
}

.person-data h1,
.person-data h2,
.person-data span {
    font-size: 1.8em;
    font-weight: 500;
    margin: 0 0.5em 0 0;
}

.person-data h1:after {
    content: ": ";
}

.person-data .name:after {
    content: ", ";
}

.person-data .profession {
    display: none;
}


/* Footer
*************************************************************/
.footer {
	background: #E95F28;
    color: #fff;
    display: flex;
    font-size: 1.25vw;
/*     font-size: 1.5em; */
    justify-content: space-between;
    padding: 1.35417vw 2.4vw 1.66666vw;
/*     padding: 26px 32px 32px; */
}

#text-3 p {
    margin-top: 2.229166vw;
/*     margin-top: 42px; */
}

.footer .lbl-legend {
    display: inline-block;
    width: 2.865vw;
/*     width: 55px; */
}


/* Fehlerbox
*************************************************************/
.verowa-down {
    background-color: #8fb810;
    border-radius: 0.520833vw;
    color: #fff;
    font-size: 32px;
    font-weight: 600;
    left: 150px;
    line-height: 58px;
    padding: 35px 35px 40px;
    position: absolute;
    text-align: center;
    top: 432px;
    width: 840px;
}