/* Temp */

.row.head.w-100 img {
    max-width: 170px;
    height: 100%;
}

.row.head.w-100 {
    padding: 30px 0 20px;
}

.row.head.w-100 h4.card-title b {
    color: #343b42;
    font-size: 1.3rem;
    font-family: monospace;
    font-weight: 900;
}

.row.head.w-100 h4.card-title {
    margin: 10px 0;
    color: #508418;
}

.dettaglio-esteso h3 {
    color: #343b42;
    margin: 0;
}

/* Generale */

.disable-btn {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.5;
}

body {
	font-family: 'Poppins', sans-serif !important;
	font-size: 0.825rem;
    font-weight: 400;
    line-height: 1.625;
    color: #a9acb3;
    text-align: left;
    background-color: #f7f7f7;
}

.bg-white {
    background-color: #fff;
}

.card .bg-light {
    padding: .5rem 1.25rem;
}

.bg-light span {
    color: #fff;
    padding-right: .5rem;
}

.fa {
    font: normal normal normal 14px/1 FontAwesome;
}

#main {
	display: flex;
}

.input-group>.form-control:not(:first-child) {
    border-top-right-radius: .3rem;
    border-bottom-right-radius: .3rem;
    border-left: 0;
}

body .input-group>.input-group-prepend>.input-group-text {
    color: #ffffff;
    background-color: #3f3f3f;
    border: 1px solid #ced4da;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 10px;
    line-height: 1;
    height: auto;
}

.input-group-prepend {
    align-items: center;
    background: #fcfcfc;
    padding-left: 4px;
    border: 1px solid rgb(0 0 0 / 10%);
    border-right: 0;
    border-top-left-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
}

.input-group>.input-group-append:not(:last-child)>.input-group-text {
    border-top-right-radius: .3rem;
    border-bottom-right-radius: .3rem;
}

.table>tbody>tr>td, .table>thead>tr>th {
    white-space: nowrap;
    text-overflow: ellipsis;
}

input[type=checkbox], input[type=radio] {
    width: 15px;
    height: 15px;
}

.form-check-label {
    font-size: 13px;
    margin-left: 5px;
    line-height: 2;
}

.form-check-label strong {
    margin-left: 5px;
}

body .btn-success {
    /* background: #242424; */
    border-radius: 40px;
    font-size: 12px;
    padding: 10px 35px;
    /* border: 2px solid #242424; */
}

body .btn-primary {
    /*color: #242424;
    background: transparent;
    border: 2px solid;*/
    border-radius: 40px;
    padding: 10px 35px;
    font-size: 12px;
    font-weight: 400;
}

body .btn-secondary {
    border-radius: 40px;
    font-size: 12px;
    padding: 10px 35px;
    background: transparent;
    color: #0a0a0a;
    font-weight: 500;
}

.h1, h1 {
    margin: 0;
    color: #0a0a0a;
    font-weight: 600;
    font-size: 40px;
}

body .alert {
    padding: 10px 1.25rem;
    line-height: 1.2;
}

.custom-switch.custom-switch_import label small {
    line-height: 1;
    display: block;
}

.custom-switch.custom-switch_import label strong {
    font-weight: 600;
    color: #000;
}

.form-check {
    cursor: pointer;
}

/* Tooltip */

.custom-tooltip_inner {
    display: none;
    position: absolute;
    background: #f8f8f8;
    padding: 20px 20px;
    border: 1px solid #242424;
    border-radius: 3px;
    color: #242424;
    font-weight: 300;
    top: 0;
    left: 50%;
    z-index: 9;
    transform: translate(-50%, 30px);
}

.custom-tooltip:hover .custom-tooltip_inner {
    display: block;
}

.custom-tooltip {
    position: relative;
}

.custom-tooltip_inner:after {
    content: "";
    position: absolute;
    top: -20px;
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #242424 transparent;
}

.tooltip_magazzino span:before {
    content: attr(data-key);
    font-weight: 600;
    font-size: 10px;
}

.tooltip_magazzino span {
    display: flex;
    justify-content: space-between;
    font-weight: 400;
    width: 200px;
    align-items: center;
}

.tooltip_magazzino span[data-key="quantita"]:before {
    content: "Quantità non allocata";
}

.tooltip_magazzino span[data-key="bronte_umb"]:before {
    content: "Bronte, C.so Umberto";
}

.tooltip_magazzino span[data-key="bronte_ind"]:before {
    content: "Bronte, V.le Indipendenza";
}

