@charset "utf-8";
/* CSS Document */

/* Dashboard page */
.dashboard .content-header {
    display: none;
}

.dashboard .content {
    padding-top: 5px;
    padding-bottom: 0px;
}

.dashboard .col-lg-1,
.dashboard .col-lg-10,
.dashboard .col-lg-11,
.dashboard .col-lg-12,
.dashboard .col-lg-2,
.dashboard .col-lg-3,
.dashboard .col-lg-4,
.dashboard .col-lg-5,
.dashboard .col-lg-6,
.dashboard .col-lg-7,
.dashboard .col-lg-8,
.dashboard .col-lg-9,
.dashboard .col-md-1,
.dashboard .col-md-10,
.dashboard .col-md-11,
.dashboard .col-md-12,
.dashboard .col-md-2,
.dashboard .col-md-3,
.dashboard .col-md-4,
.dashboard .col-md-5,
.dashboard .col-md-6,
.dashboard .col-md-7,
.dashboard .col-md-8,
.dashboard .col-md-9,
.dashboard .col-sm-1,
.dashboard .col-sm-10,
.dashboard .col-sm-11,
.dashboard .col-sm-12,
.dashboard .col-sm-2,
.dashboard .col-sm-3,
.dashboard .col-sm-4,
.dashboard .col-sm-5,
.dashboard .col-sm-6,
.dashboard .col-sm-7,
.dashboard .col-sm-8,
.dashboard .col-sm-9,
.dashboard .col-xs-1,
.dashboard .col-xs-10,
.dashboard .col-xs-11,
.dashboard .col-xs-12,
.dashboard .col-xs-2,
.dashboard .col-xs-3,
.dashboard .col-xs-4,
.dashboard .col-xs-5,
.dashboard .col-xs-6,
.dashboard .col-xs-7,
.dashboard .col-xs-8,
.dashboard .col-xs-9 {
    min-height: 1px;
    padding-left: 5px;
    padding-right: 5px;
    position: relative;
}

.dashboard .row {
    margin-left: -10px;
    margin-right: -10px;
}

.dashboard .box.box-solid .box-body {
    padding: 10px 10px 0px;
}

.dashboard [id*="statoOnsensore"]:hover,
.dashboard [id*="statoOffsensore"]:hover {
    cursor: default;
    background: transparent !important;
}

.dashboard #TemperaturaContainer {
    background-color: #000000;
}

.dashboard #TemperaturaContainer div {
    background-color: #000000;
    display: block;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    max-width: 250px
}

.dashboard .box {
    margin-bottom: 10px;
}

.dashboard .box.box-solid .box-body .fa {
    font-size: medium;
}

.dashboard .box.box-solid .box-body p {
    padding-left: 10px;
    margin-bottom: 5px;
}

.dashboard [id*="boxsensore"] .box-body.alarm {
    background-color: rgba(255, 0, 4, 0.85) !important;
}

/* new style */
/* -- BOX sensore -- */
.dashboard .box.box-solid .box-body {
    padding: 0px;
}

.dashboard [id*="boxsensore"] .info-box .info-box-image {
    display: block;
    float: left;
    height: 80px;
    width: 90px;
    text-align: center;
    line-height: 80px;
    background: rgba(0, 0, 0, 0.2);
}

.dashboard [id*="boxsensore"] .info-box .info-box-image img {
    margin: 0 auto;
    max-height: 80px;
}

.dashboard [id*="boxsensore"] .info-box .info-box-content {
    padding: 0px;
}

.dashboard [id*="boxsensore"] .info-box {
    border-radius: 0px;
    min-height: 80px !important;
    margin-bottom: 5px;
}

.dashboard [id*="boxsensore"] .box-header>.box-tools {
    right: 5px !important;
}

.dashboard [id*="boxsensore"] .box-tools .info-box-status-alarm img {
    max-height: 30px;
}

.dashboard [id*="boxsensore"] .info-box-content .info-box-status img {
    max-height: 80px;
    float: right;
    padding-right: 10px;
}

