* {
  margin: 0;
  padding: 0;
}

body {
  background-color: silver;
}

li {
  list-style: none;
}

nav {
  background: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: calc(1rem + 0.1vw);
  margin: 0 auto;
  position: sticky;
  top: 0px;
  height: 50px;
  z-index: 999;
  margin-bottom: 3%;
}

nav a h3 {
  margin: 0 1em ;
}

nav form {
  display: flex;
  align-items: flex-start;
  margin-right: 2vw;
}

nav form input {
  border-radius: 5px 0px 0px 5px;
  border-width: 0;
  padding: 0.3em;
}

nav form input:focus {
  outline: none;
}

nav form button {
  border-radius: 0px 5px 5px 0px;
  background-color: white;
  border-width: 0;
  padding: 0.3em;
  cursor: pointer;
}

nav form button:hover {
  color: white;
  background-color: silver;
}

nav a {
  display: flex;
  color: white;
  text-decoration: none;
}

nav ul {
  display: flex;
  justify-content: space-between;
}

nav ul a {
  color: white;
  text-decoration: none;
}

nav ul a:hover {
  color: black;
  background-color: white;
}

nav ul li ul {
  display: none;
}

nav ul li {
  position: relative;
}

#icons {
  cursor: pointer;
  display: none;
  color: white;
}

#icons:before {
  content: "\2630";
}

.header {
  display: grid;
  grid-template-columns: 140px 70%;
  font-family: "Calibri", Impact, "Calibri", sans-serif;
  text-decoration: none;
  color: black;
  margin: 0 auto;
}

.choix_disciplines {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.creneaux {
 max-width: 1100px;
 margin: 0 auto;
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 0.5em;
}

input[type=submit], input[type=button] {
  color: white;
  background-color: black;
  padding: 0.1em;
  border-radius: 5px;
  font-weight: bold;
}

/* --------------- RESPONSIVE ----------------------------- */
@media (max-width: 940px){
   .header h4{
    display: none;
  }

  #icons {
    display: block;
    margin-right: 5vw;
  }

  .active #icons:before{
    content: "\2715";
  }

  nav ul {
    position:fixed;
    left: -100%;
    top: 50px;
    flex-direction: column;
    background: black;
    width: 100%;
    align-items: center;
    transition: 0.25s;
  }

  nav li {
    padding: 3px 0;
  }

  nav.active ul {
    left: 0;
  }

  nav ul li ul {
    display: block;
    position: static;
    margin-left: 10vw;
  }
}

@media (min-width: 940px) and (max-width: 1100px){
  .header h4{
    display: none;
  }

  nav ul {
    width: 90%;
    padding: 0.5vw;
  }

  .identification {
    width: 50vw;
  }

  nav ul li:hover ul {
    display: block;
    position: absolute;
    background: black;
    width: 100%;
    padding: 1em;
  }
}

@media (min-width: 1100px){
  .header {
    width: 55vw;
  }

  nav ul {
    width: 65%;
    margin-right: 15%;
  }

  .identification {
    width: 30vw;
  }

  nav ul li:hover ul {
    display: block ;
    position: absolute;
    background: black;
    width: 100%;
    padding: 1em;
  }

}

.identification {
  margin: 2vh auto;
  font-family: "Calibri", Impact, "Calibri", sans-serif;
}

.titre_identification {
  font-size: 20px;
  font-weight: bold;
}
.titre_identification a:hover {
  text-decoration: underline;
}
.indice_identification {
  font-size: 12px;
  font-weight: bold;
}

section {
  border: 1px grey solid;
  padding: 15px;
  margin-bottom: 2%;
  box-shadow: -1px 3px 5px 0 rgba(21, 22, 21, 0.2);
}

section a {
  font-family: "Calibri", Impact, "Calibri", sans-serif;
  text-decoration: none;
  color: black;
}
section fieldset {
  margin-bottom: 15px;
}

.PaieCheck input[type="checkbox"] {
  visibility: hidden;
}
.PaieCheck {
  width: 80px;
  height: 26px;
  background: silver;
  margin: 5px auto;

  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  position: relative;

  -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5),
    0px 1px 0px rgba(255, 255, 255, 0.2);
  -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5),
    0px 1px 0px rgba(255, 255, 255, 0.2);
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5),
    0px 1px 0px rgba(255, 255, 255, 0.2);
}
.PaieCheck:after {
  content: "NON";
  font: 12px/26px Arial, sans-serif;
  color: #f00;
  position: absolute;
  right: 10px;
  z-index: 0;
  font-weight: bold;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.15);
}
.PaieCheck:before {
  content: "OUI";
  font: 12px/26px Arial, sans-serif;
  color: #00bf00;
  position: absolute;
  left: 10px;
  z-index: 0;
  font-weight: bold;
}
.PaieCheck label {
  display: block;
  width: 34px;
  height: 20px;

  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;

  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
  cursor: pointer;
  position: absolute;
  top: 3px;
  left: 3px;
  z-index: 1;

  -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
  background: #fcfff4;

  background: -webkit-linear-gradient(
    top,
    #fcfff4 0%,
    #dfe5d7 40%,
    #b3bead 100%
  );
  background: -moz-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  background: -o-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  background: -ms-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  background: linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#b3bead',GradientType=0 );
}
.PaieCheck input[type="checkbox"]:checked + label {
  left: 43px;
}

p {
  font-family: "Comic Sans MS", Impact, "Trebuchet MS ", sans-serif;
  text-align: center;
}

.error {
  color: red;
  text-align: center;
}

