
html {
  height: 100%;
  background-image: radial-gradient(#121212, #323939);
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  background-size: 100vw 100vh;
  background-attachment: fixed;
}

body {
  color: #fff;
  font-family: "Junicode";
  font-size: small;
  text-align: center;
}
head {
  color: #fff;
  height: 10%;
  left: 0;
  top: 0;
}
main {
  color: #fff;
  height: 100%;
  width: 100%;
  margin-top: 50px;
  margin-bottom: 110px;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  height: 100px;
  width: 100%;
  color: #fff;
  text-align: center;background-image: radial-gradient(#121212, #323939);
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  background-size: 100vw 100vh;
  background-attachment: fixed;
}
/*Polices*/
@font-face {
  font-family: "Junicode";
  src: url("fonts/Junicode.ttf");
}
@font-face {
  font-family: "Junicode";
  font-style: italic;
  src: url("fonts/Junicode-Italic.ttf");
}
@font-face {
  font-family: "Junicode";
  font-weight: bold;
  src: url("fonts/Junicode-Bold.ttf");
}
@font-face {
  font-family: "Junicode";
  font-weight: bold;
  font-style: italic;
  src: url("fonts/Junicode-BoldItalic.ttf");
}
@font-face {
  font-family: "dejavu";
  src: url("fonts/DejaVuSerif.ttf");
}
@font-face {
  font-family: "dejavu";
  font-style: italic;
  src: url("fonts/DejaVuSerif-Italic.ttf");
}
@font-face {
  font-family: "dejavu";
  font-weight: bold;
  src: url("fonts/DejaVuSerif-Bold.ttf");
}
@font-face {
  font-family: "dejavu";
  font-weight: bold;
  font-style: italic;
  src: url("fonts/DejaVuSerif-BoldItalic.ttf");
}
/*Titres*/
h1 {
  font-family: "Junicode";
  font-style: italic;
  font-weight: bold;
  font-size: 2.4em;
  color: #ebebeb;
  text-align: center;
  text-shadow: 2px 2px #4e4e4e;
  margin-top: 10vh;
}

.titre_1,
h2 {
  font-family: "Junicode";
  font-style: normal;
  font-weight: normal;
  font-size: 2em;
  line-height: 2em;
  color: #ebebeb;
  border: 1px solid #fff;
  text-align: center;
  margin: 50px 0;
  background-color: hsla(0,100%,0%,0.3);
}

.titre_3,
h3 {
  font-family: "Junicode";
  font-style: italic;
  font-weight: bold;
  font-size: 1.4em;
  line-height: 2em;
  color: #ebebeb;
  margin: 15px auto;
  width: 40vw;
  min-width: 300px;
  text-align: center;
  background-color: #4e4e4e;
}
h4 {
  font-family: "Junicode";
  font-style: italic;
  font-weight: normal;
  font-size: 16px;
  color: #ebebeb;
  text-align: center;
}

.titre_2,
h5 {
  font-family: "Junicode";
  font-style: italic;
  font-weight: normal;
  font-size: 1.6em;
  line-height: 2em;
  margin: 15px auto;
  width: 60vw;
  min-width: 500px;
  text-align: center;
  color: #ebebeb;
  text-align: center;
  background-color: #3b3b3b;
}

h6 {
  font-family: "Junicode";
  margin-top: 0em;
  margin-bottom: 0.5em;
  font-style: italic;
  font-weight: bold;
  font-size: 18px;
  color: white;
  text-align: center;
  margin-left: -10px;
  margin-right: 10px;
}

/*Menu du haut*/
#menu-bar {
  left: 0px;
  width: 100%;
  margin: 0;
  padding: 0;
  height: 50px;
  line-height: 100%;
  position: fixed;
  top: 0;
  z-index: 999;
  background-color: black;
}
#menu-bar li {
  margin: 10px 0;
  padding: 0px 10px 0px 0px;
  float: left;
  position: relative;
  list-style: none;
}
#menu-bar a {
  font-weight: normal;
  font-family: junicode;
  font-style: normal;
  font-size: 18px;
  color: #e7e5e5;
  text-decoration: none;
  display: block;
  padding: 10px 15px 10px 15px;
  margin: 1px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
}
#menu-bar li ul li a {
  margin: 0px;
}
#menu-bar .active a,
#menu-bar li:hover > a {
  background: #333;
  color: #000;
  border-radius: 10px;
  border: solid 1px #b4b4b4;
  background: #ebebeb;
  margin: 0;
}
#menu-bar ul li:hover a,
#menu-bar li:hover li a {
  background: none;
  border: 0px;
  padding: 10px;
}
#menu-bar ul a:hover {
  background: #ebebeb !important;
  color: #000 !important;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
}
#menu-bar li:hover > ul {
  display: block;
}
#menu-bar ul {
  background: #333;
  display: none;
  margin: 0;
  padding: 0;
  width: 250px;
  position: absolute;
  top: 35px;
  left: 0;
  border: solid 1px #b4b4b4;
  border-radius: 10px;
  -webkit-border-radius: 10px;
}
#menu-bar ul li {
  float: none;
  margin: 0;
  padding: 0;
}
#menu-bar ul a {
  padding: 10px 10px 10px 10px;
  color: #ffffff !important;
  font-size: 16px;
  font-style: normal;
  font-family: junicode;
  font-weight: normal;
  text-align: center;
}
#menu-bar ul li:first-child > a {
  border-top-left-radius: 10px;
  -webkit-border-top-left-radius: 10px;
  -moz-border-radius-topleft: 10px;
  border-top-right-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topright: 10px;
}
#menu-bar ul li:last-child > a {
  border-bottom-left-radius: 10px;
  -webkit-border-bottom-left-radius: 10px;
  -moz-border-radius-bottomleft: 10px;
  border-bottom-right-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-radius-bottomright: 10px;
}
#menu-bar:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#menu-bar {
  display: inline-block;
}
html[xmlns] #menu-bar {
  display: block;
}
* html #menu-bar {
  height: 1%;
}

