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

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

body {
    font-family: 'Roboto', sans-serif;
    background: #999;
    color: #222;
    font-size: 1.354166vh; /* 30px*/
    font-size: 1.1vh; /* 30px*/
    font-weight: 400;
    height: 100%;
    max-height: 100vh;
    line-height: 1.3;
    width: 100%;
    overflow: hidden;
}

h1, h2 {
    font-size: 1.3vh; /* 28px */
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    color: white;
    font-size: 1.05em;
}

ul + h2 {
    margin-top: 0.5vh;
}

h2 + ul {
    margin-top: 0.2604vh;
}

h2.day {
    color: black;
}

span.special-day {
    font-size: 1.1vh;
    padding-left: 2vh;
    /* font-style: italic; */
}

li {
  list-style-type: none;
  display: flex;
  flex-wrap: nowrap;
  /* margin-bottom: 0.25vh; */
}

/* 9/16 Bildformat. Bezogen auf die Bildschirhöhe */
.hd-container {
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    margin: 0 auto;
    width: 56.25vh;
    position: relative;
}

/* main > sections > Tagesagenda
*************************************************************/
header {
  background: url(/theme/images/kapuziner_logo.png) no-repeat #68321f;
  background-position: top left;
	padding: 1.5625vh 1.5625vh 1.5625vh 8.0625vh;
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  height: auto;
  /* margin-bottom: 1vh; */
  background-size: contain;
  height: 7.5vh;
  min-height: 7.5vh !important;
  justify-content: space-between;
}

#spezielles_balken {
  color: #fff;
  font-size: 1.45833vh;
}

.cur_date_time {
  color: #fff;
  font-size: 2.9vh;
  padding-left: 3vh;
}

main {
    height: auto;
    flex: 0 1 auto;
    position: relative;
    /* min-height: 78.5vh; */
    /* overflow: hidden; */
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* margin-bottom: 3vh; */
    overflow: hidden;
}

.content-wrapper section {
    display: flex;
	flex-flow: row wrap;
}

.content-wrapper section:last-child {
    border-bottom: none;
}

.content-wrapper section ul {
	margin-bottom: 0.2vh;
}

.content-bottom-left {
  position: absolute;
  top: 34px;
  left: 0;
  height: 10px;
  width: 67%;
  z-index: 300;
  /* background: red; */
  background: #fff;
}

.content-bottom-right {
  position: absolute;
  top: 34px;
  right: 0;
  height: 10px;
  width: 33%;
  z-index: 300;
  /* background: red; */
  background: #fff;
}

.content-bottom-fade-left {
  position: absolute;
  top: 0;
  left: 0;
  height: 34px;
  width: 67%;
  z-index: 300;
  /* background: red; */
  background-image: -webkit-linear-gradient(-90deg, rgba(255,255,255,0) 0, rgba(255,255,255,1) 90%);
  background-image: -moz-linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,1) 90%);
  background-image: linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,1) 90%);
  background-position: 50% 50%;
  -webkit-background-origin: padding-box;
  background-origin: padding-box;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-background-size: auto auto;
  background-size: auto auto;
}

.content-bottom-fade-right {
  position: absolute;
  top: 0;
  right: 0;
  height: 34px;
  width: 33%;
  z-index: 300;
  /* background: #efeae8; */
  background-image: -webkit-linear-gradient(-90deg, rgba(239,234,232,0) 0, rgba(239,234,232,1) 90%);
  background-image: -moz-linear-gradient(180deg, rgba(239,234,232,0) 0, rgba(239,234,232,1) 90%);
  background-image: linear-gradient(180deg, rgba(239,234,232,0) 0, rgba(239,234,232,1) 90%);
  background-position: 50% 50%;
  -webkit-background-origin: padding-box;
  background-origin: padding-box;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-background-size: auto auto;
  background-size: auto auto;
}

.day-container {
	flex: 0 1 100%;
  padding: 0.4vh 1.5625vh;
  background-color: rgba(183, 199, 80, 1);
}

.event-container {
    flex: 0 1 67%;
    padding: 1vh 1.5625vh;
}

ul li span {
    display: inline-block;
}

span.time {
    width: 4.1vh;
    text-align: right;
    padding-right: 1vh;
}

span.info {
    width: calc(100% - 4.1vh);
}

.roster-container {
    background-color: rgba(104,50,31,0.1);
	flex: 0 1 33%;
    padding: 1vh 1.5625vh 1vh 1vh;
}


/* Footer */
footer {
    color: #fff;
    display: flex;
    flex: 0 1 auto;
    font-size: 1.1vh;
    height: auto;
    padding: 0;
    z-index: 200;
    position: absolute;
    bottom: 0;
    width: 56.25vh;
    flex-direction: column;
}

footer h1, footer h2 {
    font-size: 1.3vh;
}

.footer-top {
  position: relative;
  width: 100%;
  height: 44px;
}

.footer-bottom {
  background-color: #68321f;
  display: flex;
  flex: 0 1 auto;
  width: 100%;
}

.footer-col-1 {
    padding: 1.5625vh 1.5625vh 0.78125vh 1.5625vh;
    flex: 0 1 68%;
}

.footer-col-2 {
    flex: 0 1 32%;
    margin: 0.5625vh 0.5625vh 0.5625vh 0;
    padding: 1vh 1vh 0.5625vh;
}

footer ul {
	padding-bottom: 0.78125vh;
}

footer li {
  /* margin-bottom: 0.5vh; */
}

.logo-img {
    width: 78%;
    height: auto;
}

/* Black Screen für Night Mode
*************************************************************/
#black-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 1;
  transition: opacity 0.5s ease-out;
  z-index: 99999;
}