.plate {
    position: relative;
    display: inline-block;
    font-size: 26px;
    white-space: nowrap;
    font-weight: 500;
    border: 1px solid #000;
    box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, .2);
    border-radius: 4px;
    padding: 0 16px;
}

.plate:before,
.plate:after {
    position: absolute;
    top: 0;
    background-color: #05b;
    color: #fff;
    font-size: 12px;
    width: 12px;
    height: 100%;
    padding-top: 20px;
    text-align: center;
}

.plate:before {
    content: "I";
    left: 0;
}

.plate:after {
    content: "";
    right: 0;
}

a.btn,
a.btn:visited,
a.btn:hover {
    color: #fff !important;
}

.speed_filters {
    position: fixed;
    left: 1vw;
    bottom: 1vw;
    z-index: 10;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .2);
    padding: 0.8vw calc(0.8vw + 32px) .8vw .8vw;
}

.speed_filters .spinner {
    position: absolute;
    right: .8vw;
    top: .8vw;
}

.machine_charts .chart_item {
    padding: 2px;
    margin: 4px 0;
    border: 1px solid #ddd;
    cursor: pointer;
    border-radius: 4px;
}

.movements .machines .table .code {
    line-height: 41px;
    vertical-align: super;
}

.movements .machines .table td {
    text-align: center;
    font-size: 18px;
    line-height: 40px;
    width: 2.5vw;
    font-size: 14px;
}

.movements .filters {
    position: sticky;
    top: var(--header-height);
    z-index: 10;
}

.movements .table thead th {
    position: sticky;
    top: calc(var(--header-height) + 156px);
    z-index: 10;
    text-align: center;
}



.movements .table th.wd-6 {
    background-color: #e8e843;
}

.movements .table th.wd-0 {
    background-color: #dead53;
}

.movements .machines .table .total {
    text-align: right;
}

.movements .table tfoot th {
    text-align: center;
}

.movements .km_btn {
    cursor: pointer;
}

.movements .km_btn.active {
    box-shadow: inset 0 0 8px 2px var(--gcf-blue);
}

.movements .km_none {
    background-color: #aaa !important;
    color: #ccc !important;
}

.movements .km_low {
    background-color: var(--green);
}

.movements .km_medium {
    background-color: var(--orange);
}

.movements .km_high {
    background-color: var(--red);
}

.modal .modal-dialog.modal-full {
    width: 96vw;
    max-width: none;
    margin: inherit auto;
}

.alert-error {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.history .trip_line.active td {
    background-color: var(--green) !important;
}

.history .player {
    border-radius: 8px;
    padding: 8px;
    background-color: var(--gcf-light);
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, .2);
}

.history:not(.responsive-map) {
    height: calc(100vh - var(--header-height));
}

.history .filters {
    height: 100%;
    overflow: hidden;
}

.history .filters > .p-3 {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.history .filters > .p-3 > *:not(.trips_results) {
    flex-shrink: 0;
}

.history .trips_results {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}