/* General */

h1.planner_title {
	font-size: 12px;
}

table.planner_month th,
table.planner_year th {
	text-align: center;
	background-color: #E0E0E0;
}

table.planner_month td.today,
table.planner_year td.today,
table.planner_week td.today,
table.planner_day td.today {
	background-color: #FFC;
}

table.planner_month td.selected,
table.planner_year td.selected,
table.planner_week td.selected,
table.planner_day td.selected {
	border-width: 2px;
	border-color: #36F;
}

table.planner_month div.event,
table.planner_year div.event,
table.planner_week div.event,
table.planner_day div.event {
	padding: 2px;
	border-width: 1px;
	border-style: outset;
	margin-bottom: 2px;
}

table.planner_month td div.hover_cell_link,
table.planner_day td div.hover_cell_link {
	visibility: hidden;
}
table.planner_month td:hover div.hover_cell_link,
table.planner_day td:hover div.hover_cell_link {
	visibility: visible;
}

div.add_new_event {
	background-image: url('../images/tabbed_editor/page_add.gif');
	background-repeat: no-repeat;
	background-position: 2px center;
	background-color: #EEE;
	border: 1px outset white;
	padding: 3px 0px 3px 20px;
	cursor: pointer;
}
form.event_tracker_event_editor div {
	border: 1px solid #999;
	padding: 10px;
	margin-top: 5px;
	background-color: #FFC;
}
form.event_tracker_event_editor th, form.event_tracker_event_editor td {
	vertical-align: top;
}

/* List */

table.planner_list {
	width: 100%;
	border-collapse: collapse;
}

table.planner_list th {
	background-color: #E0E0E0;
}

table.planner_list td, table.planner_list th {
	vertical-align: top;
	border: 1px solid #999;
	padding: 2px;
	
}

/* Yearly */

table.planner_year td {
	vertical-align: top;
	padding: 3px;
}

table.planner_year {
	width: 2400px;
}
table.planner_year td {
	width: 200px;
}

table.planner_year th, table.planner_year td {
	border-bottom: 1px solid #999;
	border-right: 1px solid #999;
}

div.planner_year {
	width: 100%;
	height: 400px;
	overflow: auto;
	position: relative; /* IE misbehaves otherwise..? */
	border: 1px solid #999;
}
table.planner_year td.locked_left, table.planner_year th.locked_left {
	position: relative;
	left: expression(parentNode.parentNode.parentNode.parentNode.scrollLeft);
	z-index: 1;
	background-color: white;
}
table.planner_year td.locked_top, table.planner_year th.locked_top {
	position: relative;
	top: expression(parentNode.parentNode.parentNode.parentNode.scrollTop);
	z-index: 2;
	background-color: white;
}
table.planner_year td.locked_left.locked_top, table.planner_year th.locked_left.locked_top {
	z-index: 3;
}

/* Monthly */

table.planner_month {
	border-collapse: collapse;
	width: 100%;
}
table.planner_month th, table.planner_month td {
	border: 1px solid #999;
}

table.planner_month td {
	width: 14.285714285714285714285714285714%;
	height: 100px;
	vertical-align: top;
	padding: 3px;
}

table.planner_month td.out_of_range {
	background-color: #E0E0E0;
}
table.planner_month div.month_day {
	text-align: right;
}

/* Weekly */

table.planner_week {
	border-collapse: collapse;
	width: 100%;
}
table.planner_week th, table.planner_week td {
	border: 1px solid #999;
	vertical-align: top;
}
table.planner_week th.weekday {
	background-color: #E0E0E0;
	text-align: center;
}
table.planner_week th.hour {
	background-color: #E0E0E0;
	text-align: right;
	width: 50px;
}


/* Daily */


table.planner_day {
	width: 100%;
	border-collapse: collapse;
}
table.planner_day th, table.planner_day td {
	border: 1px solid #999;
	vertical-align: top;
	height: 50px;
}
table.planner_day th {
	background-color: #E0E0E0;
	text-align: right;
	width: 50px;
}