/* ==========================================================
   DZ CMS TABLE
   Tableaux CMS responsive : livraison / paiement / informations
   ========================================================== */

.dz-table {
  --dz-table-primary: #006653;
  --dz-table-accent: #3f2215;
  --dz-table-bg: #f9f9f9;
  --dz-table-bg-alt: #f1f1f1;
  --dz-table-border: #dddddd;
  --dz-table-text: #333333;

  width: 100%;
  margin: 30px 0;
}


/* ==========================================================
   DESKTOP / TABLETTE
   ========================================================== */

.dz-table-wrapper {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--dz-table-border);
  border-radius: 10px;
}

.dz-table table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border-spacing: 0;
}


/* Header */

.dz-table thead th {
  padding: 14px 16px;

  background: var(--dz-table-primary);
  color: #ffffff;

  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;

  border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.dz-table thead th:last-child {
  border-right: 0;
}


/* Cellules */

.dz-table tbody td {
  padding: 14px 16px;

  background: var(--dz-table-bg);
  color: var(--dz-table-text);

  vertical-align: middle;

  border-right: 1px solid var(--dz-table-border);
  border-bottom: 1px solid var(--dz-table-border);
}

.dz-table tbody td:last-child {
  border-right: 0;
}

.dz-table tbody tr:last-child td {
  border-bottom: 0;
}


/* Alternance des lignes */

.dz-table tbody tr:nth-child(even) td {
  background: var(--dz-table-bg-alt);
}


/* Première colonne */

.dz-table .dz-table-method {
  font-weight: 500;
  white-space: nowrap;
}


/* Icônes */

.dz-table .dz-table-icon {
  margin-right: 8px;
  color: var(--dz-table-accent);
}


/* Paragraphes internes */

.dz-table td p {
  margin: 0 0 6px;
}

.dz-table td p:last-child {
  margin-bottom: 0;
}


/* ==========================================================
   MOBILE : UNE LIGNE = UNE CARTE
   ========================================================== */

@media (max-width: 768px) {

  .dz-table {
    margin: 22px 0;
  }


  /* Neutralisation du tableau desktop */

  .dz-table-wrapper {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .dz-table table,
  .dz-table tbody,
  .dz-table tr,
  .dz-table td {
    display: block;
    width: 100%;
  }


  /* Header desktop masqué */

  .dz-table thead {
    display: none;
  }


  /* =========================
     Carte
     ========================= */

  .dz-table tbody tr {
    display: block;

    overflow: hidden;

    margin: 0 0 16px;

    background: #ffffff;

    border: 1px solid var(--dz-table-border);
    border-radius: 10px;
  }


  /* Neutralisation alternance desktop */

  .dz-table tbody tr:nth-child(even) td,
  .dz-table tbody tr:nth-child(odd) td {
    background: #ffffff;
  }


  /* =========================
     Titre de la carte
     ========================= */

  .dz-table tbody tr td:first-child {
    display: block;

    padding: 13px 16px;

    background: var(--dz-table-primary) !important;
    color: #ffffff !important;

    font-weight: 700;

    border: 0;

    white-space: normal;
  }

  .dz-table tbody tr td:first-child .dz-table-icon {
    margin-right: 8px;
    color: #ffffff;
  }


  /* =========================
     Informations
     ========================= */

  .dz-table tbody tr td:not(:first-child) {
    display: block;

    padding: 12px 16px;

    background: #ffffff !important;
    color: var(--dz-table-text);

    line-height: 1.45;

    border: 0;
    border-bottom: 1px solid var(--dz-table-border);
  }

  .dz-table tbody tr td:last-child {
    border-bottom: 0;
  }


  /* Libellés mobile */

  .dz-table tbody tr td:not(:first-child)::before {
    display: block;

    margin-bottom: 4px;

    color: var(--dz-table-accent);

    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .dz-table tbody tr td:nth-child(2)::before {
    content: "Délai de traitement";
  }

  .dz-table tbody tr td:nth-child(3)::before {
    content: "Frais";
  }

  .dz-table tbody tr td:nth-child(4)::before {
    content: "Remarques";
  }


  /* Plusieurs lignes dans une cellule */

  .dz-table tbody td p {
    display: block;
    margin: 0 0 4px;
    padding: 0;
  }

  .dz-table tbody td p:last-child {
    margin-bottom: 0;
  }
}

/* ==========================================================
   NAG - HERO SLIDER
   ========================================================== */

/* Desktop */
.nag-hero-title {
    font-size: 38px !important;
    line-height: 1.15 !important;
    font-weight: 700;
    letter-spacing: 2px !important;
    margin: 0 0 20px;
}

.nag-hero-subtitle {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin: 0 0 20px;
}

/* Tablette */
@media (max-width: 991px) {

    .nag-hero-title {
        font-size: 25px !important;
        line-height: 1.15 !important;
        letter-spacing: 1.5px !important;
    }

    .nag-hero-subtitle {
        font-size: 16px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {

    .nag-hero-title {
        font-size: 13px !important;
        line-height: 1.1 !important;
        letter-spacing: .5px !important;
        margin-bottom: 12px;
    }

    .nag-hero-subtitle {
		display:none;
        font-size: 12px !important;
        line-height: 1.25 !important;
    }
}