/*
  AUTHOR: Geoffrey Grosenbach http://nubyonrails.com
*/

.calendar {
  margin: auto;
  width: 100%;
}

.monthName th {
  display: none;
}

.dayName th {
  text-align: center;
  font-size: 0.8em;
  padding-top: 0.6em;
  padding-bottom: 0.3em;
  background-color: #303030;
  color: white;
}

.otherMonth, .day, .specialDay {
  padding: 0.7em 1em;
  height: 8em;
  width: 14%;
  vertical-align: top;
}

.otherMonth {
  color: #aaaaaa;
}
.weekendDay {
  background-color: #eeeeee;
}

.day, .specialDay {
  position: relative;
  text-align: center;
  border-style: none dotted dotted none;
  border-width: 1px;
  border-color: #bb7777;
}

.specialDay {
  background-color: #d10a21;
  color: white;
}
.specialDay a, .specialDay a:visited, .specialDay a:hover {
  color: white;
  text-decoration: none;
  padding: 1em;
}
.specialDay a:hover {
  color: white;
  background-color: black;
}

.day .day-num {
  position: relative;
  text-align: left;
}

.day .day-num .edit {
  position: absolute;
  top: 0;
  right: 0;
}

.day .event {
  font-size: 0.8em;
}

.day .event {
  border-bottom: solid 1px #aaaaaa;
  margin-bottom: 0.5em;
  padding-bottom: 0.2em;
}

#cal_nav {
  position: relative;
  text-align: center;
}

#cal_nav a {
  font-size: 1.3em;
  text-decoration: none;
  font-weight: bold;
}

#cal_nav .next_link {
  float: right;
  margin-right: 5em;
}

#cal_nav .last_link {
  float: left;
  margin-left: 5em;
  z-index: 1;
}

#cal_nav form {
  clear: both;
  position: relative;
  width: 50%;
  margin: 0 auto;
  top: -2em;
}

.toplink {
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 1em;
}
