body {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    margin: 0;
    justify-content: space-between;
    font-family: Roboto Flex,sans-serif,verdana,arial;
}
div {
    /* border: 1px solid; */
    /* margin: 2px; */
    box-sizing: border-box;
}
div#top{
    height: 4vh
}
div#bottom{
    height: 1vh;
    position: fixed;
    bottom: 0px;
    background: #0000;
    z-index: 2;
    width: 100%;
    font-size: 1vh;
    text-align: center;
}

div#middle {
    display: flex;
    flex-direction: row;
    min-height: 92vh;
}
div#left {
    min-width: 13vw;
}



div#right {
    min-width: 10vw;
}

div#center {
    width: 80vw;
    padding:0 1vh;
}
.menu {
    margin-bottom: 1vh;
    padding: 0.5vh;
    border: 1px dotted;
    border-radius: 1vh;
}
.menu:hover {
    background: #d3ff00;
}
div#logout {
    cursor: pointer;
}
.menu div{
    cursor: pointer;
    padding-left: 1vw;
}
div#top {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-size: 2vh;
    overflow: hidden;
}.gestione.utenti {}.menu {
    margin-bottom: 1vh;
}

div#logout,div#pwdchange {
    cursor: pointer;
}
div#logout:hover,div#pwdchange:hover {
    text-decoration: underline;
}
#center table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
#center table th,#center table td {
    border: 1px solid #000;
}
.btn {
    border: 1px solid #000;
    cursor: pointer;
    width: 5vw;
    background: #f1f1f1;
    display: inline-block;
}
.btn:hover {
    background:#9f9;
}
tr:hover{
    background:#f99;
}
td[contenteditable] {
    /* background: #ffffce78; */
    box-shadow: inset 0px 0px 2px 0px #000;
}
td.commands {
    justify-content: space-around;
    width: 14vw;
}
.daygroup {
    margin-bottom: 2vh;
}
.daygroup:nth-child(even) {
    background: #f7f7f7;
}
.daygroup:nth-child(odd) {
    background: #d1d1d1;
}


div#centerhead {
    background: #555;
    color: #fff;
    padding: 2px;
    text-transform: uppercase;
    font-weight: bold;
}
div.centersubhead {
    padding: 2px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    border-left: 1px solid #000;
    font-weight: bold;
}
th {
    /* width: 27%; */
}
th:last-child {
    min-width: 10vw;
    max-width: 10vw;
}
td:last-child {
    text-align: center;
}
.canceloptions {
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    border-left: 1px solid #000;
}
fieldset {
    display: flex;
    flex-direction: column;
}
div#loginerrormsg {
    padding: 7px;
    color: #f00;
    text-align: center;
}

div#pwdforgot {
    cursor: pointer;
    text-align: center;
    color: #000;
    margin-top: 1vh;
}
.pwdrecover,.pwdchange {
    width: 30vw;
    padding: 1vh;
    border: 1px solid #000;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.info {
    font-style: italic;
    margin: 1vh;
}
div#forgotbtn,div#changepwdbtn {
    cursor: pointer;
    box-shadow: 1px 1px 3px #000;
    padding: 1vh;
    border-radius: 1vh;
}
div#forgotbtn:hover,div#changepwdbtn:hover {
    box-shadow: inset 1px 1px 3px #000;
}
.menu.loginarea i {
    font-size: 1.3vh;
    padding-right: 0.2vw;
}
.menu.loginarea .userdetails {
    cursor: default;
    font-size: 1.8vh;
    padding-left: 0.4vw;
    text-transform: uppercase;
}
.menu.loginarea .userdetails i{
    font-size: 2.2vh;
}
.menu .userdetails {
    cursor: default;
    font-size: 2vh;
};
.menu .userdetails {
    cursor: default;
    font-size: 2vh;
};
.menu.loginarea i {
  font-size: 1.3vh;
    padding-right: 0.2vw;
}

.errormsg {
    padding: 1vh;
    font-style: italic;
    color: #f00;
}
i#mmswitcher {
    display: none;
}
th.piattoname {
    width: 71vw!important;
}
#top img {
    height: 2vh;
}
.appname {
    font-size: 2vh;
    font-style: italic;
    color: #f79800;
    text-shadow: 1px 1px 1px #000;
    display: none;
}

td.piattoname {
    font-size: 2.2vh;
    padding: 1vh;
    display: inline-block;
    border: 1px solid #000 !important;
    margin-left: 4vw;
    width: 68vw!important;
    background: #fa0;
    box-shadow: 0px 0px 4px #000;
    border-radius: 1vh;
}
td.commands {
    font-size: 1.2vh!important;
    padding: 1vh;
    display: inline-block;
    /* border: 1px solid #000 !important; */
    width: 9vw!important;
    /* background: #fa0; */
    /* box-shadow: 0px 0px 4px #000; */
    /* border-radius: 1vh; */
    position: relative;
    right: 0;
}


