/*
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:	20.11.2023/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: 1vw;
    line-height: 1.3;
}

h3 {
    font-size: 1vw;
    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: 56.25vw;
    width: 100vw;
}

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

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

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

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


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

.clock {
    font-size: 2.25vw;
    line-height: 1;
}

.cur_date {
  font-size: 1vw;
}


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


/* Event list
*************************************************************/
.event-list {
    margin: 1vw 0 0;
    width: 100vw;
}

.day-container {
  margin-top: 0.5vw;
  position: relative;
}

#aktuell {
  column-count: 2;
  column-gap: 2vw;
  margin-right: 1vw;
  height: 46vw;
}

.date-row {
    align-items: center;
    background-color:#7F8BB6;
    border-bottom: 1px solid #ededed;
    color: #fff;
    display: flex;
    margin: 0 1vw 0 0;
    width: 5vw;
    font-size: 0.8vw !important;
    position: absolute;
    top: 0;
    text-align: center;
    justify-content: center;
    padding: 0.45vw 0.5vw 0.35vw;
    line-height: 1.2
}

.day-container:nth-child(0) .date-row {
    z-index:20
}
.day-container:nth-child(1) .date-row {
    z-index:19
}
.day-container:nth-child(2) .date-row {
    z-index:18
}
.day-container:nth-child(3) .date-row {
    z-index:17
}
.day-container:nth-child(4) .date-row {
    z-index:16
}
.day-container:nth-child(5) .date-row {
    z-index:15
}
.day-container:nth-child(6) .date-row {
    z-index:14
}
.day-container:nth-child(7) .date-row {
    z-index:13
}
.day-container:nth-child(8) .date-row {
    z-index:12
}
.day-container:nth-child(9) .date-row {
    z-index:11
}
.day-container:nth-child(10) .date-row {
    z-index:10
}
.day-container:nth-child(11) .date-row {
    z-index:9
}
.day-container:nth-child(12) .date-row {
    z-index:8
}

.sunday .date-row {
  background-color: #FBBD3D;
}

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

.event-row {
    align-items: baseline;
    display: flex;
    margin: 0;
    padding: 0.25vw 0 0 0.5vw;
    border-left: 5vw solid #ededed;
}

.event-time {
    padding-right: 0.75vw;
    text-align: right;
    width: 8vw;
}

.event-title {
    width: 25vw;
    margin-bottom: 0.1vw;
}

.event-title h2 {
    font-weight: 600;
}

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

.persons {
  color: #777;
  display: flex;
  flex-wrap: wrap;
  font-size: 1vw;
}

.persons span {
  margin-right: 1vw;
}

/* Footer
*************************************************************/
.footer {
	background: #7F8BB6;
    color: #fff;
    display: flex;
    font-size: 1.5em;
    justify-content: space-between;
    height: 1vw;
    /* padding: 12px 32px 12px; */
}

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