/* Interactive Park Map Styles
------------------------------------------------------- */
/* Map
---------------------------- */
#interactive-map-holder {
    max-width: 100vw;
    position: relative;
    margin: 0 auto;
    width: 1000px;
    font-family: var(--wpt-primary-font);
}

#accommodation_map img {
    display: block;
    width: 100%;
}

#accommodation_map, .site-container {
    width: 100%;
}

.site-container {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
}

/* Marker
---------------------------- */
.marker {
    width: 16px;
    height: 16px;
    display: flex!important;
    align-items: center;
    justify-content: center;
}

.marker .clicker {
    position: absolute;
    display: block;
    background-color: var(--wpt-primary-colour);
    background-color: transparent;
    height: 100%;
    width: 100%;
    border-radius: 150px;
    /*border: 2px solid #fff;*/
    cursor: pointer;
    transform: translate(-50%, -50%) scale(1) !important;
    /*box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);*/
    transition: 0.2s ease;
    left: 50%;
    top: 50%;
    animation-name: site-pulse;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease;
}

@media(max-width: 1000px) {
    .marker .clicker {
        width:2vw;
        height: 2vw;
        min-width: 10px;
        min-height: 10px;
    }
}

@media (max-width: 700px) {
    .marker .clicker {
        animation-name: unset;
    }
}

.marker .clicker:hover, .marker .clicker.hovered {
    z-index: 1;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .5);
    transform: translate(-50%, -50%) scale(1.2) !important;
}

/* Popup
---------------------------- */
.nb-map-popup {
    position: absolute;
    width: 340px !important;
    background-color: #fff;
    z-index: 98;
    line-height: 0;
    border: 2px solid #fff;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    transition: ease 0.5s;
    max-width: calc(100vw - 40px);
}

.rounded-corners-true .nb-map-popup {
    border-radius: 10px;
}

.nb-map-popup img {
    border-radius: 10px 10px 0 0;
    border: 2px solid #fff;
    border-bottom: none;
}

.nb-map-popup span {
    /* text-align: center; */
    display: block;
    padding: 10px 10px 0;
    line-height: 1;
}
.marker-title:last-child {
    margin-bottom:15px;
}
.marker-title {
    font-family: var(--wpt-headings-secondary-font);
    color: var(--wpt-primary-font);
    font-weight: var(--wpt-secondary-font-weight);
    margin-top: 0;
    line-height: 1.1;
    font-size:27px;
}
.marker-button-holder {
    display: flex!important;
    gap:10px;
    margin: 0 0 10px 0;
}
@media(min-width: 1001px) {
    .nb-map-popup.nb-show {
        opacity: 1;
        z-index: 2;
        transform: translate(0, -8px) scale(1);
        bottom: 12px;
    }

    .nb-map-popup.nb-hide {
        opacity: 0;
        transform: translate(0, calc(50% - 20px)) scale(0.001);
        bottom: -50% !important;
    }

    .nb-map-popup:before {
        position: absolute;
        top: calc(100% + 20px);
        z-index: -1;
        background: #2bace1;
        transform: translate(-50%, -50%) scale(1.2) !important;
    }

    .nb-map-popup:after {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        background: #fff;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 10px) rotate(45deg);
        z-index: -1;
    }
}

.nb-close-popup {
    position: absolute;
    right: -15px;
    top: -15px;
    border-radius: 15px;
    width: 30px;
    height: 30px;
    color: #fff;
    border: 2px solid #fff;
    z-index: 99;
    cursor: pointer;
    background: #000 50% 50% no-repeat url('data:image/svg+xml;charset=utf-8,<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="times" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 352 512" class="svg-inline--fa fa-times fa-w-11 fa-2x"><path fill="white" d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z" class=""></path></svg>') !important;
    background-size: 10px !important;
}

.nb-map-popup a {
    display: block;
    /* background: var(--wpt-primary-colour); */
    /* color: #fff!important; */
    text-align: center;
    /* margin: 0 10px 10px; */
    padding: 10px;
    /* padding-bottom: 13px; */
    line-height: 1;
    /* box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2); */
    text-transform: uppercase;
    font-size: 0.7em;
    font-weight: unset;
    transform: rotate(0.03deg);
    transition: ease 0.2s;
    /* border: 2px solid; */
    flex-grow: 1;
}

.rounded-corners-true .nb-map-popup a {
    border-radius: 100px;
}
.nb-map-popup a:after {
    content:'\f054';
    font-family:'font awesome 5 pro';
    padding-left:10px;
    font-weight:400;
    font-size:11px;
    transition:0.5s ease;
}
.nb-map-popup a:hover:after {
     padding-left:13px;
    margin-right:-3px;
    
}

.marker-desc {
    text-align: left!important;
    font-size: 16px;
    line-height: 1.2!important;
    margin-bottom: 10px;
}
.marker-stays {
    font-size:16px
}
.marker-stays i {
    font-weight:400!important;
    margin-right:10px;
}
@media(max-width: 1000px) {
    .et_pb_column, .et_builder_inner_content {
        z-index:unset!important;
    }

    .nb-map-popup {
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%)!important;
        bottom: unset!important;
        right: unset!important;
        z-index: 9999999999999!important;
    }

    .nb-map-popup.nb-hide {
        display: none;
    }

    .nb-map-popup {
        box-shadow: 0 0 0 100vh rgba(0,0,0,0.5)
    }

    #interactive-map-holder {
        overflow: scroll;
    }
}

div#interactive-map {
}
@keyframes site-pulse {
    0% {
        opacity: 0;
        outline: 0 solid transparent;
        width:calc(100% + 2px);
        height:calc(100% + 2px);
    }
    50% {
        opacity:  1;
        outline: 2px solid white;
    }
    100% {
        opacity: 0;
        outline: 10px solid transparent;
        width:calc(100% + 40px);
        height:calc(100% + 40px);
    }

}