/* -- BOX sensore END -- */

/* Dashboard boxes */
.dashboard_boxes .content-header {
    display: none;
}

.dashboard_boxes .content {
    padding-top: 5px;
    padding-bottom: 0px;
}

.dashboard_boxes .col-lg-1,
.dashboard_boxes .col-lg-10,
.dashboard_boxes .col-lg-11,
.dashboard_boxes .col-lg-12,
.dashboard_boxes .col-lg-2,
.dashboard_boxes .col-lg-3,
.dashboard_boxes .col-lg-4,
.dashboard_boxes .col-lg-5,
.dashboard_boxes .col-lg-6,
.dashboard_boxes .col-lg-7,
.dashboard_boxes .col-lg-8,
.dashboard_boxes .col-lg-9,
.dashboard_boxes .col-md-1,
.dashboard_boxes .col-md-10,
.dashboard_boxes .col-md-11,
.dashboard_boxes .col-md-12,
.dashboard_boxes .col-md-2,
.dashboard_boxes .col-md-3,
.dashboard_boxes .col-md-4,
.dashboard_boxes .col-md-5,
.dashboard_boxes .col-md-6,
.dashboard_boxes .col-md-7,
.dashboard_boxes .col-md-8,
.dashboard_boxes .col-md-9,
.dashboard_boxes .col-sm-1,
.dashboard_boxes .col-sm-10,
.dashboard_boxes .col-sm-11,
.dashboard_boxes .col-sm-12,
.dashboard_boxes .col-sm-2,
.dashboard_boxes .col-sm-3,
.dashboard_boxes .col-sm-4,
.dashboard_boxes .col-sm-5,
.dashboard_boxes .col-sm-6,
.dashboard_boxes .col-sm-7,
.dashboard_boxes .col-sm-8,
.dashboard_boxes .col-sm-9,
.dashboard_boxes .col-xs-1,
.dashboard_boxes .col-xs-10,
.dashboard_boxes .col-xs-11,
.dashboard_boxes .col-xs-12,
.dashboard_boxes .col-xs-2,
.dashboard_boxes .col-xs-3,
.dashboard_boxes .col-xs-4,
.dashboard_boxes .col-xs-5,
.dashboard_boxes .col-xs-6,
.dashboard_boxes .col-xs-7,
.dashboard_boxes .col-xs-8,
.dashboard_boxes .col-xs-9 {
    min-height: 1px;
    padding-left: 5px;
    padding-right: 5px;
    position: relative;
}

.dashboard_boxes .row {
    margin-left: -10px;
    margin-right: -10px;
}

.dashboard_boxes .box.box-solid .box-body {
    padding: 0px 10px 0px !important;
}

.dashboard_boxes .box {
    margin-bottom: 10px;
}

.dashboard_boxes .box.box-solid .box-body .fa {
    font-size: medium;
}

.dashboard_boxes .box.box-solid .box-body p {
    padding-left: 10px;
    margin-bottom: 5px;
}

/* Stile Semaforo Header */
.dashboard_boxes .box-header>.box-tools {
    right: 5px !important;
    top: 4px !important;
}

.dashboard_boxes .traffic-light {
    font-size: 24px;
    /* Cerchio grande */
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    background-color: #222;
    border-radius: 5px;
    padding: 2px 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    border: 2px solid #444;
}

/* Colori accesi */
.dashboard_boxes .traffic-light.text-green {
    color: #33ff33 !important;
}

.dashboard_boxes .traffic-light.text-yellow {
    color: #ffeb47 !important;
}

.dashboard_boxes .traffic-light.text-red {
    color: #ff3333 !important;
}

/* Fine stile semaforo */

/* Stato allarme disattivato manualmente */
.text-orange {
    color: #f0a500 !important;
}

.text-purple {
    color: #a020f0 !important;
}

.text-gray {
    color: #808080 !important;
}

.date-error {
    color: #ff3333 !important;
}

.dashboard_boxes .row-flex {
    display: flex;
    flex-wrap: wrap;
}

