/*  calendar calendar table styles  */

.calendar-calendar table {
  border-collapse: collapse;
  border-spacing: 0;
  /*width: 100%;*/ /* Setting at 100% causes problem in Internet Explorer. */
}
.calendar-calendar .month-view table {
  border:none;
  width:100%;
}
 
  /* IE needs a little help to get the side by side tables to the right size */
.calendar-calendar .year-view td {
  width:31%;
  padding:1%;
  border:none;
}
 
.calendar-calendar .year-view td table td {
  width:13%;
  padding:0;
}
 
.calendar-calendar th {
  text-align: center;
}
.calendar-calendar th a {
  font-weight: bold;
}
.calendar-calendar td {
  width: 12%; /* 14% is about 1/7 of total table width */
  min-width: 12%;
  text-align: right;
  vertical-align: top;
  padding: 0px;
}
 
/* simplify the mini calendar by removing borders */
.calendar-calendar .mini {
  border:none;
 }
 
/* format for the week number in the first cell */
.calendar-calendar td.week {
  width:1%;
  min-width:1%;
  }
.calendar-calendar .week {
  clear:both;
}

/* IE6 does not support min-height, using Min-Height fast hack from http://www.dustindiaz.com/min-height-fast-hack */
.calendar-calendar .inner {
  min-height:5em;
  height:auto !important;
  height:5em;
}
.calendar-calendar .inner div {
}
/* Make sure paragraphs buried in calendar cells use padding, not margins, for separation so the background color doesn't come through. */
.calendar-calendar .inner p {
}
.calendar-calendar td a {
  font-weight: bold;
  text-decoration: none;
}
.calendar-calendar td a:hover {
  text-decoration: underline;
}
.calendar-calendar td.year, 
.calendar-calendar td.month {
  text-align: center;
}
 
/* format days of the week header cells */
.calendar-calendar th.days {
  text-align: center;
  padding:1px;
 }
 
/*  floating day number div  */
.calendar-calendar div.day {
  float: right;
  text-align: right;
  padding: 0px 3px;
  border: 1px solid gray;
  border-width: 0 0 1px 1px;
  clear: both;
  width: 1.5em;
  border-top:none !important;
  border-right:none !important;
  margin-bottom: 3px;
}
 
/*  individual node container  */
.calendar-calendar div.calendar {
  text-align: left;
  margin: 3px;
  width: auto;
  clear:both;
}
/* No floating of day view content because there is no floating day number */
.calendar-calendar .day-view div.calendar {
  float:none;
  /*width:98%;*/
}
 
.calendar-calendar div.title {
  font-size:.8em;
  text-align:center;
}
 

.calendar-calendar .content {
  clear:both;
}
.calendar div.form-item {
  white-space: normal;
}



table td.mini, 
table th.mini, 
table.mini td.week {
  }
table td.mini a {
  font-weight:normal;
  }
.calendar-calendar .mini-day-off {
  padding:1px;
}
.calendar-calendar .mini-day-on {
  padding:1px;
}
table .mini-day-on {
  }
.calendar-calendar .mini .title {
  font-size:.8em;
  }
.mini .calendar-calendar .week {
  font-size:.7em;
  }
.mini-row {
  width:100%;
  border:none;
}
.mini{
  width:32%;
  vertical-align:top;
  }
 
 
/* formatting for the legend stripe and block */

table.calendar-legend {
  background-color:#ccc;
  width:100%;
  padding:0;
}
table.calendar-legend tr.odd .stripe,
table.calendar-legend tr.even .stripe {
  height:12px !important;
  font-size:9px !important;
  line-height:10px !important;
}
.calendar-legend td {
  text-align:left;
}
 
.calendar-empty {
  font-size:1px;
  line-height:1px;
}
 
/* formatting for the full day view */  
.calendar-calendar td.calendar-agenda-hour {
  text-align:right;
  border-width: 1px;
  border-style: dotted;
  width:1%;
}
.calendar-calendar td.calendar-agenda-no-hours {
  min-width:1%;
}

.calendar-calendar td.calendar-agenda-hour .calendar-ampm {
  font-size:1em;
}
.calendar-calendar td.calendar-agenda-items {
  text-align:left;
  border-width: 1px;
  border-style: dotted;
}
.calendar-calendar td.calendar-agenda-items div.calendar {
  /*width:auto;*/
}
.calendar-calendar div.calendar div.inner .calendar-agenda-empty {
  /*width:100%;*/
  text-align:center;
  vertical-align:middle;
  padding:1em 0;
}
 
/* the popup date selector for jumping to a new date */
.calendar-date-select form {
  text-align:right;
  float:right;
  width:25%;
}
.calendar-date-select div, 
.calendar-date-select input, 
.calendar-date-select label {
  text-align:right;
  float:right;
  clear:both;
}
.calendar-date-select .description {
  float:right;
}
.calendar-label {
  font-weight:bold;
  display:block;
  clear:both;
}
 
.calendar-calendar div.date-nav {
  background-color:#ccc;
  padding:0.2em;
  width:auto;
  border:1px solid #ccc;
}

.calendar-calendar td.empty {

}

.calendar-calendar table.mini {
	margin-bottom: 0px;
	border-collapse: separate;
	border-spacing: 1px 1px;
}

.calendar-calendar table.mini td.empty {

}

.calendar-calendar td .inner div.monthview, .calendar-calendar td .inner div.weekview, .calendar-calendar td .inner div.dayview
{
	font-size: .9em;
	border-width: 1px 0 0 1px;
	border-color: #ccc;
	border-style: solid;
	margin-bottom: 1em;
}

.calendar-calendar td .inner div.calendar div,
.calendar-calendar td .inner div.calendar div a {
  border:none;
  width: auto;
}
.calendar-calendar td .inner div.calendar div.calendar-more {
  text-align:right;
}
.calendar-calendar td .inner .view-field {
  font-weight:normal;
}
 
.calendar-calendar td span.date-display-single,
.calendar-calendar td span.date-display-start,
.calendar-calendar td span.date-display-end,
.calendar-calendar td span.date-display-separator {

}

.calendar-calendar td .inner div.calendar div div.view-data-node-data-field-date-field-date-value {
  border-bottom:1px solid #ccc;
}
 
/* The following are not used by default but are available for themes */
.calendar-calendar td.past {}
.calendar-calendar td.future {}
.calendar-calendar td.has-events {}
.calendar-calendar td.has-no-events {}

.calendar-calendar th, .calendar-calendar td, .calendar-calendar td div.day {
  border:1px solid #999;
}

TABLE.mini TH { border: none; }



.calendar-calendar UL.links { text-align: center; margin-bottom: 1em; }

.calendar-calendar UL.links LI {
	padding: 0 .2em !important;
}

.calendar-calendar UL.links LI A
{
	border: 1px #CCC solid;
	padding: 2px 5px;
	text-decoration: none !important;
	font-weight: bold;
}

.calendar-calendar UL.links LI A:hover {
	background-color: #eee;
}



/* Event Boxes */
DIV.monthview DIV, DIV.weekview DIV, DIV.dayview DIV
{
	padding: 0px 3px;
	line-height: normal;
}

.calendar-calendar .stripe
{
	height: 5px;
	font-size: 1px !important;
	line-height: 1px !important;
	padding: 0px;
}
