﻿

.vehicleCameraMax {
    position: absolute !important;
    height: 100% !important;
    width: 100% !important;
    z-index: 10;
}

.vehicleCameraStatus_starting {
    background-color: coral;
}

.vehicleCameraStatus_closing {
    background-color: darkred;
    color: white;
}

.vehicleCameraStatus_live {
    background-color: lightgreen;
}

.vehicleCameraStatus_historical {
    background-color: gainsboro;
}


.vehicleCameraSplitPanel {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
}

.snapshot_container {
    display: inline-block;
    font-size: 68px;
}



.snapshot_text {
    font-size: 0.25em;
}

.snapshot_large {
    height: 100%;
    cursor: pointer;
}

.snapshot_camIndex1 {
    position: absolute;
    right: 4px;
    top: 3px;
    width: 25%;
    height: 30%;
    cursor: pointer;
    box-shadow: -0.1em 0.1em 0.5em 0.2em rgba(255, 255, 255, 0.3);
}

.snapshot_camIndex2 {
    position: absolute;
    left: 4px;
    top: 3px;
    width: 25%;
    height: 30%;
    cursor: pointer;
    box-shadow: -0.1em 0.1em 0.5em 0.2em rgba(255, 255, 255, 0.3);
}

.snapshot_image {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: gray;
    box-sizing: border-box;
    border: 1px solid gainsboro;
    transition: background-image 0.25s ease-in-out;
    cursor: pointer;
}

.snapshot_hidden {
    display: none;
}

.snapshot_time {
    font-size: 0.7em;
    padding: 0.3em;
    text-align: center;
    border-radius: 0.25em;
}

.snapshot_current {
    background-color: rgba(0, 255, 0, 0.3);
}

.snapshot_aging {
    background-color: rgba(255, 255, 0, 0.4);
}

.snapshot_old {
    background-color: rgba(255, 0, 0, 0.3);
}

.vehicle_image_spinner_overlay {
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position:relative;
}

.vehicle_image_spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-20px, -20px);
    transform: translate(-20px, -20px);
}



@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
