/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/
Description: Child theme for Hello Elementor
Author: Canada Makes
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/*
Add custom CSS below this line.
*/
/* =========================================================
   Canada Makes - GeoDirectory Logo Only Popup
   ========================================================= */

/* Canada Makes - Logo Only Map Popup */

#wp_widget_gd_map .cm-map-logo-only {
    width: 220px;
    height: 120px;

    padding: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    box-sizing: border-box;
    overflow: hidden;
}

#wp_widget_gd_map .cm-map-logo-only img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: 188px !important;
    max-height: 88px !important;

    object-fit: contain !important;
    object-position: center !important;

    margin: 0 auto !important;
}

/* Prevent Google popup from creating scrollbars */
#wp_widget_gd_map .gm-style-iw-d {
    overflow: hidden !important;
    max-height: none !important;
}

/* Keep popup itself controlled */
#wp_widget_gd_map .gm-style-iw-c {
    padding: 0 !important;
    overflow: hidden !important;
    max-width: 220px !important;
}

/* Remove the top close-button/header area */
#wp_widget_gd_map .gm-style-iw-chr {
    display: none !important;
}
.cm-single-new-badge {
    display: inline-block;
    padding: 7px 14px;
    background: #0d4f83;
    color: #ffffff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
