﻿* {
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
}


input {
    text-align: center;
    border: 1px solid #ccc !important;
    font-family: 'Roboto', sans-serif;
}

   

    body {
        width: 100%;
        font-family: 'Roboto', sans-serif;
        position: relative;
    }

.cont {
    margin-left: 10.5% !important
}

.off {
    width: 100%;
    height: 100%;
    background-color: rgba(150, 150, 150, 0.85);
}

.opacity {
    opacity: 1 !important;
}

.center {
    display: inline-block;
    margin-left: 45%;
}

.space {
    margin-bottom: 3% !important;
    position: fixed;
    bottom: -17px;
    left: 5%;
    z-index: 999;
}

.tabella {
    margin-left: 20%;
    width: 80%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    overflow-x: hidden;
}

.small-menu {
    height: 100vh;
    background-color: #636366;
    padding-top: 4%;
    padding-right: 0 !important;
    padding-left: 0 !important;
    width: 18% !important;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    margin-left: -2% !important;
    transition: all 0.4s;
    position: relative;
}

.small-width {
    width: 100% !important;
    margin: 0 auto !important;
    position: static !important;
    left: auto !important;
}

.col-2 {
    position: relative;
}


.schedu {
    position: relative;
}

input[type="checkbox"] {
    display: inline-block;
    width: 20px!important;
    height: 1.8vh!important;
}
    /*-----------------------------SCHERMATA LOGIN------------------------------*/
    .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3vh;
}
    span#lb_versione{
        display:flex;
        align-items:center;
        justify-content:center;
        margin-top:20px;
        font-family:Roboto,sans-serif;
            }
.home-flex #form1  span#lb_tipo {
    display: inline-block;
    margin-top:20px;
    width: 100%;
    text-align:center;
    font-weight:bold;
    font-size:30px;
    text-transform:unset;
}
.home-flex #form1 span#lb_licenze {
    display: inline-block;
    margin-top: 20px;
    width: 100%;
    text-align: center;
   font-size:18px;
    text-transform: unset;
}

.modulo,
.tabella,
.tab-small {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

    
}

#form1 {
    display: block;
    width: 300px;
}


.spot > #form1 {
    display: block;
    width: 300px;
    max-width:none!important;
}

.modulo #form1 span#lb_error {
    display: inline-block;
    padding: 3px 6px;
    width: 103%;
}

.modulo #form1{
    position:relative;
    margin-top: 100px;
}

#tb_id,
#tb_password,
input#tb_mfa{
    display: block;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #d6d6d6 !important;
    height: 30px;
    margin-top: -15px;
    padding: 0 5px;
}
    input#tb_mfa{
        margin-top:20px;
            }

    #form1 > p {
        text-align: center;
        color: #68707b;
        font-size: 25px;
        display: block;
        margin: 35px auto 0 auto;
    }




#btn_login {
    display: inline-block;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 2px solid #ff7d01 !important;
    height: 45px;
    color: #ff7d01;
    background-color: #fff;
    margin: 15px auto 0 auto;
    font-size: 20px;
}

input#btn_invia_mfa {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 2px solid #ff7d01 !important;
    height: 45px;
    background-color: #ff7d01;
    color:#fff;
    margin: 20px auto 25px auto;
    font-size: 20px;
    padding:3px 5px;
}

    #btn_login:hover {
        background-color: #cc6300;
        color: #fff;
    }
#btn_invia_mfa:hover {
   color: #cc6300;
    background-color: #fff;
}
/*-----------------------------AUTOMATION LIST + SET TABELLA BLOCCA AUTOMAZIONI------------------------------*/

.tabella #form1 h1.this {
    display: inline-block;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 5%;
    font-size: 45px;
    color: #333;
    font-weight: lighter;
}

.tabella #form1,
.tabella #form2,
.tab-small #form1 {
    width: 100%;
    margin: 10px;
}

.tabella .div table,
.tab-small .div table {
    margin: 0 auto;
    height: 50%;
}

.tabella #form1 table#dgw_automazioni,
.tab-small #form1 table#dgw_automazioni,
.tabella #form1 table#dgw_storico,
table#dgw_Gateway,
.contenitore-acc #form1 .acc-temp #Panel1 table#dgw_automazioni,
.cont_timer #form1 table#dgw_regole,
.stato_abb #form1 table#dgw_gruppi,
.centra_account #form1 table#dgw_storico,
.stato_abb #form1 table#dgw_automazioni,
.doppia > #form1 table#dgw_automazioni,
.centra_account #form1 table#dgw_regole,
.centra_account #form1 table#dgw_automazioni,
#form1 table#dgw_scenari,
#Pn_riepilogo table#gw_riepilogo,
.centra_account #pn_esclusione table#gw_esclusioni {
    margin: 0 auto;
    width: 100%;
    border: none !important;
}

.spot #form1 table#dgw_scenari {
    margin: 0 auto;
    width: 500px!important;
    border: none !important;
}



.tabella #form1 table#dgw_automazioni tbody tr,
.tab-small #form1 table#dgw_automazioni tbody tr,
.tabella #form1 table#dgw_storico tbody tr,
table#dgw_Gateway tbody tr,
.contenitore-acc #form1 .acc-temp #Panel1 table#dgw_automazioni tbody tr,
.cont_timer #form1 table#dgw_regole tbody tr,
.stato_abb #form1 table#dgw_gruppi tbody tr,
.centra_account #form1 table#dgw_storico tbody tr,
.stato_abb #form1 table#dgw_automazioni tbody tr,
.doppia > #form1 table#dgw_automazioni tbody tr,
.centra_account #form1 table#dgw_regole tbody tr,
.centra_account #form1 table#dgw_automazioni tbody tr,
#form1 table#dgw_scenari tbody tr,
#Pn_riepilogo table#gw_riepilogo tbody tr,
.centra_account #pn_esclusione table#gw_esclusioni tbody tr {
    height: 3rem;
    text-align: center;
    border-radius: 50px;
}

    .tabella #form1 table#dgw_automazioni tbody tr th,
    .tab-small #form1 table#dgw_automazioni tbody tr th,
    .tabella #form1 table#dgw_storico tbody tr th,
    table#dgw_Gateway tbody tr th,
    .contenitore-acc #form1 .acc-temp #Panel1 table#dgw_automazioni tbody tr th,
    .cont_timer #form1 table#dgw_regole tbody tr th,
    .stato_abb #form1 table#dgw_gruppi tbody tr th,
    .centra_account #form1 table#dgw_storico tbody tr th,
    .stato_abb #form1 table#dgw_automazioni tbody tr th,
    .doppia > #form1 table#dgw_automazioni tbody tr th,
    .centra_account #form1 table#dgw_regole tbody tr th,
    .centra_account #form1 table#dgw_automazioni tbody tr th,
    #form1 table#dgw_scenari tbody tr th,
    #Pn_riepilogo table#gw_riepilogo tbody tr th,
    .centra_account #pn_esclusione table#gw_esclusioni tbody tr th  {
        width: 33%;
        background-color: #455a64;
        color: #ffffff;
        font-size: 18px;
        font-weight: lighter;
        border: none;
    }

    .tabella #form1 table#dgw_automazioni tbody tr th,
    .tabella #form1 table#dgw_automazioni tbody tr td,
    .tab-small #form1 table#dgw_automazioni tbody tr th,
    .tab-small #form1 table#dgw_automazioni tbody tr td,
    .tabella #form1 table#dgw_storico tbody tr th,
    .tabella #form1 table#dgw_storico tbody tr td,
    .contenitore-acc #form1 .acc-temp #Panel1 table#dgw_automazion tbody tr th,
    .contenitore-acc #form1 .acc-temp #Panel1 table#dgw_automazioni tbody tr td,
    .cont_timer #form1 table#dgw_regole tbody tr th,
    .cont_timer #form1 table#dgw_regole tbody tr td,
    .stato_abb #form1 table#dgw_gruppi tbody tr td,
    .centra_account #form1 table#dgw_storico tbody tr th,
    .centra_account #form1 table#dgw_storico tbody tr td,
    .stato_abb #form1 table#dgw_automazioni tbody tr td,
    .stato_abb #form1 table#dgw_automazioni tbody tr th,
    .doppia > #form1 table#dgw_automazioni tbody tr td,
    .doppia > #form1 table#dgw_automazioni tbody tr th,
    .centra_account #form1 table#dgw_regole tbody tr th,
    .centra_account #form1 table#dgw_regole tbody tr td,
    .centra_account #form1 table#dgw_automazioni tbody tr td,
    .centra_account #form1 table#dgw_automazioni tbody tr th,
    #form1 table#dgw_scenari tbody tr td,
    #form1 table#dgw_scenari tbody tr th,
    #Pn_riepilogo table#gw_riepilogo tbody tr th,
    #Pn_riepilogo table#gw_riepilogo tbody tr td,
    .centra_account #pn_esclusione table#gw_esclusioni tbody tr th,
    .centra_account #pn_esclusione table#gw_esclusioni tbody tr td  {
        border: none;
    }
    table#dgw_Gateway tbody tr th,
    table#dgw_Gateway tbody tr td,
    .cont_timer #form1 table#dgw_regole tbody tr th,
    .cont_timer #form1 table#dgw_regole tbody tr td,
    .centra_account #form1 table#dgw_storico tbody tr td,
    .stato_abb #form1 table#dgw_automazioni tbody tr td,
    .centra_account #form1 table#dgw_regoletb tbody tr td,
    .centra_account #form1 table#dgw_regole tbody tr th,
    .centra_account #form1 table#dgw_automazioni tbody tr th,
    .centra_account #form1 table#dgw_automazioni tbody tr td,
    #form1 table#dgw_scenari tbody tr th,
    #form1 table#dgw_scenari tbody tr td,
    #Pn_riepilogo table#gw_riepilogo tbody tr th,
    #Pn_riepilogo table#gw_riepilogo tbody tr td,
    .centra_account #pn_esclusione table#gw_esclusioni tbody tr th,
    .centra_account #pn_esclusione table#gw_esclusioni tbody tr td  {
        border: none;
    }

        .tabella #form1 table#dgw_automazioni tbody tr th:first-child,
        .tab-small #form1 table#dgw_automazioni tbody tr th:first-child,
        .tabella #form1 table#dgw_storico tbody tr th:first-child,
        table#dgw_Gateway tbody tr th:first-child,
        .contenitore-acc #form1 .acc-temp #Panel1 table#dgw_automazioni tbody tr th:first-child,
        .cont_timer #form1 table#dgw_regole tbody tr th:first-child,
        .stato_abb #form1 table#dgw_gruppi tbody tr th:first-child,
        .centra_account #form1 table#dgw_storico tbody tr th:first-child,
        .stato_abb #form1 table#dgw_automazioni tbody tr th:first-child,
        .doppia #form1 table#dgw_automazioni tbody tr th:first-child,
        .centra_account #form1 table#dgw_regole tbody tr th:first-child,
        .centra_account #form1 table#dgw_automazioni tbody tr th:first-child,
        #form1 table#dgw_scenari tbody tr th:first-child,
        #Pn_riepilogo table#gw_riepilogo tbody tr th:first-child,
        .centra_account #pn_esclusione table#gw_esclusioni  tbody tr th:first-child{
            border-top-left-radius: 10px;
        }

        .tabella #form1 table#dgw_automazioni tbody tr th:last-child,
        .tab-small #form1 table#dgw_automazioni tbody tr th:last-child,
        .tabella #form1 table#dgw_storico tbody tr th:last-child,
        table#dgw_Gateway tbody tr th:last-child,
        .contenitore-acc #form1 .acc-temp #Panel1 table#dgw_automazioni tbody tr th:last-child,
        .cont_timer #form1 table#dgw_regole tbody tr th:last-child,
        .stato_abb #form1 table#dgw_gruppi tbody tr th:last-child,
        .centra_account #form1 table#dgw_storico tbody tr th:last-child,
        .stato_abb #form1 table#dgw_automazioni tbody tr th:last-child,
        .doppia > #form1 table#dgw_automazioni tbody tr th:last-child,
        .centra_account #form1 table#dgw_regole tbody tr th:last-child,
        .centra_account #form1 table#dgw_automazioni tbody tr th:last-child,
        #form1 table#dgw_scenari tbody tr th:last-child,
        #Pn_riepilogo table#gw_riepilogo tbody tr th:last-child,
        .centra_account #pn_esclusione table#gw_esclusioni  tbody tr th:last-child{
            border-top-right-radius: 10px;
        }


    .tabella #form1 table#dgw_automazioni tbody tr td,
    .tab-small #form1 table#dgw_automazioni tbody tr td,
    .tabella #form1 table#dgw_storico tbody tr td,
    table#dgw_Gateway tbody tr td,
    .contenitore-acc #form1 .acc-temp #Panel1 table#dgw_automazioni tbody tr td,
    .cont_timer #form1 table#dgw_regole tbody tr td,
    .stato_abb #form1 table#dgw_gruppi tbody tr td,
    .centra_account #form1 table#dgw_storico tbody tr td,
    .stato_abb #form1 table#dgw_automazioni tbody tr td,
    .doppia > #form1 table#dgw_automazioni tbody tr td,
    .centra_account #form1 table#dgw_regole tbody tr td,
    .centra_account #form1 table#dgw_automazioni tbody tr td,
    #form1 table#dgw_scenari tbody tr td,
    #Pn_riepilogo table#gw_riepilogo tbody tr td,
    .centra_account #pn_esclusione table#gw_esclusioni tbody tr td  {
        border-bottom: 2px solid #ff7d01;
    }




        .tabella #form1 table#dgw_automazioni tbody tr td a,
        .tab-small #form1 table#dgw_automazioni tbody tr td a,
        table#dgw_Gateway tbody tr td a,
        .cont_timer #form1 table#dgw_regole tbody tr td a,
        .stato_abb #form1 table#dgw_gruppi tbody tr td a,
        .centra_account #form1 table#dgw_storico tbody tr td a,
        .stato_abb #form1 table#dgw_automazioni tbody tr td a,
        .doppia > #form1 table#dgw_automazioni tbody tr td a,
        .centra_account #form1 table#dgw_regole tbody tr td a,
        .centra_account #form1 table#dgw_automazioni tbody tr td a,
        #form1 table#dgw_scenari tbody tr td a,
        #Pn_riepilogo table#gw_riepilogo tbody tr td a,
        .centra_account #pn_esclusione table#gw_esclusioni tbody tr td a  {
            text-decoration: none;
            color: #ff7d01;
            display: inline-block;
            padding: 3px 6px;
            border: 1px solid #cc6300;
            font-size: 15px;
            border-radius: 4px;
        }

            .tabella #form1 table#dgw_automazioni tbody tr td a:hover,
            .tab-small #form1 table#dgw_automazioni tbody tr td a:hover,
            table#dgw_Gateway tbody tr td a:hover,
            .cont_timer #form1 table#dgw_regole tbody tr td a:hover,
            .stato_abb #form1 table#dgw_gruppi tbody tr td a:hover,
            .centra_account #form1 table#dgw_storico tbody tr td a:hover,
            .stato_abb #form1 table#dgw_automazioni tbody tr td a:hover,
            .doppia > #form1 table#dgw_automazioni tbody tr td a:hover,
            .centra_account #form1 table#dgw_regole tbody tr td a:hover,
            .centra_account #form1 table#dgw_automazioni tbody tr td a:hover,
            #form1 table#dgw_scenari tbody tr td a:hover,
            #Pn_riepilogo table#gw_riepilogo tbody tr td a:hover,
            .centra_account #pn_esclusione table#gw_esclusioni tbody tr td a:hover{
                color: #ffffff;
                background-color: #ff7d01;
            }



    
    .stato_abb #form1 table#dgw_automazioni{
        margin-bottom:20px;
    }
    /*-----------------------------STORICO------------------------------*/
    .data_inizio,
    .data_fine,
    .btns_date {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 15px;
    }
    .data_inizio input#tb_data_start,
    .data_fine input#tb_data_end{
        border-radius: 10px;
        padding: 2px 4px;
        border: 1px solid #d6d6d6 !important;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: 'Roboto', sans-serif;
        height: 26px;
        width:175px;
    }

    .data_inizio h3,
    .data_fine h3{
        width:110px;
    }
    .data_fine h3{
        margin-left:5px;
    }

.cerca {
    display: flex;
    justify-content: center;
    align-items: center;
   
    width: 210px !important;
    margin: 0 auto 2% auto;
}
.tabella.tre #form1 > div>.search {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 620px !important;
    margin: 0 auto 2% auto;
    flex-wrap:wrap;
   
}
.visual {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    justify-content: center;
}


.visual-2 {
    display: flex;
    margin-bottom: 20px;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: nowrap;
}



.cerca h3,
.search h3 {
    display: block; 
    font-size: 18px;
    margin-bottom: 0;
    width: fit-content;
    margin-right: 5px;
}

.cerca input#tb_data,
.cerca input#tb_data_f{
    border-radius: 10px;
    padding: 2px 1px 2px 4px;
    border: 1px solid #d6d6d6 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    width: 200px !important;
}
.cerca input#tb_data{
    margin-right:10px;
}
.search input#tb_data {
    border-radius: 10px;
    padding: 2px 4px;
    border: 1px solid #d6d6d6 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    width: 200px !important;
}


.cerca input#btn_cerca,
.cerca input#btn_excell,
.cerca_data input#btn_cerca,
 p > input#btn_cerca_utente{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #cc6300 !important;
    padding: 3px 8px;
    color: #fff;
    background-color: #cc6300;
    font-size: 15px;
}

.search input#btn_cerca,
.search input#btn_excell {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #cc6300 !important;
    padding: 3px 8px;
    color: #fff;
    background-color: #cc6300;
    font-size: 15px;
    margin-left: 5px;
}

    .cerca input#btn_cerca:hover,
    .search input#btn_cerca:hover,
    .search input#btn_excell:hover,
    .cerca input#btn_excell:hover,
    .cerca_data input#btn_cerca:hover {
        background-color: #fff;
        color: #cc6300;
    }

