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

/* ------------------------ Legend ------------------------ */
#legend-popup {
	width: 162px;
}
#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-popup ul li.learning-center {
	color: #9E1B34;
	list-style-image: url(../images/calendar/purple.gif);
}

#legend-popup ul li.special-events, .special-events_legend {
	color: #194484;
	list-style-image: url(../images/calendar/blue.gif);
}

#legend-popup ul li.southeast-events, .southeast-events_legend {
	color: #DE6100;
	list-style-image: url(../images/calendar/orange.gif);
}

#legend-popup ul li.special-events, .special {
	color: #B1574E;
	list-style-image: url(../images/calendar/red.gif);

}


/* ------------------------ National Events ------------------------ */
.special-events {
	list-style-image: url(../images/calendar/blue.gif);
	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: #194484;
}

.special-events.all-day,
.calendarweekview .special-events,
.all-day .special-events /* IE 6 fix */ {
	background-color: #194484;
	border-bottom: 1px solid #476A88;
	border-top: 1px solid #476A88;
}

/* .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 .special-events /* IE 6 fix */ {
	border-left: 1px solid #476A88;
}

/* .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 #476A88;
}


/* ---------------------  Monthly View -------------------- */

#calendar-tools {
	float: right;
	margin-top: 12px;
	margin-bottom: 4px;
	text-align: right;
	width: 200px;
}

#calendar-tools a {
	text-decoration: none;
}

#calendar-tools h2 {
	font-size: 18px;
	font-weight: bold;
	padding: 0px;
	margin: 0px;
}

#calendar-heading {  /* Replaces the ".calheading" style */
	clear: right;
	font-size: 11px;
	font-weight: bold;
	height: 36px;
	width: 638px;
}

#calendar-heading div{
	background-color: #B9CDC7;
	float: left;
	height: 100%;
	line-height: 36px;
	text-align: center;
	vertical-align: middle;
	width: 91px;
}

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

#calendar-container {
	color: #518274;
	clear: right;
	font-size: 10px;
	font-weight: bold;
	line-height: 10px;
	margin-bottom: 10px;
	position: relative;
	width: 596px;
}

.day-of-month {
	background-color: #FFFFF9;
	border: none;
	border-bottom: 1px #B9CDC7 solid;
	border-right: 1px #B9CDC7 solid;
	border: 1px #B9CDC7 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: #F2F4D9;
	border: 1px #91A39F solid;
	z-index: 101;
}

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

.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;
}


/**************************************************************
 *                        Weekly View
 **************************************************************/
.calendarweekview .calendarcheckboxview table label {
	background-color: transparent;
	border: none;
}
.calendarweekview #calendar-heading {  /* Replaces the ".calheading" style */
	width: 576px;
}

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

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

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

.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: 577px;
	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;
}


/**************************************************************
 *                      Calendar Popups
 **************************************************************/
#add-event-area a img,
.popup-wrapper a img {
	border: 0px;
}

#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: #518274;
	font-weight: bold;
	padding: 0px 10px 0px 10px;
}
.popups_bottom {
	border: solid;
	border-color: #518274;
	border-width: 1px;
	padding: 6px 10px 6px 6px;
	list-style-position: inside;
	background-color: #fff;
}
.legend_bottom {
	padding: 6px 10px 10px 10px;
 }
.eventform th {
	color: #4F6A8E;
	font-weight: bold;
	width: 100px;
	text-align: left;
}
.eventform td {
	width: 220px;

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

.popup-wrapper {
	z-index: 100000;
}

.zorder:hover {
	/* Use different opacity techniques for IE, Safari, and Firefox */
	opacity: 1;    /* opacity attribute for Safari 1.2 and up */
	-moz-opacity: 1;  /* opacity attribute for Mozilla */
	filter: alpha(opacity=100);  /* opacity attribute for Internet Explorer 5.5 and up */
	z-index:1001;
}

/**
 * = OLD CALENDAR STYLES =
 *
 * These are what is left of the original styles created for the
 * CORE Intranet calendar.  Since much of the HTML has been altered
 * from the original design, many of the selectors seen here are no
 * longer valid.  To preserve the look of the original mockup, these
 * styles should be left in tact.
 */
.homepage_events {
	color: #4F6A8E;
}

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

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

.calnumber {
	color: #00397D;
	font-weight: bold;
	text-align: right;
}
.calheading {
	font-size: 11px;
	font-weight: bold;
	background-color: #B9CDC7;
}
.calheading .firstcol {
	background-color: #B9CDC7;
	background-repeat: no-repeat;
}
.calheading .lastcol {
	background-color: #B9CDC7;
	background-position: right;
	background-repeat: no-repeat;
}
.calboxes {
	font-size: 10px;
	line-height: 10px;
	background-color: #FFFFF9;
	border: solid;
	border-color: #E1E8F0;
	border-width: 1px;
	border-top: none;
	padding: 2px 3px 2px 3px;
}
.caltimes {
	font-size: 10px;
	line-height: 10px;
	padding: 2px 3px 0px 3px;
}