.tooltip_magazzino span[data-key="quantita"] {
    background: #d9534f;
    color: #fff;
    padding: 3px 20px 2px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.tooltip_magazzino .custom-tooltip_inner {
    padding-top: 38px;
    padding-bottom: 10px;
}

.tooltip_magazzino span:not(:first-child):not(:last-child) {
    border-bottom: 1px solid rgb(0 0 0 / 10%);
    padding-bottom: 2px;
    margin-bottom: 2px;
}

/* Sun Skin */

.sun-skin .card {
    background: #fff;
    /* color: #6c757d; */
    color: #343b42;
}

.sun-skin .card .lista li span {
    color: #555;
    text-transform: uppercase;
    font-size: 10px;;
}

.sun-skin .card-title {
    color: #242424;
    font-weight: 600;
}

.sun-skin .table-striped tbody tr:nth-of-type(odd) {
    background-color: transparent;
}

.sun-skin .form-control, .sun-skin .custom-select {
    background-color: #fcfcfc;
    color: #0a0a0a;
    border: 1px solid rgb(0 0 0 / 10%);
}

.sun-skin .bg-light {
    background-color: #f4f7f9!important;
}

.sun-skin .card-int.bordered {
    border: 1px solid rgba(0,0,0,.1);
}

.sun-skin .card-int.bordered .bg-light a {
    color: #232b33;
}

.sun-skin i.far {
    color: #202634;
}

.sun-skin .table {
    color: #343b42;
}

.sun-skin .table td, .sun-skin .table th {
    border-top: 1px solid rgba(0,0,0,.1);
}

.sun-skin table.dataTable>thead>tr>th {
	color: #ffffff;
    background: #353535;
}

.sun-skin .page-item .page-link {
    background: #353535;
    color: #fff;
    border: 0;
}

.sun-skin .page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #4bbf73;
    border-color: #4bbf73;
}

.sun-skin table.dataTable>thead .sorting:after, .sun-skin table.dataTable>thead .sorting_asc:after, .sun-skin table.dataTable>thead .sorting_asc_disabled:after, .sun-skin table.dataTable>thead .sorting_desc:after, .sun-skin table.dataTable>thead .sorting_desc_disabled:after, .sun-skin table.dataTable>thead .sorting:before, .sun-skin table.dataTable>thead .sorting_asc:before, .sun-skin table.dataTable>thead .sorting_asc_disabled:before, .sun-skin table.dataTable>thead .sorting_desc:before, .sun-skin table.dataTable>thead .sorting_desc_disabled:before {
    opacity: 1;
}

.sun-skin table.dataTable>thead .sorting_asc:before, .sun-skin table.dataTable>thead .sorting_desc:after {
    color: white;
    opacity: 0.5;
}

.sun-skin .navbar .bg-light {
    background-color: #000000!important;
    padding-left: 15px;
    border-radius: 40px;
}

.sun-skin .navbar .bg-light svg {
    color: #fff;
}

/* Sidebar */

.sidenav {
  height: 100%;
  width: 250px;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #242424;
  overflow-x: hidden;
  transition: 0.5s;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

#main, #navbar {
  transition: margin-left .5s;
  margin-left: 250px;
}

.logo {
    max-width: 200px;
    padding: 1.15rem 1.5rem;
    margin: 0 0 25px;
    display: block;
}

.sidebar-link, a.sidebar-link {
    display: block;
    padding: .625rem 1.625rem;
    font-weight: 400;
    transition: color 75ms ease-in-out;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    color: rgba(233,236,239,.5);
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

/* Nav */

#navbar .container {
    max-width: unset;
}

#navbar .toogle-skin.nav-item.d-flex .custom-control.custom-switch {
    padding-left: 2.75rem;
}

#navbar .toogle-skin.nav-item.d-flex {
    align-items: center;
    margin-right: 0.5rem;
    padding: 0.4rem 1rem;
    border: 2px solid #000;
    border-radius: 40px;
	display: none !important;
}

/* Datatable */

table.dataTable>thead>tr>th {
    border: 0;
}

table.dataTable {
    margin: 0 -1.25rem;
    padding: 25px 0;
	min-width: calc(100% + 2.6rem);
}

table.dataTable>thead>tr>th {
    font-weight: 500;
    color: #fff;
}

td p.badge {
    margin: 0;
    font-size: 12px;
}

.table td, .table th, .sun-skin .table th {
    border: 0;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: rgb(0 0 0 / 0.08);
}

/* Card */

.card .lista {
    list-style: none;
    padding: 25px 0 0;
}

.card .lista li span {
    min-width: 130px;
    color: #fff;
}

.card .lista li {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid #f7f7f7;
    padding-bottom: 15px;
    align-items: center;
}

.card .lista li input, .card .lista li select {
    max-width: 225px;
    font-size: 14px;
    padding: 5px 15px;
    height: auto;
}

.columns-2 {
    columns: 2;
    column-gap: 20px;
}

.card .lista.columns-2 li span {
    min-width: 200px;
}

.card-int.bordered .card-body {
    padding-top: 0;
    padding-bottom: 0;
}

.card-int.bordered {
    border: 1px solid #343a4b;
	border-radius: 5px;
}

.card-header {
    padding-top: 1.25rem;
}

i.fa.fa-lightbulb {
    color: #ffc800;
    font-size: 1.6rem;
    margin-right: 15px;
}

i.far {
    color: #ffc800;
    font-size: 1.4rem;
    margin-right: 15px;
}

.card-int.bordered .bg-light a {
    color: #fff;
}

ul p.badge {
    margin: 0;
    font-size: 12px;
}

.custom-file, .custom-file-input, .custom-file-label {
    height: calc(2.24375rem + 2px);
    line-height: 1.8;
}

.custom-file-label:after {
    height: calc(2.24375rem + 1px);
    top: -0.5px;
    content: "\f07c";
    font-family: 'Font Awesome 5 Free';
    display: flex;
    align-items: center;
}

.bg-link {
	background: #ffc800;
}

