.map-location {
    margin: 120px 0;
}

.map-location.no-margin-bottom {
    margin-bottom: 0;
}

.map-location__wrapper {
    text-align: center;
}

.map-location__title--wrapper {
    margin-bottom: 20px;
}

.map-location__title {
    margin-bottom: 0;
    color: var(--gold);
}

.map-location__description--wrapper {
    margin-bottom: 85px;
}

.map-location__description > * {
    margin-bottom: 0;
}

.map-location .map-container {
    position: relative;
}

.map-location .map-container:before {
    content: '';
    display: block;
    position: relative;
    padding-top: 56.80%;
}

.map-location .map-container > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-location__golds, .map-location__gold, .map-location__points, .map-location__logos, .map-location__popups {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.map-location__gold {
    opacity: 0;
    visibility: hidden;
    transition: all ease 400ms;
}

.map-location__gold.region-hover {
    opacity: 1;
    visibility: visible;
}

.map-location__gold.popup-shown {
    opacity: 1;
    visibility: visible;
}

.map-location__point {
    position: absolute;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    top: 50%;
    left: 50%;
    background: var(--points);
    opacity: 0.3;
    animation: center-pulse 4s infinite;
}

.map-location__point:nth-child(odd){
    animation: center-pulse 6s infinite;
}

.map-location__point--outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--points);
    border-radius: 100%;
    opacity: 0;
    animation: outer-pulse 4s infinite;
    animation-timing-function: linear;
}

.map-location__point--outer.next {
    animation-delay: 2s;
}

.map-location__point:nth-child(odd) .map-location__point--outer{
    animation: center-pulse 6s infinite;
    animation-timing-function: linear;
}
.map-location__point:nth-child(odd) .map-location__point--outer.next{
    animation-delay: 3s;
}

.map-location__logo {
    position: absolute;
    background: var(--white);
    border-radius: 20px;
    padding: 5px 10px;
    box-shadow: 2px 4px 7px rgba(0, 0, 0, 0.25);
}

.map-location__logo.hide{
    opacity: 0;
    visibility: hidden;
}

.map-location__logo-text{
    color: var(--gold);
    font-family: 'Prata';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 0;
}

.map-location__logo.sumatra {
    top: 28%;
    left: 9.5%;
    padding: 5px 20px;
}

.map-location__logo.kalimantan {
    top: 34%;
    left: 36%;
    padding: 5px 5px 7px;
}

.map-location__logo.java {
    top: 66%;
    left: 27.5%;
    padding: 5px 40px;
}

.map-location__logo.bali-eastern-islands {
    top: 75%;
    left: 39.75%;
    padding: 7px 12px;
}

.map-location__logo.sulawesi {
    left: 50%;
    top: 44.25%;
    padding: 3px 18px 5px;
}

.map-location__logo.maluku {
    top: 44.5%;
    left: 69%;
    padding: 6px 24px 8px;
}

.map-location__logo.papua {
    top: 48.5%;
    left: 85%;
    padding: 6px 32px 8px;
}

.map-location__popup {
    position: absolute;
    z-index: 18;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background: #FFF;
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    filter: drop-shadow(0px 6px 20px rgba(0, 0, 0, 0.1));
    transition: all ease 400ms;
}

.map-location__popup.show-popup {
    opacity: 1;
    visibility: visible;
}

.map-location__popup[data-slug="sumatra"] {
    left: 19%;
}

.map-location__popup[data-slug="kalimantan"] {
    top: 3%;
    left: 47.5%;
}

.map-location__popup[data-slug="java"] {
    top: 10%;
    left: 37.5%;
}

.map-location__popup[data-slug="bali-eastern-islands"] {
    top: 25%;
    left: 55%;
}

.map-location__popup[data-slug="sulawesi"] {
    left: 60.5%;
}

.map-location__popup[data-slug="maluku"] {
    top: 15%;
    right: 32.5%;
}

.map-location__popup[data-slug="papua"] {
    top: 14.5%;
    right: 10.5%;
}

.map-location__popup--name {
    font-size: 24px;
    line-height: 32.5px;
    letter-spacing: var(--letter-spacing-heading);
    margin: 14px 0 20px;
    font-family: var(--font-family-heading);
    color: var(--gold);
}

.map-location__popup--button {
    display: inline-block;
    position: relative;
    font-size: 12px;
    line-height: 15px;
    font-family: var(--font-family-subtitle);
    color: var(--black);
    text-transform: uppercase;
    margin-bottom: 27px;
}

.map-location__popup--button:after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    height: 1px;
    width: 26px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: all ease 400ms;
}

