/* #tblHistory .thead-light th {
    background-color: #3c3d3f;
    color: #fff;
} */

/* a#Macchina-dei-Pinguini-tab.nav-link,
a#Mantecatore-tab.nav-link {
    color: #1b5a6c;
} */

/* a#Macchina-dei-Pinguini-tab.nav-link,
a#Mantecatore-tab.nav-link {
    color: #1b5a6c;
} */

/*** in JS files ***/

.custom-control.custom-checkbox {
    padding-left: 0;
}

label.custom-control-label {
    position: relative;
    padding-right: 1.5rem;
}

label.custom-control-label::before,
label.custom-control-label::after {
    right: 0;
    left: auto;
}

/*** Custom ***/

a.badge.badge-info,
a.badge.badge-info:hover,
a.badge.badge-info:focus {
    color: #fff;
    background-color: #dc192a;
}

li.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #1b5a6c;
    border-color: #1b5a6c;
}

a.page-link {
    color: #1b5a6c;
}

li.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #1b5a6c;
    border-color: #1b5a6c;
}

a.badge.badge-primary {
    color: #fff;
    background-color: #1b5a6c;
}

#tblGoods .thead-light th {
    background-color: #1b5a6c;
    color: #fff;
}

.pointer {
    cursor: pointer;
}

/*** buttons ***/

.btn-primary {
    color: #fff!important;
    background-color: #8e6caf;
    border-color:#8e6caf;
}

.btn-outline-primary {
    color: #1b5a6c;
    background-color: #fff;
    border-color: #1b5a6c;
}

.btn:disabled.btn-secondary {
	opacity: 1 !important;
}

/*** Typography ***/

.uppercase {
    text-transform: uppercase;
}

h4.alert.alert-primary {
    color: #1b5a6c;
    background-color: #fff;
    border-color: #1b5a6c;
}

h5.modal-title {
    color: #1b5a6c !important;
}

/** a capo **/

.break-word {
    word-break: break-all;
}

/* media query */

@media screen and (max-width: 720px) {

    .break-word-sm {
        word-break: break-all;
    }

}

/*** Icons ***/

.fat-icon {
    font-size: 1.4rem;
}

/*** Shadows ***/

.box-shadows {
    -webkit-box-shadow: 5px 5px 10px 0px #ddd;
    -moz-box-shadow: 5px 5px 10px 0px #ddd;
    -o-box-shadow: 5px 5px 10px 0px #ddd;
    box-shadow: 5px 5px 10px 0px #ddd;
}

/*** Blue stuffs ***/

.pin-blue {
    color: #1b5a6c !important;
}

.pin-border-blue {
    border-color: #1b5a6c !important;
}

.pin-bg-blue {
    background-color: #1b5a6c !important;
}

/** Blue button **/

.pin-button-blue {
    background-color: #1b5a6c;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    padding-left: 10px;
}

/*** Red Stuffs ***/

.pin-red {
    color: #dc192a;
}

.pin-bg-red {
    background-color: #dc192a;
}

/*** Tables ***/

/** Blue & red tables like index **/

.blue-table,
.red-table {
    background: transparent;
}

.blue-table thead,
.red-table thead {
    padding-bottom: 1px;
}

.blue-table th,
.red-table th {
    height: 58px !important;
    border-top: 0 !important;
}

.blue table.dataTable,
.red-table table.dataTable {
    padding-right: 0.75rem;
}

.blue-table div.dataTables_scrollHead,
.red-table div.dataTables_scrollHead {
    height: 58px !important;
}

.blue-table div.dataTables_scrollHead table,
.red-table div.dataTables_scrollHead table {
    margin-top: -14px !important;
}

.blue-table div.dataTables_scrollHeadInner,
.red-table div.dataTables_scrollHeadInner {
    width: 100% !important;
    box-sizing: border-box !important;
}

.blue-table div.dataTables_scrollHeadInner table,
.red-table div.dataTables_scrollHeadInner table {
    width: 100% !important;
}