.bg-link a, .bg-link a:hover, .bg-link:focus {
	color: #293042;
	text-decoration: none;
}

.d-flex.row > div > .card {
    height: calc(100% - 24px);
}

#tariffe-specifiche-box .card-title {
    text-align: center;
    margin: 0;
}

#tariffe-specifiche-box .border {
    border-radius: 2px;
}

#tariffe-specifiche-box .card .card-body:hover {
    background: #3f80ea !important;
}

#tariffe-specifiche-box .card a:hover {
    text-decoration: none;
}

.accordion-tariffe .card-int > div:last-child .row {
    margin: 35px 0 25px;
}

/* Wizard */

.sw-theme-arrows>.nav {
    background: #3e4555;
}

.sw-theme-arrows .toolbar>.btn.btn-submit.btn-success {
    background: #28a745;
    border-color: #28a745;
}

/* Fornitura */

#indirizzo {
    padding: 8px 5px;
    margin-bottom: 20px;
    color: #fff;
    background: #3f80ea;
    text-align: center;
    border-radius: 4px;
}

#mappa iframe {
    border-radius: 2px;
}

/* Dettaglio esteso */

.head-tariffa, .body-tariffa {
    width: 100%;
    display: flex;
}

.head-tariffa span, .body-tariffa span {
    flex: 0 0 16.67%;
    text-align: center;
    padding: 5px 0;
}

.head-tariffa > span {
    font-weight: bold;
}

.body-tariffa {
    border-top: 1px solid rgba(0,0,0,.1);
}

.name-tariffa {
    width: 100%;
    background: #343a4b;
    padding-top: .5rem;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    margin-top: 30px;
}

.dettaglio-esteso .row {
    max-width: 1000px;
    margin: 0 auto;
}

/* Fattura PDF */

.fattura-pdf .sub-head {
    border: 2px solid #f4f7f9;
    padding: 1rem 0 .5rem;
    border-left: 0;
    border-right: 0;
}

.fattura-pdf .sub-head .card-title {
    margin-bottom: 10px;
}

.fattura-pdf .sub-head h3 {
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 1.15rem;
    font-weight: 700;
}

.fattura-pdf .dati-fornitura h3 {
    padding-top: 25px;
    padding-bottom: 5px;
}

.fattura-pdf .dati-fornitura .lista {
    padding: 1rem 1.5rem 1rem;
}

.fattura-pdf .dati-fornitura .lista li {
    margin-bottom: 5px;
    font-family: monospace;
    font-weight: 700;
}

.fattura-pdf .dati-fornitura .lista li span {
    font-family: 'Poppins';
    font-weight: 500;
}

.fattura-pdf .head-tariffa span, .fattura-pdf .body-tariffa span {
    flex-basis: 20%;
}

.fattura-pdf .descrizione {
    padding-top: 50px;
}

.fattura-pdf .descrizione p {
    font-size: 10px;
    line-height: 1.3;
    text-align: justify;
}

.fattura-pdf .descrizione b {
    font-family: monospace;
    color: #343b42;
    font-size: 1.4em;
    font-weight: 700;
}

.fattura-pdf .descrizione .head-tariffa, .fattura-pdf .descrizione .body-tariffa {
    font-size: 10px;
}

.fattura-pdf .descrizione .table-border {
    border: 1px solid rgba(0,0,0,.1);
    padding: 0 10px;
    margin-bottom: 7px;
}

.fattura-pdf .chart-row .text-right {
    min-width: 90px;
    font-family: monospace;
    font-weight: 700;
}

.fattura-pdf .chart-row i:before {
    display: none;
}

.fattura-pdf .chart-row i {
    width: 15px;
    height: 15px;
    min-width: 15px;
}

.fattura-pdf .chart-row tr td:first-child {
    display: flex;
    align-items: center;
    line-height: 1.2;
    flex-wrap: nowrap;
    gap: 10px;
    max-width: 300px;
}

.fattura-pdf .chart-row table {
    min-width: unset;
    width: 400px;
}

.sun-skin.fattura-pdf .chart-row .table tfoot td {
    border-top: 1px solid #ddd;
    font-size: 1.2em;
    line-height: 1.1;
}

.fattura-pdf .dati-fornitura .lista li:nth-child(6n+6) {
    border: 0;
    margin: 0;
}

.fattura-pdf .in-colonna .card-title {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.fattura-pdf #table_dettaglio-consumi .head-tariffa span, .fattura-pdf #table_dettaglio-consumi .body-tariffa span {
    flex-basis: calc(100% / 13);
}

.internal-table span {
    color: #343b42;
}

#table_consumi-mese .row > div {
    padding: 0;
}

#table_consumi-mese .row {
    gap: 20px;
    flex-wrap: nowrap;
    align-items: stretch;
    margin-top: 20px;
}

.fattura-pdf .col_25-75 .head-tariffa span, .fattura-pdf .col_25-75 .body-tariffa span {
    flex-basis: 15%;
}

.fattura-pdf .col_25-75 .head-tariffa span:first-child, .fattura-pdf .col_25-75 .body-tariffa span:first-child {
    flex-basis: 40%;
    text-align: left;
}

.fattura-pdf .col_60-40 .head-tariffa span, .fattura-pdf .col_60-40 .body-tariffa span {
    flex-basis: 40%;
}