.map-location__popup--button:hover:after {
    width: 100%;
}

@keyframes center-pulse {
    0% { opacity: 0.3; }
    90% { opacity: 1; }
    100% { opacity: 0.3; }
}

@keyframes outer-pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(3);
    }
}

/*
* Display Selection on Touch Devices
*/
.touchevents .map-location__selection {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 17px 15px;
}

.touchevents .map-location__selection--label {
    display: flex;
    align-items: center;
}

.touchevents .map-location__selection--label svg {
    margin-right: 14px;
}

.touchevents .map-location__logos--background {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: all ease 500ms;
}

.touchevents .map-location__logos--background.show {
    visibility: visible;
    opacity: 1;
}

.touchevents .map-location__logos {
    position: fixed;
    z-index: 105;
    top: 50vh;
    height: auto;
    padding: 66px 0 32px;
    background: var(--white);
    pointer-events: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-50%);
    transition: all ease 500ms;
}

.touchevents .map-location__logos.show {
    visibility: visible;
    opacity: 1;
}

.touchevents .map-location__logos--close {
    position: absolute;
    top: 26px;
    right: 26px;
    display: flex;
    align-items: center;
    height: 14px;
    width: 14px;
}

.touchevents .map-location__logos--close__inner, .touchevents .map-location__logos--close__inner:after {
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform: rotate(45deg);
    z-index: 1;
}

.touchevents .map-location__logos--close__inner:after {
    content: '';
    position: absolute;
    left: 0;
    transform: rotate(90deg);
}

.touchevents .map-location__logo, .touchevents .map-location__logo.sumatra, .touchevents .map-location__logo.kalimantan, .touchevents .map-location__logo.java, .touchevents .map-location__logo.bali-eastern-islands, .touchevents .map-location__logo.sulawesi, .touchevents .map-location__logo.maluku, .touchevents .map-location__logo.papua {
    position: relative;
    top: 0;
    left: 50% !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0;
    padding: 13px 0;
}

.touchevents .map-location__logo:last-child {
    border-bottom: none;
}

.touchevents .map-location__logo img {
    width: auto;
    height: auto;
    max-height: 45px;
    padding: 0 30px;
}

.touchevents .map-location__logo.java img {
    max-height: 50px;
}

.touchevents .map-location__logo .map-location__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .map-location {
        margin: 80px 0;
    }

    .map-location__description--wrapper {
        margin-bottom: 25px;
    }

    .map-location__selection {
        display: flex;
        justify-content: space-between;
        margin-bottom: 40px;
        border: 1px solid rgba(0, 0, 0, 0.2);
        padding: 17px 15px;
    }

    .map-location__selection--label {
        display: flex;
        align-items: center;
    }

    .map-location__selection--label svg {
        margin-right: 14px;
    }

    .map-location__logos--background {
        position: fixed;
        z-index: 99;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        visibility: hidden;
        opacity: 0;
        transition: all ease 500ms;
    }

    .map-location__logos--background.show {
        visibility: visible;
        opacity: 1;
    }

    .map-location__logos {
        position: fixed;
        z-index: 105;
        top: 50vh;
        height: auto;
        padding: 66px 0 32px;
        background: var(--white);
        pointer-events: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-50%);
        transition: all ease 500ms;
    }

    .map-location__logos.show {
        visibility: visible;
        opacity: 1;
    }

    .map-location__logos--close {
        position: absolute;
        top: 26px;
        right: 26px;
        display: flex;
        align-items: center;
        height: 25px;
        width: 25px;
    }

    .map-location__logos--close__inner, .map-location__logos--close__inner:after {
        width: 100%;
        height: 1px;
        background: var(--gold);
        transform: rotate(45deg);
    }

    .map-location__logos--close__inner:after {
        content: '';
        position: absolute;
        left: 0;
        transform: rotate(90deg);
    }

    .map-location-logo-wrapper{
        padding-top: 80px;
    }

    .map-location__logo, .map-location__logo.sumatra, .map-location__logo.kalimantan, .map-location__logo.java, .map-location__logo.bali-eastern-islands, .map-location__logo.sulawesi, .map-location__logo.maluku, .map-location__logo.papua {
        position: relative;
        top: 0 !important;
        left: 50% !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 0;
        padding: 13px 0;
        transform: translatex(-50%) !important;
    }

    .map-location__logo:last-child {
        border-bottom: none;
    }

    .map-location__logo img {
        width: auto;
        height: auto;
        max-height: 45px;
        padding: 0 30px;
    }

    .map-location__logo.java img {
        max-height: 50px;
    }

    .map-location__logo .map-location__link {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}