.tabella.tre > #form1 table#dgw_storico {
    margin: 0 auto !important;
    width: 90% !important;
    border: none !important;
}
.tabella.tre #form1 .cerca.tre h3{
    display:inline-block;
    margin-left:3.2%;
}
/*-----------------------------STORICO UTENTE------------------------------*/



/*-----------------------------MENU' LATERALE------------------------------*/
.col-2 {
    height: 100vh;
    background-color: #636366;
    padding-top: 4%;
    padding-right: 0 !important;
    padding-left: 0 !important;
    width: 20%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.col-2-small {
    width: 12% !important;
    padding-right: 5px;
}

.active {
    background-color: #6c6c6f !important;
    font-size: 22px;
}

.nav {
    width: 100%;
}

    .nav a {
        display: flex;
        align-items: center;
        justify-content: left;
        color: #ffffff;
        text-decoration: none;
        font-size: 20px;
        width: 100%;
        padding-left: 15%;
        height: 4rem;
        font-weight: lighter;
    }

        .nav a:hover,
        .nav a.active{
            background-color: #6c6c6f;
            font-size: 22px;
            transition: all 0.2s;
        }

.col-2 .change {
    padding-left: 15%;
    margin-bottom: 100px;
}

    .col-2 .change #Label1,
    .col-2 .change #Label3{
        font-size: 20px;
        color: #fff;
        display: inline-block;
        margin-right: 14%;
        font-weight: lighter;
        font-weight: bold;
    }

    .col-2 .change > a {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        color: #fff;
        text-decoration: none;
        font-size: 15px;
        border-radius: 10px;
        padding: 4px 10px;
        background-color: #ff7d01;
        width: 11vW;
        margin-top: 15px;
    }

    .col-2 .change a:hover {
        background-color: #ff9a3c;
    }


/*-----------------------------BLOCCA UTENTI------------------------------*/

.blocca-utenti-filtri {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    margin: 22px auto 28px auto;
}

.blocca-utenti-filtri .blocca-utenti-dropdowns,
.blocca-utenti-filtri .blocca-utenti-cerca {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.blocca-utenti-filtri .blocca-utenti-cerca input#tb_cerca {
    min-width: 170px;
}

.blocca-utenti-filtri .blocca-utenti-cerca input#btn_cerca_utente {
    margin: 0;
}


.tabella #form2,
.tabella-notifiche #form1{
    width: 100%;
    margin: 0 auto;
}

.tabella .div table {
    margin: 0 auto;
    height: 50%;
}


#pn_centrale .pannel table#dgw_automazioni{
    margin-top:30px!important;
    display:inline-block;
}

.tabella #form2 table#dgw_utenti,
.contenitore-acc #form1 .acc-temp table#dgw_accessi,
.contenitore-acc #form1 .acc-temp #Panel1 table#dgw_utenti,
#pn_centrale .pannel table#dgw_automazioni,
.centra_account #form1 table#dgw_utenti,
.stato_abb > #form1 table#dgw_gateway,
.app_delete_user > #form1 table#dgw_utenti,
.tabella-notifiche #form1 table#dgw_automa,
#Panel1 .tab_pannel_notifiche table#dgw_utenti{
    margin: 0 auto;
    width: 100%;
    border: none;
}

    .tabella #form2 table#dgw_utenti tbody,
    .contenitore-acc #form1 .acc-temp table#dgw_accessi tbody,
    .contenitore-acc #form1 .acc-temp #Panel1 table#dgw_utenti tbody,
    #pn_centrale .pannel table#dgw_automazioni tbody,
    .centra_account #form1 table#dgw_utenti tbody,
    .stato_abb > #form1 table#dgw_gateway tbody,
    .app_delete_user > #form1 table#dgw_utenti tbody,
    .tabella-notifiche #form1 table#dgw_automa tbody,
    #Panel1 .tab_pannel_notifiche table#dgw_utenti tbody {
        width: 100% !important;
    }


        .tabella #form2 table#dgw_utenti tbody tr,
        .contenitore-acc #form1 .acc-temp table#dgw_accessi tbody tr,
        .contenitore-acc #form1 .acc-temp #Panel1 table#dgw_utenti tbody tr,
        #pn_centrale .pannel table#dgw_automazioni tbody tr,
        .centra_account #form1 table#dgw_utenti tbody tr,
        .stato_abb > #form1 table#dgw_gateway tbody tr,
        .app_delete_user > #form1 table#dgw_utenti tbody tr,
        .tabella-notifiche #form1 table#dgw_automa tbody tr,
        #Panel1 .tab_pannel_notifiche table#dgw_utenti tbody tr  {
            height: 3rem;
            text-align: center;
            border-radius: 50px;
        }

            .tabella #form2 table#dgw_utenti tbody tr th,
            .contenitore-acc #form1 .acc-temp table#dgw_accessi tbody tr th,
            .contenitore-acc #form1 .acc-temp #Panel1 table#dgw_utenti tbody tr th,
            #pn_centrale .pannel table#dgw_automazioni tbody tr th,
            .centra_account #form1 table#dgw_utenti tbody tr th,
            .stato_abb > #form1 table#dgw_gateway tbody tr th,
            .app_delete_user > #form1 table#dgw_utenti tbody tr th,
            .tabella-notifiche #form1 table#dgw_automa tbody tr th,
            #Panel1 .tab_pannel_notifiche table#dgw_utenti tbody tr th  {
                width: 15%;
                background-color: #455a64;
                color: #ffffff;
                font-size: 22px;
                font-weight: lighter;
            }

            .tabella #form2 table#dgw_utenti tbody tr th,
            .tabella #form2 table#dgw_utenti tbody tr td,
            .contenitore-acc #form1 .acc-temp table#dgw_accessi tr th,
            .contenitore-acc #form1 .acc-temp table#dgw_accessi tr td,
            .contenitore-acc #form1 .acc-temp #Panel1 table#dgw_utenti tbody th,
            .contenitore-acc #form1 .acc-temp #Panel1 table#dgw_utenti tbody tr td,
            #pn_centrale .pannel table#dgw_automazioni tbody tr th,
            #pn_centrale .pannel table#dgw_automazioni tbody tr td,
            .centra_account #form1 table#dgw_utenti tbody tr th,
            .centra_account #form1 table#dgw_utenti tbody tr td,
            .stato_abb > #form1 table#dgw_gateway tbody tr th,
            .stato_abb > #form1 table#dgw_gateway tbody tr td,
            .app_delete_user > #form1 table#dgw_utenti tbody tr th,
            .app_delete_user > #form1 table#dgw_utenti tbody tr td,
            .tabella-notifiche #form1 table#dgw_automa tbody tr th,
            .tabella-notifiche #form1 table#dgw_automa tbody tr td,
            #Panel1 .tab_pannel_notifiche table#dgw_utenti tbody tr th,
            #Panel1 .tab_pannel_notifiche table#dgw_utenti tbody tr td  {
                border: none;
            }

                .tabella #form2 table#dgw_utenti tbody tr th:first-child,
                .contenitore-acc #form1 .acc-temp table#dgw_accessi tbody tr th:first-child,
                .contenitore-acc #form1 .acc-temp #Panel1 table#dgw_utenti tbody tr th:first-child,
                #pn_centrale .pannel table#dgw_automazioni tbody tr th:first-child,
                .centra_account #form1 table#dgw_utenti tbody tr th:first-child,
                .stato_abb > #form1 table#dgw_gateway tbody tr th:first-child,
                .app_delete_user > #form1 table#dgw_utenti tbody tr th:first-child,
                .tabella-notifiche #form1 table#dgw_automa tbody tr th:first-child,
                #Panel1 .tab_pannel_notifiche table#dgw_utenti tbody tr th:first-child{
                    border-top-left-radius: 10px;
                }

                .tabella #form2 table#dgw_utenti tbody tr th:last-child,
                .contenitore-acc #form1 .acc-temp table#dgw_accessi tbody tr th:last-child,
                .contenitore-acc #form1 .acc-temp #Panel1 table#dgw_utenti tbody tr th:last-child,
                #pn_centrale .pannel table#dgw_automazioni tbody tr th:last-child,
                .centra_account #form1 table#dgw_utenti tbody tr th:last-child,
                .stato_abb > #form1 table#dgw_gateway tbody tr th:last-child,
                .app_delete_user > #form1 table#dgw_utenti tbody tr th:last-child,
                .tabella-notifiche #form1 table#dgw_automa tbody tr th:last-child,
                #Panel1 .tab_pannel_notifiche table#dgw_utenti tbody tr th:last-child {
                    border-top-right-radius: 10px;
                }


            .tabella #form2 table#dgw_utenti tbody tr td,
            .contenitore-acc #form1 .acc-temp table#dgw_accessi tbody tr td,
            .contenitore-acc #form1 .acc-temp #Panel1 table#dgw_utenti tbody tr td,
            #pn_centrale .pannel table#dgw_automazioni tbody tr td,
            .centra_account #form1 table#dgw_utenti tbody tr td,
            .stato_abb > #form1 table#dgw_gateway tbody tr td,
            .app_delete_user > #form1 table#dgw_utenti tbody tr td,
            .tabella-notifiche #form1 table#dgw_automa tbody tr td,
            #Panel1 .tab_pannel_notifiche table#dgw_utenti  tbody tr td {
                border-bottom: 2px solid #ff7d01;
                background-color: #fff;
            }




                .tabella #form2 table#dgw_utenti tbody tr td a,
                .contenitore-acc #form1 .acc-temp table#dgw_accessi tbody tr td a,
                .contenitore-acc #form1 .acc-temp #Panel1 table#dgw_utenti tbody tr td a,
                #pn_centrale .pannel table#dgw_automazioni tbody tr td a,
                .centra_account #form1 table#dgw_utenti tbody tr td a,
                .stato_abb > #form1 table#dgw_gateway tbody tr td a,
                .app_delete_user > #form1 table#dgw_utenti tbody tr td a,
                .tabella-notifiche #form1 table#dgw_automa tbody tr td a,
                #Panel1 .tab_pannel_notifiche table#dgw_utenti  tbody tr td a {
                    text-decoration: none;
                    color: #ff7d01;
                    display: inline-block;
                    padding: 3px 6px;
                    border: 1px solid #cc6300;
                    font-size: 15px;
                    border-radius: 4px;
                }

                    .tabella #form2 table#dgw_utenti tbody tr td a:hover,
                    .contenitore-acc #form1 .acc-temp table#dgw_accessi tbody tr td a:hover,
                    .contenitore-acc #form1 .acc-temp #Panel1 table#dgw_utenti tbody tr td a:hover,
                    #pn_centrale .pannel table#dgw_automazioni tbody tr td a:hover,
                    .centra_account #form1 table#dgw_utenti tbody tr td a:hover,
                    .stato_abb > #form1 table#dgw_gateway tbody tr td a:hover,
                    .app_delete_user > #form1 table#dgw_utenti tbody tr td a:hover,
                    .tabella-notifiche #form1 table#dgw_automa tbody tr td a:hover,
                    #Panel1 .tab_pannel_notifiche table#dgw_utenti  tbody tr td a:hover{
                        color: #ffffff;
                        background-color: #ff7d01;
                    }

.logo-storico {
    margin-bottom: 3% !important;
    margin-top: 3% !important;
}

.tabella #form2,
.tab-small #form1,
.tabella-notifiche #form1  {
    position: relative;
}

.pannello-modale {
    position: absolute;
    top: 40px;
    left: 30vw;
    width: 500px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #333;
    z-index: 1000;
}

    .tabella #form2 .pannel
     {
    position: absolute;
    top: 5vw;
    left: 28vw;
    width: 400px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #333;
} 
    .centra_account #pn_esclusione {
        position: absolute;
        top: 14vh;
        left: 46.5vw;
        width: 400px;
        padding: 15px;
        background-color: #f5f5f5;
        border-radius: 10px;
        box-shadow: 0px 0px 10px #333;
    }

        .tabella #form2 .pannel .linea {
            width: 83%;
            height: 0.7%;
            background-color: #cc6300;
            display: block;
            margin: 2% auto 2% auto;
            position: absolute;
            top: 37%;
            left: 8%;
        }

       
        .tabella #form2 .pannel .sel {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 3%;
            width: 100%;
        }
        
        .tabella #form2 .pannel .state{
            display: inline-block;
            justify-content: center;
            align-items: center;
            margin-bottom: 3%;
            width: 100%;
        }

        .tabella #form2 .pannel .sel {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 4%;
            margin-top: 6%;
            font-weight: bold;
        }

            .tabella #form2 .pannel .state p,
            .tabella #form2 .pannel .sel > p {
                display: inline-block;
                margin-right: 1%;
            }

            /* Rinomina utenti: etichetta e textbox centrati nel pannello */
            .tabella #form2 .pannel .state.rinomina-nome p {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 100%;
                margin: 0;
            }

        .tabella #form2 .pannel #lb_nome_utente {
            margin: 0 13px;
        }



        .tabella #form2 .pannel input#btn_modifica,
        .tabella #form2 .pannel input#btn_conferma,
        .tab-small #form1 .pannel input#btn_modifica,
        input#btn_select_all,
        input#btn_select_all_copia,
        #Panel1 input#btn_modifica{
            color: #fff;
            text-decoration: none;
            font-size: 15px;
            border-radius: 10px;
            padding: 5px 10px;
            background-color: #ff7d01;
            border: 1px solid #ff7d01 !important;
            display: block;
            width: 35%;
            margin-left: auto;
            margin-right: auto;
            margin-top: 5%;
        }

            .tabella #form2 .pannel input#btn_modifica:hover,
            .tabella #form2 .pannel input#btn_conferma:hover,
            .tab-small #form1 .pannel input#btn_modifica:hover,
            input#btn_select_all:hover,
            input#btn_select_all_copia:hover,
            #Panel1 input#btn_modifica:hover{
                background-color: transparent;
                color: #ff7d01;
            }

        .tabella #form2 .pannel input#btn_close {
            display: inline-block;
            width: 20px;
            height: 20px;
            position: absolute;
            top: 10px;
            right: 10px;
        }

/* Mantiene i pannelli di Blocca utenti e Amministratori dentro il viewport. */
.tabella #form2 #pn_centrale {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2000 !important;
    pointer-events: none;
}

.tabella #form2 #pn_centrale .pannel {
    position: fixed !important;
    top: 50% !important;
    left: calc(50% + 8vw) !important;
    transform: translate(-50%, -50%) !important;
    width: 400px !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - 48px) !important;
    overflow: hidden !important;
    pointer-events: auto;
}

.tabella #form2 #pn_centrale .pannel table#dgw_automazioni {
    display: block !important;
    max-height: calc(100vh - 265px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.tabella #form2 #pn_centrale .pannel table#dgw_automazioni tbody {
    display: table !important;
    width: 100% !important;
}
/*-----------------------------BLOCCA AUTOMAZIONI------------------------------*/

.tab-small > #form1 table#dgw_automazioni tbody tr th {
    width: 20% !important;
}

.tab-small #form1 .pannel .linea {
    width: 83%;
    height: 0.5%;
    background-color: #cc6300;
    display: block;
    margin: 2% auto 2% auto;
    position: absolute;
    top: 37%;
    left: 8%;
}

.tab-small #form1 .pannel {
    position: absolute;
    top: 27vh;
    left: 27.6%;
    width: 45%;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #333;
   
}

    .tab-small #form1 .pannel .state,
    .tab-small #form1 .pannel .sel {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 2%;
    }

.tab-small > #form1 .pannel .state p,
.tab-small > #form1 .pannel .sel p {
    display: inline-block;
    font-size: 16px !important;
}

.tab-small #form1 .pannel .state p {
    margin-top: 0 !important;
    margin-right: 4%;
}

.tab-small #form1 .pannel .sel p {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.tab-small #form1 .pannel .sel {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
    margin-bottom: 4%;
    margin-top: 6%;
    font-weight: bold;
}

.tab-small #form1 .pannel input#btn_close {
    display: inline-block;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 15px;
    right: 15px;
}


#Panel_temporizzata{
    display:inline-block;
    width:100%;
    text-align:center;
}

.tab-small #form1 .pannel span#lb_nome_automazione,
.tab-small #form1 .pannel span#lb_automazione {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 16px !important;
}

.tab-small #form1 .pannel span#lb_nome_automazione {
    padding: 0px 5px;
}
/*-----------------------------SCHEDULAZIONE------------------------------*/



.riga-dp {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.riga-cerca {
    display: flex;
    align-items: center;
    gap: 8px;
}

div#pn_cerca {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

span#lb_prima_tabella {
    display: block;
    position: static;
    width: 100%;
    text-align: center;
    font-size: 27px;
    font-weight: lighter;
    margin-top: 20px;
}



.schedu .change a {
    margin-right: 6% !important;
}

.tabella #form1 {
    width: 100%;
    margin: 0 auto;
}

.tabella .div table {
    margin: 0 auto;
    height: 50%;
}

.tabella #form1 table#dgw_utenti {
    margin: 25px auto 0 auto !important;
    width: 100% !important;
    max-width: 700px;
    display: table;
}

    .tabella #form1 table#dgw_utenti tbody {
        width: 100% !important;
    }


        .tabella #form1 table#dgw_utenti tbody tr {
            height: 3rem;
            text-align: center;
            border-radius: 50px;
        }

            .tabella #form1 table#dgw_utenti tbody tr th {
                width: 15%;
                background-color: #455a64;
                color: #ffffff;
                font-size: 22px;
                font-weight: lighter;
            }

            .tabella #form1 table#dgw_utenti tbody tr th,
            .tabella #form1 table#dgw_utenti tbody tr td {
                border: none;
            }

                .tabella #form1 table#dgw_utenti tbody tr th:first-child {
                    border-top-left-radius: 10px;
                }

                .tabella #form1 table#dgw_utenti tbody tr th:last-child {
                    border-top-right-radius: 10px;
                }


            .tabella #form1 table#dgw_utenti tbody tr td {
                border-bottom: 2px solid #ff7d01;
            }




                .tabella #form1 table#dgw_utenti tbody tr td a {
                    text-decoration: none;
                    color: #ff7d01;
                    display: inline-block;
                    padding: 3px 6px;
                    border: 1px solid #cc6300;
                    font-size: 15px;
                    border-radius: 4px;
                }

                    .tabella #form1 table#dgw_utenti tbody tr td a:hover {
                        color: #ffffff;
                        background-color: #ff7d01;
                    }

                .tabella #form1 table#dgw_utenti tbody tr td:last-child{
                    color:red;
                }

                .logo-storico {
                    margin-bottom: 3% !important;
                    margin-top: 3% !important;
                }

