
.container-timeline.map {
    background: #2c3d47;
    border: 1px solid #2c3d47;
}
.map .ttl-holder {
    position: absolute;
    pointer-events: none;
    top: 0px;
    left: 25px;
    z-index: 10;
    padding-top: calc(var(--pad-bottom)*0.7);
    width: 250px;
}
.map-holder {
    width:100%;
    display: flex;
    justify-content: center;
}
.map-assets {
    width:85%;
    margin-left: 10%;
    position: relative;
}
.map-box-holder {
    position: absolute;
    pointer-events: none;
    z-index: 11;
    top:0;
    left:0;
    width: 380px;
    height: 100%;
    padding: 40px 25px;
    opacity: 0;
}
.map-box {
    width: 100%;
    position: relative;
    background: white;
    transition: transform .4s, opacity .3s;
    transform: translateY(40px);
    opacity: 0;
    border-radius: 15px;
    overflow: hidden;
    display: none;
    pointer-events: auto;
}
.map-box.active {
    transform: translateY(0px);
    opacity: 1;
}
.map-box-img .img {
    aspect-ratio: 4/2.4;
}
.map-box-img img {
    object-fit: cover;
    width:100%; height: 100%;
}
.map-box-img .num {
    height: 30px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: #000;
    position: absolute;
    left: 15px; top:15px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px; 
}
.map-box-txt, .map-close  {
    color: #222;
    font-weight: 400;
    padding: 25px 20px 10px;
    font-size: 14px; 
    line-height: 145%;
}

.map-box-txt .map-ttl {
    color: #000;
    font-weight: 500;
    font-size: 16px; 
    line-height: 140%;
    margin-bottom: 1em;
}
.map-box-txt a {
    color: #000;
    font-weight: 500;
    border-bottom: 2px solid #ffcc00;
    text-transform: uppercase;
}
.map-close {
    color: #fff;
    z-index: 10 !important;
    padding: 0;
    opacity: 0;
    transition: opacity .3s;
    transition-delay: .15s;
    transform: translateY(50%);
    font-weight: 400;
    cursor: pointer;
    pointer-events: auto;
}
.map-close:hover {
    
}

@media all and (max-width: 991px) { /** trigger mobile map **/
    .map-box-holder {
        position: fixed !important;
        top:0;
        z-index: 99999;
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background: rgba(0,0,0,0.8);
        pointer-events: none;
    }
    .map-box-img .img {
        aspect-ratio: 4/2.2;
    }
    .map-box {
        width: 50%;
        min-width: 300px;
        max-width: 400px;
       
    }
    .map .container-fluid {
        padding: 0 !important;
        margin: 0 !important;
    }
    .map-holder {
        overflow-x: scroll;
        display: block;
    }
    .map-assets {
        width: 140vw;
        margin-left: 0%;
        margin-top: 100px;
        margin-bottom: 30px;
    }

}

@media all and (max-width: 480px){
    .copy-holder .textbox p {
        font-size: 1.1em;
        
    }
    .map-box-img .img {
        aspect-ratio: 4/2.2;
    }
    .map-box {
        width: 98%;
    }
    .map-assets {
        width: 220vw;
        margin-left: 0%;
        margin-top: 240px;
        margin-bottom: 30px;
    }
}

/** map points **/

.marker-holder {
    position: absolute;
    width:100%; height: 100%;
    pointer-events: none;
}
.marker {
    position: absolute;
    pointer-events: auto;
    transition: transform .3s;
}
.marker:hover {
    cursor: pointer;
    
}
.marker:hover .m-info {
    background: #fff;

}
.marker:hover .num {
    color: #fff;
}
.marker .m-info { 
    background: #ffcc00;
    transition: background-color .3s;
    line-height: 100%;
    font-weight: bold;
    color: black;
    font-size: 14px; 
    padding: 5px 14px 4px 19px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}
