@charset "utf-8";

/* CSS Document */

@import url('https://fonts.googleapis.com/css?family=Poppins:400,700');

/* @import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700'); */

html,
body {
    margin: 0px;
    padding: 0px;
    color: #000;
    font-family: 'Poppins', sans-serif;
    /* font-family: 'Roboto Condensed', sans-serif; */
}

a,
a:hover,
a:focus {
    color: #000;
    outline: none!important;
}

.underline {
    text-decoration: underline;
}

a.underline:hover,
a.underline:focus {
    text-decoration: none;
}

.text-center .img-responsive {
    display: inline-block;
}

.italic {
    font-style: italic;
}

.uppercase {
    text-transform: uppercase!important;
}

.no-uppercase {
    text-transform: none!important;
}

button {
    outline: none!important;
}

textarea {
    resize: none;
}

.p-right00 {
    padding-right: 0px;
}

.p-left00 {
    padding-left: 0px;
}

.m-bottom5 {
    margin-bottom: 5px;
}

.m-bottom50 {
    margin-bottom: 50px;
}

.m-bottom60 {
    margin-bottom: 60px;
}

.m-bottom70 {
    margin-bottom: 70px;
}

.m-bottom80 {
    margin-bottom: 80px;
}

.m-bottom125 {
    margin-bottom: 125px;
}

.m-top0 {
    margin-top: 0px!important;
}

.m-top5 {
    margin-top: 5px!important;
}

.m-top20 {
    margin-top: 20px!important;
}

.m-top40 {
    margin-top: 40px!important;
}

.m-top60 {
    margin-top: 60px!important;
}

.m-top80 {
    margin-top: 80px!important;
}

.m-top100 {
    margin-top: 100px!important;
}

.font15 {
    font-size: 15px;
}

.font18 {
    font-size: 18px;
}

.line30 {
    line-height: 30px;
}

.arancione {
    color: #f26522;
}

.azzurro {
    color: #1082a0!important;
}

.rosso {
    color: #ed1c24;
}

.separatore {
    border-bottom: 2px solid #fff;
    margin: 15px;
}


/* =============================================== PAGINA ========================================== */

header {
    padding: 15px 0px 10px;
    border-bottom: 1px solid #d7d7d7;
    margin-bottom: 10px;
}

header .text-right {
    font-size: 18px;
    margin-bottom: 17px;
}

header .logout {
    margin-left: 10px;
}

.nav>li>a {
    padding: 15px 0px 5px;
    font-size: 18px;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
}

.nav>li {
    margin: 0px 17px 10px;
}

.nav>li.first {
    margin-left: 0px;
}

.nav>li.last {
    margin-right: 15px;
}

.nav>li>a:hover,
.nav>li>a:focus,
.nav>li.active>a {
    background-color: transparent;
    border-color: #000;
}


/* =============================================== FOOTER ========================================== */

footer {
    padding: 20px 0px;
    background-color: #ececec;
    line-height: 20px;
}

html,
body {
    height: 100%;
}

#wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -120px;
}

.pushfooter {
    height: 120px;
    clear: both;
}


/* ================================================= LOG ============================================= */

.breadcrumb {
    padding: 0px;
    margin-bottom: 20px;
    font-size: 30px;
    background-color: transparent;
    border-radius: 0px;
    color: #000!important;
    font-weight: 700;
    text-transform: uppercase;
}

.breadcrumb>.active {
    color: #000;
}

.breadcrumb>li+li:before {
    color: #000;
}

label {
    font-size: 15px;
    text-transform: uppercase;
}

.form-control {
    height: 36px;
    font-size: 15px;
    color: #010101;
    border-color: #d9d9d9!important;
    border-radius: 0px;
    box-shadow: none!important;
    -webkit-box-shadow: none!important;
    -moz-box-shadow: none!important;
    -moz-transition: none!important;
    -webkit-transition: none!important;
    margin-bottom: 25px;
}

.btn-default {
    color: #000;
    background-color: #d9d9d9;
    border: none;
    padding: 8px 12px;
    font-size: 15px;
    border-radius: 0px;
    margin-top: 25px;
    text-transform: uppercase;
}

.btn-default.m-top0 {
    margin-top: 0px!important;
}

