﻿html {
  font-family: "Muli", sans-serif;
  overflow-x: hidden;
  overflow-y: hidden;
  max-width: 100vw;
  max-height: calc(var(--vh, 1vh) * 100);
  /* --menu_right_width: min(calc(75vw - 8px - 16px - 8px - 16px), 1000px); */
  --menu_right_width: calc(75vw - 8px - 16px - 8px - 16px);
}

body {
  position: relative;
  width: 100vw;
  height: calc(var(--vh, 1vh) * 100);
  margin: 0px;
  overflow-x: hidden;
  overflow-y: hidden;
  color: black;
  /*  font-weight: lighter;*/
}

.index_body {
  background-image: url("img/demo_bgr.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

header {
  top: 0px;
  height: 56px;
}

footer {
  bottom: 0px;
  height: 28px;
}

.whiteBox {
  background-color: rgba(255, 255, 255, 0.9);
  width: calc(100% - 2 * 8px);
  z-index: 2;
  position: absolute;
  margin: 8px;
  overflow: hidden;
}

.whiteBox h3 {
  font-size: 14px;
  font-weight: normal;
  position: absolute;
  margin-top: 0px;
  top: 8px;
  margin-left: 40px;
  z-index: 10;
}

.whiteBox h2 {
  font-size: 20px;
  /*  font-weight: normal;*/
  position: absolute;
  margin-bottom: 0px;
  bottom: 5px;
  margin-left: 40px;
  z-index: 10;
}

.index_body header.whiteBox,
.index_body footer.whiteBox {
  background-color: rgba(255, 255, 255, 0.9);
}

header.whiteBox,
footer.whiteBox {
  background-color: transparent;
  transition: background-color 1.5s ease;
  transition-delay: 1s;
  -o-transition: background-color 1.5s ease;
  -o-transition-delay: 1s;
  -webkit-transition: background-color 1.5s ease;
  -webkit-transition-delay: 1s;
  -moz-transition: background-color 1.5s ease;
  -moz-transition-delay: 1s;
}

.index_body header *,
.index_body footer * {
  opacity: 1;
}

header *,
footer * {
  opacity: 0;
  transition: opacity 1.5s ease;
  transition-delay: 1s;
  -o-transition: opacity 1.5s ease;
  -o-transition-delay: 1s;
  -moz-transition: opacity 1.5s ease;
  -moz-transition-delay: 1s;
  -webkit-transition: opacity 1.5s ease;
  -webkit-transition-delay: 1s;
}

header.whiteBox:hover,
footer.whiteBox:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.2s ease;
  -o-transition: background-color 0.2s ease;
  -moz-transition: background-color 0.2s ease;
  -webkit-transition: background-color 0.2s ease;
}

header.whiteBox:hover ~ footer {
  background-color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.2s ease;
  -o-transition: background-color 0.2s ease;
  -moz-transition: background-color 0.2s ease;
  -webkit-transition: background-color 0.2s ease;
}

header:hover *,
footer:hover * {
  opacity: 1;
  transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
}

header:hover ~ footer * {
  opacity: 1;
  transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
}

header.whiteBox.show,
footer.whiteBox.show {
  background-color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.2s ease;
  -o-transition: background-color 0.2s ease;
  -moz-transition: background-color 0.2s ease;
  -webkit-transition: background-color 0.2s ease;
}

header.show *,
footer.show * {
  opacity: 1;
  transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
}

header a,
header .logo {
  opacity: 1;
}

header h1 {
  font-size: 24px;
  /*  font-weight: normal;*/
  position: absolute;
  bottom: 5px;
  left: 68px;
  margin: 8px;
  padding-right: 100px;
}

header #language_selector {
  font-size: 16px;
  font-weight: normal;
  position: absolute;
  margin: 8px;
  bottom: 5px;
  right: 75px;
  margin-right: 0;
}

header #language_selector span:hover {
  cursor: pointer;
  font-weight: bold;
}

.deko {
  position: absolute;
  height: 100%;
  width: auto;
  filter: grayscale(1) sepia(0.2);
  /* filter: invert(.5) sepia(.2) opacity(.75); */
}

.logo {
  position: absolute;
  height: 40px;
  width: auto;
  margin: 8px;
  left: 10px;
}

.left {
  left: 0px;
}

.right {
  right: 0px;
}

footer .left {
  transform: scalex(2);
  transform-origin: left;
}