.utente {
    display: block;
    position: relative
}

    .utente p {
        display: inline-block;
    }

    .utente span#lb_warning{
        text-align:center;
        display:inline-block;
        width:100%;
    }

.info {
    display: inline-block;
    width: 35%;
    margin-left: 3%;
}

    .info.this {
        width: 100% !important;
        margin: 0 auto !important;
    }

.flexy {
    display: flex;
    justify-content: center;
    padding-left: 19%;
    width: 100%;
    position: relative;
}

    .flexy.this {
        width: 100%;
        padding-left: 0;
        margin-left: 0;
    }

.tabella #form1 .flexy p {
    font-size: 20px !important;
    text-align: center;
    font-weight: normal;
    padding-left: 0 !important;
    margin-left:1%;

}

.tabella #form1 .flexy h4 {
    font-size: 20px !important;
    text-align: left;
    font-weight: normal;
    padding-left: 0 !important;
    display: block;
    margin: 3% auto 6% 33.5%;
}

.day {
    display: flex;
}



.tabella #form1 .info table#dgw_regole {
    margin: 0 auto 4% auto;
    width: 100%;
    border: none;
}

.tabella #form1 table#dgw_regole tbody {
    width: 100% !important;
}


    .tabella #form1 table#dgw_regole tbody tr {
        height: 3rem;
        text-align: center;
        border-radius: 50px;
    }

        .tabella #form1 table#dgw_regole tbody tr th {
            width: 15%;
            background-color: #455a64;
            color: #ffffff;
            font-size: 22px;
            font-weight: lighter;
        }

        .tabella #form1 table#dgw_regole tbody tr th,
        .tabella #form1 table#dgw_regole tbody tr td {
            border: none;
        }

            .tabella #form1 table#dgw_regole tbody tr th:first-child {
                border-top-left-radius: 10px;
            }

            .tabella #form1 table#dgw_regole tbody tr th:last-child {
                border-top-right-radius: 10px;
            }


        .tabella #form1 table#dgw_regole tbody tr td {
            border-bottom: 2px solid #ff7d01;
        }




            .tabella #form1 table#dgw_regole tbody tr td a {
                text-decoration: none;
                color: #ff7d01;
                display: inline-block;
                padding: 3px 6px;
                border: 1px solid #cc6300;
                font-size: 15px;
                border-radius: 4px;
            }

                .tabella #form1 table#dgw_regole tbody tr td a:hover {
                    color: #ffffff;
                    background-color: #ff7d01;
                }


#form1 .flexy.this .small-width input#tb_cerca {
    border-radius: 10px;
    padding: 2px 4px;
    border: 1px solid #d6d6d6 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    height: 26px;
}

.ricerca-schedu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

    
    input#btn_back {
        height: 25px;
        border-radius: 10px;
        padding: 0.9% 0 !important;
        background-color: #ff7d01;
        color: white;
        display: inline-block;
        margin-left: 2px;
        width: 90px;
        border-color: #ff7d01!important;
    }

.ricerca-schedu input#btn_cerca_utente

{
    height: 25px;
    border-radius: 10px;
    padding: 0.9% 0 !important;
    background-color: #ff7d01;
    color: white;
    display: inline-block;
    margin-left: 2px;
    border-color: #ff7d01 !important;
}
    .ricerca-schedu input#btn_cerca_utente:hover,
    input#btn_back:hover,
    .cerca_notifiche input#btn_cerca_utente:hover,
    p > input#btn_cerca_utente:hover {
        background-color: #fff;
        color: #ff7d01;
    }


        .utente .dati {
            display: inline;
        }

.dati span#lb_utente {
    display: inline-block;
}

.dati span#id_utente {
    display: inline-block;
}

.utente .dati p:first-child {
    display: block;
    margin: 20px auto 0 auto;
    text-align: center;
}

.day p {
    margin-bottom: 0 !important;
    width: 18% !important;
    margin-right: 25px;
    display: inline-block;
}
.day {
    display: flex!important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width:300px;
    margin:0 auto;
}
.day,
.ore {
   
    display: flex;
    justify-content: center;
    align-items: center;
}
.day p.giorno{
    display:inline-block;
    margin-bottom:20px!important;
}
select#lst_giorno {
    border-radius: 10px;
    border: 1px solid #6c6c6f;
    padding: 0.9% 0 !important;
    margin-bottom: 20px;
}

select#dp_vista,
select#dp_selezione_gruppo,
select#dp_selezione_automazione,
select#dp_selezione_categoria,
select#Dp_categoria {
    border-radius: 10px;
    border: 1px solid #6c6c6f;
    padding: 5px 10px !important;
    height: 30px;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    margin-right: 3px;
}

.riga-categoria {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

    .riga-categoria select,
    .riga-categoria input[type="submit"] {
        height: 32px; /* stessa altezza */
    }

.ore p {
    display: inline-block;
    margin-left: 19px;
    margin-right: 1px;
}

    .ore p:last-child {
        display: inline-block;
        margin-left: 5%;
    }

input#dt1 {
    width: 90px;
    height: 25px;
    border-radius: 10px;
    border: 1px solid #6c6c6f;
    padding: 0.9% 0 !important;
}

input#dt2 {
    border-radius: 10px;
    border: 1px solid #6c6c6f;
    width: 90px;
    height: 25px;
    padding: 0.9% 0 !important;
}

input#btn_imposta,
input#btn_copia_all,
input#btn_copy_user {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    border-radius: 10px;
    padding: 5px 10px;
    background-color: #ff7d01;
    border: 1px solid #ff7d01 !important;
    display: block;
    margin: 5% auto 5% auto;
    width: 265px;
}

    input#btn_imposta:hover,
    input#btn_copia_all:hover,
    input#btn_copy_user:hover {
        background-color: transparent;
        color: #ff7d01;
    }

input#btn_copia,
input#btn_massa,
input#btn_elimina,
input#btn_copia_confirm {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    border-radius: 10px;
    padding: 5px 10px;
    background-color: #ff7d01;
    border: 1px solid #ff7d01 !important;
    display: block;
    width: 35%;
}

#btn_copia_confirm {
    margin: 0 auto -3% auto !important;
}

#btn_elimina {
    width: 37% !important;
    display: inline-block;
    margin-left: 9%;
}

#btn_copia,
#btn_massa {
    width: 37% !important;
    margin-left: 6%;
    margin-right: 4%;
}

.informazioni input#btn_copia {
    width: 231px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #cc6300 !important;
    padding: 3px 8px;
    color: #fff;
    background-color: #ff7d01;
    font-size: 15px;
    margin-top: 15px;
}

.informazioni input#btn_massa {
    width: 231px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #cc6300 !important;
    padding: 3px 8px;
    color: #fff;
    background-color: #ff7d01;
    font-size: 15px;
    margin-top: 15px;
}

.bottoni {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

table#dgw_copia {
    display: block;
    width: 100% !important;
}

table#dgw_copia {
    border-style: none;
    border-color: inherit;
    border-width: medium;
    margin: 5% auto 4% auto;
    width: 100%;
    top: 0px;
    left: 0px;
}

    table#dgw_copia tbody {
        width: 100% !important;
    }

        table#dgw_copia tbody tr {
            height: 3rem;
            text-align: center;
            border-radius: 50px;
        }

            table#dgw_copia tbody tr th {
                width: 15%;
                background-color: #455a64;
                color: #ffffff;
                font-size: 22px;
                font-weight: lighter;
            }

            table#dgw_copia tbody tr th,
            table#dgw_copia tbody tr td {
                border: none;
            }

                table#dgw_copia tbody tr th:first-child {
                    border-top-left-radius: 10px;
                }

                table#dgw_copia tbody tr th:last-child {
                    border-top-right-radius: 10px;
                }


            table#dgw_copia tbody tr td {
                border-bottom: 2px solid #ff7d01;
            }




                table#dgw_copia tbody tr td a {
                    text-decoration: none;
                    color: #ff7d01;
                    display: inline-block;
                    padding: 3px 6px;
                    border: 1px solid #cc6300;
                    font-size: 15px;
                    border-radius: 4px;
                }

                    table#dgw_copia tbody tr td a:hover {
                        color: #ffffff;
                        background-color: #ff7d01;
                    }

.flexy .line {
    display: none;
}

#Panel1 > .pannel.this {
    position: fixed;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    width: 460px;
    max-width: calc(80vw - 40px);
    max-height: 80vh;
    padding: 24px;
    background-color: #f5f5f5 !important;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    z-index: 2000 !important;
    overflow-y: auto;
    box-sizing: border-box;
    text-align: center;
    right: auto;
}

    #Panel1 > .pannel.this .cont {
        margin-left: 0 !important;
        width: 100%;
    }

    #Panel1 > .pannel.this .visual {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    #Panel1 > .pannel.this .riga-dp,
    #Panel1 > .pannel.this .riga-cerca {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        width: 100%;
    }

    #Panel1 > .pannel.this span#lb_copia {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 20px;
        margin-bottom: 12px;
    }

    #Panel1 > .pannel.this table#dgw_copia {
        display: table;
        width: 100% !important;
        margin: 18px auto !important;
        table-layout: fixed;
    }

    #Panel1 > .pannel.this input#btn_select_all_copia,
    #Panel1 > .pannel.this input#btn_copia_confirm {
        width: 180px !important;
        margin: 14px auto 0 auto !important;
    }

    #Panel1 > .pannel.this input#btn_close {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 16px;
        height: 16px;
        border: none;
        background: transparent;
        cursor: pointer;
    }

.tabella #form1 span#lb_warning {
    display: inline-block;
    margin: 3% auto 12% auto;
    text-align: center;
}

.tabella #form1 .utente .linea-schedu {
    width: 20%;
    height: 1px;
    background-color: #cc6300;
    margin: 0 auto;
    display: block;
    position: absolute;
    top: 80%;
    width: 100%;
}

.tabella #form1 span#lb_error {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    display: inline-block;
}

.tabella #form1 #Panel1 .pannel.this input#btn_close {
    display: inline-block;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
}


.cont span#lb_copia{
    display:inline-block;
    width:100%;
    text-align:center;
    font-size:22px;
}


.tabella #form1 {
    position: relative;
}

.info .day #lb_error {
    font-size: 25px;
    display: inline-block;
    width: 100%;
    margin: 2% auto;
}

.utenti .dati p:first-child {
    display: block;
    margin-top: 25%;
}

.set_days, .set_days input{
    display:inline-block;
    justify-content:center;
    align-items:center;
    margin:0 auto;
    width:100%;
    text-align:center;
   
    

}

.set_days p.days{
    display:inline-block!important;
    width:100%!important;
    text-align:center!important;
    margin:0 auto 20px auto!important;
}










/*-----------------------------UTENTI------------------------------*/

.contenitore {

    width: calc(100vw - 20%);
    max-width: calc(100vw - 20%);
    margin-left: 20%;
    box-sizing: border-box;
}

    .contenitore.this-2 .tabella.questa {
        display: inline-block;
        width: 23% !important;
        margin-left: 21%;
    }



#form1 .contenitore.this-2 .cerca {
    position: absolute;
    top: 15vH;
    left: 30.2%;
    z-index: 999;
}

.app_ {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 5%;
    margin-bottom: 5%;
}
.app_ .b1,
.app_ .b2{
    text-align:center ;
}

.cerca_under_visual {
    position: static !important;
    top: auto !important;
    left: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 20px auto !important;
}


#form1 .contenitore.this-2 .cerca input#btn_cerca_utente {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #cc6300 !important;
    padding: 3px 8px;
    color: #ff7d01;
    background-color: #fff;
    font-size: 15px;
    margin: 0 2%;
}

#form1 .contenitore.this-2 .cerca input#tb_cerca{
    border-radius: 10px;
    padding: 2px 4px;
    border: 1px solid #d6d6d6 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    height: 26px;
}


input#tb_codice_wiengand {
    border-radius: 10px;
    padding: 2px 4px;
    border: 1px solid #d6d6d6 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    height: 26px;
    margin: 15px 10px;
}

#Panel5 .wiengand-campi {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-height: 38px;
    margin: 4px 0 10px;
}

#Panel5 .wiengand-form {
    width: 100%;
}

#Panel5 .wiengand-gruppo,
#Panel5 .wiengand-tipo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

#Panel5 .wiengand-campi input#tb_codice_wiengand {
    width: 90px;
    margin: 15px 4px;
}

#Panel5 .wiengand-rc-campi {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-bottom: 10px;
}

#Panel5 .wiengand-dettagli {
    width: 100%;
    
    margin: 8px 0 18px;
    line-height: 1.4;
    text-align: center;
}

#Panel5 .wiengand-azioni {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin: 0 auto 20px;
    text-align: center;
}

#Panel5 .wiengand-azioni p {
    margin: 0;
}

#Panel5 .wiengand-titolo-tabella {
    width: 100%;
    margin: 8px 0 20px;
    color: #cc6300;
    font-size: 21px;
    font-weight: normal;
    text-align: center;
}

#Panel5 .wiengand-rc-campi select#dp_tasto_wiengand {
    width: 78px;
}

#Panel5 .wiengand-rc-campi select#dp_automazione_wiengand {
    width: 130px;
}



#form1 .contenitore.this-2 .cerca input#btn_cerca_utente:hover {
    color: #fff;
    background-color: #cc6300;
}




.contenitore.this-2 .tabella.questa #dgw_utenti {
    margin: 9vh auto 0 15%;
    width: 100%;
    border: none
}

.contenitore .tabella table#dgw_utenti tbody {
    width: 100% !important;
}


    .contenitore .tabella table#dgw_utenti tbody tr {
        height: 3rem;
        text-align: center;
        border-radius: 50px;
    }

        .contenitore .tabella table#dgw_utenti tbody tr th {
            width: 15%;
            background-color: #455a64;
            color: #ffffff;
            font-size: 22px;
            font-weight: lighter;
        }

        .contenitore .tabella table#dgw_utenti tbody tr th,
        .contenitore .tabella table#dgw_utenti tbody tr td {
            border: none;
        }

            .contenitore .tabella table#dgw_utenti tbody tr th:first-child {
                border-top-left-radius: 10px;
            }

            .contenitore .tabella table#dgw_utenti tbody tr th:last-child {
                border-top-right-radius: 10px;
            }


        .contenitore .tabella table#dgw_utenti tbody tr td {
            border-bottom: 2px solid #ff7d01;
           
        }

            .contenitore .tabella table#dgw_utenti tbody tr td:last-child{
                color:red;
            }



            .contenitore .tabella table#dgw_utenti tbody tr td a {
                text-decoration: none;
                color: #ff7d01;
                display: inline-block;
                padding: 3px 6px;
                border: 1px solid #cc6300;
                font-size: 15px;
                border-radius: 4px;
            }

                .contenitore .tabella table#dgw_utenti tbody tr td a:hover {
                    color: #ffffff;
                    background-color: #ff7d01;
                }

.contenitore .tabella table#dgw_utenti,
.tabella #form1 table#dgw_utenti  {
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-collapse: collapse !important;
}



.contenitore.this-2 .linea-utenti {
    position: fixed;
    top: 0;
    right: 48%;
    width: 1.5px;
    height: 100vh;
    background-color: #cc6300;
}

.contenitore .pannello-1 {
    display: inline-block;
    margin-left: -10%;
}

.pannello-schedu div#Panel1 {
    display: inline-block;
    width: 30%;
    position: absolute;
    top: -3%;
    left:28rem;
}

.pannello-utenti div#Panel1 {
    display: inline-block;
    width: 30%;
    position: fixed;
    top: 22%;
    right: 9rem;
}

.due-btn #form1 > div > p{
    display:inline-block;
    margin-bottom:30px;
}
.btn-supp #form1 > div > p{
    display:inline-block;
    margin-bottom:30px;
}


    div#Panel1 .separatore {
        width: 100%;
        height: 1.5px;
        display: inline-block;
        margin: 3% auto;
        background-color: #cc6300;
    }

    div#Panel1 p {
        font-size: 15px;
        font-weight: lighter;
        display: inline-block;
        margin: 0 auto;
        text-align: center;
        width: 100%;
    }

    div#Panel1 h5 {
        display: block;
        font-size: 20px;
        font-weight: bolder;
        margin: 2% auto;
        text-align: center;
    }

        div#Panel1 h5:last-child {
            display: inline-block;
            margin-bottom: 3%;
        }


#btn_new_utente,
#btn_collega_utente {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #cc6300 !important;
    padding: 3px 8px;
    color: #fff;
    background-color: #ff7d01;
    font-size: 15px;
    margin: 2% auto 6% auto;
    width: 150px!important;
    height: 40px!important;
}
    #btn_new_utente:hover,
    #btn_collega_utente:hover,
    .informazioni input#btn_copia:hover,
    .informazioni input#btn_massa:hover,
    input#btn_copia_confirm:hover {
        background-color: #fff;
        color: #ff7d01;
    }

div#Panel2.ut {
    position: absolute;
    top: 110px;
    left: 43.5%;
    width: 400px!important;
    padding: 2%;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #333;
    z-index: 999;
}


    div#Panel2.ut #ImageButton1 {
        display: inline-block;
        width: 20px;
        height: 20px;
        position: absolute;
        top: 10px;
        right: 10px;
    }


    div#Panel2 h4 {
        display: inline-block;
        width: 100%;
        font-weight: lighter;
        font-size: 30px;
        text-align: center;
        margin-top: 3%;
    }

    div#Panel2 h3 {
        display: inline-block;
        width: 100%;
        font-weight: lighter;
        font-size: 20px;
        text-align: center;
        margin-top: 3%;
    }

input#tb_nome,
input#Tb_tel,
div#Panel3 #tb_id_utente_add,
div#Panel3 #tb_pin_aggiunta_add {
    width: 100%;
    height: 27px;
    border-radius: 10px;
    padding: 2px 6px;
    background-color: #fff;
    border: none;
    margin: 3% auto 10% auto;
}





