/* responsive cacher les liens de navigation ------------------------------- */
@media screen and (max-width: 600px) {
  .navHaut a:not(:first-child) {display: none;}
  .navHaut a.icon {
    display: block;
    float: right;
  }
}

@media screen and (max-width: 600px) {
  .navHaut.responsive {position: relative;}
  .navHaut.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .navHaut.responsive a {
    display: block;
    float: none;
    text-align: left;
  }
} 

/* balises générales site -------------------------------------------------------------------------- */

body{
  background-color: #FFEDD8;
  border-color: #874606;
  border-style: double;
  font-family: "Courrier New", Monaco, monospace;
  font-size: 1.0em;
  font-weight: bold;
  margin: 15px 15px 15px 15px;
  padding: 15px 15px 15px 15px;
}

/* bas de pages et lien magasin */
footer h4, .liens_divers{
  text-align: center;
}

header h1, h2, h3{
  text-align: center;
}

.fileTypes{
  text-decoration: underline;
}

article{
  text-align: justify;
}

header h1{
  background-color: #A85C35;
  border-color: #CE835A;
  border-style: outset;
  color: white;
  padding-bottom: 8px;
  padding-top: 8px;
}

header img{
  max-width: 95%;
}

header, footer{
  background-color: #EAC691;
  margin-top: 3px;
  padding-bottom: 15px;
  padding-top: 4px;
}

footer{
  margin-bottom: 40px;
  margin-top: 40px;
}

#infos{
  font-size: 0.7em;
}

#fakeFormWarning{
  color: red;
  font-size: 0.7em;
}

form{
  font-size: 0.8em;
}

/* Youtube video previews iframe */
iframe{
  border-color: grey;
  border-style: inset;
  border-width: 10px;
}

.ytIframes{
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#mentionAddress, #conditionsGen{
  background-color: white;
  border-color: #CE835A;
  border-style: solid;
  margin-left: 40px;
  margin-right: 40px;
  padding-bottom: 20px;
  padding-left: 20px;
}

#mentionTitle{
  text-align: center;
}

#credits{
  margin-left: 40px;
  margin-right: 40px;
}

/* tableau articles ---------------------------------------- */
table {
  border-collapse: collapse;
  margin-bottom: 5px;
  /* center table */
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  width: 83%;
}

th{
  background-color: #A46C32;
  border-color: #7B5B3A;
  border-style: solid;
  border-width: 2px;
  color: white;
  text-decoration-color: white;
}

td{
  border-color: #7B5B3A;
  border-style: solid;
  border-width: 2px;
}

#row1, #row3, #row5{
  background-color: #CEAB86;
}

#row2, #row4, #row6{
  background-color: white;
}

/* modle links color in table data rows */
.modelCol{
  background-color: #f0d7b6;
}

/* Menu navigation ----------------------------------------------------- */

.navHaut{
  background-color: #A85C35;
  border-color: #CE835A;
  border-style: outset;
  padding-bottom: 8px;
  padding-top: 8px;
  text-align: center;
}

.navHaut {
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.navHaut a {
  color: white;
  padding: 14px 16px;
  text-align: center;
}

/* Change the color of links on hover */
.navHaut a:hover {
  background-color: #ddd;
  color: black;
}

/* Hide the link that should open and close the navHaut on small screens */
.navHaut .icon {
  display: none;
} 

/*-- Menu navigation responsive----------------------------------------------------- */

 /* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the navHaut (.icon) */
@media screen and (max-width: 600px) {
  .navHaut a {display: none;}
  .navHaut a.icon {
    display: block;
    float: right;
  }
}

/* The "responsive" class is added to the navHaut with JavaScript when the user clicks on the icon. This class makes the navHaut look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .navHaut.responsive {position: relative;}
  .navHaut.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .navHaut.responsive a {
    display: block;
    float: none;
    text-align: left;
  }
  .navHaut{
    padding-bottom: 0px;
    padding-top: 0px;
  }
} 

/* Responsive pages en général --------------------------------------------------------------------- */
@media screen and (max-width: 600px) {
  header img{
    max-width: 70%;
  }

  body{
    border-style: none;
    font-size: 0.9em;  
    font-weight: bold;
    margin: 2px 2px 2px 2px;
    padding: 4px 4px 4px 4px;
  }

  table{
    font-size: 0.9em;
  }
}