footer .right {
  transform: scalex(2);
  transform-origin: right;
}

footer h5 {
  font-size: 10px;
  /*  font-weight: normal;*/
  text-align: center;
  position: absolute;
  width: 100%;
  margin: 8px;
}

.panorama_container {
  position: absolute;
  height: calc(var(--vh, 1vh) * 100);
  width: 100vw;
  padding: 0px;
  margin: 0px;
}

.popup {
  /* visibility: hidden; */
  position: absolute;
  /*  top: calc(56px + 8px);*/
  top: 72px;
  z-index: 5;
  transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  /* transition-property: left, right; */
  /*  margin: 16px;*/
  /*  margin-top: 32px;*/
  padding: 0px;
  height: calc(var(--vh, 1vh) * 100 - 56px - 2 * 8px - 28px - 16px - 32px);
}

.popup.show {
  visibility: visible;
}

.popup p {
  font-size: 15px;
  font-weight: lighter;
  color: white;
  /* margin: 24px; */
  margin-top: 0px;
  margin-bottom: 0px;
  /* margin-top: calc(56px + 24px); */
  text-align: left;
}

.popup br {
  line-height: 12px;
}

.popup .info {
  color: white;
}

.content {
  position: relative;
  padding: 40px;
  margin-top: calc(56px);
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  --contentHeight: calc(var(--vh, 1vh) * 100 - 8px - 28px - 2 * 32px - 32px - 56px - 24px - 40px);
  height: var(--contentHeight);
}

.content table {
  height: 100%;
  /* margin: 16px; */
}

.content td {
  width: 50%;
  vertical-align: top;
}

.menu_left {
  left: calc(-25vw - 8px);
  width: 25vw;
  /* full height - header height - header and footer margin - footer height - margin bottom - margin top */
  margin-left: 8px;
  margin-right: 16px;
}

.menu_left.show {
  left: 0px;
}

.menu_left .whiteBox {
  height: 56px;
  width: 100%;
  margin: 0px;
}

.menu_left .deko.left {
  position: absolute;
  left: -24px;
}

.index_body .menu_right .content {
  color: white;
}

.index_body .menu_left p {
  text-align: left;
}

.menu_right {
  right: calc(-1 * var(--menu_right_width) - 8px);
  width: var(--menu_right_width);
  /* full height - header height - header and footer margin - footer height - margin bottom - margin top */
  /* height: calc(100vh - 56px - 2*8px - 28px - 16px - 32px); */
  margin-right: 8px;
}

.menu_right.show {
  right: 0px;
}

.menu_right .whiteBox {
  height: 56px;
  width: 100%;
  margin: 0px;
}

.menu_right .whiteBox h2,
.menu_right .whiteBox h3 {
  margin-left: 40px;
}

.menu_right .content {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 20px;
}

.col_left,
.col_right {
  display: flex;
  flex-direction: column;
}

.col_left {
  overflow-y: auto;
}

.menu_middle {
  opacity: 0;
  width: 70vw;
  left: calc(15vw - 8px);
  z-index: 0;
}

.menu_middle.show {
  opacity: 100;
}

.menu_middle .whiteBox {
  height: 56px;
  width: 100%;
  margin: 0px;
}

.menu_middle .whiteBox h2,
.menu_middle .whiteBox h3 {
  margin-left: 40px;
}

.menu_middle .content {
  /* padding-left: 16px;
      padding-right: 16px;
      padding-top: 6px; */
  /* padding-top: 20px; */
}

/* Arrow */

.arrow {
  /* width: 30px; */
  /*  height: 30px; */
  display: inline-block;
  position: absolute;
  top: calc((56px - 1.414 * 8px - 24px) / 2);
  z-index: 5;
  /* margin: 0 1rem; */
  transition: inherit;
  -webkit-transition: inherit;
  -o-transition: inherit;
  -moz-transition: inherit;
  cursor: pointer;
  transform: scale(1.2);
  padding: 24px;
  /* padding-left: 12px;
      padding-right: 12px; */
}

.menu_left .arrow {
  right: -60px;
  /* left: 26px; */
}

.menu_left .arrow.active {
  right: 6px;
}

.menu_right .arrow {
  display: none;
  transform: scaleY(1.2) scaleX(-1.2);
  left: -76px;
  /* 40 + 28 + 16 */
}

.index_body .menu_right .arrow {
  display: block;
}

.menu_right .arrow.active {
  display: block;
  left: 6px;
}

