
#calendarNav {
	position: relative; /* container for .prev, .next */
	border-bottom:1px solid #bbcedc;
	text-align:left;
	background:white;
	}
	#calendarNav h4 {
		text-align:left;
		text-indent:0;
		line-height:1.6em;
		font-size:130%;
		color:#4c689a;
		margin:0 !important;
		width:100%;
		text-align:center;
	}
	#calendarNav .prev {
		position:absolute;
		left:0;
		top:5px;
		width:40%;
	}
	#calendarNav .next {
		position:absolute;
		right:0;
		top:5px;
		width:40%;
		
	}
	#calendarNav a {
		font-size:110%;
	}
	#calendarNav .prev img {
		float:left;
		margin-right:8px;
	}	
	#calendarNav .prev a {
		display:block;
		float:left;
		margin-right:15px;
	}
	#calendarNav .next img {


		margin-left:8px;
	}	
	#calendarNav .next a {
		display:block;
		margin-left:15px;
		float:right;
	}	
	









#content table.calendar a, #content  table.timeTable a {
	font-weight:bold;
	color:#4c689a;
}





/* Kalendarove styly */
table.calendar {
	clear:both;
	height:45em;
	border:2px solid #4c689a !important;
	width:100%;
}

table.calendar a {
	font-weight:normal;
	color:#4c689a;
}
table.calendar .weekdaysheader th {
	height:1.2em;
	width:20%;
	padding: 2px;
}
table.calendar .weekdaysheader th.weekNumbers {
	width:2em;
}
table.calendar .daysheader th {
	text-align: left;
	padding:3px 5px !important;
	background: #dcebf6;
	color:#0e5184;
	height:1.2em;
}
table.calendar .daysheader th.weekNumber {
	width:2em;
	text-align:center;
	vertical-align:middle;
	background: #4c689a;
}
table.calendar .daysheader th.weekNumber a {
	color:white !important;
}
table.calendar .days td, table.calendar .daysspacer td {
	border-bottom:0  !important;
	border-top:0  !important;
}
table.calendar .daysspacer td { /* Mezera */
	/*height:30px;*/
	vertical-align:bottom !important;
	text-align:right;
}
/* Week calendar */
table.weekCalendar {
	height:27em;
}
table.timeTable {
	/*height:30em;*/
}
.dayLine th { /* Day date */
	height:5em;
}
.dayLine td { /* Day date */
	vertical-align: middle !important;
}
.sessionNumbers th {
	height:1.2em;
	border-bottom:0;
	padding-top:4px;
	width:6% !important;
	text-align:center;
}
.sessionTimes th {
	height:1.2em;
	font-size:80%;
	font-weight:normal !important;
	border-top:0;
	padding-bottom:4px;
	text-align:center;
}
.dayLine th {
	padding:0.3em;
	text-align:center;
	vertical-align:middle;
}

.calendar .dayLine td {
	border-top:0 !important;
	border-bottom:0 !important;
}
.lastDayLine td {
	border-top:0 !important;
}
/* Rozvrh */
.timeTableSession a {
	color: black;
	text-decoration: none;
}
.timeTableSession a:hover {
	text-decoration: none;
}
.timeTableSubstitution a:hover {
	text-decoration: none;
}


/* Table heads */
table .weekdaysheader th,
table .dayLine th,
table .sessionNumbers th,
table .sessionTimes th {
	color: white;
	font-weight: bold;
	background: #4c689a;
}










/* TimeTable */
.timeTable td {
	text-align:center !important;	
}



/* General calendar events */
table.calendar .event {
	/*background-color: #caff77;*/
	color: black;
	/*border-top:1px solid white !important;
	border-bottom:1px solid white !important;
	height:1.2em !important;*/
	padding:2px 2px 0 2px !important;
	height:12px !important;
	font-weight:normal !important;
	vertical-align:top !important;
}
table.calendar .event a {
	font-weight:bold;
	color:black;
}
table.calendar .event a:hover {
	text-decoration:none !important;
}
/*table.calendar .continuesPrevious div {
	background-image:url('../pics/icons/calendar-cont-left.gif');
	background-position:left;
	background-repeat:no-repeat;
	padding-left:20px;
}
table.calendar .continuesNext {
	background-image:url('../pics/icons/calendar-cont-right.gif');
	background-position:right;
	background-repeat:no-repeat;
}*/
table.calendar td.notCurrent {
	background: #d8d8d8 !important;
}
table.calendar th.notCurrent {
	background: #d6dee4;
}
table.calendar .event div {
	border:1px solid;	
	padding:1px 4px;
	position:relative;
	}
	.calendarSubstitution {
		border-color: red !important;
		border-width: 2px;
		background:#ffd583;
	}
		.calendarSubstitution a {
			display:block;
			background:url('../pics/icons/redmark.gif') 0 2px no-repeat;
			padding-left:13px !important;
		}
		.timeTableSubstitution { /* Derived style for holiday in timetables */
			background:url('../pics/icons/redmark.gif') 3px 3px no-repeat #ffd583;
			padding-left:10px !important;
			border-color: red !important;
			border-width: 2px !important;
		}
	.calendarSession {
		border-color:#6b66d8 !important;
		background-color: #dfb5f3;
	}
	.calendarHoliday {
		border-color:#6bb60a !important;
		background-color: #d4edb1;
	}
		table.timeTable .timeTableHoliday { /* Derived style for holiday in timetables */
			background-color: #d4edb1;
		}
	
	.calendarAction {
		border-color:#00b9ca !important;
		background-color: #a1f5ff;	
	}
	.calendarTest {
		border-color:#cf2205 !important;
		background-color: #fda597 !important;
	}
	.calendarUserEvent {
		border-color:#5286cc !important;
		background-color: #b6ceee;
	}
	table.calendar div.hover {
		/*border-color:black !important;*/
		background-image:url('../pics/lighter.png');
	}
		
table.calendar div.editLinks {
	position:absolute;
	top:0;
	right:0;
	border:0;
	padding:1px 2px;
}












 	/* Quick selector */

	#sidebarColumn .dateSelector {
		font-size:100% !important;
		width:100%;
		margin-top:40px;
	}	
	#sidebarColumn .dateSelector th {	
		background:#0B78C1 !important;
		color:white;
		padding:5px 0;
	}
	#sidebarColumn .dateSelector .bottom th {
		background:#085385 !important;	
		padding:2px 0;
	}
	#sidebarColumn .dateSelector th a {
		color:white !important;
	}
	
	
	






	#calendarLegendCaption {
		font-size:100% !important;
		margin-bottom:8px !important;
	}
	#calendarLegend {
		height:1.2em;
		margin:0;	
	}
	
	#calendarLegend dt {
		width:13px;
		height:1.2em;
		float:left;
		margin:0 7px 0 0;
		border:1px solid;
	}
	#calendarLegend dd {
		height:1.2em;
		float:left;
		margin:0 16px 0 0;
		line-height:1.4em;
	}
		





