.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 50002; /* Sit on top */
	/* padding-top: 50px; Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal.multiType {
    z-index: 50001;
    padding-top: 0px;
}
.modal.multiType > .modal-content {
    max-width: 1080px;
    height: unset;
    width: unset;
    font-size: 20px;
    color: var(--text-color-primary);
    min-width: unset !important;
    padding: 10px;
}

.modal.multiType > .modal-content > .contentwrapper {
    padding: 5px;
}
.modal.multiType > .modal-content > .contentwrapper > .content .header {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.modal.multiType > .modal-content > .contentwrapper > .content .header > small {
    display: block;
    color: var(--text-color-primary);
}


.modal.multiType > .modal-content > .contentwrapper > .content > .item {
    padding: 5px;
    cursor: pointer;
    text-decoration: underline;
}

.modal.multiType > .modal-content > .contentwrapper > .content > .item:hover{
    color: var(--color-secondary);
    text-decoration: underline;
}

.container_video {
    height: 0px;
    padding-bottom: 56.25%;
    padding-top: 0px;
    position: relative;
    overflow: hidden;
}
  
/* Modal Content */
.modal-content {
    background-color: #fefefe;
    /* margin: auto; */
    /* padding: 10px; */
    border: 10px solid #fefefe;
    /* max-width: 90%; */
    /* max-height: 90vh; */
    /* position: absolute; */
    /* width: 100vw; */
    /* height: 56.25vw; */
    /* background: pink; */
    /* max-height: 100vh; */
    /* max-width: 177.78vh; */
    /* margin: auto; */
    position: relative;
    width: 90vw;
    height: 50.625vw;
    background: #fefefe;
    max-height: 90vh;
    max-width: 160vh;
    margin: auto;
}
  
/* The Close Button */
.close {
    color: #696969;
    font-size: 25px;
    font-weight: 500;
    position: absolute;
    z-index: 100;
    top: -21px;
    right: -21px;
    /* border: 1px solid #aaaaaa; */
    width: 25px;
    height: 25px;
    background-color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 25px;
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    transition-property: transform;
	
}
  
.close:hover,
.close:focus {
	/* color: #000; */
	-webkit-transform:rotate(90deg);
    -moz-transform:rotate(90deg); 
    -o-transform:rotate(90deg);
	transform: rotate(90deg);
	text-decoration: none;
	cursor: pointer;
}

#contentwrapper {
    display:contents;
    position: relative;
    height:100%;
}
.modalimage {
	max-width: 100%;
    max-height: 87vh;
}

.modalstream {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
}
.modalstream.modalwr {
    /* height: 101%; */
    /* padding-top: 10px; */
    border: none;
}

.lightbox {
    display: flex;
    height: unset !important;
}

.modal-content.inlineUrl {
    min-width: unset;
    width: 90%;
}

.lightbox {
    display: flex;
    height: unset !important;
}

.lightboxoverlay {
    visibility: hidden;
    top: 0;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    position: absolute;
    /* background-color: rgba(0,0,0,0.9); */
    z-index: 99;
}

.lightboxoverlay .lightboxContainer {
    width: 100%;
    height: 100%;
    max-width: 1920px;
    max-height: 1080px;
    position: relative;
}

.lightboxoverlay .lightboxContent {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1920px;
    max-height: 1080px;
}

.lightboxContainer {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
}

.lightbox-close {
    position: absolute;
    top: 0;
    right: 0;
    color: rgba(250,250,250,0.8);
    font-size: 40px;
    cursor: pointer;
    z-index: 999;
    width: 100px;
    height: 50px;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    padding: 10px;
    text-align: end;
}

.lightbox-close::after{
    content: "\2715"
}

.lightbox-close:hover{
    color: rgba(255,255,255,1)
}

/*Medienbreite 1280px*/
/* @media only screen and (min-width: 1280px) {
    .modal-content {
        max-width: 1280px;
        box-sizing: border-box;
    }
}
*/
@media only screen and (max-width: 1080px) {
    .modal.multiType > .modal-content {
        max-width: 80%;
    }
}
/*
@media only screen and (orientation: portrait) {
    .modal-content {
        min-width: unset;
        width: 90%;
    }
} */

/* @media only screen and (min-aspect-ratio: 8/5) {
    #contentwrapper {
        justify-content: center;
        display: flex;
    }
    .modalimage {
        justify-self: center;
        max-height: 90vh;
        max-width: unset;
    }
} */

/* @media screen and (max-height: 300px) and (orientation: landscape) {
    iframe.modalwr{
        width: 20%;
    }
}

@media screen and (min-height: 300px) and (orientation: landscape) {
    iframe.modalwr{
        width: 40%;
    }
}

@media screen and (min-height: 400px) and (orientation: landscape) {
    iframe.modalwr{
        width: 50%;
    }
}

@media screen and (min-height: 500px) and (orientation: landscape) {
    iframe.modalwr{
        width: 60%;
    }
}

@media screen and (min-height: 600px) and (orientation: landscape) {
    iframe.modalwr{
        width: 70%;
    }
}

@media screen and (min-height: 700px) and (orientation: landscape) {
    iframe.modalwr{
        width: 80%;
    }
}

@media screen and (min-height: 800px) and (orientation: landscape) {
    iframe.modalwr{
        width: 100%;
    }
} */