/*Menu latéral*/
/*https://www.w3.org/Style/Examples/007/sliding.en.html*/
#sidemenu {
  position: fixed;
  right: -13em;
  top: 17em;
  width: 14em;
  margin: -10em -2em -10em 1em;
  z-index: 5;
  background: hsla(0, 0%, 23%, 1.7);
  color: #ebebeb;
  font-weight: normal;
  text-align: left;
  border: solid hsla(0, 0%, 92%, 0.3);
  border-right: none;
  padding: 0.8em 0.5em 0.5em 2.5em;
  box-shadow: 0 1px 3px black;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  transition: 0.2s;
  /* margin: 0;
       transform: translate(0, -50%); */
}
#sidemenu:hover {
  right: 0;
}
#sidemenu li {
  margin: 0;
}
#sidemenu a {
  position: relative;
  left: 0;
  color: inherit;
  transition: 0.2s;
}

#sidemenu a:link {
  color: #ebebeb;
  text-decoration: none;
}
#sidemenu a:hover {
  background: #ebebeb;
  color: #000;
  text-decoration: none;
  /*text-align : center;*/
  border: solid 1px;
  border-right: none;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  padding: 4px 6px 4px 6px;
}

#sidemenu a:focus {
  left: -10em;
  background: hsla(80, 90%, 40%, 0.7);
}
#sidemenu:hover a:focus {
  left: 0;
  background: none;
}

#sidemenu_01 a:hover {
  background: #ebebeb;
  color: #000;
  text-decoration: none;
  text-align: center;
  border: solid 1px;
  border-right: none;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  padding: 4px 6px 4px 6px;
}

/*Boutons*/
a.button {
  padding: 10px 10px;
  margin: 5px 4px;
  color: #ffffff;
  font-family: dejavu;
  font-size: 16px;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  text-decoration: none;
  display: inline-block;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  moz-border-radius: 10px;
}
a.button:hover {
  background: #ebebeb;
  color: black;
}

