﻿/*-------------------------------------------------------------------------------*/
/* elementi di stile generali per le zone */
/*-------------------------------------------------------------------------------*/

.hideElement {
    display: none !important;
}

.M5{
    margin:5px;
}

.dropPump{
    margin:15px;
}

.pumpSelectorContainer {
    display: flex;
    position: relative;
    top: -68px;
    left: 130px;
    height: 44px;
    width: 300px;
    text-align: center;
    border-radius: 22px;
    background-color: white;
    border-color: var(--icoSxBg);
    border-style: solid;
    border-width: 1px;
    color: var(--icoSxBg);
}

.zoneContainer {
    margin-top: 40px;
    overflow: hidden;
    margin-left: 100px;
    margin-right: 100px;
    height: 85%;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
    display:flex;
    flex-direction:column;
    
}
    .zoneContainer::-webkit-scrollbar {
        display: none; /* Safari and Chrome */
    }

.zone {
    /*position: absolute;*/
    width: 80%;
    min-height: 80vh;
    background-color: #e6e6e6;
    margin: auto;
    margin-bottom: 60px;
    border-radius: 20px;
    scroll-snap-align: start;
    /*left:10%;*/
    display: flex;
    flex-direction: column;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}
.zoneHeadInfo{
    display:flex;
    flex-direction:row;
    position:relative;
    margin:15px;
}

/* contenitore per l'indice della zona angolo superiore sx */
.zoneIndexContainer {
    border-radius:5px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    font-size: 23px;
    font-weight: bolder;
    background-color: var(--icoSxBg);
    color: var(--icoSxColor);
    margin-right:10px;
}

.zoneErrorBg {
    color: var(--errorIcoColor);
    background-color: var(--errorIcoBg);
}

.zoneCorrectBg {
    background-color: var(--navBarA);
}

/* contenitore per la tipologia di zona angolo superiore sx */
.zoneTypeContainer {
    text-align: center;
    border-radius: 5px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    font-size: 23px;
    font-weight: bolder;
    background-color: var(--icoSxBg);
    color: var(--icoSxColor);  
    margin-right:10px;
}
    .zoneTypeContainer:hover {
        cursor: pointer;
        background-color: var(--icoSxColor);
        color: var(--icoSxBg);
        border-style:solid;
        border-width:2px;
        border-color: var(--navBarA);
    }

/* elemento per selezionare la tipologia di zona */
.zoneTypePopover {
    display: inline-block;
    position: absolute !important;
    left: 130px;
    top: 24px;
    z-index: 1;
}
    .zoneTypePopover.active {
        opacity: 1;
        visibility: visible;
    }

/* personalizzazione per i dropdown di selezione sulla zona*/
.dropdown-menu .dropdown-item:hover {
    background-color: var(--navBarA); /* Colore di sfondo al hover */
    color: white; /* Colore del testo al hover */
}

