/* Start of CMSMS style sheet 'chnulleri_calendar' */
/*
stylesheet for Calendar module

For using the "big"-class or the "small"-class insert something like this in your page
or template;

{cms_module module='Calendar' table_id='big'}
{cms_module module='Calendar' table_id='small'}

*/

/* make all links red */
.calendar tr td a,
.calendar tr td a:visited
{
  color: #FF0000;
	font-weight: bold;
	text-decoration: none;
}

/* highlight "today" for the small calendar */
.calendar-today
{
  font-weight: bold;
}

/* display the "upcominglist" as one line per entry (assuming table_id='cal-upcominglist') */
#cal-upcominglist .calendar-date-title,
#cal-upcominglist .calendar-summary-title
{
  display: none;
}

#cal-upcominglist h2
,#cal-upcominglist .calendar-date
,#cal-upcominglist .calendar-summary
{
  display: inline;
  margin-right: 5px;
}

/* tidy up text sizes for lists */
#cal-list h1, #cal-upcominglist h1
{
  color: red;
  font-size: 120%;
}
#cal-list h2, cal-upcominglist h2
{
  font-size: 110%;
}
/****************************************************/
/** large calendar rules (assuming table_id='big') **/
/* border on for #big */
#big{
  margin: 0px;
  border-collapse:    collapse;
  border: 1px solid black;
}

/* nice squares for the #big table */
#big th
{
  border: 1px solid black;
  padding: 3px;
  width: 75px;
}

#big td {
  border: 1px solid black;
  vertical-align: top;
  padding: 3px;
  height: 75px;
  width: 75px;
}

/* format summaries nicely in #big */
#big ul
{
  margin: 0px;
  padding: 0px;
  padding-left: 5px;
}

#big li
{
  list-style-type: none;
  padding: 0px;
  margin: 0px;
}

/* background colours for #big */
#big td
{
  background-color: silver;
}

#big .calendar-day
{
  background-color: #80ff80;
}

#big .calendar-today
{
  font-weight: normal;
  background-color: #8080ff;
}

.calendar-event .calendar-date-title,
.calendar-event .calendar-summary-title,
.calendar-event .calendar-details-title
{
  display: none;
}
/****************************************************/
/** small calendar rules (assuming table_id='small') **/
/* border on for #small */
table#small
{
  margin: 0px;
  border-collapse: collapse;
  border: 1px solid black;
}

/* the year and month navigation */
caption
{
	height: 20px;
  border: 1px solid #000000;
	margin-left: -1px;
}

/* nice squares for the #small table */
table#small th
{
  border: 1px solid #000000;
  text-align: center !important;
  padding: 0 2px 0 2px;
  height: 15px;
  width: 20px;
}

table#small td {
  border: 1px solid #000000 !important;
  text-align: center !important;
  padding: 0 2px 0 2px;
  height: 15px;
  width: 20px;
}

/* format summaries nicely in #small */

table#small ul
{
  display: none;
}

table#small li
{
  display: none;
}

table#small .daylink a:hover ul
{
  display: block;
	position: absolute;
	color: #000000;
	background: #78c1ff;
	padding: 3px;
	border: 1px solid #555;
	z-index: 1000;
}

table#small .daylink a:hover li
{
  display: block;
	color: #000000;
	background: #78c1ff;
}


/* background colours for #small */
table#small .calendar-today
{
  font-weight: normal;
  background-color: #78c1ff;
}

.calendar-event .calendar-date-title,
.calendar-event .calendar-summary-title,
.calendar-event .calendar-details-title
{
  display: none;
}

/****************************************************/
/** list calendar rules (used for calendar detail on start page) **/
.calendar-list {
 width: 350px;
 border-top: 1px solid #000000;
}
.calendar-list #calendar-header {
  padding: 0em 0 0.3em 0;
/* */
}
.calendar-list #calendar-header h2 {
  margin: 0 0 0em 0;
}
/*
.calendar-list #calendar-header span {
  font-weight: bold;
}
.calendar-list #calendar-header span a {
  text-decoration: none;
}
*/
.calendar-list .calendar-event {
  padding: 0.2em 0 0.5em 0;
  border-bottom: none;
}
.calendar-list .calendar-event .event-title {
  float: left;
	display: block;
	width: 350px;
	font-weight: bold;
  padding: 0 0 0.3em 0;
}
.calendar-list .calendar-event .calendar-date-from {
  float: left;
	display: block;
	width: 200px;
  margin: 0 0 0.5em 0;
	background: cyan;
}
.calendar-list .calendar-event .calendar-summary {
  clear: left;
	display: block;
	margin: 0;
  padding: 0 0.5em 0.3em 1em;
}
.calendar-list .calendar-event .calendar-details {
  clear: left;
	display: block;
	margin: 0;
  padding: 0 0.5em 0.3em 1em;
}
.calendar-list .calendar-event .event-moretext {
  float: right;
	display: block;
  margin: 0 2em 0.5em 0;
}
.calendar-list .calendar-event .event-moretext a {
  font-weight: bold;
  text-decoration: none;
}

.calendar-list .calendar-returnlink {
  width: 100%;
  margin: 0.5em 0 0 0;
  border-top: 1px solid #000000;
	line-height: 1.3em;
}

.calendar-list .calendar-returnlink a {
  font-weight: bold;
  text-decoration: none;
}

/****************************************************/
/** upcominglist calendar rules (assuming table_id='yearlist') **/
.calendar-upcominglist {
  margin: 0 0 0.2em 0;
  border-top: 1px solid #000;
}
.calendar-upcominglist .calendar-event {
  float: left;
  padding: 0.5em 0 0.5em 0;
  border-bottom: 1px solid #000;
}
.calendar-upcominglist .calendar-event .event-title {
  float: left;
  display: block;
  width: 400px;
  margin: 0 0 0.5em 0;
	font-weight: bold;
}
.calendar-upcominglist .calendar-event .calendar-date-from {
  float: left;
  display: block;
  width: 400px;
  margin: 0 0 1em 0;
  font-weight: bold;
}
.calendar-upcominglist .calendar-event .calendar-summary {
  clear: left;
	display: block;
  margin: 0.5em 0 0.5em 2em;
}
.calendar-upcominglist .calendar-event .event-moretext {
  float: right;
	display: block;
  margin: 0 2em 0.5em 0;
}
.calendar-upcominglist .calendar-event .event-moretext a {
  font-weight: bold;
  text-decoration: none;
}

/****************************************************/
/** detail calendar rules **/

.calendar-event-detail {

}
.calendar-event-detail #calendar-header {
  margin: 0 0 0.2em 0;
  font-weight: bold;
}
.calendar-event-detail .calendar-event {
  padding: 0.5em 0 1em 0;
	margin: 0 0 1em 0;
  border-bottom: 1px solid #000;
}
.calendar-event-detail .calendar-event .event-title {
  float: left;
	display: block;
	width: 400px;
}
.calendar-event-detail .calendar-event .calendar-date-from {
  clear: left;
	display: block;
  margin: 0 0 1em 0;
}
.calendar-event-detail .calendar-event .calendar-summary,
.calendar-event-detail .calendar-event .calendar-details {
  clear: left;
	display: block;
  margin: 0 0 0.5em 0;
}

.calendar-event-detail .calendar-returnlink a {
  font-weight: bold;
  text-decoration: none;
}
/* End of 'chnulleri_calendar' */

