#time {
  font-size: 150%;
  line-height: 1.6em;
}
#time span {
  display: inline-block;
  padding: 0 5px;
  width: 103px;
}
#calendar table {
  max-width: 300px;
  margin: 0 10px 10px 0;
  float: left;
}
#calendar table:nth-child(3n-2) {
  clear: both;
}
#calendar td {
  max-width: 20px;
  max-height: 30px;
  padding: 5px 0;
  text-align: center;
}
#calendar td,
#calendar th {
  border: 1px solid #fff;
  font-size: 1.5em;
}
#calendar thead th {
  background-color: #fff;
  color: #333;
}
.body #calendar thead th {
  background: #f5f5f5 url(/_themes/template/tmpl-img/bg_heading02.png) repeat-x
    left bottom;
  border-radius: 5px 5px 0 0;
  padding: 10px;
  font-weight: bold;
}
#calendar tbody th {
  background-color: #fff;
  color: #333;
  font-weight: normal;
  padding: 5px 0;
  text-align: center;
}
#calendar a {
  font-size: 140%;
  line-height: 1.5em;
  color: #1982d2;
}
#calendar a:hover {
  color: #fba22b;
}
#calendar a::before {
  display: inline-block;
  padding-right: 5px;
  font-family: "ico_wu_theme";
  font-size: 0.85714285714em;
  content: "\e60f";
  color: #ee7948 !important;
}
#legend {
  clear: both;
  border: 1px solid #ddd;
  margin-bottom: 5px;
  padding: 10px;
}
#legend p,
#calendar #legend p {
  border-left-width: 1em;
  border-left-style: solid;
  padding-left: 5px;
}
.body #legend p {
  display: inline;
  margin-right: 10px;
}
#legend p:nth-of-type(1) {
  border-left-color: #abd895;
}
/*#legend p:nth-of-type(2){ border-left-color:#EAD7A0; }
#legend p:nth-of-type(2){ border-left-color:#EEEEEE; }*/
#legend p:nth-of-type(2) {
  border-left-color: #fab070;
}
#legend p:nth-of-type(3) {
  border-left-color: #b5dee8;
}
#legend p:nth-of-type(4) {
  border-left-color: #88ade2;
}
#legend p:nth-of-type(5) {
  border-left-color: #f2b4c1;
}
/*#legend p:nth-of-type(6){ border-left-color:#DDDDDD; }*/
#legend p:nth-of-type(6) {
  border-left-color: #aaaaaa;
}

#riyoujoukyou th,
#riyoujoukyou td {
  white-space: normal;
}