.blue-table div.dataTables_scrollBody,
.red-table div.dataTables_scrollBody {
    min-height: 200px !important;
}

.blue-table div.dataTables_scrollBody thead,
.red-table div.dataTables_scrollBody thead {
    display: none;
}

.pin-table-blue th,
.pin-table-red th {
    height: 58px !important;
    border-top: 0 !important;
    color: #fff;
    border-bottom: none !important;
}

.pin-table-blue td,
.pin-table-red td {
    font-weight: 700;
}

.pin-table-blue .th-1,
.pin-table-blue .td-1,
.pin-table-red .th-1,
.pin-table-red .td-1 {
    width: 30% !important;
}

.pin-table-blue .th-2,
.pin-table-blue .td-2,
.pin-table-red .th-2,
.pin-table-red .td-2 {
    width: 60% !important;
}

.pin-table-blue .th-3,
.pin-table-blue .td-3,
.pin-table-red .th-3,
.pin-table-red .td-3 {
    width: 10% !important;
}

.lb-md {
    font-size: 16px;
  }

@media screen and (max-width: 991px) {

    .blue-table,
    .red-table {
        font-size: .9rem;
    }

}

@media screen and (max-width: 990px) {

	.blue-table th,
	.red-table th {
		height: 77px !important;
	}

	.blue-table div.dataTables_scrollHead,
	.red-table div.dataTables_scrollHead {
		height: 77px !important;
	}

}

@media screen and (max-width: 990px) and (min-width: 768px) {

    .custom-large-container {
        max-width: 960px;
    }

}

@media screen and (max-width: 767px) {

    .blue-table .dataTables_scroll th,
    .blue-table .dataTables_scroll td,
    .red-table .dataTables_scroll th,
    .red-table .dataTables_scroll td {
        padding-left: .4rem;
        padding-right: .4rem;
    }

}

/** Blue tables like index **/

.blue-table div.dataTables_scrollHead {
    border-top: 2px solid #1b5a6c !important;
    background-color: #1b5a6c !important;
}

.pin-table-blue th {
    background-color: #1b5a6c;
}

.pin-table-blue td i.fas {
    color: #1b5a6c;
}

/** Red tables like index **/
.pin-table-red th {
    background-color: #1b5a6c;;
}

.pin-table-red td i.fas {
    color: #1b5a6c;;
}

/*** dataTables ***/

/** notifiche home page **/

.td-notification-read {
    background-color: #F6F6F6;
    font-weight: 400 !important;
}

/** shadows **/

.dataTables_scroll {
    -webkit-box-shadow: 5px 5px 10px 0px #ddd;
    -moz-box-shadow: 5px 5px 10px 0px #ddd;
    -o-box-shadow: 5px 5px 10px 0px #ddd;
    box-shadow: 5px 5px 10px 0px #ddd;
}

/** sort by (freccine) **/

table.dataTable > thead .sorting::before,
table.dataTable > thead .sorting_asc::before, table.dataTable > thead .sorting_desc::before,
table.dataTable > thead .sorting_asc_disabled::before,
table.dataTable > thead .sorting_desc_disabled::before,
table.dataTable > thead .sorting::after, table.dataTable > thead .sorting_asc::after,
table.dataTable > thead .sorting_desc::after,
table.dataTable > thead .sorting_asc_disabled::after,
table.dataTable > thead .sorting_desc_disabled::after {
    color: #fff;
    opacity: 1;
}

table.dataTable > thead .sorting::before,
table.dataTable > thead .sorting_asc::before, table.dataTable > thead .sorting_desc::before,
table.dataTable > thead .sorting_asc_disabled::before,
table.dataTable > thead .sorting_desc_disabled::before {
    content: "↑";
    position: absolute !important;
    top: 0 !important;
    display: block !important;
}

table.dataTable > thead .sorting::after, table.dataTable > thead .sorting_asc::after,
table.dataTable > thead .sorting_desc::after,
table.dataTable > thead .sorting_asc_disabled::after,
table.dataTable > thead .sorting_desc_disabled::after {
    content: "↓";
    position: absolute !important;
    top: 0 !important;
    display: block !important;
}