/*Boutons departements*/
a.two:link {
  color: #ffffff;
  font-size: 20px;
}
a.two:hover {
  background: #ebebeb;
  color: black;
}
/*Bouton Haut*/
#scroll_to_top {
  position: fixed;
  width: 25px;
  height: 25px;
  bottom: 50px;
  right: 30px;
}
#scroll_to_top img {
  width: 50px;
  height: 50px;
}
/*Bouton retour*/
#scroll_to_back {
  position: fixed;
  width: 25px;
  height: 25px;
  bottom: 50px;
  left: 30px;
}
#scroll_to_back img {
  width: 50px;
  height: 50px;
}

.champs {
  height: 20px; /* Hauteur des champs */
  width: 400px; /* Longueur des champs */
  /* border: xxx; /* Epaisseur de la bordure s'il y a lieu */
  /* border-color: xxx; /* Couleur de la bordure s'il y a lieu */
  /* background: xxx; /* Couleur du fond du champ */
  font-family: Junicode; /* Police utilisé pour les champs remplis par l'utilisateur */
  font-size: 18px; /* Taille de la police */
  /* color:#xxxxxx; /* Couleur de la police */
}

.wrapper {
  margin-top: 10vh;
}

.select {
  display: flex;
  flex-direction: row;
  position: relative;
  width: 350px;
  height: 40px;
}

.option {
  padding: 0 30px 0 10px;
  min-height: 40px;
  display: flex;
  align-items: center;
  background-color: #e5e5e5;
  border-top: #222 solid 1px;
  position: absolute;
  top: 0;
  width: 100%;
  pointer-events: none;
  order: 2;
  z-index: 1;
  transition: background 0.4s ease-in-out;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
}

.option:hover {
  background-color: #ff595c;
}

.select_X {
  background-color: white;
  font-weight: bold;
}

.select_A {
  color: white;
  background-color: black;
}

.select_B {
  color: white;
  background-color: dimgray;
}

.select_1 {
  color: white;
  background-color: gray;
}

.select_2 {
  background-color: silver;
}

.select_3 {
  background-color: gainsboro;
}

.select_N {
  color: white;
  background-color: DarkSlateGray;
}

.select:focus .option {
  position: relative;
  pointer-events: all;
}

input {
  padding: 0 30px 0 10px;
  min-height: 40px;
  background-color: #e5e5e5;
  border-top: #222 solid 1px;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
}

input:checked + label {
  /* order: 1; */
  /* z-index:2; */
  /* background-color: #FF595C; */
  /* border-top:none; */
  /* position:relative; */
  /* color: white; */
}

input:checked + label:after {
  /* content:''; */
  /* width: 0;  */
  /* height: 0;  */
  /* border-left: 5px solid transparent; */
  /* border-right: 5px solid transparent; */
  /* border-top: 5px solid white; */
  /* position:absolute; */
  /* right:10px; */
  /* top:calc(50% - 2.5px); */
  /* pointer-events:none; */
  /* z-index:3; */
}

