body {
    font-family: 'SansationRegular', Arial, Helvetica, sans-serif; color:#ffffff; line-height:100%; text-align:center;
    background-color:#18121f ; margin:0;  padding:2em 0 0 0;


    }


a { text-decoration:none; }
a:link, a:visited { color:#008fcc;}
a:hover, a:focus, a:active { color:#ffffff; }
header { width:100%; display:inline; text-align: left; margin-top: 40px; margin-bottom:20px;margin-left: 10px }
header h1 {   line-height:100%;margin-top: 10px;font-size: 24px;margin-bottom:20px; }
header h2 {margin-top: 30px}
header p { color: white; text-align: center; margin-bottom:20px;}
section { width:100%; margin-bottom: 20px; display:block; text-align: center;}
select {height: 36px; border: 2px solid #008fcc; margin-top: 5px;}



.campo {height: 36px; width:100px;border: 2px solid #008fcc; margin-top: 5px;}
.tasto {background-image:url("../../system/image/10-Valider.png"); margin-top: 5px; }
.logo {
    float: left;
    text-align: left;
    height: 10%;
    width: 20%;
   
}

.grassetto {
    font-weight: bold;
    font-size: 16px;
    margin-top: 30%;
    line-height:100%;

}
p.oggetto {
    background-color: #1486b3;
    color: #fff;
    font-weight: bold;
    height: 2.0em;
    width: 100%;
    line-height:200%;
    margin-top:100px;
    margin-top: 10%;
    font-size: 18px;
}

.pulsante_piccolo{
    background-color: #fff;
    color: #1486b3;
    font-weight: bold;
    height: 2.0em;
    width:60px;
    line-height:150%;
    font-size: 18px;
    border: 2px solid #1486b3;
    margin-bottom:20px;
}

.pulsante_piccolo:active {
    background-color: #1486b3;
    color: #ffffff;
    font-weight: bold;
    height: 2.0em;
    width:60px;
    line-height:150%;
    font-size: 18px;
    border: 2px solid #1486b3;
}

.delta-small {
    width: 40px !important;
    height: 1.8em !important;
    font-size: 16px !important;
    margin-bottom:20px;
}

.pulsanti-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*width: 60px;*/
}

.generali  {
    background-color: #ffffff;
    color: #1486b3;
    font-weight: bold;
    height: 2.0em;
    width:200px;
    line-height:150%;
    font-size: 18px;
    margin-bottom: 5px;
    border-color: #1486b3;
}

 .timer { width: 100%; height: 100%; text-align: center; font-size: 30px; }

 td  {vertical-align: middle;padding: 5px}
 .log{ border-bottom: 1px solid #1486b3; text-align: left; }

 .barra {
	width: 100%;
	height: 3.9em;
	top: 0;
	left: 0;
	background: #18121f;
	position:fixed;
	text-align: center;
	data-position:fixed;
	z-index: 10;
 }

.barra img {margin-top:10px; margin-left: 5px; margin-bottom: 2px; cursor:pointer;}

.barra a.right {
    position:absolute;
    top:0;
    right:0;
    padding:23px 30px 0 0;
    font-size: 20px;
}

.barra a.utente {
    position:absolute;
    top:0;
    left:0;
    padding:23px 0 0 30px;
    font-size: 20px;
}

.barra a {
    
}

#box-versione {
    position:fixed;
    bottom:0;
    right:0;
    padding:10px 30px 30px 0;
    font-size: 20px;
    cursor: pointer;
}

#footer{
    clear:both;
    width:100%;
    height:50px;
}

li { display: inline; margin-bottom:5px;}

.msg {text-align: left; margin-left: 30px; display: block;}

#messaggi { 
    overflow: auto; 
    height:100px;
}

#messaggi > img {
	cursor:pointer;
}

#messaggi > ul {
    cursor:default;
}

.bottone, .bottonedouble {
    border-radius: 5px;
    background: #494152;
}

.bottone > i {
    font-size: 3.2rem;
    color:#048cc8;
    margin-top: 10px;
}
.bottone-categorie {
    display: none;
}

/*[id^=alrm] {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    background-color: red;
}

[id^=alrm] p {
    text-align: center;
    font-size: 25px;
    font-weight: 700;
    padding-top: 5px;
}*/

div#box-versione-message {
    background-color: #2b2631;
    max-width: 90%;
    width: 300px;
    height: 300px;
    border-radius: 10px;
}


@media only screen and (min-width: 320px){

    img {max-width: 100px; margin-top: 10px}


    /*css della pagina inizio.html*/
    .bottone { width:45%;
               height:100px ;
               float: left;
               display:inline;
               margin: 5px 5px 0px 0px;
               padding:5px;
               text-align:center;
               visibility: visible;
               font-size: 1.0em;


    }

    .bottonedouble { width:95%;
        height:100px ;
        float: left;
        display:inline;
        margin: 5px 5px 0px 0px;
        padding:5px;
        text-align:center;
        visibility: visible;
        font-size: 1.0em;


    }


    .conteiner {width: 100%; text-align: center; margin:25px auto; height: 100%;}



    table {margin-left:-3px; width: 100%;background-color: #dee09f;color: #000000;margin-bottom: 5px; margin-top: 5px; }


    .navlist {
        max-width: 200px
    }
    
    #box {
        width: 90%;
    }
    .pulsante  {

        background-color: #fff;
        color: #1486b3;
        font-weight: bold;
        height: 2.0em;
        width:80px;
        line-height:150%;
        font-size: 12px;
        border: 2px solid #1486b3;
        margin: 1px;
    }

    .busta {
        float: left; 
        margin: 0 10px 0 0;
        position: relative;
    }
    
    .msg {
        text-align: left; 
        margin-left: 30px;
        margin-top: 5px;
        display: block;
    }

    /*fine*/
}

