html, body, main, div, ul, li {
  margin:0;
  padding:0;
  border:0;
}

html {height:100%;}

h1, h2, p.center {text-align:center;}

.bold{font-weight:bold;}

body {
  height:100%;
  font-family:Arial;
  font-size:100%;
  margin-bottom:0.0625em;
  background-color:WhiteSmoke;
}

#headerContainer {
  position: relative;
  margin: 0.625em auto;
  padding: 0;
  border-radius: 1em;
  max-width: 30em;
  overflow: hidden;
  display: flex;
}

#headerContainer img {
  width: 30em;
}

/* Rules for the Hamburger Menu */

#hamburger {
  position: absolute;
  top: 1.5em;
  right: 1.5em;
  color: white;
  border: 0;
  background-color: transparent;
  font-size: 1em;
  cursor: pointer;
  white-space: nowrap;
}

#hamburger:hover {
  color:orangered;
}

#hamburgerMenu {
  visibility: hidden;
}

#hamburgerMenu div {
  position: fixed;
  width: 100%;
  background-color: #e6e6e6;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 50%;
  cursor: default;
}

#hamburgerMenu ul {
  position: absolute;
  right: 2em;
  top: 3.25em;
  width: 8em;
}

#hamburgerMenu ul li {
  width: 100%;
  height: 1em;
  background-color: gainsboro;
}

#hamburgerMenu ul li a {
  text-decoration: none;
  display: block;
}

/* END - Rules for the Hamburger Menu */

table {
  border: 0.125em solid black;
  margin:0.625em auto;
  border-collapse:collapse;
  background-color:White;
}

th {
  border: 0.125em solid black;
  vertical-align:middle;
} 

td {
  border-top: 0.0625em solid black;
  border-bottom: 0.0625em solid black;
  vertical-align:middle;
  text-align:center;
  min-width:1.5625em;
  height:1.6875em;
  padding:0.125em;
}

li {
  list-style:none;
  display:block;
  float:left;
  text-align:center;
  white-space:nowrap;
  overflow:visible;
  padding:0.1875em;
  border:0.125em solid black;
  border-radius:0.5em;
  box-shadow:0.125em 0.125em 0.1875em #aaaaaa;
  margin:0.125em;
  font-weight:bold;
}

li:hover {
  color:orangered;
  border-color:orangered;
}

#key td {border: 0.125em solid black;}

.click1, .click2, .click3, .click4, .click5, .click6 {
  font-size:150%;
  padding:0;
  width:1.5em;
}

