/*
Theme Name: Schiffahrtsmuseum Display
Theme URI: forward.sh
Description: Custom Display Theme
Version: 1.0
Author: Forward Filmproduktion
Author URI: forward.sh
*/

*{
	margin:0;
	padding: 0;
  overflow: hidden;
}

body, html {
	/*max-height: 100vh;*/
	max-width: 100vw;
	/*overflow: hidden;*/
}

.overlay{
  width: 100vw;
  height:100vh;
  background-color: rgba(0,0,0,1);
  display: block;
  /*opacity: 0;*/
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}


#WrapperTop {
	background: white;
    font-family: "open_sansbold", Helvetica, Arial, "sans-serif";
    overflow: hidden;
    width: 100vw;
    height: 300px;
}

#WrapperBottom {
  background: white;
    font-family: "open_sansbold", Helvetica, Arial, "sans-serif";
    overflow: hidden;
    width: 100vw;
    height: 780px;
    font-size: 0pt;
}

#Infos {
	vertical-align: top;
	padding: 0 0rem;
    width: 40vw;
    overflow: hidden;
    /*height: 680px;*/
    /*float: left;*/
    display: inline-block;
	box-sizing: border-box;
	/*border-style: solid;*/
  	/*border-width: 5px;*/
}

#Termine {
	vertical-align: top;
	padding-top:12rem ;
  padding-left: 21rem;
  padding-right: 4rem;
	font-size: 0.875rem;
    width: 40vw;
    height: 100%;
    overflow: hidden;
    /*height: 680px;*/
    /*float: left;*/
    display: inline-block;
	box-sizing: border-box;
	/*border-style: solid;*/
  	/*border-width: 5px;*/
  background-repeat: no-repeat;
}

#Termine h1 {
  padding-bottom: 1rem;
}

.termin {
  margin-bottom: 1rem;
}

.date {
  font-size: 1.25rem;
  font-weight: bold;
}

.title {
  font-size: 1.1rem;
  margin-top: 2000rem;
  margin-top: 0;
  /*font-family: "Merriweather";*/
}

#Termine img , #Wetter img , #Infos img {
	max-width: 100%;
	width: 100%;
}

#Wetter {
	vertical-align: top;
	padding:0;
  padding-top: 5rem;
  margin: 0;
    width: 20vw;
    overflow: hidden;
    height: 702px;
    /*float: left;*/
    display: inline-block;
	box-sizing: border-box;
	/*border-style: solid;*/
	/*border-width: 5px;*/
}



.fullscreen {
  width: 100vw;
  height: 100vh;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: rgba(0,0,0,1);
  position: fixed;
  top:0;
  left:0;
  display: none;
  z-index: 2;
}

.fullscreen-video {
  width: 100vw;
  height: 100vh;
  /*background-size: cover;*/
  /*background-position: center center;*/
  /*background-repeat: no-repeat;*/
  position: fixed;
  top:0;
  left:0;
  right: 0;
  bottom: 0;
  display: none;
  z-index: 3;
}

#video-container {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: 22;
}

#video-container > video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 1. No object-fit support: */
@media (min-aspect-ratio: 16/9) {
  #video-container > video { height: 300%; top: -100%; }
}
@media (max-aspect-ratio: 16/9) {
  #video-container > video { width: 300%; left: -100%; }
}
/* 2. If supporting object-fit, overriding (1): */
@supports (object-fit: cover) {
  #video-container > video {
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}