:root {
  --blue: #2171ac;
  --menu-blue: #2171ac;
  --hover-blue: #2066a4;
  --selected-blue: #417bb2;
  --dark-blue: #005195;
  --bright-blue: #7aaacd;
/*  font-size: 18px;*/
}
document{
/*  font-size: 18px;*/
}
html{
  font-size: 14px;
}
body{
  font-family: 'Open Sans', sans-serif;
/*  font-size: 17px;*/
}
* {
  box-sizing: border-box;
  -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
}

nav{
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  font-size: 1.2rem;
  margin: auto;
  height: calc(100% - 1.333em);
  pointer-events: none;
  z-index: 999;
}

.nav-bar, #overview-button{
  width: 5.555em;
}

#overview-button{
  width: 100%;
  z-index: 100;
  cursor: pointer;
/*  position: absolute;*/
  bottom: 50em;
  left: 0;
  margin-right: 0.555em;
  -webkit-transition: transform 0.5s cubic-bezier(0.510, 0.005, 0.335, 1.270), opacity 0.3s;
  transition: transform 0.5s cubic-bezier(0.510, 0.005, 0.335, 1.270), opacity 0.3s;
  -webkit-transform: scale(0.1);
  transform: scale(0.1);
  pointer-events: none;
}

#overview-button.is-visible{
  -webkit-transition-delay: 0.25s;
  transition-delay: 0.25s;
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
  pointer-events: all;
/*  border: 2px solid var(--blue);*/
}

#overview-button:hover .menu-button-fill-1,
#overview-button:hover .menu-button-fill-2{
/*  stroke: var(--blue);*/
/*  stroke-width: 5px;*/
}

#overview-button:not(:hover) .menu-button-fill-1{
  fill: var(--blue);
  stroke: white;
  stroke-width: 5px;
}
#overview-button:not(:hover) .menu-button-fill-2{
  fill: var(--blue);
  stroke: white;
  stroke-width: 5px;
}

#overview-button svg{
  width: 100%;
  height: auto;
}
.nav-bar{
  margin-left: 0.555em;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

nav .nav-logo{
  width: 100%;
  pointer-events: all;
  cursor: pointer;
}
nav .nav-logo img{
  width: 100%;
  height: auto;
  display: block;
}
nav .nav-button{
  width: 100%;
  height: 0;
  padding-top: 125%;
  background: var(--blue);
  margin-top: auto;
  position: relative;
  cursor: pointer;
  pointer-events: all;
}

nav #nav-button-icon{
  width: 46%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  top: 24%;
}

nav svg path{
  -webkit-transition:.25s all ease-out;
  transition:.25s all ease-out;
}

nav .nav-button-text-container{
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: .94em;
  line-height: .94em;
  font-weight: bold;
  color: white;
  margin-bottom: 1.4em;
  height: 1em;
}
nav .nav-button-text{
  position: absolute;
  width: 100%;
  height: 100%;
  transition-duration: 0.2s;
}
nav .nav-button-text-small{
  font-size: .85em;
  line-height: .85em;
}

nav.is-active .nav-button-text:nth-child(1){
  transform-origin: 50% 0%;
}
nav.is-active .nav-button-text:nth-child(2){
  transform-origin: 50% 100%;
}

nav.is-active .nav-button-text:nth-child(1),
nav .nav-button-text:nth-child(2){
  opacity: 0;
  -webkit-transform: scaleY(0.1);
  transform: scaleY(0.1);
}
nav .nav-button-text:nth-child(1),
nav.is-active .nav-button-text:nth-child(2){
  opacity: 1;
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

nav .nav-list-wrapper{
  position: absolute;
  top: 0;
  left: 6.666em;
  bottom: 0;
  margin: auto;
  width: 20em;
  overflow: hidden;
/*  font-size: 0.85rem;*/
}
.nav-list-container{
  font-size: 0.9rem;
  display: flex;
  flex-flow: wrap;
  pointer-events: all;
  position: absolute;
  background: var(--selected-blue);
  width: 100%;
  height: 100%;
  transition-duration: 0.5s;
  -webkit-transition: transform 0.5s, opacity 0.5s, background 0.3s;
  transition: transform 0.5s, opacity 0.5s, background 0.3s;
  -webkit-transform: translateX(-125%) skewX(5deg);
  transform: translateX(-125%) skewX(5deg);
  transform-origin: 0 100%;
  opacity: 0;
  overflow-y: auto;
}
nav.is-active .nav-list-container{
  -webkit-transform: translateX(0);
  transform: translateX(0);
  opacity: 1;
  background: var(--blue);
}
nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
  color: white;
  font-weight: 700;
  width: 100%;
/*
  display: flex;
  flex-direction: column;
*/
}

.nav-list-container > ul > li,
.nav-list-container > ul > ul,
.nav-list-container > ul > ul > li:not(:nth-child(1)){
  -webkit-transition: transform 0.5s, opacity 0.3s;
  transition: transform 0.5s, opacity 0.3s;
  -webkit-transform: translateX(-90%);
  transform: translateX(-90%);
}