.arrow span {
  top: 20px;
  position: absolute;
  width: 16px;
  height: 5px;
  background-color: #ffffff;
  display: inline-block;
  transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  transform-origin: center center;
}

.arrow span:first-of-type {
  top: 25%;
  transform: rotate(45deg);
}

.arrow span:last-of-type {
  bottom: 0;
  transform: rotate(-45deg);
}

.arrow.active span {
  background-color: #000000;
}

.arrow.active span:first-of-type {
  transform: rotate(-45deg);
}

.arrow.active span:last-of-type {
  transform: rotate(45deg);
}

.info {
  column-count: 2;
}

#artefakt_infoLinks {
  font-weight: bold !important;
}

#artefakt_gallerie table {
  position: absolute;
  height: 100%;
  right: 0px;
  top: 0px;
}

#artefakt_gallerie tr {
  /* height: 25%; */
  overflow: hidden;
}

#artefakt_gallerie td {
  max-width: calc(75vw / 4);
  max-height: calc((var(--vh, 1vh) * 100 - 56px - 2 * 8px - 28px - 2 * 16px - 32px - 56px - 24px - 3 * 12px) / 4);
  overflow: hidden;
  position: relative;
  /* height: min-content; */
}

#artefakt_gallerie img {
  /* max-width: calc(75vw / 4); */
  /*max-height: calc((var(--vh, 1vh) * 100 - 56px - 2*8px - 28px - 2*16px - 32px - 56px - 24px - 3*12px) / 4);*/
  object-fit: fill;
  height: calc(var(--contentHeight) / 3 - 10px);
  margin: 5px;
}

#artefakt_gallerie video {
  max-width: calc(75vw / 2);
  max-height: calc((var(--vh, 1vh) * 100 - 56px - 2 * 8px - 28px - 2 * 16px - 32px - 56px - 24px - 3 * 12px) / 2);
}

.warning {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 24px;
  transform: translateX(-50%) translateY(-50%);
  top: calc(var(--vh, 1vh) * 50);
  left: 50vw;
  z-index: 2;
  font-weight: bold;
  display: none;
}

.demo_starten {
  text-align: right;
  margin: 16px;
  margin-right: 40px;
  line-height: 50%;
  position: absolute;
  right: 0px;
  width: fit-content;
}

.demo_starten:hover {
  cursor: pointer;
}

.demo_starten img {
  height: 40px;
  position: relative;
  right: 0px;
}

.demo_starten div {
  font-size: 20px;
  color: white;
  display: inline-block;
  position: relative;
  bottom: 10px;
  right: 10px;
  transform: translateY(-50%);
}

#kontaktformular input:not([type="radio"]) {
  width: 100%;
  font-size: 16px;
  padding: 5px 0 5px 0;
}

#kontaktformular table {
  width: 100%;
  display: table;
}

#kontaktformular td {
  width: unset;
  padding-right: 10px;
}

#kontaktformular h3 {
  padding: 0;
  margin: 0;
}

#kontaktformular {
  /* padding: 32px; */
}

/* #kontaktformular li {
    list-style-type: "\f105";
} */

#kontaktformular .blind {
  visibility: hidden;
}

#kontaktformular ul {
  padding-left: 25px;
  margin: 5px;
}

#kontaktformular li {
  font-weight: normal;
  font-size: 12px;
  margin-left: -12px;
  margin-right: 12px;
}

.menu_left.show .content {
  overflow: visible;
}

#raumplan {
  position: absolute;
  /*    width: calc(100% - 80px);*/
  height: fit-content;
  left: 5%;
  right: 5%;
  bottom: 3%;
  max-width: 300px;
  margin: auto;
  /* margin: 30px; */
  /*    bottom: 50px;*/
}

#raumplan img {
  /* position: absolute; */
  max-width: 100%;
  max-height: 100%;
}

.raumplan_spot {
  position: absolute;
  width: 30px;
  height: 30px;
  /* background-color: blue; */
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateX(-50%) translateY(-50%);
}

#hub_beschreibung {
  overflow: auto;
}

#raum_beschreibung {
  max-height: calc(100% - (min(25vw, 300px) - 10px));
  overflow: auto;
}

#raum_beschreibung.hub {
  max-height: calc(100%);
  overflow: auto;
}

