.weekcal {
  font-family: sans-serif;
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  table-layout: fixed;
  margin-bottom: 50px;
}
.weekcal thead tr th {
  background: #626E7E;
  color: #d1d5db;
  padding: 0.5em;
  overflow: hidden;
}
.weekcal thead tr th:first-child {
  border-radius: 3px 0 0 0;
}
.weekcal thead tr th:last-child {
  border-radius: 0 3px  0 0;
}
.weekcal thead tr th .day {
    display: block;
    font-size: 1.5em;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: 0 auto 5px;
    padding: 7px 13px;
    /* line-height: 1.8; */
}
.weekcal thead tr th .long {
    display: block;
    text-align: center;
}
.weekcal thead tr th .day.active {
  background: #d1d5db;
  color: #626E7E;
}
.weekcal thead tr th .short {
  display: none;
}
.weekcal thead tr th i {
  vertical-align: middle;
  font-size: 2em;
}
.weekcal tbody tr {
  background: #d1d5db;
}
.weekcal tbody tr:nth-child(odd) {
  background: #c8cdd4;
}
.weekcal tbody tr td {
  border-bottom: 1px solid #626E7E;
}
.weekcal tbody tr td {
  text-align: center;
  vertical-align: middle;
  border-left: 1px solid #626E7E;
  position: relative;
  height: 32px;
  cursor: pointer;
}
.weekcal tbody tr td:last-child {
  border-right: 1px solid #626E7E;
}
.weekcal tbody tr td.hour {
  font-size: 1em;
  padding: 12px;
  color: #626E7E;
  background: #fff;
  border-bottom: 1px solid #626E7E;
  border-collapse: separate;
  min-width: 100px;
  cursor: default;
}
.weekcal tbody tr td.hour span {
  display: block;
}
@media (max-width: 60em) {
  .weekcal thead tr th .long {
    display: none;
  }
  .weekcal thead tr th .short {
    display: block;
  }
  .weekcal tbody tr td.hour span {
    transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
  }
}
@media (max-width: 27em) {
  .weekcal thead tr th {
    font-size: 65%;
  }
  .weekcal thead tr th .day {
    display: block;
    font-size: 1.2em;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin: 0 auto 5px;
    padding: 5px;
  }
  .weekcal thead tr th .day.active {
    background: #d1d5db;
    color: #626E7E;
  }
  .weekcal tbody tr td.hour {
    font-size: 1.7em;
  }
  .weekcal tbody tr td.hour span {
    transform: translateY(16px) rotate(270deg);
    -webkit-transform: translateY(16px) rotate(270deg);
    -moz-transform: translateY(16px) rotate(270deg);
  }
}
