.mfp-wrap {
	z-index: 10000000;
}
@media all and (max-width: 767px) {
	.magnific_standkort {
    	height: 100vh;
    	width: 100vw;
    	position: relative;
	}
}
@media all and (min-width: 768px) {
	.magnific_standkort {
    	height: 80vh;
    	width: 80vw;
    	margin: 0 auto;
    	position: relative;
	}
}
.magnific_standkort .mfp-close {
	top: 0px;
	right: 10px;
	font-size: 50px;
	opacity:1;
}
.magnific_standkort .mfp-close:hover::before {
	opacity: 0.8;
}
.cssload-thecube {
	width: 272px;
	height: 272px;
	margin: 0 auto;
	margin-top: 40px;
	position: relative;

}
.cssload-thecube .cssload-cube {
	position: relative;
}
.cssload-thecube .cssload-cube {
	float: left;
	width: 50%;
	height: 50%;
	position: relative;
	transform: scale(1.1);
		-o-transform: scale(1.1);
		-ms-transform: scale(1.1);
		-webkit-transform: scale(1.1);
		-moz-transform: scale(1.1);
}
.cssload-thecube .cssload-cube:before {
	content: "";
	position: absolute;
	top: -7px;
	left: -7px;
	width: 100%;
	height: 100%;
	background-color: var(--primaerfarve);
	animation: cssload-fold-thecube 5.64s infinite linear both;
		-o-animation: cssload-fold-thecube 5.64s infinite linear both;
		-ms-animation: cssload-fold-thecube 5.64s infinite linear both;
		-webkit-animation: cssload-fold-thecube 5.64s infinite linear both;
		-moz-animation: cssload-fold-thecube 5.64s infinite linear both;
	transform-origin: 100% 100%;
		-o-transform-origin: 100% 100%;
		-ms-transform-origin: 100% 100%;
		-webkit-transform-origin: 100% 100%;
		-moz-transform-origin: 100% 100%;
}
.cssload-thecube .cssload-c2 {
	transform: scale(1.1) rotateZ(90deg);
		-o-transform: scale(1.1) rotateZ(90deg);
		-ms-transform: scale(1.1) rotateZ(90deg);
		-webkit-transform: scale(1.1) rotateZ(90deg);
		-moz-transform: scale(1.1) rotateZ(90deg);
  &:before {
      background-color: var(--primaerfarve);
  }

}
.cssload-thecube .cssload-c3 {
	transform: scale(1.1) rotateZ(180deg);
		-o-transform: scale(1.1) rotateZ(180deg);
		-ms-transform: scale(1.1) rotateZ(180deg);
		-webkit-transform: scale(1.1) rotateZ(180deg);
		-moz-transform: scale(1.1) rotateZ(180deg);
   &:before {
      background-color: var(--primaerfarve);
  }
}
.cssload-thecube .cssload-c4 {
	transform: scale(1.1) rotateZ(270deg);
		-o-transform: scale(1.1) rotateZ(270deg);
		-ms-transform: scale(1.1) rotateZ(270deg);
		-webkit-transform: scale(1.1) rotateZ(270deg);
		-moz-transform: scale(1.1) rotateZ(270deg);
   &:before {
      background-color: var(--primaerfarve);
  }
}
.cssload-thecube .cssload-c2:before {
	animation-delay: 0.71s;
		-o-animation-delay: 0.71s;
		-ms-animation-delay: 0.71s;
		-webkit-animation-delay: 0.71s;
		-moz-animation-delay: 0.71s;
}
.cssload-thecube .cssload-c3:before {
	animation-delay: 1.41s;
		-o-animation-delay: 1.41s;
		-ms-animation-delay: 1.41s;
		-webkit-animation-delay: 1.41s;
		-moz-animation-delay: 1.41s;
}
.cssload-thecube .cssload-c4:before {
	animation-delay: 2.12s;
		-o-animation-delay: 2.12s;
		-ms-animation-delay: 2.12s;
		-webkit-animation-delay: 2.12s;
		-moz-animation-delay: 2.12s;
}