/** pagination **/

.dataTables_paginate {
    margin-top: .5rem !important;
}

/** header blue  **/

/* Articoli */
#tblGoods th,
/* Dettagli articolo */
#tblGoodDetails th,
/* Lotti */
#tblBatch th,
#tblBatches th,
/* Storico */
#tblHistory th,
/* Scarichi */
#tblUnloading th {
    font-size: 0.9em !important;
    background-color: #1b5a6c;
    color: #fff;
    padding: .5rem;
}

/* Articoli */
#tblGoods td,
/* Dettagli articolo */
#tblGoodDetails td,
/* Lotti */
#tblBatch td,
#tblBatches td,
/* Storico */
#tblHistory td,
/* Scarichi */
#tblUnloading td {
    font-size: 0.9em !important;
    padding: .5rem;
}

/** bottoni **/

/* Scarichi */
#tblUnloading .btn-sm {
    text-align: center;
}

/** media query **/

@media screen and (max-width: 1140px) {

    /* Scarichi */
    #tblUnloading th,
    #tblUnloading td {
        padding: .4rem;
        font-size: 0.8em !important;
    }

}

@media screen and (max-width: 991px) {

    /* Articoli */
    #tblGoods th,
    #tblGoods td,
    /* Dettagli articolo */
    #tblGoodDetails th,
    #tblGoodDetails td,
    /* Lotti */
    #tblBatch th,
    #tblBatch td,
    #tblBatches th,
    #tblBatches td,
    /* Storico */
    #tblHistory th,
    #tblHistory td {
        padding: .4rem;
        font-size: 0.8em !important;
    }

    /* Articoli */
    #tblGoods table.dataTable > thead .sorting:before,
    #tblGoods table.dataTable > thead .sorting_asc:before,
    #tblGoods table.dataTable > thead .sorting_desc:before,
    #tblGoods table.dataTable > thead .sorting_asc_disabled:before,
    #tblGoods table.dataTable > thead .sorting_desc_disabled:before,
    /* Dettagli articolo */
    #tblGoodDetails table.dataTable > thead .sorting:before,
    #tblGoodDetails table.dataTable > thead .sorting_asc:before,
    #tblGoodDetails table.dataTable > thead .sorting_desc:before,
    #tblGoodDetails table.dataTable > thead .sorting_asc_disabled:before,
    #tblGoodDetails table.dataTable > thead .sorting_desc_disabled:before,
    /* Lotti */
    #tblBatch table.dataTable > thead .sorting:before,
    #tblBatch table.dataTable > thead .sorting_asc:before,
    #tblBatch table.dataTable > thead .sorting_desc:before,
    #tblBatch table.dataTable > thead .sorting_asc_disabled:before,
    #tblBatch table.dataTable > thead .sorting_desc_disabled:before,
    #tblBatches table.dataTable > thead .sorting:before,
    #tblBatches table.dataTable > thead .sorting_asc:before,
    #tblBatches table.dataTable > thead .sorting_desc:before,
    #tblBatches table.dataTable > thead .sorting_asc_disabled:before,
    #tblBatches table.dataTable > thead .sorting_desc_disabled:before,
    /* Storico */
    #tblHistory table.dataTable > thead .sorting:before,
    #tblHistory table.dataTable > thead .sorting_asc:before,
    #tblHistory table.dataTable > thead .sorting_desc:before,
    #tblHistory table.dataTable > thead .sorting_asc_disabled:before,
    #tblHistory table.dataTable > thead .sorting_desc_disabled:before,
    /* Scarichi */
    #tblUnloading table.dataTable > thead .sorting:before,
    #tblUnloading table.dataTable > thead .sorting_asc:before,
    #tblUnloading table.dataTable > thead .sorting_desc:before,
    #tblUnloading table.dataTable > thead .sorting_asc_disabled:before,
    #tblUnloading table.dataTable > thead .sorting_desc_disabled:before {
        right: 0.7em;
        margin-top: .25rem;
    }

    /* Articoli */
    #tblGoods table.dataTable > thead .sorting:after,
    #tblGoods table.dataTable > thead .sorting_asc:after,
    #tblGoods table.dataTable > thead .sorting_desc:after,
    #tblGoods table.dataTable > thead .sorting_asc_disabled:after,
    #tblGoods table.dataTable > thead .sorting_desc_disabled:after,
    /* Dettagli articolo */
    #tblGoodDetails table.dataTable > thead .sorting:after,
    #tblGoodDetails table.dataTable > thead .sorting_asc:after,
    #tblGoodDetails table.dataTable > thead .sorting_desc:after,
    #tblGoodDetails table.dataTable > thead .sorting_asc_disabled:after,
    #tblGoodDetails table.dataTable > thead .sorting_desc_disabled:after,
    /* Lotti */
    #tblBatch table.dataTable > thead .sorting:after,
    #tblBatch table.dataTable > thead .sorting_asc:after,
    #tblBatch table.dataTable > thead .sorting_desc:after,
    #tblBatch table.dataTable > thead .sorting_asc_disabled:after,
    #tblBatch table.dataTable > thead .sorting_desc_disabled:after,
    #tblBatches table.dataTable > thead .sorting:after,
    #tblBatches table.dataTable > thead .sorting_asc:after,
    #tblBatches table.dataTable > thead .sorting_desc:after,
    #tblBatches table.dataTable > thead .sorting_asc_disabled:after,
    #tblBatches table.dataTable > thead .sorting_desc_disabled:after,
    /* Storico */
    #tblHistory table.dataTable > thead .sorting:after,
    #tblHistory table.dataTable > thead .sorting_asc:after,
    #tblHistory table.dataTable > thead .sorting_desc:after,
    #tblHistory table.dataTable > thead .sorting_asc_disabled:after,
    #tblHistory table.dataTable > thead .sorting_desc_disabled:after,
    /* Storico */
    #tblUnloading table.dataTable > thead .sorting:after,
    #tblUnloading table.dataTable > thead .sorting_asc:after,
    #tblUnloading table.dataTable > thead .sorting_desc:after,
    #tblUnloading table.dataTable > thead .sorting_asc_disabled:after,
    #tblUnloading table.dataTable > thead .sorting_desc_disabled:after {
        right: 0.2em;
        margin-top: .25rem;
    }

    /* Articoli */
    #tblGoods table.dataTable > thead > tr > th:not(.sorting_disabled),
    #tblGoods table.dataTable > thead > tr > td:not(.sorting_disabled),
    /* Dettagli articolo */
    #tblGoodDetails table.dataTable > thead > tr > th:not(.sorting_disabled),
    #tblGoodDetails table.dataTable > thead > tr > td:not(.sorting_disabled),
    /* Lotti */
    #tblBatcht table.dataTable > thead > tr > th:not(.sorting_disabled),
    #tblBatcht table.dataTable > thead > tr > td:not(.sorting_disabled),
    #tblBatchtes table.dataTable > thead > tr > th:not(.sorting_disabled),
    #tblBatchtes table.dataTable > thead > tr > td:not(.sorting_disabled),
    /* Storico */
    #tblHistory table.dataTable > thead > tr > th:not(.sorting_disabled),
    #tblHistory table.dataTable > thead > tr > td:not(.sorting_disabled),
    /* Scarichi */
    #tblUnloading table.dataTable > thead > tr > th:not(.sorting_disabled),
    #tblUnloading table.dataTable > thead > tr > td:not(.sorting_disabled) {
        font-size: .8rem;
        padding: .5rem;
    }

}


