body {
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

#map-container {
    width: 100%;
    height: 100vh;
}

.mapboxgl-popup-content {
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

img#detail-expand {
    position: absolute;
    border-radius: 50%;
    top: 10px;
    left: 10px;
    color: #000;
    font-size: 18px;
    background-color: #fff;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.4);
    text-align: center;
    padding: 2px;
    height: 40px;
    width: 40px;
    display: block;
}

body.detail-expanded img#detail-expand {
    display: none;
}

span.icon {
    background-repeat: no-repeat;
    min-width: 1em;
    min-height: 1em;
    display: inline-block;
    line-height: 1em;
}

span.status-panel {
    background-image: url(icons/panel.svg);
}

span.status-inactive {
    background-image: url(icons/night.svg);
}

span.status-off_trail {
    background-image: url(icons/beach.svg);
}

span.status-completed {
    background-image: url(icons/gold-star.svg);
}

.icon-car {
    background-image: url(icons/parking-sign.svg);
}

.icon-grocery {
    background-image: url(icons/shopping-cart.svg);
}

.icon-lodging {
    background-image: url(icons/bed.svg);
}

.icon-campsite {
    background-image: url(icons/camping-tent.svg);
}

span.status-hiking {
    background-color: #090;
    border-radius: 50%;
}

span.status-text {
    min-height: 1em;
    vertical-align: top;
    display: inline-block;
}

.divider {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}


div.list-container ul {
    margin: 0 0 20px 0;
    padding: 0;
}


div.list-container ul li {
    position: relative;
    padding: 0 10px 0 15px;
    list-style-type: none;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
    margin: 0 10px 0 15px;
}

div.list-container ul li > div {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

div.list-container ul li:hover {
    border-left-color: #1a84b2;
    background: rgba(0, 0, 0, 0.05);
    cursor: pointer;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    margin-top: -1px;
}

div.list-container ul li:hover > div {
    border-bottom: 0;
}

div.list-container ul li:last-child > div {
    border-bottom-color: rgba(0, 0, 0, 0);
}

div.list-container ul li > div > div.day-bullet {
    position: absolute;
    left: -13px;
    border: 6px solid #fff;
    background-color: #090;
    color: #090;
    border-radius: 50%;
    box-sizing: content-box;
    width: 12px;
    height: 12px;
    top: 22px;
}

div.list-container > h2 {
    padding: 10px;
    margin: 0;
}

div#nearby-container ul li > div > div.day-bullet {
    width: 15px;
    height: 15px;
    top: 9px;
}

div#nearby-container ul li > div {
    padding-left: 15px;
}

div#nearby-container .icon {
    font-size: 15px;
}

div.waypoint-bullet .span {
    width: 12px;
    height: 12px;
    display: block;
}

div.list-container ul li h4 {
    margin: 0;
    padding: 0 0 3px 0;
    font-size: 14px;
}

div.list-container ul li h6 {
    margin: 0;
    padding: 0;
    color: #999;
    font-weight: 400;
    font-size: 12px;
}


div.list-container ul li h4 span,
div.list-container ul li h6 span {
    color: #999;
    float: right;
    font-size: 12px;
    padding-left: 6px;
}

.toggle {
    position: fixed;
    vertical-align: middle;
    line-height: 24px;
    background-repeat: no-repeat;
    color: rgba(0, 0, 0, 0.8);
    height: 24px;
    width: 24px;
    font-size: 24px;
    min-width: 24px;
    min-height: 24px;
    cursor: pointer;
    background-color: #fff;
    z-index: 100;
    border-radius: 4px;
    padding: 2px;
    left: 15px;
    top: 15px;

}

div#elevation-container {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 150px;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 8px 0 8px 0 rgba(0, 0, 0, 0.4);
}

#waypoint-search {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 0 0 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
    font-size: 12px;
    color: rgba(0, 0, 0, 0.8);
}

input#waypoint-search:focus {
    outline: 0;
}

.mobile {
    display: none;
}

@media (max-width: 768px) {
    .mobile {
        display: block;
    }

    div#elevation-container {
        display: none;
    }

    #waypoint-search {
        margin: 0 12px 12px;
        width: calc(100% - 44px);
    }
}

#map-container {
    width: 100%;
    height: 100vh;
}

.marker-scott, .weather {
    cursor: pointer;
}

.clear-day { background-image: url(icons/weather/clear-day.svg); }
.clear-night { background-image: url(icons/weather/clear-night.svg); }
.cloudy { background-image: url(icons/weather/cloudy.svg); }
.fog { background-image: url(icons/weather/fog.svg); }
.partly-cloudy-day { background-image: url(icons/weather/partly-cloudy-day.svg); }
.partly-cloudy-night { background-image: url(icons/weather/partly-cloudy-night.svg); }
.rain { background-image: url(icons/weather/rain.svg); }
.sleet { background-image: url(icons/weather/sleet.svg); }
.snow { background-image: url(icons/weather/snow.svg); }
.wind { background-image: url(icons/weather/wind.svg); }

a {
    color: rgba(85, 100, 70, 0.8);
}

a:hover {
    color: rgba(85, 100, 70, 1);
}

div#detail-container {
    display: none;
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px;
    border-radius: 5px;
    font-size: 12px;
    display: inline-block;
}