@keyframes cssload-fold-thecube {
	0%, 10% {
		transform: perspective(508px) rotateX(-180deg);
		opacity: 0;
	}
	25%,
				75% {
		transform: perspective(508px) rotateX(0deg);
		opacity: 1;
	}
	90%,
				100% {
		transform: perspective(508px) rotateY(180deg);
		opacity: 0;
	}
}

@-o-keyframes cssload-fold-thecube {
	0%, 10% {
		-o-transform: perspective(508px) rotateX(-180deg);
		opacity: 0;
	}
	25%,
				75% {
		-o-transform: perspective(508px) rotateX(0deg);
		opacity: 1;
	}
	90%,
				100% {
		-o-transform: perspective(508px) rotateY(180deg);
		opacity: 0;
	}
}

@-ms-keyframes cssload-fold-thecube {
	0%, 10% {
		-ms-transform: perspective(508px) rotateX(-180deg);
		opacity: 0;
	}
	25%,
				75% {
		-ms-transform: perspective(508px) rotateX(0deg);
		opacity: 1;
	}
	90%,
				100% {
		-ms-transform: perspective(508px) rotateY(180deg);
		opacity: 0;
	}
}

@-webkit-keyframes cssload-fold-thecube {
	0%, 10% {
		-webkit-transform: perspective(508px) rotateX(-180deg);
		opacity: 0;
	}
	25%,
				75% {
		-webkit-transform: perspective(508px) rotateX(0deg);
		opacity: 1;
	}
	90%,
				100% {
		-webkit-transform: perspective(508px) rotateY(180deg);
		opacity: 0;
	}
}

@-moz-keyframes cssload-fold-thecube {
	0%, 10% {
		-moz-transform: perspective(508px) rotateX(-180deg);
		opacity: 0;
	}
	25%,
				75% {
		-moz-transform: perspective(508px) rotateX(0deg);
		opacity: 1;
	}
	90%,
				100% {
		-moz-transform: perspective(508px) rotateY(180deg);
		opacity: 0;
	}
}

/***** EXAMPLE DOCUMENT STYLESHEET ******/

/*** Responsive Styles Smartphone Only ***/

/***** MAP_VIEW LIBRARY STYLESHEET ******/

.MapView {
	width: 100%;
	height: 100%;
    position: relative;
    overflow: hidden;

    color: #FFF;
}
.MapView > canvas {
  position:absolute;
  width: 100%;
  height: 100%;
  background: white;
  overflow: hidden;
}
.MapView > .MapViewData {
    display: none;
}
.MapView > .loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
    width: fit-content;
}
.MapView > .touchInfo {
    background: var(--primaerfarve);
    color: var(--knaptekstfarve);
    display: block;
    left: 50%;
    padding: 20px;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(90% - 40px);
}

.MapView > .button-group {
	top: 5px;
	left: 5px;
	position: absolute;
}

.MapView > .button-group > button,
.MapView > .button-group > button:hover,
.MapView > .button-group > button:active,
.MapView > .button-group > button:focus {
  border: none;
  cursor: pointer;
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  user-select: none;
  outline: none;
}

.MapView > .button-group > button {
  background: var(--primaerfarve);
  color: var(--knaptekstfarve);
  display: block;
  font-size: 35px;
  height: 55px;
  line-height: 30px;
  margin-bottom: 5px;
  padding: 5px;
  text-align: center;
  width: 55px;
  transition: background .3s ease-in-out;
}

.mfp-wrap .mfp-container .MapView > .button-group > button:hover,
.mfp-wrap .mfp-container .MapView > .button-group > button:focus {
    color: var(--knaptekstfarveaktivhover) !important;
    background: rgba(var(--primaerfarveRGB), 0.8) !important;
}

.MapView > .button-group > button:disabled {
  color: var(--knapinaktiv);
  cursor: default
}