#main table.view-calendar { table-layout:auto; }
#block-views-calendar-calendar_block_1 { margin-bottom:1em; }

/* calendar calendar table styles */
.calendar-calendar tr.odd, 
.calendar-calendar tr.even { }
.calendar-calendar table { margin:0 auto; table-layout:fixed; }
.calendar-calendar .month-view table { border:none; padding:0; margin:0; width:100%; }
.calendar-calendar .month-view table td { border:1px solid #5667A0; padding:0.2em; margin:0.3em;  }
.calendar-calendar .month-view table.mini td { border:0; padding:0; margin:0.1em; }
.calendar-calendar .month-view table td.today  { background:#EFF2FE;  }
.calendar-calendar .month-view table td.week { padding:0.2em; margin:0.3em; font-size:2em; color:#ffffff; background:#5667A0; }
.calendar-calendar .month-view table td.week a { color:#7E8DBF; }
.calendar-calendar .month-view table td.week a:hover { color:#ffffff; }

 /* IE needs a little help to get the side by side tables to the right size */
.calendar-calendar .year-view td { padding:1px; border:none; }
.calendar-calendar .year-view .month-view table.mini { margin:0 0 1em 0; width:100%; table-layout:fixed; }
.calendar-calendar .year-view .month-view table.mini td { border:0; padding:0.3em; margin:0.1em; }

.calendar-calendar h3 { font-family:inherit; }
.calendar-calendar tr { padding:0; margin:0; background-color:white; }
.calendar-calendar th { color:#fff; text-align:center; margin:0; }
.calendar-calendar th a { font-weight:bold; color:#fff; background-color:#DFE6FF; }
.calendar-calendar td { width:12%; /* 14% is about 1/7 of total table width */ min-width:12%; text-align:right; vertical-align:top; margin:0; padding:0; }

/* simplify the mini calendar by removing borders */
.calendar-calendar .mini a { display:block; margin:0.1em; padding:0 0.3em; background:#EFF2FF; color:#0E103A; }

/* format for the week number in the first cell */
.calendar-calendar td.week { width:1%; min-width:1%; }
.calendar-calendar .week { clear:both; font-style:normal; color:#555; font-size:0.8em; }
.calendar-calendar .week a { font-weight:normal; }

/* 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; padding:0; margin:0; }
.calendar-calendar .inner div { padding:0; margin:0; }
/* 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 { padding:0 0 .8em 0; margin:0; }
.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 { color:#ffffff; text-align:center; padding:1px; margin:0; }

/* floating day number div */
.calendar-calendar div.day { float:right; text-align:center; padding:0.125em 0.25em 0 0.25em; margin:0;  clear:both; }

/* individual node container */
.calendar-calendar div.calendar { background-color:#fff; text-align:left; margin:0 .25em .25em 0; width:96%; float:right; /* needed to keep IE from hiding the floating day number */ 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 div.title a {
 color:#000;
}
.calendar-calendar div.title a:hover {
 color:#c00;
}
.calendar-calendar .content {
 clear:both;
 padding:3px;
 padding-left:5px;
}
.calendar div.form-item {
 white-space:normal;
}

table td.mini, 
table th.mini, 
table.mini td.week {
 padding:0 1px 0 0;
 margin:0;
 }
table td.mini a {
 font-weight:normal;
 }
.calendar-calendar .mini-day-off {
 padding:0px;
}
.calendar-calendar .mini-day-on {
 padding:0px;
}
table .mini-day-on a {
 }
.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 */
.calendar-calendar .stripe {
 height:5px;
 width:auto;
 font-size:1px !important;
 line-height:1px !important;
}
.calendar-calendar .day-view .stripe {
 width:100%;
}
table.calendar-legend {
 background-color:#ffffff;
 width:100%;
 margin:0;
 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 { display:none;}

/* formatting for the full day view */ 
.calendar-calendar td.calendar-agenda-hour { padding:0 0.5em; font-size:0.5em; font-weight:bold; color:#D8E1FE; background:#5667A0; }
.calendar-calendar td.calendar-agenda-hour .calendar-hour { font-size:2em; }
.calendar-calendar td.calendar-agenda-hour .calendar-ampm { font-size:1em; }
.calendar-calendar td.calendar-agenda-items {  }
.calendar-calendar td.calendar-agenda-items div.calendar { width:auto; margin:0.2em 0.5em; }
.calendar-calendar div.calendar div.inner .calendar-agenda-empty {  }

.day-view td { border:1px solid #5667A0; }
.week-view td { border:1px solid #5667A0; }
.week-view th { border: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;
 padding:0;
 margin:0;
 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:#5667A0;
 color:#ffffff;
 padding:0.2em;
 width:auto;
}
.calendar-calendar div.date-nav a, 
.calendar-calendar div.date-nav h3 { color:#ffffff; }
.calendar-calendar th.days {

 color:#0E103A;
 font-weight:bold;
 border:0;
}
.calendar-calendar td.empty {
 background:#ffffff;
 border-color:#ffffff;
}
.calendar-calendar table.mini td.empty {
 background:#fff;
 border-color:#fff;
}
.calendar-calendar td div.day { /*
 border:1px solid #ffffff;
 border-top:none;
 border-right:none;
 margin-bottom:2px;*/
}
.calendar-calendar td .inner div.view-item-calendar { }
.calendar-calendar td .inner div a {  }

/* Set small font size for all items in calendar div, themes can override this. */
/* Use x-small instead of em to avoid multiplying effect in nested items. */
.calendar-calendar div.calendar {  }
.calendar-calendar td .inner div.calendar div,
.calendar-calendar td .inner div.calendar div a {font-size:96%}
.calendar-calendar td .inner div.calendar div.calendar-more,
.calendar-calendar td .inner div.calendar div.calendar-more a { }
.calendar-calendar td .inner .view-field,
.calendar-calendar td .inner .view-field a {}

.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 {
 font-weight:bold;
}
.calendar-calendar td .inner div.day a { display:block; }
.calendar-calendar td.today .inner div.day a { padding:0 0.2em; }
.calendar-calendar .today a,
.calendar-calendar .today a { background:#5667A0; color:#ffffff; font-weight:bold; }
.calendar-calendar .mini-day-on a,
.calendar-calendar .has-events a { font-weight:bold; text-decoration:none; color:#BD1412; border:1px solid #5667A0; display:block; }

.calendar-calendar td .inner div.calendar div div.view-data-node-data-field-date-field-date-value {
 border-bottom:1px solid #DFE6FF;
}
.calendar-calendar ul.links { padding:0; margin:0 }
.calendar-calendar .links { text-align:left; }
.calendar-calendar ul.links { padding:0; margin:0 0 15px 0 }