@media screen and (max-width: 960px) {

    /* Scarichi */

    #tblUnloading th {
        padding-top: 10px !important;
        padding-bottom: 5px !important;
        font-size: 0.7em !important;
    }

    #tblUnloading td {
        font-size: 0.7em !important;
        padding: .3rem !important;
    }

    #tblUnloading td .btn-sm {
        font-size: 0.9em !important;
    }

}

@media screen and (max-width: 720px) {

    /* Scarichi */

    #tblUnloading th {
        font-size: 0.65em !important;
        padding-top: 15px !important;
    }

    #tblUnloading td .btn-sm {
        font-size: 0.8em !important;
        padding: .2rem .2rem !important;
    }

}

.steps.clearfix {
    background: #eee;
    padding: 16px;
    border-radius: 20px;
} 
/*** Nav ***/

a.nav-item.nav-link {
    color:#fff !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff !important;
}

nav.navbar-nav .nav-nomeutente {
    margin-top: 2px;
}



/** Notification badge **/

.notification {
    color: #fff;
    text-decoration: none;
    padding-right: 20px;
    position: relative;
    display: inline-block;
    border-radius: 2px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.notification .badge {
    position: absolute;
    top: 0px;
    right: 4px;
    padding: 4px 6px;
    border-radius: 50%;
    background: #dc192a;
    color: #fff;
}

@media screen and (min-width: 768px) and (max-width: 960px) {

    #navbarNavAltMarkup ul li {
        font-size: 0.9em !important;
    }

    #navbarNavAltMarkup ul li a {
        padding-left: 0.2rem;
        padding-right: 0.2rem;
    }

    }

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

    .only-mobile-nav {
        display: none;
    }

}