@media screen and (max-width: 600px) {
    
tbody {
    display: block;
    padding-top: 1vw;
}
    .nomob{display:none}
    body{
        /* background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgb(99 60 51) 50%, rgba(0,0,0,1) 100%); */
        /* background-image: url(/images/sfondo.jpg); */
        background-size: auto;
        background-color: #000;
    }
    #left {
    background-color: #ffff7d4d;
    position: fixed;
    font-size: 2.6vh;
    width: 60vw;
    padding: 5px;
    left: -66vw;
    box-shadow: 0px 0px 3px #000;
    top: 6vh;
    z-index: 1;
  }
    div#top {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-size: 2vh;
    height: 6vh;
    position: fixed;
    width: 100%;
    background: #fff;
    z-index: 1;
}
#top img {
    height: 3.2vh;
    width: 23vh!important;
}
.appname {
    font-size: 2.5vh;
    text-shadow: 0px 0px 3px #000;
    position: absolute;
    right: 5vw;
    bottom: 0vh;
}    
div#middle {
    display: flex;
    flex-direction: row;
    min-height: 92vh;
    margin-top: 9vw;
    margin-bottom: 2vh;
}
    table th,table td {
    border: none !important;
}
        table  {
    border: 1px solid #000 !important;
    border-top: 0px solid #000 !important;
}
    div#right{
        display:none;
    }
    div#center{
        width:100%;
        font-size: 1vh;
        box-shadow: 2px 1px 4px #000 !important;
        display: block;
    }
    div#center th,div#center td{
        width:100%;
        font-size: 2.4vw;
        text-transform:uppercase
    }
div#center td.piattoname {
    font-size: 2.2vh !important;
    padding: 1vh;
}
td.piattoname.primo{
    background: #fff65b57;
}
td.piattoname.secondo{
    background: #ffaaaa66;
}
td.piattoname.contorno{
    background: #97ff5b7a;
}      
td.piattoname div {position: relative;}
td.piattoname div:after {
    position: absolute;
    right: 0;
    background: #939393;
    width: 2.2vh;
    height: 2.2vh;
    line-height: 2.2vh;
    /* border: 1px solid; */
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 2px #000;
    color: #fff;
}
    td.piattoname.primo div:after{ 
        content:'P';
    }
    td.piattoname.secondo div:after{ 
        content:'S';
    }
    td.piattoname.contorno div:after{ 
        content:'C';
    }

    i#mmswitcher{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    padding: 1vh;
    font-size: 4vh;
    background:#ddd;
    box-shadow:1px 1px 1px #000;
    z-index: 2;
}
    div#centerhead{
    font-size: 1vh;
    text-align: center;
}
    .btn {
    border: none;
    cursor: pointer;
    width: 5vh;
    background: #f1f1f1;
    display: inline-block;
    font-size: 3vh;
    text-align: center;
    margin: 0.5vh;
    /* border: 1px solid; */
    border-radius: 1vh;
    box-shadow: 0px 0px 4px #000;
    height: 4.5vh;
    padding-top: 0.6vh;
}
    div.centersubhead {
    padding: 5px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    border-left: 1px solid #000;
    font-weight: bold;
    font-size: 2vh;
    text-align: center;
    border-top-left-radius: 1vh;
    border-top-right-radius: 1vh;
    margin-top: 1vh;
    background: #0000001a;
}
    
    div#centerhead{
    font-size: 1vh;
    text-align: center;
    font-size: 1.5vh;
    margin-top: 3vh;
}
    th:last-child {
    min-width: 5vw;
    max-width: 5vw;
}
    th.piattoname {
    width: 85vw!important;
    display: none !important;
}
    #newselection select {
    font-size: 3.6vw;
}
    select {
    font-size: 2.2vh;
    text-transform: uppercase;
    padding: 5px;
}
    td.commands {
    padding: 0vh 1vh;
}
.daygroup {
    margin-bottom: 2vh;
    border-top-left-radius: 1vh;
    border-top-right-radius: 1vh;
}

}


select {
    font-size: inherit;
    text-transform: uppercase;
    padding: 3px;
}
td.commands[colspan="2"] {
    width: 100% !important;
    right: 0 !important;
    box-sizing: border-box;
}