nav.is-active .nav-list-container > ul > li,
nav.is-active .nav-list-container > ul > ul,
nav.is-active .nav-list-container > ul > ul > li:not(:nth-child(1)){
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

nav .nav-list-container > ul{
  margin: 2em 2.25em 1em 2.25em;
}
nav .nav-header{
  font-size: 1.555em;
  line-height: 2.5em;
  position: relative;
  margin-bottom: .14em;
}
nav .nav-header:after{
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 10%;
  height: 2px;
  background: white;
  -webkit-transition: width 0.5s;
  transition: width 0.5s;
}
nav.is-active .nav-header:after{
  width: 100%;
}

nav .nav-item{
  font-size: 1em;
  font-weight: 400;
  line-height: 2em;
  margin: .25em 0;
  position: relative;
  cursor: pointer;
}
nav .nav-sub-header,
#nav-list-overview-button{
  font-size: 1.2em;
  font-weight: 700;
}
nav .nav-list-section .nav-list-collapsible .nav-list-block .nav-sub-header{
  font-size: 1.1em;
  font-weight: 600;
}
nav .nav-item:not(.nav-sub-header){
/*
  font-size: 1em;
  line-height: 2em;
  margin: .25em 0;
  position: relative;
  cursor: pointer;
*/
}

.nav-sub-list,
.nav-sub-list .nav-block{
/*  padding-left: 1.55rem;*/
}

.nav-list-collapsible .nav-sub-header,
.nav-list-block .nav-item,
.nav-list-block
{
  padding-left: 1.55rem;
}

.nav-list-collapsible.is-active > .nav-list-block
{
  -webkit-transform: translateX(0) skewX(0deg);
  transform: translateX(0) skewX(0deg);
/*  opacity: 1;*/
}
.nav-list-collapsible > .nav-list-block
{
  transform-origin: 0 0;
  -webkit-transform: translateX(-1rem) skewX(-15deg);
  transform: translateX(-1rem) skewX(-15deg);
/*  opacity: 0;*/
}

/*FLEX ADJUSTMENTS*/
nav ul{
  display: flex;
  flex-direction: column;
}
nav .nav-item{
  margin: .14em 0;
}

nav .nav-item:hover{
  background: var(--hover-blue);;
}
nav .nav-sub-header:before{
  content: '';
  width: .5em;
  height: .5em;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -0em;
  margin: auto;
  border: 2px solid white;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  border-left: none;
  border-bottom: none;
  transition-duration: .2s;
}

nav .nav-list-collapsible.is-active > .nav-sub-header:before{
  -webkit-transform: translateX(.25em) rotate(135deg) !important;
  transform: translateX(.25em) rotate(135deg) !important;
}

nav .nav-list-collapsible .nav-list-block{
  overflow: hidden;
}

nav .nav-list-collapsible.is-active > .nav-list-block{
  opacity: 1;
  height: auto;
}
nav .nav-list-collapsible > .nav-list-block{
  max-height: 0px;
}

.nav-list-block{
  transition: max-height 0.2s ease-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

nav .nav-item.is-active{
  background: var(--selected-blue);
}
nav .nav-item.is-active:before{
  -webkit-transform: translateX(.5em) rotate(45deg);
  transform: translateX(.5em) rotate(45deg);
  opacity: 0;
}

nav .nav-link,nav .nav-link:visited{
  font-style: italic;
  font-weight: 600;
  font-size: 0.8rem;
  color: white;
  text-decoration: none;
  bottom: 0;
  left: 0;
  margin: 1.4em;
}

#nav-bottom-links.nav-link{
  align-self: end;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  margin-bottom: 0;
  z-index: 1;
  position: relative;
}

#nav-bottom-links.nav-link .nav-link{
  width: 30%
}

#nav-impressum.nav-link{
/*  align-self: end;*/
}

#nav-home.nav-link{
/*  flex-grow: 2 !important;*/
/*  margin: auto;*/
/*
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
*/
/*  margin-left: auto;*/
/*  align-self: end;*/
}

#nav-lang--buttons{
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  margin-bottom: auto;
}
.nav-lang--button{
  margin: 0 0 0 .6em !important;
  width: auto !important;
  font-size: 1.2em !important;
}
.nav-lang--button.is-selected{
  text-decoration: underline;
}
/*MENU FLOATING*/
/*--------------------------------------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------------------------------------*/

.menu-floating-section,.menu-floating-element{
  display: flex;
}

.menu-floating-element{
  height: 2.8em;
  top: 0;
  bottom: 0;
  margin: auto;
  margin: auto .6em;
  justify-content: center;
  align-items: center; 
}
.menu-floating-element span{
  color: var(--blue);
  font-weight: bold;
  font-size: 1.56em; 
}

.menu-floating-element svg{
  height: 100%;
  width: auto;
}
.menu-floating-element:first-child{
  margin-left: 1.7em;
}
.menu-floating-element:last-child{
  margin-right: 1.7em;
}

.menu-floating-section{
/*  height: 100%;*/
  height: 6.4em;
  border: 2px solid var(--blue);
  margin-left: .8em;
  background-color: white;
}