#loadingScreen {
  position: fixed;
  height: calc(var(--vh, 1vh) * 100);
  width: 100vw;
  background-color: white;
  z-index: 20;
  transition: opacity 1s ease-out;
  -o-transition: opacity 1s ease-out;
  -moz-transition: opacity 1s ease-out;
  -webkit-transition: opacity 1s ease-out;
}

#loadingScreen .wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%) scale(0.7);
}

#loadingScreen .logo {
  position: unset;
  width: 40vw;
  max-width: calc(var(--vh, 1vh) * 40);
  height: auto;
  height: unset;
  margin: auto;
  display: block;
  /*  -webkit-box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.75); */
}

#loadingScreen h1,
#loadingScreen h2 {
  color: black;
  display: block;
  text-align: center;
  font-weight: lighter;
  margin: 30px auto 30px auto;
}

#loadingScreen h1 {
  font-size: 8vw;
}

#loadingScreen h2 {
  font-size: 3vw;
  margin: 15px auto 45px auto;
}

progress {
  display: block;
  margin: auto;
  width: 30vw;
  max-width: calc(var(--vh, 1vh) * 30);
  height: 20px;
  border: 0;
  border-radius: 10px;
}

progress::-webkit-progress-value {
  background-color: lightgray;
  border-radius: 10px;
  border: 1px solid black;
}

progress::-webkit-progress-bar {
  display: block;
  margin: auto;
  width: 30vw;
  max-width: calc(var(--vh, 1vh) * 30);
  height: 20px;
  border: 3px solid lightgray;
  border-radius: 10px;
}

progress::-moz-progress-bar {
  display: block;
  margin: auto;
  width: 30vw;
  max-width: calc(var(--vh, 1vh) * 30);
  height: 20px;
  border: 0;
  border-radius: 10px;
}

#loadingScreen.fadeOut {
  opacity: 0;
}

#raumplan_arrow {
  background-image: url("img/angle-right-solid.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: invert(1);
  width: 30px;
  height: 30px;
  position: absolute;
  top: calc(50% - 15px);
  left: calc(50% + 15px);
  transform-origin: -50% center;
  transform: translateX(30px) translateY(-60%) rotate(-90deg);
}

.menu_right .hub_right {
  display: block;
}

.hub_right .col_right {
  height: var(--contentHeight);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, calc((var(--contentHeight) - 6px) / 4));
  grid-gap: 8px;
}

.hub_right #artefakt_gallerie img {
  margin: 0px;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.hub_gallery_label {
  position: absolute;
  bottom: 0px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 2.5em;
  text-align: center;
  line-height: 2.5em;
}

.museumOfTheDayHotspot {
  height: 64px;
  width: 64px;
  background-image: url("../img/motd.png");
  background-size: contain;
}

.gyroButton {
  background-image: url(img/360.png);
  background-size: contain;
  height: 40px;
  width: 40px;
  position: absolute;
  right: 10px;

  border-radius: 3px;
  margin: 8px;
  opacity: 1;
  transition: none !important;
  -webkit-transition: none !important;
  z-index: 2;
}

.pnlm-controls-container {
  display: none;
}

.pnlm-controls-container * {
  opacity: 1;
  transition: none !important;
  -webkit-transition: none !important;
}

.pnlm-scene.pnlm-tooltip span {
  visibility: inherit;
  margin-top: 45px !important;
}
.museumOfTheDayHotspot.pnlm-tooltip span {
  visibility: inherit;
  margin-top: 70px !important;
}

.pnlm-scene.pnlm-tooltip:hover span:after,
.museumOfTheDayHotspot.pnlm-tooltip:hover span:after {
  border-color: transparent transparent rgba(0, 0, 0, 0.7) transparent;
  top: -20px;
}
.pnlm-scene.pnlm-tooltip span:after,
.museumOfTheDayHotspot.pnlm-tooltip span:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent rgba(0, 0, 0, 0.7) transparent;
  top: -20px;
  left: -10px;
  margin: 0 50%;
}

@media screen {
  body {
    overflow: hidden;
  }
}

@media only screen and (orientation: portrait) and (max-width: 600px) {
  .warning {
    display: block;
  }
  body {
    pointer-events: none;
  }
  .hub_right .col_right {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 1fr);
  }
  .pnlm-controls-container {
    /*bottom, top, left,... properties fÃƒÂ¼r den Gyroskop-Button*/
  }
}

