﻿#map-container {
    position: relative;
}

#map {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-card {
    height: 100%;
    min-height: 40vh;
    max-height: 80vh;
}

.machine-list-card {
    height: 100%;
    max-height: 80vh;
    min-height: 40vh;
    overflow: hidden;
}

.machine-list-card .card-body {
    overflow-y: auto;
    padding: 0;
}

#detailMap {
    position: relative;
    width: 100%;
    height: 35vh;
}

#mode-container .mode {
    display: none;
}

#mode-container.mode-1 .mode-1 {
    display: inline;
}

#mode-container.mode-2 .mode-2 {
    display: inline;
}

#mode-container.mode-3 .mode-3 {
    display: inline;
}

.um {
    font-weight: 300 !important;
    font-size: 1.2rem !important;
}
.clusterIcon {
    background-color: #0ad70a;
    outline: 3px solid rgba(11,221,11,0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-size: 0.8rem;
}

    .clusterIcon.alert {
        background-color: #df0101;
        outline: 3px solid rgba(223,1,1,0.3);
    }

.pinIcon {
    background-color: #0ad70a;
    outline: 3px solid rgba(11,221,11,0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-size: 0.8rem;
    position: relative;
    white-space: nowrap;
}

    .pinIcon.alert {
        background-color: #df0101;
        outline: 3px solid rgba(223,1,1,0.3);
    }

    .pinIcon .data {
        background: #fff;
        border-radius: 5px;
        box-shadow: 0 0 .875rem 0 rgba(41,48,66,.05);
        color: #000;
        display: flex;
        flex-direction: column;
        font-size: 0.7rem;
        gap: 2px;
        padding: 4px;
        position: absolute;
        top: 26px;
    }
    
    .pinIcon .marker-number {
        font-weight: 600;
    }

/* list */

.dashboard-machine {
    align-items: center;
    background-color: #EFF2F6;
    border-radius: 4px;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: space-between;
    padding: 8px;
    transition: all .2s;
}

.dashboard-machine:hover {
    /*transform: scale(1.01);*/
}