/* Styles communs : typographie, pied de page, liens et impression. */

.close {
  background: url("../img/close.png") no-repeat;
  height: 30px;
  position: absolute;
  right: 14px;
  top: 7px;
  width: 30px;
  z-index: 10;
}

.cyan {
  background: none repeat scroll 0% 0% #00FFFF;
}

.mage {
  background: none repeat scroll 0% 0% #FF00FF;
}

.vert {
  background: none repeat scroll 0% 0% #00FF00;
}

body {
  background: none repeat scroll 0px 0px #FFFFFF;
  font-family: 'segoe_uiregular', Verdana, Geneva, sans-serif;
  margin: 0px;
  padding: 0px;
  height: 100%;
  cursor: url('../cursor_test128c.png'), auto;
}

ul,
ol,
dl {
  list-style-position: outside;
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0px;
  padding-right: 0px;
  text-align: left;
}

section {
  border-top: 1px dotted #FF0000;
  clear: both;
  margin: 0px 0px 40px;
  padding: 15px 2px 20px 0px;
}

h1 {
  color: #000000;
  font-family: 'segoe_uisemibold', Verdana, Geneva, sans-serif;
  font-size: 1.8rem;
  margin-bottom: -5px;
}

h2 {
  color: #000000;
  font-size: 1.1rem;
  font-family: 'segoe_uiregular', Verdana, Geneva, sans-serif;
}

hr {
  clear: both;
  color: #FFFFFF;
  height: 1px;
}

sup {
  vertical-align: text-top;
}

body:hover,
body a:hover,
footer:hover,
footer a:hover {
  cursor: url('../cursor_test128c.png'), auto;
  text-decoration: none;
  user-select: none;
}

a img {
  border: medium none;
}

a:link {
  color: #0000FF;
  text-decoration: underline;
}

a:visited {
  color: #666666;
  text-decoration: underline;
}

a:active,
a:focus {
  text-decoration: none;
  cursor:pointer;
}

p {
  font-size: 0.8rem;
}

.menuitem_type {
  color: #999999;
  font-size: 0.8em;
}

#barreboutons {
  position: fixed;
  right: 12px;
  top: 75px;
}

#homepict {
  height: auto;
  margin: 160px auto 0px;
  text-align: center;
  width: 100%;
}

/* Pied de page et lien de contact. */

footer {
  bottom: 0px;
  height: 55px;
  position: fixed;
  width: 100%;
  z-index: 10;
  display:flex;
  justify-content: center;
  align-items: start;
  cursor: url('../cursor_test128c.png'), auto;
}

footer .mentions {
  padding-bottom: 5px;
}

.mentions {
  font-size: 0.75em;
  margin: 10px 10px 0px 10px;
}

.mentions a {
  width: 120px;
  text-align: center;
  margin-right: 20px;
  margin-left: 5px;
  border: 1px #ff00ff solid;
  padding: 10px 15px;
  user-select: none;
  background-color: #FFFFFF45;
  border-radius: 50px;
  cursor:pointer;
}

.mentions a,
.mentions a:visited {
  color: #FF00FF;
  text-decoration: none;
}

.mentions a:hover {
  background-color: #FFFFFF;
  user-select: none;
  cursor:pointer;
}

.fltrt {
  float: right;
  margin-left: 8px;
}

.fltlft {
  float: left;
  margin-right: 8px;
}

.clearfloat {
  clear: both;
  height: 1px;
  margin: 10px 0px 40px;
  width: 100%;
}

#bgimg {
  position: absolute;
  z-index: -1;
}

#realbody {
  background: url("../img/raster.png") repeat scroll 0px 0px transparent;
  height: 100%;
  overflow: hidden;
  position: absolute;
  width: 100%;
  z-index: 1;
}

#divbaseline {
  height: 450px;
  margin: 0px auto;
  position: relative;
  width: 80%;
}

#homebaseline {
  font-family: 'segoe_uilight', Verdana, Geneva, sans-serif;
  font-size: 10vh;
  line-height: 1.4em;
  list-style-type: none;
  margin: 0px auto;
  position: absolute;
  text-align: center;
  top: 40px;
  width: 100%;
}

.magenta {
  color: #FF00FF;
}

.green {
  color: #339900;
}

.rouge {
  color: #FF0000;
}

.bleu {
  color: #3366FF;
}

/* Bouton de retour en haut de page. */

#scrollToTop a {
  background-image: url("../img/fleche_hdp.gif");
  background-repeat: no-repeat;
  bottom: 15px;
  display: block;
  height: 40px;
  position: fixed;
  right: 20px;
  width: 77px;
  z-index: 1000;
}

#scrollToTop a:hover {
  background-image: url("../img/fleche_hdp.gif");
  background-position: -77px 0px;
  display: block;
  height: 40px;
}

#titreprint {
  display: none;
}

/* Règles réservées à l'impression. */

@media print {
  footer {
    position: relative;
  }

  #titreprint {
    display: block;
    font-size: 0.75em;
  }

  body {
    font-size: 12pt;
  }

  p {
    font-size: 10pt;
    line-height: 13pt;
  }
}

/* Adaptation selon la largeur de l'écran. */

@media screen and (max-width: 768px) {
  #homebaseline {
    top: 15px;
    font-size: 10vh;
  }

  #supersized {
    display: none;
  }
}

/* Adaptation selon la largeur de l'écran. */

@media screen and (max-width: 480px) {
  body {
    height: 150vh;
    transition:all 0.5s ease;
    background: rgb(237, 237, 237);
  }

  footer {
    display: block;
    text-align: center;
    height: 14vh;
  }

  footer .mentions {
    display: flex;
    flex-direction: column-reverse;
    height: 12vh;
    width: 95%;
    text-align: center;
  }

  footer .mentions a {
    display: block;
    align-content: center;
    margin: 0vh auto 1vh;
  }

  #scrollToTop,
  #scrollToTop a,
  #scrollToTop a:hover {
    bottom: 50px;
    margin: 0px auto;
    right: 20px;
    z-index: 10;
  }

  #bgimg {
    display: none;
    margin-top: 340px;
    width: 100%;
    height: auto;
  }

  #realbody {
    width: 100%;
    background: url("../img/raster.png") repeat scroll 0px 0px #8A2BE2;
  }

  #homebaseline {
    color: #ff00ff;
    font-size: 6vh;
    line-height: 1.5em;
    margin-top: -80px;
    top: 100px;
    width: 100%;
  }

  #homebaseline li {
    color: #ff00ff;
  }

  #divbaseline {
    width: 90%;
  }
}

#scrollToTop[hidden] {
  display: none;
}

#scrollToTop a:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
}

.menu-secours {
  padding: 1rem;
  background: #fff;
}
