/*
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: 2.3rem;
    line-height: 1.2;
    margin-bottom: 0.2em;
}

h3 {
    font-size: 1.8rem;
    margin: 0.2em 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: 1920px;
}

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

.header {
    align-items: center;
    background: #0079BC;
    color: #fff;
    display: flex;
    height: 128px !important;
    min-height:128px !important;
    justify-content: space-between;
    padding: 0 32px;
    position: relative;
    width: 100%;
}

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

.topimage img {
    margin-top: 4px;
    max-height: 86px;
}


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

.clock {
    font-size: 2.8em;
    height: 54px;
    line-height: 1.2;
}

.cur_date {
  font-size: 1.4em;
}


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


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

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

.date-row:first-child {
    margin: 0 0 10px;
}

.event-row {
    align-items: baseline;
    display: flex;
    margin: 0 0 10px 0;
    padding: 0 20px 0 30px;
}

.event-time {
    padding-right: 40px;
    text-align: right;
    width: 290px;
}

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

.event-location {
    text-align: right;
    width: 230px;
}


/* Slider 
*************************************************************/
.slider-wrapper {
    background: #EDEDED;
    display: flex;
    flex-direction: column;
    margin: 40px 0 0;
    position: relative;
    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: 600px;
}

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

.pp-slideshow>div {
    width: 600px;
}

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

.slide_image img {
    min-height: 100%;
    max-height: 400px;
    /* 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: 26px;
    overflow: hidden !important;
    padding: 24px 16px 0 24px;
    max-height: 320px;
    height: 320px;
}

.slide_content_wrapper h2 {
    font-size: 32px;
}

.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: 40px 0; */
}


#hausdienst .headline {
    font-size: 22px;
    line-height: 1.2;
    margin: 0 20px 0 0;
    width: 100px;
}

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

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

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

#hausdienst .person-data {
    font-size: 19px;
    line-height: 1.5;
    margin-right: 32px;
}

#hausdienst .person-data .name {
    font-size: 19px;
    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.5em;
    justify-content: space-between;
    padding: 26px 32px 18px;
}

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

.footer p {
    font-size: 19px;
    line-height: 1.5;
}

.footer .lbl-legend {
    display: inline-block;
    width: 55px;
}

.footer li:last-child {
  margin-left: 40px;
  width: 300px;
}

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

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


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