.fx-location {
    position: relative;
}

.fx-location__map {
    line-height: 0;
    min-height: 450px;
}

.fx-location__search {
    max-width: calc(100% - 20px);
    margin: 10px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 20px rgb(0 0 0 / 15%);
}

.fx-location__search-inner form {
    display: flex;
    flex-wrap: wrap;
}

.fx-location__search-text,
.fx-location__search-text:focus {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 0 0 5px;
    width: calc(100% - 35px);
}

.fx-location__search-warning {
    text-transform: uppercase;
    margin: 0;
    font-size: 10px;
    padding-top: 5px;
    color: #ea4335;
}

.fx-location__search-warning:empty {
    display: none;
}

.fx-location__search-form.is-error .fx-location__search-text {
    border-color: #ea4335;
}

.fx-location__search-label {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

.fx-location__search-submit {
    border: none;
    height: 35px;
    width: 35px;
    background: none;
    padding: 5px 9px 9px;
}

.fx-location__search-submit svg {
    opacity: .5;
    transition: all .5s ease;
}

.fx-location__search-submit:hover svg {
    opacity: 1;
}

/*
 * Default InfoWindow Styling
 */
.fx-infowindow {
    max-width: 250px;
}

.fx-infowindow__title {
    margin-top: 0;
    font-size: 2em;
    margin-bottom: 20px;
}

.fx-infowindow p {
    margin: 0 0 10px;
    font-size: 14px;
}

.fx-infowindow a {
    font-weight: 700;
    text-decoration: none;
}

.fx-infowindow__btn {
    text-transform: uppercase;
}

.fx-infowindow p:empty {
    display: none;
}

@media (min-width: 768px) {
    .fx-location__map {
        min-height: 600px;
    }

    .fx-location__search {
        position: absolute;
        top: 60px;
        left: 10px;
        padding: 30px;
        -webkit-box-shadow: 0 0 30px rgb(0 0 0 / 15%);
        box-shadow: 0 0 30px rgb(0 0 0 / 15%);
        max-width: 300px;
    }
}

/*
 * Locaton List Styling
 */
.fx-location-list {
    padding: 20px 0;
}

.fx-location-list__heading {
    margin: 0 0 10px;
}

.fx-location-list__inner {
    border: 1px solid #ddd;
    border-bottom: 0;
}

.fx-location-list__item {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.fx-location-list__no-results.is-hidden {
    display: none;
}

.fx-location-list__item-name {
    font-size: 24px;
}

.fx-location-list__item:nth-child(2n + 0) {
    background-color: #eee;
}

.fx-location-list__item:hover {
    background-color: #eee;
}

.fx-location-list__item-name,
.fx-location-list__item-address,
.fx-location-list__item-phone,
.fx-location-list__item-email {
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.fx-location-list__item-name:empty,
.fx-location-list__item-address:empty,
.fx-location-list__item-phone:empty,
.fx-location-list__item-email:empty {
    display: none;
}

@media (min-width: 768px) {
    .fx-location-list__item {
        flex-direction: row;
    }

    .fx-location-list__item-name:empty,
    .fx-location-list__item-address:empty,
    .fx-location-list__item-phone:empty,
    .fx-location-list__item-email:empty {
        display: flex;
    }

    .fx-location-list__item-name {
        width: 20%;
    }

    .fx-location-list__item-address {
        width: 40%;
    }

    .fx-location-list__item-phone {
        width: 20%;
    }

    .fx-location-list__item-email {
        width: 20%;
    }
}


.fx-infowindow__title {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.fx-infowindow__title h5 {padding-bottom: 0;margin-left: 10px;}

.fx-infowindow p {
    font-size: 16px;
    font-weight: 700;
}

.gm-style .gm-style-iw-c {
    padding: 0px !important;
    border-radius: 0;
    box-shadow:  0px 4px 14px rgba(2, 54, 69, 0.16);
    min-width: 300px !important;
}

.gm-style .gm-style-iw-d {
    padding:30px !important;
}

button.gm-ui-hover-effect {
    display: none !important;
}


@media (min-width:768px){
    .gm-style .gm-style-iw-d {
        padding:40px !important;
    }
}