* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

button {
    user-select: none;
}


/*generali*/
/*scanner camera*/
.camera {
    position: relative;
    top: 20%;
    width: 90%;
    z-index: 9999;
    background: black;
    margin-left: auto;
    margin-right: auto;
}

.app_cover, #listaFunzioni {
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 150px) {
    .app_cover, #listaFunzioni {
        width: 150px !important;
    }
}

@media (min-width: 300px) {
    .app_cover, #listaFunzioni {
        width: 300px !important;
    }
}

@media (min-width: 450px) {
    .app_cover, #listaFunzioni {
        width: 450px !important;
    }
}

@media (min-width: 600px) {
    .app_cover, #listaFunzioni {
        width: 600px !important;
    }
}

@media (min-width: 750px) {
    .app_cover, #listaFunzioni {
        width: 750px !important;
    }
}

@media (min-width: 900px) {
    .app_cover, #listaFunzioni {
        width: 900px !important;
    }
}

@media (min-width: 1050px) {
    .app_cover, #listaFunzioni {
        width: 1050px !important;
    }
}

@media (min-width: 1200px) {
    .app_cover, #listaFunzioni {
        width: 1200px !important;
    }
}

@media (min-width: 1350px) {
    .app_cover, #listaFunzioni {
        width: 1350px !important;
    }
}

@media (min-width: 1500px) {
    .app_cover, #listaFunzioni {
        width: 1500px !important;
    }
}


    /*.app_cover:after {
        content: '';
        display: block;
        clear: both; 
    }*/

.app {
    float: left;
    margin:5px;
    /*padding: 14px 18px;*/
    height: 170px;
    flex: 0 0 140px;
}

.appText {
    text-align: center;
    color: black;
    /*width: 120px;*/
    font-size: 12px;
    font-weight: bold;
    margin-top: 5px;
}

.app_thumbnail {
    width: 120px;
    height: 120px;
    display: table;
    text-align: center;
    margin: auto;
}

    .app_thumbnail ons-icon {
        font-size: 70px;
        display: table-cell;
        vertical-align: middle;
    }

.nonattivo {
    opacity: 0.2;
}

#modalFunzioni > .dialog {
    min-width: 320px;
}

/*sheet inserimento articolo */
#sheetbarcode .action-sheet-title {
    background-color: #009688;
    color: white;
    font-weight: bold;
}

.btnArticoloSheet {
    background-color: white;
    border: 1px solid #009688;
    text-align: left;
    width: 100%;
}

.articoloSheet {
    text-align: left;
    font-weight: bold;
    color: #009688;
}

.txtArticoloSheet {
    font-size: 13px;
    white-space: initial;
    color: #333333;
}


/*input:invalid {
    box-shadow: 0 0 5px 1px red;
}*/
input:focus:invalid {
    box-shadow: none;
}

.alert-dialog-title {
    font-weight: bold;
}

.boxinput:focus {
    outline: none;
}

.boxinput:focus {
    background-image: linear-gradient(#009688, #009688), linear-gradient(to top, transparent 1px, #afafaf 1px);
    -webkit-animation: material-text-input-animate 0.3s forwards;
    animation: material-text-input-animate 0.3s forwards;
}

.divForm {
    margin-bottom: 3em;
}

.boxinput {
    background-image: linear-gradient(to top, transparent 1px, #afafaf 1px);
    background-size: 100% 2px;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-color: transparent;
    border: none;
    text-align: center;
    font-size: 24px;
}

input[disabled] {
    opacity: 0.5;
    pointer-events: none;
}

/*[contentEditable=true]:empty:not(:focus):before {
    content: attr(data-placeholder);
    color: lightgray;
    display: inline-block;
}*/

[contentEditable] {
    text-align: left;
    max-width: 250px;
    height: 64px;
}


span.boxinput {
    color: #009688;
    font-size: small;
    background-image: none;
    display: block;
}

/*pending page*/

#pending-list ons-list-item:nth-child(odd) {
    background-color: lightgray;
}

#pending-list ons-list-item:nth-child(even) {
    background-color: white;
}

