.stellar-interactive-google-map .map {
    height: 70vh;
    min-height: 300px;
    background: #ccc;
}

.stellar-interactive-google-map .map-popup-content {
    max-width: 85vw;
}

.stellar-interactive-google-map .map-popup-content .thumbnail {
    width: 72px;
    height: 72px;
    background-position: center;
    background-size: cover;
}

.stellar-interactive-google-map .map-popup-content h3 {
    margin-bottom: 0;
    line-height: 1.2em;
    font-size: 18px;
}

.stellar-interactive-google-map .map-popup-content p {
    margin-bottom: .5em;
    line-height: 1.25em;
    font-size: 14px;
}

.stellar-interactive-google-map .map-popup-content a {
    line-height: 1.25em;
    font-size: 12px;
    display: block;
    margin-top: .4em;
}

/***************************************************************************************/
/* Google Map Legend Styles
/***************************************************************************************/

.google-map-legend {
    padding: 10px 15px;
    overflow-y: auto;
    overflow-x: hidden;
}

@media(min-width: 768px ) {
    .stellar-interactive-google-map .google-map-legend {
        height: 70vh;
    }
}

.map .google-map-legend {
    max-height: calc( 100% - 55px );
    width: 260px;
    font-size: 14px;
    margin-top: 5px;
    padding: 5px 6px 5px 10px;
}
@media(min-width: 480px ) {
    .map .google-map-legend {
        width: 300px;
    }
}

.map .google-map-legend .legend-content {
    background: rgba( 0,0,0,.75);
    color: #fff;
    border-radius: 3px;
}

.map .google-map-legend .legend-content .legend-content-container {
    padding: 10px;
}

.map .google-map-legend hr {
    background-color: #fff;
}

.google-map-legend .legend-visibility-link {
    color: #fff;
    border: none;
    text-decoration: none;
    float: right;
}

.google-map-legend ul {
    padding: 0;
}

.google-map-legend li {
    list-style-type: none !important;
}

.google-map-legend li a {
    text-decoration: none !important;
}


.google-map-legend .marker-icon {
    width: 20px;
    height: 20px;
    background-position: center;
    background-size: contain;
}

.google-map-legend .category-icon {
    width: 24px;
    height: 24px;
    background-position: center;
    background-size: contain;
}

/* Scrollbar Styles */
.google-map-legend::-webkit-scrollbar {
    width: 8px;
}

.google-map-legend::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 4px;
}

.google-map-legend::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
  border-radius: 4px;
}


/* the font awesome icons are both loaded, but one is hidden */
.google-map-legend .legend-visibility-link .active,
.google-map-legend .legend-visibility-link.active .inactive,
.google-map-legend .menu-visibility-link .active,
.google-map-legend .menu-visibility-link.active .inactive,
.google-map-legend .map-visibility-link .active,
.google-map-legend .map-visibility-link.active .inactive {
    display: none;
}

.google-map-legend .legend-visibility-link .inactive,
.google-map-legend .legend-visibility-link.active .active,
.google-map-legend .menu-visibility-link .inactive,
.google-map-legend .menu-visibility-link.active .active,
.google-map-legend .map-visibility-link .inactive,
.google-map-legend .map-visibility-link.active .active {
    display: inline;
}

/* This hides the marker count for empty categories in the legend */
.google-map-legend ul.marker-links:empty {
    display: none !important;
}
