html,
body,
#fullheight {
  height: auto;
  min-height: 100%;
  margin: 0;
  font-family: "Roboto, Helvetica, Arial, sans-serif";
}

.grid-metier {
  display: grid;
  grid-template-columns: 33.3% 33.3% 33.3%;
  margin: 0;
}

.grid-item-metier {
  line-height: normal;
  display: flex;
  height: 60px;
}

.button-cover,
.knobs,
.layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.button {
  position: relative;
  top: 50%;
  width: 74px;
  height: 36px;
  overflow: hidden;
  margin-top: -18px;
}

.button.r,
.button.r .layer {
  border-radius: 100px;
}

.checkbox {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.knobs {
  z-index: 2;
}

.layer {
  width: 100%;
  background-color: #fcebeb;
  z-index: 1;
}

/* Button 1 */
#button-1 .knobs:before {
  content: "NON";
  position: absolute;
  top: 4px;
  left: 42px;
  width: 28px;
  height: 28px;
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  padding: 9px 4px;
  background-color: #f44336;
  border-radius: 50%;
}

input[type="checkbox"]{
    cursor: pointer;
}

#button-1 .checkbox:checked+.knobs:before {
  content: "OUI";
  left: 4px;
  background-color: #07a50f;
}

#button-1 .checkbox:checked~.layer {
  background-color: #e7f6e4;
}

#button-1 .knobs,
#button-1 .knobs:before,
#button-1 .layer {
  transition: 0.3s ease all;
}