.page-with-bottom-toolbar > .page__content {
    bottom: 60px;
}

.left {
    width: 15%;
    margin-left: 5px;
}

.rm {
    width: 100%;
    display: flex;
}

.bottom-bar {
    background-image: none;
}


/*colore missioni*/

.missione {
    animation: colorchange 0.5s; /* animation-name followed by duration in seconds*/
    /* you could also use milliseconds (ms) or something like 2.5s */
    -webkit-animation: colorchange 0.5s; /* Chrome and Safari */
}

@keyframes colorchange {
    0% {
        background: white;
    }

    50% {
        background: yellow;
    }

    100% {
        background: white;
    }
}

@-webkit-keyframes colorchange /* Safari and Chrome - necessary duplicate */
{
    0% {
        background: white;
    }

    50% {
        background: yellow;
    }

    100% {
        background: white;
    }
}


/**/

.left {
    width: 35%;
}

InListaAttesa {
    color: gray;
}

.InPreparazione {
    color: red;
}

.Terminato {
    color: lightgreen;
}

.Spedito {
    color: blue;
}

/*****************
 *** Custom CSS ***
 *****************/

ons-input[type=text] {
    width: 90%;
}

ons-button[modifier=large] {
    width: initial;
    margin: 10px;
}

ons-splitter-side[side="left"][animation="overlay"] {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.highlight {
    background-color: lightyellow;
    color: rgba(255, 0, 0, 0.7);
}

.left-label {
    width: 30%;
    font-size: 16px;
    color: #666;
}

#wifi {
    margin-right: 16px;
    opacity: 1;
    background: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    padding: 5px;
    line-height: 1.2;
    color: cornflowerblue;
}

    #wifi.ottima {
        opacity: 1;
        color: cornflowerblue;
    }

    #wifi.scarsa {
        animation: opacity 1s ease-in-out infinite;
        opacity: 1;
        color: yellow;
    }

    #wifi.assente {
        animation: opacity 0.5s ease-in-out infinite;
        opacity: 1;
        color: red;
    }

@keyframes opacity {
    0% {
        opacity: 1;
    }

    49% {
        opacity: 0;
    }

    99% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fa-layers {
    position: relative;
    text-align: center;
    font-size: 16px;
}

    .fa-layers svg.svg-inline--fa {
        -webkit-transform-origin: center center;
        transform-origin: center center
    }

.fa-layers-counter,
.fa-layers-text {
    display: inline-block;
    position: absolute;
    text-align: center
}


.fa-layers-counter {
    background-color: #ff253a;
    border-radius: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #fff;
    height: 1.5em;
    line-height: 1;
    max-width: 5em;
    min-width: 1.5em;
    overflow: hidden;
    padding: .25em;
    right: 8px;
    text-overflow: ellipsis;
    top: 0;
    -webkit-transform: scale(.25);
    transform: scale(.25);
    -webkit-transform-origin: top right;
    transform-origin: top right;
    font-size: 60px;
}

/**************/
/*details*/
.toolbar--material__left, .toolbar--material__right {
    min-width: 50px;
}


.toolbar--material__center {
    line-height: 15px;
    padding-top: 10px;
    text-align: center;
}

.titoliColonna {
    font-weight: 600;
    background-color: lightgray;
}

.list-title, .list-title--material {
    margin: 0;
    padding: 10px inherit;
    font-weight: 600;
    color: #009688;
}

.card--material__title {
    margin: 0px;
}

#baie {
    background-color: #FFFFFF;
}

#barcodeFirst {
    font-size: large;
}



ons-fab[component="button/completa"] {
    right: 75px;
}

ons-fab[component="button/baie"] {
    right: 10px;
}

ons-fab[component="button/print"] {
    right: 25px;
    /*bottom:70px;*/
}

ons-fab[component="button/forzaexit"] {
    right: 100px;
    -webkit-transform: scaleX(-1) !important;
    transform: scaleX(-1) !important;
    /*bottom:70px;*/
}