.svg-button, .ui-box-playbar{
  cursor: pointer;
  height: 2.8em;
  background: white;
}
.ui-box-playbar{
  background: var(--hover-blue);;
}

#play-pause-tour.tour-active:not(:hover),
.svg-button.is-playing{
  background: var(--blue);
}

.svg-button:hover{
  background: var(--hover-blue);
}

.svg-button{
  border: 2px solid var(--blue);
}
.svg-button:hover{
  border-color: var(--hover-blue);
}
#play-pause-tour.tour-active .button-path,
.svg-button:hover .button-path,
.svg-button.is-playing .button-path{
  fill: white;
}

.svg-button path{
  -webkit-transition: .2s all cubic-bezier(0.510, 0.005, 0.335, 1.270), fill 0s;
  transition: .2s all cubic-bezier(0.510, 0.005, 0.335, 1.270), fill 0s;
/*  transition: fill 0s cubic-bezier(0.510, 0.005, 0.335, 1.270);*/
  fill: var(--blue);
}

.restart-button .button-path{
  transform-origin: 50% 50%;
  -webkit-transition: .2s transform cubic-bezier(0.510, 0.005, 0.335, 1.270), fill 0s, transform 0s;
  transition: .2s transform cubic-bezier(0.510, 0.005, 0.335, 1.270), fill 0s, transform 0s;
  transform: rotate(0deg);
}
.restart-button.is-rotating .button-path{
  -webkit-transition: .2s transform cubic-bezier(0.510, 0.005, 0.335, 1.270), fill 0s;
  transition: .2s transform cubic-bezier(0.510, 0.005, 0.335, 1.270), fill 0s;
  -webkit-transform: rotate(-360deg);
  transform: rotate(-360deg);
}

.info-button{
  height: 100%;
  width: 6.4em;
}
.info-button, .info-button-outer, .info-button-inner{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.info-button-outer{
  width: 3.44em;
  height: 3.44em;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
}
.info-button-inner{
  width: 2.8em;
  height: 2.8em;
  border-radius: 50%;
  background: white;
}
.info-button-dot, .info-button-i{
  width: .33em;
  height: 1em;
  background: var(--blue);
}
.info-button-dot, .info-button-i:first-child{
  height: .33em;
  margin-bottom: .33em;
}

.info-button-outer:hover .info-button-inner{
  background: var(--blue);
}

.info-button-outer:hover .info-button-i{
  background: white;
}

#info-box, #ui-box{
  width: 22rem;
  max-width: 22rem;
  line-height: 1.4rem;
  position: absolute;
  display: flex;
  font-size: 1em;
  background: var(--blue);
  color: white;
  flex-direction: column;
}

#info-box{
  bottom: 0;
  right: 0;
/*  margin-right: 2.8em;*/
/*  margin-bottom: 3.5em;*/
  bottom: 9.2em;
  opacity: 0;
  transform-origin: 85% 100%;
  -webkit-transform: scale(0.35, 0.01);
  transform: scale(0.35, 0.01);
  -webkit-transition: transform .2s ease-in-out, opacity .2s ease-in-out;
  transition: transform .2s ease-in-out, opacity .2s ease-in-out;
}

.info-box-grad{
  content: '';
  position: absolute;
  width: calc(100% - .5em);
  height: 2rem;
  background: -moz-linear-gradient(0deg, rgba(33,113,172,1) 0%, rgba(33,113,172,0) 100%);
  background: -webkit-linear-gradient(0deg, rgba(33,113,172,1) 0%, rgba(33,113,172,0) 100%);
  background: linear-gradient(0deg, rgba(33,113,172,1) 0%, rgba(33,113,172,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2171ac",endColorstr="#2171ac",GradientType=1);
}
.info-box-grad-bot{
  content: '';
  position: absolute;
  width: calc(100% - .5em);
  height: 2rem;
  bottom: 0em;
}
.info-box-grad-top{
  top: 0;
  bottom: 0em;
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
}

#info-box.is-active{
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}

.ui-box-content{
  z-index: 1;
  margin: 2.2rem 2.5rem;
}
.ui-box-content h1{
  font-size: 1.38rem;
  font-weight: bold;
  margin: 0 0 0 0;
}
.ui-box-content p{
  font-size: .88rem;
  margin: 1.22rem 0 0 0;
}
.ui-box-content ul{
  list-style-type:none;
  padding: 0;
  padding-left: 1.2em;
}
.ui-box-content ul li::before{
  content: '-';
/*  font-weight: bold;*/
  width: 1.2em;
  display: inline-block;
  margin-left: -1.2em;
}
.ui-box-content ul li:not(:last-child){
  margin-bottom: .7em;
}
#info-box .ui-box-button{
  font-size: 1.1rem;
  background-color: white;
  display: inline-block;
  color: var(--blue);
  padding: .9rem 2rem;
  font-weight: bold;
  margin-top: 2rem;
  display: none;
}
#info-box.button-visible .ui-box-button{
  display: inline-block;
}

