body{
  margin: 0 ;
  background-color:#ffdab9;
  
}

p, h4, h5, h6, dt ,a, summary,li{ 
  font:1em/1.8 serif; 
}


main {
  width:min(50em,90%);
  padding-left:1em;
  padding-right:1em;
  padding-top:3em;
  padding-bottom:3em;
  margin: 1em auto ;
  border-style:double;
  border-radius:6px;
  background-color: white;
}

header {
  width:min(50em,90%);
  padding-left:1em;
  padding-right:1em;
  padding-top:1px; 
  margin:auto;
  margin-top:5em;
  margin-bottom:1em;*/
  display:block;
  /*text-align:center; */
  outline-style:double;
  border-radius:4px;
  background-color:#4f4e49;
}

head ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display:block;
}

li {
  display:inline;
  font: Arial, sans-serif;
  text-align: center;
}

li a {
  color:white;
  text-decoration:none;
}

li a:hover{
  text-decoration:underline;
}

li a {
  color:white;
}

li a:hover{
  
}
a:link{
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}


/*-----menu-déroulant------*/
.deroulbtn { 
  background-color:#4f4e49;
  border:none;
  color:white;
  text-align: center;
  font: sans-serif;
  font-size:16px;
}

.deroulbtn:hover{
  text-decoration:underline;
  cursor: pointer;
}

.deroulant{
  position:relative;
  display: inline-block;
}

.deroulant-contenu{
  display:none;
  position:absolute;
  background-color:#4f4e49;
  min-width: 160px;
  z-index:1;
}


.deroulant-contenu a {
  display:block;
  color:white;
  text-decoration:none;
}

.deroulant-contenu a:hover {
  text-decoration:underline;
}

.deroulant:hover .deroulant-contenu {
  display: block;
  border-style:double;
  border-color:white;
}

/*---encadré-code-----*/

code{
  background-color:  #f6f6f6;
  padding:7px;
  font-family:monospace;
  border:solid; 
  border-color:#e2e2e2;
  border-radius:10px;
  display:block;
  break-inside: avoid;
  overflow:auto;
}

code:hover{background-color:grey;}



/*-----Table-------------------*/


table, td {
  border-style:solid;
  border-color:#ccc;
  border-width:1px;
  border-collapse:collapse;
  /*background-color: white;*/
  text-align:center;
  overflow:auto;
}

th {
  background-color:#fde777;
}

tr:hover {background-color: coral;}




/*------------------------------------------------------------
 La partie blockquote est adaptée de la référence de mozilla pour le html
------------------------------------------------------------------*/

div:has(> blockquote) {
  background-color: #ededed;
  margin: 10px auto;
  padding: 15px;
  border-radius: 5px;
  position: absolute;
  top:150%;
  right:10%;	
  float: right; 
}

blockquote p::before {
  content: "\201C";
}

blockquote p::after {
  content: "\201D";
}

blockquote + p {
  text-align: right;
}


/* Tiré Initiation au positionnement CSS sur openweb.eu.org */
.content {
  float: right;
  width: 70%;
}
.menu {
  margin-right: 80%;
  border: 1px solid #000000;
  padding: 1em;
}
   
/*Sélecteur de langue*/ 
.langues {
  position: fixed;
  bottom: 0;
  left: 0;
  border-style:double;
}

/*-------------------------------------------------------------------
 * Gestion des colonnes 
 * ----------------------------------------------------------------*/


* {
  box-sizing: border-box;
}


.colonne{
  width:min(50em,90%);
  float:right;
  padding: 10px;
  margin-right:3em;
  
}


.colonne.milieu{
  width: 50%;
  border-style:double;
  background-color: white;
  margin:3em;
}

.colonne.cote {
  width: 40%;
  margin:2em;

}

.colonne.cote img {
  border-style:solid;
   
}


/* Clear floats after the columns */
.main::after {
  content: "";
  display: table;
  clear: both;
}


/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .colonne.cote, .column.milieu {

    width: 100%;
  }
}
/*------------------------------------------------------------------*/