.corps {
  display: flex;
  flex-wrap: wrap;
}
.centre {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.centre:nth-child(1) {
  /* border:2px solid green; */
  width: 150px;
}
.centre:nth-child(2) {
  flex: 1;
  /* border:2px solid yellow; */
}

#onglets_lcompet {
  font-family: "Comic Sans MS", Impact, "Trebuchet MS ", sans-serif;
  font-size: 0.75em;
  list-style-type: none;
  padding: 0px 0px 100px 0px;
  margin-left: 0;
}
#onglets_lcompet li {
  float: left;
  margin: 2px 10px 5px 10px !important; /* Pour les navigateurs autre que IE */
  margin: 1px 10px 5px 10px; /* Pour IE  */
  border: 1px outset red;
  border-radius: 15px;
  text-align: center;
}
#onglets_lcompet li:hover {
  border: 1px inset red;
  background-color: #aaaaaa;
}
#onglets_lcompet li.active {
  border: 1px inset red;
  background-color: #aaaaaa;
}
#onglets_lcompet a,
#lcompet a {
  width: 100px;
  display: block;
}
#onglets_lcompet a,
.header a {
  color: black;
  text-decoration: none;
}
#tabpaiement {
  border: 0px;
  border-collapse: collapse;
  margin: 50px;
}
#lcompet,
#competid {
  font-family: "Calibri", Impact, "Calibri", sans-serif;
  border-collapse: collapse;
}
#lcompet th,
#competid th {
  border: 1px solid grey;
  padding: 5px 5px 5px 5px;
}
#lcompet tr.sl:hover {
  background-color: #aaaaaa;
  cursor: pointer;
}
#lcompet td,
#competid td {
  border: 1px solid grey;
  text-align: center;
  padding: 2px 2px 2px 2px;
}
#lcompet td.nm {
  text-align: left;
  width: 400px;
}
#lcompet td.nm a:link,
td.nm a:visited {
  color: black;
  text-decoration: none;
}
#lcompet td.nl a:link,
td.nl a:visited {
  color: black;
  text-decoration: none;
}
#lcompet td.nomandat a:link,
td.nomandat a:visited {
  color: black;
  text-decoration: none;
}
.gr {
  background-color: rgba(144,238,144,0.5);
}
.gr:hover {
  background-color: green;
}
.txtgr {
  color: green;
}
.or {
  background-color: rgba(255,165,0,0.5);
}
.or:hover {
  background-color: orange;
}
.rd {
  background-color: rgba(255,0,0,0.5);
}
.rd:hover {
  background-color: red;
}
.txtrd {
  color: red;
}
.bcgrey {
  background-color: #aaaaaa;
}
#lcompet a {
  display: block;
  width: 100%;
  height: 100%;
}
#competid th.noborder {
  border: 0px;
}
#competid td.nm {
  text-align: left;
  padding: 2px 20px 2px 2px;
}

.etoile {
  font-size: 14px;
  color: red;
}

.noa {
  font-family: "Calibri", Impact, "Calibri", sans-serif;
  text-decoration: none;
  color: black;
}

.resultSearch {
  background-color: white;
}

.resultSearch:hover {
  background-color: #aaaaaa;
  color: white;
}

/* Cases à cocher  choix du mail*/
.tgl {
  display: none;
}
.tgl, .tgl:after, .tgl:before, .tgl *, .tgl *:after, .tgl *:before, .tgl + .tgl-btn {
  box-sizing: border-box;
}
.tgl::-moz-selection, .tgl:after::-moz-selection, .tgl:before::-moz-selection, .tgl *::-moz-selection, .tgl *:after::-moz-selection, .tgl *:before::-moz-selection, .tgl + .tgl-btn::-moz-selection {
  background: none;
}
.tgl::selection, .tgl:after::selection, .tgl:before::selection, .tgl *::selection, .tgl *:after::selection, .tgl *:before::selection, .tgl + .tgl-btn::selection {
  background: none;
}
.tgl + .tgl-btn {
  margin: 0.5em auto 0.5em auto;
  outline: 0;
  display: block;
  width: 9em;
  height: 2em;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.tgl + .tgl-btn:after, .tgl + .tgl-btn:before {
  position: relative;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
}
.tgl + .tgl-btn:after {
  left: 0;
}
.tgl + .tgl-btn:before {
  display: none;
}
.tgl:checked + .tgl-btn:after {
  left: 50%;
}

.tgl-flip + .tgl-btn {
  padding: 2px;
  transition: all 0.2s ease;
  font-family: sans-serif;
  perspective: 100px;
}
.tgl-flip + .tgl-btn:after, .tgl-flip + .tgl-btn:before {
  display: inline-block;
  transition: all 0.4s ease;
  width: 100%;
  text-align: center;
  position: absolute;
  line-height: 2em;
  font-weight: bold;
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  border-radius: 4px;
}
.tgl-flip + .tgl-btn:after {
  content: attr(data-tg-on);
  background: #02C66F;
  transform: rotateY(-180deg);
}
.tgl-flip + .tgl-btn:before {
  background: #FF3A19;
  content: attr(data-tg-off);
}
.tgl-flip + .tgl-btn:active:before {
  transform: rotateY(-20deg);
}
.tgl-flip:checked + .tgl-btn:before {
  transform: rotateY(180deg);
}
.tgl-flip:checked + .tgl-btn:after {
  transform: rotateY(0);
  left: 0;
  background: #7FC6A6;
}
.tgl-flip:checked + .tgl-btn:active:after {
  transform: rotateY(20deg);
}
