@charset "UTF-8";
/* 
POLICES LIÉES 
 */
@import url("https://fonts.googleapis.com/css?family=Lato:400,900,400i,900i|Quicksand:400,700|PT+Serif|Arimo:700");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap");

/* 
RÉINITIALISATION
*/
:root {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 100%;
}

main,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
small {
  display: block;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* fixer une largeur maximale de 100 % aux éléments potentiellement problématiques */
table,
td,
blockquote,
code,
pre,
textarea,
input,
object,
embed,
video {
  max-width: 100% !important;
}

/* GESTION DES MOTS LONGS */
textarea,
table,
td,
th,
/* code,  pre ,*/
samp {
  word-wrap: break-word;
  /* césure forcée */
  white-space: pre-line;
  /* passage à la ligne spécifique pour les éléments à châsse fixe */
}

/* 
CHARTE TYPO
 */
html {
  font-size: 0.625em;
  line-height: 1.35;
  font-family: IBM Plex Serif, Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #000;
}

/* 
GÉNÉRIQUES
*/
.enveloppe {
  min-height: 97vh;
  max-width: 64em;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

@media (min-width: 650px) {
  .enveloppe {
    box-shadow: 0 0 3px #999;
    margin: 1em auto;
  }
}

header,
section,
footer {
  padding: 1.5%;
}

article {
  flex: 1 0 auto;
}

/* 
LIENS 
*/
a:link,
a:visited {
  color: #136786;
  text-decoration: none;
  border-bottom: 1px solid;
}

a:hover,
a:active {
  color: #b9330b;
}

a img.icone {
  vertical-align: -1px;
  opacity: 0.5;
  width: 10px;
  height: auto;
}

/* 
PARAGRAPHES 
*/
p {
  font-size: 1.3em;
  padding: 0 0 1em 0;
}

/* 
TYPO 
*/
sup {
  font-size: 0.9rem;
}

/* 
LISTES 
*/
article ul,
article ol,
section ul,
section ol {
  padding: 0 0 1.2em 1.4em;
  font-size: 1.3rem;
}

article ul li,
article ol li,
section ul li,
section ol li {
  padding-bottom: 0.5em;
}

/* LISTE DE DÉFINITION */
dl {
  margin-bottom: 1.2em;
}

dt {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}

dd {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: #333333;
  padding-left: 1.8em;
}

dl.css-texte dt {
  font-size: 1.1rem;
  font-weight: bold;
  color: #666666;
  float: left;
  width: 100%;
  padding-bottom: 0.4em;
}

dl.css-texte dd {
  font-size: 1.1rem;
  color: #333333;
  float: left;
  width: 100%;
  padding-bottom: 0.4em;
}

dl.css-texte {
  overflow: hidden;
}

/* PARENT DES FLOAT */
.flottants {
  overflow: hidden;
  clear: both;
}

/* IMAGES */
img {
  vertical-align: bottom;
}

.bordure {
  border: 1px solid #b1b1b1;
}

.icone {
  width: auto;
}

figure {
  width: 100%;
  margin: 0.5em auto 1.2em;
}

figure img {
  width: 100%;
}

.w10,
.w20,
.w30,
.w40,
.w50,
.w60,
.w70,
.w80,
.w90 {
  width: 100%;
}

@media (min-width: 500px) {
  .w10 {
    width: 10%;
  }

  .w20 {
    width: 20%;
  }

  .w30 {
    width: 30%;
  }

  .w40 {
    width: 40%;
  }

  .w50 {
    width: 50%;
  }

  .w60 {
    width: 60%;
  }

  .w70 {
    width: 70%;
  }

  .w80 {
    width: 80%;
  }

  .w90 {
    width: 90%;
  }

  .w100 {
    width: 100%;
  }
}

figcaption {
  font-size: 1rem;
  font-family: "Lato", Helvetica, sans-serif;
  border-width: 0 0 0 5px;
  border-style: solid;
  border-color: #3b95d8;
  padding-left: 0.3em;
  display: block;
  padding: 2px 4px;
  background: #ddd;
}

/* VIDÉOS */
.video-enveloppe-16-9 {
  position: relative;
  padding-bottom: 56.25%;
  /* Produit un ratio de 16:9 fluide */
  height: 0;
  margin: 10px 0;
}

.video-enveloppe-4-3 {
  position: relative;
  padding-bottom: 75%;
  /* Produit un ratio de 4:3 fluide */
  height: 0;
  margin: 10px 0;
}

.video-enveloppe-16-9 iframe {
  position: absolute;
  /* Position relative à video-enveloppe-16-9 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-enveloppe-4-3 iframe {
  position: absolute;
  /* Position relative à video-enveloppe-4-3 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

video {
  border: solid 1px #999;
  margin-bottom: 2em;
}

/* -----------------
ENTÊTE
-------------------- */
.entete {
  font-family: Arimo;
}

.entete p {
  padding: 0;
}

.college {
  font-size: 1.1em;
  font-weight: normal;
}

.titre-cours {
  font-size: 1.5em;
  font-weight: bold;
}

/* -----------------
FORMULAIRE
-------------------- */
label {
  font-family: sans-serif;
  font-size: 1.2rem !important;
  color: dimgray;
}

/* -----------------
NAVIGATION PRINCIPALE
-------------------- */
.menu-cours,
.sous-menu-cours {
  list-style: none !important;
}
.menu-cours {
  text-align: center !important;
  width: 100% !important;
}

.menu-cours__item {
  position: relative !important;
  margin: 2em auto !important;
  width: 90px !important;
  box-shadow: 2px 2px 0px #999 !important;
}

.menu-cours__lien:link,
.sous-menu-cours__lien:link,
.menu-cours__lien:visited,
.sous-menu-cours__lien:visited {
  background-color: #000 !important;
  color: #fff !important;
  display: inline-block !important;
  text-align: center !important;
  font-family: Lato, sans-serif !important;
  width: 90px !important;
}

.menu-cours__lien {
  padding: 0.9em !important;
}

.sous-menu-cours__lien {
  padding: 0.5em !important;
}

.menu-cours__lien:hover,
.menu-cours__lien:active {
  background-color: #b9330b !important;
  box-shadow: 0 0 0 !important;
  transform: translate(2px, 2px) !important;
}

.sous-menu-cours {
  display: none !important;
  position: absolute !important;
  top: 34px !important;
  left: 2px !important;
  width: 100% !important;
  text-align: center !important;
  z-index: 100 !important;
}

.sous-menu-cours__lien:hover {
  background-color: #b9330b !important;
}

.menu-cours__item:hover .sous-menu-cours {
  display: block !important;
}

/* -----------------
MODÈLE DE PAGE: ACCUEIL
-------------------- */

/* -----------------
MODÈLE DE PAGE: COURS
-------------------- */
/* HEADER */
.cours-numero {
  text-align: center;
  font-size: 1.5em;
  font-family: Arimo;
}

/* TITRES */
h1,
h2,
h3,
h4,
h5 {
  font-family: Arimo, sans-serif;
  font-weight: 700;
}

h1 {
  font-size: 2.4em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 2px 1px 1px #999;
}

h2 {
  font-size: 2.25em;
  /* text-transform: uppercase; */
  color: #444;
  padding-bottom: 0px;
  border-bottom: #000 1px solid;
  margin: 1.8em 0 1.1em 0;
}

h3 {
  font-size: 1.9em;
  /*display: inline-block;*/
  margin: 1.2em 0 1.1em 0;
  color: #444;
}

h4 {
  font-size: 1.6em;
  display: block;
  margin: 1.3em 0 1em 0;
  color: rgb(83, 83, 83);
}

h5 {
  font-size: 1.35rem;
  color: black;
  margin-top: 1.2em;
  margin-bottom: 0.8em;
}

ol h5,
ul h5 {
  margin-left: -20px;
}
/* EN LIGNE */
abbr {
  display: inline-block;
  text-decoration: none;
  border-bottom: 2px dotted #3b95d8;
  padding-bottom: 0;
}
/* ANCRES */
.ancres-section {
  text-align: center;
  margin-bottom: 0.5rem;
}

.ancres-section span {
  background-color: #d0d0d0;
  padding: 0.3em 0.4em 0.4em;
  margin: 0.4em 0.4em 0 0;
  display: inline-block;
  font-family: Lato;
  font-size: 1.1rem;
  border-radius: 0.2em;
}

/* DÉMO CODE */
code {
  color: blue;
  font-family: monospace;
  font-size: 1.4rem;
}

.rose {
  color: rgb(224, 116, 134);
}

.vert {
  color: #01b901;
}

.gris {
  color: gray;
}

.jaune {
  color: yellow;
}

.orange {
  color: orange;
}
.rouge {
  color: red;
}

/* RÉFÉRENCES */
.references-section {
  margin-bottom: 1.2em;
  font-family: Lato, sans-serif;
  background-color: #e0e0e0;
  padding: 0.5em;
  border-left: tomato 5px solid;
  border-radius: 4px;
}

.references-intitule {
  font-size: 1.4rem;
  padding: 0.5em 0 0 0;
}

.references-section ul {
  list-style: none;
  padding: 0.5em;
  font-size: 1.1rem;
}

.references-section li {
  margin: 0 0 0.5em 0;
}

.references-section li:last-child {
  margin: 0;
}
.source {
  font-family: Quicksand, sans-serif;
  font-size: .85em;
  padding-top: .2em;
  text-align: left;
}
/* NOTES ET TRAVAUX FORMATIFS */
.note,
.tf {
  /*box-shadow: 1px 1px 2px #ccc;*/
  /*border: #ccc 1px solid;*/
  padding: 1.2em 0.8em 0.9em 2.8em;
  margin-bottom: 1.2em;
  margin-left: 0;
  font-family: Lato, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
  border-radius: 4px;
}

.note {
  background: #f5e4f2 url(../images/note.png) no-repeat 4px 4px;
  background-size: 18px;
}

.tf {
  background: #dcedf5 url(../images/tf.png) no-repeat scroll 3px 5px;
  background-size: 20px;
}

.tf-intitule,
.note-intitule {
  font-weight: bold;
  padding-bottom: 0.4rem;
}

.note h3,
.tf h3 {
  padding-top: 0;
  margin-top: 0;
  color: black;
}

.note p,
.tf p {
  padding-bottom: 0.8rem;
  margin-bottom: 0;
}

.note blockquote,
.tf blockquote {
  padding-left: 2rem;
  padding-right: 4rem;
  font-style: italic;
}

.tp-intertitre {
  font-size: 1.4rem;
  font-family: sans-serif;
  color: #32648e;
  font-weight: bold;
  padding: 1em 0;
}

/* PHRASE CLÉ */
.phrase-cle {
  font-weight: bold;
  font-family: Arimo, sans-serif;
}

/* PRE */
.exemple {
  list-style: none;
  font-size: 1.6rem;
  color: blue;
  line-height: normal;
  background-color: #e0e0e0;
  padding: 0.8em;
  margin-bottom: 1.2em;
  border-left: #76b5ff 2px solid;
  /* line-height: .8; */
  border-radius: 4px;
  border-radius: 4px;
  overflow: auto;
}

.exemple-code {
  white-space: pre-line;
  font-family: "Lucida Console", monospace;
  color: #ddd;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.6;
  background-color: #000;
  padding: 0.8em;
  margin: 0em 0 1.2em 1em !important;
  /*border-left: #76b5ff 5px solid;*/
  border-radius: 0px;
  overflow: auto;
}

.exemple-code--nowrap {
  white-space: nowrap;
}

.resultat {
  padding: 15px 8px 10px 8px;
  margin-left: 1em;
  margin-bottom: 1.6em;
  border: 1px #979797 solid;
}

.code-etiquette {
  text-transform: uppercase;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  display: inline-block;
  margin-bottom: -4px;
  border-radius: 3px;
  background-color: #3b95d8;
  color: #fff;
  padding: 3px;
}

.resultat-etiquette {
  text-transform: uppercase;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  display: inline-block;
  margin-bottom: -4px;
  border-radius: 3px;
  background-color: #979797;
  color: #fff;
  padding: 3px;
}
.syntaxe-etiquette {
  text-transform: uppercase;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  display: inline-block;
  margin-bottom: -4px;
  border-radius: 3px;
  background-color: #8ec43e;
  color: #fff;
  padding: 3px;
}

/* kbd */
kbd {
  font-size: 1.4em;
}

/* CODEPEN */
.bloc-codepen {
  margin-bottom: 2em;
}

/* TABLEAUX */
table {
  font-family: Helvetica, sans-serif;
  margin-bottom: 1.2em;
  font-size: 1.15rem;
}

caption {
  font-weight: bold;
  margin: 0 0 0.7em 0;
}

th {
  font-weight: bold;
  color: #666666;
  border: 1px solid #666666;
  padding: 5px;
}

td {
  color: #333333;
  border: 1px solid #999999;
  border-collapse: collapse;
  padding: 5px;
}

td p {
  margin-right: 0px;
  margin-left: 0px;
}

/* SECTION AE */
#sectionAE {
  background-color: #eee;
}

/* LIEN HAUTE DE PAGE */
article + a {
  margin: 1em;
}

/* -----------------
PIED DE PAGE COMMUN
-------------------- */
footer.footer-commun {
  margin-top: 2em;
  text-align: center;
}

/* -----------------
ADAPTATION
-------------------- */
