/* --- FARBEN ---*/
:root {
  --bk-weiss: #FFFFFF;
  --bk-creme: #F3ECE4;
  --bk-creme-mittel: #E9DDD1;
  --bk-creme-dunkel: #B7ACA0;
  --bk-rosa: #F8C6BB;
  --bk-rot: #F47C62;
  --bk-blau: #4B477A;
}

/* --- SCHRIFTEN ---*/

@font-face {
   font-family:"Cabrio";
   font-style: normal;
   font-weight: 1 900;
   src:
   url(../fonts/Cabrio-VariableWEB.woff2) format('woff2'),
   url(../fonts/Cabrio-VariableWEB.woff) format('woff'),
}
@font-face {
  font-family:"cabrio";
  font-style: italic;
  font-weight: 1 900;
  src:
  url(../fonts/Cabrio-VariableItalicWEB.woff2) format('woff2'),
  url(../fonts/Cabrio-VariableItalicWEB.woff) format('woff'),
}
@font-face {
  font-family:"Cabrio";
  font-style: normal;
  font-weight: 950;
  src:
  url(../fonts/CabrioWeb-Poster.woff2) format('woff2'),
  url(../fonts/CabrioWeb-Poster.woff) format('woff'),
}
@font-face {
 font-family:"cabrio";
 font-style: italic;
 font-weight: 950;
 src:
 url(../fonts/CabrioWeb-PosterItalic.woff2) format('woff2'),
 url(../fonts/CabrioWeb-PosterItalic.woff) format('woff'),
}




html{
	background: var(--bk-creme);
	font-family: "cabrio", -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
	color: var(--bk-blau);
	max-width: 700px;
	padding: 0px;
	margin: 0 auto;
}

.loading{
	background: rgba(255,255,255,0.8) url(/loading.gif);
	width: 50px;
  height: 50px;
  position: fixed;
  border-radius: 25px;
  left: calc(50vw - 30px);
  top: 0px;
  z-index: 100;
  background-size: contain;
}

body{
	margin: 0px;
	padding: 0px;
	-webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  user-select: none;
}
body.offline:before{
	content: '📶 offline';
	top: 10px;
	background-color: red;
	color: #fff;
	width: 60px;
	padding: 2px;
	font-size: 9px;
	position: fixed;
	display: block;
	left: calc(50% - 30px);
	top: 0px;
	z-index: 8;
	text-align: center;
	border-radius: 5px;
}
body[data-adm="1"]:before{
	content: '!';
	top: 8px;
	width: 30px;
	padding: 2px;
	font-size: 24px;
	color: red;
	position: fixed;
	display: block;
	z-index: 8;
	text-align: center;
	margin-left: 50px;
}

