.location-picker {
    position: relative;
}

.pac-target-input {
    margin-bottom: 0 !important;
}

.field-location-map {
    margin-bottom: 10px;
    width: 100%;
}

.field-location-map .leaflet-control-container {
    display: none;
}

.field-location-map::before {
    content: "";
    padding-bottom: max(10%, 80px);
    display: block;
}

.pac-logo:after,
.field-location-map .gm-control-active.gm-fullscreen-control, 
.field-location-map img[alt="Google"],
.gmnoprint,
.gm-style-cc {
    display: none !important;
}

.pac-container {
    z-index: 1000000;
}

.place-suggestion a {
    padding: 3px 26px;
    cursor: pointer;
    font-size: 0.85em;
    line-height: 1.2em;
    display: flex;
}

.place-suggestion a:hover {
    background-color: #d9d9d9;
}

.place-suggestion a+a {
    border-top: 1px solid #d9d9d9;
}

a.locate-me {
    position: absolute;
    right: 7px;
    top: 7px;
    display: block;
    height: 25px;
    width: 25px;
}

.spin {
    -webkit-animation: spin 1s infinite linear;
            animation: spin 1s infinite linear;
}

.place-suggestion {
    background-color: #fff;
    position: absolute;
    z-index: 9999999;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
            box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column nowrap;
            flex-flow: column nowrap;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    
}

.place-suggestion a::before {
    position: absolute;
    left: 5px;
    content: "";
    width: 15px;
    height: 20px;
    margin-right: 7px;
    display: inline-block;
    vertical-align: top;
    background-image: url(https://maps.gstatic.com/mapfiles/api-3/images/autocomplete-icons.png);
    background-size: 34px;
    background-position: -1px -161px;
}

.location-loading {
    display: block;
    position: relative;
}

.location-loading::after {
    content: '';
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #000;
    -webkit-animation: location-loading .6s linear infinite;
            animation: location-loading .6s linear infinite;
}

@-webkit-keyframes location-loading {
  to {-webkit-transform: rotate(360deg);transform: rotate(360deg);}
}

@keyframes location-loading {
  to {-webkit-transform: rotate(360deg);transform: rotate(360deg);}
}