﻿/* Propriedades gerais */


/* Colunas */
.camera-column,
.menu-column {
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
    overflow-y: auto;
    border-radius: 8px !important;
}

.menu-column {
    
}

/* Dashboard */
.dashboard-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative !important;
}

.top-content {
    display: flex;
    justify-content: space-between;
    height: calc(100vh - 40px);
    background-color: var(--CorPrimaria) !important;
}

/* Timeline */
.timeline-container {
/*    height: 40%;
    background-color: #013045;
    padding: 10px;
    box-sizing: border-box;
    overflow-y: auto;
    width: 100%;*/
}

/* Thumbnails de câmeras */
.camera-thumbnails {
    display: flex;
    /*background-color: var(--CorPrimariaEscuro);*/
    gap: 10px;
    overflow-x: auto;
    border-radius: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: rgba(var(--CorSecundariaRGB), 0.4) !important;
}

.item-camera-nome {
    border-radius: 8px;
    margin: 5px;
    width: 100%;
    text-align: center;
    color: var(--CorPrimaria)
}

.nome-camera {
    color: white;
    font-size: 12px;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.btn-lista-camera {
    border: none;
    padding: 0;
    margin: 5px;
    background-color: transparent !important;
}

    .btn-lista-camera img {
        border-radius: 8px;
        width: 100px;
        height: 100px;
    }

.rounded-image {
    height: 30px !important;
    width: 30px !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .top-content {
        flex-direction: column;
        height: calc(100vh - 45px);
    }

    .camera-column,
    .menu-column {
        width: 100%;
        background-color: #013045;
    }
}

.tmb{
}

@media (max-width: 480px) {
    .camera-thumbnails {
        flex-direction: column;
        align-items: center;
        border-radius: 8px
    }

    .item-camera-nome {
        width: 100%;
        text-align: center;
    }
}

.tabs-portariaVirtual {
    background-color: white !important;
    border-radius: 8px !important;
    border: solid white !important;
}

.camera-screenshot {
    position: relative;
    display: inline-block;
}

.camera-img {
    width: 70px;
    height: 70px;
    border-radius: 6px;
}

.camera-status {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
}

.status-verde {
    background-color: #61cb4e;
}

.status-vermelho {
    background-color: #e75f55;
}

.status-cinza {
    background-color: #9e9e9e;
}






