*, body {
  margin: 0;
  padding: 0;
}
body {
  background: #EEE;
  padding-bottom: 60px;
}
i {
  margin-left: 10px;
  margin-right: 10px;
}
.inf, .err {
  display: block;
  width: 800px;
  margin: auto;
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #888;
  border-radius: 10px;
}
.inf {
  background: #B0FFAD;
  color: #3A8232;
}
.err {
  background: #FFB3BA;
  color: #CA6262;
}
.wrn {
  background: #F8DFC1;
}
tr:not(.wrn) .pee {
  background: #FFFF83;
}
tr:not(.wrn) .poo {
  background: #D9C422;
}
tr:not(.wrn) .bottle {
  background: #D1FFB3;
}
form:has(input[type="range"]), .modal, .confirm, iframe {
  display: block;
  width: 800px;
  margin: auto;
  margin-top: 20px;
  padding: 10px;
  background: #FAFAFA;
  border: 1px solid #AAA;
  border-radius: 10px;
}
input[type="checkbox"] {
  display: none;
}
div:has(input[type="date"]) {
  width: 760px;
  height: 90px;
  margin: 20px;
  text-align: center;
  border-radius: 5px;
  border: 1px solid #888;
  background: #FFF;
}
input[type="date"], input[type="time"] {
  display: inline-block;
  overflow: hidden;
  padding: 20px;
  font-size: 2.5em;
  color: #555;
  cursor: pointer;
  border: none;
  background: #FFF;
  text-align: center;
}
input[type="date"] {
  width: 400px;
  float: left;
}
input[type="time"] {
  width: 300px;
  float: right;
}
form:has(input[type="range"]) > label > span {
  display: inline-block; 
  min-width: 122px; 
  padding: 50px; 
  margin: 20px;
  cursor: pointer; 
  background: #FFB3BA;
  text-align: center;
  border-radius: 10px;
  font-size: 3em;
  color: #FAFAFA;
  border: 1px solid #CA6262;
  text-shadow: 1px 0 #CA6262, -1px 0 #CA6262, 0 1px #CA6262, 0 -1px #CA6262;
}
form:has(input[type="range"]) > label > input[type="checkbox"]:checked + span {
  background: #77DD77;
  border: 1px solid #6AC262;
  text-shadow: 1px 0 #3AC232, -1px 0 #3AC232, 0 1px #3AC232, 0 -1px #3AC232;
}
form:has(input[type="range"]) > div > label {
  font-size: 2.5em;
  color: #555;
  margin-left: 20px;
}
input[type="range"] {
  -webkit-appearance: none;
  width: 760px;
  margin: 20px;
  height: 15px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
  position: relative;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #04AA6D;
  cursor: pointer;
  position: relative;
  top: -2px;
}
input[type="range"]::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #04AA6D;
  cursor: pointer;
}
form:has(input[type="range"]) > p {
  width: 100%;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 2em;
  color: #555;
}
form:has(input[type="range"]) > p:after {
  content: " ml";
}
.register input[type="submit"],
.register input[type="submit"]:visited {
  display: block;
  width: 770px;
  padding: 20px;
  margin: 15px;
  font-size: 2.5em;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  color: #888;
  background: #EFEFEF;
}
.register input[type="submit"]:hover, 
.register input[type="submit"]:focus,
.register input[type="submit"]:active {
  background: #DDD;
  color: #FFF;
  text-shadow: 1px 0 #333, -1px 0 #333, 0 1px #333, 0 -1px #333;
}
table {
  background: #FFF;
  border-collapse: collapse;
}
th,td {
  width: 200px;
  border: 1px solid #888;
  text-align: center;
  padding: 5px;
}
th {
  background: #A7BED3;
}
td:nth-child(1) {
  background: #C6E2E9;
}
table td:has(form) {
  width: auto;
  border: none;
  margin: 0;
  background: #fff;
}
td span {
  display: inline-block;
  margin-left: 20px;
  font-style: italic;
  color: #888;
}
.delete input[type="submit"] {
  background: transparent;
  border: none;
  color: #F00;
  text-align: center;
  font-size: 1.2em;
  width: 30px;
  height: 30px;
}
.delete input[type="submit"]:hover,
.delete input[type="submit"]:focus,
.delete input[type="submit"]:active {
  cursor: pointer;
  box-shadow: 0 0 9px 1px #ccc;
  border-radius: 20px;
  font-weight: bold;
}
.confirm {
  font-size: 2em;
}
.confirm table {
  margin: 30px;
  font-size: 0.8em;
}
.confirm input[type="text"] {
  border: none;
  background: transparent;
  font-size: 1.5rem;
}
.confirm input[type="submit"],
.confirm input[type="submit"]:visited {
  display: inline-block;
  padding: 40px;
  padding-left: 80px;
  padding-right: 80px;
  font-size: 1.2em;
  text-align: center;
  border: 1px solid #333;
  border-radius: 10px;
  cursor: pointer;
}
.confirm input[value="Yes"]:hover,
.confirm input[value="Yes"]:focus,
.confirm input[value="Yes"]:active {
  background: #B0FFAD;
  border-color: #3A8232;
  color: #FFF;
  text-shadow: 1px 0 #3A8232, -1px 0 #3A8232, 0 1px #3A8232, 0 -1px #3A8232;
}
.confirm input[value="No"]:hover,
.confirm input[value="No"]:focus,
.confirm input[value="No"]:active {
  background: #FFB3BA;
  border-color: red;
  color: red;
  text-shadow: 1px 0 #fff, -1px 0 #fff, 0 1px #fff, 0 -1px #fff;
}
footer {
  position: fixed;
  bottom: 0;
  margin-top: 20px;
  text-align: center;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  border-top: 1px solid #333;
  background: #CCC;
}
