/* Horaire */

body {
  background: url(../images/rink01.jpg) fixed;
  background-size: cover;
}

#container {
  /*border: 2px solid Gainsboro;*/
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

header {
  /*border: 2px solid Gainsboro;*/
  text-align: center;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

header h1 {
  color: Gainsboro;
  /*text-shadow: -1px 0px black, 0px 1px black, 1px 0px black, 0px -1px black;*/
  text-shadow: 0 -1px 0 #fff, 0 1px 0 #2e2e2e, 0 2px 0 #2c2c2c, 0 3px 0 #2a2a2a, 0 4px 0 #282828, 0 5px 0 #262626, 0 6px 0 #242424, 0 7px 0 #222, 0 8px 0 #202020, 0 9px 0 #1e1e1e, 0 10px 0 #1c1c1c, 0 11px 0 #1a1a1a, 0 12px 0 #181818, 0 13px 0 #161616, 0 14px 0 #141414, 0 15px 0 #121212, 0 22px 30px rgba(0,0,0,0.9);
  padding: 20px;
  font-variant-caps: all-small-caps;
  font-size: 45px;
}

nav {
  /*border: 2px solid Gainsboro;*/
  text-align: center;
  width: 90%;
  margin-left: auto;
  margin-right: auto
}

/*nav {
  width: 1100px;
  margin: 20px 0;
  padding: 10px 0;
}*/

.dropbtn {
  background-color: Gainsboro;
  font-weight: bold;
  color: black;
  width: 125px;
  padding: 5px;
  font-size: 16px;
  border: solid black;
  border-radius: 10px;
  cursor: pointer;
}

.dropdown {
  position: relative;
  text-align: center;
  display: inline-block;
}

.dropdown-content {
  display: none;
  font-weight: bold;
  position: absolute;
  border-radius: 10px;
  box-shadow: 20px 8px 32px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  font-size: 12px;
  padding: 12px 13px;
  min-width: 100px;
  text-align: center;
  border: solid black;
  border-radius: 10px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: white;
  color: black;
  cursor: pointer;
}

.dropdown:hover .dropdown-content {
  display: block;
  background-color: Gainsboro;
  cursor: pointer;
}

.dropdown:hover .dropdown-content #rouges {
  background-color: Firebrick;
  color: white;
}

.dropdown:hover .dropdown-content #blancs {
  background-color: white;
  color: black;
}

.dropdown:hover .dropdown-content #bleus {
  background-color: MidnightBlue; /* dark blue */
  color: white;
}

.dropdown:hover .dropdown-content #gris {
  background-color: grey;
  color: white;
  text-shadow: 0px 0px 10px black;
  /*color: black;*/
}

.dropdown:hover .dropbtn {
  background-color: black;
  color: white;
}

.month {
  padding-top: 10px;
  box-shadow: 20px 8px 32px 0px rgba(0,0,0,0.8);
  background-color: darkgray;
}

.th {
  font-size: 20px;
  text-decoration: underline;
}

table {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

table th {
  width: 250px;
}

.holiday {
  font-weight: bold;
  background-color: #009A00;
}

.holiday th {
  width: 250px;
  border-radius: 10px;
}

.holiday td {
  font-size: 13px;
  border-radius: 10px;
}

#horairecont {
  width: 90%;
/*  border: 2px solid Gainsboro;*/
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
}

#heading {
  width: 50%;
  margin: 0 auto 15px;
  text-align: center;
  padding: .5px 0 .5px;
  background-color: Gainsboro;
  border-radius: 10px;
}

#heading h1 {
  box-shadow: 20px 8px 32px 0px rgba(0,0,0,0.8);
  background-color: darkgray;
}

#horaire {
  background-color: Gainsboro;
  width: 48.7%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 10px;
}

.content h2 {
  border-top: 3px black double;
  text-align: center;
 }

#endoftable th {
  padding-bottom: 20px;
}

/* Media Query */

/* MAX-HEIGHT 846px and MAX-WIDTH 1536px */
@media all and (max-height: 846px) and (max-width: 1536px) {
  
  table th {
    width: 150px;
  }

  table td {
    width: 150px;
  }

  .holiday th {
  width: 150px;
}

  .holiday td {
  width: 150px;
}
}


/* MAX-HEIGHT 705px and MAX-WIDTH 1280px */
@media all and (max-height: 705px) and (max-width: 1280px) {
  
  table th {
    width: 150px;
  }

  table td {
    width: 150px;
  }

  .holiday th {
  width: 150px;
}

  .holiday td {
  width: 150px;
}
}


/* MAX-HEIGHT 604px and MAX-WIDTH 1097px */
@media all and (max-height: 604px) and (max-width: 1097px) {
  
  table th {
    width: 150px;
  }

  table td {
    width: 150px;
  }

  .holiday th {
  width: 150px;
}

  .holiday td {
  width: 150px;
}
}


/* MAX-HEIGHT 578px and MAX-WIDTH 1280px */
@media all and (max-height: 578px) and (max-width: 1280px) {
  
  table th {
    width: 125px;
  }

  table td {
    width: 125px;
  }

  .holiday th {
  width: 125px;
}

  .holiday td {
  width: 125px;
}
}

/* MAX-HEIGHT 414px and MAX-WIDTH 736px */
/*@media all and (max-height: 414px) and (max-width: 736px) {

  #container {
    width: 100%;
  }

  #horairecont {
    width: 100%;
  }

  #heading {
    width: 100%;
  }

  #horaire {
    width: 100%;
  }

  table {
    width: 100%;
  }

  table th {
    width: 125px;
  }

  table td {
    width: 125px;
  }

  .holiday th {
  width: 150px;
}

  .holiday td {
  width: 150px;
}
}*/



/*@media all and (max-width: 1024px) {

  #heading {
    width: 96.3%;
  }

  #horaire {
    width: 94%;
    margin-left: auto;
    margin-right: auto;
  }

 table tr th {
   width: 150px;
 }

  .holiday th {
    width: 150px;
}

 nav {
   width: 100%
 }

 header h1 {
   font-size: 35px;
 }
}*/

@media all and (max-width: 480px) {

  table tr th {
   width: 85px;
 }

 .holiday th {
  height: 0;
  width: 105px;
}

 nav {
   width: 100%
 }

 header h1 {
   font-size: 35px;
 }

  #horairecont {
    width: 100%;
  }

  #heading {
    width: 100%;
  }

  #horaire {
    width: 100%;
   }
}

@media all and (max-width: 380px) {

  table tr th {
   width: 80px;
 }

 .holiday th {
  height: 0;
  width: 80px;
}

 nav {
   width: 100%
 }

 header h1 {
   font-size: 35px;
 }

  #horairecont {
    width: 100%;
  }

  #heading {
    width: 100%;
  }

  #horaire {
    width: 100%;
   }
}