.map {
    background: var(--color-tertiary-light);
    position: relative;
}

.map__text {
    padding: 50px 0;
    position: relative;
    z-index: 2;
}

.map__bg {
    width: 100%;
    height: 320px;
    top: 0;
    left: 0;
    object-fit: cover;
}

.map__form {
    margin-bottom: 20px;
}

.map__form--last {
    margin-bottom: 0;
}

.map__form label {
    display: block;
    margin-bottom: 5px;
    color: #3c3c3c;
    text-transform: uppercase;
    font-size: 16px;
    list-style: 1.1875em;
    font-weight: 700;
}

.map__search {
    background: var(--color-white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map__search::before {
    content: "\e90d";
    font-family: "Holt-AG";
    position: absolute;
    font-size: 17px;
    line-height: 1em;
    color: var(--color-black);
    opacity: 0.25;
    left: 15px;
    top: 50%;
    transform: translate(0, -50%);
}

.map__search input {
    width: 100%;
    height: 54px;
    padding: 0 15px 0 40px;
    background: none;
    border: none;
    color: var(--color-black);
    font-size: 18px;
}

.map__form .choices__inner {
    background: var(--color-white);
    border: none;
    border-radius: 0;
    padding: 9.5px 16px !important;
    font-size: 18px;
    color: rgba(0, 0, 0, 0.6);
}

.map__form .choices__placeholder {
    opacity: 1;
}

.map__form .choices {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.map__form .choices[data-type*="select-one"]::after {
    border-width: 6px;
    right: 16px;
}

.map__form .choices__input,
.map__form .choices__list--dropdown .choices__item--selectable::after {
    display: none !important;
}

.map__form .choices__list--dropdown .choices__item--selectable {
    padding-right: 15px;
}

.map__form .btn {
    background: var(--color-secondary);
    border-color: var(--color-secondary-dark);
    color: var(--color-white);
    transition: all .3s ease-in-out;
    margin-bottom: 0;
}

.map__form .btn.btn-reset {
    background: transparent;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
    border-style: solid; 
    border-width: 2px;
    padding: 14px 34px;
}

.map__form .btn::before {
    background: transparent;
}

.map__form .btn.btn-reset::before {
    display: none;
}

.map__text .sub-heading::before {
    color: #3c3c3c;
}

.map__form .btn-primary:after {
    content: none;
}

@media (min-width: 768px) {
    .map__text {
        padding: 60px 0;
    }

    .map__bg {
        height: 386px;
    }
}

@media (min-width: 1200px) {
    .map__text {
        padding: 100px 0;
    }

    .map__bg {
        height: 100%;
        position: absolute;
    }

    .map::after {
        content: "";
        background: var(--color-tertiary-light);
        position: absolute;
        width: calc(50% + 64px);
        height: 100%;
        top: 0;
        right: 0;
        opacity: 0.9;
    }

    .map__form {
        padding-top: 14px;
    }

    .map__form--last {
        padding-top: 0;
    }

    .map__form .btn:hover {
        background: var(--color-secondary-dark);
        color: var(--color-white);
        border-color: var(--color-secondary);
    }

    .map__form .btn:hover:before {
        background: transparent;
    }
}

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

.gm-style .gm-style-iw-c {
    width: 459px !important;
    border-radius: 0 !important;
    border: 3px solid var(--color-gray);
    background: var(--color-white);
    max-width: 300px !important;
    padding: 0;
}



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



.gm-style .gm-style-iw-tc {
    display: none;
}

.gm-style .gm-style-iw-c::before {
    content: '';
    clip-path: polygon(0 0, 100% 100%, 100% 0);
    background: var(--color-gray);
    position: absolute;
    width: 30px;
    height: 30px;
    top: 0px;
    right: 0px;
}

.gm-style-iw-chr {
    position: absolute;
    top: 0;
    right: 0;
}

.location-map {
    padding: 20px;
}

.subtitle {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-gray);
}

.location-map h3 {
    font-size: 23px;
}

.location-map h4 {
    font-size: 18px;
}

.location-map__info {
    display: flex;
    gap: 8px;
    font-size: 16px;
    margin-bottom: 10px;
}

.location-map__info a {
    background: none;
}

.location-map__info i {
    color: var(--color-gray);
    font-size: 19px;
    line-height: 1em;
}

.location-map__right .btn {
    margin: 0 0 15px 0;
}

.location-map__right .btn:last-child {
    margin: 0;
}

.location-map__flex .location-map__right .btn-secondary {
    padding-right: 25px;
    padding-left: 20px;
}

.location-map__flex .location-map__right .btn-secondary:before {
    right: 10px;
}

.gm-style .gm-style-iw-t::after {
    content: '';
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    background: var(--color-white);
    position: absolute;
    width: 60px;
    height: 30px;
    bottom: 120px;
    left: -189px;
    border: none !important;
    transform: rotate(90deg);
}

.gm-style .gm-style-iw-t::before {

    content: '';
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    background: var(--color-gray);
    position: absolute;
    width: 60px;
    height: 30px;
    bottom: 120px;
    left: -194px;
    rotate: 90deg;
}

@media (min-width: 768px) {

    .gm-style .gm-style-iw-t::after {
        left: -290px;
    }
    
    .gm-style .gm-style-iw-t::before {
        left: -294px;
    }

    .fx-location__map {
        min-height: 500px;
    }

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

    .location-map__flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .location-map__left {
        width: 210px;

    }

    .location-map__right {
        width: 198px;
    }

    .location-map {
        padding-top: 30px;
    }
}


@media (min-width: 1200px) {
    .location-map__info a:hover {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
        background-repeat: repeat-x;
        background-size: 2px 30px;
        background-position: 0 100%;
        color: #000;
        transition: background-size .3s;
    }

    .location-map__right .btn-primary {
        width: 100%;
    }
}

.wpcm-zip__submit {
    display: none;
}

.gmnoprint.gm-bundled-control.gm-bundled-control-on-bottom {
    display: none;
}

.map-block {
    position: relative;
    height: 500px !important;
}

@media (min-width: 1200px) {
    .map-block {
        position: absolute;
        top: 0;
        left: 0;
        width: calc(50% - 70px) !important;
        height: 100% !important;
    }
}