/*for mobile by Ste*/ 
@media only screen and (max-width: 769px){
    .bottonedouble {
        width:100%;
        padding:15px 0;
    }
    .bottone {
        width:49%;
        padding:15px 0;
    }
    #left.bottone {
        float:left;
        margin:0;
        margin-top:5px;
    }
    #right.bottone {
        float:right;
        margin:0;
        margin-top:5px;
    }
    .busta {
        margin: 0 10px 0 10px;
    }
    #box-versione {
        text-align:center;
        position:relative;
        bottom:0;
        right:0;
        padding:20px 0px 0px 0;
        font-size: 20px;
    }
    .bottone-categorie {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 95%;
        height: 65px;
        clear: both;
        float: none;
        margin: 10px auto;
        text-align: center;
        font-size: 1.0em;
        align-items: center;
        /*justify-content: center;*/
    }
    .bottone-categoria {
        height: 65px;
        width: 65px;
        border-radius: 10px;
        margin: 0 5px;
        background-color: white;
    }
    .bottone-categoria.first {
        margin-left: 0;
    }
    .bottone-categoria.last {
        margin-right: 0;
    }
    /*
    .bottone-categoria-active {
        outline: 5px solid red;
        outline-offset: 0px;
    }*/
    .bottone-categoria-active {
        box-shadow: 0px 0px 0px 4px #FF4136 inset;
    }
}

@media only screen and (min-width: 480px){
    .bottone { width:46%; height:100px ;  float: left; display:inline; margin-left: 5px;
        margin-bottom: 5px;
        padding:5px; text-align:center; visibility: visible; font-size: 1.0em;
    }
    .bottonedouble { width:93%; height:100px ;  float: left; display:inline;  margin-left: 5px;
        margin-bottom: 5px;
        padding:10px; text-align:center; visibility: visible; font-size: 1.0em;

    }
   .conteiner {width: 500px; text-align: center; margin:25px auto; height: 100%;}

    table {margin-left:5px; width: 95%; background-color: #dee09f;color: #000000; margin-top: 10px}

    .pulsante  {

        background-color: #fff;
        color: #1486b3;
        font-weight: bold;
        height: 2.0em;
        width:120px;
        line-height:150%;
        font-size: 18px;
        border: 2px solid #1486b3;
        margin: 5px;
        display: inline;


    }

}
#box {
    width: 95%;
    margin-left: 5px;
    float: left;
    display:none;
    background-color:#CCCCCC;
}

@media only screen and (min-width: 769px){


    /*css della pagina inizio.html*/

    .conteiner {width: 650px; text-align: center; height: auto;}

    .bottone { 
        width:120px; 
        height:100px ;  
        float: left; 
        display:inline;
        margin: 5px;
        padding:10px; text-align:center; visibility: visible; font-size: 1.0em;
        position:relative;
        z-index:0;
		cursor:pointer;
    }
	
    .bottonedouble { width:270px; height:100px ;  float: left; display:inline; margin:5px;
        padding:10px; text-align:center; visibility: visible; font-size: 1.0em;
    }
	
	#alrm_z1 {
		
	}
	
	img[id^="alrm_z"]:hover {
		cursor:pointer;
	}


    table {margin-left:5px; width: 580px; background-color: #dee09f;color: #000000; margin-bottom: 5px;margin-top: 10px }

    .busta {
        float: left; 
        margin:0 0 0 -137px;
        position:absolute;
    }
    
    .msg {
        text-align: left; 
        margin-left: 40px;
        margin-top: 5px;
        display: block;
    }
    
    #box {
        width: 600px;
        margin-left: 5px;
        background-color:#CCCCCC;
        font-size: 25px;
        font-weight: bold;


        display:none;

    }


    .pulsante  {

        background-color: #fff;
        color: #1486b3;
        font-weight: bold;
        height: 2.0em;
        width:120px;
        line-height:150%;
        font-size: 18px;
        border: 2px solid #1486b3;
        margin: 5px;
        display: inline;


    }
    .pulsante:active{
        background-color: #1486b3;
        color: #ffffff;
        font-weight: bold;
        height: 2.0em;
        width:120px;
        line-height:150%;
        font-size: 18px;
        border: 2px solid #1486b3;
        margin: 5px;
        display: inline;
    }



    .nulla {margin-left: 2px; max-width: 146px; max-height:150px; margin-top: -2px; float: left}


    /*fine*/

}

.Attivo
{
    background-color: #ffff00;
}

.accesa {
    background-color:#beff4d;
}
.forzata {  background-color: #fbff53;
}

/* classi per cambiare il colore dei bottoni "attiva" in allarme_zone.php*/
.allarme_giallo {
    background-color: #ffff00;
    color: #000000;
}

.allarme_verde {
    background-color: #00ff00;
}

.allarme_rosso {
    background-color: #ff0000;
}