﻿/*
    rosso:  #cc4b31
    giallo: #fed74e
    blu: #3e78b1
    grigio chiaro: #efefef
    grigio: 999999
    grigio scuro : #5e5e5e
*/


@keyframes rotation {
    0%   {-ms-transform: rotate(360deg);
          -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
          color: #000000;}
    100% {color: #FFFFFF;}
}

@font-face {
  font-family: 'mw';
  /*
  src: url('fonts/fontawesome-webfont.eot?v=4.0.3');
  src: url('fonts/fontawesome-webfont.eot?#iefix&v=4.0.3') format('embedded-opentype'), url('fonts/fontawesome-webfont.woff?v=4.0.3') format('woff'), url('fonts/fontawesome-webfont.ttf?v=4.0.3') format('truetype'), url('fonts/fontawesome-webfont.svg?v=4.0.3#fontawesomeregular') format('svg');
  */
  /*src: url('fonts/axfont.ttf?v=4.0.3') format('truetype');*/
  src: url('mw.ttf?v=4.0.3') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
blockquote, pre, a, abbr, address, cite, code, del, dfn, em, img,
ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, dl, dt,
dd, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,
tr, th, td, article, aside, canvas, details, figure, figcaption, hgroup,
menu, footer, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    vertical-align: top;
    border: 0;
    font-family: verdana, thaoma, georgia, sans-serif;
    font-size: 1em;
    font-weight: normal;
}

article, aside, canvas, figure, figure img, figcaption, hgroup, footer, nav, section, audio, video{
    display: block;
    }

a, a:active, a:visited, a:hover {
    text-decoration: none;
    }

.warning{
    color: #000000;
    background-color: #fed74e;
}
.alarm{
    color: #ffffff;
    background-color: #cc4b31;
}
.ok {
    color: #000000;
    background-color: #ffffff;   
    }
.special {
    color: #ffffff;
    background-color: #0094ff;
}
.disabled {
    color: #5c5c5c;
    background-color: #999999;
}

.lg {
    color: #000000;
    background-color: #e7e7e7;
}
.wh {
    color: #000000;
    background-color: #ffffff;
}
.blu {
    color: #ffffff;
    background-color: #3e78b1;
}
.red {
    color: #ffffff;
    background-color: #cc4b31;
}

.hdn, hdn2{
    display:none;
}
.center {
    text-align: center;
}
.pdd05 {
    padding: 0.5em 1em 0.5em 1em;
}
.pdd10 {
    padding: 1em 1em 1em 1em;
}
.fill{
    bottom:0;
}
.lgborder {
    border-left: 1px solid #efefef;
    border-right: 1px solid #efefef;
}
.body {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 680px;
    cursor: default;
}
/*.bb {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    background: #efefef;
}*/
.content {
    padding: 0px 0.1em 0px 0.1em;
    margin-bottom: 0 0.5em 0.5em 0.5em;
}

/* STILI PER L'INTESTAZIONE*/
.hdr {
    display: table;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
    background-color: #c1372A;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}
.hdr_it {
    display: table-cell;
    width: 33%;
    text-align: center;
    color: #ffffff;
}
.hdr_it:hover {
        cursor: pointer;
    }
.hdr_txt {
    font-size: 0.6em;
    /*color: #ffffff;*/
}

.path {
    background-color: #fafafa;
    display: block;
    width: 100%;
    margin: auto;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    font-size: 0.8em;
    text-align: center;
    color: #666666;
}
.path_txt {
    display: inline-block;
    text-transform: uppercase;
    /*text-decoration: underline;*/
    /*border-bottom: 1px solid #666666;*/
}

/* STILI PER I SIMBOLI */
.sym_home:before {
    font-family: mw;
    content: "\f015";
}
.sym_info:before {
    font-family: mw;
    content: "\f011";
}
.sym_close:before {
    font-family: mw;
    content: "\f00d";
}
.sym_cloud:before {
    font-family: mw;
    content: "\f019";
    color: #3e78b1;
}
.sym_special:before {
    font-family: mw;
    content: "\f007"; /*user*/
    color: #ffffff;
}
.sym_clock:before {
    font-family: mw;
    content: "\f00b"; /*orologio*/
    color: #3e78b1;
}
/*.sym_menu:before {
    content: "\f0C9";
}
/*.sym_cfg:before {
    font-family: mw;
    content: "\f013";
}*/

/*STILI PER LE IMMAGINI*/
.img {
    border-radius: 20px;
    width: 40px;
    height: 40px;
}
.img_s {
    border-radius: 8px;
    width: 16px;
    height: 16px;
    margin-right: 2px;
}
.img_xs {
    border-radius: 4px;
    width: 8px;
    height: 8px;
}

.txt {
    font-size: 1em;
}
.txt_s {
    font-size: 0.8em;
}
.txt_xs {
    font-size: 0.6em;
}

/*STILI PER GLI STATI E I COMANDI*/
.it {
    display: table;
    width: 100%;
    font-size: 1em;
    /*border-top: 1px 1px 0px 1px solid whitesmoke;*/
    margin-top: 0.5em;
    }
.it:hover {
    cursor: pointer;
    }
.it_img {
    display: table-cell;
    font-size: 1em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    width: 50px;
    border-right: 1px solid #e7e7e7;
    text-align: center;
    vertical-align: top;
}
.it_txt {
    display: table-cell;
    padding: 0.5em 0.5em 0.5em 0.5em;
    font-family: verdana;
    font-size: 1em;
    text-align: left;
    vertical-align: top;
}

.op_img {
    display: table-cell;
    font-size: 1.5em;
    width: 50px;
    border-right: 1px solid #e7e7e7;
    text-align: center;
    vertical-align: top;
    padding-top: 0.6em;
}

.cmds {
    display: table;
    width: 100%;
    text-align: right;
}
.cmds_img {
    display: table-cell;
    width: 50px;
    border-right: 1px solid #ddd;
}
.cmds_txt {
    display: table-cell;
    padding: 0.5em 0.5em 0em 0.5em;
    font-family: verdana;
    font-size: 1em;
    /*text-align: right;
    vertical-align: top;*/
}
.cmd_txt {
    display: block;
    float: right;
    font-size: 0.8em;
    margin: 0.0em 0.0em 0.1em 0.1em;
    padding: 0.3em 0.5em 0.3em 0.5em;
    /*padding-left: 0.5em;
    padding-bottom: 0.5em;*/
    cursor: pointer;
    background-color: #efefef; /*rgba(62,120,177,0.3)*/
    border-radius: 2px;
}

#frame {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0px;
  	font: 1em verdana, thaoma, georgia, sans-serif;
    border:none;
}

/* STILI PER le finestre modali*/
.mask {
    visibility: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: 100;
    background-color: #000000;
    opacity: 0.4;
    filter: alpha(opacity=40);
}
.wz {
    position: fixed;
    display: block;
    visibility: hidden;
    z-index: 100;
    top: 25%;
    width: 100%;
    margin: 0 auto;
    max-width: 680px;
}
.wz1 {
    padding: 0 10% 0 10%;
    /*border: 1px solid red;*/
}
.wztitle {
    display: block;
    visibility: hidden;
    z-index: 100;
    /*padding: 0.5em 1em 0.5em 1em;*/
}
.step {
    display: block;
    z-index: 100;
    margin: 0 auto;
    visibility: hidden;
    background-color: #efefef;
    color: #000000;
}

/* STILI PER LA MEMORIA EVENTI*/
.ev_it {
    display: table;
    width: 100%;
    font-size: 1em;
    border-bottom: 1px solid whitesmoke;
    margin-top: 1px;
}
.ev_img {
    display: table-cell;
    font-size: 1em;
    padding-bottom: 0.1em;
    width: 30px;
    /*border-right: 1px solid #ddd;*/
    text-align: center;
    vertical-align: middle;
}
.ev_txt {
    display: table-cell;
    /*padding-left: 0.5em;*/
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    font-family: verdana0.2em;
    font-size: 1em;
    text-align: left;
    vertical-align: top;
}

/* STILI PER LA FINESTRA DI LOGIN*/
.lgn_logo {
    margin-top: 10px;
    margin-bottom: 50px;
    text-align: center;
}

.lgn_it, .lgn_usr, .lgn_pwd {
    margin-left: 2em;
    margin-right: 2em;
    margin-bottom: 2em;
    font: 1em verdana, thaoma, georgia, sans-serif;
    border-bottom: 1px solid rgba(170, 170, 170, .7);
}
.lgn_usr:before {
    font-family: mw;
    font-size: 1.1em;
    color: #5c5c5c;
    content: "\f007";
    padding-right: 0.2em;
}
.lgn_pwd:before {
    font-family: mw;
    font-size: 1.1em;
    color: #5c5c5c;
    content: "\f008"; /*lucchetto*/
    padding-right: 0.2em;
}

.lgn_txt {
    padding-top: 0.1em;
    font: 1em verdana, thaoma, georgia, sans-serif;
    border: 0;
    margin-bottom: 1px;
    /*background-color:#cccccc;*/
}
.lgn_btn {
    width: 100%;
    margin-top: 1em;
    padding: 1em;
    font: 1em verdana, thaoma, georgia, sans-serif;
    border: 0;
    color: #efefef;
    background-color: #3e78b1; /*#28324e;*/
    border-radius: 3px;
    cursor: pointer;
}
.lgn_err {
    cursor: default;
    margin-top: 2em;
    margin-bottom: 2em;
    font: 1em verdana, thaoma, georgia, sans-serif;
    color: #c1372A; /*#A38F84;*/
    text-align: center;
}


/* STILI PER GLI ACCORDION */
button.accordion {
    background-color: #efefef;
    color: #5c5c5c;
    cursor: pointer;
    padding: 1em;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1em;
    transition: 0.4s;
}
button.accordion:after {
    content: '\002B';
    color: #5c5c5c;
    font-weight: bold;
    float: right;
    margin-left: 1em;
}
button.accordion.active:after {
    content: "\2212";
}
button.accordion.active, button.accordion:hover {
    color: #ffffff;
    background-color: #3e78b1;
}
div.panel {
    /*padding: 0 18px;*/
    background-color: #efefef;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

/*STILI PER I COMANDI PO*/

/*STILI PER I COMANDI PO*/
.opt {
    z-index: 100;
    cursor: pointer;
    display: block;
    position: relative;
    text-align: left;
}
.opt:hover {
    background-color: #5c5c5c;
    color: #000000;
}
.opt input[type="radio"] {
    display: none;
}
.opt input[type="radio"] + label {
    cursor: pointer;
    display: block;
    /*float:left;*/
    padding: 0.5em;
    position: relative;
    text-align: left;
    background-color: #efefef;
    color: #999999;
    border-radius: 3px;
}
.opt input[type="radio"] + label:hover {
    background-color: #3e78b1;
    color: #ffffff;
}
.opt input[type="radio"]:checked + label {
    background-color: #3e78b1;
    color: #FFFFFF;
}

.opttm {
    z-index: 100;
    cursor: auto;
    display: block;
    position: relative;
    /*margin: 0.5em;*/
    padding: 1em;
    text-align: center;
}
.txttm {
    z-index: 100;
    padding: 0.5em 1em 0.5em 1em;
    font: 1em verdana, thaoma, georgia, sans-serif;
    border: 1px solid #999999;
    text-align: center;
    /*background-color:#cccccc;*/
}
.btntm {
    width: 100%;
    /*margin-top: 1em;*/
    padding: 1em;
    font: 1em verdana, thaoma, georgia, sans-serif;
    border: 0;
    color: #efefef;
    background-color: #3e78b1; /*#28324e;*/
    border-radius: 3px;
    cursor: pointer;
}

.optpp {
    z-index: 100;
    cursor: pointer;
    display: block;
    position: relative;
    text-align: left;
    padding: 0.5em;
    background-color: #efefef;
    color: #999999;
    border-radius: 3px;
}
.optpp:hover {
    background-color: #3e78b1;
    color: #ffffff;
}

/* STILI PER LA PROGRAMMAZIONE*/
/*stile riga*/
.row {
    margin: 3px 0px 3px 0px;
}
/*stili per le etichette*/
.lbl{
    position: relative;
    /*height: 34px;*/
    font: 1em/1.5em verdana, thaoma, georgia, sans-serif;
    margin: 30px 0px 0px 0px;
    color: rgba(30, 30, 30, 0.7);
}
.lbl_small{
    position: relative;
    margin-top: 10px;
    margin-bottom: 5px;
    text-align:right;
    text-transform:uppercase;
    font: 0.6em verdana, thaoma, georgia, sans-serif;
    color:#CCCCCC;
    border: 1px solid #AAAAAA;
    border-left:none ;
    border-right:none ;
    border-top:none ;
}
.nota{
    font-size: 0.7em;
    margin:10px 0 1px 2px;
}

/*stili per i textbox*/
/*input[type="text"], input[type="password"] {
    width: 90%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 0px;
    border: 1px solid rgba(170, 170, 170, .7);
    font: 0.8em verdana, thaoma, georgia, sans-serif;
    min-height: 2em;
}*/
/*input[type="text"]:hover, input[type="password"]:hover{
    border-color: rgba(255, 255, 255, .7);
    background-color: rgba(191, 30, 74, .3);
    color:#FFFFFF;
}
input[type="text"]:focus, input[type="password"]:focus{
    border-color: rgba(255, 255, 255, .7);
    background-color: rgba(191, 30, 74, 1.0);
    color:#FFFFFF;
}*/
/*stili per gli option botton*/
/*.opt{
    cursor: pointer;
    float:left;
    position: relative;
    margin-left:1px;
    text-align:center;
}
.opt input[type="radio"] {
    display: none;
}
.opt label {
    cursor: pointer;
    display: block;
    width: 50px;
    height: 30px;
    border-radius: 16px;
    font: 14px/28px verdana, thaoma, georgia, sans-serif;
    border: 2px solid rgba(255, 255, 255, .7);
    background: rgba(0, 0, 0, .7);
    color: rgba(255, 255, 255, .7);
}
.opt input[type="radio"]:hover + label {
    background-color: rgba(191, 30, 74, .3);
    color:#FFFFFF;
}
.opt input[type="radio"]:checked + label {
    background-color: rgba(191, 30, 74, 1.0);
    color:#FFFFFF;
}*/
/*stili per i checkbox*/
.chk{
    cursor: pointer;
    position: relative;
    margin-left:1px;
    text-align:center;
}
.chk input[type="checkbox"] {
    display: none;
}
.chk label {
    cursor: pointer;
    display: block;
    width: 50px;
    height: 30px;
    border-radius: 16px;
    font: 14px/28px verdana, thaoma, georgia, sans-serif;
    border: 2px solid rgba(255, 255, 255, .7);
    background: rgba(0, 0, 0, .7);
    color: rgba(255, 255, 255, .7);
}
.chk label:hover{
    background-color: rgba(191, 30, 74, .3);
    color:#FFFFFF;
}
.chk label:before{
    content:'no';
}
.chk input[type="checkbox"]:checked + label {
    background-color: rgba(191, 30, 74, 1.0);
    color:#FFFFFF;
}
.chk input[type="checkbox"]:checked + label:before{
  content:'si';
}

.chk2{
    cursor: pointer;
    float:left;
    position: relative;
    margin-left:1px;
    text-align:center;
}
.chk2 input[type="checkbox"] {
    display: none;
}
.chk2 label {
    cursor: pointer;
    display: block;
    width: 50px;
    height: 30px;
    border-radius: 16px;
    font: 14px/28px verdana, thaoma, georgia, sans-serif;
    border: 2px solid rgba(255, 255, 255, .7);
    background: rgba(0, 0, 0, .7);
    color: rgba(255, 255, 255, .7);
}
.chk2 label:hover{
    background-color: rgba(191, 30, 74, .3);
    color:#FFFFFF;
}
.chk2 label:before{
    content: 'off';
}
.chk2 input[type="checkbox"]:checked + label {
    background-color: rgba(191, 30, 74, 1.0);
    color:#FFFFFF;
}
.chk2 input[type="checkbox"]:checked + label:before{
    content: 'on';
}    
/*stili per i pulsanti*/

.btn {
    display: inline-block;
    margin: 20px 5px 10px 5px;
    padding: 5px 35px 5px 35px;
  	font: 1em verdana, thaoma, georgia, sans-serif;
    background-color: #000000;
    border-radius: 10px;
    border:none;
    border: 2px solid rgba(255, 255, 255, .7);
}
.btn:hover{
    background-color: rgba(191, 30, 74, .3);
    cursor:pointer;
}
.btn:active {
    background-color: rgba(191, 30, 74, 1.0);
    color:#000000;
}

/*stili per i menu*/
.mnu{
    /*visibility: hidden;*/
    position: fixed;
    z-index: 100;
    top: 0px;
    left: -100%;
    width: 70%;
    height: 100%;
    font-size: 1.0em;
    text-align: left;
    background-color: rgba(40, 40, 40, 0.8);
            border-radius: 0px;
         -o-border-radius: 0px;
       -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
            transition: left .2s;
         -o-transition: left .2s;
       -moz-transition: left .2s;
    -webkit-transition: left .2s;
}
.mnu_close{
    height: 28px;
    width: 100%;
    color: #ffffff;
    background-color: #000000;
    border-bottom: 1px solid #939090;
}
.mnu_item {
    padding: 5px;
  	font: 18px verdana, thaoma, georgia, sans-serif;
    color:#ffffff;
}
.mnu_item:hover{
    background-color: rgba(255, 255, 255, .7);
    color: #000000;
    cursor:pointer;
}
.mnu_sep{
    margin: 3px 0px 3px 0px;
    border: 1px solid #939090;
    border-left:none ;
    border-right:none ;
    border-top:none ;
}

.mnu_icon {
  font-family: mw;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  padding: 4px 4px 4px 4px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  border: 1px solid rgba(170, 170, 170, .0);
  border-radius: 0.2em;
}
.mnu_icon:hover{
    cursor: pointer;
    border-color: rgba(170, 170, 170, .7);
    background-color: rgba(255, 255, 255, .7);
    color: #000000;
            box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}
.mnu_icon2 {
    width: 28px;
    color: #e80505;
    font-family: mw;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    padding: 2px 10px 2px 10px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border: 1px solid rgba(170, 170, 170, .0);
    border-radius: 0.2em;
}