@media screen and (max-width: 767px) {

    .notification {
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .notification .badge {
        top: 8px;
        right: unset;
        left: 83px;
    }

}
img.title-icon {
    width: 35px;
}

/*** Form ***/

span.select2 {
	width: 100% !important;
}

/*** Pagine ***/

/** Inserimento scarti di magazzino, Inserimento DDT **/

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

    /* inserimento scarti */
    form#frmAddRefuse input#Quantity.form-control,
    /* inserimento ddt */
    form#frmAddDDT input#Quantity.form-control,
    form#frmAddDDT input#Price.form-control {
        padding-top: 1px;
        padding-bottom: 1px;
        margin-top: 1px;
    }

    #ddt-anno-numero label#anno,
    #ddt-anno-numero label#numero {
        padding-bottom: 7px !important;
    }

    form#frmAddDDT select#ins-ddt-anno,
    form#frmAddDDT input#Bill.form-control {
        padding-top: 3px !important;
        padding-bottom: 3px !important;
        height: auto !important;
    }

}

@media screen and (max-width: 767px) {

    #ddt-amezzo-select {
        border: 1px #dee2e6 solid !important;
        border-radius: 25px !important;
        padding: .5rem !important;
        margin-top: 5px !important;
    }

}

@media screen and (max-width: 414px) {

    #ddt-div-amezzo-anno-numero {
        margin-bottom: 10px;
    }

    #ddt-div-amezzo {
        margin-bottom: 0;
    }

    #ddt-div-amezzo-select {
        margin-bottom: 7px !important;
    }

}

@media screen and (max-width: 540px) {

    #ddt-div-amezzo-anno-numero {
        margin-bottom: 10px;
    }

}

@media screen and (max-width: 386px) {

    #ddt-anno-numero {
        float: left !important;
    }

    #ddt-div-numero {
        margin-top: 15px;
        margin-bottom: 9px;
    }

    #ddt-div-numero label#numero {
        padding-top: 10px !important;
        padding-bottom: 0px !important;
    }

}

@media screen and (max-width: 375px) {

    #ddt-div-amezzo-anno-numero {
        margin-bottom: 0;
    }

    #ddt-anno-numero {
        float: left !important;
    }

    #ddt-div-anno {
        width: 50%;
        margin-top: 0;
    }

    #ddt-div-numero {
        width: 50%;
        margin-top: 15px;
        margin-bottom: 9px;
    }

    #ddt-div-numero label#numero {
        padding-top: 10px !important;
        padding-bottom: 0 !important;
    }

}


/** Recupero password **/


/** Login **/