modal#pano{
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
	flex-wrap: wrap;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 9999;
    background-color: rgba(0,0,0,0.46);
    opacity: 0;
    transition: all 0.2 ease-in-out;
}
modal#pano.show{
    opacity: 1;
}
modal#pano close{
    position: absolute;
    right: 0;
    top: 0;
    z-index: 5;
    background-color: #CCCCCC;
    width: 30px;
    height: 30px;
    cursor: pointer;
}
modal#pano close:before{
    position: absolute;
    display: block;
    height: 2px;
    background-color: #fff;
    margin-top: -1px;
    transform: rotate(45deg);
    content: "";
    left: 8px;
    right: 8px;
    top: 50%;
}
modal#pano close:after{
    position: absolute;
    display: block;
    height: 2px;
    background-color: #fff;
    margin-top: -1px;
    transform: rotate(-45deg);
    content: "";
    left: 8px;
    right: 8px;
    top: 50%;
}
modal#pano close:hover{
    background-color: #999;
}
modal#pano display-window{
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    max-width: 1000px;
    max-height: 600px;
    box-shadow: 0 7px 25px rgba(0,0,0,0.16);
}
/*font-family: "HandelGotD-Ligh";*/
modal#pano display-window block-right{
    position: relative;
    display: block;
    min-width: calc(100% / 12 * 4);
    max-width: calc(100% / 12 * 4);
    height: 100%;
}
modal#pano display-window block-right inner{
    position: absolute;
    display: block;
    left: 30px;
    right: 40px;
    top: 30px;
    bottom: 60px;
    overflow-y: auto;
}
modal#pano display-window block-right displayPoint{
    position: absolute;
    display: block;
    left: 30px;
    right: 30px;
    bottom: 20px;
    font-size: 12px;
    font-weight: 300;
    
}
modal#pano display-window block-right displayPoint b,
modal#pano display-window block-right displayPoint strong{
    font-weight: 600;
}
modal#pano display-window block-right displayPoint span{
    font-weight: 300;
}
modal#pano display-window block-right inner headline,
modal#pano display-window block-right inner subline{
    position: relative;
    display: block;
    font-family: "HandelGotD-Ligh";
}
modal#pano display-window block-right inner headline{
    color: var(--H1fontColor);
    font-size: 27px;
}
modal#pano display-window block-right inner subline{
    font-size: 16px;
    margin-bottom: 15px;
}
modal#pano display-window block-right inner h3{
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    padding: 5px 0;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: block;
}
modal#pano display-window block-right inner h3:after{
    content:"";
    position: absolute;
    display: block;
    right: 0;
    top: 50%;
    height: 2px;
    width: 12px;
    background-color: var(--linkFontColor);
    margin-top: -1px;
}
modal#pano display-window block-right inner h3:before{
    content:"";
    position: absolute;
    display: block;
    right: 0;
    top: 50%;
    height: 2px;
    width: 12px;
    background-color: var(--linkFontColor);
    margin-top: -1px;
    transform: rotate(90deg);
    transition: all 0.2s ease-in-out;
}

modal#pano display-window block-right selectblock.open h3:before{
    transform: rotate(0deg) !important; 
}

modal#pano display-window block-right inner selectors{
    position: relative;
    display: block;
    padding: 20px 0;
}
modal#pano display-window block-right inner selectors input{
    display:none;
}
modal#pano display-window block-right inner selectors input + label{
    
    position: relative;
    display: block;
    padding: 3px 0;
    padding-left: 30px;
    font-size: 13px;
    font-weight: 300;
    text-transform: capitalize;
    cursor: pointer;
}
modal#pano display-window block-right inner selectors input + label:before{
    content: "";
    position: absolute;
    display: block;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border: 1px solid #ddd;
    border-radius: 100%;
}
modal#pano display-window block-right inner selectors input:checked + label:after{
    content: "";
    position: absolute;
    display: block;
    left: 2px;
    top: 6px;
    width: 12px;
    height: 12px;
    background-color: var(--linkFontColor);
    border-radius: 100%;
}
modal#pano display-window block-right inner auswahl{
    position: relative;
    display: block;
    padding: 10px 0;
}
modal#pano display-window block-right actions{
    position: relative;
    display: block;
    text-align: right;
}
modal#pano display-window block-right actions a{
    position: relative;
    display: inline-block;
    background-color: var(--linkFontColor);
    color: #000;
    text-decoration: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    line-height: 36px;
    padding: 0 20px;
    border-radius: 18px;
}

modal#pano display-window block-left{
    position: relative;
    display: block;
    min-width: calc(100% / 12 * 8);
    max-width: calc(100% / 12 * 8);
    height: 100%;
}
modal#pano display-window block-left inner{
    position: relative;
    display: block;
    padding: 10px;
    width: 100%;
    height: 100%;
}
modal#pano display-window block-left inner preview{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #eee;
}

@media screen and (max-width: 459px){
    modal#pano display-window block-left inner{
        height: auto;
        aspect-ratio: 4 / 3;
        -webkit-aspect-ratio: 4 / 3;
    }
    modal#pano display-window{
        max-height: calc(100vh - 80px);
        padding-top: 40px;
    }
    modal#pano display-window block-left{
        min-width: 100%;
        max-width: 100%;
		height: 40%;
    }
	modal#pano display-window block-right{
		min-width: 100%;
        max-width: 100%;
		height: 60%;
		overflow-y: auto;
	}
	modal#pano display-window block-right inner{
		right: 30px;
	}
}

.panoramamenu{
    display: none !important;
    visibility: hidden !important;
    position: fixed !important;
    left: -99999999px;
    top: -99999999px;
}
modal#pano display-window block-left inner #buttons{
    opacity: 0 !important;
}

#panoControl{
    position: absolute;
    display: flex;
    bottom: 40px;
    z-index: 9;
    left: 50%;
    justify-content: center;
    align-items: flex-start;
    box-shadow: 0 1px 5px rgba(0,0,0,0.06);
    border-radius: 18px;
    transform: translate(-50%,0);
}
#panoControl a{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
    color: #000;
    line-height: 36px;
    height: 36px;
    padding: 0 20px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
    cursor: pointer;
    
}
#panoControl a:hover{
    background-color: var(--linkFontColor);
    color: #fff;
}
#panoControl a:first-child{
    border-radius: 18px 0 0 18px;
    box-shadow: -1px 0 0 #f0f0f0 inset;
}
#panoControl a:last-child{
    border-radius: 0 18px 18px 0;
}
#panoControl a svg{
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: all 0.3s ease-in-out;
}
#panoControl a:last-child svg{
    width: 12px;
    height: 12px;
}