input:checked + label:before {
  /* position:absolute; */
  /* right:0; */
  /* height: 40px; */
  /* width: 40px; */
  /* content: ''; */
  /* background-color: #050505; */
}
.checkbox {
  width: 100%;
  margin: 5px;
  position: relative;
  display: block;
}
.checkbox label {
  position: relative;
  min-height: 34px;
  display: block;
  padding-left: 40px;
  margin-bottom: 0;
  font-weight: normal;
  cursor: pointer;
}
.checkbox label span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.checkbox label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  margin: 4px;
  width: 22px;
  height: 22px;
  transition: transform 0.28s ease;
  border-radius: 3px;
  border: 3px solid green;
  background-color: white;
}
.checkbox label:after {
  content: '';
  display: block;
  width: 10px;
  height: 5px;
  border-bottom: 3px solid white;
  border-left: 3px solid white;
  transform: rotate(-45deg) scale(0);
  transition: transform ease 0.25s;
  position: absolute;
  top: 12px;
  left: 10px;
}
.checkbox input[type="checkbox"] {
  width: auto;
  opacity: 0.00000001;
  position: absolute;
  left: 0;
  margin-left: -20px;
}
.checkbox input[type="checkbox"]:checked ~ label:before {
  border: 3px solid orangered;
  background-color: black;
}
.checkbox input[type="checkbox"]:checked ~ label:after {
  transform: rotate(-45deg) scale(1);
}
.checkbox input[type="checkbox"]:focus + label::before {
  outline: 0;
}

  
.input_readonly {
  background-color: gray !important;
  color: gainsboro !important;
}
form a {
  color: white;
  text-decoration: none;
  font-size: 2.5em;
  line-height: 2.5em;
}
form a:hover {
  color: lightskyblue;
}
.radio_list {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 1px solid white;
  width: 300px;
  gap: 5px;
  border-top: none;
}
.radio_list label {
  flex: 4;
  text-align: left;
}
.radio_list input,
.radio_list span {
  flex: 0.5;
  cursor: pointer;
}
.radio_new {
  color: white;
  background-color: DarkSlateGray;
  font-size: 1.2em;
  border-top: 1px solid white;
}
.radio_onglet0 {
  background-color: black;
  color: white;
  font-size: 1.2em;
}
.radio_onglet1 {
  background-color: white;
  color: black;
  font-size: 1.2em;
  font-weight: bold;
}
.radio_page {
  background-color: #222;;
}
.radio_title {
  background-color: #fff;
  color: #000;
}
.radio_lvl0 {
  background-color: #444;
  color: #fff;
}
.radio_lvl1 {
  background-color: #666;
  color: #fff;
}
.radio_lvl2 {
  background-color: #888;
  color: #fff;
}
.radio_lvl3 {
  background-color: #aaa;
  color: #666;
}
.radio_lvl4 {
  background-color: #ccc;
  color: #666;
}
.select_blocks {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 100px;
  justify-content: center;
}
.select_action {
  margin: 10px;
  align-self: center;
}
.select_position {
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 400px;
  max-height: 50vh;
  overflow-x: auto;
}
.select_ordre {
  display: block;
  width: 100px;
  max-width: 95vw;
  height: 40px;
  background-color: white;
  border: 1px solid darkgray;
  margin: 2px;
  font-size: 1.2em;
  padding: 5px;
}
.select_interne {
  width: 150px;
}
.send_button {
  border: none;
  display: inline-block;
  outline: 0;
  padding: 8px 16px;
  min-width: 130px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background-color: inherit;
  text-align: center;
  cursor: pointer;
  white-space: normal;
  font-size: 1.1em;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px 0px, rgba(0, 0, 0, 0.19) 0px 6px 20px 0px;
  height: 40px;
  align-self: center;
  margin-left: 15px;
}
.send_button:hover {
  color: #000;
  background-color: #ccc;
  cursor: pointer;
}
.button_confirm,
.button_connect {
  background-color: teal;
  color: white;
  float: left;
}
.button_cancel,
.button_reset {
  background-color: #f44336;
  color: white;
  float: right;
}
.button_add {
  background-color: cornflowerblue;
  color: white;
  float: right;
}
.no_button {
  height: 23px;
  font-size: 1.3em;
  line-height: 1.3em;
}
.actions_block {
  text-align: left;
  padding: 20px;
  /* background-image: linear-gradient(#323232, #424949); */
  margin-top: 75px;
}
.actions_demi {
  display: flex;
  padding: 10px 25px;
  margin: 5px;
  flex-wrap: wrap;
  gap: 25px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px 0px, rgba(0, 0, 0, 0.19) 0px 6px 20px 0px;
  justify-content: center;
}
.actions_zone {
  display: flex;
  margin: 10px;
  flex-direction: column;
}
.action_title {
  font-size: 2em;
  font-weight: bold;
  line-height: 2em;
  margin: 0;
  align-self: flex-start;
}
.action_confirmation {
  font-size: 2em;
  color: white;
  text-align: center;
  text-shadow: 2px 2px black;
}
.action_alert {
  font-size: 2em;
  color: orangered;
  text-align: center;
  text-shadow: 2px 2px black;
}
.action_check {
  display: block;
  width: 50px;
  margin: 2px;
}
.buttons_zone {
  margin-top: 50px;
  align-self: center;
}
.input_facultatif {
  font-style: italic;
}
.hidden {
    display: none;
}