.dashboard_boxes .row-flex>[class*='col-'] {
    display: flex;
    flex-direction: column;
}

.dashboard_boxes .box-widget {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px !important;
}

.dashboard_boxes .box-body-scroll {
    flex-grow: 1;
    padding: 10px;
    /* Un po' di padding generale */
}

/* Stile Wrapper Immagine */
.dashboard_boxes .box-img-wrapper {
    /* Centratura verticale/orizzontale nel box laterale */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 100px;
}

.dashboard_boxes .box-body-img {
    max-height: 150px;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    /* Tocco grafico */
}

/* Mobile */
@media (max-width: 991px) {
    .dashboard_boxes .box-img-col {
        border-bottom: 1px solid #eee;
    }
}

.dashboard_boxes .info-box-status-alarm {
    font-size: 20px;
}

.dashboard_boxes .box-widget .box-header {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.dashboard_boxes .table-condensed {
    margin-bottom: 0px !important;
}

.dashboard_boxes .table-condensed>tbody>tr>td {
    padding: 8px 5px;
}

.dashboard_boxes .box-footer .last-update {
    font-size: 105%;
}

.dashboard_boxes .box-footer .btn-manage-alarm {
    font-weight: bold;
}

/* Sensore Page */

/* -- BOX sensore -- */
.sensoredetail #TemperaturaContainer {
    background-color: #000000;
}

.sensoredetail #TemperaturaContainer div {
    background-color: #000000;
    display: block;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    max-width: 250px
}

.sensoredetail .box {
    margin-bottom: 10px;
}

.sensoredetail .box.box-solid .box-body .fa {
    font-size: medium;
}

.sensoredetail .box.box-solid .box-body p {
    padding-left: 10px;
    margin-bottom: 5px;
}

.sensoredetail .box.box-solid .box-body {
    padding: 0px;
}

.sensoredetail [id*="boxsensore"] .info-box .info-box-image {
    display: block;
    float: left;
    height: 80px;
    width: 90px;
    text-align: center;
    line-height: 80px;
    background: rgba(0, 0, 0, 0.2);
}

.sensoredetail [id*="boxsensore"] .info-box .info-box-image img {
    margin: 0 auto;
    max-height: 80px;
}

.sensoredetail [id*="boxsensore"] .info-box .info-box-content {
    padding: 0px;
}

.sensoredetail [id*="boxsensore"] .info-box {
    border-radius: 0px;
    min-height: 80px !important;
    margin-bottom: 5px;
}

.sensoredetail [id*="boxsensore"] .box-body.alarm {
    background-color: rgba(255, 0, 4, 0.85) !important;
}

.sensoredetail [id*="boxsensore"] .box-tools .info-box-status-alarm img {
    max-height: 30px;
}

.sensoredetail [id*="boxsensore"] .info-box-content .info-box-status img {
    max-height: 80px;
    float: right;
    padding-right: 10px;
}

.sensoredetail [id*="boxsensore"] .box-header>.box-tools {
    right: 5px !important;
}

.sensoredetail [id*="boxsensore"] .box-tools .info-box-status-alarm img {
    max-height: 30px;
}

.sensoredetail [id*="boxsensore"] .info-box-content .info-box-status img {
    max-height: 80px;
    float: right;
    padding-right: 10px;
}

/* -- BOX sensore END -- */

/* -- BOX sensore per taratura -- */
.sensoredetail #TaraturaModal #TaraTemperaturaBox .row.no-padding.no-margin {
    background-color: #000000;
}

.sensoredetail #TaraturaModal #TaraTemperaturaBox {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.sensoredetail #TaraTemperaturaContainer {
    background-color: #000000;
}

.sensoredetail #TaraTemperaturaContainer div {
    background-color: #000000;
    display: block;
    height: 95px;
    max-width: 280px
}

/* -- BOX sensore per taratura END -- */

.sensoredetail .tab-content .tab-pane {
    position: relative;
    height: 100%;
    min-height: 530px;
}

