﻿.map {
    height: calc(100vh - 64px);
    width: 100%;
}

.track-obj-box-list {
    position: absolute;
    max-height: 80vh;
    width: 400px;
    top: 65px;
    left: 5px;
    background: #fff;
    z-index: 2500; 
}

.historyList {
    overflow-x: hidden;
    overflow-y: scroll;
    height: 40vh;
}

.ol-popup {
    display: none;
    position: absolute;
    background-color: var(--mud-palette-background);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    width: max-content;
    min-height: 100px;
}

    .ol-popup:after, .ol-popup:before {
        top: 100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .ol-popup:after {
        border-top-color: white;
        border-width: 10px;
        left: 48px;
        margin-left: -10px;
    }

    .ol-popup:before {
        border-top-color: #cccccc;
        border-width: 11px;
        left: 48px;
        margin-left: -11px;
    }

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}

    .ol-popup-closer:after {
        content: "✖";
    }


.fuel-chart-canvas {
    position: absolute;
    bottom: 1em;
    right: 1em;
    background: #fff;
    width: 30vw;
    height: 17vh;
    z-index: 2000;
}

    .fuel-chart-canvas div:nth-of-type(2) {
        height: 12vh;
    }

    .fuel-chart-canvas div:nth-of-type(3) {
        height: 15px;
    }

    .fuel-chart-canvas canvas {
        padding-top: 5px;
    }



.history-params-box {
    position: absolute;
    max-height: 80vh;
    width: 400px;
    top: 65px;
    left: 5px;
    background: #fff;
    z-index:2500;
}


