#lokalplan_map_canvas {
    display: block;
    position: absolute;
    height: auto;
    bottom: 0;
    top: 50px;
    left: 0;
    right: 0;
}

#accordion {
    position: absolute;
    background-color: transparent;
    top: 10%;
    right: 5px;
    z-index: 1000;
    background: white;
}

#loadmessage {
    position: absolute;
    top: 49%;
    left: 48%;
    width: 200px;
    z-index: 999;
    border-radius: 4px;
    background-color: white;
    padding: 6px 8px;
    display: none;
}

.panel {
    padding: 15px;
    border: 5px;
    margin: 5px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    border: 1px solid black !important;
}

.glyphicon.fast-right-spinner {
    -webkit-animation: glyphicon-spin-r 1s infinite linear;
    animation: glyphicon-spin-r 1s infinite linear;
}

.glyphicon.normal-right-spinner {
    -webkit-animation: glyphicon-spin-r 2s infinite linear;
    animation: glyphicon-spin-r 2s infinite linear;
}

.glyphicon.slow-right-spinner {
    -webkit-animation: glyphicon-spin-r 3s infinite linear;
    animation: glyphicon-spin-r 3s infinite linear;
}

.glyphicon.fast-left-spinner {
    -webkit-animation: glyphicon-spin-l 1s infinite linear;
    animation: glyphicon-spin-l 1s infinite linear;
}

.glyphicon.normal-left-spinner {
    -webkit-animation: glyphicon-spin-l 2s infinite linear;
    animation: glyphicon-spin-l 2s infinite linear;
}

.glyphicon.slow-left-spinner {
    -webkit-animation: glyphicon-spin-l 3s infinite linear;
    animation: glyphicon-spin-l 3s infinite linear;
}

@-webkit-keyframes glyphicon-spin-r {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes glyphicon-spin-r {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@-webkit-keyframes glyphicon-spin-l {
    0% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }

    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@keyframes glyphicon-spin-l {
    0% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }

    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

#plan_basemap_toggle {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 900;
}

#plan_basemap_toggle .basemap-thumb {
    border: 4px solid #fff;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

#plan_basemap_toggle .basemap-thumb:hover {
    border-color: #cfcfcf;
    opacity: 0.9;
}

#plan_basemap_toggle img {
    height: 80px;
    display: block;
}

.plan-legend {
    font-size: 12px;
    line-height: 1.25;
}

.plan-legend-title {
    font-weight: bold;
    margin-bottom: 6px;
}

.plan-legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.plan-legend-link {
    margin-top: 6px;
}

.plan-legend-link a {
    color: #0f4fa8;
    text-decoration: underline;
}

.plan-legend-swatch {
    width: 14px;
    height: 14px;
    border: 1px solid #333;
    margin-right: 6px;
    flex: 0 0 auto;
}

.plan-legend-line {
    width: 18px;
    height: 3px;
    border: none;
    margin-right: 8px;
}

.plan-info-title {
    font-weight: bold;
    font-size: 13px;
    margin: 0 0 6px 0;
}

.plan-info-block {
    margin: 0 0 6px 0;
}

.plan-info-label {
    font-weight: bold;
    color: #333;
}

.plan-info-value {
    color: #222;
}

.plan-info-type {
    font-weight: bold;
    margin: 6px 0 4px 0;
}

.plan-info-link a {
    display: inline-block;
    margin-top: 4px;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #999;
    border-top-color: #333;
    border-radius: 50%;
    animation: plan-spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes plan-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
