/*
Theme Name: EMK Zürich Nord
Author: Michael Burri
Author URI: http://www.netweaver.ch/
Description: Theme von infocreen.emk-zuerichnord.ch
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

html, body {
	height: 100%;
	width: 100%;
	padding: 0;
	margin: 0;
	font-size: 21pt;
	font-family: 'Roboto Slab';
}

body {
	background: #36363d;
	color: #ffffff;
	padding: 30px;
	display: flex;
	flex-direction: column;
}

#header {
	position: relative;
	max-height: 120px;
	padding-bottom: 30px;
	flex: 1;
}

#time {
	position: absolute;
	top: 0;
	right: 0;
}

#time span {
	font-size: 36pt;
}

#header img {
	max-height: 100%;
}

#main {
	display: flex;
	flex-direction: row;
	flex: 1;
	max-height: calc(100% - 120px);
}

#main img, .imgbox {
	max-height: 100%;
}

#sidebar {
	display: flex;
	flex-direction: column;
	flex: 1;
}

#sidebar p {
	font-size: 0.8em;
}

#sidebar .box {
	flex: 1;
}

.textwidget {
  max-height: 100%;
}

.sb-termin {
  max-height: 50%;
}

#contact {
	flex: 0;
	padding-top: 30px;
	font-size: 18pt;
}

#contact::after {
	content: "";
	clear: both;
	display: table;
}

#qr {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	float: right;
}

.box {
	background: #c4ced6;
	color: #36363d;
	border-radius: 10px;
	overflow: hidden;
	padding: 10px;
}

.header {
	background: #0fa7b9;
	color: #ffffff;
	font-weight: bold;
	margin: -10px -10px 10px;
	padding: 10px;
	font-weight: bold;
}

#slider {
	flex: 3;
	margin-left: 30px;
	max-height: 100%;
	overflow: hidden;
}

/* #sap_slider_shortcode*/

.imgbox {
  margin-top: 20px;
  margin-bottom: 20px;
  max-width: 100%;
  max-height: 97%;
  overflow: hidden;
}

.imgbox img {
  max-width: 100%;
  height: auto;
  max-height: 100%;
}

.breit {
  width: 100%;
  height: auto;
  max-height: 400px;
  display: block;
  overflow: hidden;
}

.quadrat {
  width: 50%;
  height: auto;
  float: left;
}

.quadrat img {
  max-height: 720px;
  max-width: 100%;
  height: auto;
}

.hoch {
  width: auto;
  height: 720px;
  float: left;
}

.hoch img {
  max-height: 720px;
}

.voll {
  max-width: 100%;
  max-height: 95%;
  display: block;
}

.voll img {
  max-width: 100%;
  max-height: 720px;
}

.slidetext {
  padding-top: 20px;
}

.slidetext.quadrat,
.slidetext.hoch {
  width: calc(50% - 30px);
  height: auto;
  float: left;
  margin-left: 30px;
}

.slidetext .voll {
  display: none;
}

.layout-list,
.ics-calendar-date-wrapper, .ics-calendar,
.ics-calendar-list-wrapper .ics-calendar-label {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
}

#footer {
	flex: 0;
	padding-top: 30px;
}