﻿/********************************************TABLE STYLES************************************************/

/*
.event-table {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
    text-align: center;
    margin: 20px 0px;
}

    .event-table td {
        padding: 2.5px;
    }

    .event-table thead tr {
        font-size: 12px;
    }

    .event-table tbody tr {
        height: 40px;
        font-size: 12px;
        line-height: 40px;
    }

    .event-table td, .event-table th {
        border-width: 0px 2.5px 0px 2.5px;
        border-style: solid solid solid solid;
        border-color: white white white white;
        border-radius: 5px;
    }

    .event-table tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .event-table tr:hover {
        background-color: #ddd;
    }

    .event-table th {
        padding-top: 12px;
        padding-bottom: 12px;
        background-color: #163C6B;
        color: white;
        text-align: center;
    }

    .event-table tbody tr td span {
        height: 25px;
        width: 25px;
        vertical-align: middle;
        border-radius: 50%;
        display: inline-block;
        border-color: black;
        border: 1.5px solid;
    }

@keyframes kf-alarm-leak {
    from {
        background-color: #006400;
    }

    to {
        background-color: #66a266;
    }
}

@keyframes kf-alarm-device {
    from {
        background-color: #f6e486;
    }

    to {
        background-color: #ffff9c;
    }
}

.event-alarm-history {
    background-color: #bbb;
}

.event-alarm-ongoing {
    animation: kf-alarm-leak 2s infinite;
}

.event-alarm-warning {
    animation: kf-alarm-device 2s infinite;
}

*/
/* SENSOR VIEW */

/*
.sensor-item {
    text-align: center;
    margin-top: 5px;
}

.sensor-symbol {
    color: white;
    vertical-align: middle;
    font-weight: bolder;
    margin: 0px;
    margin-right: 1.5px;
    margin-top: 1.5px;
}

.sensor-button {
    height: 25px;
    width: 25px;
    vertical-align: middle;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    border-color: black;
    border: 1.5px solid;
}

.sensor-offline {
    background-color: #8b0000;
}

    .sensor-offline:hover {
        background-color: #b96666;
        cursor: pointer;
    }

.sensor-online {
    background-color: #006400;
}

    .sensor-online:hover {
        background-color: #66a266;
        cursor: pointer;
    }

.sensor-label {
    height: 25px;
    vertical-align: middle;
    font-weight: bold;
}
*/

/*@media (max-width: 768px) {

    .event-table thead tr > *:nth-child(2),
    .event-table thead tr > *:nth-child(3),
    .event-table thead tr > *:nth-child(4),
    .event-table tbody tr > *:nth-child(2),
    .event-table tbody tr > *:nth-child(3),
    .event-table tbody tr > *:nth-child(4) {
        display: none;
    }
}*/
