.wpDataTablesWrapper {
    margin-bottom: 0px !important;
}

.wpdt-c .wpDataTablesWrapper table.scroll {
    width: 100% !important;
}

@media screen and (min-width: 1240px) {
   .wpDataTablesWrapper div.wdtscroll {
     overflow-x: initial !important;
   }
   
.wpdt-c .wpDataTablesWrapper table.wpDataTable.scroll {
    width: 100% !important;
}

}

.wpDataTablesWrapper,
.wpDataTablesWrapper * {
    font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
}


/* Larghezza fissa 170px per la prima colonna di TUTTE le wpDataTables, solo su mobile */
@media (max-width: 768px) {

  .wpDataTable th:first-child,
  .wpDataTable td:first-child {
    width: 170px !important;
    max-width: 170px !important;
    min-width: 170px !important;
    white-space: normal !important; /* per andare a capo se il testo è lungo */
  }
}


.wpDataTablesWrapper table.wpDataTable thead th {
    font-size: 15px !important;
    font-style: normal;
    font-weight: 700 !important;
    line-height: 140% !important;
    letter-spacing: -0.15px !important;
}



.wpDataTablesWrapper table.wpDataTable tbody td {
    font-size: 19px !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 130% !important;
    letter-spacing: -0.19px !important;
}




.wpDataTablesWrapper table.wpDataTable thead tr:first-child th:first-child {
    border-top-left-radius: 5px;
}

.wpDataTablesWrapper table.wpDataTable thead tr:first-child th:last-child {
    border-top-right-radius: 5px;
}

.wpDataTablesWrapper table.wpDataTable tbody tr:last-child td:first-child {
    border-bottom-left-radius: 0px;
}

.wpDataTablesWrapper table.wpDataTable tbody tr:last-child td:last-child {
    border-bottom-right-radius: 0px;
}


.wpDataTablesWrapper table.wpDataTable > thead > tr > th {
    padding: 15px !important;
}


.wpDataTablesWrapper table.wpDataTable tbody td {
    height: 57px !important;
    padding: 15px !important;
    vertical-align: middle !important;
    box-sizing: border-box;
}


@media screen and (max-width: 768px) {
	
	
	.wpDataTablesWrapper table.wpDataTable > thead > tr > th {
		padding: 8px !important;
}
	
   .wpDataTablesWrapper table.wpDataTable thead th {
    font-size: 12px !important;
    font-style: normal;
    font-weight: 700 !important;
    line-height: 16px !important;
    letter-spacing: -0.12px !important;
}

.wpDataTablesWrapper table.wpDataTable tbody td {
    font-size: 15px !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 21px !important;
    letter-spacing: -0.15px !important;
	height:44px !important;
	padding:8px !important;
}
   
}

/* =========================================
   TABELLA wpDataTables ID 2
   ========================================= */

.wpDataTables {
    width: 100% !important;
    border-collapse: collapse !important;
    font-family: "Open Sans", sans-serif !important;
}


/* =========================================
   HEADER
   ========================================= */

.wpDataTables thead th {
    background: #0068B3 !important;
    color: #FFFFFF !important;

    font-family: "Open Sans", sans-serif !important;
    font-size: 15px !important;
    font-style: normal;
    font-weight: 700 !important;
    line-height: 140% !important;
    letter-spacing: -0.15px !important;

    padding: 15px 10px !important;
    vertical-align: middle !important;

    border: none !important;
}


/* Prima colonna intestazione */

.wpDataTables thead th:first-child {
    text-align: left !important;
}


/* =========================================
   PRIMACOLONNA
   ========================================= */

.wpDataTables tbody td:first-child {
    text-align: left !important;
}


/* COLONNE NUMERICHE */

.wpDataTables tbody td:not(:first-child) {
    text-align: left !important;
}


/* =========================================
   RIGHE BLU
   EBITDA
   PFN rettificata
   Investimenti lordi
   ========================================= */


.wpdt-c .wpDataTablesWrapper table.wpDataTable tbody tr.testi-celeste td {
    color: #0068B3 !important;
}

.wpdt-c .wpDataTablesWrapper table.wpDataTable tbody tr td.testi-celeste-cella {
    color: #0068B3 !important;
}

.wpdt-c .wpDataTablesWrapper table.wpDataTable tbody tr.testi-white td {
    color: #fff !important;
}

.wpdt-c .wpDataTablesWrapper table.wpDataTable tbody tr.testi-bold td {
	font-weight: 700 !important;
}
