body,html {
    margin: 0; padding: 0;
}
body {
    overflow: hidden;
}

#krpanoPlayer {
    /*width: 100vw;*/
    height: calc(100vh - 3.5rem);
}

.navbar-navigation a.is-active {
    border-bottom: 4px solid #485fc7;
    padding-bottom: 4px;
    color: #485fc7;
}


.panel-heading {
    font-size: 0.9em;
}

#mappoints_list {
    overflow: auto;
    height: calc(100vh - 153px);
}

#marker_toggle_btn {
    position: absolute;
    right: 0px;
    background: white;
    width: 30px;
    height: 30px;
    font-size: 1.5rem;
    line-height: 24px;
    text-align: center;
    top: calc(50vh - 15px);
    cursor: pointer;
}
#marker_toggle_btn:hover {
    background-color: #fafafa;
    color: #485fc7;
}


/* Formular (Infofenster Kartenpunkt) */
#form {
    position: absolute;
    left: 10px;
    top: 100px;
    background: #fff;
    border: 1px solid #000;
    max-width: 380px;
    z-index: 1000;
    -webkit-transition: box-shadow 0.2s ease;
    -moz-transition: box-shadow 0.2s ease;
    -o-transition: box-shadow 0.2s ease;
    transition: box-shadow 0.2s ease;
}

#form.hide {
    left: -400px;
}

#form.dragging {
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
}

.mappoint-form-header {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-right: 0.5rem;
}

.mappoint-form-header:active {
    cursor: grabbing;
}

.mappoint-form-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mappoint-form-collapse-btn {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    background: #f5f5f5;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #363636;
}

.mappoint-form-collapse-btn:hover {
    background: #eee;
    border-color: #b5b5b5;
}

.mappoint-form-body {
    max-height: 70vh;
    overflow-y: auto;
}

#form.mappoint-form-collapsed .mappoint-form-body {
    display: none;
}

/* Alert */
#alert {
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    background: yellow;
    padding: 10px;
    z-index: 100000;

    -webkit-transition: all 0.5s 0s ease-in-out;
    -moz-transition: all 0.5s 0s ease-in-out;
    -o-transition: all 0.5s 0s ease-in-out;
    transition: all 0.5s 0s ease-in-out;
}
#alert.hide {
    top: -100px;
}
#alert_close {
    position: absolute;
    right: 10px;
    top: 6px;
    font-size: 20px;
    cursor: pointer;
}

@media screen and (min-width: 769px) {
    .modal-card, .modal-content {
        width: calc(100vw - 140px);
    }
}

.blue-background-class td {
    background-color: #C8EBFB;
}

#panoramaTable td {
    cursor: all-scroll;
}