#info-box::after{
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  bottom: -1.2em;
  border-left: .94em solid transparent;
  border-right: .94em solid transparent;
  border-top: 1.33em solid var(--blue);
  right: 2.5em;
  transform-origin: 50% 0%;
  -webkit-transition: transform 0.2s cubic-bezier(0.510, 0.005, 0.335, 1.270) 0.1s;
  transition: transform 0.2s cubic-bezier(0.510, 0.005, 0.335, 1.270) 0.1s;
  -webkti-transform: scale(1,0.01);
  transform: scale(1,0.01);
}

#info-box.is-active::after{
  -webkti-transform: scale(1);
  transform: scale(1);
}

#campus-logo,
#menu-floating{
  position: absolute;
  font-size: 0.83em;
  margin: 2.8em;
}

#campus-logo{
  top: 0;
  right: 0;
  width: 3rem;
  margin-top: 1.333rem;
}

#menu-floating{
  
  z-index: 100;
  bottom: 0;
  right: 0;
/*  font-size: 18px;*/
  
  display: flex;
}
/*--------------------------------------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------------------------------------*/

#ui-box-close{
  position: absolute;
  top: -0.555em;
  right: 0;
  width: 3.88em;
  height: 3.88em;
  background: var(--blue);
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  cursor: pointer;
}
#ui-box-close:hover{
  background: var(--hover-blue);
}

#ui-box-close::before,
#ui-box-close::after{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 62.8%;
  height: 7%;
  background: white;
}
#ui-box-close::before{
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
#ui-box-close::after{
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#ui-space{
  z-index: 100;
  position: fixed;
  right: 2.8em;
  right: 6.66em;
  left: 6.66em;
  top: 9.86em;
  bottom: 9.86em;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  -webkit-transition: .2s transform cubic-bezier(0.510, 0.005, 0.335, 1.270), opacity 0.2s;
  transition: .2s transform cubic-bezier(0.510, 0.005, 0.335, 1.270), opacity 0.2s;
  
  -webkit-transform: scale(0.1);
  transform: scale(0.1);
  opacity: 0;
}
#ui-space.is-active{
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}
#ui-box-media{
  width: 100%;
  margin-top: -1px;
}
#ui-space #ui-box-media img,
#ui-space #ui-box-media video{
  width: 100%;
}

#ui-box-youtube{
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  display: none;
}

#ui-box-youtube iframe{
  position: absolute;
}

#ui-space #ui-box-image,
#ui-space #ui-box-video,
#ui-space #ui-box h1,
#ui-space #ui-box p,
#ui-space .ui-box-controls,
#ui-space.is-video .ui-box-content,
#ui-box-youtube,
#ui-space.is-youtube-video .ui-box-content
{
  display: none;
}

#ui-space.is-image #ui-box-image,
#ui-space.is-audio #ui-box-image,
#ui-space.is-video #ui-box-video,
#ui-space.is-image #ui-box h1,
#ui-space.is-audio #ui-box h1,
#ui-space.is-text #ui-box h1,
#ui-space.is-image #ui-box p,
#ui-space.is-text #ui-box p,
#ui-space.is-audio .ui-box-controls,
#ui-space.is-youtube-video #ui-box-youtube
{
  display: block;
}

#ui-space.is-youtube-video #ui-box,
#ui-space.is-video #ui-box{
  max-width: 66em;
  width: 70vw;
}

#ui-box{
  position: relative;
  background: var(--blue);
}
#ui-space.is-active #ui-box{
  pointer-events: all;
}

#ui-box .ui-box-playbar{
  margin: 2.22em 0 1.38em 0;
  position: relative;
}
.ui-box-playbar-progress{
  width: 0%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--dark-blue);
  background: white;
}

#poi-container{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
/*  poisize*/
  font-size: 0.8em;
  pointer-events: none;
}

.poi{
  position: absolute;
  width: 0;
  height: 0;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 50%;
  pointer-events: all;
  cursor: pointer;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}
.poi-content{
  position: absolute;
  width: 4.8em;
  height: 4.8em;
  left: -2.4em;
  top: -2.4em;
  -webkit-transition: transform 0.2s;
  transition: transform 0.2s;
}