span.annullamento {
    /* border: 1px solid; */
    height: 2vh;
    display: inline-flex;
    margin: 1vh;
    padding: 1vh 0.5vh;
    text-transform: uppercase;
    box-shadow: 1px 1px 2px #000;
    background:#ddd;
    font-size: 1.3vh;
    border-radius: 0.5vh;
}
span.annullamento.checked{
    background:#0f0;
    font-weight: 600;
    box-shadow: inset 1px 1px 2px #000;
}
input[giorno] {
    line-height: inherit;
    display: none;
}
span.annullamento label {
    display: revert;
    /* border: 1px solid #000; */
    line-height: 2vh;
    vertical-align: bottom;
    height: 1.5vh;
}


.oggicontainer {
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: nowrap;
    align-items: center;
    padding: 1vh 0;
}

.piattogiorno {
    font-size: 2.5vh;
    text-transform: uppercase;
}
.piattogiorno .tipop {
    font-size: 1.5vh;
    text-transform: lowercase;
    font-style: italic;
    color: #060;
    padding: 0.5vh;
}
.piattogiorno .nomep {
    padding: 0.5vh;
    font-weight: bold;
    text-shadow: 0px 1px 1px black;
    -webkit-text-stroke: 0.5px #000;
    color: #ff9331;
}
.info.annullamento {
    font-size: 2vh;
    color: #ff0a0a;
    font-weight: bold;
    text-transform: uppercase;
}
tr.stats.fruito {
    background: #dfd;
}

tr.stats.trasferta {
    background: #ddf;
}

tr.stats.normale {
    background: #fdd;
}
div#filtristats {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ui-datepicker td:last-child {
    text-align: unset;
}

.ui-datepicker th:last-child {
    min-width: unset;
    max-width: unset;
}
.searchUserList {
    position: absolute;
    z-index: 3;
    background: #fff;
    width:20vh;
    box-shadow: -1px 1px 2px #000;
    top: 2vh;
}
.searchUserList span {display: block;border-top: 1px dotted #000;padding: 0.4vh 1vh;}
input#searchuser {}.btn.search.stats {
    text-align: center;
    margin: 1vh;
    padding: 1vh;
}
tr.stats.userSum {
    background: #ddd;
    font-weight:bold;
}
tr.stats td[f="nominativo"]{
    text-transform:uppercase
}
tr.userDet.stats {
    display: table-row;
}input#searchuser {}.btn.search.stats {
    text-align: center;
    margin: 1vh;
    padding: 1vh;
}
th.u1 {width: 6vw;}
th.u2 {width: 6vw;}
th.u3 {width: 11vw;}
th.u4 {width: 10vw;}
th.u5 {width: 8vw;}
th.u6 {width: 4vw;}
th.u7 {width: 6vw;}
th.u8 {width: 9.3vw;}

th.p1 {width: 10vw;}
th.p2 {width: 7vw;}
th.p3 {width: 19vw;}
th.p4 {width: 4vw;}
th.p5 {width: 11vw;}
th.p6 {width: 11vw;}
table.users {
    font-size: 0.6vw;
}
table.users td {
    padding:0.1vw;
}
table.users td select {
    width: 7.8vw;
}
.workingDays .ui-selecting { background: #FECA40; }
.workingDays .ui-selected { background: #F39814; color: white; }
.workingDays { list-style-type: none; margin: 0; padding: 0; width: 450px; }
.workingDays li {margin: 1px;padding: 1px;float: left;width: 1vw;height: 1vw;font-size: 0.8vw;text-align: center;cursor: pointer;}

span {}.comandadate {
    font-size: 1vw;
    text-align: center;
    font-weight: bold;
}

.comanda {
    border: 1px solid #000;
    margin: 1vw;
    width: 22vw;
    box-shadow: 1px 1px 1px #000;
    padding: 0.5vw;
}


div#reportcomande {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

.sedetitle {
    font-style: italic;
}

.comandapiatto {
    text-align: right;
}

.comandapiatto span:nth-child(3),.comandapiatto span:nth-child(2) {
    width: 1vw;
    display: inline-block;
}
.sedetitle:before {
    font-style: italic;
    content: 'sede:';
    padding-right: 2vw;
}

.comandasede {
    margin-top: 0.5vw;
}
@media screen and (max-width: 600px) {
    .comanda {
    width: 80vw;
    font-size: 1.5vh;
}
    .comandadate {
    font-size: 3vw;
    text-align: center;
    font-weight: bold;
}
    .comandapiatto span:nth-child(3),.comandapiatto span:nth-child(2) {
    width: 5vw;
    display: inline-block;
}
    .btn.search.stats {
    text-align: center;
    margin: 1vh;
    padding: 1vh;
    width: 13vh;
}
span.dta,span.dtd{display: block;font-size: 1.5vh;margin-top: 0.8vh;}
.pwdrecover,.pwdchange {
    width: 83vw;
    padding: 1vh;
    border: 1px solid #000;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 2vh;
}
    div#forgotbtn,div#changepwdbtn {
    cursor: pointer;
    box-shadow: 0px 0px 3px #fff;
    padding: 1vh;
    border-radius: 1vh;
    background: #ffffff5e;
    border: 1px solid #878787;
}
    
}
td.hidecell {
    opacity: 0.2;
}

option.cucina {
    background-color: #f99;
}
table.users tr[ucount="1"]{background: #e7e7e7;}
table.users [f="nome"],table.users [f="cognome"]{
    text-transform: uppercase;
    font-weight: bold;
    font-stretch: extra-expanded;
}
td.st6,td.st7,td.st8 {
    text-align: right;
}
td.st3,td.st4,td.st5 {
    text-align: center;
}
.exdl {
    text-align: center;
    margin-top: 1vh;
}
td.st6,td.st7,td.st8 {
    text-align: right;
}

.invio.menu {
    font-size: 1vw;
    position: fixed;
    right: -22vw;
    width: 25vw;
    top: 0;
    background:#d3ff00;
    line-height: 1vw;
    box-shadow: 1px 1px 3px #000;
    cursor: pointer;
}
.invio.menu i{
    font-size: 1.5vw;
    padding: 0.5vw 2vw 0.5vw 1vw;
    vertical-align: middle;
}
.invio.menu:hover {
    right: 0vw;
}
input#useAs {
    margin-left: 2vw;
}
div#usingUser {
    border-radius: 1vh;
    font-stretch: extra-condensed;
    padding: 4px;
    background: #ffdea8;
    box-shadow: -1px 1px 3px #000;
    margin: 1vh auto;
    font-size: .8vw;
    width: 11vw;
    text-overflow: ellipsis;
    overflow: hidden;
}
div#usingUser span {
    width: 9vw;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
}

