.fx-location {
    position: relative;
    margin-bottom: 24px;
}

.fx-location__map {
    line-height: 0;
    min-height: 136px;
    border-radius: 24px;
    margin-bottom: 35px;
}


.gm-style .gm-style-iw-c {
    max-width: 332px !important;
    width: 270px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    border-bottom: none;
    text-align: left;
    box-shadow: none !important;
}


.gm-style .gm-style-iw-d {
    min-height: 310px;
}

.gm-style-iw-chr {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 2;
}

.gm-style-iw-chr button {
    background: #D9D9D9 !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important; 
    opacity: 1 !important;
}


.gm-style-iw-chr button span  {
    margin: 1px !important;
    background-color: var(--blue);
}

@media (min-width: 768px) {
    .fx-location {
        margin-bottom: 32px;
    }
    
    .fx-location__map {
        min-height: 643px;
    }

    .location-details .fx-location__map {
        min-height: 136px;
    }

    .gm-style .gm-style-iw-c {
        width: 332px !important;
    }

}








.location-details__wrapper {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 23px;
    box-shadow: 0px 0px 16px rgba(12, 40, 55, 0.16);

}


.location-details-list__info ul {
    padding: 0;
    margin: 0;
}

.location-details-list__info ul li {
    padding: 0 0 0 29px;
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.5em;
    color: #4F5052;
}

.location-details-list__info ul li:before {
    display: none;
}

.location-details-list__info ul li a {
    font-size: 16px;
    font-weight: 700;
    color: #4F5052;
    border-bottom: none;
}


.location-details-list__info ul li i,
.location-details-list__info ul li img {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 23px;
    color: var(--blue);
}

.location-details-list__info ul li i {
    top: 3px;
}

.location-details-flex__left .btn-secondary {
    width: 100%;
    gap: 0; 
}

.location-details-flex__left .btn-secondary:after {
    position: relative;
    right: 0;
    margin-left: 13px;
}

.location-details-list__map {
    position: relative;
    border-radius: 8px;
    /* height: 136px; */
    overflow: hidden;
    margin: 16px 0;
}

.location-details-list__map span {
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    cursor: pointer;
    top: 50%;
}

.location-details-flex__right {
    padding-top: 40px;
    margin-top: 40px;
    border-top: 2px solid #E7F1F7;
}

.location-details-flex__right h3 {
    font-size: 32px;
    margin-left: 6px;
}

.location-details-flex__right ul {
    padding: 0;
    margin: 0;
}

.location-details-flex__right ul li {
    padding: 0;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    color: #4F5052;
    z-index: 1;
    line-height: 1em;
}

.location-details-flex__right ul li:before {
    display: none;
}

.location-details-flex__right ul li strong {
    padding-right: 12px;
    background-color: #fff;
}

.location-details-flex__right ul li span {
    padding-left: 12px;
    background-color: #fff;
}

.location-details-flex__right ul li:after {
    content: "";
    position: absolute;
    width: 100%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    top: 50%;
    z-index: -1;
    height: 1px;
    background-color: #E7F1F7;
    margin-top: 1px;
}

.location-details-flex__right .btn-primary {
    width: 100%;
    gap: 0;
    margin: 20px 0 0;
}

.location-details-flex__right .btn-primary:after {
    position: relative;
    right: 0;
    margin-left: 13px;
}

.location-details-list__wrap {
    display: flex;
    flex-direction: column-reverse;
}

.single-location .location-details-list__map .location-marker {
    max-height: 100px;
    overflow: auto;
    @supports not (selector(::-webkit-scrollbar-thumb)) {
        scrollbar-color: var(--blue) #DEE5EC;
        scrollbar-width: thin;
    }
}

.single-location .location-details-list__map .gm-style-iw-d {
    margin-right: -15px;
}

.single-location .location-details-list__map .location::-webkit-scrollbar {
    width: 5px;
}

.single-location .location-details-list__map .location::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: #DEE5EC;
}

.single-location .location-details-list__map .location::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: var(--blue);
}


.location-details-list-btn {
    margin-bottom: 20px;
}


