/* SIDEBAR */
[class*="sidebar-dark-"] {
    background-color: #309898;
}

/* LINK BASE */
[class*="sidebar-dark-"] .sidebar a {
    color: #ffffff;
}

/* HOVER */
[class*="sidebar-dark-"] .nav-sidebar > .nav-item > .nav-link:hover {
    background-color: rgba(255,255,255,0.15);
    color: #ffffff;
}

/* VOCE ATTIVA */
.sidebar-dark-lime .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light-lime .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #ffffff;
    color: #1f2d3d;
    font-weight: 600;
}

/* ICONA VOCE ATTIVA */
.sidebar-dark-lime .nav-sidebar > .nav-item > .nav-link.active i {
    color: #ff9800;
}

/* TREEVIEW */
[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link {
    color: #ffffff;
    padding-left: 1.5rem;
}

/* TREEVIEW ACTIVE */
[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link.active {
    background-color: rgba(255,255,255,0.2);
    color: #ffffff;
}

/* INDICATORE SEZIONE APERTA */
.nav-sidebar .menu-open > .nav-link {
    box-shadow: inset 4px 0 0 #ff9800;
}

	.swal2-container {
		z-index: 1050; !important;
	}

	/* Classe personalizzata per evidenziare in rosso le righe con ricarico < 10% */
	.row-red {
		background-color: #fdd !important; /* Usa il colore che preferisci */
	}
	.row-blu {
		background-color: #87CEFA  !important; /* Usa il colore che preferisci */
	}
	.row-nan {
		background-color: #CC0000   !important; /* Usa il colore che preferisci */
	}
	.row-orange {
			background-color: #bdce76 !important;
			color: white; /* Per rendere il testo più leggibile */
	}
	.cell-promozione-aperta {
			background-color: #FFFF33   !important; /* Usa il colore che preferisci */
	}
	.cell-promozione-chiusa {
			background-color: #5CD65C   !important; /* Usa il colore che preferisci */
	}

	.hr-anagrafica {
		width:99%;
		border-top: 2px solid #FF5656;
	}


	.btn-success {
		background-color: #A0C878
	}
	.btn-success:hover {
		background-color: #8AA624;
		border-color: #A0C878;
	}

 	 .btn-primary {
	    color: #fff;
	    background-color: #F4631E;
	    border-color: #F4631E;
	    box-shadow: none;
	}

	.btn-primary:hover {
		 color: #fff;
		 background-color: #B12C00;
		 border-color: #B12C00;
 }


	 .card-primary:not(.card-outline) > .card-header {
		 background-color: #F4631E;
	}

	.card-primary.card-outline {
    border-top: 3px solid #309898;
	}

/*correggere select in datatable*/

	.dataTables_length select {
    background-image: none !important;
    padding-right: 8px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
		box-sizing: border-box;
		display: inline-block;
		min-width: 1.0em;
		padding: .1em .1em;
		margin-left: 2px;
		text-align: center;
		text-decoration: none !important;
		cursor: pointer;
		color: inherit !important;
		border: 1px solid transparent;
		border-radius: 2px;
		background: transparent;
}

table.dataTable tr.selected {
	background-color: #d4edda !important; /* verde chiaro */
	color: #155724; /* verde scuro per il testo */
}

/*select2*/
.select2-dropdown {
z-index: 9999 !important;/*1051;*/
}
.select2-container .select2-selection--single {
  display: block;
  width: 100%;
  height: calc(2.25rem + 4px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}
