/* Video pop up */
.culture-packages-menu-modules {
    display: block;
    position: relative;
    text-align: right;
    display: flex;
    align-items:flex-end;
    justify-content: flex-end;
}
.culture-packages-menu-modules > label {
    font-family: var(--f-nav);
    text-transform: none;
    font-size: var(--fs-thirdmenu);
    font-weight: 400;
    color: var(--c-white);
    padding: 1.5ch 1.5ch;
    border-left: 1px solid var(--c-white);
    display: flex;
    align-items:center;
    justify-content: center;
    max-width: 18ch;
    text-align: center;
}
.culture-packages-menu-modules > label:hover {
    background: var(--c-brown-chocolate);
}


/* kulturpaket video pop-up */
.video {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
  background: rgba(255,255,255,0.90);
  transition: opacity .25s ease;
    z-index: 950;
    display: flex;
    align-items:center;
    justify-content: center;
}

.video__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  cursor: pointer;
}

.video-state {
  display: none;
}

.video-state:checked + .video {
  opacity: 1;
  visibility: visible;
}

.video-state:checked + .video .video__inner {
  top: 0;
}

.video__inner {
  transition: top .25s ease;
    /*
    */
  position: absolute;
  top: -20%;
  right: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  margin: auto;
  overflow: auto;
  background: #fff;
  border-radius: 5px;
  padding: 1em 2em;
  height: 60%;
}

.video__close {
  position: absolute;
  right: 1em;
  top: 1em;
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
}

.video__close:after,
.video__close:before {
  content: '';
  position: absolute;
  width: 2px;
  height: 1.5em;
  background: #ccc;
  display: block;
  transform: rotate(45deg);
  left: 50%;
  margin: -3px 0 0 -1px;
  top: 0;
}

.video__close:hover:after,
.video__close:hover:before {
  background: #aaa;
}

.video__close:before {
  transform: rotate(-45deg);
}

/* Youtube Section */

section.youtube-section {
    padding: 2rem 2vw 2rem 2vw;
    display: grid;
grid-template-columns: repeat(auto-fit, minmax(270px, 560px));
grid-template-columns: 1fr;
grid-gap: 4vw;
justify-content: center;
align-content: center;
text-align: center;
}

section.youtube-section > p {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
section.youtube-section > p > iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

section.youtube-section > div {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}


section.youtube-section > div > .youtube-pre-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
section.youtube-section > div > .youtube-pre-img > img {
  position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}

section.youtube-section > div > iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
	display: none;
}
.ytp-cued-thumbnail-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transition: opacity .25s cubic-bezier(0,0,.2,1);
  -o-transition: opacity .25s cubic-bezier(0,0,.2,1);
  transition: opacity .25s cubic-bezier(0,0,.2,1);
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
}

.ytp-cued-thumbnail-overlay-image {
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  position: absolute;
}

.ytp-button {
  border: none;
  background-color: transparent;
  padding: 0;
  color: inherit;
  text-align: inherit;
  font-size: 100%;
  font-family: inherit;
  cursor: default;
  line-height: inherit;
}

.ytp-button:focus, .ytp-button {
  outline: 0;
}

.ytp-large-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  margin-left: -34px;
  margin-top: -24px;
  -webkit-transition: opacity .25s cubic-bezier(0,0,.2,1);
  -o-transition: opacity .25s cubic-bezier(0,0,.2,1);
  transition: opacity .25s cubic-bezier(0,0,.2,1);
}

.html5-video-player svg {
  pointer-events: none;
}

.ytp-large-play-button svg {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.ytp-large-play-button-bg {
  -webkit-transition: fill .1s cubic-bezier(.4,0,1,1),fill-opacity .1s cubic-bezier(.4,0,1,1);
  -o-transition: fill .1s cubic-bezier(.4,0,1,1),fill-opacity .1s cubic-bezier(.4,0,1,1);
  transition: fill .1s cubic-bezier(.4,0,1,1),fill-opacity .1s cubic-bezier(.4,0,1,1);
  fill: #212121;
  fill-opacity: .8;
}

.ytp-large-play-button-red-bg .ytp-large-play-button-bg {
  fill: #f00;
  fill-opacity: 1;
}


.yt-top-info {
	position: absolute;
	top: 5%;
	left: 3%;
	right: 3%;
	display: table;
}
.yt-channel-logo {
	display: table-cell;
	width: 50px;
	height: 50px;
	padding-right: 10px;
}
.ytp-title-channel-logo {
  width: 50px;
  height: 50px;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin: 5px;
  -webkit-background-origin: content-box;
  -moz-background-origin: content-box;
  background-origin: content-box;
  float: left;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.yt-title-text {
	display: table-cell;
	vertical-align: middle;
}
.yt-title-text a {
	color: white;
    text-shadow: 1px 1px 2px black;
}
.yt-title-text span {
	color: white;
	font-family: "YouTube Noto",Roboto,Arial,Helvetica,sans-serif;
	color: #eee;
	text-align: left;
	direction: ltr;
	text-shadow: 0 0 2px rgba(0,0,0,.5);
}



@media (max-width:735px) {
    .video {
    }
.video__inner {
    top: 60%;
  width: 90%;
  padding: 1em 0.5em;
    display: block;
}
    
}
