body { min-width: 360px; }
.cursor-pointer {cursor: pointer;}
#content { margin-top: 70px; }
.w-24 { width: 24%; }
.sticky-offset { top: 56px; }
.w-110px { width: 110px; }
.font-weight-400 { font-weight: 400;}

#full-size-waiter { display: none; position: fixed; left: 0px; top: 0px; z-index: 9999; width: 100%; height: 100%; overflow: visible; background: #ffffff; opacity: 0.5; }
#full-size-waiter div { position: absolute; top: 40%; margin-top: 0px; margin-left: auto; margin-right: auto; text-align: center; width: 100%; opacity: 1; font-weight: bold;}
#full-size-waiter:after { content: url("../img/loader.svg"); position: absolute; top: 50%; left: 50%; margin-top: 0px; margin-left: -20px; width: 40px; height: 40px; z-index: 2; }

#scrollTop { position: fixed; bottom: 10%; right: 0px; width: 40px; height: 40px; overflow: hidden; display: none; z-index: 1000; border-radius: 6px 0 0 6px ; padding: 0px; }
#scrollTop a { color: white; font-size: 24px; display: block; padding: 2px 8px; }

#preloader { position: fixed; left: 0px; top: 0px; z-index: 9999; width: 100%; height: 100%; overflow: visible; background: #ffffff; }
#preloader:after { content: url("../img/loader.svg"); position: absolute; top: 50%; left: 50%; margin-top: 0px; margin-left: -20px; width: 40px; height: 40px; z-index: 2; }

#navbarDropdownMainMenu::after { display: none; }
#navbarDropdownProfileMenu_dropdown { width: 270px; }
#navbarDropdownProfileMenu_dropdown .dropdown-header { white-space: normal; }

.wrap-parentesi::before { content: "("; }
.wrap-parentesi::after { content: ")"; }

/* Da sviluppo template */
.btn { overflow: hidden; }
.table > tbody > tr > td { vertical-align: middle; }
.btn-xs, .btn-group-xs > .btn { padding: 0.2rem 0.2rem; font-size: 0.75rem; line-height: 1; }
.form-group { margin-bottom: 0px; }

.text-line-through { text-decoration: line-through !important; }
.font-size-70-percent { font-size: 70%; }

.text-underline-hover:hover { text-decoration: underline; }

