:root {
	--bgcolor: #14213d;
	--fgcolor: #e5e5e5;
	--darkblue: #003153;
	--darkgrey: #000000;
	--lightblue: #98c1d9;
}

body {
	color: var(--fgcolor);
}

.page {
	//background-image: url(/static/files/media/css/background.jpg);
	//background-size: 100%;
	//background-repeat: no-repeat;
	background-color: var(--bgcolor);
}

header {
	background-color: var(--bgcolor);
}

header h1 {
	text-transform: full-width;
	float: left;
}

.header_image img {
	width: 100%;
	display: none;
}

.header_image_handy img {
	width: 100%;
}

strong {
	font-weight: bold;
}

.startseite main {
	padding: 0;
}

main {
	padding: 0.5em; 
	height: auto;
}

footer {
	display: table-row;
	background-color: var(--darkgrey);
	text-align: center;
	height: 1px;
}

footer p {
	font-size: 1.0em;
	margin-bottom: 0.2em;
	line-height: 1em;
	font-style: italic;
}

.date p {
	font-size: 70%;
}

.event h2 {
	font-size: 1em;
}

p.date {
	display: inline;
	margin-bottom: 0;
	border-bottom: 0.1em solid white;
}


.event p {
	//margin-bottom: 0.2em;
	line-height: 1em;
	font-size: 85%;
}

.event h2 {
	margin-bottom: 0.1em;
	margin-top: 0;
}

div.event {
	margin-bottom: 0.6em;
}

.teaser p {
	margin-bottom: 0.2em;
	font-size: 70%;
}

.newslink a {
	font-size: 85%;
}

/* Basic formatting for all devices and screens 
-------------------------------------------------*/
video {
	width: 100%;
}

h1,h2 {
	font-family: "Liberation Sans", "Arial", sans-serif;
	font-size: 1.2em; /* 36px/16px */
	font-weight: bold;
	margin-bottom: 0.4em;
	margin-top: 0.6em;
	color: var(--lightblue);
}


p {
	font-family: "Liberation Sans", "Arial", sans-serif;
	margin-bottom: 0.4em;
	line-height: 1.4em;
	font-style: lighter;
}

em, i {
	font-style: italic;
}

strong, b {
	font-weight: bold;
}

a {
	color: white;
	text-decoration: none;
}

a:hover {
	color: var(--lightblue);
}

main a:hover {
	border-bottom: 0.1em dotted #00007f;
}

/* Social Media Links */

.socialmedia img {
	height: 2em;
	margin-right: 0.1em;
}

.socialmedia {
	float: left;
}

/* Hamburg Menu */

.hamburg {
	display: block;
	background: var(--darkblue); 
	width: 4.5em; height: 3.4em; 
	position: relative; 
	margin-left: auto; margin-right: 0.25em;
	border-radius: 0.25em 0.25em 0.25em 0; 
	transition: border-radius .5s;
}

.line { 
   position: absolute; 
   left:0.625em;
   height: 0.25em; width: 3.4em; 
   background: #fff; border-radius: 2px;
   display: block; 
   transition: 0.5s; 
   transform-origin: center; 
}

.line:nth-child(1) { top: 1em; }
.line:nth-child(2) { top: 1.8em; }
.line:nth-child(3) { top: 2.6em; }

.hamburg.checked .line:nth-child(1){
   transform: translateY(0.8em) rotate(-45deg);
}

.hamburg.checked .line:nth-child(2){
   opacity:0;
}

.hamburg.checked .line:nth-child(3){
   transform: translateY(-0.8em) rotate(45deg);
}



nav {
	font-family: "Liberation Sans", "Arial", sans-serif;
	display: none;
	margin-bottom: 0.5em;
	background-color: var(--darkgrey);
}

nav li {
	padding-top: 0.5em;
	font-size: 1.0em;
	text-transform: uppercase;
}

.NaviLinks li {
	text-align: center;
}

nav a {
	color: white;
	
}

.galerie_thumbs img {
	max-width: 100%;
	max-height: 100%;
}

/* Playlist on the index side 
-------------------------------*/

span.btns {
	vertical-align: middle;
}
span.audio {
	width: 13em;
	vertical-align: middle;
}

.audio p {
	overflow: hidden;
	display: inline;
}

.playBtn, .nextBtn, .pauseBtn {
  background-color: #62629b; /* Blue background */
  border: none; /* Remove borders */
  color: white; /* White text */
  padding: 12px 16px; /* Some padding */
  font-size: 16px; /* Set a font size */
  cursor: pointer; /* Mouse pointer on hover */
}	

.playBtn:hover, .nextBtn:hover, .pauseBtn:hover {
  background-color: grey;
}

/* Embedded Youtube Video (see webmasterin.net/youtube-videos-responsive-einbinden)
-------------------------------- */

.video-container iframe
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 0px;
	height: 0;
	overflow: hidden;
}

.video-container-wrapper {
	max-width: 100%;
	width: 100%;
	left: 0;
	right:0;
	display: inline-block;
	margin: auto;
}

@media only screen and (min-width: 25em) {

header {
	min-height: 2.8em;
}

header h1 {
	font-size: 1.1em;
	padding-top: 1em;
	padding-left: 0.6em;
	margin-top: 0;
	/* float: left; */
	display: inline-box;
	width: auto;
}

span.audio {
	width: 16em;
	vertical-align: middle;
}

.socialmedia {
	float: left;
	padding-top: 0.7em;
	padding-left: 0.4em;
}

	
}

/* 48em (= 786px and more) 
Formattings for iPad, Tablets and Desktop PC
Only if screen width is at least 48em the layout shall have columns!!!
---------------------------------------------------------------------*/
@media only screen and (min-width: 48em) {

body {
	font-size: 1.2em;
}
.header_image img {
	display: block;
}

.header_image_handy img {
	display: none;
}


h1 {
	font-size: 1.4em;
	margin-bottom: 0.6em;
	margin-top: 0.8em;
}

h2 {
    font-size: 1.4em;
    margin-bottom: 0.2em;
    margin-top: 0.8em;
}

p {
	margin-bottom: 0.8em;
	line-height: 1.6em;
}

.startseite p {
	margin-bottom: 0;
}

.hamburg {
	display: none;
}

nav li {
	display: inline-block;
	padding-bottom: 0.5em;
	padding-top: 0;
	padding-left: 0.6em;
	font-size: 1.0em;
	text-align: right;
}

nav ul {
	margin-right: 1.2em;
	padding-top: 0.8em;
}

nav {
	display: inline;
	background-color: transparent;
	text-align: right;
}


.galerie_thumbs img {
	height: 9em;
}

span.audio {
	width: 87%;
	vertical-align: middle;
}

.video-container-wrapper {
	width: 33%;
}

.socialmedia img {
	height: 1.5em;
	margin-right: 0.1em;
}

.socialmedia {
	padding-top: 0.5em;
	padding-left: 0.4em;
}

}