.poi:not(.selected).obscured,
.poi:not(.selected).is-behind{
  opacity: 0.33;
  pointer-events: none;
}
.poi-cluster{
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

.poi.in-cluster,
.poi-cluster.cluster-inactive{
  -webkit-transition: opacity 0.25s 0.25s;
  transition: opacity 0.25s 0.25s;
  opacity: 0 !important;
  pointer-events: none;
}

.poi-cluster .poi-content{
  -webkit-transition: transform .5s;
  transition: transform .5s;
}

.poi-cluster.cluster-inactive .poi-content{
  -webkit-transition: scale(0.25);
  transition: scale(0.25);
}


.poi.selected,
.poi.selected .poi-content{
/*
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
*/
  -webkit-transition: transform 0.2s ease-in;
  transition: transform 0.2s ease-in;
  pointer-events: none;
}

.poi.poi-pano.obscured:not(.selected) .poi-content,
.poi.poi-pano.is-behind:not(.selected) .poi-content,
.poi.poi-pano.in-cluster .poi-content,
.poi.poi-cluster.cluster-inactive .poi-content{
  -webkit-transform: scale(0.18);
  transform: scale(0.18);
}

.poi.poi-icon.obscured:not(.selected) .poi-content,
.poi.poi-icon.is-behind:not(.selected) .poi-content,
.poi.poi-icon.in-cluster .poi-content{
  -webkit-transform: scale(0.35);
  transform: scale(0.35);
}

.poi.fade-out{
  -webkit-transition: opacity 0.1s;
  transition: opacity 0.1s;
  opacity: 0;
  pointer-events: none !important;
}

.poi.fade-out .poi-content{
  -webkit-transition: transform 0.1s;
  transition: transform 0.1s;
  -webkit-transform: scale(0.1);
  transform: scale(0.1);
}
.poi.selected.fade-out .poi-content{
  -webkit-transform: scale(3);
  transform: scale(3);
}

.poi-pano .poi-content{
  -webkit-transform: scale(0.35);
  transform: scale(0.35);
}
.poi-icon .poi-content{
  -webkit-transform: scale(0.7);
  transform: scale(0.7);
}
.poi-cluster .poi-content{
  -webkit-transform: scale(0.55);
  transform: scale(0.55);
}

.poi-element{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
}
.poi-center{
  background: var(--blue);
  overflow: hidden;
}
.poi-border{
  background: var(--blue);
  -webkit-transition: transform 0.5s;
  transition: transform 0.5s;
  pointer-events: none;
}
.poi-border:nth-of-type(1){
  opacity: 0.5;
  pointer-events: none;
}

.poi-pano .poi-border:nth-of-type(1)
{
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
}
.poi-icon .poi-border:nth-of-type(1){
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
}
.poi-cluster .poi-border:nth-of-type(1){
  -webkit-transform: scale(1.33);
  transform: scale(1.33);
}
.poi-border:nth-of-type(2){
  -webkit-transform: scale(1);
  transform: scale(1);
}
.poi-txt{
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5em;
}
.poi-image{
  background-size: cover;
  background-position: center;
  -webkit-transform: scale(.9);
  transform: scale(.9);
  opacity: 0; 
}

.poi-cluster-hint-0-4,
.poi-cluster-hint-1-4{
  top: 10%;
}
.poi-cluster-hint-2-4,
.poi-cluster-hint-3-4{
  top: 57%;
}
.poi-cluster-hint-0-4,
.poi-cluster-hint-2-4{
  left: 10%;
}
.poi-cluster-hint-1-4,
.poi-cluster-hint-3-4{
  left: 57%;
}

.poi-border-cover{
  border: 2.4em solid var(--blue);
  -webkit-transition: border 0.4s;
  transition: border 0.4s;
}
.poi.hidden{
  display: none !important;
}
.poi-icon .poi-border-cover{
  border: .8em solid var(--blue);
}
.poi-cluster .poi-border-cover{
  border: .8em solid var(--blue);
}
.poi:hover,
.poi.selected{
  z-index: 90 !important;
}
.poi.selected .poi-content,
.poi:hover .poi-content{
  -webkit-transform: scale(1);
  transform: scale(1);
}
.poi.poi-cluster.selected .poi-content,
.poi.poi-cluster:hover .poi-content{
  -webkit-transform: scale(0.75);
  transform: scale(0.75);
}
.poi.selected .poi-border-cover,
.poi:hover .poi-border-cover{
  border-width: 0;
}
.poi.selected .poi-image,
.poi:hover .poi-image{
  opacity: 1;
}
.poi.selected .poi-border:nth-of-type(1),
.poi:hover .poi-border:nth-of-type(1){
  -webkit-transform: scale(1);
  transform: scale(1);
}
.poi.selected .poi-border:nth-of-type(2),
.poi:hover .poi-border:nth-of-type(2){
  -webkit-transform: scale(1.3);
  transform: scale(1.2);
}

.poi.selected.poi-icon .poi-center,
.poi:not(.selected).poi-icon:hover .poi-center{
  background: var(--hover-blue);
}

.poi.selected.poi-cluster .poi-center,
.poi:not(.selected).poi-cluster:hover .poi-center{
/*  color: var(--hover-blue);*/
/*  background: var(--bright-blue);*/
  background: var(--hover-blue);
}

.poi-link-label{
  position: absolute;
  top: 0;
  white-space: nowrap;
  left: 50%;
  text-align: center;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: transform .2s, opacity .2s;
  transition: transform .2s, opacity .2s;
  color: white;
  opacity: 1;
  padding: 3.3em 1em .5em 1em;
}
.poi-link:hover .poi-link-label{
  -webkit-transform: translate(-50%, 10%);
  transform: translate(-50%, 10%);
}

.poi-link-bg{
  position: absolute;
  width: 100%;
  height: calc(100% - 2.8em);
  top: 0;
  left: 0;
  background: var(--blue);
  z-index: -1;
  margin-top: 2.8em;
}
.poi-link-text{
 color: white;
}
#poi-templates{
  display: none;
}

