/**
 * 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
 */


/* ------------------------ Calendar Red ------------------------ */
.red-event {
	list-style-image: url(../images/pink.gif);
	margin-top: 4px;
}

.red-event,
.red-event a,
.red-event a:link,
.red-event a:visited,
.red-event a:hover,
.red-event a:active,
.red-event a:visited:hover {
	color: #7B0013;
}

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

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

/* .red-event.all-day.ends-this-week, */
.calendarweekview .red-event.ends-this-week,
.all-day .ends-this-week .red-event, /* IE 6 fix */
.calendarweekview .ends-this-week .red-event /* 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: #FFFFF9;
	border: 1px #E1E8F0 solid;
	float: left;
	width: 210px;
}			
#calendar-tools {
	height: 48px;
	width: 520px;
}

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

#calendar-heading div {
	/*background-color: #CDE0CE;
	color: #003E7E;*/
	float: left;
	height: 100%;
	line-height: 36px;
	text-align: center;
	vertical-align: middle;
	width: 73px;
}

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

#calendar-container {
	color: #333333;
	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: bold;
	line-height: 19px;
	margin-top: 22px;
}

.day-of-month {
	background-color: #FFFFF9;
	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: #FBF9E0;
	border: 1px #CECECE solid;
	z-index: 101;
}

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

.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: #333333;
	font-weight: bold;
	background-color: #333333;
	padding: 0px 10px 0px 10px;
}
.popups_bottom {
	border: solid;
	border-color: #333333;
	border-width: 1px;
	padding: 6px 10px 6px 6px;
	list-style-position: inside;
	background-color: #fff;
}

.popup-wrapper {
	z-index: 1000;
}
.eventform th {
	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 150px 5px 5px;
	padding: 5px;
	padding-left: 0px;
	margin-left: 0px;

	width: 75%;
}
h2.upcoming_list {
	font-size: 14px;
	font-style: normal;
	font-weight: bold;
	line-height: 20px;
    margin-top: 0px;
}

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

}

.stretcher {
	clear: left;
	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: #333333;
	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;
 }