.menu_button{
	z-index: 9;
	position: fixed;
	top: 0px;
  height: 32px;
  width: 37px;
  padding: 0px;
  padding-top: 18px;
  padding-left: 13px;
  margin: 0px;
  background-color:transparent;
  color:var(--bk-blau);
  line-height: 8px;
  transition: rotate 0.4s;
}
.menu_button:before{
  width: 25px;
  content: " ";
  border-top: 2px solid var(--bk-blau);
  /*border-bottom: 2px solid var(--bk-blau);*/
  display: block;
  transition: all 0.4s;
  height: 4px;
}
.menu_button:after{
  width: 25px;
  content: " ";
  border-bottom: 2px solid var(--bk-blau);
  display: block;
  transition: all 0.4s;
  height: 4px;
}
.menu_button.active:before{
  transform: rotate(-40deg);
  border-bottom: none;
  margin-top: 6px;
	border-color: #fff;
}
.menu_button.active:after{
  transform: rotate(40deg);
  margin-top: -9px;
	border-color: #fff;
}
.menu{
	touch-action: none;
	position: fixed;
	z-index: 8;
	padding-top: 40px;
	top: 0px;
	height: calc(100vh - 40px);
	background: rgba(75,71,121,0.9);
	backdrop-filter: blur(4px);
	color: #fff;
	font-size: 18px;
	width: 100%;
	max-width: 700px;
	display: none;
}
.menu > a{
	display: block;
	text-decoration: none;
	color: #fff;
	border-bottom: 1px solid #ccc;
	padding: 10px;
	line-height: 30px;
}
.header{
	text-align: center;
	position: fixed;
	z-index: 7;
	top: 0px;
	width: 100vw;
	max-width: 700px;
	height: 45px;
	padding-top: 5px;
	background: rgba(243, 236, 228, 0.8);
	backdrop-filter: blur(4px);
}
.header > a.header-logo{
	display: inline-block;
  background-image: url(/logo.png);
  background-position: center center;
  background-repeat: no-repeat;
  width: 30px;
  height: 36px;
  background-size: contain;
}
.fwContent{
	margin-top: 50px;
	max-width: 100vw;
	overflow-x: hidden;
}
h3{
	text-align: center;
	font-weight: normal;
}
h1{
	margin-top: 0px;
	padding-left: 18px;
	font-weight: 100;
	font-size: 24px;
	line-height: 30px;
}
h1.kw[data-locked="1"]:after{
	content:"\01f512";
}
a.this,a.next{
	font-size: 32px;
	font-weight: 100;
	line-height: 30px;
	color: #333;
	text-decoration: none;
	margin-left: 10px;
	margin-right: 10px;
}
a.next{
	float: right;
}
a.this{
	float: left;
}
a.next:before{
	display: inline-block;
	content: '→';
	font-weight: 100;
	color: var(--bk-blau);
}
a.this:before{
	display: inline-block;
	content: '←';
	font-weight: 100;
	color: var(--bk-blau);
}
div.close{
	float: right;
  font-size: 20px;
  border-radius: 20px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-weight: bold;
  background: var(--bk-blau);	
  color: var(--bk-weiss);
  text-align: center;
}
.dialog{
	background: #fff;
	max-width: 300px;
	width: 70%;
	height: 50px;
	border-radius: 30px;
	box-shadow: 1px 1px 5px #555;
	position: fixed;
	top: 40%;
	left: 10%;
	color: #333;
	padding: 20px;
}
.kinder_wrap{
	left: 0px;
	transition: left 0.05s ease-out;
}
.kinder_wrap.main > h1{
	max-width: calc(100vw - 90px);
	margin: 0 auto;
	font-size: 19px;
	text-align: center;
	padding: 0px;
	font-weight: 800;
	color: var(--bk-rot);
}
.kinder_wrap.select{
	position: relative;
}
.kinder_wrap > div{ 
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 18px;
	padding-left: 18px;
	/*background-image: linear-gradient(to right, #fafafa, #f1f1f1);*/
}
.kinder_wrap > div:nth-child(odd){
	/*background-image: linear-gradient(to right, #f1f1f1, #fafafa);*/
	background-color: var(--bk-rosa);
}
.kinder_wrap .name{
	font-weight: 800;
}
.abholzeiten_wrap{
	touch-action: none;
  position: fixed;
  top: 80px;
  margin-left: 5px;
  background: var(--bk-rot);
  border: 1px solid #ccc;
  width: calc(100% - 50px);
  max-width: 700px;
  padding: 20px;
  z-index: 1;
  font-size: 24px;
  min-height: 280px;
  border-radius: 20px;
  box-shadow: 4px 0px 10px #d9d9d9;
}
.abholzeiten_wrap h3{
	height: 30px;
	padding: 0px;
	margin: 0px;
	margin-bottom: 20px;
}
.abholzeiten_wrap input{
	width: 90px;
	text-align: center;
	font-size: 22px;
	border: none;
	margin:  1px;
}
.abholzeiten_wrap span{
	display: inline-block;
	width: 100px;
	text-align: right;
	padding-right: 20px;
	font-size: 16px;
}
.zeiten_item_wrap{
	position: absolute;
  background: #fff;
  width: 110px;
  padding: 5px;
  z-index: 2;
  color: #000;
  text-align: center;
  margin-left: 107px;
  box-shadow: 4px 0px 10px #d9d9d9;
  border-radius: 10px;
}
.zeiten_item_wrap div{
	padding-top: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #444;
	height: 20px;
	font-size: 20px;
}
.day_wrap{
	font-size: 0px;
}
.counter_wrap{
	margin-top: 30px;
	display: block;
	padding-left: 18px;
}
.counter_wrap .name{
	display: block;	
	font-size: 12px;
	text-align: center;
	border-bottom: 1px solid #efefef;
  width: calc(100% - 15px);
}
.counter_wrap .day_wrap span{
	text-align:center;
}
.counter_wrap .day_wrap span:before{
	text-align:center;
	width: auto;
	font-size: 10px;
}
.day_wrap span{
	display: inline-block;
	width: calc(20% - 1px);
	vertical-align: middle;
	font-size: 16px;
	line-height: 16px;
	height: 30px;
	font-weight: 600;
}
.day_wrap span:before{
	content: '';
	display: block;
	font-size: 8px;
	width: 15px;
	color: var(--bk-blau);
	vertical-align: middle;
	font-weight: 300;
}
.day_wrap span.d1:before{
	content: 'Mo';
}
.day_wrap span.d2:before{
	content: 'Di';
}
.day_wrap span.d3:before{
	content: 'Mi';
}
.day_wrap span.d4:before{
	content: 'Do';
}
.day_wrap span.d5:before{
	content: 'Fr';
}
.kinder_wrap span.closed{
	height: 17px;
  text-align: center;
  width: 50px;
  background: #efefef;
  color: #555;
  border-radius: 4px;
  line-height: 17px;
  font-size: 9px;
}
.kinder_wrap.geburtstage > div{
	font-size: 0px;
}
.kinder_wrap.geburtstage > div > div{
	width: 25%;
	display: inline-block;
	vertical-align: middle;
	font-size: 14px;
}
.kinder_wrap.geburtstage > div > div.name{
	width: 48%;
}
.kinder_wrap.geburtstage .days{
	text-align: right;
}
.kinder_wrap.geburtstage .days:before{
	content: attr(data-d);
}
.kinder_wrap.geburtstage .days:after{
	content: 'Tage';
	font-size: 8px;
	margin-left: 2px;
}
.kinder_wrap.geburtstage .days[data-d="1"]:before,.kinder_wrap.geburtstage .days[data-d="0"]:before{
	content: '';
}
.kinder_wrap.geburtstage .days[data-d="1"]:after{
	content: 'morgen';
}
.kinder_wrap.geburtstage .days[data-d="0"]{
	font-size: 0px;
}
.kinder_wrap.geburtstage .days[data-d="0"]:after{
	content: '\01f382';
	font-size: 32px;
}
.print_wrap{
	text-align: center;
	margin-top: 20px;
	margin-bottom: 20px;
}
.print_wrap > a{
	text-decoration: none;
	font-weight: bold;
	color: var(--bk-blau);
}
.info_wrap{
	padding: 10px;
	padding-right: 20px;
}
.kinder_wrap.files a{
	text-decoration: none;
	color: #444;
	font-size: 14px;
}
.kinder_wrap.files a:after{
	content: '\0021e3';
}
.krankmeldung{
	font-size: 16px;
}
.krankmeldung button{
	font-size: 16px;
	margin-top: 10px;
	width: 150px;
	padding: 4px;
	padding-left: 15px;
	text-align: left;
}
button{
	cursor: pointer;
  border: 1px solid #fff;
  border-radius: 3px;
  box-shadow: 1px 1px 5px #777;
  color: #444;
  background-color: #fff;
}
button:active{
	box-shadow: 1px 1px 5px #777 inset;
}


.krankmeldung .btn_wrap{
	margin-top: 10px;
	text-align: center;
}
@media (prefers-color-scheme: dark) {
	html{
		background: var(--bk-blau);
		color: var(--bk-creme);
	}
	.header{
		background: rgba(75,71,122,0.8);
	}
  .header > a.header-logo {
    background-image: url(/logo-dunkel.png);
  }
  .menu_button:before,.menu_button:after{
  	border-color: var(--bk-rosa);
  }
	.kinder_wrap > div:nth-child(odd) {
	    background-color: #262349 ;
	}
    .kinder_wrap.files a{
        color:#fff;
    }
    a.next:before{
	display: inline-block;
	content: '→';
	font-weight: 100;
	color: var(--bk-rosa);
}
a.this:before{
	display: inline-block;
	content: '←';
	font-weight: 100;
	color: var(--bk-rosa);
}
.day_wrap span{
	color: var(--bk-rosa);
}
.day_wrap span:before{
	color: var(--bk-creme);
}
.kinder_wrap .name{
	color: var(--bk-creme);
}
.print_wrap > a{
	color: var(--bk-rosa);
}

}