/* override leaflet infowindow styles to lismap look and feel */
.thumbnail_map .leaflet-popup-content-wrapper {
    border-radius: 0;
    padding: 0;
}

.thumbnail_map .leaflet-popup-content {
    margin: 0;
    width: 221px !important;
}

.thumbnail_map .leaflet-popup-content > div {
    width: 221px !important;
}

.thumbnail_map .leaflet-popup a.leaflet-popup-close-button {
    padding: 0 !important;
    width: 22px !important;
    height: 22px !important;
    line-height: 22px !important;
    color: #000 !important;
    background-color: hsla(0,0%,100%,.5) !important;
    text-align: center !important;
    vertical-align: middle !important;
}

.thumbnail_map .leaflet-popup-tip {
    background-color: #e8e8e8;
}

.bubble-cms {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.bubble-cms h5 {
    order: 2;
    padding: 8px;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 0;
}

.bubble-cms h5 a {
    color: #333;
}

.bubble-cms .bubble_image {
    order: 1;
    margin-bottom: 0;
}

.bubble-cms .bubble_content {
    order: 3;
}

.bubble-cms .bubble_content .table tbody > tr > td {
    border-top: 0;
}

.bubble-cms .bubble_image img {
    width: 100% !important;
}

.bubble-cms .bubble_link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    order: 4;
    background-color: #e8e8e8;
}

.bubble-cms .bubble_link a {
    border-radius: 0;
    border: none;
    padding: 8px;
    font-weight: 700;
    background-color: #333;
    margin-left: auto;
}