.calbin {
  border: 0.07em solid #000;
  margin-bottom: 2em;
  height: 100%;
  background: #fff;
  overflow: hidden;

}

.timebin {
  position: relative;
  height: 100%;
  width: 100%;
  height: 1em;
  border-bottom: 0px solid #000000;
  background: #ccf;
}
.timebinheader {
  position: absolute;
  top: 0;
  width: 6em;
  height: 1em;
}
.timelabel {
  position: absolute;
  top: 0;
  text-align: center;
}
.timeguide {
  position: absolute;
  border-left: 1px solid #ddf;
  z-index: 1;
  top: 1em;
}

.daybin {
  position: relative;
  height: 100%;
  width: 100%;
  border-top: 0.07em solid #000000;
  z-index: 2;
}
.daybinheader {
  position: absolute;
  top: 0em;
  height: 100%;
  width: 6em;
  border-right: 0px solid #000000;
  font-weight: bold;
  padding-left: 0.2em;
}
.eventbin {
  position: relative;
  top: 0;
  left: 7em;
  width: 100%;
}

.event {
  position: absolute;
  text-align: left;
  overflow: hidden;
  padding-left: 0.2em;
  z-index: 4;
  color: #000;
}

.event a {
  text-decoration: none;
  border: 0;
}

.firstdaybin {
}
.odd_day {
}
.even_day {
}

.eventboth {
}

.cal_main {
  background: #ffff77; color: #000;
  border: 0.07em solid #7f7f33;
}
.cal_rapid {
  background: #ccffcc; color: #000;
  border: 0.07em solid #557f55;
}
.cal_side {
  background: #44cc00; color: #000;
  border: 0.07em solid #226600;
}
.cal_children {
  background: #bd78ff; color: #000;
  border: 0.07em solid #5e3c7f;
}
.cal_pair {
  background: #ee77ee; color: #000;
  border: 0.07em solid #773b77;
}
.cal_bm {
  background: #000000; color: #fcfcfc;
  border: 0.07em solid #000000;
}
.cal_wednesday {
  background: #ffcccc; color: #000;
  border: 0.07em solid #7f6666;
}
.cal_weekend {
  background: #2222aa; color: #fcfcfc;
  border: 0.07em solid #111155;
}
.cal_openclose {
  background: #ff2222; color: #000;
  border: 0.07em solid #7f1111;
}

.cal_excursion {
  background: #6da2e3; color: #000;
  border: 0.07em solid #365171;
}

.cal_theme_days {
  background: #377024; color: #fff;
  border: 0.07em solid #1b3812;
}

.cal_registration {
  background: #f3a434; color: #000;
  border: 0.07em solid #793f1a;
}