.sensoredetail #interactive {
    min-height: 450px;
}

.sensoredetail #impostazioni {
    padding: 15px;
}

.sensoredetail table#filterdataeventi input#eventidal,
.sensoredetail table#filterdataeventi input#evential,
.sensoredetail table#filterdataletture input#letturedal,
.sensoredetail table#filterdataletture input#lettureal {
    text-align: center !important;
    width: 100px !important;
}

.sensoredetail table#filterdataeventi #eventifilterbotton,
.sensoredetail table#filterdataletture #letturefilterbotton {
    position: relative;
    padding: 3px 10px;
    bottom: 2px;
}

.sensoredetail table#filterdataeventi td,
.sensoredetail table#filterdataletture td {
    text-align: center;
}

.sensoredetail #eventiDataTable_length.dataTables_length,
.sensoredetail #lettureDataTable_length.dataTables_length {
    float: right;
    padding-top: 9px;
}

.sensoredetail #eventiDataTable_paginate,
.sensoredetail #lettureDataTable_paginate {
    float: left;
}

.sensoredetail table#eventiDataTable td,
.sensoredetail table#lettureDataTable td {
    padding: 1px;
}

.sensoredetail #lettureDataTable_wrapper .dt-buttons:before,
.sensoredetail #eventiDataTable_wrapper .dt-buttons:before {
    content: "Esporta: ";
}

.sensoredetail #lettureDataTable_wrapper .dt-buttons,
.sensoredetail #eventiDataTable_wrapper .dt-buttons {
    float: none;
    width: auto;
    text-align: center;
    padding-top: 7px;
}

/* pagina log */
.log table#filterdatalog input#logdal,
.log table#filterdatalog input#logal {
    text-align: center !important;
    width: 100px !important;
}

.log table#filterdatalog #logfilterbotton {
    position: relative;
    padding: 3px 10px;
    bottom: 2px;
}

.log table#filterdatalog td {
    text-align: center;
}

.log #logDataTable_length.dataTables_length {
    float: right;
    padding-top: 9px;
}

.log #logDataTable_paginate {
    float: left;
}

.log table#logDataTable td {
    padding: 1px;
}

.log #logDataTable_wrapper .dt-buttons:before {
    content: "Esporta: ";
}

.log #logDataTable_wrapper .dt-buttons {
    float: none;
    width: auto;
    text-align: center;
    padding-top: 7px;
}

/* pagina report */
.report table#filterdatareport input#reportdal,
.report table#filterdatareport input#reportal {
    text-align: center !important;
    width: 100px !important;
}

.report table#filterdatareport #reportfilterbotton {
    position: relative;
    padding: 3px 10px;
    bottom: 2px;
}

.report table#filterdatareport td {
    text-align: center;
}

.report #reportframe {
    border: 0px;
}

.report span#reportmsg {
    display: block;
    position: relative;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
}

/* pagina report refill */
.reprefill table#filterdataeventi input#eventidal,
.reprefill table#filterdataeventi input#evential {
    text-align: center !important;
    width: 100px !important;
}

.reprefill table#filterdataeventi #eventifilterbotton {
    position: relative;
    padding: 3px 10px;
    bottom: 2px;
}

.reprefill table#filterdataeventi td {
    text-align: center;
}

.reprefill #eventiDataTable_length.dataTables_length,
.reprefill #lettureDataTable_length.dataTables_length {
    float: right;
    padding-top: 9px;
}

.reprefill #eventiDataTable_paginate,
.reprefill #lettureDataTable_paginate {
    float: left;
}

.reprefill table#eventiDataTable td,
.reprefill table#lettureDataTable td {
    padding: 1px;
}

.reprefill #eventiDataTable_wrapper .dt-buttons:before {
    content: "Esporta: ";
}

.reprefill #eventiDataTable_wrapper .dt-buttons {
    float: none;
    width: auto;
    text-align: center;
    padding-top: 7px;
}

/* pagina operatore */
#elencosensori .box-body {
    max-height: 400px;
    overflow-y: auto;
}

