#infoToggle {
    width: 40px;
    height: 40px;
    padding: 5px;
}

#infoToggle .icon {
    width: 30px;
    height: 30px;
}

#infoToggle .icon.on {
    display: none;
}

#infoToggle .icon.off {
    display: block;
}

#infoToggle.enabled .icon.on {
    display: block;
}

#infoToggle.enabled .icon.off {
    display: none;
}

#info {
    position: absolute;
    right: 0;
    top: 40px;
    width: var(--info-width, 300px);
    max-height: 100%;
    max-block-size: -webkit-fill-available;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(var(--info-width, 300px));
    transition: transform 0.5s ease-in-out;
    z-index: 2;
}
#info.enabled {
    transform: translateX(0);
}

#infos {
    width: 100%;
    background-color: rgb(50,50,50);
    background-color: rgba(50,50,50,0.75);
    padding-bottom: 1px;
}

.mobile #info {
    width: 100%;
    right: -100%;
}

.mobile #info.enabled {
    margin-right: 100%;
}

.mobile #info .infos {
    height: 100%;
}

#resize-handle {
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    cursor: ew-resize;
    z-index: 3;
}
#resize-handle-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    cursor: ns-resize;
    z-index: 3;
}

#info .text {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 15px;
    line-height: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#info h1.text {
    padding-top: 10px;
    font-weight: bold;
}

#setNorthButton {
    position: absolute;
    right: 20px;
    bottom: 114px;
}

.mapControls {
    text-align: center;
}

.mapControls img {
    padding-top: 10px;
    padding-right: 10px;
    cursor: pointer;
}

#shareButton {
    display: flex;
    align-items: center;
    justify-content: center;
}
#shareButton img {
    width: 32px;
}

.sharePopup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(50,50,50);
    background-color: rgba(50,50,50,0.75);
    padding: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    margin: 0;
    text-align: center;
}

.sharePopup p {
    margin: 15px 10px 5px 10px;
}

.sharePopup textarea {
    width: 85%;
}

.sharePopup img {
    cursor: pointer;
    margin: 5px;
}

#commentButton {
    display: flex;
    align-items: center;
    justify-content: center;
}
#commentButton img {
    width: 32px;
}

select {
    height: 25px;
    color: white;
    cursor: pointer;
    padding: 3px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(160, 160, 160);
    background-color: rgb(120,120,120);
}

#info.fullScreen {
    width: 100vw !important;
    margin-right: 0 !important;
    right: 0;
    left: 0;
    height: 100%;
    z-index: 100;
}
#sceneList.enabled ~ #info.fullScreen {
    left: 300px;
}
#infos {
    height: 100%;
}
#infoMapSVG {
    background-color: rgb(25,25,25);
}
#infoMap.fullScreen {
    width: 100%;
    height: 100%;
}
#infoMap.text {
    height: 240px;
}

#mapCloseButton {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 101;
}

img.infoMap {
    display: none;
}
#infoMap.fullScreen img {
    display: block;
}

#info.fullScreen .text {
    display: none;
}
#info.fullScreen .legend-markers {
    display: none;
}

.context-menu {
    position: absolute;
    background-color: rgb(50,50,50);
    border: 1px solid #fff;
    display: none;
    z-index: 101;
}
.context-menu-item {
    padding: 8px;
    cursor: pointer;
}
.context-menu-item:hover {
    background-color: rgb(120,120,120);
    background-color: rgba(120,120,120,0.6);
}

.standardButton {
    color: white;
    cursor: pointer;
    padding: 3px;
    padding-left: 10px;
    padding-right: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(160, 160, 160);
    background-color: rgb(120,120,120);
}

.sitemapName {
    font-weight: bold;
    line-height: 30px;
    padding: 0 0 0 1.5em;
    background-color: rgb(191,67,66);
    background-color: rgba(191,67,66,0.75);
}
div.sitemapList {
    position: relative;
}
summary {
    cursor: pointer;
    position: absolute;
    top: 7px;
    left: 7px;
}
.mapCheckbox {
    color: white;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(160,160,160);
    accent-color: rgb(120,120,120);
}