.marker.empty { 
    pointer-events: none;
}
.marker.empty .m-info { 
    background: #ffcc00;
    font-size: 14px; 
    padding: 5px 13px 4px 13px;
    border-radius: 15px;
}
.marker .num {
    height: 110%;
    width:auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: #000;
    position: absolute;
    left:0; top:50%;
    transform: translate(-50%,-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffcc00;
    font-size: 12px; 
}

.marker.active .m-info {
    background: #fff;
}
.marker.active .num {
    color: #fff;
}
#m1 {
    left: 14%;
    bottom: 27%;
}
#m2 {
    left: 32%;
    bottom: 26%;
}
#m3 {
    left: 44%;
    bottom: 33%;
}
#m4 {
    left: 33.5%;
    bottom: 51%;
}
#m5 {
    right: 13%;
    bottom: 72.5%;
}
#m6 {
    left: 47%;
    bottom: 55%;
}
#m7 {
    left: 47%;
    bottom: 72%;
}
#m8 {
    left: 36%;
    bottom: 61%;
}
#m9 {
    left: 19.5%;
    bottom: 20.5%;
}
.legend {
    position: absolute;
    right:0;
    border-radius: 10px;
    overflow: hidden;
    bottom: 60px;
    width: 350px;
}

@media all and (max-width: 991px) {
    .legend {
        right:30px;
        bottom: 20px;
        width: 300px;
    }
}
@media all and (max-width: 767px) {
    .legend {
        right:30px;
        bottom: 20px;
        width: 280px;
    }
}
@media all and (min-width: 480px) {
    .map-assets {
        margin-top: 200px;
        width: 180vw;
        margin-left: 0%;
        margin-top: 220px;
        margin-bottom: 30px;
    }

}
@media all and (min-width: 600px) {
    .map-assets {
        width: 140vw;
        margin-left: 10%;
        margin-top: 180px;
        margin-bottom: 30px;
    }

}
@media all and (min-width: 768px) {
    .map .ttl-holder {
        left: 8%;
    }
    .map-assets {
        width: 120vw;
        margin-left: 10%;
        margin-top: 200px;
        margin-bottom: 30px;
    }
    .legend {
        right: 40px;
    }
}

@media all and (min-width: 992px) {
    .legend {
        right: -20px;
        bottom: 20px;
        width: 35%;
    }
    .map .ttl-holder {
        top: 0px;
        left: 25px;
        padding-top: 35px;
        width: 250px;
    }
    .map-box-img .img {
        aspect-ratio: 4/2;
    }
    .map-assets {
        width:90%;
        margin-left: 10%;;
        margin-top: 40px;
        margin-bottom: 30px;
    }
    .map-box-holder {
        position: absolute;
        width: 450px;
        height: 100%;
        padding: 30px 20px;
    }
}
@media all and (min-width: 1200px) {
    .map .ttl-holder {
        left: 25px;
        padding-top: calc(var(--pad-bottom)*0.5);
        width: 250px;
    }
    .map-assets {
        width:85%;
        margin-left: 10%;
        margin-top: 0px;
        margin-bottom: 30px;
    }  
    .legend {
        right:0;
        bottom: 30px;
        width: 300px;
    }
    .map-box-holder {
        width: 380px;
        padding: 30px 20px;
    }
}
@media all and (min-width: 1400px) {
    .legend {
        right:0;
        bottom: 50px;
        width: 320px;
    }
    .map-box-holder {
        width: 380px;
        height: 100%;
        padding: 40px 25px;
    }
}
@media all and (min-width: 1600px) {
    .legend {
        right:0;
        bottom: 60px;
        width: 350px;
    }
    .map .ttl-holder {
        left: 25px;
        padding-top: calc(var(--pad-bottom)*0.7);
        width: 250px;
    }
    .map-box-img .img {
        aspect-ratio: 4/2.2;
    }
    .map-assets {
        width:85%;
        margin-left: 10%;
        margin-top: 0px;
        margin-bottom: 0px;    
    }  
}