.fattura-pdf .col_60-40 .head-tariffa span:first-child, .fattura-pdf .col_60-40 .body-tariffa span:first-child {
    flex-basis: 60%;
    text-align: left;
}

.fattura-pdf .accise strong {
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin-top: 25px;
    margin-bottom: 7px;
}

.fattura-pdf .accise {
    line-height: 1.3;
    max-width: 650px;
}

.fattura-pdf .in-colonna .card-title {
    flex-basis: 33%;
    padding: 0 35px;
}

.fattura-pdf .lista.columns-3 li {
    flex-basis: 33%;
    display: flex;
    flex-direction: column;
    border: 0;
    margin: 0;
    padding: 10px 0;
}

.fattura-pdf .lista.columns-3 {
    display: flex;
}
/*
.body-tariffa.sub_body-tariffa {
    background: #fff;
}
*/
.body-tariffa.sub_body-tariffa span:first-child:before {
    content: "-";
    padding: 0 5px 0 10px;
}

#table_dettaglio-consumi-mese .body-tariffa:not(.sub_body-tariffa), #table_dettaglio-consumi-mese .body-tariffa:not(.sub_body-tariffa) span {
    background: #fff;
    padding-left: 5px;
}

#table_dettaglio-consumi-mese .body-tariffa.tot_body-tariffa, #table_dettaglio-consumi-mese .body-tariffa.tot_body-tariffa span {
    background: #343a4b;
    color: #fff;
    padding-left: 5px;
}

/* Pie */

.pie:after {
	content: "";
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: #fff;
	position: absolute;
	top: calc(50% - 60px);
	left: calc(50% - 60px);
	display: block;
	z-index: 9;
}

.chart {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pie {
  border-radius: 100%;
  height: calc(var(--size, 200) * 1px);
  overflow: hidden;
  position: relative;
  width: calc(var(--size, 200) * 1px);
}

.pie__segment {
  --a: calc(var(--over50, 0) * -100%);
  --b: calc((1 + var(--over50, 0)) * 100%);
  --degrees: calc((var(--offset, 0) / 100) * 360);
  -webkit-clip-path: polygon(var(--a) var(--a), var(--b) var(--a), var(--b) var(--b), var(--a) var(--b));
  clip-path: polygon(var(--a) var(--a), var(--b) var(--a), var(--b) var(--b), var(--a) var(--b));
  height: 100%;
  position: absolute;
  transform: translate(0, -50%) rotate(90deg) rotate(calc(var(--degrees) * 1deg));
  transform-origin: 50% 100%;
  width: 100%;
  z-index: calc(1 + var(--over50));
}

.pie__segment:after,
.pie__segment:before {
  background: var(--bg, #e74c3c);
  content: '';
  height: 100%;
  position: absolute;
  width: 100%;
}

.pie__segment:before {
  --degrees: calc((var(--value, 45) / 100) * 360);
  transform: translate(0, 100%) rotate(calc(var(--degrees) * 1deg));
  transform-origin: 50% 0%;
}

.pie__segment:after {
  opacity: var(--over50, 0);
}

/* Chart */

#chart-consumi {
    width: 100%;
}

#chart-consumi .column caption {
    text-align: center;
    margin: 10px 0;
}

#chart-consumi .column {
  height: 300px;
  max-width: 600px;
  margin: 25px auto 0;
  --color-3: rgba(255, 200, 0, 0.6);
  --color-2: rgba(255,  75, 0, 0.6);
  --color-1: rgba(255,   0, 0, 0.6);
}

#chart-consumi .legend {
    height: auto;
    justify-content: center;
    border-color: transparent !important;
	margin-bottom: 25px;
}

#chart-consumi .legend li:before {
    border-color: transparent !important;
}

/* Scrollbar */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #242c3e;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Progetto */

.addSuperbonus {
    display: none;
}

.avanzamenti {
    justify-content: space-around;
}

.avanzamenti > div {
    color: #fff;
    border-radius: 4px;
    padding: 15px 1rem 0;
}

small.colpletata {
    text-transform: uppercase;
    color: #10a800;
    font-size: 12px;
}

.voci-progetto .btn-outline-warning {
    border-radius: 50%;
    height: 37px;
    width: 37px;
}

.voci-progetto .btn-outline-warning.btn-rounded {
    border-radius: 4px;
}

.lista.voci-progetto li {
    display: flex;
    justify-content: space-between;
	align-items: center;
}

.lista.voci-progetto li div input:first-child {
    background: #d7d7d7;
	color: #000;
}

.lista.voci-progetto li div input:first-child::placeholder {
    color: rgb(0 0 0 / 60%);
}

.modifica-voce .custom-file-label {
    background: #d7d7d7;
    color: black;
    font-size: .825rem;
    white-space: nowrap;
    overflow: hidden;
}

.modifica-voce .custom-file-label:after {
	background: #343a4b;
    color: #fff;
    border: 1px solid #343a4b;
    top: -1px;
    height: calc(2.24375rem + 2px);
    right: -1px;
}

button.btn.btn-success.btn.btn-voce_file {
    margin-left: 9px;
    border-radius: 0.2rem;
}

.modifica-voce {
    max-width: 300px;
    width: 300px;
    display: flex;
}