/* FILTRI */
.tree-liv-0 { padding-left: 1.50rem; }
.tree-liv-1 { padding-left: 1.75rem; }
.tree-liv-2 { padding-left: 2.00rem; }
.tree-liv-3 { padding-left: 2.25rem; }
.scrollable-menu { height: auto; max-height: 300px; overflow-x: hidden; width: 100%; }
.search-clear, .search-clear-2 { position: absolute; right: 38px; top: 8px; z-index: 50; cursor: pointer; color: #00000080; }
.search-clear-normal { top: 12px; right: 46px; } 

/* Colori pulsanti come tabella */
.table-btn { color: #212529; }

/* Ricerca testo */
#item-text-search-dropdown-button { width: 0px !important; overflow: hidden; padding: 0px; border: 0px; }
#item-text-search-dropdown{position:relative;}
.td-qta-search { white-space: nowrap; }
.td-qta-search .form-control { width: 75px; display: inline-block; font-size: 12px; padding: 0.25rem 0.25rem; vertical-align: middle; text-align: right; }

.item-text-search-dropdown-items .dropdown-item:active { background-color: initial; color: initial; }
.item-text-search-dropdown-items { max-height: 55vh; min-width: 420px; width: auto; }
@media (max-width: 575.98px) { .item-text-search-dropdown-items { min-width: 340px; } }
.item-text-search-dropdown-items a { white-space: normal; }
.td-imb-search { padding-top: 1.25px; padding-right: 3px; }

.dd-conf-options { width: 286px; }
#item-search-results .dd-conf-toggle { height: 32px; min-width: 85px; }
#item-search-results .qta-breakdown { width: 193px; }
#tab-dettagli-body .dd-conf-toggle { height: 29px; min-width: 75px; }
#tab-dettagli-body .qta-breakdown { width: 226px; }
#wrapper-cart .dd-conf-toggle { height: 32px; min-width: 75px; }

/* Full */
.item-text-search-dropdown-items-full .dropdown-item:active { background-color: initial; color: initial; }
.item-text-search-dropdown-items-full { max-height: 75vh; min-width: 420px; width: auto; }
@media (max-width: 575.98px) { .item-text-search-dropdown-items-full { min-width: 340px; } }
.item-text-search-dropdown-items-full a { white-space: normal; }

/* pagina intera */
.item-single-text-search-bar-background { background-color: white; }
.search_wrap_div_category { min-height: 3.2em; }


/* Catalogo */
.catalogue-color { width: 12px; height: 12px; display: inline-block; /* border: solid 1px #333; */ margin-right: 5px; }
.catalogue-card-descri { min-height: 48px; display: inline-block; }
.catalogue-entry-color { padding-left: 16px !important; }
.catalogue-entry-dash  { padding-left: 8px !important; }
.catalogue-entry-color .catalogue-color { position: absolute; top: 2px; left: 0px; }
.catalogue-entry-dash  .catalogue-dash { position: absolute; top: 0px; left: 0px; }
.catalogue-item-add-all { vertical-align: bottom; }

/* Datatable */
.datatable-full-size { width: 100% !important; }
div.dataTables_length { text-align: left !important; display: inline-block; }
div.dataTables_info { display: inline-block; margin-left: 5px; padding-top: 0em !important; }

/* Dettagli catalogo */
.td-qta { white-space: nowrap; }
.td-qta .form-control { width: 85px; display: inline-block; vertical-align: middle; text-align: right; }
.item-qta-gift { width: 80px; display: inline-block; vertical-align: middle; text-align: right; }
.gift-qta { display: inline-block; line-height: 130%; }
.family-selector { padding-bottom: 70px; }
.family-selector.active { box-shadow: inset 0px 0px 5px 0px rgba(150, 150, 150, 0.8); }
.catalogue-descri { min-width: 200px; }
.custom_item.even { background-color: rgba(255, 255, 0, 0.15) !important; }
.custom_item.odd { background-color: rgba(255, 255, 0, 0.25) !important; }

/* Immagini catalogo e carrello */
.catalog-details-img { transform: rotate(270deg) translatex(-100%); max-height: 120px; max-width: 60px; transform-origin: top left; position: absolute; }
.catalog-search-img { transform: rotate(270deg) translatex(-100%); max-height: 120px; max-width: 30px; transform-origin: top left; position: absolute; }
.catalog-img { max-height: 200px; max-width: 55px; margin-right: auto; margin-left: auto; }
.catalog-search-img-div { padding-bottom: 35px; }
.img-cart-div { padding-bottom: 35px; position: relative; }
.img-cart { transform: rotate(270deg) translatex(-100%); max-height: 120px; max-width: 30px; transform-origin: top left; position: absolute; }


.filter-group-wrap { display: inline-block; width: 125px; height: 65px; }
.catalog-details-group-img { transform: rotate(270deg) translatex(-100%); max-height: 120px; max-width: 30px; transform-origin: top left; position: absolute; }

/* Carrello */
.dispon-circle-0 { color: gray; }
.dispon-circle-1 { color: #00dd77; }
.dispon-circle-2 { color: #ffbb11; }
.dispon-circle-3 { color: #ff1111; }
.dispon-row-wrapper-2 { border: solid 2px #ffc107; }
.dispon-row-wrapper-3 { border: solid 2px #ff1111; }
#cart-import-textarea { min-height: 200px; }
.cart-input-discou { width: 60px; }

/* Ordini */
#orders-table .cmd-col { max-width: 100px !important; }
#orders-table .numord-sep:after { content:'-'; }
#backorders-table .numord-sep:after { content:'-'; }

/* Documenti */
.documents-list { margin-left: 20px; cursor: pointer; }
.documents-list.liv0 { margin-left: 0px; }
.document-file:hover, .document-dir:hover { background-color: #0000000d; }
.documents-list .name { word-break:break-all!important; }

/* Statistica promozioni */
.stapro-table-striped tr:nth-child(4n+1), .yourTableClass tr:nth-child(4n+2) { background-color: rgba(0, 0, 0, 0.05); }
.td-det-liv0, .td-det-liv1, .td-det-liv2, .td-det-liv3 { width: 40px; }
#table-prosta-report-backoffice .strip1 { background-color: rgba(0, 0, 0, 0.05); }

/* Dettagli oridni sap */
.backorder_detail_codart { min-width: 130px; }


/* da verificare */
#tab-dettagli .nav-item { border: solid 1px white; line-height: 1; }
#tab-dettagli-body .form-inline { white-space: nowrap; flex-flow: row nowrap; border-bottom: 0px; }
#tab-dettagli-body .table-responsive { min-height: 260px; }
#tab-dettagli .active {	background-color: white; color: #dc3545; border: solid 1px #96969680; box-shadow: inset 0px 0px 10px 0px rgba(150, 150, 150, 0.8); }


.backoffice_portal_stat_title { border-bottom: solid 1px #dc3545; padding-bottom: 5px; margin-bottom: 5px; margin-top: 35px; }


/* Special conditions */
.tr-specon-header td { height: 63px; }

.item-special-conditions-total-wrapper-disabled div { opacity: 0.5; text-decoration: line-through !important; }

.dispon-row-wrapper-approval {
    margin: 0px !important;
    border: 0px;
    padding: 0px !important;
    box-shadow: none !important;
}



/* Valutazioni margini */
.bgMup0 { background-color: rgb(100,100,100) !important; color: white; }
.bgMup1 { background-color: rgb(255,199,206) !important; }
.bgMup2 { background-color: rgb(255,235,156) !important; }
.bgMup3 { background-color: rgb(198,239,206) !important; }


.tcMup1 { color: rgb(197,0,25) !important; }
.tcMup2 { color: rgb(213,128,0) !important; }
.tcMup3 { color: rgb(0,171,34) !important; }

.add-difference:not(:hover) .difference {
    display: none;
}
.difference {
    padding: 4px 8px;
    background-color: #c82333;
    color: #fff;
    position: absolute;
    top: 2px;
}
/* Fondamentali per mostrare una sola modale alla volta. */
.modal-placeholder + div ~ div {
    display: none !important;
}
#scrollTop + div ~ div {
    display: none;
}
/* Fondamentale per mostrare le modali nel carrello. */
.modal-placeholder.cart + div {
    padding-right: 17px;
    z-index: 9999;
}