div#Panel2 p {
    display: inline-block;
    width: 100%;
    font-weight: lighter;
    font-size: 20px;
    text-align: center;
    margin-bottom: 9%;
}


input#btn_conferma_add {
    width: 100% !important;
    height: 27px;
    border-radius: 10px;
    background-color: #fff;
    border: none;
    margin: 3% auto 10% auto;
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    color: #fff;
    background-color: #cc6300;
    border: 1px solid #cc6300;
}

input#btn_conferma_add {
    margin-bottom: 0 !important;
}

    input#btn_conferma_new:hover,
    input#btn_conferma_add:hover {
        color: #cc6300;
        background-color: #fff;
    }




div#Panel3.ut{
    position: absolute;
    top: 7%;
    left: 43%;
    width: 400px;
    padding: 2%;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #333;
    z-index:999;
}
div#Panel5,
div#Panel8,
div#Panel6{
    position: absolute;
    top:26vh;
    left: 43%;
    
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #333;
    z-index:999;
}



    div#Panel5 .centra_pannel,
    div#Panel8 .centra_pannel,
    div#Panel6 .centra_pannel{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin: 10px auto;
        text-align: center;
        width: 400px;
    }

/* Panel5 (Wiegand) più largo per rendere leggibile la tabella,
   centrato nell'area utile a destra del menu laterale (.col-2, 20vw) */
div#Panel5 {
    left: calc(20vw + (100vw - 20vw) / 2);
    transform: translateX(-50%);
}

    div#Panel5 .centra_pannel {
        width: 750px;
        max-width: calc(80vw - 80px);
    }

    #Panel5 #dgw_wiengand {
        width: 100%;
    }





div#Panel7 {
    position: fixed;
    top: 50%;
    left: calc(50% + 125px);
    transform: translate(-50%, -50%);
    width: 800px;
    padding: 15px 15px 30px 15px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #333;
    z-index: 999;
    max-height: 80vh;
    overflow-y: auto;
    text-align: center;
}

    div#Panel7 input#ImageButton2 {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 15px;
        height: 15px;
    }

    div#Panel7 span {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }

    div#Panel7 .visual-2 {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
        width: 100%;
        margin: 20px 0;
    }

    div#Panel7 select#dp_vista_3,
    div#Panel7 select#dp_vista_3_gruppo,
    div#Panel7 select#dp_vista_3_categorie {
        border-radius: 10px;
        border: 1px solid #6c6c6f;
        padding: 5px 10px !important;
        height: 30px;
        box-sizing: border-box;
        font-family: 'Roboto', sans-serif;
        font-size: 13px;
        margin: 0;
    }

    div#Panel7 input#btn_massa_select_all,
    div#Panel7 input#btn_massa_confirm {
        display: block;
        margin: 12px auto;
        min-width: 150px;
        border-radius: 10px;
        border: 1px solid #cc6300 !important;
        padding: 6px 12px;
        color: #fff;
        background-color: #ff7d01;
        font-size: 15px;
    }

        div#Panel7 input#btn_massa_select_all:hover,
        div#Panel7 input#btn_massa_confirm:hover {
            background-color: #fff;
            color: #ff7d01;
        }

    

    div#Panel7 .small-width {
        width: 100% !important;
        margin: 0 !important;
        position: static !important;
    }

   


    div#Panel7 .btn-azione {
        margin: 2px;
        padding: 4px 8px;
        border-radius: 6px;
        border: 1px solid #cc6300;
        background-color: #ff7d01;
        color: #fff;
        cursor: pointer;
        font-size: 13px;
    }

        div#Panel7 .btn-azione:hover {
            background-color: #fff;
            color: #ff7d01;
        }


table#dgw_massa,
table#dgw_massa_utenti {
    display: block;
    width: 100% !important;
    margin: 5% auto 4% auto;
    border: none;
}

    table#dgw_massa tbody,
    table#dgw_massa_utenti tbody {
        width: 100% !important;
    }

        table#dgw_massa tbody tr,
        table#dgw_massa_utenti tbody tr {
            height: 3rem;
            text-align: center;
            border-radius: 50px;
        }

            table#dgw_massa tbody tr th,
            table#dgw_massa_utenti tbody tr th {
                width: 15%;
                background-color: #455a64;
                color: #ffffff;
                font-size: 22px;
                font-weight: lighter;
            }

            table#dgw_massa tbody tr th,
            table#dgw_massa tbody tr td,
            table#dgw_massa_utenti tbody tr th,
            table#dgw_massa_utenti tbody tr td {
                border: none;
            }

                table#dgw_massa tbody tr th:first-child,
                table#dgw_massa_utenti tbody tr th:first-child {
                    border-top-left-radius: 10px;
                }

                table#dgw_massa tbody tr th:last-child,
                table#dgw_massa_utenti tbody tr th:last-child {
                    border-top-right-radius: 10px;
                }

            table#dgw_massa tbody tr td,
            table#dgw_massa_utenti tbody tr td {
                border-bottom: 2px solid #ff7d01;
            }

                table#dgw_massa tbody tr td a,
                table#dgw_massa_utenti tbody tr td a {
                    text-decoration: none;
                    color: #ff7d01;
                    display: inline-block;
                    padding: 3px 6px;
                    border: 1px solid #cc6300;
                    font-size: 15px;
                    border-radius: 4px;
                }

                    table#dgw_massa tbody tr td a:hover,
                    table#dgw_massa_utenti tbody tr td a:hover {
                        color: #ffffff;
                        background-color: #ff7d01;
                    }

div#Panel7 .azioni-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
    flex-wrap: nowrap;
    margin-right: 20px;
}







    .informazioni {
        position: relative;
    }
        .informazioni div#Panel4 {
            position: fixed;
            top: 50%;
            left: calc(50% + 125px);
            transform: translate(-50%, -50%);
            width: 400px;
            padding: 15px 15px 30px 15px;
            background-color: #f5f5f5;
            border-radius: 10px;
            box-shadow: 0px 0px 10px #333;
            z-index: 999;
            max-height: 80vh;
            overflow-y: auto;
        }






            .informazioni div#Panel4 input#btn_close_4 {
                position: absolute;
                top: 8px;
                right: 8px;
                width: 15px;
                height: 15px;
            }

    div#Panel3 h3 {
        display: inline-block;
        width: 100%;
        font-weight: lighter;
        text-align: center;
        margin-bottom: 5%;
    }

    div#Panel3 h2 {
        display: inline-block;
        width: 100%;
        text-align: center;
        font-weight: normal;
        margin-bottom: 10%;
    }

    div#Panel3 h6 {
        display: inline-block;
        width: 100%;
        font-weight: lighter;
        text-align: center;
        margin-bottom: 3%;
    }

    div#Panel3 h6,
    div#Panel3 h3 {
        font-size: 20px;
    }

    div#Panel3 p {
        font-size: 15px !important;
        display: inline-block;
        width: 100%;
        font-weight: lighter;
        text-align: center;
        margin-bottom: 9%;
    }

span#lb_error_add {
    width: 100%;
    font-size: 20px;
    display: inline-block;
    text-align: center;
}

div#Panel2 input#btn_close {
    display: inline-block;
    width: 15px;
    height: 15px;

    position: absolute;
    top: 3%;
    right: 4.5%;
}

div#Panel3 input#btn_close_p3,
div#Panel5 input#btn_close_wiengand,
div#Panel8 input#btn_close_tasti_rc,
input#btn_close_scenario,
input#btn_close_riepilogo,
input#btn_close_mod_apertura {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
}

table#dgw_automazioni_add,
table#dgw_automazioni_new,
table#dgw_automazioni_add_user,
#Panel5 #dgw_wiengand,
#Panel6 #dgw_mod_apertura {
    margin: 5% auto;
    border: none;
}

    table#dgw_automazioni_add tbody,
    table#dgw_automazioni_new,
    table#dgw_automazioni_add_user tbody,
    #Panel5 #dgw_wiengand tbody,
    #Panel6 #dgw_mod_apertura tbody{
        width: 100% !important;
    }


        table#dgw_automazioni_add tbody tr,
        table#dgw_automazioni_new tbody tr,
        table#dgw_automazioni_add_user tbody tr,
        #Panel5 #dgw_wiengand tbody tr,
        #Panel6 #dgw_mod_apertura tbody tr  {
            height: 3rem;
            text-align: center;
            border-radius: 50px;
        }

            table#dgw_automazioni_add tbody tr th,
            table#dgw_automazioni_new tbody tr th,
            table#dgw_automazioni_add_user tbody tr th,
            #Panel6 #dgw_mod_apertura  tbody tr th {
                width: 15%;
                background-color: #455a64;
                color: #ffffff;
                font-size: 22px;
                font-weight: lighter;
            }


            #Panel5 #dgw_wiengand tbody tr th,
            #Panel6 #dgw_mod_apertura tbody tr th  {
                width: 15%;
                background-color: #455a64;
                color: #ffffff;
                font-size: 18px;
                font-weight: lighter;
            }

            table#dgw_automazioni_add tbody tr th,
            table#dgw_automazioni_add tbody tr td,
            table#dgw_automazioni_new tbody tr th,
            table#dgw_automazioni_new tbody tr td,
            table#dgw_automazioni_add_user tbody tr th,
            table#dgw_automazioni_add_user tbody tr td,
            #Panel5 #dgw_wiengand tbody tr th,
            #Panel5 #dgw_wiengand tbody tr td,
            #Panel6 #dgw_mod_apertura tbody tr th,
            #Panel6 #dgw_mod_apertura tbody tr td  {
                border: none;
            }

                table#dgw_automazioni_add tbody tr th:first-child,
                table#dgw_automazioni_new tbody tr th:first-child,
                table#dgw_automazioni_add_user tbody tr th:first-child,
                #Panel5 #dgw_wiengand tbody tr th:first-child,
                #Panel6 #dgw_mod_apertura tbody tr th:first-child{
                    border-top-left-radius: 10px !important;
                }

                table#dgw_automazioni_add tbody tr th:last-child,
                table#dgw_automazioni_new tbody tr th:last-child,
                table#dgw_automazioni_add_user tbody tr th:last-child,
                #Panel5 #dgw_wiengand tbody tr th:last-child,
                #Panel6 #dgw_mod_apertura  tbody tr th:last-child{
                    border-top-right-radius: 10px;
                }


            table#dgw_automazioni_add tbody tr td,
            table#dgw_automazioni_new tbody tr td,
            table#dgw_automazioni_add_user tbody tr td,
            #Panel5 #dgw_wiengand tbody tr td,
            #Panel6 #dgw_mod_apertura tbody tr td  {
                border-bottom: 2px solid #ff7d01;
            }




                table#dgw_automazioni_add tbody tr td a,
                table#dgw_automazioni_new tbody tr td a,
                table#dgw_automazioni_add_user tbody tr td a,
                #Panel5 #dgw_wiengand tbody tr td a,
                #Panel6 #dgw_mod_apertura tbody tr td a  {
                    text-decoration: none;
                    color: #ff7d01;
                    display: inline-block;
                    border: 1px solid #cc6300;
                    font-size: 15px;
                    border-radius: 4px;
                    text-align: center;
                    margin: 2px 3px;
                    padding: 2px 5px;
                }

                    table#dgw_automazioni_add tbody tr td a:hover,
                    table#dgw_automazioni_new tbody tr td a:hover,
                    table#dgw_automazioni_add_user tbody tr td a:hover,
                    #Panel5 #dgw_wiengand tbody tr td a:hover,
                    #Panel6 #dgw_mod_apertura tbody tr td a:hover {
                        color: #ffffff;
                        background-color: #ff7d01;
                    }


#Panel8 #dgw_tasti_rc {
    margin: 5% auto;
    border: none;
}

#Panel8 #dgw_tasti_rc tbody {
    width: 100% !important;
}

#Panel8 #dgw_tasti_rc tbody tr {
    height: 3rem;
    text-align: center;
}

#Panel8 #dgw_tasti_rc tbody tr th {
    width: 15%;
    border: none;
    background-color: #455a64;
    color: #ffffff;
    font-size: 18px;
    font-weight: lighter;
}

#Panel8 #dgw_tasti_rc tbody tr th:first-child {
    border-top-left-radius: 10px;
}

#Panel8 #dgw_tasti_rc tbody tr th:last-child {
    border-top-right-radius: 10px;
}

#Panel8 #dgw_tasti_rc tbody tr td {
    border: none;
    border-bottom: 2px solid #ff7d01;
}

#Panel8 #dgw_tasti_rc tbody tr td a {
    text-decoration: none;
    color: #ff7d01;
    display: inline-block;
    border: 1px solid #cc6300;
    font-size: 15px;
    border-radius: 4px;
    text-align: center;
}

#Panel8 #dgw_tasti_rc tbody tr td a:hover {
    color: #ffffff;
    background-color: #ff7d01;
}

#Panel8 .centra_pannel {
    display: block;
    width: 440px;
    margin: 18px auto 5px;
    text-align: center;
}

#Panel8 .centra_pannel h4 {
    width: 100%;
    margin: 0 0 18px;
    color: #cc6300;
    font-size: 21px;
    font-weight: normal;
    text-align: center;
}

#Panel8 #dgw_tasti_rc {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    table-layout: auto;
}

#Panel8 #dgw_tasti_rc tbody tr th,
#Panel8 #dgw_tasti_rc tbody tr td {
    padding: 10px 12px;
    vertical-align: middle;
}

#Panel8 #dgw_tasti_rc tbody tr th {
    line-height: 1.2;
    white-space: normal;
}

#Panel8 #dgw_tasti_rc tbody tr td a {
    min-width: 58px;
    padding: 4px 9px;
    box-sizing: border-box;
}

/*-----------------------------MENU UTENTI & MENU AUTOMAZIONI------------------------------*/

.due-btn,
.four-btn,
.home-flex {
    width: 100%;
    height: 50vw;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .due-btn #form1 {
        max-width: 17% !important;
        margin-top: -2%;
        margin-left: 1%;
    }

input#btn_blocca_automazioni,
input#btn_timer_apertura,
input#btn_nome_gruppo,
input#btn_nome_automazione,
input#btn_mod_uscita,
input#btn_add_ricevente,
input#btn_add_gateway,
input#btn_doppia_autenticazione,
input#btn_disattiva_ble,
input#btn_nascondi_automazioni,
input#btn_notifiche,
input#btn_confirm_2,
input#btn_add_automa,
input#btn_add_tapp,
input#btn_scenari {
    display: inline-block;
    justify-content: center;
    align-items: center;
    width: 34%;
    height: 28px;
    background-color: #cc6300;
    color: #fff;
    font-size: 15px;
    border: 1px solid #cc6300 !important;
    border-radius: 10px;
    margin-bottom: 5px;
    width: 200px;
    margin-right: 0 !important;
}

    input#btn_blocca_automazioni:hover,
    input#btn_timer_apertura:hover,
    input#btn_nome_automazione:hover,
    input#btn_mod_uscita:hover,
    input#btn_nome_gruppo:hover,
    input#btn_add_ricevente:hover,
    input#btn_add_gateway:hover,
    input#btn_doppia_autenticazione:hover,
    input#btn_disattiva_ble:hover,
    input#btn_nascondi_automazioni:hover,
    input#btn_notifiche:hover,
    input#btn_confirm_2:hover,
    input#btn_add_automa:hover,
    input#btn_add_tapp:hover,
    input#btn_scenari:hover{
        background-color: transparent;
        color: #cc6300;
    }

    p.spiegazione{
        display:inline-block;
        text-align:center;
        color:black;
        font-size:12px;
        width:200px;
    }

input#btn_select_all_new_user,
input#btn_conferma_new {
    display: inline-block;
    justify-content: center;
    align-items: center;
    width: 34%;
    height: 28px;
    background-color: #cc6300;
    color: #fff;
    font-size: 15px;
    border: 1px solid #cc6300 !important;
    border-radius: 10px;
    margin: 0 auto 10% auto;
    width: 200px;
}
    input#btn_select_all_new_user:hover,
    input#btn_conferma_new_user:hover,

    input#btn_select_all_add_user:hover,
    input#btn_conferma_add_user:hover,
    input#input#btn_conferma_new:hover{
        background-color: transparent;
        color: #cc6300;
    }

input#btn_conferma_new_user {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34%;
    height: 28px;
    background-color: #cc6300;
    color: #fff;
    font-size: 15px;
    border: 1px solid #cc6300 !important;
    border-radius: 10px;
    margin: 10% auto 0 auto;
    width: 200px;
}


input#btn_select_all_add_user,
input#btn_conferma_add_user {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34%;
    height: 28px;
    background-color: #cc6300;
    color: #fff;
    font-size: 15px;
    border: 1px solid #cc6300 !important;
    border-radius: 10px;
    margin: 0 auto;
    width: 200px;
}
.four-btn{
    width: 100%;
    height: 105vh;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.four-btn #form1 {
    max-width: 17% !important;
    margin-top: -2%;
    margin-left: 22vw;
}

.four-btn.spot #form1 {
    
    margin-top: -2%;
    margin-left: 22vw;
}



    .four-btn #form1 div p{
        display:inline-block;
        margin-bottom:30px;
    }

    .four-btn #form1 input#btn_gestione,
    .four-btn #form1 input#btn_all_utenti,
    .four-btn #form1 input#btn_schedulazione,
    .four-btn #form1 input#Amministratori,
    .four-btn #form1 input#btn_sostendi_utenti,
    .four-btn #form1 input#Button5,
    input#btn_tempo_validità {
        justify-content: center;
        align-items: center;
        height: 28px;
        background-color: #cc6300;
        color: #fff;
        font-size: 15px;
        border: 1px solid #cc6300 !important;
        border-radius: 10px;
        margin-bottom: 1vh;
        width: 200px;
    }

        .four-btn #form1 input#btn_gestione:hover,
        .four-btn #form1 input#btn_all_utenti:hover,
        .four-btn #form1 input#btn_schedulazione:hover,
        .four-btn #form1 input#btn_sostendi_utenti:hover,
        .four-btn #form1 input#Amministratori:hover,
        .four-btn #form1 input#Button5:hover,
        input#btn_tempo_validità:hover {
            background-color: transparent;
            color: #cc6300;
        }

