/**
 * Cascading Style Sheets for the Chitin Calendar
 *
 * NOTE: there is a serious bug in Internet Explorer 6 that caused
 * much of this CSS to be interpretted incorrectly.  Additionally,
 * these issues could not be solved by the addition of an IE6-specific
 * stylesheet, and many unfortunate changes were required in the
 * calendar markup.  As a result, this file contains a mixture of
 * modern selectors and IE6-specific workarounds.
 *
 * The bug in question is documented here:
 * https://wiki.mudbugmedia.com/index.php/Internet_Explorer_6_-_Multiple_Classes_Bug
 */


/* ------------------------ Annual Events------------------------ */
.annual_events {
	margin-top: 4px;
}

.annual_events,
.annual_events a,
.annual_events a:link,
.annual_events a:visited,
.annual_events a:hover,
.annual_events a:active,
.annual_events a:visited:hover {
	color: #2E799F;
}

.annual_events.all-day,
.calendarweekview .annual_events,
.all-day .annual_events /* IE 6 fix */ {
	background-color: #2E799F;
	border-bottom: 1px solid #006191;
	border-top: 1px solid #006191;
}

/* .annual_events.all-day.starts-this-week, */
.calendarweekview .annual_events.starts-this-week,
.all-day .starts-this-week .annual_events, /* IE 6 fix */
.calendarweekview .starts-this-week .pirednk-event /* IE 6 fix */ {
	border-left: 1px solid #006191;
}

/* .annual_events.all-day.ends-this-week, */
.calendarweekview .annual_events.ends-this-week,
.all-day .ends-this-week .annual_events, /* IE 6 fix */
.calendarweekview .ends-this-week .annual_events /* IE 6 fix */ {
	border-right: 1px solid #006191;
}


/* ------------------------ Special Events ------------------------ */
.special_events {
	margin-top: 4px;
}

.special_events,
.special_events a,
.special_events a:link,
.special_events a:visited,
.special_events a:hover,
.special_events a:active,
.special_events a:visited:hover {
	color: #E1387E;
}

.special_events.all-day,
.calendarweekview .special_events,
.all-day .special_events /* IE 6 fix */ {
	background-color: #E1387E;
	border-bottom: 1px solid #CC0066;
	border-top: 1px solid #CC0066;
}

/* .special_events.all-day.starts-this-week, */
.calendarweekview .special_events.starts-this-week,
.all-day .starts-this-week .special_events, /* IE 6 fix */
.calendarweekview .starts-this-week .pirednk-event /* IE 6 fix */ {
	border-left: 1px solid #CC0066;
}

/* .special_events.all-day.ends-this-week, */
.calendarweekview .special_events.ends-this-week,
.all-day .ends-this-week .special_events, /* IE 6 fix */
.calendarweekview .ends-this-week .special_events /* IE 6 fix */ {
	border-right: 1px solid #CC0066;
}

/* ------------------------ Classes ------------------------ */
.classes {
	margin-top: 4px;
}

.classes,
.classes a,
.classes a:link,
.classes a:visited,
.classes a:hover,
.classes a:active,
.classes a:visited:hover {
	color: #99CC00;
}

.classes.all-day,
.calendarweekview .classes,
.all-day .classes /* IE 6 fix */ {
	background-color: #99CC00;
	border-bottom: 1px solid #769331;
	border-top: 1px solid #769331;
}

/* .classes.all-day.starts-this-week, */
.calendarweekview .classes.starts-this-week,
.all-day .starts-this-week .classes, /* IE 6 fix */
.calendarweekview .starts-this-week .pirednk-event /* IE 6 fix */ {
	border-left: 1px solid #769331;
}

/* .classes.all-day.ends-this-week, */
.calendarweekview .classes.ends-this-week,
.all-day .ends-this-week .classes, /* IE 6 fix */
.calendarweekview .ends-this-week .classes /* IE 6 fix */ {
	border-right: 1px solid #769331;
}


/* ------------------------ Early Childhood ------------------------ */
.early_childhood {
	margin-top: 4px;
}

.early_childhood,
.early_childhood a,
.early_childhood a:link,
.early_childhood a:visited,
.early_childhood a:hover,
.early_childhood a:active,
.early_childhood a:visited:hover {
	color: #5A4491;
}

.early_childhood.all-day,
.calendarweekview .early_childhood,
.all-day .early_childhood /* IE 6 fix */ {
	background-color: #5A4491;
	border-bottom: 1px solid #403A6A;
	border-top: 1px solid #403A6A;
}

