body {
  border: 0;
  margin: 0;
  background-color: whitesmoke;
}

table {
  /* border-collapse: collapse;
  border-style: hidden; */
  max-width: 540px;
}

/* Titre de chapitre */

h1 {
  display: table-cell;
  justify-content: center;
  width: 100vw;
  height: 30px;
}
/* Titre de paragraphe */
h2 {
  display: table;
  margin: auto;
  width: 100%;
  max-width: 420pt;
}
/* Titre de tableau (exemple : "Définition") */
h3 {
  display: table-cell;
  vertical-align: middle;
  width: 100vw;
  justify-content: center;
}
/* Contenu de tableau (exemple : "Définition" ou "Exemples") */
h4 {
  display: table-cell;
}

@media print {
  table {
    page-break-inside: avoid;
    break-inside: avoid;
  }
  body {
    background-color: white;
  }
  .noprint {
    display: none;
  }
}

button {
  border: 1px solid #838383;
  background-color: #ebebeb;
  color: #535353;
  font-size: 12px;
  font-weight: bold;
  padding: 5px;
  padding-left: 15px;
  padding-right: 15px;
  border-radius: 10px;
  outline: none;
}
/* img {
  max-width: 100%;
  height: auto;
} */
button:hover {
  background-color: #535353;
  color: rgb(255, 255, 255);
  cursor: pointer;
}
.defTable {
  margin-top: 10px;
  margin-bottom: 10px;
}
.defTable tbody tr:first-child {
  height: 30px;
}

.defTable tbody tr:first-child td:nth-child(1) {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-left: 0px;
  border-right: 0px;
  overflow: hidden;
  width: 40%;
  height: 30px;
  padding-left: 10px;
}

@media (max-width: 550px) {
  .defTable tbody tr:first-child td:nth-child(1) {
    border-radius: 0px;
  }
}

.defTable tbody tr:first-child td:nth-child(2) {
  border: 0px;
  height: 30px;
  width: 60%;
  text-align: right;
  padding-top: 0px;
  padding-bottom: 4px;
}

.defTable tbody tr:nth-child(2) td,
.defTable tbody tr:last-child td {
  border: 0px;
  outline-width: 1px;
  outline-style: solid;
  outline-offset: -1px;
}
.ttleTable {
  /* border-radius: 10px;
  overflow: hidden; */
  width: 100%;
  max-width: unset;
  min-height: 70px;
}
/* @media (max-width: 550px) {
  .ttleTable {
    border-radius: 0px;
  }
} */
.ttleTable tbody tr:first-child td:nth-child(1) {
  border-top: 6px solid #2d6616;
  border-bottom: 6px solid #2d6616;
  background-color: #2d6616;
  width: 110px;
}

.ttleTable tbody tr:first-child td:nth-child(2) {
  border-top: 6px solid #a8d098;
  border-bottom: 6px solid #a8d098;
  border-right: 6px solid #a8d098;
  background-color: #a8d098;
  width: calc(100% - 110px);
}

.video {
  display: block;
  margin: 0 auto;
  width: 550px;
  max-width: 100%;
}

.noprint {
  break-inside: unset;
}