.home-flex #form1 {
    width: 20% !important;
    position: relative;
    margin-left: 17%;
    margin-top: -4%;
}

    .home-flex #form1 span#lb_gruppo {
        width: 100%;
        display: inline-block;
        text-align: center;
        font-size: 30px;
        font-weight: bold;
        border-bottom: 2px solid #ff7d01;
        padding-bottom: 20px;
        margin-bottom:20px;
    }


    .home-flex #form1 img {
        width: 100%;
        display: block;
    }

/*-----------------------------NOME AUTOMAZIONI------------------------------*/

.home-flex {
    width: 100%;
    height: 105vh;
    margin: 0 auto;
    display: flex;
    justify-content: center;

    align-items: center;
}

.home-flex.that.cinque{
    width: 100%;
    height: 105vh;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}



.home-flex.that #form1 {
    width: 30% !important;
    margin-left: 1 !important;

}

    .home-flex.that.cinque #form1 > span#lb_error{
        display:inline-block;
        width:100%;
        text-align:center;
    }
    .home-flex #form1 h5 {
        display: block;
        width: 102%;
        font-size: 30px;
        font-weight: lighter;
        margin-bottom: 15%;
        text-align: center;
    }

.home-flex #form1 h4 {
    display: block;
    width: 102%;
    font-size: 30px;
    font-weight: lighter;
    margin-bottom: 5%;
    text-align: center;
}

.home-flex.that .linea-schedu {
    width: 100%;
}

.home-flex #form1 #tb_nuovo_nome {
    border-radius: 10px;
    padding: 2px 4px;
    border: 1px solid #d6d6d6 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    width: 86%;
    height: 27px;
    margin: 0 auto;
}

.home-flex #form1 #btn_cambia_nome {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    border-radius: 10px;
    padding: 5px 10px;
    background-color: #cc6300;
    border: 1px solid #cc6300!important;
    display: block;
    margin: 5% auto 5% auto;
    width: 86%;
}
    .home-flex #form1 #btn_cambia_nome:hover{
        background-color:transparent;
        color:#cc6300;
    }
    /*-----------------------------ALL UTENTI------------------------------*/
    .contenitore.that .cerca.questa input#btn_cerca_utente {
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        border: 1px solid #cc6300 !important;
        padding: 3px 8px;
        color: #ff7d01;
        background-color: #fff;
        font-size: 15px;
        margin: 0 2%;
    }

    .contenitore.that .cerca.questa input#btn_cerca_utente:hover {
        color: #fff;
        background-color: #cc6300;
    }

.contenitore.that .cerca.questa input#tb_cerca {
    border-radius: 10px;
    padding: 2px 4px;
    border: 1px solid #d6d6d6 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    height: 26px;
  
}



.contenitore.that .cerca.questa {
    position: absolute;
    top: 12vh;
    left: 22.3vw;
    z-index: 999;
    display: inline-block;
    width: 31vw!important;
}



    .contenitore.that {
        margin-left: 15% !important;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        position: relative;
    top: 0px;
}

    .contenitore.that > .tabella.questa {
        width: 33% !important;
        margin-left: 23%;
    }

    .contenitore.that .informazioni {
        display: block;
        width: 45%;
        margin-top: 106px;
        position: absolute !important;
        top: 6vh;
        text-align:center;
    }

.contatori span#lb_contatore {
    display: inline-block;
    margin-bottom: 25px;
}

        .contenitore.that .informazioni p {
            display: inline-block;
            width: 100%;
            text-align: center;
        }

    .contenitore.that span#lb_nome_utente,
    .contenitore.that span#lb_utente {
        font-weight: bold;
    }

.reimposta input#reimposta,
input#btn_delete_all,
input#btn_select_all_add_automation,
input#btn_wiengand,
input#btn_mod_apertura{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #cc6300 !important;
    padding: 3px 8px;
    color: #fff;
    background-color: #ff7d01;
    font-size: 15px;
    margin-top: 15px;
    
}

input#btn_leggi_wiengand,
input#btn_genera_qr_wiengand,
input#btn_confirm_wiengand {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #cc6300 !important;
    padding: 3px 8px;
    color: #fff;
    background-color: #ff7d01;
    font-size: 15px;
}




    input #btn_select_all_add_automation{
        margin-top:-70px!important;
    }
        .reimposta input#reimposta:hover,
        input#btn_delete_all:hover,
        input#btn_select_all_add_automation:hover,
        input#btn_wiengand:hover,
        input#btn_leggi_wiengand:hover,
        input#btn_genera_qr_wiengand:hover,
        input#btn_confirm_wiengand:hover,
        input#btn_mod_apertura:hover {
            background-color: #fff;
            color: #cc6300;
        }

    .contenitore.that input#btn_collega {
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        border: 1px solid #cc6300 !important;
        padding: 3px 8px;
        color: #fff;
        background-color: #ff7d01;
        font-size: 15px;
      margin:0 auto;
    }

        .contenitore.that input#btn_collega:hover {
            background-color: #fff;
            color: #cc6300;
        }

    .contenitore.that .informazioni h4 {
        display: inline-block;
        font-size: 30px;
        width: 100%;
        text-align: center;
        margin-top: 6%;
        margin-bottom: 6%;
        font-weight: lighter;
    }

    .contenitore.that > .informazioni .tabella {
        width: 100%;
        margin: 0 auto;
        display: block;
        margin-top:100px;
    }

.contenitore.that .informazioni .tabella table#dgw_automazioni {
    border: none;
    width: 100%;
    table-layout: auto;
}





        .contenitore.that .informazioni .tabella table#dgw_automazioni tbody {
            width: 100% !important;
        }


            .contenitore.that .informazioni .tabella table#dgw_automazioni tbody tr {
                height: 3rem;
                text-align: center;
                border-radius: 50px;
            }

                .contenitore.that .informazioni .tabella table#dgw_automazioni tbody tr th {
                    width: 15%;
                    background-color: #455a64;
                    color: #ffffff;
                    font-size: 22px;
                    font-weight: lighter;
                }

                .contenitore.that .informazioni .tabella table#dgw_automazioni tbody tr th,
                .contenitore.that .informazioni .tabella table#dgw_automazioni tbody tr td {
                    border: none;
                    width: auto;
                    padding: 5px 5px !important;
                }
                    .contenitore.that .informazioni .tabella table#dgw_automazioni tbody tr td:last-child{
                        color:red;
                    }

                    .contenitore.that .informazioni .tabella table#dgw_automazioni tbody tr th:first-child {
                        border-top-left-radius: 10px;
                    }

                    .contenitore.that .informazioni .tabella table#dgw_automazioni tbody tr th:last-child {
                        border-top-right-radius: 10px;
                    }


                .contenitore.that .informazioni .tabella table#dgw_automazioni tbody tr td {
                    border-bottom: 2px solid #ff7d01;
                }




                    .contenitore.that .informazioni .tabella table#dgw_automazioni tbody tr td a {
                        text-decoration: none;
                        color: #ff7d01;
                        display: inline-block;
                        padding: 3px 6px;
                        border: 1px solid #cc6300;
                        font-size: 15px;
                        border-radius: 4px;
                    }

                        .contenitore.that .informazioni .tabella table#dgw_automazioni tbody tr td a:hover {
                            color: #ffffff;
                            background-color: #ff7d01;
                        }

    .contenitore.that .line {
        display: inline-block;
        width: 2px;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 56.6vw;
        background-color: #cc6300;
    }

    .contenitore.that .informazioni {
        position: relative;
    }

        .contenitore.that .informazioni .linea {
            width: 17%;
    height: 1px;
    background-color: #cc6300;
    display: block;
    margin: 5vh auto 2vh auto;
        }

.contenitore.that > .tabella table#dgw_utenti {
    margin-left: 0 !important;
    width: 100% !important;
    border: none;
    display: block;
}

.contenitore.that .informazioni > div#Panel1 {
    display: block;
    width: 400px;
    margin: 5% auto 0 auto;
    text-align: center;
    border-radius: 10px;
    background-color: #f5f5f5;
    position: absolute;
    padding-top: 30px;
    top: -43px;
    right: 27vw;
    z-index: 1000;
    box-shadow: 0px 0px 10px #333;
}

    .contenitore.that .informazioni > div#Panel1 p {
        font-size: 25px;
        font-weight: lighter;
        display: inline-block;
        margin: 20px auto 0 auto;
        text-align: center;
        width: 100%;
    }

        .contenitore.that .informazioni > div#Panel1 #btn_close {
            width: 20px;
            height: 20px;
            display: inline-block;
            position: absolute;
            right: 10px;
            top: 10px;
        }
        .contenitore.that .informazioni div#Panel1 h3 {
            font-weight: normal;
            width: 100%;
            margin: 0 auto;
            text-align: center;
            display: inline-block;
            font-size: 30px;
            font-weight: lighter;
        }

.col-numeri {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 5%;
    margin-left: -3%;
    margin-bottom:30px;
}

    .col-numeri #lb_disponibili,
    .col-numeri #lb_utilizzati,
    .col-numeri #lb_limite {
        font-size: 20px;
        font-weight: bold;
        display: inline-block;
        margin-top: 8%;
    }

.contenitore.that .informazioni div#Panel2.questo {
    position: absolute;
    left: -26%;
    top:6%;
    width: 45%;
    padding: 2%;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #333;
}


.contenitore.that .informazioni div#Panel2 .tabella table#dgw_automazioni_new {
    display: block;
    width: 100%;
    margin: 0 auto;
    border: none;
}


.contenitore.that .informazioni > div#Panel2 > .tabella {
    width: 80%;
    margin: 0 auto !important;
}


.contenitore.that .informazioni div#Panel2 .tabella table#dgw_automazioni_new tbody {
    width: 100% !important;
}


    .contenitore.that .informazioni div#Panel2 .tabella table#dgw_automazioni_new tbody tr {
        height: 3rem;
        text-align: center;
        border-radius: 50px;
    }

        .contenitore.that .informazioni div#Panel2 .tabella table#dgw_automazioni_new tbody tr th {
            width: 15%;
            background-color: #455a64;
            color: #ffffff;
            font-size: 22px;
            font-weight: lighter;
        }

        .contenitore.that .informazioni div#Panel2 .tabella table#dgw_automazioni_new tbody tr th,
        .contenitore.that .informazioni div#Panel2 .tabella table#dgw_automazioni_new tbody tr td {
            border: none;
            width: 1%;
        }

            .contenitore.that .informazioni div#Panel2 .tabella table#dgw_automazioni_new tbody tr th:first-child {
                border-top-left-radius: 10px;
            }

            .contenitore.that .informazioni div#Panel2 .tabella table#dgw_automazioni_new tbody tr th:last-child {
                border-top-right-radius: 10px;
            }


        .contenitore.that .informazioni div#Panel2 .tabella table#dgw_automazioni_new tbody tr td {
            border-bottom: 2px solid #ff7d01;
        }




            .contenitore.that .informazioni div#Panel2 .tabella table#dgw_automazioni_new tbody tr td a {
                text-decoration: none;
                color: #ff7d01;
                display: inline-block;
                padding: 3px 6px;
                border: 1px solid #cc6300;
                font-size: 15px;
                border-radius: 4px;
            }

                .contenitore.that .informazioni div#Panel2 .tabella table#dgw_automazioni_new tbody tr td a:hover {
                    color: #ffffff;
                    background-color: #ff7d01;
                }

.contenitore.that .informazioni div#Panel2.questo input#btn_conferma_new {
    width: 100% !important;
    border-radius: 10px;
    background-color: #fff;
    border: none;
    margin: 1% auto 1% auto !important;
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    color: #fff;
    background-color: #cc6300;
    border: 1px solid #cc6300;
}


#form1 .contenitore.this-2 {
    position: relative;
}

div#Panel2.questo input#btn_close {
    display: inline-block;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 4%;
    right: 4.5%;
}

div#Panel2.questo p {
    display: inline-block;
    width: 100%;
    font-weight: lighter;
    font-size: 20px;
    text-align: center;
    margin-bottom: 9%;
    margin-top: 8%;
}

.all_new_users{
    display:flex;
    justify-content:center;
    text-align:center;
    width:100%;
    margin:0 auto;
}

/*-----------------------------MENU STORICO------------------------------*/
.due-btn.this {
    width: 100%;
    height: 50vw;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .due-btn.this > #form1 {
        max-width: 17% !important;
        margin-top: -2%;
        margin-left: 22vw;
    }

        .due-btn.this > #form1 input#btn_data,
        .due-btn.this > #form1 input#btn_utente,
        .due-btn.this > #form1 input#btn_impostazioni_storico {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 200px;
            height: 28px;
            background-color: #cc6300;
            color: #fff;
            font-size: 15px;
            border: 1px solid #cc6300 !important;
            border-radius: 10px;
            margin-bottom: 10px;
        }

            .due-btn.this > #form1 input#btn_data:hover,
            .due-btn.this > #form1 input#btn_utente:hover,
            .due-btn.this > #form1 input#btn_impostazioni_storico:hover{
                background-color: transparent;
                color: #cc6300;
            }
            /*----------------------------- STORICO UTENTE------------------------------*/
            #form1 .check {
                display: flex;
                justify-content: center;
                align-items: center;
                height: 26px;
                margin-bottom: 14%;
                width: 100%;
         
                }

.home-flex.that2 .tabella.otto {
    position: absolute;
  
    z-index: 999;
    background: white;
    margin-left : 0;
    margin-top : 10px;
    width : 120%;
}

.home-flex.that2 {
    width: 100%;
    height: 90vh !important;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
    .home-flex.that2 #form1{
        margin-top:-34vh;
    }

    .home-flex.that2 #form1 .cerca p {
        margin-bottom: 0;
        margin-right: 10px;
        display: inline-block;
        font-weight: bold;
    }
    .home-flex.that2 #form1 .cerca{
        min-width:455px;
    }


    .home-flex.that2 #form1 {
        width: 500px!important;
    }

#form1 .check span#lb_utente {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin: 0 2%;
    height: 100%
}

#form1 .check h2 {
    font-weight: lighter;
    display: inline-block;
    margin:0 auto;
}


#form1 .check input#btn_cambia_utente {
    color: #ff7d01;
    text-decoration: none;
    font-size: 15px;
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid #ff7d01 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    padding: 3px 8px !important;
    height: 100%;
    margin-left:1vW;
}

    #form1 .check input#btn_cambia_utente:hover {
        background-color: #ff7d01;
        color: #fff;
    }

#form1 .cerca input#btn_cerca {
    display: inline-block;
    margin: 0 2%;
}

.home-flex.that2 #Panel1 {
    right: -10.7%;
    top: 21vh;
    padding: 25px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #333;
    position: absolute;
    width: 30vW !important;
}

    .home-flex.that2 #Panel1 .cerca {
        width: 100%;
        margin-top: 3%;
        margin-bottom: 3%;
    }

        .home-flex.that2 #Panel1 .cerca input#btn_cerca_utente {
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 10px;
            border: 1px solid #cc6300 !important;
            padding: 3px 8px;
            color: #ff7d01;
            background-color: #fff;
            font-size: 15px;
            margin: 0 2%;
        }
            .home-flex.that2 #Panel1 .cerca input#btn_cerca_utente:hover{
                color:#fff;
                background-color:#cc6300;
            }

            .home-flex.that2 #Panel1 .cerca input#tb_cerca {
                border-radius: 10px;
                padding: 2px 4px;
                border: 1px solid #d6d6d6 !important;
                display: flex;
                justify-content: center;
                align-items: center;
                font-family: 'Roboto', sans-serif;
                height: 26px
            }

    .home-flex.that2 #Panel1 input#btn_seleziona {
        color: #fff;
        text-decoration: none;
        font-size: 15px;
        border-radius: 10px;
        padding: 5px 10px;
        background-color: #ff7d01;
        border: 1px solid #ff7d01;
        display: block;
        margin: 5% auto 0 auto;
        width: 35%;
    }

        .home-flex.that2 #Panel1 input#btn_seleziona:hover {
            background-color: transparent;
            color: #ff7d01;
        }


    .tabella.sei{
        
        z-index:999;
    }
.home-flex.that2 #form1 > div#Panel1 > .tabella.sei {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0 !important;
    position: relative;
}

    .home-flex.that2 #form1 div#Panel1 > .tabella.sei table#dgw_utenti {
        margin: 0 auto;
        width: 24vW;
        border: none;
    }

        .home-flex.that2 #form1 div#Panel1 > .tabella.sei table#dgw_utenti tbody {
            width: 100% !important;
        }


            .home-flex.that2 #form1 div#Panel1 > .tabella.sei table#dgw_utenti tbody tr {
                height: 3rem;
                text-align: center;
                border-radius: 50px;
            }

                .home-flex.that2 #form1 div#Panel1 > .tabella.sei table#dgw_utenti tbody tr th {
                    width: 15%;
                    background-color: #455a64;
                    color: #ffffff;
                    font-size: 22px;
                    font-weight: lighter;
                }

                .home-flex.that2 #form1 div#Panel1 > .tabella.sei table#dgw_utenti tbody tr th,
                .home-flex.that2 #form1 div#Panel1 > .tabella.sei table#dgw_utenti tbody tr td {
                    border: none;
                }

                    .home-flex.that2 #form1 div#Panel1 > .tabella.sei table#dgw_utenti tbody tr th:first-child {
                        border-top-left-radius: 10px;
                    }

                    .home-flex.that2 #form1 div#Panel1 > .tabella.sei table#dgw_utenti tbody tr th:last-child {
                        border-top-right-radius: 10px;
                    }

                .home-flex.that2 #form1 div#Panel1 > .tabella.sei table#dgw_utenti tbody tr td {
                    border-bottom: 2px solid #ff7d01;
                }




                    .home-flex.that2 #form1 div#Panel1 > .tabella.sei table#dgw_utenti tbody tr td a {
                        text-decoration: none;
                        color: #ff7d01;
                        display: inline-block;
                        padding: 3px 6px;
                        border: 1px solid #cc6300;
                        font-size: 15px;
                        border-radius: 4px;
                    }

