/* 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 */

.btn-primary {
	background-color: #26b5c3;
	border-color: #26b5c3;
}

.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: #202634;
}

.bg-dark-b {
    background-color: #202634 !important;
}

.bg-dark-b .btn-success, .bg-dark-b .badge-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.bg-dark-b .alert {
    padding: .3rem 1.25rem;
}

.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;
}

.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;
}

.login img {
    max-width: 100%;
    padding: 0 12px;
}

body .wizard-primary.sw-theme-arrows>.nav .nav-link.active {
    border-color: #26b5c3!important;
    background: #26b5c3!important;
}

.wizard-primary.sw-theme-arrows>.nav .nav-link.active:after {
    border-left-color: #26b5c3!important;
}

/* Sun Skin */

.sun-skin .wizard {
    background: #fff;
}

.sun-skin form label {
    color: rgb(10 10 10 / 75%);
}

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

.sun-skin .card .lista li span {
    color: #232b33;
}

.sun-skin .card-title {
    color: #232b33;
}

.sun-skin .card .lista li {
    border-bottom: 1px solid rgba(0,0,0,.1);
}

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

.sun-skin .form-control, .sun-skin .custom-select {
	background-color: #f4f7f9;
	color: #343b42;
    border: 1px solid rgba(0,0,0,.1);
}

.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: #232b33;
}

.sun-skin .page-item .page-link {
	background-color: #f4f7f9;
	color: #6c757d;
    border: 1px solid rgba(0,0,0,.1);
}

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

.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: red;
}

.sun-skin .navbar .bg-light {
	background-color: #343a4b!important;
}

/* Sidebar */

.sidenav {
  height: 100%;
  width: 250px;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #fff;
  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: 0.625rem 1.625rem;
    margin: 17px 0 10px;
    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: #0a0a0a;
}

.sidenav .sidebar-header {
    color: rgb(10 10 10 / 75%);
}

.sidenav .sidebar-link svg {
    color: #0a0a0a;
}

.sidebar-nav .sidebar-dropdown .sidebar-link {
    color: rgb(136 136 136);
}

.sidebar-nav .sidebar-dropdown li:last-child {
    margin-bottom: 15px;
}

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

/* Nav */

#navbar {
    border-bottom: 1px solid #293042;
}

#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: .5rem;
    padding: .4rem 1rem;
    border: 1px solid #293042;
    border-radius: 4px;
}

/* 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 td, .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: 20px;
    border-bottom: 1px solid hsla(0,0%,100%,.1);
    padding-bottom: 5px;
}

.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;
}