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



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

#btn-floorplan-toggle {
    position: absolute;
    right: 1rem;
    letter-spacing:0.05rem;
    bottom: 1.5rem;
	color:black;
	background-color:white;
	border-color:black;
	padding:0.15rem 0.5rem;
    font-weight:700;
    letter-spacing:0.1rem;
    border-radius:2px;
    z-index:9999;
}

#btn-floorplan-toggle:hover 
{background-color:#202020 !important; color:white; }


#btn-floorplan-toggle.isOpen {
    background-color: black;
    color:white;
}

.floorplan {
    position: absolute;
    right: 1rem;
    bottom: 6rem;
    width: 30%;
    background-color: white !important;
    color: black !important;
    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 #ff3c00;
}

#floor-title{
    font-weight:bold;
    font-size: 1.5rem;
    text-align:center;
}

#floor-subtitle{
    margin-left: 20px;
    font-size:1px;
 
}

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

.btn-floor-select {
	  background-color: white;
    margin-top: 10px;
    margin-bottom: 10px;
    
    width: 4rem;
    height: 2rem;
    text-align: center;
    line-height: 2rem;
    vertical-align: middle;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    

    z-index:9999;
    background-color:black;

}

.btn-floor-select:hover {
    color: #ff3c00;
}

.btn-floor-select.isActive {
    color:#ff3c00;
    font-weight:bold;
}

.floor-map {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    opacity: 0;
    width: 100%; /* 75% 100%*/
    height: max-content;
    top: 50%;
    /*left: 10%; fuer karte vertikal*/
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    pointer-events: none;
    overflow: auto;
    text-align:center;
}

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

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

#btn-floorplan-close {
	font-size:2.0rem !important;
	line-height:0.8;
	color:black;
    background-color:white;
    border:0; display:block !important;
    margin-top: -0.3rem;
    margin-left:95%;
    height: 0.3rem;
    width: 0.3rem;
	z-index:9000 !important;
    text-align: center;
}

.floorplan a:link,
.floorplan a:visited {
  font-size:1rem !important;
   color: black!important;

}

.floorplan a:active,
.floorplan a:hover{
  font-size:1rem !important;
  color: #ff3c00!important;
}


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

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

.poi.isActive {
    background-color: #303030;
}

.poi:hover {
    background-color: #303030   ;
}

#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(255, 60, 0);
    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.5rem !important; /* h4 größen-override!*/
    font-weight:bold;
	}

	#btn-floorplan-toggle {
		right:1rem !important;
		bottom:1.5rem !important;
		}

        .floorplan {
        position: absolute;
        right: 1rem;
        top: 1rem;
        bottom:auto;



    }
}

@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;
    max-height:90vh;
		}

    .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;
		}

}