/* icone sulla tipologia di zona */
.ico_fan {
    background-image: url('../asset/ico/ico_fan.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 44px;
    width: 44px;
}

.ico_mzc {
    background-image: url('../asset/ico/ico_mzc.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 44px;
    width: 44px;
}

.ico_pdc {
    background-image: url('../asset/ico/ico_pdc.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 44px;
    width: 44px;
}

.ico_cir {
    background-image: url('../asset/ico/ico_cir.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 44px;
    width: 44px;
}

.ico_imp {
    background-image: url('../asset/ico/ico_imp.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 44px;
    width: 44px;
}

.ico_rec {
    background-image: url('../asset/ico/ico_rec.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 44px;
    width: 44px;
}

/*etichetta nome zona*/
.labelZoneContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    width: 60%;
}

.labelZone {
    text-align: center;
    height: 100%; /* Altezza desiderata */
    width: 100%; /* Larghezza desiderata */
    border-radius: 22px;
    background-color: white;
    border-color: var(--icoSxBg);
    border-style: solid;
    border-width: 1px;
    color: var(--icoSxBg);
    margin-right:10px;
}

/*tasto per aprire le note della zona*/
.noteZoneContainer {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 44px;
    width: 44px;
    border-radius: 5px;
    color: var(--icoSxBg);
}
    .noteZoneContainer:hover {
        background-color: var(--icoSxBg);
        color: white;
        cursor:pointer;
    }

/*interfaccia per inserire le note relative alla zona*/
.zoneNoteContainer {
    display: none;
    position: absolute;
    transform: translate(50%,50%);
    height: 50%;
    width: 50%;
    border-radius: 22px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    background-color: var(--baseBg);
    border-style: solid;
    border-width: 1px;
    border-color: var(--icoSxBg);
    opacity: 0.9;
    z-index: 9;
    /*visibility:hidden;*/
}

.closeNoteWin {
    display: flex !important;
    position: absolute;
    justify-content: center;
    align-items: center;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 5px;
    background-color: var(--icoSxBg);
    opacity: 0.8;
    color: var(--icoSxColor);
}

    .closeNoteWin:hover {
        background-color: var(--navBarA);
        color: var(--icoSxBg);
        cursor:pointer;
    }

.zoneNoteText {
    position: absolute;
    height: 80%;
    width: 98%;
    bottom: 0px;
    border-style: none;
    border-radius: 22px;
    background-color: white;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 1%;
    padding: 10px;
    resize: none;
}

.zoneNoteLabel {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--icoSxBg);
    font-weight: 900;
    font-size: 20px;
}

/*stile per zone fancoil*/
.fancoilZoneContainer {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    flex-direction: column;
}
.containerFanGroupUp {
    height: 90%;
    width: 100%;
    display: flex;
    flex-direction: row;
}

.containerFanMaster {
    height: 90%;
    width: 21%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    margin: 5px;
    border-radius:22px;
    background-color:lightblue;
}

.containerFanGroupUpRight {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}
.containerFanSlaveGroup {
    display: flex;
    flex-direction: row;
    height: 80%;
    flex: 1;
}
.containerFanSlave {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 15%; /*98*/
    flex: 1;
    padding:10px;
    margin:5px;
}

.containerFanRadiant {
    display: flex;
    height: 20%;
    flex-direction: row;
    justify-content: center; /* Per centrare gli elementi orizzontalmente */
    align-items: center;
    flex-direction:column;
    margin:10px;
    padding:10px;
    border: 1px solid black;
    border-radius:22px;
}

.radiantImg {
    background-image: url('../asset/img/idu/radiant.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 50%;
    height: 90%;
    margin: auto;
}

.containerPump {
    height: 10%;
    width: 100%;
    display: flex;
}

.icoZonePump {
    height: 44px;
    width: 44px;
    background-image: url('../asset/img/CIR/CIR_1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin:10px;
}


/*stile per zone chiller*/
.chillerZoneContainer {
    display: flex;
    /*justify-content: center;*/
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
    /*padding-top: 100px;*/
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.chillerData{
    margin: 0 20px;
    text-align: center;
    min-height: 400px;
    height:70%;
    width: 260px;
    border: solid 2px gray;
    padding:10px;
    border-radius:22px;
}

/*aggiunte allo stile del dropdown di boostrap*/
.dropDownAdd{
    margin-top: 25px;
    margin-bottom:30px;
}

.chillerImg {
    margin-top: 40px;
    /*background-color: lightgreen;*/
    height:200px;
    width:100%;
}

/*immagini chiller - pompe di calore*/
.C1 {
    background-image: url('../asset/img/ODU/C1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 90%;
    margin: auto;
}

.C2 {
    background-image: url('../asset/img/ODU/C2.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 90%;
    margin: auto;
}

.C3 {
    background-image: url('../asset/img/ODU/C3.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 90%;
    margin:auto;
}

/*stile tasto per svuotare i dati di un certo slot chiller*/
.removeOduData {
    position: relative;
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 44px;
    width: 44px;
    border-radius: 5px;
    color: var(--leftBarBg);
}
    .removeOduData:hover {
        cursor: pointer;
    }

/*stili per pagina locale tecnico*/
.impContainer {
    display: flex; /* Abilita il flexbox per la divisione verticale */
    height: 680px; /* Altezza del contenitore principale */
    margin: 30px;
}

.leftFrame {
    flex: 1; /* La parte sinistra occupa tutto lo spazio disponibile */
    display: flex; /* Abilita il flexbox per la divisione orizzontale */
    flex-direction: column; /* Dispone gli elementi verticalmente */
    border-right: 2px solid black;
}

.topElement {
    flex: 0 0 40%; /* La parte superiore occupa il 40% dello spazio disponibile */
    flex-direction: column;
    border-bottom: 2px solid black;
}

.bottomElement {
    flex: 1; /* La parte inferiore occupa tutto lo spazio disponibile */
    position: relative;
    padding: 15px;
    padding-left: 40px;
}

.rightElement {
    flex: 1; /* La parte destra occupa tutto lo spazio disponibile */
    padding-left:20px;
}


.TC_1 { /*titolo caldaia*/
    display: flex;
    justify-content: center;
    align-items: center;
}
.all_title{
    font-weight:bold;
}

.TC_2 { /*img caldaia*/
    display: flex;
    justify-content: center;
    align-items: center;
}
.TC_2_img {
    height: 160px;
    width: 100px;
    background-image: url('../asset/img/LOC/LOC_1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.TC_3 { /*checkbox caldaia*/
    display: flex;
}
.TC_3_CC { /*contenitore checkbox*/
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.CK {
    margin-right:5px;
}
.RB_2 {
    margin-right: 5px;
    margin-left:15px;
}
.RB {
    margin-right: 5px;
}
.RB_L {
    display: flex;
}

/*SEZIONE ACS*/
.BC_1 { 
    display: flex;
    justify-content: center;
    align-items: center;
}

.BC_2 {
    display: flex;
}
.BC_2_IMG {
    flex: 1;
    height: 160px;
    width: 100%;
    background-image: url('../asset/img/LOC/LOC_4.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.BC_2_CR {
    flex:1;
    display: flex;
    flex-direction:column;
    justify-content:center;
    padding-left:15px;
}
.BC_2_CR_L {
    justify-content: initial;
}
.BC_2_CR_R1 {
    display: flex;
}
.BC_2_CR_R2 {
    display: flex;
}
.BC_2_CR_R3 {
    display: flex;
}

.BC_3 {
    display: flex;
    flex-direction: column;
}
.BC_3_L {
    justify-content: initial;
}
.BC_3_R1 {
    display: flex;
}
.BC_3_R2 {
    display: flex;
}
.BC_3_R3 {
    display: flex;
    margin-bottom:10px;
}
.BC_3_D1_B{
    margin-left:10px;
    margin-right:20px;
}
.BC_3_D2_B {
    margin-left: 10px;
}
.MB_10{
    margin-bottom:10px;
}
.BC_3_D2 {
}
.BC_3_D3 {
}

/* ZONA CIRCOLATORI */
/*
.cirContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}*/

.cirSlot {
    height:170px;
    width: 20%;
    margin: 1.66%;
    text-align: center;
    box-sizing: border-box;
    border:1px solid black;
    border-radius:22px;
    padding:15px;
    position:relative;
}

.enableCir{
    position:absolute;
    top:15px;
    left:15px;
}

.cirImg {
    flex: 1;
    height: 60px;
    width: 100%;
    background-image: url('../asset/img/CIR/CIR_1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.plantSide {
    position: absolute;
    display: flex;
    right: 15px;
    top: 15px;
    flex-direction: column;
}

.coolSide {
    display: flex !important;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 44px;
    width: 44px;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: lightgray;
    color:grey;
}
.coolActive{}
.coolActive:hover {
    background-color: lightskyblue;
    cursor:pointer;
}
.coolSideSelect {
    background-color: cornflowerblue;
    color: white;
}
.hotSide {
    display: flex !important;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 44px;
    width: 44px;
    border-radius: 5px;
    background-color: lightgray;
    color: grey;
}
.hotActive {}
.hotActive:hover {
    background-color: lightsalmon;
    cursor: pointer;

}
.hotSideSelect {
    background-color: orangered;
    color:white;
}

.cirName{
    position:relative;
    top:110px;
    width:100%;
}

.cirActive {
    background-color: rgba(203,228,205,0.5);
}


/* ZONA FANCOIL*/
.ico_unit_type_0 {
    background-image: url('../asset/img/idu/floor.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 200px;
    width: 100%;
}
.ico_unit_type_1 {
    background-image: url('../asset/img/idu/duct.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 200px;
    width: 100%;
}
.ico_unit_type_2 {
    background-image: url('../asset/img/idu/cassette.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 200px;
    width: 100%;
}
.ico_unit_type_3 {
    background-image: url('../asset/img/idu/wall.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 200px;
    width: 100%;
}
.ico_unit_type_4 {
    background-image: url('../asset/img/idu/ahu.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 200px;
    width: 100%;
}

/*contenitore dinamico zona slave*/
.containerSlaveZone {
    border-radius: 15px;
    background-color: #b8b894;
    position:relative;
}

/* tasto per clonare i dati della zona slave nella successiva*/
.cloneSlaveButton {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 38px;
    height: 38px;
    color: var(--leftBarBg);
}
    .cloneSlaveButton:hover {
        color: var(--navBarA);
        cursor:pointer;
    }

.fa-toggle-off:hover {
    color: #007bff; /* Cambia il colore dell'icona */
    transform: scale(1.1); /* Aumenta leggermente la dimensione dell'icona */
    cursor: pointer; /* Cambia il cursore del mouse in una mano */
}

.fa-toggle-on:hover {
    color: #888; /* Cambia il colore dell'icona */
    transform: scale(1.1);
    cursor: pointer;
}

/*stile per occhio immagini termostati*/
.imgTer{
    margin-left:10px;
}
.imgTer:hover{
    color:royalblue;
}

/*stile visualizzatore foto*/
.imgShowContainer {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* ZONA MZC */

.mzcZoneContainer {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
}

.topContainerMzc {
    flex: 0 0 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../asset/img/IDU/ahu.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.midleContainerMzc {
    height: 90px;
    justify-content: center;
    align-items: center;
    display:flex;
}

.mzcZoneContainerDown {
    display: flex;
    gap: 10px;
    margin: 10px;
    height: 100%;
}

.zoneContainerMzc {
    flex-grow: 1;
    display: flex;
    /* justify-content: center;*/
    align-items: center;
    flex-direction: column;
    padding: 10px;
    border-radius: 15px;
    background-color: #b8b894;
    height:20%;
}

.mzcZoneImg {
    background-image: url('../asset/img/IDU/griglia.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top:10px;
    margin-bottom:10px;
    height: 120px;
    width: 100%;
}

.mzcRadContainer {
    border-top: solid 1px black;
    margin-top:20px;
}

.imgRadMzc {
    background-image: url('../asset/img/IDU/radMzc.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 10px;
    margin-bottom: 10px;
    height: 90px;
    width: 100%;
}

/* zona recuperatori */
.recZoneContainer {
    width: 100%;
    height: 100%;
    flex-direction: column;
    flex-grow: 1;
    display: flex;
    /* justify-content: center;*/
    align-items: center;
    flex-direction: row;
    padding: 80px;
    gap: 30px;
}

.recContainer {
    flex: 1; /* Ogni figlio si espande per occupare una frazione uguale dello spazio disponibile */
    color: black;
    padding: 20px;
    text-align: center;
    border: solid 2px gray;
    border-radius: 22px;
}

.imgRec {
    background-image: url('../asset/img/IDU/rec.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 10px;
    margin-bottom: 10px;
    height: 220px;
    width: 100%;
    margin-top:20px;
    margin-bottom:20px;
}