/* .early_childhood.all-day.starts-this-week, */
.calendarweekview .early_childhood.starts-this-week,
.all-day .starts-this-week .early_childhood, /* IE 6 fix */
.calendarweekview .starts-this-week .pirednk-event /* IE 6 fix */ {
	border-left: 1px solid #403A6A;
}

/* .early_childhood.all-day.ends-this-week, */
.calendarweekview .early_childhood.ends-this-week,
.all-day .ends-this-week .early_childhood, /* IE 6 fix */
.calendarweekview .ends-this-week .classes /* IE 6 fix */ {
	border-right: 1px solid #403A6A;
}

/* ------------------------ Children and Teens ------------------------ */
.children_and_teens {
		margin-top: 4px;
}

.children_and_teens,
.children_and_teens a,
.children_and_teens a:link,
.children_and_teens a:visited,
.children_and_teens a:hover,
.children_and_teens a:active,
.children_and_teens a:visited:hover {
	color: #CC3300;
}

.children_and_teens.all-day,
.calendarweekview .children_and_teens
.all-day .children_and_teens /* IE 6 fix */ {
	background-color: #CC3300;
	border-bottom: 1px solid #9E391D;
	border-top: 1px solid #9E391D;
}

/* .children_and_teens.all-day.starts-this-week, */
.calendarweekview .children_and_teens.starts-this-week,
.all-day .starts-this-week .children_and_teens, /* IE 6 fix */
.calendarweekview .starts-this-week .pirednk-event /* IE 6 fix */ {
	border-left: 1px solid #9E391D;
}

/* .children_and_teens.all-day.ends-this-week, */
.calendarweekview .children_and_teens.ends-this-week,
.all-day .ends-this-week .children_and_teens, /* IE 6 fix */
.calendarweekview .ends-this-week .children_and_teens /* IE 6 fix */ {
	border-right: 1px solid #9E391D;
}

/* ------------------------ Adults ------------------------ */
.adults_and_senior_adults {
	margin-top: 4px;
}

.adults_and_senior_adults,
.adults_and_senior_adults a,
.adults_and_senior_adults a:link,
.adults_and_senior_adults a:visited,
.adults_and_senior_adults a:hover,
.adults_and_senior_adults a:active,
.adults_and_senior_adults a:visited:hover {
	color: #E89D40;
}

.adults_and_senior_adults.all-day,
.calendarweekview .adults_and_senior_adults
.all-day .adults_and_senior_adults /* IE 6 fix */ {
	background-color: #E89D40;
	border-bottom: 1px solid #AE723A;
	border-top: 1px solid #AE723A;
}

/* .adults_and_senior_adults.all-day.starts-this-week, */
.calendarweekview .adults_and_senior_adults.starts-this-week,
.all-day .starts-this-week .adults_and_senior_adults, /* IE 6 fix */
.calendarweekview .starts-this-week .pirednk-event /* IE 6 fix */ {
	border-left: 1px solid #AE723A;
}

/* .adults_and_senior_adults.all-day.ends-this-week, */
.calendarweekview .adults_and_senior_adults.ends-this-week,
.all-day .ends-this-week .adults_and_senior_adults, /* IE 6 fix */
.calendarweekview .ends-this-week .adults_and_senior_adults /* IE 6 fix */ {
	border-right: 1px solid #AE723A;
}


/* ------------------------ Aerobics ------------------------ */
.aerobics {
	margin-top: 4px;
}

.aerobics,
.aerobics a,
.aerobics a:link,
.aerobics a:visited,
.aerobics a:hover,
.aerobics a:active,
.aerobics a:visited:hover {
	color: #6E0E9E;
}

.aerobics.all-day,
.calendarweekview .aerobics,
.all-day .aerobics /* IE 6 fix */ {
	background-color: #6E0E9E;
	border-bottom: 1px solid #330000;
	border-top: 1px solid #330000;
}

/* .aerobics.all-day.starts-this-week, */
.calendarweekview .aerobics.starts-this-week,
.all-day .starts-this-week .aerobics, /* IE 6 fix */
.calendarweekview .starts-this-week .pirednk-event /* IE 6 fix */ {
	border-left: 1px solid #330000;
}

