table.cal {
	text-align: center;
	background-color: white;
	border: 1px solid black;
	margin-bottom: 10px;
	height: 200px;
}

table.cal td.header {
	padding: 4px;
	font-weight: bold;
	background: #EFC54D url('../images/button.gif') repeat-x top left !important;
	border-bottom: 1px solid black;
}

table.cal td {
	padding: 2px;
}

table.cal td a {
	display: block;
}

table.cal td.markedc, table.cal td.markedcstartend {
	background-color: #FFD3AF;
}
table.cal td.markedclimit {
	background-color: #FFE4CF;
}
table.cal td.markedcstart {
	background: white url('../images/markedcstart.png') no-repeat bottom right;
}
table.cal td.markedcend {
	background: white url('../images/markedcend.png') no-repeat top left;
}
table.cal td.markedcmerged {
	background: #FFD3AF url('../images/markedcmerged.png') no-repeat bottom right;
}
td.markedc a, td.markedcstart a, td.markedcend a, td.markedcstartend a {
	color: #DF6300 !important;
}

table.cal td.markedu, table.cal td.markedustartend {
	background-color: #FFF5DF;
}
table.cal td.markedulimit {
	background-color: #FFFAEF;
}
table.cal td.markedustart {
	background: white url('../images/markedustart.png') no-repeat bottom right;
}
table.cal td.markeduend {
	background: white url('../images/markeduend.png') no-repeat top left;
}
td.markedu a, td.markedustart a, td.markeduend a, td.markedustartend a {
	color: #AF5E00 !important;
}

table.cal td.booked, table.cal td.bookedstartend {
	background-color: #BFE2FF;
	color: #0072CF;
}
table.cal td.bookedstart {
	background: white url('../images/bookedstart.png') no-repeat bottom right;
	color: #0072CF;
}
table.cal td.bookedend {
	background: white url('../images/bookedend.png') no-repeat top left;
	color: #0072CF;
}
table.cal td.bookedmerged {
	background: #BFE2FF url('../images/bookedmerged.png') no-repeat bottom right;
}
td.booked a, td.bookedstart a, td.bookedend a, td.bookedmerged a, td.markedcmerged a, td.bookedstartend a {
	color: #0072CF !important;
}

.season0 {
	background-color: #D5F87E;
}

.season1 {
	background-color: #FFBD6F;
}

.season2 {
	background-color: #5FC6FF;
}

.season3 {
	background-color: #FF5F3F;
	color: white;
}