li.click1, td.grade1:not(:empty) {background:#ccdefa;}
li.click2, td.grade2:not(:empty) {background:#99bef5;}
li.click3, td.grade3:not(:empty) {background:#669df0;}
li.click4, td.grade4:not(:empty) {background:#337deb;}
li.click5, td.grade5:not(:empty) {background:#005ce6;}
li.click6, td.portage:not(:empty) {background:tan;}

td.site div, td.halfday div, td.day div, td.multiday div {
  font-weight:bold;
  border:0.125em solid black;
  border-radius:0.5em;
  margin:0.0625em;
  padding:0.0625em;
}

li.click7, td.site div {background:#d6f5d6;}
li.click8, td.halfday div {background:#adebad;}
li.click9, td.day div {background:#66d966;}
li.click10, td.multiday div {background:#33cc33;}

li.click11 div, .melt div, li.click12 div, .spring div, li.click13 div, .summer div, li.click14 div, .release div {
  border:0.125rem solid black;
  border-radius:0.5rem;
  width:1.375rem;
  height:1.375rem;
  margin:0.0625rem auto;
  padding:0;
  background-size:cover;
  vertical-align:middle;
}

li.click11 div, .melt div {background:url(/melt.png);}
li.click12 div, .spring div {background:url(/spring.png);}
li.click13 div, .summer div {background:url(/summer.png);}
li.click14 div, .release div {background:url(/release.png);}


col.b_right {border-right:0.0625em solid black;}

img.star0, img.star1, img.star2, img.star3 {
  height:1.5625em;
  background:url(/stars.png);
  background-size:cover;
  vertical-align:middle;
}

img.star0 {width:0.0625em;}
img.star1 {width:1.5625em;}
img.star2 {width:3.1875em;}
img.star3 {width:4.8125em;}

td:first-child {text-align:left;}

tr.areaRow td {
  background: lightgrey;
  cursor:pointer;
  height:0.9375em;
}

tr.areaRow td:first-child {font-weight:bold;}

td.showhide div {
  border:0.0625em solid black;
  border-radius:0.5em;
  box-shadow:0.125em 0.125em 0.1875em #aaaaaa;
  margin:0.0625em;
  padding:0.0625em;
  font-size:75%;
}

td.showhide div:hover {
  color:orangered;
  border-color:orangered;
}

a {outline:none;}
a:link {color:#000000;}
a:visited {color:#312C63;}
a:hover, a:active {color:orangered;}
a.mail {text-decoration:none;}
a.mail:hover, a.mail:active {color:#000000;font-weight:bold;}

.img_caption {
  text-align:center;
  font-size:80%;
}

div.licence {
  border: 0.0625em solid black;
  margin:0 auto;
  padding:0.25em;
  text-align:center;
  max-width:48em;
  background-color:White;
}

#validator {
  height:34px;
  width:92px;
  border:0px none;
  vertical-align:middle;
}

/* Large desktops and laptops */
@media (min-width: 1200px) {
  body {font-size:125%;}

}

/* Landscape tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
  body {font-size:110%;}

}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
  body {font-size:100%;}
  .click1, .click2, .click3, .click4, .click5, .click6 {
    font-size:120%;
    width:1.2em;
  }
  td {min-width:1.5em;}
  td.site div, td.halfday div, td.day div, td.multiday div, li.click7, li.click8, li.click9, li.click10 {font-size:95%}
  li.click11, li.click12, li.click13, li.click14 {font-size:90%;}
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
  body {font-size:85%;}
  .click1, .click2, .click3, .click4, .click5, .click6 {
    font-size:100%;
    width:1em;
  }
  .grade1, .grade2, .grade3, .grade4, .grade5, .portage {font-size:90%;}
  td {min-width:1em;}
  td.site div, td.halfday div, td.day div, td.multiday div, li.click7, li.click8, li.click9, li.click10 {font-size:95%;}
  li.click11, li.click12, li.click13, li.click14 {font-size:90%;}
  li {font-weight:normal;}
  span {display:none;}
  tr:not(.areaRow) td:first-child {font-size:90%;}
  #rivers tr td:nth-of-type(9) {font-size:75%;min-width:0.1em;}
  img.star0, img.star1, img.star2, img.star3 {height:1.25em;}
  img.star0 {width:0.0625em;}
  img.star1 {width:1.25em;}
  img.star2 {width:2.55em;}
  img.star3 {width:3.85em;}
}

/* Portrait phones and smaller */
@media (max-width: 480px) {
  body {font-size:95%;margin:0.25em;}
  .click1, .click2, .click3, .click4, .click5, .click6 {
    font-size:120%;
    width:1.2em;
  }
  .headrow {font-size:80%;}
  .grade1, .grade2, .grade3, .grade4, .grade5, .portage {font-size:80%;}
  td {min-width:0.5em;}
  td.site div, td.halfday div, td.day div, td.multiday div, li.click7, li.click8, li.click9, li.click10 {font-size:95%}
  li.click11, li.click12, li.click13, li.click14 {font-size:90%;}
  li {font-weight:normal;}
  span {display:none;}
  tr:not(.areaRow) td:first-child {font-size:90%;}
  #rivers tr td:nth-of-type(9), #rivers tr td:nth-of-type(10) div, #rivers tr td:nth-of-type(11) div, #rivers tr td:nth-of-type(12) div, #rivers tr td:nth-of-type(13) div, #rivers th:nth-of-type(4) {
    visibility:hidden;
    font-size:1%;
    width:0.0625em;
    height:0.0625em
  }
  #rivers tr td:nth-of-type(10), #rivers tr td:nth-of-type(11), #rivers tr td:nth-of-type(12), #rivers tr td:nth-of-type(13) {
    min-width:0em;
    padding:0em;
    max-width:0em;
  }
}