/* .aerobics.all-day.ends-this-week, */
.calendarweekview .aerobics.ends-this-week,
.all-day .ends-this-week .aerobics, /* IE 6 fix */
.calendarweekview .ends-this-week .aerobics /* IE 6 fix */ {
	border-right: 1px solid #330000;
}


/**************************************************************
 *                        Monthly View
 **************************************************************/
#cal a:link,
#cal a:visited,
#cal a:hover,
#cal a:active {
	text-decoration: none;
} 
#display_calendars {
	padding: 5px 5px 5px 5px;
	margin-bottom: 5px;
}	
#checklist {
	background-color: #F4FAFD;
	border: 1px #E1E8F0 solid;
	float: left;
	width: 210px;
}			
#calendar-tools {
	height: 48px;
}

#calendar-heading {  
	clear: right;
	font-size: 11px;
	font-weight: bold;
	height: 36px;
	width: 635px;
	padding-top: 0px;
}

#calendar-heading div {
	/*background-color: #CDE0CE;
	color: #003E7E;*/
	float: left;
	height: 100%;
	text-align: center;
	vertical-align: middle;
	width: 90px;
	color: #006699;
	font-weight: bold;
	line-height: 45px;
}

#calendar-heading div.last-child {   /* support for :last-child is abysmal, so we'll just use a class */
	width: 95px;
}

#calendar-container {
	color: #006699;
	clear: right;
	font-size: 10px;
	font-weight: bold;
	height: 405px;
	line-height: 10px;
	margin-bottom: 10px;
	position: relative;
	width: 520px;
	z-index: 102;
}
.caldate {
	font-size: 18px;
	font-weight: normal;
	line-height: 19px;
	margin-top: 22px;
}

.day-of-month {
	background-color: #F4FAFD;
	border: none;
	border-bottom: 1px #E1E8F0 solid;
	border-right: 1px #E1E8F0 solid;
	border: 1px #E1E8F0 solid;
	text-align: right;
	position: absolute;
	/* NOTE: the `left`, `top`, `height`, and `width` properties are
	   all dynamically calculated and placed in that element's "style"
	   attribute.  */
	z-index: 100;
}

.today, .presentday {
	background-color: #BCE3EF;
	border: 1px #C4DCE7 solid;
	z-index: 101;
}

.day-in-different-month {
	font-weight: normal;
	background-color: #fff;
	color: #999;
}
.day-of-month-number {
	margin-top: 3px;
	margin-right: 3px;
}


.event {
	overflow: hidden;
	line-height: 15px;
	font-weight: normal;
	padding: 0px 6px;
	z-index: 1000;
}

.event a, .event a:link {
	display: block;
	font-size: 7pt;
	height: 100%;
	width: 91%;
}

.all-day a, .all-day a:link {
	width: 100%;
}

.event .marker {
	float: left;
	margin-right: 2px;
}


.all-day a,
.all-day a:link,
.all-day a:visited,
.all-day a:hover,
.all-day a:active,
.all-day a:visited:hover {
	color: white;
	text-decoration: none;
}

.starts-this-week {
	-moz-border-radius-bottomleft: 8px;
	-moz-border-radius-topleft: 8px;
	-webkit-border-bottom-left-radius: 8px;
	-webkit-border-top-left-radius: 8px;
}
.ends-this-week {
	-moz-border-radius-bottomright: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-bottom-right-radius: 8px;
	-webkit-border-top-right-radius: 8px;
}

.event .location {
	font-size: 80%;
	font-weight: normal;
	height: 9px;
	line-height: 80%;
	margin-left: 8px;
	overflow: hidden;
}
.event.all-day .location,
.all-day .location /* IE6 fix */ {
	color: #EAEAEA;
	margin-left: 0px;
}

.calicons {
	font-size: 9px;
	text-align: center;
	margin-right: 5px;
	float: right;
	width: 200px;
}
.calicons .monthly, .calicons .weekly, .calicons .legend{
	float:right;
	padding-right: 10px;
	width: 40px;
}

.calicons .legend {
	padding-right: 0px;
}

/**************************************************************
 *                      Calendar Popups
 **************************************************************/
#event-edit-form {
	margin-bottom: 2px;
}

.empty {
	color: #888;
	font-style: italic;
}

.popup-wrapper .errorlistview {
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	width: 300px;
}

.popup-wrapper .errorlistview h2 {
	font-size: 10pt;
	letter-spacing: normal;
	line-height: 12pt;
}

