.g-map-medium {
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: none;
    height: 350px !important;
}

.g-map-large {
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: none;
    height: 550px !important;
}

.gmt-container .gmt-content {
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
    color: #000;
    overflow-y: auto;
    overflow-x: hidden;
}

.gm-style-iw-d {
    overflow: hidden !important;
}

.gm-style .gm-style-iw-d {
    max-height:100% !important;
}

.gmt-title {
    font-weight: 700;
}

.gmt-category {
    font-size: 0.85em;
}

.gmt-supplier {
    float: left;
}
.gmt-price{
    float: right;
}

.gmt-supplier, .gmt-price {
    color:#999;
    margin-bottom: 3px;
}

.gmt-review {
    float: left;
    width: 100%;
}
.gmt-content{
    padding:10px 15px;
}

.gmt-container a:hover, .gmt-container a:focus {
    text-decoration: none;
}

.listing-preview-map {
    background-size: cover !important;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    width: 100%;
    height: 180px;
    position: relative;
}

.gm-style .gm-style-iw-t::after {
    top: 15px !important;
}

.gm-style-iw {
    width: 250px !important;
    top: 15px !important;
    left: 0px !important;
    background-color: #fff;
    box-shadow: 0 1px 6px rgba(178, 178, 178, 0.6);
    border: 1px solid rgba(72, 181, 233, 0.6);
    border-radius: 2px 2px 10px 10px;
}
.gm-style-iw a {
    color: #333;
}

.gm-style .gm-style-iw-c {
    max-height: fit-content !important;
}

.gm-style .gm-style-iw-c {
    position: absolute;
    box-sizing: border-box;
    overflow: hidden;
    top: 0;
    left: 0;
    transform: translate(-50%,-100%);
    background-color: #fff;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: 0 none;
}

/**
 * Geolocation field (Users form builder) - see user_location_field.php.
 *
 * The input itself is deliberately unstyled here: it wears the theme's own
 * .form-control, like every other field on the form. Only the suggestion list,
 * which no theme has markup for, is styled - and neutrally, so it reads as part
 * of whatever theme it lands in.
 */
.kz-geoloc {
    position: relative;
}

.kz-geoloc__suggestions {
    position: absolute;
    z-index: 1000;
    left: 0;
    right: 0;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
    /* A theme that isn't light overrides these four; the defaults are what
       every Bootstrap-era form on the platform already looks like. */
    background: var(--kz-geoloc-surface, #fff);
    color: var(--kz-geoloc-ink, inherit);
    border: 1px solid var(--kz-geoloc-line, #ccc);
    border-radius: 3px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    max-height: 260px;
    overflow-y: auto;
}

.kz-geoloc__suggestion {
    padding: 8px 12px;
    cursor: pointer;
    line-height: 1.4;
}

.kz-geoloc__suggestion.is-active,
.kz-geoloc__suggestion:hover {
    background: var(--kz-geoloc-hover, #f5f5f5);
}

.kz-geoloc__suggestion-main {
    display: block;
}

.kz-geoloc__suggestion-secondary {
    display: block;
    font-size: 0.85em;
    color: var(--kz-geoloc-subtle, #777);
}

.kz-geoloc__map {
    margin-top: 10px;
    /* `.g-map-medium` zeroes every margin, so the map sat flush against whatever
       field came next - the company name, on a profile form. 15px is the gap a
       Bootstrap .form-group already leaves, so the map falls into the form's own
       rhythm instead of looking like a block that escaped it. */
    margin-bottom: 15px;
}

.kz-geoloc__help {
    margin: 6px 0 0;
    font-size: 0.85em;
    color: #777;
}

/**
 * The input is type="search" to keep autofill off it (see
 * location_capture.php). Strip what browsers add to search inputs, so it
 * stays visually identical to every other .form-control on the form.
 */
.kz-geoloc input[type="search"] {
    -webkit-appearance: none;
    appearance: none;
}

.kz-geoloc input[type="search"]::-webkit-search-cancel-button,
.kz-geoloc input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

/**
 * "This listing is at a different address" sits between the notice that explains
 * where the listing will stand and the address block it reveals. Without room on
 * both sides it reads as part of whichever of the two it happens to touch.
 */
.kz-geoloc__elsewhere {
    display: block;
    margin-top: 15px;
    margin-bottom: 15px;
}