div#usingUser i {
    float: right;
    font-size: 1vw;
    color: #cb0000;
}
@media screen and (max-width: 600px) {
    div#usingUser {
    border-radius: 1vh;
    font-stretch: extra-condensed;
    padding: 4px;
    background: #ffdea8;
    box-shadow: -1px 1px 3px #000;
    margin: 3vh auto;
    font-size: 3vw;
    width: 46vw;
    text-overflow: ellipsis;
    overflow: hidden;
}
div#usingUser span {
    width: 18vh;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    color: #000;
}

div#usingUser i {
    float: right;
    font-size: 4vw;
    color: #cb0000;
}
   div#left {
    min-width: 13vw;
    /* height: 94vh; */
    /* background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgb(99 60 51) 84%, rgba(84 52 43) 100%); */
    background: #000;
}
    .menu{
    color: #fff;
    box-shadow: 0 0 2px #fff;
    border: none;
}
    .menu div{
    text-shadow: 0 0 6px #000;
    /* line-height: 5vh; */
    /* height: 3vh; */
}
    div#bottom{
    height: 4vh;
    font-size: 1.5vh;
    color: #a9a9a9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgb(99 60 51) 50%, rgba(0,0,0,1) 100%); */
    background: #000;
}
        div#bottom a{color: #ffab5e;}
}
#top img.mainlogo {
    width: 9vw;
    /* border: 1px solid; */
    height: auto;
}
.btn.removeWaAssociation:hover {
    background:#d3ff00;
    box-shadow: inset -1px 1px 3px #000;}

.qrcode {
    text-align: center;
}

.btn.removeWaAssociation {
    width: 14vw;
    padding: 0.5vw;
    border-radius: 0.5vw;
    box-shadow: -1px 1px 3px #000;
    margin: 0.5vw;
}

tr.cloned {
        background: #ffa2ff;
    }
tr.newUser {
        background: #ff0;
        }
.usertitle {
            margin-left: 25px;
            margin-top: 10px;
}
.usertitle span {
            padding-left: 4px;
            text-transform: uppercase;
            font-style: italic;
            font-weight: 700;
}        
tr.allerigemod {
    background: #9dffeb!important;
}
div#allergeniSel {
    position: absolute;
    width: 307px;
    border: 1px solid #000;
    height: 325px;
    background: #9dffeb;
}span {}.usertitle {
    margin-left: 25px;
    margin-top: 10px;
}
.usertitle span {
    padding-left: 4px;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 700;
}

div.allergie {
    font-size: 9px;
    margin-top: 5px;
    text-align: right;
}
div.allergie span{
    color:#f00;
}
div.allergie span:last-child{
    color:#f00;
    margin: 0;
}
div.allergie span:last-child:after{
    content: ':';
    margin: 0 0;
}
div.allergie span:after{
    content:'-';
    margin: 0 6px;
}