
/*
#krpanoSWFObject {
	z-index:3000 !important;
	}
*/



.floorplan-container {
    overflow: visible;
    user-select: none;
}

#btn-floorplan-toggle {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
	color:#fff;
	background-color:#343a40;
	border-color:#fff;
	padding:0.15rem 0.5rem;
} 

#btn-floorplan-toggle.isOpen {
    background-color: #343a40bb;
}

.floorplan {
    position: absolute;
    right: 1rem;
    bottom: 6rem;
    width: 30%;
    background-color: #343a40;
    color: rgba (255,255,255,.5);
    cursor: initial;
    display: none;
    border-radius: 3px;
    padding: 20px;
    transition: opacity 1s ease-in-out;
    max-height:80%;
}

.floorplan.isOpen {
    display: flex;
    flex-direction: column;
	z-index:9999 !important;
}

.floorplan--maps {
    display: grid;
}

.floorplan--headline {
    min-height:3.2rem;
	display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.5);
}

#floor-title{
}

#floor-subtitle{
    margin-left: 20px;
    color: red;
}

.floorplan--selection {
    position: absolute;
    left: -1rem;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.btn-floor-select {
	/* display:none; /* bei nur einer Etage deaktivieren */ 
    background-color: #343a40;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    text-align: center;
    line-height: 2rem;
    vertical-align: middle;
    font-size: 1rem;
    color: #575e64;
    cursor: pointer;
}

.btn-floor-select:hover {
    color: white;
}

.btn-floor-select.isActive {
    color:white;
}

.floor-map {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    opacity: 0;
    width: 100%;
    height: max-content;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    pointer-events: none;
    overflow: auto;
}

.floor-map.isActive {
    opacity: 1;
    pointer-events: all;
}

.floor-map img {
    height: auto;
    width: 100%;
}

#btn-floorplan-close {
	font-size:1.5rem !important;
	line-height:0.8;
	color: #fff;
    background-color:#343a40; 
    border:0; display:block !important; 
    margin-top: -1.8rem; 
    margin-left:90%;
    height: 1.8rem;
    width: 1.8rem;
	z-index:9000 !important;
}

.floorplan a:link,
.floorplan a:visited {
  font-size:1rem !important;
   color: rgba(255,255,255,.5)!important;
}

.floorplan a:active,
.floorplan a:hover{
  font-size:1rem !important;
  color: rgba(255,255,255,1)!important;
}


.pois {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0px;
}

.poi {
    position: absolute;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    background-color: rgba(180, 180, 180, 0.5);
    border-radius: 0.5rem;
    z-index:1;
    transform: translate(-50%, -50%);
}

.poi.isActive {
    background-color: white;
}

.poi:hover {
    background-color: white;
}

#fov-indicator {
    position: absolute;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: 100%;
    z-index:0;
    transform: translate(-50%, -50%);
    overflow: hidden;
    /*background: #575e64;*/
    border:  rgb(163, 163, 163) solid 1px;
}

#fov {
    --degrees: calc(var(--offset, 0) - var(--value, 45) / 2);
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: absolute;
    transform: translate(0, -50%) rotate(90deg) rotate(calc(var(--degrees, 0) * 1deg));
    transform-origin: 50% 100%;
}

#fov:before {
    --degrees: calc((var(--value, 45) / 100) * 360);
    background:  rgb(163, 163, 163);
    content: '';
    height: 100%;
    position: absolute;
    transform: translate(0, 100%) rotate(calc(var(--value, 45) * 1deg));
    transform-origin: 50% 0;
    width: 100%;
}

@media (min-width: 951px) { 

h4 {
	font-size:1.1rem !important; /* h4 größen-override!*/
	}

	#btn-floorplan-toggle {
		right:1rem !important;
		bottom:1.5rem !important;
		}
    
        .floorplan {
        position: absolute;
        right: 1rem;
        top: 4rem;
        bottom:auto;
        width: 40%;

    }
}

@media (max-width: 950px) { 


h4 {
	font-size:1.1rem !important; /* h4 größen-override!*/
	}

	#btn-floorplan-toggle {
		right:12.4rem !important;
		bottom:1.5rem !important;
		}
    
        .floorplan {
        position: absolute;
        right: 1rem;
        top: 1rem;
        bottom:auto;
        width: 50%;
    }
	
	.floor-map img {
	max-height:57vh;
	}	
}
@media (max-width: 768px) { 

h4 {
	font-size:1rem !important; /* h4 größen-override!*/
	}

    #floorplan-toggle-btn {
        display:block;

   
    }
    .floorplan {
		display:block;
		}
	
    .floorplan.isOpen {
		display:block;
		width:50%;
		height:auto;
		padding-bottom: 2rem;
		top:1rem;
		}
		
		.floor-map img {
	max-height:57vh;
	}	
	
	#btn-floorplan-toggle {
		right:25% !important;
		bottom:1.5rem !important;
		}
	
}

@media (max-width: 568px) { 

h4 {
	font-size:1rem !important; /* h4 größen-override!*/
	}

.floorplan--headline {
	display:none;
	}
	
.floor-map img {
	max-height:78vh;
	}	

    #floorplan-toggle-btn {
        display:block;

   
    }
    .floorplan {
		display:block;
		max-height:90vh;
		}
	
    .floorplan.isOpen {
		display:block;
		width:90%;
		height:auto;
		padding-bottom: 2rem;
		top:1rem;
		}
	
	#btn-floorplan-toggle {
		right:40% !important;
		bottom:1.5rem !important;
		}
	
}
