/* map-location — extracted from frontend/scss/includes/elements/_map-location.scss */
/* ContentBlock asset (Case A). Class names verbatim from the SCSS partial. */

.map-locations {
    position: relative;

    & .figure {
        & img {
            width: 100%;
            height: auto;
        }

        & figcaption {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
        }

        & a,
        & button {
            position: absolute;
            display: flex;
            font-size: 2.2vw;
            color: var(--abc-font-color);
            outline: none;
            line-height: 14px;

            @media (min-width: 768px) {
                font-size: 1rem;
                line-height: 22px;
            }

            &:hover {
                color: var(--bs-primary);
                text-decoration: none;
            }

            &::before {
                background-image: url("../../../Icons/abc-icon.svg");
                content: '';
                display: inline-block;
                margin-right: 5px;
                width: 12px;
                height: 12px;
                background-size: 12px 12px;

                @media (min-width: 768px) {
                    width: 21px;
                    height: 21px;
                    background-size: 21px 21px;
                }
            }

            &.icon-after::before {
                content: none;
            }

            &.icon-after::after {
                background-image: url("../../../Icons/abc-icon.svg");
                content: '';
                display: inline-block;
                margin-left: 5px;
                width: 12px;
                height: 12px;
                background-size: 12px 12px;

                @media (min-width: 768px) {
                    width: 21px;
                    height: 21px;
                    background-size: 21px 21px;
                }
            }

            &.muenchen {
                top: 80.5046%;
                left: 55.9783%;
            }

            &.nuernberg {
                top: 66.5138%;
                left: 54.3478%;
            }

            &.frankfurt {
                top: 56.6514%;
                left: 35.7609%;
            }

            &.berlin {
                top: 29.0138%;
                left: 68.913%;
            }

            &.hamburg {
                top: 15.8257%;
                left: 45.7609%;
            }

            &.heidelberg {
                top: 65.9404%;
                left: 36.413%;
            }

            &.essen {
                top: 41.2844%;
                left: 25%;
            }

            &.duesseldorf {
                top: 44.7248%;
                left: 22.9348%;
            }

            &.koeln {
                top: 48.0505%;
                left: 24.2391%;
            }

            &.erfurt {
                top: 48.5092%;
                left: 50.3261%;
            }

            &.stuttgart {
                top: 73.3945%;
                left: 40.8696%;
            }

            &.wien {
                top: 76.7202%;
                left: 89.1304%;
            }

            &.hertogenbosch {
                top: 36.1239%;
                left: 13.7615%;
            }

            &.bremen {
                top: 20%;
                left: 34%;
            }

            &.kaufering {
                top: 80%;
                right: 47%;
            }
        }

        & button {
            background-color: transparent;
            border: 0;
        }
    }
}