.home-flex.that2 #form1 div#Panel1 > .tabella.sei table#dgw_utenti tbody tr td a:hover {
    color: #ffffff;
    background-color: #ff7d01;
}

.home-flex.that2 #form1 div#Panel1 input#btn_close {
    display: inline-block;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 1.5vh;
    right: 2%;
}

.home-flex.that2 #form1 .tabella table#dgw_storico {
    margin: 0 auto;
    width: 100%;
    border: none;
}



    .home-flex.that2 #form1 .tabella table#dgw_storico tbody tr {
        height: 3rem;
        text-align: center;
        border-radius: 50px;
    }

.home-flex.that2 #form1 .tabella table#dgw_storico tbody tr th {
    width: 33%;
    background-color: #455a64;
    color: #ffffff;
    font-size: 22px;
    font-weight: lighter;
}


        .home-flex.that2 #form1 .tabella table#dgw_storico tbody tr th,
        .home-flex.that2 #form1 .tabella table#dgw_storico tbody tr td {
            border: none;
            width:17vW;
        }

            .home-flex.that2 #form1 .tabella table#dgw_storico tbody tr th:first-child {
                border-top-left-radius: 10px;
            }

            .home-flex.that2 #form1 .tabella table#dgw_storico tbody tr th:last-child {
                border-top-right-radius: 10px;
            }


        .home-flex.that2 #form1 .tabella table#dgw_storico tbody tr td {
            border-bottom: 2px solid #ff7d01;
        }




.home-flex.that2 #form1 .tabella table#dgw_automazioni tbody tr td a {
    text-decoration: none;
    color: #ff7d01;
    display: inline-block;
    padding: 3px 6px;
    border: 1px solid #cc6300;
    font-size: 15px;
    border-radius: 4px;
}

    .home-flex.that2 #form1 .tabella table#dgw_automazioni tbody tr td a:hover {
        color: #ffffff;
        background-color: #ff7d01;
    }


/*----------------------------- HOME------------------------------*/
.home-flex #form1 > #lb_scadenza{
    display:inline-block;
    text-align:center;
    color:red;
    font-size:30px;
    margin:30px auto;
}

.home-flex #form1 > #btn_rinnova {
    display: block;
    margin: 0 auto 30px auto;
    padding: 10px 20px;
    color: white;
    background-color: #ff7d01;
    border-radius: 10px;
    border: none;
    border-color: #ff7d01;
}

    .home-flex #form1 > #btn_rinnova:hover {
        color: #cc6300 !important;
        background-color: white;
        border-color: #ff7d01!important;
    }



/*----------------------------- SUPPORTO------------------------------*/
.btn-supp {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;

}
    .btn-supp #form1 {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin: 0 auto 0 47vw;
        width: 300px;
        margin-top:32vh;
    }



        .btn-supp #form1 #Button1,
        .btn-supp #form1 #Button2,
        .btn-supp #form1 #Button3,
        .btn-supp #form1 #Button4,
        .btn-supp #form1 #Button5,
        .btn-supp #form1 #Button6,
        .btn-supp #form1 #Button7,
        .btn-supp #form1 #Button8,
        .btn-supp #form1 #Button9,
        .btn-supp #form1 #Button10,
        .btn-supp #form1 #Button11,
        .btn-supp #form1 #btn_stato_abbonamenti,
        .btn-supp #form1 #btn_account,
        .btn-supp #form1 #btn_funzioni_speciali,
        .btn-supp #form1 #btn_rinomina_utenti,
        input#btn_new,
        input#btn_password,
        input#btn_mfa,
        input#btn_cambia_password,
        input#btn_email_test,
        input#btn_conferma_mfa {
            padding: 4px 10px !important;
            margin-bottom: 20px;
            background-color: #ff7d01;
            color: white;
            border: 1px solid #ff7d01 !important;
            border-radius: 10px;
            display: inline-block;
            width: 200px;
        }

input#btn_new,
input#btn_password,
input#btn_mfa,
input#btn_cambia_password {
    min-width: 65% !important;
}

    input#btn_cambia_password{
        margin:20px auto 0 auto!important;
    }



    .btn-supp #form1 #Button1,
    .btn-supp #form1 #Button2,
    .btn-supp #form1 #Button3,
    .btn-supp #form1 #Button4,
    .btn-supp #form1 #Button5,
    .btn-supp #form1 #btn_stato_abbonamenti,
    .btn-supp #form1 #btn_account,
    .btn-supp #form1 #btn_funzioni_speciali,
    .btn-supp #form1 #btn_rinomina_utenti {
        margin-bottom: 10px !important;
    }




        .btn-supp #form1 #Button1:hover,
        .btn-supp #form1 #Button2:hover,
        .btn-supp #form1 #Button3:hover,
        .btn-supp #form1 #Button4:hover,
        .btn-supp #form1 #Button5:hover,
        .btn-supp #form1 #Button6:hover,
        .btn-supp #form1 #Button7:hover,
        .btn-supp #form1 #Button8:hover,
        .btn-supp #form1 #Button9:hover,
        .btn-supp #form1 #Button10:hover,
        .btn-supp #form1 #Button11:hover,
        .btn-supp #form1 #btn_stato_abbonamenti:hover,
        .btn-supp #form1 #btn_account:hover,
        .btn-supp #form1 #btn_funzioni_speciali:hover,
        .btn-supp #form1 #btn_rinomina_utenti:hover,
        input#btn_new:hover,
        input#btn_password:hover,
        input#btn_mfa:hover,
        input#btn_cambia_password:hover,
        input#btn_email_test:hover,
        input#btn_conferma_mfa:hover {
            background-color: white;
            color: #ff7d01;
            border: 1px solid #ff7d01;
        }

/*----------------------------- RINNOVA_ABBONAMENTO------------------------------*/
.box-conf{
    width:100%;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    padding-bottom:50px;
}
    .box-conf > #form1 {
        width: 39vw;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }


    .box-conf > #form1 > .conf{
       max-width:730px;
        border: 1px solid #ccc;
        border-radius:10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        padding:20px 30px;
        margin-bottom:50px;
        margin-top:30px;
    }

    .box-conf > #form1 > .conf h3,
    .box-conf h3{
        display:inline-block;
        margin:0 auto 30px 0;
        font-size:30px;
        text-align:center;
        width:100%;
    }

    .box-conf > #form1 > .conf p{
        display:inline-block;
        margin-bottom:15px;

    }
    .box-conf > #form1 > .conf select{
        height:30px;
       display:inline-block;
       padding-left:5px;
       margin-right:7px;

    }

    .box-conf input {
        height: 30px !important;
        display: inline-block;
        margin: 12px auto 15px 12px!important;
        width: 148px !important;
        border-radius: 2px !important;
    }

.box-conf p #lb__errore{
    display:inline-block;
    width:100%;
    text-align:center;
    margin:15px auto;
}
    .box-conf p #btn_continua {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #ff7d01;
        border-radius: 10px !important;
        color: white;
        padding: 4px 10px;
        margin: 0 auto !important;
        text-align: center;
        height:40px!important;
    }

        .box-conf p #btn_continua:hover {
            color: #cc6300;
            background-color: white;
            border: 1px solid #cc6300 !important;
        }

        .box-conf p.anni-abb{
            display:inline-block;
            width:100%;
            text-align:center;
        }

/*----------------------------- videoguida------------------------------*/

.centra-btn-guida{

    display:block;
    width:100%;
    margin-top:-18vh;
}

/*----------------------------- videoguida------------------------------*/
.centra-form{
    width:100%;
    
    display:flex;
    justify-content:center;
    align-items:center;
    margin:0 auto;
}

    .centra-form #form1 #TextArea1 {
        height: 157px;
        width: 230px;
    }

    .centra-form #form1 #tb_richiesta {
        height: 115px!important;
        display:inline-block;
        width: 201px!important;
    
        }



#Label100{
    font-size:28px;
}

.centra-form #form1 {
    border: 1px solid #ff7d01;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 57px;
    min-width: 370px;
    flex-wrap: wrap;
    margin-top: 13vh;
    margin-left: 15vw;
    box-shadow: 0px 0px 10px #ff7d01;
}
        .centra-form #form1 span#Label1{
            font-weight:normal;
            font-size:30px;
            display:inline-block;
            text-align:center;
            margin-bottom:15px;
            width:100%;
        }
        .centra-form #form1 .nome,
        .centra-form #form1 .tel,
        .centra-form #form1 .email {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }



        .centra-form #form1 input#tb_nome,
        .centra-form #form1 input#Tb_tel,
        .centra-form #form1 input#tb_email {
            width:200px!important;
            margin-right:0!important;
            border-radius:4px!important;
        }

        .centra-form #form1 p.richiesta{
            color:black;
            font-size:20px;
           text-align:center;
        }

        .centra-form #form1 h4{
            font-weight:lighter;
        }
        .centra-form #form1 textarea#tb_richiesta {
            border-radius: 5px;
            padding: 3px;
            border-color: #cc6300;
            
        }

        .centra-form #form1 input#btn_invia {
            background-color: #cc6300;
            color: white;
            border: 1px solid #cc6300;
            border-radius:10px;
            display:block;
            height:40px;
            margin:0 auto;
            text-align:center;

        }
            .centra-form #form1 input#btn_invia:hover {
                color: #cc6300;
                background-color: white;
                border: 1px solid #cc6300!important;
            }

        .centra-form #form1 p.errore{
            display:inline-block;
            width:100%;
            text-align:center;
            margin:15px auto;
        }










@media (max-width: 1500px) {
    .contenitore.that .line {
        display: none;
    }
}
@media (max-width: 1100px) {
    div#pn_cerca {
        width: 245px;
        display: inline-block;
        text-align: center;
        margin-left: -1vw;
        margin-top: 25px;
    }
}





@media (max-width: 1100px) {
    .contenitore.that .line {
        display: none;
    }
}

@media (max-width: 1200px) {

    .tab-small #form1 .pannel .linea {
       display:none;
    }


    .contenitore.that .informazioni > div#Panel1 {
        display: block;
        width: 400px;
        margin: 5% auto 0 auto;
        text-align: center;
        border-radius: 10px;
        background-color: #f5f5f5;
        position: absolute;
        padding-top: 30px;
        top: -14vh;
        right: 22vw;
        z-index: 1000;
        box-shadow: 0px 0px 10px #333;
    }





   

}

@media (max-width: 1320px) {
    .visual-2 {
        display: flex;
        margin-bottom: 20px;
       
        text-align: center;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
}



    @media (max-width: 1300px) {
        .flexy .line {
            display: none;
        }
    }

    @media (max-width: 1200px) {
        .linea-utenti {
            display: none;
        }
    }
       @media (max-width: 1040px) {
        .contenitore.that .informazioni h4{
            width:62%;
        }
    }


    /*----------------------------- vADD RICEVENTE*/

    .centra {
        width: 100%;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 30px;
    }

    .id_ricevente,
    .pin_agg_ric {
        display: inline-block;
        width: 100%;
        text-align: center;
        color: black;
        font-size: 24px;
        font-family: Roboto,sans-serif;
    }

    .id_ricevente {
        margin-top: 10px;
        margin-bottom:10px;
    }

.campi_id {
    display: flex;
    align-items: center; /* Allinea verticalmente al centro */
    justify-content: center;
    gap: 8px;
}

    .campi_id input[type="text"] {
        width: 60px;
        text-align: center;
        height: 30px;
        font-size: 16px;
    }

    .campi_id .slash {
        margin: 0;
        font-size: 18px;
        line-height: 1; /* Riduce sbilanciamenti verticali */
        padding-bottom: 2px; /* Centra visivamente rispetto agli input */
    }


    input#tb_pin_aggiunta {
        border-radius: 5px;
        height: 30px;
        padding: 0 5px;
    }

    #form1 > p.col_gate {
        text-align: center;
        color: black;
        font-size: 24px;
        display: block;
        margin: 50px auto 35px auto;
    }

    #form1 > p.gate_sel {
        text-align: center;
        color: black;
        font-size: 22px;
        display: block;
    }

#form1 > span#lb_gateway_lista {
    display: inline-block;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}

#form1 > .pin_agg_ric p{
    color:black;
    font-size:22px;
}
#form1 > .pin_agg_ric h4{
    color:black;
    font-size:22px;
    font-weight:normal;
    margin-bottom:10px;
}

input#btn_ok {
    display: inline-block;
    border-radius: 10px;
    border: 1px solid #cc6300 !important;
    padding: 3px 8px;
    color: #fff;
    background-color: #ff7d01;
    font-size: 15px;
    margin-bottom: 50px;
}

        input#btn_ok:hover {
            color: #ff7d01;
            background: #fff;
        }

    #form1 > .campi_id p.slash {
        display: inline-block;
        font-size: 30px;
        margin:auto 5px;
        margin-top: -4px;
        font-weight: lighter;
    }


    /*----------------------------- ACCESSI TEMPORANEI*/


    .contenitore-acc {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 40px;
    }

    .acc-temp {
        display: inline-block;
        text-align: center;
        position: relative;
        min-width: 35vw;
        margin-left:19vw;
    }

        .acc-temp #btn_new_accesso {
            width: 210px !important;
            color: #fff;
            text-decoration: none;
            font-size: 15px;
            border-radius: 10px;
            padding: 5px 10px;
            background-color: #ff7d01;
            border: 1px solid #ff7d01 !important;
            display: block;
            margin: 0 auto 20px auto;
        }

            .acc-temp #btn_new_accesso:hover {
                color: #ff7d01;
                background-color: #fff;
                border: 1px solid #ff7d01;
            }

    .contenitore-acc > #form1 {
        width: auto !important;
    }

    .contenitore-acc #form1 .acc-temp table#dgw_accessi tbody tr th {
        width: auto;
        background-color: #455a64;
        color: #ffffff;
        font-size: 18px !important;
        font-weight: lighter;
    }

    .contenitore-acc #form1 .acc-temp table#dgw_accessi {
       
        width: 50vw;
    }

    .contenitore-acc #form1 .acc-temp #Panel1 {
        position: absolute;
        top: 50px;
        min-width: 400px;
        border-radius: 10px;
        padding: 30px;
        text-align: center;
        background-color: #f5f5f5;
        box-shadow: 3;
        box-shadow: 0px 0px 10px #333;
        left: 8vw;
        z-index: 1100;
    }

.modulo #form1 #pn_mfa{
    position: fixed;
    top: 30vh;
    width: 400px;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background-color: #f5f5f5;
    box-shadow: 3px;
    box-shadow: 0px 0px 10px #333;
    left: 45vw;
}
#pn_mfa{
    position: fixed;
    top: 30vh;
    width: 410px;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background-color: #f5f5f5;
    box-shadow: 3px;
    box-shadow: 0px 0px 10px #333;
    left: 44vw;
}

#pn_password_amministratore {
    position: fixed;
    top: 20vh;
    width: 400px;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background-color: #f5f5f5;
    box-shadow: 3px;
    box-shadow: 0px 0px 10px #333;
    left: 45vw;
   
}

#pn_scenario,
#Pn_riepilogo {
    position: absolute;
    top: -30vh;
    width: 400px;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background-color: #f5f5f5;
    box-shadow: 3px;
    box-shadow: 0px 0px 10px #333;
    left: -5vw;
    margin-top: 100px;
}



#btn_close_password,
#btn_close_mfa,
#btn_close_scenario {
    position: absolute;
    top: 8px !important;
    right: 8px !important;
}


div#pn_esclusione > input#btn_close_esclusioni {
    position: absolute;
    top: 8px !important;
    right: 8px !important;
    width: 15px;
    height: 15px;
}


div#pn_password_amministratore .input_pn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
}

    div#pn_password_amministratore .input_pn p{
        margin-bottom:10px!important;
        display:block;
        width:100%;
    }

    div#pn_password_amministratore .input_pn input#tb_old_password,
    div#pn_password_amministratore .input_pn input#tb_new_password,
    div#pn_password_amministratore .input_pn input#tb_new_password_2,
    div#pn_mfa .input_pn input#tb_email_mfa,
    div#pn_mfa .input_pn input#tb_codice_conferma{
        border-radius: 5px;
        padding: 5px 2px;
        border: 1px solid #d6d6d6 !important;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: 'Roboto', sans-serif;
        width: 200px !important;
        text-align: center;
        margin: 0 auto 15px auto;
    }

.pannel .state p input#tb_new_name {
    border-radius: 5px;
    padding: 5px 2px;
    border: 1px solid #d6d6d6 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    width: 200px !important;
    text-align: center;
    margin-left:5px;
}

























    .contenitore-acc #form1 .acc-temp #Panel1 input#btn_close {
        display: inline-block;
        width: 18px;
        position: absolute;
        top: 14px;
        right: 13px;
        height: 18px !important;
    }


    .acc-temp .cerca input#tb_cerca {
        border-radius: 10px;
        padding: 2px 4px;
        border: 1px solid #d6d6d6 !important;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: 'Roboto', sans-serif;
        height: 26px;
    }

    .acc-temp .cerca {
        margin-bottom: 20px;
    }

        .acc-temp .cerca input#btn_cerca_utente {
            height: 25px;
            border-radius: 10px;
            padding: 0.9% 0 !important;
            background-color: #ff7d01;
            color: white;
            display: inline-block;
            margin-left: 2px;
            width: 55px;
            border: 1px solid #cc6300 !important;
        }

            .acc-temp .cerca input#btn_cerca_utente:hover {
                color: #cc6300;
                background-color: #fff;
            }

.contenitore-acc #form1 .acc-temp #Panel1 input#tb_data_end,
.contenitore-acc #form1 .acc-temp #Panel1 input#tb_data_start,
input#tb_data_esclusione {
    border-radius: 10px;
    padding: 2px 1px 2px 4px;
    border: 1px solid #d6d6d6 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    width: 200px !important;
    text-align: center;
    margin: 20px auto 0 auto;
}

    .contenitore-acc #form1 .acc-temp #Panel1 span#lb_selezionato,
    .contenitore-acc #form1 .acc-temp #Panel1 span#lb_id_selezionato,
    .contenitore-acc #form1 .acc-temp #Panel1 span#lb_nome_selezionato {
        font-size: 25px;
        font-weight: bold;
    }

    .contenitore-acc #form1 .acc-temp #Panel1 span#lb_automazioni {
        font-size: 22px;
    }