.container-table {
    padding-top: 8px;
    border-top: 1px solid #d7d7d7;
    border-bottom: 1px solid #d7d7d7;
    /* margin: 60px 0px 40px; */
    margin: 20px 0px 40px;
}

.table {
    margin-bottom: 0px;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    padding: 5px;
    border-color: #d7d7d7;
    vertical-align: middle;
}

.table>thead>tr>th {
    vertical-align: top;
    /* height: 60px; */
    background-color: #ececec;
}

.table>thead>tr>th.show-details {
    max-width: 80px!important;
}

.show {
    display: block;
    padding: 10px 5px;
    color: #7e7e7e;
    background-color: #d9d9d9;
    text-align: center;
}

.show span {
    font-size: 11px;
}

.show:hover,
.show:focus {
    color: #fff;
    background-color: #1082a0;
    text-decoration: none;
}

.pagination>li>a,
.pagination>li>span {
    font-size: 15px;
    color: #010101;
    border: none;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span,
.pagination>li:last-child>a,
.pagination>li:last-child>span {
    border-radius: 0px!important;
}

.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover,
.pagination>li.active>a,
.pagination>li.active>a:hover,
.pagination>li.active>a:focus {
    color: #1082a0;
    background-color: #fff;
    text-decoration: underline;
}

.pagination>li.pagina>a:focus,
.pagination>li.pagina>a:hover {
    color: #010101;
    background-color: #fff;
    text-decoration: none;
}


/* ================================================= ORDERS ============================================= */

.table.table-ordine>tbody>tr>td {
    vertical-align: top;
}

.allegato {
    width: 29px;
    height: 29px;
    display: inline-block;
    background-image: url(../img/allegato.png);
    background-repeat: no-repeat;
    background-position: top center;
}

.allegato:hover,
.table>tbody>tr.active .allegato {
    background-image: url(../img/allegato-hover.png);
}

.modifica,
.table-ordine .salva,
.check-ok {
    width: 29px;
    height: 29px;
    display: inline-block;
    background-image: url(../img/modifica.png);
    background-repeat: no-repeat;
    background-position: top center;
}

.modifica:hover,
.modifica:focus,
.table>tbody>tr.active .modifica,
.modifica.active {
    background-image: url(../img/modifica-hover.png);
}

.table-ordine .salva {
    background-image: url(../img/save.png);
}

.table-ordine .salva:hover {
    background-image: url(../img/save-hover.png);
}

.vedi {
    width: 29px;
    height: 29px;
    display: inline-block;
    background-image: url(../img/vedi.png);
    background-repeat: no-repeat;
    background-position: top center;
}

.vedi:hover,
.table>tbody>tr.active .vedi {
    background-image: url(../img/vedi-hover.png);
}

.table>tbody>tr.active>td {
    background-color: #a9dfee;
}

.table .form-control {
    margin-bottom: 0px;
}

.table-dettaglio {
    padding: 4px 0px 0px!important;
}

.table-dettaglio .table {
    background-color: #d8eef4;
    width: auto;
}

.table-dettaglio .campo-personalizzato {
    word-break: break-word;
}

.table-dettaglio .table>tbody>tr>th {
    color: #1082a0;
}

.table-dettaglio .table>tbody>tr>th,
.table-dettaglio .table>tbody>tr>td {
    vertical-align: top;
}

.table-dettaglio .form-control {
    padding: 6px;
    font-weight: 400!important;
}

.table-dettaglio .salva {
    width: 29px;
    height: 29px;
    display: inline-block;
    background-image: url(../img/save-hover.png);
    background-repeat: no-repeat;
    background-position: top center;
}

.table-dettaglio .salva:hover,
.table-dettaglio .salva:focus {
    background-image: url(../img/save.png);
}

.colonna-allegato {
    min-width: 62px;
}

.table-dettaglio .table>tbody>tr>td select {
    min-width: 60px;
}

.row-edit td {
    vertical-align: middle!important;
}

.bottoncino-allegati {
    display: block;
    margin-top: 5px;
    padding: 5px 5px 5px 6px;
    background-color: #1082A0;
    color: #fff;
    max-width: 84px;
}

.bottoncino-allegati:hover,
.bottoncino-allegati:focus {
    background-color: #1d95b4;
    text-decoration: none;
    color: #fff;
}

.bottoncino-allegati.conferma-ordine {
    display: inline-block;
    padding: 5px 10px;
    max-width: none;
}

.note {
    width: 29px;
    height: 29px;
    display: inline-block;
    background-image: url(../img/spedizione.png);
    background-repeat: no-repeat;
    background-position: top center;
}

.note:hover {
    background-image: url(../img/spedizione-hover.png);
}

.note.disabled {
    background-image: url(../img/spedizione-disabled.png);
}

.dett {
    width: 29px;
    height: 29px;
    display: inline-block;
    background-image: url(../img/note.png);
    background-repeat: no-repeat;
    background-position: top center;
}

.dett:hover {
    background-image: url(../img/note-hover.png);
}

.dett.disabled {
    background-image: url(../img/note-disabled.png);
}

.table .form-control {
    background-color: #fff7a3;
}

@media (max-width: 991px) {
    .box {
        padding-bottom: 20px;
        margin-top: 20px;
        border-bottom: 2px solid #d1d1d1;
        line-height: 25px;
    }
    .riga-allega {
        line-height: 29px;
        height: 29px;
    }
    .riga-allega strong {
        position: absolute;
    }
    .allegato {
        margin-left: 85px;
    }
    .btn.vedi,
    .btn.vedi:active {
        background-color: transparent!important;
        height: 30px;
    }
    .record {
        background-color: #d8eef4;
        padding-top: 10px;
    }
    .record strong {
        border: none;
        color: #1082a0;
    }
    .tabella-ordini .form-inline strong {
        position: absolute;
        line-height: 34px;
    }
    .tabella-ordini .form-inline .form-control {
        margin-left: 125px;
        margin-bottom: 10px;
    }
}

.riga-allegato {
    padding: 15px 0px;
    border-bottom: 1px solid #d7d7d7;
}

.riga-allegato.deleted {
    background-color: #f2f2f2;
    opacity: 0.5;
    filter: alpha(opacity=50);
}

a.pdf,
a.doc,
a.xls,
a.zip,
a.jpg,
a.generico {
    padding-left: 50px;
    height: 40px;
    background-image: url(../img/ico-pdf.png);
    background-repeat: no-repeat;
    background-position: top left;
    display: block;
    display: table-cell;
    vertical-align: middle;
}

a.doc {
    background-image: url(../img/ico-doc.png);
}

a.xls {
    background-image: url(../img/ico-xls.png);
}

a.zip,
a.jpg {
    background-image: url(../img/ico-zip.png);
}

a.jpg {
    background-image: url(../img/ico-jpg.png);
}

a.generico {
    background-image: url(../img/ico-generico.png);
}

.date-cutoff {
    margin-top: 5px;
    color: #7b7b7b;
}

.cambia-mese .testo {
    font-size: 25px;
    font-weight: 700;
    display: inline-block;
    margin: 0px 20px;
}

.cambia-mese span.glyphicon {
    color: #fff;
}

.cambia-mese .btn {
    margin-top: -5px;
    font-size: 15px;
}

.cambia-mese .glyphicon {
    font-weight: 700;
    font-size: 17px;
}

.form-control.has-error {
    border-color: #a94442!important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075)!important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075)!important;
}

.pallino-giallo {
    width: 13px;
    height: 13px;
    background-image: url(../img/pallino-giallo.png);
    background-repeat: no-repeat;
    background-position: top left;
    display: inline-block;
    margin-right: 10px;
}

.container-fluid.orders .col-sm-1 {
    width: 200px;
}

.container-fluid.orders {
    width: 2650px;
}


/* ================================================= PENDING CHANGES DETAILS ============================================= */

.pending-changes-detail th.rowspan {
    background-color: transparent;
    font-size: 20px;
    vertical-align: top;
    text-transform: uppercase;
}

.pending-changes-detail {
    border-bottom: 1px solid #d7d7d7;
    margin-top: 40px;
}

.pending-changes-detail th {
    background-color: #ececec;
}

@media (min-width: 1200px) {
    .pending-changes-detail th.rowspan {
        width: 246px!important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .pending-changes-detail th.rowspan {
        width: 211px!important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .pending-changes-detail th.rowspan {
        width: 161px!important;
    }
}


/* ================================================= USERS ============================================= */

.elimina,
.elimina-reverse {
    width: 29px;
    height: 29px;
    display: inline-block;
    background-image: url(../img/elimina.png);
    background-repeat: no-repeat;
    background-position: top center;
}

.elimina:hover,
.elimina:focus {
    background-image: url(../img/elimina-hover.png);
}

.btn-default.new {
    background-color: #a9dfee;
}

.btn-default.new:hover,
.btn-default.new:focus {
    background-color: #c0eaff;
}

.elimina-reverse {
    background-image: url(../img/elimina-hover.png);
}

.elimina-reverse:hover,
.elimina-reverse:focus {
    background-image: url(../img/elimina.png);
}


/* ================================================= media ============================================= */

@media (min-width: 768px) {
    .p-right0 {
        padding-right: 0px;
    }
    .p-left0 {
        padding-left: 0px;
    }
    .p-right0 .form-control {
        border-right: none;
    }
}


/* ========================================= media desktop piccolo ===================================== */

@media (min-width: 992px) and (max-width: 1199px) {}


/* ============================================= media tablet ========================================== */

@media (min-width: 768px) and (max-width: 991px) {
    header {
        padding: 30px 0px 15px;
    }
    header .navbar-right {
        float: none!important;
        margin-top: 30px;
    }
    .nav>li {
        margin: 0px 31px 10px;
    }
    .bottoncino-allegati {
        margin-top: 0px;
    }
    .pallino-giallo {
        margin-left: 10px;
        margin-right: 5px;
    }
}


/* ============================================= media mobile ========================================== */

@media (max-width: 767px) {}


/* ========================================= media desktop grande ===================================== */

@media (min-width: 1200px) {}

.w-numero {
    min-width: 100px;
}

.w-check {
    min-width: 100px;
}

.w-data {
    min-width: 100px;
}

.w-testo {
    min-width: 100px;
}

.w-allegato {
    min-width: 100px;
}

.w-select {
    min-width: 100px;
}

.attach-file {
    display: block;
    margin: 3px 0px;
}

.attach-file:hover,
.attach-file:focus {
    color: #1082a0;
    text-decoration: none;
}

.table-dettaglio .modifica,
.table-dettaglio .salva {
    display: block;
    float: right;
}

.table-dettaglio .modifica.left {
    display: block;
    float: none;
}

.max54 {
    width: 54px;
}

.completo-verde>td,
.table>tbody>tr.active.completo-verde>td,
.table.completo-verde td,
td.completo-verde {
    /*background-color: #9cf390;*/
    background-color: #def1db;
}

.table-dettaglio .table.completo-verde>tbody>tr>th,
.table-dettaglio .table.completo-verde>tbody>tr>td {
    /*background-color: #daffd5;*/
    background-color: #def1db;
}

.table-dettaglio .table.completo-verde>tbody>tr>th {
    color: #057400;
}

.completo-verde .azzurro {
    color: #057400!important;
}

.completo-verde .note:hover {
    background-image: url(../img/spedizione-hover-verde.png);
}

.completo-verde .dett:hover {
    background-image: url(../img/note-hover-verde.png);
}

.completo-verde .modifica:hover,
.completo-verde .modifica:focus,
.table>tbody>tr.active.completo-verde .modifica,
.completo-verde .modifica.active {
    background-image: url(../img/modifica-hover-verde.png);
}

.completo-verde .table-ordine .salva:hover {
    background-image: url(../img/save-hover-verde.png);
}

.completo-verde .check-ok:hover {
    background-image: url(../img/ok-hover-verde.png);
}

.completo-verde .vedi:hover,
.table>tbody>tr.active.completo-verde .vedi {
    background-image: url(../img/vedi-hover-verde.png);
}

.rigenera {
    width: 29px;
    height: 29px;
    display: inline-block;
    background-image: url(../img/rigenera.png);
    background-repeat: no-repeat;
    background-position: top center;
}

.rigenera:hover,
.table>tbody>tr.active .rigenera {
    background-image: url(../img/rigenera-hover.png);
}

.dollaro {
    width: 29px;
    height: 29px;
    display: inline-block;
    background-image: url(../img/ico-dollaro.png);
    background-repeat: no-repeat;
    background-position: top center;
}

.dollaro:hover,
.table>tbody>tr.active .dollaro {
    background-image: url(../img/ico-dollaro-hover.png);
}

.dettaglio-estimated {
    width: 29px;
    height: 29px;
    display: inline-block;
    background-image: url(../img/note.png);
    background-repeat: no-repeat;
    background-position: top center;
}

.dettaglio-estimated:hover,
.table>tbody>tr.active .dettaglio-estimated {
    background-image: url(../img/note-hover.png);
}

.max {
    width: 29px;
    height: 29px;
    display: inline-block;
    background-image: url(../img/max.png);
    background-repeat: no-repeat;
    background-position: top center;
}

.max:hover,
.table>tbody>tr.active .max {
    background-image: url(../img/max-hover.png);
}

.fixed {
    top: 0;
    position: sticky;
    width: 110%;
    display: none;
    border: none;
    table-layout: fixed;
}

.bollini span {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background-color: #66A761;
    color: #fff;
    margin-right: 5px;
    text-align: center;
    line-height: 21px;
}

@-moz-document url-prefix() {
    .bollini span {
        line-height: 19px;
    }
}

th .bollini span {
    background-color: #000F6B;
    font-weight: 400;
}

.plus,
.minus {
    width: 29px;
    height: 29px;
    display: inline-block;
    background-image: url(../img/plus.png);
    background-repeat: no-repeat;
    background-position: top center;
}

.plus:hover,
.plus:focus {
    background-image: url(../img/plus-hover.png);
}

.minus {
    background-image: url(../img/minus.png);
}

.minus:hover,
.minus:focus {
    background-image: url(../img/minus-hover.png);
}

.ruolo {
    float: left;
    font-size: 18px;
    padding-top: 20px;
    /* 54px */
    font-weight: 700;
    margin-left: 20px;
}

.img-responsive.img-inline {
    float: left;
}

.logo-login {
    text-align: center;
    width: 100%;
    position: absolute;
    margin-top: -75px;
}

.tooltip-btn {
    border: none;
    background-color: #000;
    color: #fff;
    font-weight: 400;
    font-size: 10px;
    padding: 0px 5px;
    border-radius: 40px;
    /*position: absolute;*/
    margin-left: 3px;
}

.tooltip-btn-trasparent {
    border: none;
    background-color: transparent;
    color: #fff;
    font-weight: 400;
    padding: 0px 5px;
    margin-left: 3px;
}


/* ======================================= carosello ======================= */

.carousel-fade .carousel-inner .item {
    opacity: 0;
    transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
    opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    opacity: 0;
    z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}

.carousel-fade .carousel-control {
    z-index: 2;
}


/*
  WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
  Need to override the 3.3 new styles for modern browsers & apply opacity
*/

@media all and (transform-3d),
(-webkit-transform-3d) {
    .carousel-fade .carousel-inner>.item.next,
    .carousel-fade .carousel-inner>.item.active.right {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner>.item.prev,
    .carousel-fade .carousel-inner>.item.active.left {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner>.item.next.left,
    .carousel-fade .carousel-inner>.item.prev.right,
    .carousel-fade .carousel-inner>.item.active {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}


/* progress bar */

.progress {
    position: relative;
}

span.progress-span {
    position: absolute;
    display: block;
    width: 100%;
    color: black;
}


/* modifiche celle colorate e legenda */

.cella-lilla {
    background-color: #C2D2EC!important;
}

.cella-rosa {
    background-color: #FFAEAD!important;
}

.cella-gialla {
    background-color: #FFFEAD!important;
}

.cella-verde {
    background-color: #DBF0C7!important;
}

.cella-viola {
    background-color: #68008f!important;
}

.legenda-colori {
    position: absolute;
    right: 15px;
    padding: 10px;
    border: 1px solid #999;
    width: 300px;
    line-height: 20px;
    margin-top: -11px;
}

.legenda-colori p {
    width: 50%;
    float: left;
    margin-bottom: 0px;
}

.legenda-colori span {
    display: inline-block;
    width: 13px;
    height: 13px;
    background-color: #C2D2EC;
    margin-right: 3px;
}

.legenda-colori span.rosa {
    background-color: #FFAEAD!important;
}

.legenda-colori span.giallo {
    background-color: #FFFEAD!important;
}

.legenda-colori span.verde {
    background-color: #DBF0C7!important;
}

.legenda-colori span.arancione {
    background-color: #F8CBAD!important;
}

.legenda-colori span.viola {
    background-color: #68008f!important;
}

@media (min-width: 768px) and (max-width: 991px) {
    .legenda-colori {
        position: relative;
        float: right;
    }
}


/* modifiche field-notification */

.m-top30 {
    margin-top: 30px;
}

.bold {
    font-weight: 700;
}

.m-bottom20 {
    margin-bottom: 20px;
}

.p-top11 {
    padding-top: 11px;
}

.no-transform {
    text-transform: none!important;
}

.m-left0 {
    margin-left: 0px!important;
}

.cella-arancione {
    background-color: #F8CBAD!important;
}

.nuovo,
.storico {
    width: 29px;
    height: 29px;
    display: inline-block;
    background-image: url(../img/new.png);
    background-repeat: no-repeat;
    background-position: top center;
    margin-right: 2px;
}

.nuovo:hover,
.table>tbody>tr.active .nuovo {
    background-image: url(../img/new-hover.png);
}

.storico {
    background-image: url(../img/storico.png);
}

.storico:hover,
.table>tbody>tr.active .storico {
    background-image: url(../img/storico-hover.png);
}


/* kpi */

.kpi .riga {
    min-height: 37px;
    line-height: 37px;
    margin-bottom: 20px;
}

.kpi-verde {
    color: #00a10b;
}

.kpi-rosso {
    color: #f80000;
}

.kpi-arancione {
    color: #ff9c00;
}


/* cella disabilitata */

.cella-pattern {
    background-image: url(../img/pattern.jpg)!important;
}

.cell-collapse {
    display: none;
}

.m-right5 {
    margin-right: 5px;
}


/* summary regions */

tr.bg-azzurrino td {
    background-color: #A6DCFF;
}

@media (min-width: 1200px) {
    .table.tb-1200 {
        max-width: 1600px!important;
        margin: 0px auto;
    }
}


/* date rosse */

.data-rossa {
    color: red;
    font-weight: bold;
}


/* welcome */

.m-left10 {
    margin-left: 10px;
}

.m-left40 {
    margin-left: 40px;
}


/* modifiche legenda header */

@media (min-width: 768px) {
    .container header {
        position: fixed;
        background-color: #fff;
        z-index: 1000;
    }
    .container .breadcrumb {
        margin-top: 134px;
    }
}

@media (min-width: 1200px) {
    .container header {
        width: 1140px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .container header {
        width: 940px;
    }
    .nav>li {
        margin: 0px 8px 10px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .container header {
        width: 720px;
    }
    .container .breadcrumb {
        margin-top: 225px;
    }
}


/* pagina orders */

.container-total header .legenda-colori {
    right: 50%;
    left: 50%;
    width: 450px;
    margin-top: -5px;
    margin-left: -360px;
}

.container-total header {
    position: fixed;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    top: 0px;
}

.container-total header .row {
    margin-right: 15px;
}

.container-total .breadcrumb {
    margin-top: 150px;
}

@media (min-width: 1200px) and (max-width: 1599px) {
    .pagina-ordini .logo .img-responsive.img-inline {
        float: none;
    }
    .pagina-ordini header .legenda-colori {
        width: 430px;
        margin-left: -340px;
    }
    .pagina-ordini .nav>li {
        margin: 0px 10px 10px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .pagina-ordini .logo .img-responsive.img-inline {
        float: none;
        max-width: 150px;
    }
    .pagina-ordini .ruolo {
        margin-left: 0px;
    }
    .pagina-ordini header .legenda-colori {
        width: 300px;
        margin-top: -14.5px;
        margin-left: -300px;
    }
    .pagina-ordini header .logout,
    .pagina-ordini header .m-left40 {
        margin-left: 10px;
    }
    .pagina-ordini .nav>li {
        margin: 0px 10px 10px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .pagina-ordini header .text-right span,
    .pagina-ordini header .text-right a.logout {
        display: block;
        margin-bottom: 10px;
    }
    .pagina-ordini header .legenda-colori {
        position: absolute;
        width: 300px;
        margin-top: -14.5px;
        margin-left: -120px;
    }
    .pagina-ordini header .navbar-right {
        float: none!important;
        margin-top: 10px;
    }
    .container-total .breadcrumb {
        margin-top: 225px;
    }
}


/* mod marzo 2020 */

.pagina-ordini.container-total header .row {
    padding-left: 15px;
    background-color: #fff;
}

.pagina-ordini .breadcrumb,
.form-ordini {
    padding-left: 15px;
}

.container-table {
    margin-left: 15px;
}

.form-ordini .table,
.form-ordini .table>tbody>tr>td {
    border: none;
}

.form-ordini .table>tbody>tr>td {
    width: 180px;
    min-width: 180px;
}

.form-ordini .table .form-control {
    background-color: #fff;
}

.form-ordini .btn-default {
    margin-top: 10px;
}


/* popup aprile 2020 */

.font30 {
    font-size: 30px;
}

.m-bottom10 {
    margin-bottom: 10px;
}

.width70 {
    width: 70px;
}

div.form-inline .form-control {
    margin-bottom: 0px;
    margin-left: 10px;
    width: 100px;
}

.p-top6 {
    padding-top: 6px;
}

.w-400 {
    font-weight: 400;
}

.bordered-p15 {
    padding: 15px;
    border: 1px solid #ddd;
}

.m-0 {
    margin: 0px;
}

.line-37 {
    line-height: 37px;
}

.font25 {
    font-size: 25px;
}

.tutto-destra,
.tutto-sinistra {
    width: 29px;
    height: 29px;
    display: inline-block;
    background-image: url("../img/vedi.png");
    background-repeat: no-repeat;
    background-position: top center;
}

.tutto-sinistra {
    background-image: url("../img/tutto-sinistra.png");
}

.tutto-destra:hover,
.tutto-destra:focus {
    background-image: url("../img/tutto-destra-hover.png");
}

.tutto-sinistra:hover,
.tutto-sinistra:focus {
    background-image: url("../img/tutto-sinistra-hover.png");
}


/* ========================== bottoni per compattare - admin ================== */

.bottoni-compact-admin {
    position: absolute;
    bottom: 5px;
    left: 15px;
}

.bottoni-compact-admin>div {
    margin-bottom: 5px;
}

.bottoni-compact-admin a {
    padding: 5px;
    background-color: #ddd;
    display: inline-block;
    margin-right: 3px;
}

.pagina-ordini header {
    padding: 15px 0px 25px;
}

.bottoni-compact-admin a:hover,
.bottoni-compact-admin a:focus,
.bottoni-compact-admin a.active {
    background-color: #1BA160;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 991px) and (min-width: 768px) {
    .nav>li {
        margin: 0px 11px 10px;
    }
    .pagina-ordini header {
        padding: 20px 0px 5px;
    }
    header .col-sm-5 {
        position: relative;
        z-index: 10;
    }
}

@media (max-width: 1660px) and (min-width: 992px) {
    .pagina-ordini .logo .img-responsive.img-inline {
        max-width: 150px;
    }
    .ruolo {
        padding-top: 10px;
        margin-left: 0px;
    }
    .pagina-ordini header {
        padding: 15px 0px 35px;
    }
}


/*Bordo celle summary*/

th.border-left,
td.border-left {
    border-left: 1px solid black !important;
}

th.border-right,
td.border-right {
    border-right: 1px solid black !important;
}

th.border-h,
td.border-h {
    border-left: 1px solid black !important;
    border-right: 1px solid black !important;
}


/*Stock info*/


/*Stock info*/

.testo-rosso {
    color: red;
    font-weight: bold;
}

.bg-grigio {
    background-color: #999!important;
}

.bg-verdino {
    background-color: #DBF0C7!important;
}

.new-table td,
.new-table th {
    min-width: 100px;
}

.p-5 {
    padding: 5px;
}

.d-flex {
    display: flex;
}

.stock-table1 {
    display: flex;
    /*-ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;*/
}

.stock-table2 {
    display: flex;
    /* -ms-flex: 0 0 46%;
    flex: 0 0 46%;
    max-width: 46%; */
    border-left: 1px solid #000;
}

.stock-table3 {
    display: flex;
    border-left: 1px solid #000;
    min-width: 400px;
    /* -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%; */
}

.stock-table1 th {
    height: 153px;
}

.stock-table2 th {
    height: 102px;
}

.stock-table1 td,
.stock-table2 td,
.stock-table3 td {
    height: 51px;
}