/* pagina alarm check */
.alarmcheck .modal-dialog {
    width: 95%;
    margin: 30px auto;
}

.alarmcheck .modal-dialog .modal-body {
    /*background: url("../img/alarm-active.gif") no-repeat center center fixed;*/
}

.alarmcheck .modal-dialog .modal-body::after {
    content: "";
    background: url("../img/alarm-active.gif") no-repeat center center fixed;
    opacity: 0.2;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: auto;
}

.alarmcheck .main-header>.navbar,
.alarmcheck .content-wrapper,
.alarmcheck .main-footer {
    background-color: #f39c12;
    color: #f6f6f6;
    margin-left: 0px;
}

/* Pagine di configurazione */
form.ewListForm .ewTableHeaderCaption {
    white-space: normal !important;
}

.sensori .form-group.sensori_IDStazione select.form-control,
.sensori .form-group.sensori_Abilitato select.form-control,
.sensori .form-group.sensori_FlagRefill select.form-control {
    max-width: 80px;
}

.sensori .form-group.sensori_TipoSensore select.form-control {
    max-width: 150px;
}

.sensori .form-group.sensori_StatoAllarme select.form-control {
    max-width: 100px;
}

/* Fix datatables */
/* plugins/datatables/DataTables-1.10.16/datatables.min.css */
table.dataTable {
    width: 100% !important;
}

/*Firefox and fieldsets

Firefox has some awkward fieldset styling involving width that interferes with the responsive table. This cannot be overridden without a Firefox-specific hack that we don't provide in Bootstrap.*/
@-moz-document url-prefix() {
    fieldset {
        display: table-cell;
    }
}

@media (min-width: 300px) {}

@media (min-width: 992px) {}

@media (min-width: 1200px) {
    .alarmcheck .login-box {
        width: 720px;
    }

    .alarmcheck .login-logo {
        font-size: 60px;
    }

    .alarmcheck .login-box-msg,
    .alarmcheck #bkg-msg {
        font-size: 24px;
    }
}

@media (min-width: 1900px) {
    .alarmcheck .login-box {
        width: 720px;
    }

    .alarmcheck .login-logo {
        font-size: 72px;
    }

    .alarmcheck .login-box-msg,
    .alarmcheck #bkg-msg {
        font-size: 36px;
    }
}

/* ========================================
   OROLOGIO NELL'HEADER - DESKTOP ONLY
   ======================================== */
/* Nascondi su schermi piccoli */
@media (max-width: 767px) {
    .navbar-clock {
        display: none;
    }
}

/* Desktop - orologio centrato (horizontal e vertical) */
@media (min-width: 768px) {
    .navbar-clock {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        align-items: center;
        z-index: 1000;
    }

    .navbar-clock .clock-link {
        display: flex;
        align-items: center;
        color: #fff;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
        padding: 8px 20px;
        border-radius: 25px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .navbar-clock .clock-link:hover {
        background: rgba(0, 0, 0, 0.5);
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }

    .navbar-clock .fa-clock-o {
        font-size: 18px;
        margin-right: 10px;
        color: #f39c12;
        animation: pulse-clock 2s infinite;
    }

    .navbar-clock #live-clock {
        font-family: 'Courier New', monospace;
        font-weight: 700;
        font-size: 15px;
        letter-spacing: 2px;
        color: #fff;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    @keyframes pulse-clock {
        0%, 100% {
            opacity: 1;
            transform: scale(1);
        }
        50% {
            opacity: 0.8;
            transform: scale(0.95);
        }
    }
}

/* ========================================
   DATA ULTIMA LETTURA - ALLARME LAMPEGGIANTE
   ======================================== */
@keyframes data-alert-pulse {
    0% { color: red; text-shadow: none; }
    50% { color: #ff6b6b; text-shadow: 0 0 10px #ff6b6b; }
    100% { color: red; text-shadow: none; }
}

.data-alert {
    animation: data-alert-pulse 1s infinite ease-in-out;
    font-weight: bold;
}