@font-face { font-family: ubuntu; font-weight: normal; font-style:normal; src: url("../../quai1/quai1.ch/files/font/ubuntu-font-family-0.83/Ubuntu-R.ttf"); }
@font-face { font-family: ubuntu; font-weight: bold; font-style:normal; src: url('../../quai1/quai1.ch/files/font/ubuntu-font-family-0.83/UbuntuMono-B.ttf');}
@font-face { font-family: ubuntu; font-weight: normal; font-style:italic; src: url('../../quai1/quai1.ch/files/font/ubuntu-font-family-0.83/Ubuntu-RI.ttf');}
@font-face { font-family: ubuntu; font-weight: bold; font-style:italic; src: url('../../quai1/quai1.ch/files/font/ubuntu-font-family-0.83/UbuntuMono-BI.ttf');}

/* police Atkinson Hyperlegible */
@font-face { font-family: atk; font-weight: normal; font-style:normal; src: url("../../quai1/quai1.ch/files/font/Atkinson-Hyperlegible/TTF/Atkinson-Hyperlegible-Regular-102.ttf"); }
@font-face { font-family: atk; font-weight: bold; font-style:normal; src: url('../../quai1/quai1.ch/files/font/Atkinson-Hyperlegible/TTF/Atkinson-Hyperlegible-Bold-102.ttf');}
@font-face { font-family: atk; font-weight: normal; font-style:italic; src: url('../../quai1/quai1.ch/files/font/Atkinson-Hyperlegible/TTF/Atkinson-Hyperlegible-Italic-102.ttf');}
@font-face { font-family: atk; font-weight: bold; font-style:italic; src: url('../../quai1/quai1.ch/files/font/Atkinson-Hyperlegible/TTF/Atkinson-Hyperlegible-BoldItalic-102.ttf');}

:root { /* difinition des variables contenant les couleurs */
  --bgcolordark: #121212;
  --bgcolorlight: #FFFFFF;
  --fontcolordark: #CCCCCC;
  --fontcolorlight: #000000;
  --couleurCFF: blue;
}

body /* style général pour le document */
{
  font-size: 1.1em; /* modif 1.2em */
  font-family: "ubuntu";
  font-style: normal;
  font-weight: normal;
  color: var(--fontcolorlight); /* couleur de police par défaut */
  background-color: var(--bgcolorlight); /* couleur de fond */
}

#wrapper { /* bloc principal centrer sur la page */
  max-width: 17.5em;
  margin: 0 auto;
}

/* Pour tests */
div {
  /*	border: 1px dotted red; */
}

@media (prefers-color-scheme: light) /* definition des couleurs du mode clair */
{
  body {
    background-color: var(--bgcolorlight);
    color: var(--fontcolorlight);
  }
  a /* personnalisation des liens */
  {
    color: var(--fontcolorlight);
    text-decoration: underline;
  }

  .main:nth-child(odd) /* colore une ligne sur deux */
  {
    background-color: #F5F5F5;
  }
  input
  {
    border: 1px solid var(--fontcolorlight);
  }

  details > summary {
    background-color: #dcdcdc;
  }
  summary.via {
    background-color: var(--bgcolorlight);
  }
  .track {
    border: 1px solid var(--fontcolorlight);
  }

}

@media (prefers-color-scheme: dark) /* dfinition decouleurs du mode sombre */
{
  body {
    background-color: var(--bgcolordark);
    color: var(--fontcolordark);
  }

  a /* personnalisation des liens */
  {
    color: var(--fontcolordark);
    text-decoration: underline;
  }
  .main:nth-child(odd) /* colore une ligne sur deux */
  {
    background-color: #1F1F1F;
  }
  input
  {
    background-color: #2f2f2f;
    color: var(--fontcolordark);
  }

  details > summary {
    background-color: #2f4f4f;
  }
  summary.via {
    background-color: var(--bgcolordark);
  }
  .track {
    border: 1px solid var(--fontcolordark);
  }

}

h2, .titre {
  font-size: 1.5em;
  font-style: normal;
  font-weight: bold;
  margin: 10px 0 10px 0;
  padding: 0em;
  text-align: center;
}

.main {
  display: inline-flex;
  flex-wrap: wrap;
  width: 100%;
    margin: 5px 0;
}

.col_form {
  display: inline-flex;
}

.bloc_form {
  width: 100%;
  margin: 0 0 20px 0;
  text-align:center;
  display: inline-flex;
}
.col {
  display: inline-flex;

}

.row {
  display: inline-flex;
  flex-wrap: nowrap;
  width: 100%;
}
.row_stationboard {
  vertical-align: middle;
  padding: 6px;
}

details {
  margin: 5;
}

details > summary {
  display: inline-flex;
  list-style: none; /* enlève la petite flèche au "details" */
  width: 100%;
 /* line-height: 1em; */  /* modif */
  margin: 5px 0 5px 0;
  padding: 5px;
}

summary.via {
  height: 1.2em; /* Hauteur fixe */
  /*margin-top: 5px; /* Marge entre les blocs */
  font-weight: bold;
  font-style: normal;
  text-align: left;
}

.heure { 
  font-weight: bold;
  font-family: "Courier New";
  min-width: 3em;
  padding: 0.3em;
  margin: auto 0;
  text-align: center;
}

.marche {
  width: 2em;
  padding: 0.3em;
  overflow: hidden;
}

.destination {
  display: inherit;
}
.changement {
  width: 14.5em;
  padding: 0.3em;
}
.track {
  font-weight: bold;
  width: 1em;
  height: 1em;
  padding: 4px;
  text-align: center;
  font-family: ubuntu;
  font-size:1.2em;
  line-height: 1em;
  border-radius: 1em;
  margin: auto;
}

.line {
  font-weight: bold;
  font-family: ubuntu;
  font-size:1.2em;
  margin: auto;
  padding: 0.3em;
  width: 2em;
  height: 1.2em; /* modif 1em */
  text-align: center;
  white-space: nowrap;
}
.retard, .track_change {
  color: red;
}

.name {
  width: 12em;
  padding: 0.3em;
}

.texte {
  width: 11.5em;
  padding: 0.3em;
}

.bloc {
  width: 12em;
  display: inline-flex;
}

button {

  border-width: 1px;
  border-style: solid;
  border-radius: 10px;
  padding: 5px;
  margin: 4px;
  font-size: 1em;
}

.label /* affichage du texte du formulaire */
{
  height: 1.2em; /* Hauteur fixe */
  margin-top: 5px; /* Marge entre les blocs */
  font-weight: bold;
  font-style: normal;
  text-align: left;
}

input /* taille du texte dans les champs de formulaire */
{
  font-size: 1.2em;
  margin: 0 10px 0 0;
}

textarea /* taille du texte dans les champs de formulaire */
{
  font-size: 1.2em;
}

date
{
  font-size: 1.2em
}