@media(min-width: 768px) {
    /* .location-details-list {
        display: flex;
        align-items: center;
        justify-content: space-between;
    } */
    
    /* .location-details-list__map {
        width: 277px;
        margin: 0;
        height: 136px;
    } */

    .location-details-list__info {
        width: calc(100% - 330px);
    }

    .location-details-list__info .btn-tertiary {
        margin: 0 0 16px;
    }

    .location-details-list__info ul li {
        margin: 0 0 10px;
    }

    .location-details-list__info ul li:last-child {
        margin: 0;
    }

    .location-details-flex__left .btn-secondary {
        margin-top: 40px;
        padding: 10px 22px;
    }

    .location-details-flex__right h3 {
        margin-left: 0;
        margin: 0 0 22px 0;
    }

    .location-details-flex__right .btn-primary {
        padding: 10px 22px;
    }

    .location-details-flex__right ul li strong {
        padding-right: 6px;
    }

    .location-details-flex__right ul li span {
        padding-left: 6px;
    }
}

@media(min-width: 1200px) {
    .location-details-flex {
        display: flex;
        align-items: flex-start;
        gap: 82px;
        justify-content: space-between;
    }

    .location-details-flex__left {
        width: calc(50% - 41px);
    }

    .location-details-flex__right {
        width: calc(50% - 41px);
        padding: 0;
        margin: 0;
        border: none;
    }

    .location-details__wrapper {
        padding: 40px 40px 30px;
        top: -48px;
        z-index: 3;
        position: relative;
        margin-bottom: -48px;
    }

    .location-details-list__info ul li a:hover {
        color: var(--blue);
    }

    .location-details-list__wrap {
        flex-direction: row;
        justify-content: space-between;
    }

    .location-details-list__map {
        width: 277px;
        margin: 0;
        height: 136px;
    }

    .gm-style .gm-style-iw-c {
        width: 332px !important;
    }

    .single-location .gm-style .gm-style-iw-c {
        width: 260px !important;
    }
}


.reset .wpcm-zip__reset {
    width: auto;
    display: block;
    padding: 0;
    margin: 0 0 8px 0;
    font-size: 16px;
    line-height: 1.5em;
    color: var(--blue);
    font-weight: 700;
    background: none;
    border: none;
}

.reset .wpcm-zip__reset:hover {
    color: var(--green);
}




.location-hide {
    display: none;
}

.location-item {
    margin-top: 16px;
}

.loadmore-1 {
    margin-top: 48px;
}

.location {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    -webkit-filter: drop-shadow(0px 0px 16px rgba(12, 40, 55, 0.16));
            filter: drop-shadow(0px 0px 16px rgba(12, 40, 55, 0.16));
    padding: 28px 22px;
}

.location__top h4 {
    margin-bottom: 10px;
}

.location__top a {
    outline: none;
}

.location__details {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.location__details--center {
    align-items: center;
    margin-bottom: 16px;
}

.location__image {
    width: 18px;
}

.location__image i {
    font-size: 21px;
    color: var(--blue);
}

.location__details p {
    width: calc(100% - 18px);
    padding-left: 12px;
    color: #4F5052;
    font-size: 16px;
}

.location__details p a {
    color: #4F5052;
    text-decoration: underline;
    font-weight: 400;
}

.location__bottom {
    margin-top: 16px;
}

.loadmore-1 .btn::after {
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
}

.loadmore-1 .btn.active::after {
    -webkit-transform: rotate(-90deg);
            transform: rotate(-90deg);
}

.locations__filter {
    padding-bottom: 40px;
}

.locations__filter p.p-big {
    margin-bottom: 8px;
}

.location-marker {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    padding: 28px 15px 0 25px;
}

@media (min-width: 768px) {
    .loadmore-1 .btn::after {
        -webkit-transform: translate(0, -50%) rotate(90deg);
                transform: translate(0, -50%) rotate(90deg);
    }

    .loadmore-1 .btn.active::after {
        -webkit-transform: translate(0, -50%) rotate(-90deg);
                transform: translate(0, -50%) rotate(-90deg);
    }

    .locations__filter {
        padding-bottom: 30px;
    }
    

    .locations__filter p.p-big {
        text-align: center;
    }
}
