.mae-hallenplan {
    margin-top: 1rem;
}

.mae-hallenplan .plan-wrap {
    border: 1px solid #eee;
    box-sizing: border-box;
    height: 30rem;
    padding: 0.5rem;
}

.mae-hallenplan .plan-wrap.loading {
    background:#fff url(../Images/ajax-loader.gif) no-repeat center center;
}

.mae-hallenplan svg {
    height: 100%;
    width: 100%;
}


.mae-hallenplan svg path.curve.stsm {
    /* fill: #ff0000 !important; */
    /* workaround: */
    fill: rgba(255, 0, 0, 0.5) !important;
}

/* ? kann eventuell weg
.mae-hallenplan svg rect.stsm {
    fill:#ff0000 !important;
}
*/

.mae-hallenplan svg:not(.hp-overview) .Booth path.curve:hover {
    /* fill: #aaa; */
    /* workaround: */
    fill: rgba(170, 170, 170, 0.5);
}

/* ? kann eventuell weg
.mae-hallenplan svg:not(.hp-overview) g[id^="group"] rect:first-child:hover {
    fill: #aaa;
}
*/

.mae-hallenplan svg:not(.hp-overview) .Booth path.curve {
    /* fill: #eee; */
    /* workaround: */
    fill: rgba(238, 238, 238, 0.5);
    cursor: pointer;
}

/* ? kann eventuell weg
.mae-hallenplan svg:not(.hp-overview) g[id^="group"] rect:first-child {
    fill: #eee;
    cursor: pointer;
}
*/

/* pd */

.mae-hallenplan-overview {
    line-height: 36px;
    padding: 0 10px;
    display: inline-block;
    max-width: 50%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.plan-select {
    max-width: 50%;
    float: right;
    width: 10rem;

    padding: 0.25rem;
    border-radius: 0.25rem;
}


.plan-details {
    position: relative;

}
@media screen and (max-width: 640px), screen and (max-height: 640px) {
    .plan-details {
        position: fixed;
        z-index: 5000;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: 80%;
        max-width: 960px;
        overflow: auto;
        margin: 0 auto;
    }

    .plan-details-content {
        border: 1px solid #ddd;
        margin: 2px;
    }


    .plan-details > p.hp-error {
        padding: 10px;
        position: relative;
        background-color: #f9f9f9;
        border: 1px solid #ddd;
        margin: 2px;
    }
}

.plan-details-content {
    padding: 10px;
    position: relative;
    /* temp */
    background-color: #f9f9f9;
}

.plan-details-content > .close-button {
    display: block;
    padding: 10px;
    position: absolute;
    right: 5px;
    top: 0;
}

.plan-details-content h3 {
    margin: 0;
    padding: 15px 0 5px;
    border-bottom: 1px solid #ccc;
}

ul.plan-details-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.plan-details-list > li {
    padding: 5px 30px 5px 0;
    border-bottom: 1px solid #ccc;
    position: relative;
}

ul.plan-details-list > li >.merkliste-btn {
    display: block;
    padding: 5px;
    position: absolute;
    right: 0;
    top: 0;
}

ul.plan-details-list > li:last-child{
    border-bottom: none;
}


.mae-hallenplan svg.hp-overview .roof {}
.mae-hallenplan svg.hp-overview a:focus .roof, 
.mae-hallenplan svg.hp-overview a:hover .roof {}
.mae-hallenplan svg.hp-overview .dark {}
.mae-hallenplan svg.hp-overview a:focus .dark, 
.mae-hallenplan svg.hp-overview a:hover .dark {}
.mae-hallenplan svg.hp-overview .rooff {}
.mae-hallenplan svg.hp-overview a:focus .rooff,
.mae-hallenplan svg.hp-overview a:hover .rooff {}