﻿/* Pour éviter que les images débordent */
img {
  max-width: 100%;
  height: auto;
  display: block;
  }


/* Pour que le texte ne se colle pas aux bords */
body {
  padding: 1em;
  box-sizing: border-box;
}

/* Pour les mobiles */
@media screen and (max-width: 768px) {
  body {
    font-size: 1.1em;
    padding: 0.5em;
  }

  table {
    width: 100%;
    table-layout: fixed;
  }

  td {
    display: block;
    width: 100%;
  }

  img {
    float: none !important;
    margin: 1em auto;
  }
  @media screen and (max-width: 768px) {
  #master {
    width: 100%;
    max-width: 100%;
    padding: 1em;
    box-sizing: border-box;
  }

  table, td {
    width: 100% !important;
    display: block;
  }

  td img {
    width: 100% !important;
    height: auto !important;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  .cadre {
  background-color: transparent;
  padding: 12px;
  text-align: center;
  font-family: Verdana;
  font-size: 0.9em;
  color: #CC3300;
  max-width: 100%;
  box-sizing: border-box;
}

.cadre img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 5px 12px 29px 1px #808080;
}

.legende {
  font-style: italic;
  color: #777;
  margin-top: 8px;
  font-size: 0.85em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
	/* gestion des mots longs */

	textarea,
	table,
	td,
	th,
	code,
	pre,
	samp {
		-webkit-hyphens: auto; /* césure propre */
		-moz-hyphens: auto;
		hyphens: auto;
		word-wrap: break-word; /* passage à la ligne forcé */
	}
}