.inputArticoli {
    width: 100%;
}

/*.iconStato.ons-icon {
                margin-top: 20px;
            }*/
.left {
    width: 15%;
}

.center span {
    text-align: center;
}

.list-item__title {
    font-weight: bold;
}

.rigaeseguita {
    background-color: lawngreen;
}

.rigabloccata {
    background-color: lightgrey;
    color: dimgray;
}



ons-list-item[data-me='true'] {
    background-color: lightgreen;
}


ons-list-item[data-faseesecuzione='1' ] {
    background-color: gold;
}

ons-list-item[data-faseesecuzione='2' ] {
    background-color: cornflowerblue;
}

ons-list-item[data-blocco='true'] {
    background-color: orangered;
}

ons-list-item[disabled] {
    opacity: 0.4;
}
/*#keeping-list ons-list-item:nth-child(odd) {
                background-color: lightgray;
            }

            #keeping-list ons-list-item:nth-child(even) {
                background-color: white;
            }

            #keeping-list ons-list-item:first-child {
                background-color: darkgrey;
            }*/
#clienteMissione {
    font-size: 15px;
}


#elencoBaie ons-button {
    line-height: 14px;
}

.hidden {
    display: none;
}

.quiet {
    box-shadow: none;
    background-color: transparent;
    color: #2979ff;
}




.clcenter {
    width: 50%;
}

/********************
 *** Menu CSS ***
 ********************/
#headerMenu {
    background-color: blue;
}



.profile-image {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    background-color: white;
    border: 1px solid white;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 0px 0px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 0px 0px;
}



.profile-name {
    color: white;
    margin: 0 0 5px 0;
    font-weight: 600;
    font-size: 17px;
    opacity: 1;
}



/********************
 *** Animation CSS ***
 ********************/

#tabbarPage .list {
    background-color: grey;
    overflow-x: hidden;
    margin-top: -1px;
    border-bottom: 1px solid #ccc;
}

#tabbarPage .list-item {
    min-height: 0;
    height: 44px;
    background-color: white;
    margin: 1px 0 -1px 0;
}

#tabbarPage .list-item--material {
    height: 85px;
}

.list-title {
    margin-top: 12px;
}

.hide-children * {
    overflow: hidden;
}

.animation-flip-right {
    pointer-events: none;
    -webkit-animation: ease-in .9s ease-in-out forwards;
    animation: ease-in .9s ease-in-out forwards;
}

.animation-swipe-right {
    pointer-events: none;
    -webkit-animation: swipe-right .9s ease-in-out forwards;
    animation: swipe-right .9s ease-in-out forwards;
}

.animation-swipe-left {
    pointer-events: none;
    -webkit-animation: swipe-left .9s ease-in-out forwards;
    animation: swipe-left .9s ease-in-out forwards;
}

.animation-remove {
    pointer-events: none;
    -webkit-animation: remove .7s ease-in-out forwards;
    animation: remove .7s ease-in-out forwards;
}

@-webkit-keyframes swipe-right {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    10% {
        -webkit-transform: translateX(-3%);
        transform: translateX(-3%);
    }

    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
        height: 0;
        opacity: 0.3;
    }
}

@keyframes swipe-right {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    10% {
        -webkit-transform: translateX(-3%);
        transform: translateX(-3%);
    }

    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
        height: 0;
        opacity: 0.3;
    }
}

@-webkit-keyframes swipe-left {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    10% {
        -webkit-transform: translateX(3%);
        transform: translateX(3%);
    }

    100% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
        height: 0;
        opacity: 0.3;
    }
}

@keyframes swipe-left {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    10% {
        -webkit-transform: translateX(3%);
        transform: translateX(3%);
    }

    100% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
        height: 0;
        opacity: 0.3;
    }
}

@-webkit-keyframes remove {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.1;
        height: 0;
    }
}

@keyframes remove {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.1;
        height: 0;
    }
}
