body {
    color: #404040;
    font: 400 15px/22px 'Source Sans Pro', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

.sidebar {
    position: absolute;
    width: 25%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    border-right: 1px solid rgba(0, 0, 0, 0.25);
}

.map {
    position: absolute;
    left: 25%;
    width: 75%;
    top: 0;
    bottom: 0;
}

.sponsor {
    position: absolute;
    right: 20px;
    width: 150px;
    height: 38px;
    top: 20px;
}

h1 {
    font-size: 22px;
    margin: 0;
    font-weight: 400;
    line-height: 20px;
    padding: 20px 2px;
}

a {
    color: #404040;
    text-decoration: none;
}

a:hover {
    color: #101010;
}

.heading {
    background: #00853e;
    border-bottom: 1px solid #eee;
    min-height: 60px;
    line-height: 60px;
    padding: 0 10px;
    color: #fff;
}

.listings {
    height: 100%;
    overflow: auto;
    padding-bottom: 60px;
}

.listings .item {
    display: block;
    border-bottom: 1px solid #eee;
    padding: 10px;
    text-decoration: none;
}

.listings .item:last-child {
    border-bottom: none;
}

.listings .item .title {
    display: block;
    color: #00853e;
    font-weight: 700;
}

.listings .item .title small {
    font-weight: 400;
}

.listings .item.active .title,
.listings .item .title:hover {
    color: #8cc63f;
}

.listings .item.active {
    background-color: #f8f8f8;
}

::-webkit-scrollbar {
    width: 3px;
    height: 3px;
    border-left: 0;
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-track {
    background: none;
}

::-webkit-scrollbar-thumb {
    background: #00853e;
    border-radius: 0;
}

.marker {
    border: none;
    cursor: pointer;
    height: 48px;
    width: 48px;
    background-image: url(images/beer2.png);
}

.markerc {
    border: none;
    cursor: pointer;
    height: 48px;
    width: 48px;
    background-image: url(images/beerc.png);
}

.photoc {
    border: none;
    cursor: pointer;
    height: 48px;
    width: 48px;
    background-image: url(images/camera2.png);
}

.videoc {
    border: none;
    cursor: pointer;
    height: 48px;
    width: 48px;
    background-image: url(images/videoicon.png);
}

.mapboxgl-popup {
    padding-bottom: 50px;
}

.mapboxgl-popup-close-button {
    display: none;
}

.mapboxgl-popup-content {
    font: 400 15px/22px 'Source Sans Pro', 'Helvetica Neue', sans-serif;
    padding: 0;
    width: 180px;
}

.mapboxgl-popup-content h3 {
    background: #91c949;
    color: #fff;
    margin: 0;
    padding: 10px;
    border-radius: 3px 3px 0 0;
    font-weight: 700;
    margin-top: -15px;
}

.mapboxgl-popup-content h4 {
    margin: 0;
    padding: 10px;
    font-weight: 400;
}

.mapboxgl-popup-content div {
    padding: 10px;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-content {
    margin-top: 15px;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-tip {
    border-bottom-color: #91c949;
}

#reportButton {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    padding: 10px 20px;
    background-color: #f44336;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#reportButton:hover {
    background-color: #c0392b;
}

#loading {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-size: 18px;
    color: #00853e;
    pointer-events: none;
}

@media (max-width: 768px) {
    html, body {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .sidebar {
        position: relative;
        width: 100%;
        height: 40vh;
        top: auto;
        left: auto;
        order: 2;
        overflow-y: auto;
        border-right: none;
        border-top: 1px solid rgba(0, 0, 0, 0.25);
    }

    .map {
        position: relative;
        left: auto;
        width: 100%;
        height: 60vh;
        order: 1;
    }

    .sponsor {
        display: none;
    }

    #reportButton {
        bottom: calc(40vh + 10px);
        left: 10px;
        font-size: 12px;
        padding: 8px 12px;
    }
}
