/*
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.10.2025/PMe: Footer
*           21.10.2025/PMe: Breite der Felder optimieren
*/

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

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

body {
  color: #222;
  font-family: 'Ubuntu', 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-weight: 500;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 0.2em;
}

h3 {
  font-size: 2rem;
  margin: 0 0 0.6em 0;  
}

img {
    width: auto;
}

.screen-2 {
  display: none;
}

/* Main wrapper 
*************************************************************/

.wrapper {
  align-items: center;
  background: #999;
  display: flex;
  height: 100vh;
  justify-content: center;
  position: relative;
  width: 100vw;
}

.hd-container {
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 1080px;
  position: relative;
  width: 1920px;
}

.clock-wrapper {
  bottom: 0;
  position: absolute;
  right: 0;
  z-index: 100;
}

.screen-2 {
/*   display: none; */
  z-index: 10;
}

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

/* Date & Time */
.cur_date_time {
  align-items: center;  
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 180px;
  text-align: center;
  width: 458px;  
}

.clock {
  font-size: 5em;
  line-height: 1.2;
}

.cur_date {
  font-size: 2em;
}


/* Content
*************************************************************/
.content-wrapper {
  display: flex;
  flex-direction: row;
  flex-grow: 2;
  flex-wrap: nowrap;
/*   font-size: 2.125rem; */
  font-size: 2.5rem;
  height: 860px;
  justify-content: space-between;
  overflow: hidden;
  width: 100%;
}


/* Event list 
*************************************************************/
.screen-1 .event-list {
  margin: 52px auto 20px auto;
  width: 1840px;
}

.floor-row {
  align-items: center;
  background-color:#f3f3f3;
  display: flex;
  height: 2em !important;
  font-weight: 500;
  margin: 32px 0 20px;
  padding: 0 20px;
}

.floor-row:first-child {
  margin: 0 0 10px;
  /* display: none !important; */
}

.screen-1 .event-row {
  align-items: flex-start;
  color: #0B7EBE;
  display: flex;
  margin: 0 0 16px 0;
  padding: 0 20px 0 0;
}

.screen-2 .event-row {
  color: #222;
  display: flex;
  flex-direction: column;
  margin: 0 0 16px 0;
  padding: 0 20px 0 0;
}

.screen-1 .event-time,
.screen-1 .event-title,
.event-location,
.logo-ikt,
.logo-pp {
  height: 50px;
  line-height: 50px
}

.screen-1 .event-time {
  text-align: left;
  width: 210px;
}

.screen-1 .event-title {
  font-size: 2.5rem;
  font-weight: 400;
  height: auto;
  line-height: 1.2;
  width: calc(100% - 790px);
  margin: 0;
}

.screen-1 .event-location {
  color: #222;
  font-size: 2.5rem;
  padding-top: 3px;
  text-align: right;
  width: 450px;
  hyphens: none;
}

.lbl-floor {
  display: inline-block;
  padding-right: 25px;
  text-align: right;
  width: 140px;
}

.logo-ikt,
.logo-pp {
  display: inline-block;
  width: 160px;
  text-align: right;
  padding: 0 23px 0 0;
}

.logo-ikt img,
.logo-pp img {
/*   height: 30px; */
  height: 51px;
  width: auto;
}

.logo-pp {
  /* padding-top: 4px; */
}

.screen-1 .img-wrapper {
/*   width: 488px; */
  width: 608px;
  overflow: hidden;
}

.screen-1 .img-wrapper img {
  width: 100%;
}

.screen-1 {
  left: 0;
  position: absolute;
  top: 0;
}

/* Eventlist Screen 2*/
.pp-event-list {
  background: #fff;
  padding: 40px 0 30px 26px;
  width: 608px;
}

.screen-2 #aktuell_kirche {
  overflow: hidden;	
}

.date-row {
  align-items: center;
  background-color:#f3f3f3;
  display: flex;
  font-size: 2.5rem;
  height: 4.5rem !important;
  margin: 40px 0 20px;
  padding: 0 20px 0 12px;
}

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

.screen-2 .event-time {
  font-size: 2.5rem;
/*   height: 1.2; */
  line-height: 1.2;
  padding-left: 12px;
}

.screen-2 .event-title {
  color: #9A0047;
  line-height: 1.2;
  margin: 0;
  padding-left: 12px;
}

.screen-2 .event-location {
  font-size: 1.6rem;
  padding-left: 12px;
  display: none;
}


/* Image Container Screen 2 */
.screen-2 .img-wrapper {
  background-size: cover !important;
  background: url(/theme/images/PP_1.png) no-repeat;
  background-position: center center !important;
  height: 880px;
  overflow: hidden;
  width: 1312px;
}


/* Footer
*************************************************************/
.footer {
  background: #F3F3F3;
  color: #222;
  display: flex;
  font-size: 2rem;
  height: 220px;
  width: 1920px;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.footer h3 {
  font-size: 2.2rem;
  margin-bottom: 0.25em;
}

#text-1 {
  padding: 0 0 0 40px;
  width: 731px;
}

#text-2 {
  padding: 0 26px 0 0;
  width: 731px;
}

.contact-container {
  display: flex;
  gap: 33px;
  align-items: center;
}

.screen-1 .contact-container .footer-logo1 {
  align-items: center;
  display: flex;
  width: 149px;
}

.screen-1 .contact-container .footer-logo2 {
  align-items: center;
  display: flex;
  width: 149px;
}

.pp-logo,
.footer-logo1 img {
  width: 149px;
  height: auto;
}

.screen-2 .contact-container .footer-logo {
  padding-right: 20px;
  width: 169px;
}

.widget_clock {
  width: 458px;
}

.screen-1 .widget_clock {
  background: #027ABC;
  height: 100%;
}

.screen-2 .widget_clock {
  background: #9A0047;
}

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

  /* ---------- Analog Clock Styles ---------- */
.widget_clock {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.analog-clock {
    position: relative;
    width: 60px;
    height: 60px;
    border: 2px solid #333;
    border-radius: 50%;
    background: #fff;
}

.analog-clock .hand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(0deg);
    border-radius: 2px;
}

.hand.hour {
    width: 3px;
    height: 18px;
    background: #333;
}
.hand.minute {
    width: 2px;
    height: 24px;
    background: #555;
}
.hand.second {
    width: 1px;
    height: 26px;
    background: #d33;
}

.center-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #333;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}