#clickblocker,#shutter{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  pointer-events: none;
  z-index: 99;
  transition-duration: .5s;
}
#shutter.is-active{
  background: white;
  opacity: 1;
}
#shutter{
  opacity: 0;
}
#clickblocker{
  background: black;
  opacity: 0;
}
#clickblocker.is-active{
  opacity: 0.2;
  pointer-events: all;
}

.poi-scale-container{
  -webkit-animation: poiScaleInAnim .4s forwards cubic-bezier(0.510, 0.005, 0.335, 1.270);
  animation: poiScaleInAnim .4s forwards cubic-bezier(0.510, 0.005, 0.335, 1.270);
}

@-webkit-keyframes poiScaleInAnim {
  0%   {-webkit-transform: scale(0.1); opacity: 0;}
  50%  {opacity: 1;}
  100% {-webkit-transform: scale(1); opacity: 1;}
}
@keyframes poiScaleInAnim {
  0%   {transform: scale(0.1); opacity: 0;}
  50%  {opacity: 1;}
  100% {transform: scale(1); opacity: 1;}
}

#main:not(.interactive),
#main:not(.interactive) *,
#main.not-interactive *{
  pointer-events: none !important;
}

.poi-label{
  white-space: nowrap;
  left: 50%;
  top: 100%;
  position: absolute;
  -webkit-transform: translate(-50%,0%) scale(0.1,0.5);
  transform: translate(-50%,0%) scale(0.1,0.5);
  background: var(--blue);
  color: white;
  font-size: 1.4em;
  padding: .8em 1em;
  opacity: 0;
  pointer-events: none;
  font-weight: bold;
  transition: transform 0.3s cubic-bezier(0.510, 0.005, 0.335, 1.270), opacity 0.2s;
}

.poi:not(.selected):hover .poi-label{
  -webkit-transform: translate(-50%,40%) scale(1);
  transform: translate(-50%,40%) scale(1);
  opacity: 1;
}
#main nav{
  -webkit-transition: transform 0.5s cubic-bezier(0.510, 0.005, 0.335, 1.270);
  transition: transform 0.5s cubic-bezier(0.510, 0.005, 0.335, 1.270);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
#main.loading nav{
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
}

#main #menu-floating{
  -webkit-transition: transform 0.5s cubic-bezier(0.510, 0.005, 0.335, 1.270);
  transition: transform 0.5s cubic-bezier(0.510, 0.005, 0.335, 1.270);
  -webkit-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}
#main.loading #menu-floating{
  -webkit-transform: translateY(200%);
  transform: translateY(200%);
  opacity: 0;
}

#info-box-scroll{
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

nav .nav-list-wrapper{
  max-width:  calc(100vw - 7.1em);
}

@media screen and (max-width:640px) {
  #menu-floating{
    margin-right: 0.555em;
    margin-bottom: calc(0.666em + 2px);
    max-width: calc(100vw - 1.11em);
  }
  
}

@media screen and (max-width:690px) {
  html{
/*    font-size: 3.10vw;*/
    font-size: 2.55vw;
  }
  nav .nav-list-wrapper{
/*    width: 22em;*/
    width: 100vw;
  }
  
  nav .nav-list-container{
    font-size: 1rem;
  }
}
@media screen and (max-width:550px) {
  html{
    font-size: 3.18vw;
  }
  
  nav .nav-list-container{
    font-size: .9rem;
  }
}

@media screen and (max-width:720px) {
  #ui-space.is-active #ui-box{
    width: 33em;
    max-width: 90vw;
  }
}

@media only screen and (max-height: 580px) and (orientation: landscape) {
  html{
    font-size: 2.9vh;
  }

}

@media only screen and (max-height: 620px) {
  #campus-logo{
    width: 2rem;
  }
}

#loading-overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.25);
  transition: opacity 0.5s;
  pointer-events: none;
  opacity: 1;
}
.loading-indicator{
  border-radius: 50%;
  width: 100px;
  height: 100px;
  max-width: 70vmin;
  max-height: 70vmin;
  border: 8px solid var(--hover-blue);
  border: 8px solid white;
  opacity: 0.75;
  border-left-color: transparent;
  animation: loadingIndicatorAnim 1s linear infinite;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  display: none;
}

.loading-indicator-2{
  width: 120px;
  height: 120px;
  max-width: 84vmin;
  max-height: 84vmin;
  animation-direction: reverse;
  animation-duration: 2s;
  opacity: 0.75;
  border-top-color: transparent;
}

#main:not(.loadingImg) #loading-overlay{
  opacity: 0;
}
#main.loadingImg .loading-indicator{
  display: block;
}


@-webkit-keyframes loadingIndicatorAnim {
  0%   {-webkit-transform: rotate(0deg);}
  100% {-webkit-transform: rotate(360deg);}
}
@keyframes loadingIndicatorAnim {
  0%   {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}
#audiotour-menu{
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity .25s;
  -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity .25s;
  opacity: 0;
  -webkit-transform: translateY(50%);
  transform: translateY(50%);
}
#audiotour-menu.is-visible{
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

