$s-map-desc-bg: map-get($theme-colors, "primary") !default;
$s-map-desc-alpha: 0.8 !default;
$s-map-desc-hover-bg: map-get($theme-colors, "primary") !default;
$s-map-desc-hover-alpha: 0.55 !default;

.s_openlayer_store_locator {
    position: relative;
    min-height: 100px;

    .map_container {
        @include o-position-absolute(0, 0, 0, 0);

        .map {
            @include o-position-absolute(0, 0, 0, 0);
        }
    }
    .description {
        @include o-position-absolute(auto, 0, 0, 0);
        z-index: 99;
        padding: 0 1em;
        background: rgba($s-map-desc-bg, $s-map-desc-alpha);
        color: color-contrast(rgba($s-map-desc-bg, $s-map-desc-alpha));
        transition: background-color 250ms ease;

        font {
            float: left;
            margin-top: 20px;
            margin-bottom: 15px;
            font-weight: bold;
            text-transform: uppercase;
        }
        span {
            float: left;
            text-transform: none;
            font-weight: normal;
            margin-top: 20px;
            margin-left: 10px;
        }
    }
    &:hover .description {
        background: $s-map-desc-hover-bg;
        background: rgba($s-map-desc-hover-bg, $s-map-desc-hover-alpha);
        color: color-contrast(rgba($s-map-desc-hover-bg, $s-map-desc-hover-alpha));
    }
    .s_openlayer_store_locator_color_filter {
        @include o-position-absolute(0, 0, 0, 0);
        position: absolute !important;
        pointer-events: none;
    }
}

.editor_enable .s_openlayer_store_locator {
    //    any thing needed while editing widget
    .description {
        background: rgba($s-map-desc-bg, $s-map-desc-alpha);
        color: color-contrast(rgba($s-map-desc-bg, $s-map-desc-alpha));
    }
    .s_openlayer_store_locator_color_filter {
        pointer-events: auto;
    }
}