.popup-wrapper .errorlistview ul {
	font-size: 9pt;
	list-style-position: outside;
	margin-bottom: 0px;
	margin-left: 12px;
	padding-bottom: 0px;
	padding-left: 0px;
}

.popups_top {
	color: #FFFFFF;
	background-color: #006699;
	font-weight: bold;
	padding: 0px 10px 0px 10px;
}
.popups_bottom {
	border: solid;
	border-color: #666666;
	border-width: 1px;
	padding: 6px 10px 6px 6px;
	list-style-position: inside;
	background-color: #fff;
}

.popup-wrapper {
	z-index: 1000;
}
.eventform th {
	background-image: none; /* override the global stylesheet */
	background-color: white;
	padding-top: 4px; /* font face differences cause a vertical alignment mismatch */
	font-weight: bold;
	width: 100px;
	text-align: left;
}
.eventform td {
	width: 220px;

}
.eventtime {
	float: left;
	height: 25px;
	padding-right: 3px;
	clear: both;
}
#pods {
	width: 320px;
}




/**************************************************************
 *                     Upcoming list
 **************************************************************/
.upcoming_list_event{
	border-bottom: 1px black solid;
	margin: 5px 10px 5px 5px;
	padding: 5px;
	padding-left: 0px;
	margin-left: 0px;
}
h2.upcoming_list {
	color: #660099;
	font-size: 14px;
	font-style: normal;
	font-weight: normal;
	line-height: 20px;
    margin-top: 0px;
}

p.upcoming_list {
	font-weight: normal;
	font-size: 12px;
	line-height: 18px;

}

.stretcher {
	clear: both;
	margin: 0;
	padding: 0;
}



/**********************************************************************************************************************
 ************************************ The following does not need to be changed *************************************** 
 ************************************ unless the client decides to expand the calender ********************************
 ************************************ to incorporate different colored events *****************************************
 **********************************************************************************************************************/
 
 
/**************************************************************
 *                        Weekly View
 **************************************************************/
.calendarweekview .calendarcheckboxview table label {
	background-color: transparent;
	border: none;
}
.calendarweekview #calendar-heading {  /* Replaces the ".calheading" style */
	width: 520px;
}

.calendarweekview #calendar-heading div {
	width: 82px;
}

.calendarweekview #calendar-container {
	width: 520px;
}

#calendar-all-day-area {
	border-bottom: 2px #E1E8F0 solid;
	height: 60px;
	position: relative;
	width: 520px;
}

.calendarweekview #calendar-all-day-area .day-of-month {
	border-top: none;
	border-bottom: none;
	height: 100%;
}

.event.all-day, .calendarweekview .event {
	margin-top: 0px;

	/* Use different opacity techniques for IE, Safari, and Firefox */
	opacity: .75;    /* opacity attribute for Safari 1.2 and up */
	-moz-opacity: .75;  /* opacity attribute for Mozilla */
	filter: alpha(opacity=75);  /* opacity attribute for Internet Explorer 5.5 and up */
}


.calendarweekview .event a,
.calendarweekview .event a:link,
.calendarweekview .event a:visited,
.calendarweekview .event a:hover,
.calendarweekview .event a:active,
.calendarweekview .event a:visited:hover {
	color: white;
	text-decoration: none;
}

.calendarweekview #calendar-time-of-day-area {
	font-size: 7pt;
	left: 520px;
	line-height: 10px;
	position: absolute;
	top: -6px;
	width: 35px;
	z-index: 1001;
}

.calendarweekview #calendar-time-of-day-area div {
	height: 44px;
}

.calendarweekview #calendar-container .start-of-hour {
	border-top: 1px solid #D8DEE6;
}

.calendarweekview .day-of-month.today {
	border-top: 1px #E1E8F0 solid;
	border-bottom: 1px #E1E8F0 solid;
}

/* ------------------------ Legend ------------------------ */
#legend-popup {
	color: #666666;
	width: 162px;
	
}
#legend-top {
	color: #FFFFFF;
	background-color: #00397D;
	font-weight: bold;
	padding: 0px 10px 0px 10px;	
}
#legend-form {
	margin-bottom: 2px;
}
#legend-popup ul {
	margin-left: 0px;
	padding-left: 3px;
	margin-bottom: 0px;
	padding-bottom: 0px;
}

#legend-popup ul li {
	background-color: #FFFFFF;
	float: none;
	margin-top: 2px;
	margin-bottom: 2px;
}
.legend_bottom {
	padding: 6px 10px 10px 10px;
 }