.modifica-voce {
    display: none;
}

.lista.voci-progetto li div .modifica-voce input:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.modifica-voce .btn.btn-success.btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.voci-progetto i {
    font-size: .825rem;
    color: #fff;
    margin: 0;
}

.lista.voci-progetto li > div {
    display: flex;
    align-items: center;
}

.lista.voci-progetto li > div p {
    margin: 0 35px 0 0;
    font-size: 14px;
}

.lista.voci-progetto li span {
    min-width: unset;
}

.voci-progetto .btn-outline-warning {
    /* background: #343a4b; */
    background: #cc8b37;
    border-color: #343a4b;
    margin-right: 5px;
}

.voci-progetto .btn-outline-warning:hover {
    background: #cc8b37;
}

.modifica-voce form {
    display: flex;
    width: 100%;
    margin-left: 25px;
	
	-webkit-transition: all 500ms linear;
	-moz-transition: all 500ms linear;
	-ms-transition: all 500ms linear;
	-o-transition: all 500ms linear;
	transition: all 500ms linear;
}

.modifica-voce form select.form-control-lg {
    height: auto;
    padding-top: 0;
    padding-bottom: 0;
    background: #d7d7d7;
    color: #000;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.modifica-voce .input-group.date {
    margin-right: 15px;
}

button.btn.btn-outline-warning.btn.green {
    background: #28a745;
}

button.btn.btn-outline-warning.btn.red {
    background: red;
}

.modal-body iframe {
    width: 100%;
    min-height: 80vh;
    border: 0;
}

.modal-footer {
    display: none;
}

.modal-dialog {
    max-width: 1300px;
    margin: 1.75rem auto;
}

.categorie_agente .provvigione .lista button {
    opacity: 0.2;
    pointer-events: none;
    cursor: not-allowed;
}

.bg-progresso {
    background: #343a4b;
    border-radius: 50px;
    overflow: hidden;
}

.current-progresso {
    background: #3B82EC;
    display: inline-block;
    padding: 0 5px;
    color: #fff;
    width: 30px;
    text-align: center;
    
    -webkit-transition: width 2000ms ease-in-out;
    -moz-transition: width 2000ms ease-in-out;
    -ms-transition: width 2000ms ease-in-out;
    -o-transition: width 2000ms ease-in-out;
    transition: width 2000ms ease-in-out;
}

.riepilogo-voci {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.riepilogo-voci small {
    color: #fff;
}

/* Login */

.hide_menu.login_page #main {
    margin: 0;
    height: 100vh;
}

.login_page {
    overflow: hidden;
}

.login_page:before {
    content: "";
    width: 100%;
    height: 100%;
    background: url(https://gestionale.eclisse.moda/img/pexels-ron-lach-9594677.jpg) center no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    background-size: cover;
    filter: grayscale(0.7);
}

#login-card {
    height: 100%;
    align-items: center;
    justify-content: center;
}

#login-card .card {
    padding: 0;
    max-width: 450px;
    margin: 0 auto;
}

#login-card .card-title {
    background: #242424;
    color: #fff;
    font-weight: 500;
    font-size: 18px;
    padding: 15px 20px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

#login-card form {
    padding: 10px 20px 35px;
}

#login-card h1 {
	display: none;
}

#login-card .card label {
    font-weight: 600;
}

#login-card .card label sup {
    color: #ff0000;
}

.login_head-logo {
    margin: 0 auto 5px;
    max-width: 200px;
    display: inline-block;
}

#login-card .form-select {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    padding-left: 0;
    width: 100%;
    outline: unset;
    box-shadow: unset;
}

/* Magazzino */

#tableProdotti td {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
}

#tableProdotti td small {
    display: block;
    font-size: 13px;
}

#tableProdotti td del {
    margin-left: 10px;
    background: #d9534f;
    color: #fff;
    font-weight: 200;
    padding: 0 7px;
    text-decoration: none;
    font-size: 10px;
    border-radius: 40px;
    position: relative;
    top: -1px;
}

table td b {
    color: #202634;
    font-weight: 700;
}

.row_magazzino-muovi {
    display: flex;
    align-items: baseline;
    background: #fcfcfc;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: .3rem;
    padding: 0 15px;
}

.row_magazzino-muovi .form-control.form-control-lg {
    border: 0;
}

.row_magazzino-muovi input {
    flex-basis: 100px;
    text-align: right;
}

.row_magazzino-muovi p {
    flex: 0 0 auto;
    margin: 0;
    text-align: center;
    font-size: .95rem;
    color: #9a9a9a;
}

/* Single Prodotto */

.single-prodotto_img img {
    max-width: 100%;
}

.single-prodotto_img {
    max-width: 200px;
    display: flex;
    align-items: center;
    max-height: 200px;
    overflow: hidden;
    min-height: 200px;
    margin-top: 25px;
    border-radius: 10px;
    background: url(https://gestionale.eclisse.moda/img/product-placeholder.png) center no-repeat;
    background-size: cover;
}

/* Cassa */

.dettaglio-cassa {
    flex: 1;
}

.dettaglio-cassa strong {
    display: block;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1;
    color: #242424;
}

.dettaglio-cassa small {
    color: #242424;
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
    display: block;
    line-height: 1;
    margin-top: 2px;
}

.dettaglio-cassa small b {
    color: #4bbf73;
    text-transform: capitalize;
    font-weight: 600;
	cursor: pointer;
}

.dettaglio-cassa div {
    display: inline-block;
    border-left: 1px solid #ddd;
    padding-left: 40px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.page_cassa {
    overflow: hidden;
}

.hide_menu #navbar, .hide_menu #sidebar {
    display: none;
}

.hide_menu #main {
    margin: 0 500px 0 0;
}

