body {
  color: #333333;
  font-size: 12px;
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  text-align: center;
  padding: 1em;
}

* {
  -webkit-box-sizing: border-box;
}

.month-table {
  margin: 0 auto 100px;
  border: 1px solid #800000;
  padding: 10px;
}

h1 {
  margin-top: 0.2em;
  margin-bottom: 0em;
  font-size: 44px;
  font-weight: lighter;
  display: inline-block;
}

h2 {
  font-size: 32px;
  font-weight: lighter;
}

.footer {
  margin-top: -5em;
}

.month-menuitem {
  font-size: 14px;
  padding: 6px;
  display: inline-block;
  border: 0;
  text-transform: uppercase;
  margin: 0 10px;
  border: 2px solid #800000;
}

.month-menuitem.active {
  background: rgb(255, 170, 170);
  color: #000;
}

a {
  color: #333333;
  text-decoration: none;
  padding-bottom: 0px;
  border-bottom: 2px #800000 solid;
}

a:hover {
  color: rgb(252, 70, 110);
}

div > a {
  font-weight: bold;
  text-decoration: none;
  border-bottom: none;
}

td {
  width: 160px;
  vertical-align: top;
}

.header td {
  padding: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.days td {
  padding-top: 2px;
  height: 100px;
  border-bottom: 1px solid #f0f0f0;
}

.days:last-child td {
  border-bottom: 0;
}

.empty {
  background: repeating-linear-gradient(0, #eee 0, #eee 1px, white 1px, white 5px);
  background-size: 1px 5px;
}

.event {
  white-space: nowrap;
  padding: 3px;
  height: 23px;
  margin-bottom: 1px;
  max-width: 184px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.day {
  font-weight: bold;
  padding: 6px 10px;
  margin-bottom: 5px;
  position: relative;
}

.today .day:before {
  z-index: -1;
  display: block;
  content: "";
  width: 24px;
  height: 24px;
  background: rgb(255, 170, 170);
  border-radius: 24px;
  position: absolute;
  left: 50%;
  margin-left: -12px;
  top: 0;
  border: 0 !important;
}

.past a {
  opacity: 0.6;
}

.days td:hover .day:before {
  z-index: -1;
  display: block;
  content: "";
  width: 24px;
  height: 24px;
  border: 1px solid rgb(255, 170, 170);
  border-radius: 24px;
  position: absolute;
  left: 50%;
  margin-left: -12px;
  top: 0;
}

.following-days a {
  font-size: 0;
}

.multi-days {
  background: #f9f9f9;
  margin-left: -2px;
  margin-right: -2px;
  border-bottom: 2px #800000 solid;
}

.multi-days a {
  border: 0;
}

.multi-days a:hover {
  color: #000;
}

.no-event {
  color: #aaa;
}