/* =========================
   BASE (mobile / iPhone)
   ========================= */

/* iOS : ne pas réduire le texte */
html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-size: 22px;
}

/* Titre */
h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 18px;
}

/* Table mobile */
table {
    width: 100%;
}

/* Cellules mobile */
th,
td {
    font-size: 24px;
    padding: 22px 24px;
    line-height: 1.4;
}

/* Ligne alerte */
.row-alert td {
    background: #ffe3e3;
    color: #b00000;
    font-weight: 800;
}
  /* cacher toutes les colonnes */
  .data-table th,
  .data-table td {
    display: none;
  }

  /* afficher seulement les colonnes 2,5,6,7 */
  .data-table th:nth-child(2),
  .data-table td:nth-child(2),
  .data-table th:nth-child(5),
  .data-table td:nth-child(5),
  .data-table th:nth-child(6),
  .data-table td:nth-child(6),
  .data-table th:nth-child(7),
  .data-table td:nth-child(7) {
    display: table-cell;
  }

/* =========================
   DESKTOP / PC
   ========================= */
@media (min-width: 1246px) {

    body {
        font-size: 16px;              /* taille normale PC */
    }

    h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    /* Table desktop classique */
    table {
        width: 100%;
        border-collapse: collapse;
    }
    .data-table th,
    .data-table td {
		display: table-cell;
    }

    th,
    td {
        font-size: 14px;              /* font-size normal */
        padding: 8px 10px;
        line-height: 1.2;
        white-space: nowrap;          /* voir toutes les colonnes */
    }

    th {
        background: #f5f5f5;
        font-weight: 700;
    }

    /* Désactiver effet "cartes" si présent */
    tr {
        margin: 0;
    }
	
}