#shutter .progress-bar-container{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 85%;
  height: 10px;
  max-width: 800px;
  -webkit-transition: opacity 0.3s ease-in;
  transition: opacity 0.3s ease-in;
  opacity: 1;
}
#main:not(.loading-bar) #shutter .progress-bar-container{
  opacity: 0;
}
.progress-bar-container:before{
  content: '';
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border: 1px solid var(--blue);
  position: absolute;
  top: -3px;
  left: -3px;
}
#shutter .progress-bar{
  background: var(--blue);
  width: 5%;
  height: 100%;
  transition: width .1s;
}

#back-to-menu{
  width: 100%;
  height: 5em;
  background: black;
  margin-top: auto;
  margin-bottom: 0;
}
#nav-logo{
  position: relative;
}
#welcome-text-container{
  position: absolute;
  width: 100vw;
  height: 100%;
  top: 0;
  left: 0;
  margin-top: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 90;
  pointer-events: none;
}

#welcome-text{
  text-align: center;
  position: relative;
  font-weight: bold;
  font-size: 1.2em;
  color: white;
  margin-top: 6em;
  margin-right: 3.2em;
  padding:.9em 1em;
  opacity: 0;
  -webkit-transition: opacity .2s;
  transition: opacity .2s;
}

#main.welcome #welcome-text{
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
  opacity: 1;
}

#welcome-text-bg-container,
#welcome-text-bg{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
}
#welcome-text-bg-container{
  opacity: 0;
  transform-origin: 0 50%;
  -webkit-transform: scale(0.25,1);
  transform: scale(0.25,1);
  -webkit-transition: transform .7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity .5s;
  transition: transform .7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity .5s;
}

#welcome-text-bg,
.welcome-text-lines{
  background: var(--blue);
}

.welcome-text-lines{
  width: 2em;
  height: 100%;
  position: absolute;
  right: 0em;
  transform-origin: 100% 100%;
  -webkit-transform: skewX(-20deg);
  transform: skewX(-20deg);
  -webkit-transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1)s;
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1)s;
/*  -webkit-transform: skewX(0deg);*/
/*  transform: skewX(0deg);*/
}

.welcome-text-lines:after{
  content: '';
  position: absolute;
  left: 100%;
  margin-left: .6em;
  width: 0.6em;
  height: 100%;
  text-align: center;
  z-index: -1;
  border-left: 0em solid var(--blue);
  border-right: 0em solid var(--blue);
  -webkit-transition: border-left 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s, border-right 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s;
  transition: border-left 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s, border-right 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s;
}

#main.welcome .welcome-text-lines{
  -webkit-transform: skewX(-15deg);
  transform: skewX(-15deg);
  right: 0;
}
#main.welcome .welcome-text-lines:after{
  border-left: 0.6em solid var(--blue);
  border-right: 0.6em solid var(--blue);
}

#main.welcome #welcome-text-bg-container{
  opacity: 0.6;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

a{
  color: inherit;
}




@media screen and (min-aspect-ratio: 1/1){

  .poi-link-label{
    -webkit-transform: translateX(-50%) scale(.5);
    transform: translateX(-50%) scale(.5);
    opacity: 0;
    color: white;
    padding: 3.3em 1em .5em 1em;
  }
  .poi-link:hover .poi-link-label{
    -webkit-transform: translate(-50%, 10%) scale(1);
    transform: translate(-50%, 10%) scale(1);
    opacity: 1;
  }

}

@media screen and (max-height:1000px) and (min-aspect-ratio: 1/1){

  #ui-space.is-youtube-video #ui-box{
    max-width: 70vw !important;
    width: 112vh !important;
  }
}

@media screen and (min-aspect-ratio: 5/3) {
  #ui-space{
    top: 0;
    bottom: 0;
  }
}
@media screen and (max-width:760px) {
  #welcome-text{
    margin-top: 9.6rem;
  }
}
@media screen and (max-width:620px) {
  #welcome-text{
    font-size: 3.3vw !important;
  }
}
.poi-cluster *{
/*  background-color: red !important;*/
}

/*NAV ORDER*/
/*--------------------------------------------------------------------------------*/


/*BUILDING A*/

#nav-id1{ order: 0; } /*audimax*/
#nav-id2{ order: 1; } /*aula a*/
#nav-section-audio{ order: 0; } /*section audio*/
  #nav-id16{ order: 0; } /*audio labor*/
  #nav-id17{ order: 1; } /*audio studio A*/
  #nav-id18{ order: 2; } /*audio studio B*/
  #nav-id19{ order: 3; } /*audio studio C*/
#nav-id36{ order: 2; } /*campus medien*/
#nav-id20{ order: 3; } /*electronics lab*/
#nav-id21{ order: 4; } /*fotostudio*/
#nav-id15{ order: 5; } /*industrie 4.0*/
#nav-section-infosec{ order: 5; } /*section infosec*/
  #nav-id22{ order: 0; } /*cyber defence*/
  #nav-id23{ order: 1; } /*data science lab*/
  #nav-id24{ order: 2; } /*deep learning lab*/
  #nav-id9{ order: 3; } /*info sec lab*/