#cassa .table-serverside {
    min-width: unset;
    margin: 0;
    padding: 0;
}

#cassa_ordini .dataTables_scrollHeadInner, #cassa_ordini .dataTables_scrollHeadInner table {
    min-width: 100%;
}

#cassa_right {
    background: #242424;
    position: fixed;
    height: 100vh;
    max-height: 100%;
    right: 0;
    top: 0;
    z-index: 9;
    max-width: 500px;
    padding: 20px 25px;
}

#cassa_right h1 {
    color: #fff;
}

#cassa_prodotti, #cassa_ordini {
    box-shadow: unset;
    border: 1px solid #ddd;
}

#cassa_riepilogo-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

#cassa_riepilogo-prodotti {
    flex: 1;
    border-top: 1px solid rgb(221 221 221 / 20%);
    border-bottom: 1px solid rgb(221 221 221 / 20%);
    margin-bottom: 20px;
    margin-top: 10px;
    overflow-y: scroll;
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
}

#cassa_riepilogo-prodotti::-webkit-scrollbar {
  display: none;
}

.btn-white {
    background: #fff;
    font-weight: 600;
    border-radius: 40px;
    padding: 10px 35px;
    font-size: 12px;
}

#cassa_riepilogo-azioni .btn {
    font-size: 14px;
    padding: 14px 0;
    border-radius: 7px;
}

#cassa .dataTables_filter label {
    font-size: 0;
    display: block;
    margin: 10px 0 25px;
}

#cassa .dataTables_filter label input {
    width: 100%;
    background: transparent;
    border-color: #ddd;
    padding: 20px 20px;
    border-radius: 40px;
    margin: 0;
    font-size: 14px;
}

#cassa_prodotti-table_wrapper > div:first-child > .col-md-6, #cassa_ordini-table_wrapper > div:first-child > .col-md-6 {
    max-width: 100%;
    flex: 100%;
}

#cassa_prodotti-table_wrapper > div:last-child, #cassa_ordini-table_wrapper > div:last-child, #cassa_chiusure-table_wrapper > div:last-child {
    padding: 25px 0 5px;
    align-items: center;
    border-top: 1px solid #ddd;
    margin: 0;
}

.dataTables_scrollHead .dataTables_scrollHeadInner table {
    border-radius: 5px;
    overflow: hidden;
}

table#cassa_prodotti-table td, table#cassa_ordini-table td, table#cassa_chiusure-table td {
    padding-top: 15px;
    padding-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
}

table#cassa_ordini-table td, table#cassa_chiusure-table td {
    padding-top: 27px;
    padding-bottom: 27px;
}

table#cassa_prodotti-table td small, table#cassa_ordini-table td small, table#cassa_chiusure-table td small {
    display: block;
    font-size: 12px;
}

.cassa_table-prezzo {
    font-size: 17px;
    display: inline-block;
}

#cassa_prodotti-table del {
    margin-left: 10px;
    background: #d9534f;
    color: #fff;
    font-weight: 200;
    padding: 0 7px;
    text-decoration: none;
    font-size: 10px;
    border-radius: 40px;
}

#cassa_ordini-table del {
	margin-left: 10px;
    background: #4bbf73;
    color: #000;
    font-weight: 500;
    padding: 0 7px;
    text-decoration: none;
    font-size: 10px;
    border-radius: 40px;
	line-height: 1.3;
}

#cassa_ordini-table td small.cassa_ordini-table_note {
    text-transform: none;
}

.cassa_table-prezzo-content {
    display: flex;
    align-items: center;
}

div.dataTables_wrapper div.dataTables_info {
    padding: 0;
}

#cassa_head a {
    color: #242424;
    margin-right: 10px;
    padding: 6px 30px 5px;
    display: inline-block;
    border-radius: 50px;
    border: 1px solid #ddd;
}

#cassa_head a.current {
    background: #4bbf73;
    border-color: #4bbf73;
    padding: 6px 30px 5px;
    color: #fff;
}

#cassa_head a.chiudi-cassa {
    color: #d9534f;
}

.cassa_head-logo {
    max-width: 100px;
    margin-right: 15px;
    position: relative;
    top: 2px;
}

#cassa_head {
    margin-bottom: 10px;
}

.cassa_table-img {
    max-width: 65px;
    box-sizing: border-box;
    display: flex;
    max-height: 65px;
    min-height: 65px;
    align-items: center;
    overflow: hidden;
    border-radius: 5px;
	background: url(https://gestionale.eclisse.moda/img/product-placeholder.png) center no-repeat;
    background-size: cover;
}

.cassa_table-img img {
    max-width: 65px;
}

.cassa_riepilogo-pagamento input {
    display: none;
}

.cassa_riepilogo-pagamento .form-check-label {
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #fff;
    opacity: 0.4;
    gap: 7px;
}

.cassa_riepilogo-pagamento .form-check-label i {
    font-size: 20px;
}

.cassa_riepilogo-pagamento {
    text-align: center;
    margin-bottom: 25px;
}

.cassa_riepilogo-pagamento .form-check {
    margin: 0 15px;
}

.cassa_riepilogo-pagamento input[checked] + span {
    opacity: 1;
}

#cassa_riepilogo-azioni .cassa_riepilogo-btn {
    margin: 0 -4px;
}

