@import url("CharityMaps-Screens.css");

html, body, form {
    height: 100%;
    margin: 0;
    background: #f3f6fa;
    font-family: Arial,sans-serif
}

.topnav {
    height: 55px;
    background: #202427;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 18px
}

    .topnav b {
        font-size: 20px;
        margin-right: auto
    }

        .topnav b span {
            color: #31bdb8
        }

    .topnav a {
        color: #fff;
        text-decoration: none
    }

.editor {
    height: calc(100% - 55px);
    display: grid;
    grid-template-columns: 300px 1fr 290px
}

    .editor > aside {
        background: #fff;
        padding: 17px;
        overflow: auto
    }

.mapwrap {
    position: relative
}

    .mapwrap #map {
        position: absolute;
        inset: 0
    }

.tool, .toolgrid button {
    width: 100%;
    padding: 9px;
    border: 1px solid #9daaba;
    background: #fff;
    border-radius: 7px;
    margin-bottom: 7px
}

    .tool.active, .toolgrid button.active {
        border: 2px solid #086cff;
        color: #086cff;
        background: #f0f6ff
    }

.toolgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px
}

.drawbadge {
    position: absolute;
    z-index: 1000;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: #202427;
    color: #fff;
    padding: 8px 10px;
    border-radius: 7px
}

    .drawbadge button {
        border: 0;
        border-radius: 4px;
        color: #fff;
        background: #08a268;
        padding: 7px 10px
    }

        .drawbadge button:last-child {
            background: #dc3545
        }

.searchbox {
    position: absolute;
    z-index: 1000;
    top: 14px;
    left: 14px;
    background: #fff;
    display: flex;
    box-shadow: 0 2px 12px #0003
}

    .searchbox input, .searchbox button {
        border: 0;
        padding: 10px
    }

    .searchbox button {
        background: #086cff;
        color: #fff
    }

.event-pin {
    display: grid !important;
    place-items: center;
    border-radius: 50%;
    border: 3px solid #fff;
    background: #17345e;
    color: #fff;
    font-weight: bold
}

    .event-pin.water {
        background: #176ab1
    }

    .event-pin.snack {
        background: #9270b5
    }

    .event-pin.toilets {
        background: #607883
    }

    .event-pin.photo {
        background: #25a65d
    }

    .event-pin.landmark {
        background: #15789f
    }

    .event-pin.start {
        background: #069c67
    }

    .event-pin.finish {
        background: #d83d53
    }

#markerList button {
    display: grid;
    width: 100%;
    text-align: left;
    border: 0;
    border-bottom: 1px solid #ddd;
    background: #fff;
    padding: 9px
}

#markerList small {
    color: #6b7280
}

.empty {
    color: #6b7280;
    text-align: center;
    margin-top: 80px
}

#details label {
    display: block;
    margin: 14px 0
}