#nav-id25{ order: 6; } /*maker lab*/
#nav-id26{ order: 7; } /*performance lab*/
#nav-id27{ order: 8; } /*postpro studio*/
#nav-id11{ order: 9; } /*rail lab*/
#nav-section-tv{ order: 10; } /*tv-studio*/
  #nav-id13{ order: 0; } /*tv-studio*/
  #nav-id14{ order: 0; } /*regieraum*/
#nav-id12{ order: 11; } /*usability lab*/


/*BUILDING B*/

#nav-id3{ order: 0; } /*aula b*/
#nav-id4{ order: 1; } /*bibliothek*/
#nav-id8{ order: 3; } /*creative room*/
#nav-id5{ order: 4; } /*mensa*/
#nav-id28{ order: 5; } /*self study zone*/
#nav-id29{ order: 6; } /*seminarraum B.2.03*/
#nav-id30{ order: 7; } /*seminarraum B.2.06*/
#nav-section-digital-health{ order: 0; } /*section digital health labs*/
  #nav-id31{ order: 0; } /*body composition lab*/
  #nav-id32{ order: 1; } /*interaction lab*/
  #nav-id33{ order: 2; } /*motion capturing lab*/
#nav-id7{ order: 1; } /*health lab*/
#nav-id34{ order: 2; } /*kitchen lab*/
#nav-id35{ order: 3; } /*physio lab*/
#nav-id6{ order: 0; } /*campus-garten*/
#nav-id10{ order: 1; } /*promenade*/

/*--------------------------------------------------------------------------------*/
#debugpoi{
  width: 30px;
  height: 30px;
  background: black;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  border-radius: 50%;
  z-index: 99999;
}

/*
Audio-Studio
Health Lab*/

/*
Usability-Labor
TV-Studio
Industrie 4.0 
Info Sec Lab
raiLAB 
Creative Room
*/

#nav-bottom-cover{
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  background: red;
}

.poi-hint{
  background-color: var(--blue);
  border: 0.3em solid var(--bright-blue);
  width: 25%;
  height: 25%;
  top: 37.5%;
  left: 37.5%;
  position: absolute;
  -webkit-transition: border 0.25s, transform 0.25s;
  transition: border 0.25s, transform 0.25s;
}
.poi-hint:before{
  content: '';
  border: 0.3em solid var(--blue);
  border-radius: 50%;
  position: absolute;
  top: -0.6em;
  left: -0.6em;
  bottom: -0.6em;
  right: -0.6em;
  
}
.poi-hint:nth-child(1){
  transform: translateX(-0.8em);
}
.poi-hint:nth-child(3){
  transform: translateX(0.8em);
}

.poi:hover .poi-hint{
  background-color: white;
  border-color: white;
}

.poi:hover .poi-hint:nth-child(1){
  transform: translateX(-1em);
}
.poi:hover .poi-hint:nth-child(3){
  transform: translateX(1em);
}


#cookie-container{
  box-sizing: border-box;
  font-family: sans-serif;
  font-family: Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;
  content-visibility: auto;
  z-index: 999;
  width: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  position: fixed;
  padding-bottom: 1.5em;
  background-color: white;
  --transition-duration: 250mx;
  box-sizing: inherit;
  font-size: 16px;
}

#cookie-container .container{
/*  max-width: 1280px;*/
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  display: block;
}
#cookie-container .w-full{
  width: 100%;
  padding-top: 1.25em;
  padding-bottom: 1.25em;
  padding-left: 1em;
  padding-right: 1em;
  margin-left: auto;
  margin-right: auto;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
    align-items: center;
}
#cookie-container .font-light{
  font-weight: 300;
  line-height: 1.75;
  margin: 0;
}
#cookie-container a{
  color: #005096;
  text-decoration: underline;
}

#cookie-container button{
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
  --transition-duration: 100ms;
  -webkit-transition-duration: .1s;
  transition-duration: .1s;
  -webkit-transition-property: background-color;
  transition-property: background-color;
  color: #005096;
  padding-left: 0.75em;
  padding-right: 0.75em;
  padding: 0.625em;
  margin: 1.25em;
  line-height: 1.375;
  display: inline-block;
  border-width: 2px;
  border-radius: 0.125em;
  border-color: #005096;
  background-color: #fff;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  box-sizing: inherit;
  font-size: 100%;
}
#cookie-container button:hover{
  color: white;
  background-color: #005096;
}


@media (min-width: 768px){
  #cookie-container .container {
    max-width: 768px; 
  }
  #cookie-container .w-full{
    display: -webkit-box;
    display: flex;
  }
}
@media (min-width: 1024px){
    #cookie-container .container {
       max-width: 1024px; 
  }
}
@media (min-width: 1280px){
  #cookie-container .container {
      max-width: 1280px;
  }
}

#cookie-container.is-hidden{
  display: none !important;
}

/*
#main[data-lang="en"] #audiotour-menu{
  display: none !important;
}*/