#cassa_riepilogo-azioni .cassa_riepilogo-btn > div {
    padding: 0 4px;
}

.cassa_riepilogo-pagamento .col-12 {
    display: flex;
    justify-content: space-around;
}

#cassa .dataTables_filter:after {
    content: "\f002";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    background: #353535;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    font-size: 12px;
}

#cassa .dataTables_filter {
    position: relative;
}

.cassa_prodotti-left {
    display: flex;
    gap: 15px;
    align-items: center;
    flex: 1;
}

.cassa_prodotti-left small {
    display: block;
    color: #a9acb3;
}

.cassa_prodotti-left .cassa_table-img {
    max-width: 55px;
    max-height: 55px;
    min-height: 55px;
	flex-basis: 55px;
	background: url(https://gestionale.eclisse.moda/img/product-placeholder.png) center no-repeat;
    background-size: cover;
}

.cassa_prodotti-content {
    flex: 1;
}

.cassa_prodotti-left .cassa_table-img img {
    max-width: 55px;
}

.cassa_prodotti-content h4 {
    color: #fff;
    font-size: 20px;
    line-height: 1.1;
	text-transform: capitalize;
	margin-bottom: 5px;
}

.cassa_prodotti-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0 0;
}

#cassa_riepilogo-prodotti .cassa_prodotti-row:last-child {
    padding-bottom: 20px;
}

.cassa_prodotti-right {
    flex-basis: 125px;
    text-align: center;
}

.cassa_prodotti-prezzo small {
    display: block;
    color: #a9acb3;
    text-decoration: #ff0000 line-through;
    font-size: 15px;
    line-height: 1;
}

.cassa_prodotti-prezzo {
	color: #fff;
	font-size: 20px;
	margin-bottom: 7px;
}

.quantity i {
    background: #fff;
    margin: 0;
    color: #242424;
    width: 25px;
    height: 25px;
    padding: 5px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
	cursor: pointer;
}

.quantity {
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity_input {
    display: inline-block;
    width: 40px;
    background: transparent;
    color: #fff;
    outline: none;
    text-align: center;
    font-size: 16px;
    box-shadow: unset;
    border: 0;
}

.quantity_input[type=number] {
  -moz-appearance: textfield;
}

.quantity_input::-webkit-outer-spin-button, .quantity_input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cassa_riepilogo-totale {
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid rgb(221 221 221 / 20%);
    margin: 0 0 20px;
    padding-bottom: 20px;
}

.cassa_riepilogo-totale h3, .cassa_riepilogo-totale p {
    margin: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1;
}

.cassa_riepilogo-totale > div {
    padding: 0;
}

.cassa_prodotti-prezzo:after {
    content: attr(data-qty);
    font-size: 12px;
}

#modali-cassa .modal-sm {
    max-width: 350px;
}

#modali-cassa .modal-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

#modali-cassa .modal-header {
    background: #242424;
    display: flex;
    align-items: center;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

#modali-cassa .modal-header button span {
    color: #242424;
    text-shadow: unset;
    font-size: 30px;
}

#modali-cassa .modal-header button.close {
    background: #fff;
    opacity: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 31px;
    border-radius: 50%;
    margin-right: 0;
}

#modali-cassa .modal-header button.close:focus {
    outline: none;
}

#modali-cassa .form-select {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    padding-left: 0;
    width: 100%;
}

#modali-cassa label {
    font-weight: 600;
    color: #000;
}

#modalSconto .input-group>.input-group-prepend>.input-group-text {
    font-size: 12px;
}

#modali-cassa .form-select, #modali-cassa .form-control {
    outline: unset;
    box-shadow: unset;
}

#modalSconto #label-sconto:before, #label-contante:before, #label-apertura:before {
    content: "€";
    margin-right: 3px;
}

.cassa_riepilogo-totale .totale:before {
    content: attr(data-sconto);
    font-size: 13px;
    line-height: 1;
    color: #000;
    font-weight: 600;
    padding: 2px 10px 1px;
    border-radius: 40px;
    margin-right: 10px;
}

.cassa_riepilogo-totale .totale {
    display: flex;
    align-items: center;
    gap: 5px;
}

.before_background-sconto:before {
	background: #4bbf73;
}

.before_background-maggiorazione:before {
	background: #d9534f;
}

#modali-cassa #modalNote textarea {
    min-height: 150px;
}

.has-note:before {
    width: 20px;
    height: 20px;
    background: #4bbf73;
    content: "1";
    position: absolute;
    border-radius: 50%;
    top: -6px;
    right: 15px;
    line-height: 22px;
    text-align: center;
}

.resto_container p {
    color: #000;
    font-weight: 600;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    margin: 20px 0 0;
    padding: 5px 0;
    border-bottom: 1px solid;
    border-color: #ddd;
}

