/* CONTENTBEREICH UND VERHALTEN */

/* POP UP */

.bh-bemode #popupContent {
	display: none;
	position: relative;
}
.bh-bemode[data-page="1"] #popupContent {
	display: block;
	padding-top: 30px;
}
#popupContent > .bhContainer {
	max-width: 480px;
	margin: 0 auto;
	-webkit-box-flex: 1;
    -ms-flex-positive: 1;
        flex-grow: 1;
    padding: 0 20px;
    box-sizing: border-box;
}
.bh-femode #popupContent {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-flow: row nowrap;
			flex-flow: row nowrap;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
    -ms-flex-align: center;
        align-items: center;
	position: fixed;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	pointer-events: none;
	opacity: 0;
	background: rgba(0,0,0,0.7);
    animation: el-popup-delayed-hide 0.5s forwards;
    visibility: hidden;
}
#popupContent.initialized {
	transition: ease opacity 0.5s;
}
.bh-femode #popupContent.showPopup {
	opacity: 1;
	pointer-events: all;
	transition: ease opacity 0.5s;
	z-index: 17000000;
    animation: none;
    visibility: visible;
}

@keyframes el-popup-delayed-hide {
	from {
		visibility: visible;
	}
	to {
		visibility: hidden;
	}
}

/* IE11 HACK */

@media screen and (min-width:0\0) and (min-resolution:+72dpi), \0screen\,screen\9 { 
	.bh-femode #popupContent {
		display: block;
	}
	#popupContent > .bhContainer {
		margin-top: 150px;
	}
}

.bh-text-blue {
	color: #66A2BC;
}

/* ELEMENT */

.el-popup-wrapper {
	width: 100%;
	height: auto;
	min-height: 300px;
	max-height: 650px;
	box-sizing: border-box;
}
@media only screen and (max-height: 600px) {
	.el-popup-wrapper {
		height: 80vh;
	}
}
/* IMG */
.el-popup-img {
	width: 100%
}
.el-popup-img .bhBackgroundImage {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
.el-popup-img .bhBackgroundImage.bhe-state-property-empty {
	position: relative;
	background-color: rgba(0,0,0,0.2);
}
.el-popup-img .bhBackgroundImage.bhe-state-property-empty:after {
	content: '\e966';
	font-family: 'bakehouse-iconset' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    height: 50px;
    width: 50px;
    left: calc(50% - 25px);
    top: 75px;
    color: white;
    z-index: 1;
    font-size: 30px;
    text-align: center;
}
.el-popup-img .el-popup-img-height {
	height: 200px;
	width: 100%;
}
.el-popup-close {
	position: absolute;
	height: 20px;
	width: 20px;
	top: 20px;
	right: 20px;
	font-size: 22px;
	color: white;
	cursor: pointer;
	z-index: 10;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	line-height: 1;
}
.el-popup-wrapper:focus {
	outline: none;
}
.el-popup-close:focus:not(:focus-visible) {
	outline: none;
}
.el-popup-close:focus-visible {
	outline: 2px solid white;
	outline-offset: 3px;
	border-radius: 50%;
}

/* CONTENT */
.el-popup-content {
	width: 100%;
	height: calc(100% - 200px);
	max-height: 550px;
	padding: 40px;
	box-sizing: border-box;
	overflow-y: auto;
	background-color: white;
}
.bh-bemode.bhe-state-editing[data-page="1"] .el-popup-content {
	overflow-y: visible;
}

.el-popup-content .el-popup-text {
	margin-bottom: 30px;
}

.el-popup-button {
	width: 100%;
	height: auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row nowrap;
	flex-flow: row nowrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}
.el-popup-button-inner {
	background: #C39E00;
	border-radius: 5px;
	box-sizing: border-box;
	min-width: 200px;
	padding: 18px 20px;
	box-sizing: border-box;
	text-align: center;
}

/* SCROLLBAR */
.el-popup .el-popup-content::-webkit-scrollbar {
	width: 5px;
}
.el-popup .el-popup-content::-webkit-scrollbar-track {
 	background: transparent;
}
.el-popup .el-popup-content::-webkit-scrollbar-thumb {
	background-color: #C39E00;
	border-radius: 0px;
	border: 1px solid transparent;
}



/* TEXTE ANPASSEN */

.el-popup-content .el-popup-text .bh-bodytext p {
	text-align: center;
}

.el-popup-content .el-popup-headline p {
	text-align: center;
    font-family: 'Cinzel', serif;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 21px;
    text-align: center;
    letter-spacing: 0.1em;
    color: #C39E00;
    text-transform: uppercase;
}
.el-popup-button-inner,
.el-popup-button-inner .bh-bodytext {
	font-family: 'Muli', sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 19px;
	text-align: center;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: white;
}

.el-popup-placeholder{
	text-align:center;
	background: rgba(0,0,0,0.1);
	line-height:50px;
	font-family: sans-serif;
	font-size: 1.2rem;
}