@media screen and (max-width: 1650px) {
  input {
  }
  .whiteBox h3 {
    font-size: 12px;
    top: 10px;
  }
  .whiteBox h2 {
    font-size: 18px;
    bottom: 6px;
  }
  .pnlm-controls-container {
    /*bottom, top, left,... properties fÃƒÂ¼r den Gyroskop-Button*/
  }
}

@media screen and (max-width: 1500px) {
  input {
  }
  .whiteBox h3 {
    font-size: 12px;
    margin-top: 0px;
    top: 10px;
  }
  .whiteBox h2 {
    font-size: 16px;
    margin-bottom: 0px;
    bottom: 8px;
  }
  .popup p {
    font-size: 15px;
  }
  .raumplan_spot {
    width: 25px;
    height: 25px;
  }
  .pnlm-controls-container {
    /*bottom, top, left,... properties fÃ¼r den Gyroskop-Button*/
  }
}

@media screen and (max-width: 1400px) {
  input {
  }
  .whiteBox h3 {
    font-size: 11px;
    margin-top: 0px;
    top: 12px;
  }
  .whiteBox h2 {
    font-size: 14px;
    margin-bottom: 0px;
    bottom: 8px;
  }
  .popup p {
    font-size: 14px;
  }
  .raumplan_spot {
    width: 25px;
    height: 25px;
  }
  .pnlm-controls-container {
    /*bottom, top, left,... properties fÃƒÂ¼r den Gyroskop-Button*/
  }
}

@media screen and (max-width: 1250px) {
  input {
  }
  .whiteBox h3 {
    font-size: 10px;
    margin-top: 0px;
    top: 12px;
  }
  .whiteBox h2 {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 0px;
    bottom: 10px;
  }
  .popup p {
    font-size: 10px;
  }
  #raumplan {
    left: 15%;
    right: 15%;
    bottom: 5%;
  }
  .raumplan_spot {
    width: 20px;
    height: 20px;
  }
  .content {
    padding: 20px;
    --contentHeight: calc(var(--vh, 1vh) * 100 - 8px - 28px - 2 * 32px - 32px - 56px - 24px);
  }
  .menu_left .whiteBox h2,
  .menu_left .whiteBox h3 {
    margin-left: 20px;
  }
  .menu_middle .whiteBox h2,
  .menu_middle .whiteBox h3 {
    margin-left: 20px;
  }
  .demo_starten {
    margin-right: 20px;
  }
  .pnlm-controls-container {
    /*bottom, top, left,... properties fÃ¼r den Gyroskop-Button*/
  }
}

/* Tablet */

@media (min-width: 768px) and (max-width: 1050px) and (orientation: landscape) {
  .whiteBox h3 {
    font-size: 11px;
    margin-top: 0px;
    top: 11px;
  }
  .whiteBox h2 {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 0px;
    bottom: 8px;
  }
  .popup p {
    font-size: 10px;
  }

  .demo_starten {
    margin: 0px;
    margin-right: 20px;
  }

  .demo_starten img {
    height: 25px;
  }

  .demo_starten div {
    font-size: 14px;
    font-weight: bolder;
    bottom: 5px;
  }
  
  #kontaktformular input:not([type="radio"]) {
    font-size: 11px;
  }

  #kontaktformular label {
    font-size: 11px;
  }

  #kontaktformular h3 {
    margin: -10px;
  }

  #kontaktformular li {
    font-weight: normal;
    font-size: 10px;
    margin-left: -12px;
    margin-right: 12px;
  }

.museumOfTheDayHotspot {
  height: 45px;
  width: 45px;
}

.gyroButton {
  height: 40px;
  width: 40px;
}

#raum_beschreibung {
  max-height: 100%;
  overflow: auto;
}
  
  #raumplan {
    left: 15%;
    right: 15%;
    bottom: 5%;
  }
  
  .raumplan_spot {
    width: 20px;
    height: 20px;
  }
  .content {
    padding: 20px;
  }
  .menu_left .whiteBox h2,
  .menu_left .whiteBox h3 {
    margin-left: 20px;
  }
  .menu_middle .whiteBox h2,
  .menu_middle .whiteBox h3 {
    margin-left: 20px;
  }
  .pnlm-controls-container {
    /*bottom, top, left,... properties fÃƒÂ¼r den Gyroskop-Button*/
  }
}

@supports (--menu_right_width: min(0, 10)) {
  html {
    --menu_right_width: min(calc(75vw - 8px - 16px - 8px - 16px), 1000px);
  }
}