#cassa_head a.chiudi-cassa.current {
    color: #fff;
}

#modalChiusura .lista {
    list-style: none;
    padding: 0;
}

#modalChiusura .lista li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 400;
    color: #242424;
    margin-bottom: 15px;
}

#modalChiusura .lista li span {
    font-size: 15px;
    font-weight: 600;
    color: #242424;
}

#modalChiusura .lista .modalChiusura_data-apertura {
    border-bottom: 1px solid #ddd;
    padding-bottom: 12px;
}

#modali-cassa .modal-md {
    max-width: 450px;
}

#chiudi-cassa {
    position: absolute;
    z-index: 9;
    border-radius: 40px;
    line-height: 32px;
}

#cassa_chiusure-table_length {
    display: none;
}

.body-ordine-prodotto_row {
    display: flex;
    width: 255px;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-start;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.body-ordine-prodotto_row p {
    flex-basis: 140px;
    font-weight: 600;
    text-transform: capitalize;
    max-width: 140px;
    white-space: break-spaces;
    line-height: 1.2;
    margin: 0;
}

.body-ordine-prodotto_row span {
    flex-basis: 100px;
    font-weight: 500;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: flex-end;
}

.body-ordine-prodotto_row p small {
    margin-top: 5px;
    font-weight: 100;
}

.custom-tooltip_inner .body-ordine-prodotto_row:last-child {
    margin: 0;
    padding: 0;
    border: 0;
}

.tooltip_note .custom-tooltip_inner {
    text-transform: none;
    width: 325px;
    font-weight: 400;
    white-space: normal;
}

#cassa_ordini-table thead tr th:first-child, #cassa_prodotti-table thead tr th:first-child, #cassa_chiusure-table thead tr th:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

#cassa_ordini-table thead tr th:last-child, #cassa_prodotti-table thead tr th:last-child, #cassa_chiusure-table thead tr th:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.mx_neg-8 {
    margin-left: -8.5px;
}

body.sun-skin .stato-icon {
    color: #4bbf73;
}

body.sun-skin .stato-icon.stato-icon_reso {
    color: #d9534f;
}

#cassa #cassa_prodotti-table_filter, #cassa_chiusure #cassa_chiusure-table_filter {
    max-width: calc(100% - 225px);
}

.cassa_aggiungi-prodotto, #chiudi-cassa {
    max-width: 200px;
    position: absolute;
    right: 0;
    top: 0;
    margin: 1.25rem;
    margin-top: calc(1.25rem + 10px);
    z-index: 9;
}

#cassa_chiusure #cassa_chiusure-table_wrapper .col-sm-12.col-md-6 {
    min-width: 100%;
}

table#cassa_chiusure-table {
    padding-top: 0;
}

body div.dataTables_wrapper div.dataTables_info:not(:hover) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hide_menu.center_content #main {
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Scontrino */
#scontrino {
	display: none;
}

@media print {
    
    @page {
        size: auto;
        margin: 0mm;
    }
	nav, aside, #main #cassa {
		display: none !important;
	}
	html, body, #mail, .container {
        max-width: 302px !important;
        width: 302px !important;
    }
	body #scontrino {
		width: 302px !important;
		background: #ffffff;
		margin: 0;
		overflow-y: scroll;
		overflow-x: hidden;
		font-family: 'Poppins', sans-serif;
		display: block !important;
	}
	#scontrino img {
		max-width: 100px;
		margin: 15px auto 0;
		display: block;
		width: 100%;
	}
	.head-scontrino {
		text-align: center;
	}
	.head-scontrino h1 {
		font-size: 22px;
		margin: 15px 0 0;
		font-weight: 600;
		font-family: 'Poppins', sans-serif;
	}
	.head-scontrino p {
		font-size: 18px;
		margin: 5px 0 0;
		font-weight: 300;
		line-height: 1.3;
		font-family: 'Poppins', sans-serif;
		color: #000;
	}
	.body-scontrino_row {
		display: flex;
		align-items: center;
		font-size: 18px;
		justify-content: space-between;
		align-items: baseline;
		margin-bottom: 10px;
		color: #000;
	}
	.body-scontrino_row p {
		margin: 0;
		text-transform: capitalize;
		line-height: 1.2;
		flex-basis: calc(100% - 100px);
		max-width: calc(100% - 120px);
		word-wrap: break-word;
	}
	.body-scontrino_row > span {
		flex-basis: 120px;
		text-align: right;
	}
	.body-scontrino_row p small {
		display: block;
		margin-top: 5px;
		font-size: 95%;
	}
	.body-scontrino {
		margin-top: 40px;
	}
	.body-scontrino_row.totale {
		border-top: 1px solid;
		border-bottom: 1px solid;
		border-color: #000;
		padding: 12px 0;
		margin-bottom: 15px;
		margin-top: 15px;
		color: #000;
	}
	.body-scontrino_row.totale b {
		color: #000;
		font-weight: 600;
	}
	.footer-scontrino {
		text-align: center;
		font-size: 16px;
		margin-top: 40px;
		color: #000;
	}
	.footer-scontrino p {
		margin: 0;
		text-transform: uppercase;
		color: #000;
		font-weight: 400;
	}
	
}