.contenitore-acc #form1 .acc-temp #Panel1 input#btn_conferma,
.contenitore-acc #form1 .acc-temp #Panel2 input#btn_delete_regola,
.contenitore-acc #form1 .acc-temp #Panel2 input#btn_delete_user {
    width: 200px !important;
    height: 27px;
    border-radius: 10px;
    background-color: #fff;
    border: none;
    margin: 3% auto 10% auto;
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    color: #fff;
    background-color: #cc6300;
    border: 1px solid #cc6300 !important;
}



input#btn_aggiungi{
    width: 200px !important;
    height: 27px;
    border-radius: 10px;
    background-color: #fff;
    border: none;
    display: inline-block;
    font-size: 15px;
    margin-top: 25px;
    font-weight: normal;
    color: #fff;
    background-color: #cc6300;
    border: 1px solid #cc6300 !important;
}

.contenitore-acc #form1 .acc-temp #Panel1 input#btn_conferma:hover,
.contenitore-acc #form1 .acc-temp #Panel2 input#btn_delete_regola:hover,
.contenitore-acc #form1 .acc-temp #Panel2 input#btn_delete_user:hover,
input#btn_aggiungi:hover{
    background-color: #fff;
    color: #cc6300;
}


    .contenitore-acc #form1 .acc-temp #Panel2 {
        position: absolute;
        top: 50px;
        width: 100%;
        border-radius: 10px;
        padding: 30px;
        text-align: center;
        background-color: #ccc !important;
    }

        .contenitore-acc #form1 .acc-temp #Panel2 input#btn_close_2 {
            display: inline-block;
            width: 18px;
            position: absolute;
            top: 14px;
            right: 13px;
            height: 18px !important;
        }

        .contenitore-acc #form1 .acc-temp #Panel2 > p {
            text-align: center;
            font-size: 22px;
            display: inline-block;
            margin-bottom: 20px;
            font-weight: bold;
        }

        .contenitore-acc #form1 .acc-temp #Panel2 > strong {
            display: inline-block;
            text-align: left;
        }


    /*-----------------------------TIMER APERTURA------------------------------*/

    .cont_timer {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 70px;
    }

        .cont_timer #form1 .day {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cont_timer #form1 {
            width: 510px;
            margin-left: 19vw;
        }

        .cont_timer select#lst_giorno {
            margin: 0 0 0 5px !important;
        }

        .cont_timer .alle {
            display: flex;
            margin-top: 20px;
            justify-content: center;
            align-items: center;
            width: 100%;
        }


input#btn_add,
input#btn_esclusioni {
    display: inline-block;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #cc6300 !important;
    padding: 3px 8px;
    background-color: #ff7d01;
    color: #fff;
    font-size: 15px;
    margin-top: 20px;
}


input#btn_add_esclusione {
    display: inline-block;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #cc6300 !important;
    padding: 3px 8px;
    background-color: #ff7d01;
    color: #fff;
    font-size: 15px;
    margin-bottom:15px;
}


input#btn_add:hover,
input#btn_esclusioni:hover,
input#btn_add_esclusione:hover{
    background-color: #fff;
    color: #ff7d01;
}

input[type="checkbox"]#cb_lu,
input[type="checkbox"]#cb_ma,
input[type="checkbox"]#cb_me,
input[type="checkbox"]#cb_gi,
input[type="checkbox"]#cb_ve,
input[type="checkbox"]#cb_sa,
input[type="checkbox"]#cb_do,
input[type="checkbox"]#cb_attiva,
input[type="checkbox"]#cb_finecorsa {
    display: inline-block !important;
    height: 15px !important;
}





    /*----------------------------- STATO ABBONAMENTI*/

    .stato_abb h1,
    .stato_abb #form1 h2{
        font-weight:lighter;
        width:100%;
        text-align:center;
        font-size:32px;
    }

.stato_abb > #form1 .linea-abb {
    width: 60%;
    display: inline-block;
    margin: 50px auto 40px auto;
    border: none;
    background-color: #ff7d01;
    height: 1.5px;
}


    .stato_abb {

    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

        .stato_abb > #form1 {
            display: inline-block;
            text-align: center;
            margin: 0;
            padding-top: 100px;
            width:600px;
            margin-left:17vw;
        }

            .stato_abb > #form1 table#dgw_gruppi {
                display: inline-block;
                width: 600px;
            }

            /*----------------------------- ACCOUNT PORTALE------------------------------*/
            .centra_account {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 100%;
                margin: 0 auto;
                padding-top: 50px;
                text-align: center;
            }
input#btn_new{
    margin:0 auto 25px auto!important;
}

.line-acc {
    display: inline-block;
    width: 60%;
    height: 1.5px;
    background-color: #ff7d01;
    border:none;
    margin:25px auto 35px auto;
}


.centra_account #form1 table#dgw_utenti,
.centra_account #pn_esclusione table#gw_esclusioni {
    width: 100%;
    display: inline-block;
    margin-bottom: 25px;
}

.centra_account #form1{
    display:inline-block;
    width:400px;
}

#pn_seleziona .pannel {
    padding: 10px;
    display: inline-block;
    border-radius: 5px;
    background-color: #f5f5f5;
    box-shadow: 0px 0px 10px #333;
    position: fixed;
    top: 231px;
    width: 330px;
    left: 47vw;
}
#pn_seleziona{
    position:relative;
}

    #pn_seleziona .pannel .sel{
        text-align:right;
    }

    .id_sel{
        font-size:20px;
        display:block;
        margin-bottom:25px;
    }

    .check_visual{
        margin-bottom:25px;
    }

#pn_seleziona .pannel .state #btn_conferma,
#pn_seleziona .pannel .state input#btn_elimina,
#pn_seleziona .pannel .state input#btn_reset,
input#btn_conferma_remoto {
    padding: 4px 10px !important;
    margin: 0 auto 15px auto !important;
    background-color: #ff7d01;
    color: white;
    border: 1px solid #ff7d01 !important;
    border-radius: 10px;
    display: inline-block;
    width: 249px !important;
}

#pn_seleziona .pannel .state input#btn_conferma:hover,
#pn_seleziona pannel .state input#btn_elimina:hover,
#pn_seleziona pannel .state input#btn_reset:hover,
input#btn_conferma_remoto:hover  {
    background-color: white;
    color: #ff7d01;
    border: 1px solid #ff7d01;
}
h2.storico_acc{
    font-weight:lighter;
    font-size:30px;
}


.cerca_data input#tb_data {
    border-radius: 10px;
    padding: 2px 1px 2px 4px;
    border: 1px solid #d6d6d6 !important;
    font-family: 'Roboto', sans-serif;
    width: 200px !important;
    margin-left:5px;
}


.cerca_data input#btn_cerca{
    margin-left:5px;
}
.cerca_data {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom:25px;
}

/*-----------------------------PRIMO ACCESSO------------------------------*/

.primo_accesso{
   display:flex;
   justify-content:center;
   align-items:center;
   width:100%;
   margin:0 auto;
   padding-top:50px;

}

    .primo_accesso #form1{
        width:45vw;
        
    }

        .primo_accesso #form1 h1 {
            font-weight: lighter;
            font-size: 32px;
            text-align: center;
            margin-bottom: 60px;


            border: 1px solid #ff9a3c;
            padding: 20px;
            border-radius: 16px;
            box-shadow: 0px 0px 10px #ff9a3c;
        }

.primo_accesso #form1 h2{
    display:inline-block;
    width:100%;
    text-align:center;
    font-weight:normal;

}
.primo_accesso #form1 p{
    display:inline-block;
    width:100%;
    text-align:center;
    font-weight:normal;
    font-size:15px;
    margin-top:0!important;
    color:forestgreen;

}
    .primo_accesso input#tb_nome_gruppo,
    input#tb_automazione_1,
    input#tb_automazione_2{
        display: block;
        width: 100%;
        border-radius: 5px;
        border: 1px solid #d6d6d6 !important;
        height: 24px;
        margin:10px auto 25px auto;
        padding: 0 5px;
    }

span#lb_old_1,
span#lb_old_2{
    margin-top: 25px;
    display: inline-block;
    text-align: center;
    color: #ff9a3c;
    width: 100%;
    font-size: 25px;
}

span#lb_old_2{
    margin-top:0!important;
}

.primo_accesso input#btn_continua {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ff7d01;
    border-radius: 10px !important;
    color: white;
    padding: 4px 10px;
    margin: 0 auto !important;
    text-align: center;
    height: 40px !important;
}

.primo_accesso input#btn_continua:hover {
    color: #cc6300;
    background-color: white;
    border: 1px solid #cc6300 !important;
}


.primo_accesso #form1 span#lb_errore{
    display:inline-block;
    text-align:center;
    width:100%;
    margin:20px auto;
}

.logo_welcome {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.logo_welcome img{
    width:240px;
    height:80px;

}


.centra-storico {
    display: flex;
    width: 400px;
    margin-left: -9vw;
}


/*-----------------------------RISCATTA UTENTI------------------------------*/


.centra_riscatta,
.centra_riscatta_1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    margin-top: 170px;
    margin-left: 8vw;
    
}

    .centra_riscatta #form1 {
        display: inline-block;
        border: 1px solid #ccc;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0px 0px 10px #ccc;
        position: relative;
    }

        .centra_riscatta #form1 input#btn_confirm_2

        .centra_riscatta_1 #form1 {
            display: inline-block;
            margin: 0 auto;
            width: 100%;
        }

        .centra_riscatta_1 #form1 .title_impo_sto {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            margin-bottom: 20px;
        }

            .centra_riscatta_1 #form1 .title_impo_sto h2 {
                font-weight: normal;
            }

            .centra_riscatta_1 #form1 .title_impo_sto span#lb_automazione {
                font-size: 22px;
                display: inline-block;
                margin-left: 5px;
            }

input#cb_finecorsa {
    display: inline-block;
    margin-bottom: 3px;
}

.centra_riscatta_1 #form1 p {
    display: inline-block;
    text-align: center;
    font-size: 12px;
}

.centra_riscatta #form1 input#tb_codice {
    border-radius: 10px;
    padding: 2px 4px;
    border: 1px solid #d6d6d6 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    height: 26px;
    width: 175px;
    margin: 0 auto;
}

.centra_riscatta > #form1 > input#btn_confirm {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #cc6300 !important;
    padding: 3px 8px;
    color: #fff;
    background-color: #cc6300;
    font-size: 15px;
    margin: 20px auto 0 auto;
}

.centra_riscatta #form1 input#btn_confirm:hover {
    background-color: #fff;
    color: #cc6300;
}



.centra_riscatta #form1 h2 {
    display: inline-block;
    margin-bottom: 30px;
}


.centra_riscatta > #form1 > p > span#lb_errore {
    display: inline-block;
    margin: 0 auto !important!important;
    font-size: 20px;
}


.centra_riscatta #form1 div#Pn_conferma {
    background-color: #CCCCCC;
    /* font-weight: bold; */
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: -0.5px;
    border-radius: 7px;
    border: 0px solid #333;
    padding: 8vh 22px 22px 22px;
}

    .centra_riscatta #form1 div#Pn_conferma p {
        margin-bottom: 0;
    }

    .centra_riscatta #form1 div#Pn_conferma input#btn_close {
        height: 15px;
        position: absolute;
        top: 8px;
        right: 8px;
    }

    .centra_riscatta #form1 div#Pn_conferma span#lb_errore_2 {
        display: inline-block;
        margin: 0 auto;
    }



/*-----------------------------DOPPIA AUTENTICAZIONE------------------------------*/
.doppia > #form1 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
    margin-top: 100px;
    margin-left: 19vw;
}

    .doppia > #form1 table#dgw_automazioni{
        width:600px!important;
    }

    .doppia #form1 h1 {
        font-weight: lighter;
        width: 100%;
        display: inline-block;
        text-align: center;
    }

.doppia {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 400px;
    margin: 0 auto;
    text-align: center;
   

} 
    .doppia #form1 #Panel2{
        display:inline-block;
        width:55vw;
       
    }
    .doppia #form1 #Panel2 p strong{
        font-weight:normal;
    }

        .doppia #form1 #Panel2 p{
            margin-bottom:30px!important;
        }
        .doppia #form1 #Panel2 input#btn_cambia {
            padding: 4px 10px !important;
            margin: 0 auto ;
            background-color: #ff7d01;
            color: white!important;
            border: 1px solid #ff7d01 !important;
            border-radius: 10px;
            display: inline-block;
            width: 200px;
        }

        .doppia #form1 #Panel2 input#btn_cambia:hover {
            color: #ff7d01!important;
            background-color: white;
        }


            .doppia #form1 #Panel1 {
                
                display: inline-block;
                justify-content: center;
                align-items: center;
                flex-wrap: wrap;
               
            }

    .doppia #form1 #Panel1 p{
        text-align:center;
        display:flex;
        align-items:center;
        justify-content:center;
        font-size:21px;
    }

        .doppia #form1 #Panel1 p strong {
            margin-left: 5px;
            font-weight: normal;
            color: #ff7d01;
        }

    .doppia #form1 #Panel1 .bottoni{
        width:100%;
        display:flex;
        justify-content:center;
        align-items:center;
    }
    .doppia > #form1 #Panel1 .bottoni > input#btn_new,
    .doppia > #form1 #Panel1 .bottoni input#btn_download {
        padding: 4px 10px !important;
        margin:0 auto!important;
        background-color: #ff7d01;
        color: white;
        border: 1px solid #ff7d01 !important;
        border-radius: 10px;
        display: inline-block;
        width: 200px;
    }
    .doppia > #form1 #Panel1 .bottoni input#btn_new:hover,
    .doppia > #form1 #Panel1 .bottoni input#btn_download:hover {
        color:#ff7d01;
        background-color:white;
    
    }

    .doppia #Panel2 .linea_doppia {
        display: inline-block;
        width: 115px;
        height: 1px;
        background-color: #ff7d01;
        margin: 50px auto;
    }

        .doppia #Panel2 .linea_doppia2 {
            margin: 35px auto 30px auto !important;
            display: inline-block;
            width: 115px;
            height: 1px;
            background-color: #ff7d01;
           
        }

/*-----------------------------APP ADD USER------------------------------*/
/*-----------------------------APP CONNECT USER------------------------------*/
/*-----------------------------APP DELETE USER------------------------------*/

.app_add_utente,
.app_connect_user,
.app_delete_user{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 21vh;
    text-align: center;
}

    .app_delete_user > #form1 #lb_titolo{
        display:inline-block;
        margin:10px auto;
    }

    .app_delete_user > #form1 #lb_id,
    .app_delete_user > #form1 #lb_indicazioni{
        display:inline-block;
        margin:30px auto;
        font-size:22px;
        font-weight:normal;
    }

    .app_add_utente > #form1 table#dgw_automazioni_new tbody tr td,
    .app_connect_user > #form1 table#dgw_automazioni_new tbody tr td,
    .app_delete_user > #form1 table#dgw_automazioni_new tbody tr td,
    .centra_account #pn_esclusione table#gw_esclusioni tbody tr td  {
        border-bottom: 1px solid #ff7d01 !important;
    }
    .app_add_utente span#lb_errore_new_user,

    .app_connect_user span#lb_error_add,
    .app_delete_user span#lb_error_add {
        display: inline-block;
        margin-bottom: 17px;
    }

    .app_add_utente > input#btn_ok,
    .app_connect_user > input#btn_ok {
        display: inline-block;
        border-radius: 10px;
        border: 1px solid #cc6300!important;
        padding: 3px 8px;
        color: #fff;
        background-color: #ff7d01!important;
        font-size: 15px;
        margin-bottom: 50px;
    }

        .app_add_utente > input#btn_ok:hover ,
        .app_connect_user > input#btn_ok:hover {
            color: #ff7d01!important;
            background: #fff!important;
        }

.app_add_utente h3,
.app_connect_user h3{
    font-weight:normal;
}

    .app_connect_user input#tb_id ,
    .app_connect_user input#tb_pin {
        display: inline-block;
        width: 100%;
        border-radius: 5px;
        border: 1px solid #d6d6d6 !important;
        height: 30px;       
        padding: 0 5px;
    }
    .app_connect_user h3:last-child{
        margin-top:20px;
        display:inline-block;
    }


/*-----------------------------MODALITA' USCITA------------------------------*/

.centra_account #form1 h5.title{
    display:inline-block;
    text-align:center;
    margin-top:10vh;
    font-size:24px;

}

h5.title #lb_mod_attuale {
    color: #cc6300;
    border: none;
}

.centra_account #form1 h4{
    display:flex;
    justify-content:center;
    align-items:center;

}

.centra_account #form1 select#dp_modalita{
    display:inline-block;
    margin-left:5px;
    border-radius:5px;
}

.centra_account #form1 input#btn_conferma {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34%;
    height: 28px;
    background-color: #cc6300;
    color: #fff;
    font-size: 15px;
    border: 1px solid #cc6300 !important;
    border-radius: 10px;
    margin: 0 auto;
    width: 200px;
}

    .centra_account #form1 input#btn_conferma:hover {
        color: #cc6300;
        background-color:white;
    }

.centra_account #form1 p span#lb_errore{
    display:inline-block;
    text-align:center;
    font-size:16px;
    margin: 25px 0;
}


/*-----------------------------NASCONDI AUTOMAZIONI------------------------------*/

.tab-small #form1 .fascia1{
    margin:0 auto;
    display:inline-block;
    text-align:center;
    width:100%;
}


select#dp_gruppi_wiengand,
select#dp_tipo_wiengand,
select#dp_tasto_wiengand,
select#dp_automazione_wiengand,
.informazioni #Panel4 #dp_vista_2,
#dp_vista_2_gruppo,
#dp_vista_2_categorie,
#dp_vista_2,
.tab-small #form1 #pn_centrale .pannel p > input#tb_new_name,
.tab-small #form1 #pn_centrale .pannel p > select#dp_tipo,
.tab-small #form1 #pn_centrale .pannel p > select#dp_modalita,
#Panel_temporizzata input#tb_durata {
    border-radius: 10px;
    border: 1px solid #ccc;
    height: 28px !important;
    display: inline-block;
    padding-left: 5px;
}


