﻿
.CameraView {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 75svw;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: var(--ModalDepth);
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    justify-content: start;
    align-items: start;
}

.CameraViewVideo {
    position:relative;
    flex-grow: 1;
    width: 100%;
    height:100%;
}

    .CameraViewVideo video, .CameraViewVideo canvas {
        width: 100%;
        height: 100%;
    }

    .CameraViewVideo>img {
        position:absolute;
        top:0;
        left:0;
        width: 100%;
        height: 100%;
    }

    .CameraViewVideo .Overlay {
        position: absolute;
        top: 20px;
        left: 20px;
        right:20px;
        bottom:20px;
        border: dashed 5px var(--ThemeColor);
        z-index: var(--ModalDepth);
    }


        .CameraViewVideo .Overlay .Console {
            position:absolute;
            bottom:0;
            align-self:end;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            width:100%;
            padding:20px;
        }

            .CameraViewVideo .Overlay .Console .Command {
                clear: initial;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                border-radius: 50%;
                background-color: var(--GlassColor);
                backdrop-filter: var(--GlassBlur);
                -webkit-backdrop-filter: var(--GlassBlur);
                opacity: 0.8;
                padding: 20px;
                cursor: pointer;
            }





.AvailableCameras {
    flex-grow: 0;
    width: 100%;
    height: auto;
    padding: 0px;
    padding-bottom:15px;
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    overflow-y: hidden;
    overflow-x: scroll;
    border-radius: 6px;
}
    .AvailableCameras .Item {
        flex-grow: 0;
        width: 150px;
        height: auto;
        background-color: var(--GlassColor);
        backdrop-filter: var(--GlassBlur);
        -webkit-backdrop-filter: var(--GlassBlur);
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        row-gap: 10px;
        text-align: center;
        border-radius: 6px;
    }
        .AvailableCameras .Item span {
            color: var(--FontOppositeColor);
            font-size: 0.8em;
        }

