.list-and-map-outer-container,
.list-and-map-outer-container *{
    box-sizing: border-box;
}
.list-and-map-outer-container{
    width: 100%;
    max-height: 780px;
    min-height: 780px;
    overflow: hidden;
    display: flex;
    justify-content: end;
    align-items: start;
    flex-direction: row;
    margin: 0;
    margin-right: 0 !important;
    position: relative;
}

.list-and-map-container{
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: row;
    width: 100%;
    height: 100%;
    max-height: 100%;
}

.list-container{
    display: flex;
    justify-content: start;
    align-items: start;
    width: 25%;
    height: 100%;
    max-height: 100%;
}

.list{
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
    width: 100%;
    height: 780px;
    max-height: 780px;
    min-height: 780px;
    overflow-y: scroll;
}

.user{
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    width: 100%;
    padding: 20px;
    border-bottom: 2px solid #C7C7C7;
}

.user h3{
    margin: 0;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user h3:hover{
    scale: 1.05;
}

.user p{
    margin: 0;
    font-size: 15px;
    text-transform: none;
    font-weight: 500;
    margin-top: 5px;
}

.user button:nth-child(1){
    margin: 0;
    font-size: 15px;
    text-transform: none;
    font-weight: 500;
    background: #E9F2F8;
    border: none;
    border-radius: 30px;
    padding: 12px 25px 12px 20px;
    cursor: pointer; 
    margin-top: 30px;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 8px;
}

.user button a{
    text-decoration: none;
    color: #707070;
}

.user button:hover{
    scale: 1.05;
}

.has-arrow-right:before{
    content: "";
    width: 1px;
    height: 7px;
    background: #00000070;
    position: absolute;
    top: 21px;
    right: 12px;
    transform: rotate(45deg);
}

.has-arrow-right:after{
    content: "";
    width: 1px;
    height: 7px;
    background: #00000070;
    position: absolute;
    top: 16px;
    right: 12px;
    transform: rotate(-45deg);
}

.user button:nth-child(2),
.user button:nth-child(3){
    font-size: 15px;
    text-transform: none;
    font-weight: 500;
    background: #E9F2F8;
    border: none;
    border-radius: 30px;
    padding: 9px 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 3px;
}

.user button:nth-child(2) img,
.user button:nth-child(3) img{
    width: 20px;
    height: 20px;
}

.map-container{
    flex-basis: 75%;
}

.map{
    
}

.map-header{
    display: none;
}

.map-btn{
display: none;
}

@media (max-width: 768px) {
    .list-and-map-outer-container{
        width: 100%;
        max-width: 100%;
        max-height: 100%;
        min-height: 100%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin: 0;
        margin-right: auto !important;
        margin-left: auto !important;
    } 

    .list-and-map-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
        height: 100%;
        max-height: 100%;
    }

    .list-container{
        width: 100%;
    }

    .list{
        width: 100%;
        height: fit-content;
        max-height: fit-content;
        min-height: fit-content;
    }

    .map-container{
        width: 100%;
    }

    .map{
        height: 100%;
    }

    .map-container{
     transform: translateX(-100%);
     max-height: 0;
     position: fixed;
     top: 0;
     left: 0;
     z-index: 10;
     transition: all 0.3s ease;
    }

    .map-container.active{
     transform: translateX(0);   
     height: 100%;
        max-height: unset;
    }



    .map-header{
        display: block;
        height: 50px;
        background: #253080;
        width: 100%;
        position: relative;
    }

    .map-header .xmark{
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translate(0, -50%);
        color: #fff;
        cursor: pointer;
    }

    .xmark:before{
        content: "";
        width: 2px;
        height: 20px;
        background: #fff;
        position: absolute;
        top: -9px;
        left: -18px;
        transform: rotate(45deg);
    }

    .xmark:after{
        content: "";
        width: 2px;
        height: 20px;
        background: #fff;
        position: absolute;
        top: -9px;
        left: -18px;
        transform: rotate(-45deg);
    }

.map-btn{
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    /*background: #15A393;*/
    border-radius: 30px;
    padding: 0;
    z-index: 9;
    }

    
.map-btn p{
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    color: white;
    }
}

.usercount{
    color: white;
    width: fit-content;
    display: inline-block;
    font-weight: 600;
    min-width: 275px;
    padding-left: 10px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .usercount{
        display: none;
    }
}

.leaflet-popup-content-wrapper{
    padding: 1px;
    text-align: left;
    border-radius: 0 !important;
    margin-left: 100px;
}

.leaflet-popup-content{
    font-size: 14px !important;
    width: 175px !important;
}

.leaflet-popup-tip-container{
    display: none;
}

.leaflet-popup-body a{
    color: #000;
    text-decoration: none;
}
