﻿.map_section {
    border: solid;
    border-width: 1px;
    border-color: lightgray;
}

.map_sidebar {
    float: left;
    width: 33.3333%;
    height: 400px;
    overflow: hidden;
    border-right: 1px solid rgba(0,0,0,0.25);
}

.map {
    width: 66.6667%;
    height: 400px;
}

.map_heading {
    background: #fff;
    border-bottom: 1px solid #eee;
    min-height: 60px;
    line-height: 60px;
    padding: 0 10px;
    background-color: #366FC0;
    color: #fff;
}

h1 {
    font-size: 22px;
    margin: 0;
    font-weight: 400;
    line-height: 20px;
    padding: 20px 2px;
}

@media only screen and (max-width: 1024px) {
    h1 {
        font-size: 17px !important;
    }
}

a {
    color: #366FC0;
    text-decoration: none;
}
a:hover {
	color: #366FC0;
    text-decoration: underline;
}


.listings {
    height: 340px;
    overflow: scroll;
    overflow-x: hidden;
}

    .listings .item {
        display: block;
        border-bottom: 1px solid #eee;
        padding: 10px;
        text-decoration: none;
    }

        .listings .item:last-child {
            border-bottom: none;
        }

        .listings .item .map_title {
            display: block;
            color: #366FC0;
            font-weight: 700;
        }

            .listings .item .map_title small {
                font-weight: 400;
            }

            .listings .item.active .map_title,
            .listings .item .map_title:hover {
                color: #366FC0;
            }

        .listings .item.active {
            background-color: #f8f8f8;
        }



.marker {
    border: none;
    cursor: pointer;
    height: 53px;
    width: 34px;
    background-image: url(images/map-marker.png?v=3);
    background-color: rgba(0, 0, 0, 0);
}

/* Marker tweaks */
.mapboxgl-popup {
    padding-bottom: 10px;
}

.mapboxgl-popup-content {
    font: 400 15px/22px 'Source Sans Pro', 'Helvetica Neue', Sans-serif;
    padding: 0;
    width: 280px;
}

.mapboxgl-popup-content-wrapper {
    padding: 1%;
}

.mapboxgl-popup-content h3 {
    background: #366FC0;
    color: #fff;
    margin: 0;
    display: block;
    padding: 10px;
    border-radius: 3px 3px 0 0;
    font-weight: 700;
    margin-top: -15px;
}

.mapboxgl-popup-content h4 {
    margin: 0;
    display: block;
    padding: 10px 10px 10px 10px;
    font-weight: 400;
}

.mapboxgl-popup-content div {
    padding: 10px;
}

.mapboxgl-container .leaflet-marker-icon {
    cursor: pointer;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-content {
    margin-top: 15px;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-tip {
    border-bottom-color: #366FC0;
}