.er-map-layout{

    position:relative;
    width:100%;
    height:500px;

    overflow:hidden;

    border-radius:12px;

}

#er-map,
.leaflet-container{

    width:100%;
    height:100%;

}

/*==================================================
PANEL
==================================================*/

.er-map-panel{

    position:absolute;

    top:0;
    left:0;

    width:355px;
    max-width:90%;
    height:100%;

    background:#fff;

    z-index:5000;

    display:flex;
    flex-direction:column;

    overflow-y:auto;

    transform:translateX(-100%);
    transition:transform .28s ease;

    box-shadow:0 10px 35px rgba(0,0,0,.18);

}

.er-map-panel.open{

    transform:translateX(0);

    padding:16px;

}

.er-map-back{

    appearance:none;
    border:0;
    background:none;
    padding:0 15px 20px 0;
    text-align:left;
    cursor:pointer;
    font:12px Arial,sans-serif;
    color:#6B7280;
    font-weight:700;

}

.er-map-back::before{

    font-weight:100;
    font-family:"feather";
    content:"\e92f";
    margin-right:1px;
    font-size:16px;
    vertical-align:middle;

}

.er-map-back u{

    display:inline-block;
    text-underline-offset:3px;

}

.er-map-back:hover{

    color:#0A2E2E;

}

#er-map-content{

    flex:1;

}

/*==================================================
CARD
==================================================*/

.er-map-card-image{

    display:block;

    width:100%;
    height:200px;

    object-fit:cover;

    border-radius:8px;

}

.er-map-card-title{

    display:block;

    margin:17px 10px;

    color:#222;

    text-decoration:none;

    font-family:"Quincy regular 400",serif;

    font-size:24px;

    line-height:28px;

}

.er-map-card-button{

    display:inline-block;
    margin:0 10px;
    padding:11px 16px;

    background:#0A2E2E;

    color:#fff;

    border-radius:8px;

    text-decoration:none;

    font:bold 14px Arial,sans-serif;

}

.er-map-card-button:hover{

    color:#fff;

    opacity:.92;

}

.er-map-card-locations{

    margin:22px 10px;

    padding:14px 18px;

    background:#f5f5f5;

    border-radius:8px;

    color:#555;

    font:14px Arial,sans-serif;

}

/*==================================================
CLUSTER
==================================================*/

.er-marker-cluster{

    background:transparent !important;

    border:none !important;

}

.er-marker-cluster div{

    width:32px;
    height:32px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#0A2E2E;

    border-radius:50%;

    color:#fff;

    font:700 16px Arial,sans-serif;

    box-shadow:0 4px 10px rgba(0,0,0,.25);

    transition:.2s;

}

.er-marker-cluster:hover div{

    background:#16524f;

    transform:scale(1.08);

}

.er-marker-cluster span{

    line-height:1;

}

/*==================================================
MÓVIL
==================================================*/

@media (max-width:768px){

    .er-map-layout{

        height:520px;

    }

    .er-map-panel{

        top:auto;
        bottom:0;
        left:0;

        width:100%;
        max-width:none;

        height:calc(100% - 100px);
        max-height:calc(100% - 100px);

        overflow-y:auto;

        border-radius:20px 20px 0 0;

        transform:translateY(100%);

        box-shadow:0 -8px 30px rgba(0,0,0,.15);

    }

    .er-map-panel.open{

        transform:translateY(0);

        padding:16px;

    }

    .er-map-panel::before{

        content:"";

        display:block;

        width:44px;
        height:5px;

        margin:0 auto 18px;

        background:#d6d6d6;

        border-radius:999px;

        flex-shrink:0;

    }

    .er-map-card-title{

        font-size:22px;

        line-height:26px;

    }

    .er-map-back{

        padding:0 0 18px;

    }

}