.informazioni #Panel4 #dp_vista_2{
   margin-left:5px;

}
.informazioni #Panel4 span#lb_vista_2{
 display:inline-block;
 font-size:20px;
 text-align:center;
 margin-top:5px;
}


/*-----------------------------DOPPIA AUTENTICAZIONE------------------------------*/



.cont-pannels {
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #333;
    display:inline-block;
    position:absolute;
    top:26vh;
    left:0;
    padding:30px;
}

 
div#Panel2 > .cont-pannels > input#btn_close {
    display: inline-block;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 3%;
    right: 1.2%!important;
}




/*-----------------------------NOTIFICHE------------------------------*/

input#tb_testo_apertura,
input#tb_testo_chiusura{
    display:inline-block;
    width:100%;
    padding:3px;
    margin:10px auto;
    border-radius:10px;
}
#Panel1 p.selezione{
    display:inline-block;
    margin-bottom:15px;
}

.cerca_notifiche{
    display:flex;
    justify-content:center;
    align-items:center;
    margin:0 auto 20px auto;
    width:100%;

}


    .cerca_notifiche input#btn_cerca_utente 
    {
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        border: 1px solid #cc6300 !important;
        padding: 3px 8px;
        color: #ff7d01;
        background-color: #fff;
        font-size: 15px;
        margin: 0 2%;
        height:24px;
    }

        .cerca_notifiche input#btn_cerca_utente:hover {
            background-color: #cc6300;
            color:white;
        }

        .cerca_notifiche input#tb_cerca,
        p > input#tb_cerca {
            border-radius: 10px;
            padding: 2px 4px;
            border: 1px solid #d6d6d6 !important;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: 'Roboto', sans-serif;
        }

        .tabella-notifiche #Panel1 input#btn_close{
            display:inline-block;
            position:absolute;
            top:10px;
            right:10px;
            width:15px;
            height:15px;
        }

/*-----------------------------ADD GATEWAY------------------------------*/

.id_gateway{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    width:100%;
    font-size:22px;
}

    div.campi_id{
        margin-bottom:25px;
       
        padding:0;
    }

    .id_gateway h5{
        display:inline-block;
        margin:25px auto;
    }
input#tb_id_1{
    display:inline-block;
    margin-right:0!important;
    padding:0 5px;
    height:30px;
}

.due-btn #form1 .id_gateway div span#lb_error {
    display: inline-block!important;
    margin: 0 auto;
    width: 100%;
    font-size: 18px;
    text-align:center;
}


/*-----------------------------ADD ALEXA------------------------------*/

.centra_account #form1 p{
    display:block;
    font-size:20px;
    color:black;
    font-weight:normal;
}

    .centra_account #form1 p input#tb_id_utente,
    .centra_account #form1 p input#tb_pin_alexa {
        display: inline-block;
        font-size: 20px;
        color: black;
        font-weight: normal;
        border: none !important;
        padding-left: 10px;
        width: 80px;
    }

select#dp_cancello,
select#dp_cancelletto,
select#dp_garage,
select#dp_tapparelle_giorno,
select#dp_tapparelle_notte{
    display: inline-block;
    padding: 5px;
    border-radius: 10px;
    width: 100%;
}

input#tb_email,
input#tb_pin_sicurezza {
    width: 100%;
    /* height: 27px; */
    border-radius: 10px;
    padding: 10px;
    background-color: #fff;
    border: none;
    font-size: 22px;
    margin: 3% auto 10% auto;
}


#Panel_inserimento {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}


    #Panel_inserimento div {
        width: 100%;
        display: flex;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

#Panel_inserimento .app-tessere-form {
    width: 100%;
    max-width: 700px;
    flex-direction: column;
    gap: 0;
}

#Panel_inserimento .app-tessere-riga {
    gap: 8px;
    margin-bottom: 14px;
}

#Panel_inserimento .app-tessere-codice,
#Panel_inserimento .app-tessere-codice {
    flex-wrap: wrap;
}

#Panel_inserimento .app-tessere-rc {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 2px 0 12px;
}

#Panel_inserimento .app-tessere-rc .app-tessere-riga {
    width: 100%;
    margin: 0;
}

#Panel_inserimento .app-tessere-automazione {
    margin-bottom: 4px;
}

#Panel_inserimento .app-tessere-messaggio {
    min-height: 20px;
    margin: 6px 0 16px;
    line-height: 1.4;
}

#Panel_inserimento .app-tessere-azioni {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

#Panel_inserimento h4,
#Panel_tasti_rc h4 {
    width: 100%;
    margin: 10px 0 18px;
    color: #cc6300;
    font-size: 21px;
    font-weight: normal;
    text-align: center;
}

#Panel_inserimento #dgw_wiengand,
#Panel_tasti_rc #dgw_tasti_rc {
    width: 100%;
    margin: 0 auto 20px;
    border: none;
    border-collapse: collapse;
}

#Panel_inserimento #dgw_wiengand tbody tr,
#Panel_tasti_rc #dgw_tasti_rc tbody tr {
    height: 3rem;
    text-align: center;
}

#Panel_inserimento #dgw_wiengand tbody tr th,
#Panel_tasti_rc #dgw_tasti_rc tbody tr th {
    padding: 9px 10px;
    border: none;
    background-color: #455a64;
    color: #fff;
    font-size: 16px;
    font-weight: lighter;
}

#Panel_inserimento #dgw_wiengand tbody tr th:first-child,
#Panel_tasti_rc #dgw_tasti_rc tbody tr th:first-child {
    border-top-left-radius: 10px;
}

#Panel_inserimento #dgw_wiengand tbody tr th:last-child,
#Panel_tasti_rc #dgw_tasti_rc tbody tr th:last-child {
    border-top-right-radius: 10px;
}

#Panel_inserimento #dgw_wiengand tbody tr td,
#Panel_tasti_rc #dgw_tasti_rc tbody tr td {
    padding: 8px 10px;
    border: none;
    border-bottom: 2px solid #ff7d01;
    background-color: #fff;
}

#Panel_inserimento #dgw_wiengand tbody tr td a,
#Panel_tasti_rc #dgw_tasti_rc tbody tr td a {
    display: inline-block;
    margin: 2px 3px;
    padding: 3px 6px;
    border: 1px solid #cc6300;
    border-radius: 4px;
    color: #ff7d01;
    font-size: 15px;
    text-decoration: none;
}

#Panel_inserimento #dgw_wiengand tbody tr td a:hover,
#Panel_tasti_rc #dgw_tasti_rc tbody tr td a:hover {
    color: #fff;
    background-color: #ff7d01;
}

#Panel_tasti_rc {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 20px auto 0;
    padding-top: 42px;
    text-align: center;
}

#Panel_tasti_rc input#btn_close_tasti_rc {
    position: absolute;
    top: 0;
    left: 16px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #cc6300 !important;
    border-radius: 8px;
    color: #fff;
    background-color: #cc6300;
    font-size: 15px;
    cursor: pointer;
}

#Panel_tasti_rc input#btn_close_tasti_rc:hover {
    color: #cc6300;
    background-color: #fff;
}

#Panel_tasti_rc h4 {
    margin-top: 0;
}

.app-tessere-qr-overlay {
    position: fixed;
    z-index: 20000;
    inset: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, .88);
}

.app-tessere-qr-contenuto {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.app-tessere-qr-immagine {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .45);
}

.app-tessere-qr-istruzioni {
    position: absolute;
    z-index: 1;
    top: 12px;
    right: 70px;
    left: 16px;
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    text-align: center;
}

input.app-tessere-qr-close {
    position: absolute;
    z-index: 1;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #fff !important;
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, .42);
    font-size: 32px;
    font-weight: 300;
    line-height: 36px;
    cursor: pointer;
}

.app_delete_user .app-tessere-cerca {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    width: min(100%, 420px);
    margin: 0 auto 24px;
}

.app_delete_user .app-tessere-cerca input#tb_cerca {
    flex: 1 1 auto;
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #b8c7cf !important;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    outline: none;
}

.app_delete_user .app-tessere-cerca input#tb_cerca:focus {
    border-color: #cc6300 !important;
    box-shadow: 0 0 0 3px rgba(255, 125, 1, .15);
}

.app_delete_user .app-tessere-cerca input#btn_cerca_utente {
    min-width: 90px;
    height: 38px;
    padding: 0 16px;
    border: 1px solid #cc6300 !important;
    border-radius: 8px;
    box-sizing: border-box;
    color: #fff;
    background-color: #cc6300;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
}

.app_delete_user .app-tessere-cerca input#btn_cerca_utente:hover {
    color: #cc6300;
    background-color: #fff;
}

    .app_delete_user > #form1 table#dgw_utenti tbody tr th{
        font-size:16px!important;
     
    }



.webapp-button {
    position: fixed; /* resta visibile anche con scroll */
    top: 12px;
    right: 16px;
    z-index: 3000;
}

.btn-webapp {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 700;
    color: #fff !important;
    background-color: #cc6300 !important;
    border: 1px solid #cc6300 !important;
    border-radius: 6px;
    text-decoration: none !important;
    cursor: pointer;
    line-height: 1.2;
    transition: background-color .2s, border-color .2s;
}

    .btn-webapp:hover {
        background-color: #a35000 !important;
        border-color: #a35000 !important;
        color: #fff !important;
    }

    /* Fissa il bottone in alto a destra */
.webapp-button{
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10000;
  text-align: right;
}

/* Box tooltip generico */
.tooltip-popup{
  position: absolute;
  background: #ff7d01;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  font-size: 15px;
  line-height: 1.3;
  min-width: 220px;        /* leggibile */
  max-width: 320px;        /* non troppo largo */
  white-space: normal;
  word-break: break-word;  /* evita spezzettamenti strani */
}

/* POSIZIONE: a sinistra del bottone (niente overflow a destra) */
.tooltip-right{
  top: 120%;
  right: calc(100% + 12px);   /* spostato a sinistra del bottone + gap */
  transform: translateY(-50%);
}

/* Freccia che punta verso il bottone (a destra) */
.tooltip-right .tooltip-arrow{
  position: absolute;
  top: 25%;
  right: -8px;               /* bordo destro del balloon */
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #ff7d01;
}

/* Mobile: restringi un po' il tooltip */
@media (max-width: 480px){
  .tooltip-popup{ max-width: 70vw; }
}




.tooltip-popup.hide {
    display: none;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}


input.btn-collega {
    display: block;
    width: 265px;
    margin: 20px auto 0 auto;
    background-color: #ff7d01;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    border: 1px solid #ff7d01;
    padding: 6px 12px;
}

    input.btn-collega:hover {
        background-color: white;
        color: #ff7d01;
    }


input.btn-grid {
    background-color: white !important;
    border: 1px solid #ff7d01 !important;
    color: #ff7d01 !important;
    font-size: 13px !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    cursor: pointer;
    min-width: 85px;
    margin: 4px 6px; /* ⬅️ Spazio orizzontale tra pulsanti */
    display: inline-block;
    text-align: center;
    transition: background-color 0.2s, color 0.2s;
}

    input.btn-grid:hover {
        background-color: #ff7d01 !important;
        color: white !important;
    }


/* Posizionamento centrato per Panel1 come Panel4 */
 .informazioni2 div#Panel1 {
    position: fixed;
    top: 50%;
    left: calc(50% + 125px); /* correzione per sidebar */
    transform: translate(-50%, -50%);
    width: 400px;
    padding: 15px 15px 30px 15px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0px 0px 15px #333;
    z-index: 9999;
}



/* Dropdown stile coerente */
.gateway-dropdown {
    width: 100%;
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    margin-top: 10px;
}

.informazioni2 .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px; /* 🖼️ dimensione icona */
    height: 20px;
    cursor: pointer;
    z-index: 10000;
}


.input-cerca {
    border-radius: 10px;
    padding: 2px 4px;
    border: 1px solid #d6d6d6 !important;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    height: 26px;
}

.btn-cerca {
    
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #cc6300 !important;
    padding: 3px 8px;
    color: #ff7d01;
    background-color: #fff;
    font-size: 15px;
    margin: 0 2%;
}

    .btn-cerca:hover {
        background-color: #FF7D01;
        color: white;
    }



div#pn_gestione_categorie {
    position: absolute;
    top: 50vh;
    left: calc(50% + 125px);
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #333;
    z-index: 999;
}

/* contenitore panel (modal) */
#pn_gestione_categorie {
    position: fixed;
    top: 50%;
    left: calc(50% + 125px); /* compenso sidebar come Panel4 */
    transform: translate(-50%, -50%);
    width: 420px;
    max-width: 92vw;
    padding: 18px 18px 22px 18px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #333;
    z-index: 9999;

    max-height: 85vh;
    overflow-y: auto;
}

/* pulsante chiusura (ImageButton) */
#pn_gestione_categorie #btn_close_2 {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px !important;
    height: 20px !important;
    cursor: pointer;
}

/* titolo */
#pn_gestione_categorie .titolo-panel {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-weight: lighter;
    font-size: 26px;
    color: #333;
    margin: 6px auto 10px auto;
}

/* linea separatrice (quella che hai già dentro) */
#pn_gestione_categorie .linea {
    display: block;
    width: 60%;
    height: 1.2px;
    background-color: #cc6300;
    margin: 10px auto 18px auto;
}

/* blocco "Nuova categoria" */
#pn_gestione_categorie .nuova-cat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto 12px auto;
    text-align: center;
}

#pn_gestione_categorie .nuova-cat label {
    font-size: 16px;
    color: #333;
    font-weight: normal;
}

/* textbox (asp:TextBox) */
#pn_gestione_categorie input#tb_nome_categoria,
#pn_gestione_categorie .textbox-generico {
    border-radius: 10px;
    padding: 6px 10px;
    border: 1px solid #d6d6d6 !important;
    height: 30px;
    width: 180px;
    background: #fff;
}

/* bottone aggiungi (asp:Button) */
#pn_gestione_categorie input#btn_aggiungi_categoria,
#pn_gestione_categorie input.btn-categorie {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #cc6300 !important;
    padding: 6px 12px;
    color: #fff;
    background-color: #ff7d01;
    font-size: 14px;
    cursor: pointer;
    min-width: 110px;
    height: 32px;
}

#pn_gestione_categorie input#btn_aggiungi_categoria:hover,
#pn_gestione_categorie input.btn-categorie:hover {
    background-color: #fff;
    color: #ff7d01;
}

/* =========================
   GridView Categorie
   ========================= */
#pn_gestione_categorie table#gv_categorie {
    width: 100%;
    border: none !important;
    margin: 10px auto 0 auto;
    border-collapse: separate;
    border-spacing: 0;
}

#pn_gestione_categorie table#gv_categorie th {
    background-color: #455a64;
    color: #ffffff;
    font-size: 18px;
    font-weight: lighter;
    border: none;
    padding: 10px 8px;
}

#pn_gestione_categorie table#gv_categorie th:first-child {
    border-top-left-radius: 10px;
}
#pn_gestione_categorie table#gv_categorie th:last-child {
    border-top-right-radius: 10px;
}

#pn_gestione_categorie table#gv_categorie td {
    background-color: #fff;
    border: none;
    border-bottom: 2px solid #ff7d01;
    padding: 10px 8px;
    text-align: center;
}

/* link "Elimina" (CommandField) */
#pn_gestione_categorie table#gv_categorie td a,
#pn_gestione_categorie table#gv_categorie td input[type="submit"] {
    text-decoration: none;
    color: #ff7d01;
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #cc6300;
    font-size: 13px;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

#pn_gestione_categorie table#gv_categorie td a:hover,
#pn_gestione_categorie table#gv_categorie td input[type="submit"]:hover {
    color: #ffffff;
    background-color: #ff7d01;
}






/* LAYOUT SCHEDULAZIONE A 2 COLONNE */
.schedu-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    align-items: start;
    width: 100%;
    margin-left: 0;
    padding: 40px 30px;
    box-sizing: border-box;
}

.schedu-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.schedu-col-left {
    padding-left: 25px;
}

.schedu-col-right {
    padding-left: 25px;
}

.schedu-col .small-width,
.schedu-col .info.this {
    width: 100% !important;
    max-width: 700px;
    margin: 0 auto !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
}

.schedu-col .visual,
.schedu-col .ricerca-schedu,
.schedu-col .utente,
.schedu-col #Panel_regole {
    width: 100%;
}

.schedu-col table {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* opzionale: linea centrale */
.schedu-layout {
    position: relative;
}

    .schedu-layout::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        background-color: #cc6300;
        transform: translateX(-50%);
    }









.utenti-col-left {
    position: absolute;
    top: 0;
    margin-left: 20%;
    width: 30%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

#div_opacizzato_1,
#div_opacizzato_2 {
    display: block !important;
    width: 100% !important;
    max-width: 700px !important;
    position: static !important;
    margin: 0 auto !important;
    float: none !important;
}

#div_opacizzato_1 {
    margin-bottom: 20px !important;
}

#div_opacizzato_2 {
    margin-top: 0 !important;
}


.utenti-col-right {
    width: 43% !important;
    margin-left: 57% !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.informazioni {
   
    margin: 0 auto !important;
    text-align: center;
}



.utenti-col-right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .utenti-col-right .informazioni {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .utenti-col-right .contatori,
    .utenti-col-right p,
    .utenti-col-right h4,
    .utenti-col-right .tabella,
    .utenti-col-right .linea {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center;
    }

    .utenti-col-right .tabella {
       
    }

        .utenti-col-right .tabella table {
            margin-left: auto !important;
            margin-right: auto !important;
        }

    .utenti-col-right .reimposta {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .utenti-col-right .reimposta input,
        .utenti-col-right > div input[type="submit"] {
            margin-left: auto !important;
            margin-right: auto !important;
        }


    .utenti-col-right .tabella {
        position: relative;
        width: 100% !important;
        margin: 0 auto !important;
    }

#cb_amministratore_collega {
    margin: 10px;
}
