/*tableau du planning squash/////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

table {
  table-layout: auto;
  width: 200px;
}

.titresquash {
  position: absolute;
  left: 0%;
  top: 75%;
  display: none;
}
.connectez {
  position: absolute;
  width: 100vw;
  top: 17vh;
  text-decoration: none;
  font-size: 1.2em;
  font-family: arial;
  text-align: center;
}

.planning table {
  border-collapse: collapse;
  margin: 30px auto;
  font-family: arial;
  width: 100%;
  border: 2px solid black;
}
.reservation_squash {
  position: absolute;
  top: 79%;
  left: 43%;
  text-align: center;
  font-family: arial;
  font-size: 2.6em;
}

.planning caption {
  font: bold normal 2.5em arial;
  padding: 15px;
  text-shadow: 4px 4px 3px grey;
  color: black;
}

.planning * th {
  border: 2px solid white;
  background-color: rgb(200, 200, 200);
  color: white;
  font-size: 1em;
  padding: 5px;
}

.planning * td {
  border: 2px solid rgb(200, 200, 200);
  text-align: center;
  font-size: 1em;
  padding: 5px;
  font-weight: bold;
  width: 15%;
  height: 10%;
}
.largeur {
  width: 20vw;
}
.largeur_jour {
  width: 20vw;
}

td.c2 {
  background-color: rgb(200, 200, 200);
}

td.c3 {
  background-color: rgb(153, 255, 255);
}

td.c4 {
  background-color: rgb(255, 255, 153);
}

td.c5 {
  background-color: rgb(51, 204, 0);
}

td.c7 {
  background-color: rgb(102, 255, 153);
}

/*tableau du calendrier////////////////////////////////////////////////////////////////////////////////*/

.calendrier table {
  border-collapse: collapse;
  font-weight: normal;
  position: absolute;
  top: 44vh;
  left: 0%;
}
.largeurcol1 {
  min-width: 5px;
  border: none;
  background: none;
}
.tailletableau {
  width: 50vw;
}
.format_tableau_squash {
  display: block;
  position: relative;
  top: 0vh;
  left: -5px;
}
.calendrier_caption      
                  /*pour l'entete du calendrier du squash*/ {
  font-size: 1.5em;
  text-align: center;
  font-weight: bold;
  font-family: arial;
  position: absolute;
  width: 100%;
  top: 34vh;
}
.calendrier_caption a {
  color: black;
}
.calendrier_caption img,
.calendrier_caption span {
  vertical-align: bottom;
}

.calendrier th {
  border: 2px solid black;
  padding: 5px;
  background-color: rgb(150, 150, 150);
  min-width: 6vw;
  font-family: arial;
}
.calendrier td {
  border: 2px solid black;
  padding: 5px;
  text-align: center;
  min-width: 6vw;
  height: 5vh;
  font-family: arial;
}
.calendrier .heure_w {
  min-width: 3vw;
}
.calendrier .joueur_w {
  min-width: 3vw;
}
.bouton_reservation {
  width: 40px;
  height: 15px;
  color: rgba(0, 0, 0, 0.05);
}
.bouton_annulation {
  width: 40px;
  height: 15px;
  color: black;
}
.bouton_reservation:hover,
.bouton_annulation:hover {
  color: white;
  background-color: rgba(200, 200, 255, 0.8);
  box-shadow: 0px 0px 8px 4px rgba(200, 200, 255, 0.8);
  border-radius: 6px;
}
@media only screen and (max-width: 1000px) and (orientation: portrait) {
  .titresquash {
    left: 20%;
    display: none;
  }

  .connectez {
    display: none;
  }
.format_tableau_squash {
    left: 23px;
  }
  .calendrier table {
    top: 18vh;
  }
  .calendrier_caption {
    top: 9vh;
  }
  .calendrier_caption a {
    color: black;
  }
  .calendrier_caption img,
  .calendrier_caption span {
    vertical-align: bottom;
    width: 5vw;
  }

  .reservation_squash {
    position: absolute;
    top: 79%;
    left: 43%;
    text-align: center;
    font-family: arial;
    font-size: 2.6em;
  }
  .calendrier th {
    border: 2px solid black;
    padding: 2px;
    background-color: rgb(150, 150, 150);
    min-width: 21vw;
    font-family: arial;
  }
  .calendrier td {
    min-width: 19vw;
    height: 30px;
  }
  .calendrier .heure_w {
    min-width: 10vw;
  }
  .calendrier .joueur_w {
    min-width: 10vw;
  }
  .largeur {
    width: 20vw;
  }
  .largeur_jour {
    width: 20vw;
  }
}

/*smart phone orientation en paysage*/

@media only screen and (max-width: 1000px) and (orientation: landscape) {
  .titresquash {
    left: 20%;
    display: none;
  }
  .connectez {
    display: none;
  }
  .calendrier table {
    font-size: 1.7em;
    top: 44vh;
  }
  .calendrier_caption a {
    color: black;
  }
  .calendrier_caption img,
  .calendrier_caption span {
    width: 2vw;
  }
  .calendrier_caption {
    top: 30vh;
    left: 7vw;
    font-size: 0.8em;
  }
  .reservation_squash {
    position: absolute;
    top: 79%;
    left: 43%;
    text-align: center;
    font-family: arial;
    font-size: 2.6em;
  }
  .calendrier th {
    padding: 1px;
    min-width: 11vw;
  }
  .calendrier td {
    padding: 1px;
    min-width: 11vw;
  }
  .calendrier .heure_w {
    min-width: 5vw;
  }
  .calendrier .joueur_w {
    min-width: 7vw;
  }
  .largeur {
    width: 20vw;
  }
  .largeur_jour {
    width: 20vw;
  }
  .format_tableau_squash {
    left: 4px;
  }
}
