/*
  A red, white, and grey theme.
  
  AUTHOR: Geoffrey Grosenbach http://nubyonrails.com
*/

.calendar {
  margin: auto;
  width: 99%;
  clear: right;
}

.monthName th {
  font-weight: normal;
  text-align: left;
  padding-top: 0;
  padding-bottom: 0.7em;
}

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

.otherMonth {
  padding: 0.7em 1em;
  border-right: 1px solid white;
}

 .day, .specialDay {
  padding: 0.7em 1em;
  border-right: 1px solid white;
  width: 90px;
  height: 90px;
}

.otherMonth {
  color: #eeeeed;/**/
}
.weekendDay {
  background-color: #eeeeee;
  width: 90px;
  height: 90px;
}

.day, .specialDay {
  text-align: center;
  border-bottom: 1px dotted #bbbbbb;
}

.specialDay {
  background-color: #510a41;
  color: #fff;
}
.specialDay a, .specialDay a:visited, .specialDay a:hover {
  color: #fffffe;/**/
  text-decoration: none;
  padding: 1em;
}
.specialDay a:hover {
  color: #fffffe;/**/
  background-color: #000;
}

ul.CalendarViewOptions {
  background:none repeat scroll 0 0 #efefef;
  height:29px;
  padding:0;
  width:60px;
  border: 1px solid #5f5f5f;
  float:right;
}
.primary ul.CalendarViewOptions li {
  list-style:none;
  float:left;
  padding:5px;
}
.primary ul.CalendarViewOptions li a, .primary ul.CalendarViewOptions li span {
  height:17px;
  width:18px;
  text-indent:-10000px;
  display:block;
}
.primary ul.CalendarViewOptions li#CalendarViewLink a {
  background:#afafaf url(/images/icons/calendar_view.png) -2px -3px no-repeat;
  border:1px solid #ffffff;
}

.primary ul.CalendarViewOptions li#CalendarViewLink a:hover {
background-color: #6A6A6A;
}

.primary ul.CalendarViewOptions li#CalendarViewLink span {
background:#6A6A6A url(/images/icons/calendar_view.png) -22px -2px no-repeat;
  padding:1px;
}

.primary ul.CalendarViewOptions li#TableViewLink a {
  background:#afafaf url(/images/icons/list_view.png) -2px -3px no-repeat;
  border:1px solid #ffffff;
}
.primary ul.CalendarViewOptions li#TableViewLink a:hover {
background-color: #6A6A6A;
}
.primary ul.CalendarViewOptions li#TableViewLink span {
background:#6A6A6A url(/images/icons/list_view.png) -22px -2px no-repeat;  
  padding:1px;
}

.primary ul.CalendarViewOptions li.ActiveCalendarLink  {
  background: #6A6A6A;
}
.primary ul.CalendarViewOptions li.HoverLink {
  background:#afafaf;
  cursor:pointer;
}

#calendars_show #CalendarViewing .calendar {
  clear:both;
}
#calendars_show tr.monthName th {
  color:#FFFFFE;/**/
  font-size:1.4em;
  font-weight:bold;
  text-align:center;
  padding:10px 0 5px 0;
  text-transform:uppercase;
}
#calendars_show td.day{
  vertical-align:top;
  padding:0;
}
#calendars_show td.day a {
  clear:both;
  display:block;
  padding:2px 5px;
  font-size:.9em;
  text-decoration:none;
  border-bottom:1px solid #e3e3e3;
}
  #calendars_show td.EventToday a:hover {
    color:#FFFFFE!important;/**/
  }
span.CalendarDay {
  display:block;
  font-weight:bold;
	background-color: #cacaca;
	color: #000000;
	float:left;
	height:1.8em;
	line-height:1.8em;
  width:1.8em;
  text-align:center;
  margin-bottom:4px;
}
#calendars_show td.EventToday span.CalendarDay {
  background-color: #6a6a6a;
	color: #FFFFFF;
}
.otherMonth {
  border-bottom:1px dotted #BBBBBB;
  padding:0;
}
#calendars_show .otherMonth span.CalendarDay {
  background-color:transparent;
  font-weight:normal;
  color:#afafaf;
}
.FilterResults form {
  float:left;
}
