/*
 * Kalender in der Sidebar
 * in div#calendar
 */

#calendar {
	border-width: 0 1px 1px 1px;
}

#calendar table tr th, #calendar table tr td {
	line-height: 100%;
	text-align: center;
}

#calendar table tr th {
	padding: 2px 0 1px;
}

#calendar table tr th a.previous {
	position: static;
}

#calendar table tr th a.next {
	position: static;
}

#calendar table tr th span:hover, #calendar table td span:hover {
	text-decoration: underline;
}

#calendar table tr td {
	padding: 3px;
	text-align: center;
}

#calendar table tr td.inactive {
	background-color: #CCC;
}

#calendar table tr td.heute {
	font-weight: bold;
}

#calendar table tr td p.daynumber a, #calendar table tr td.inactive p.daynumber a {
	color: #000;
	font-weight: bold;
}

#calendar .event {
	background: #789;
}

#calendar .event p.daynumber {
	color: #FFF;
}


/* Kalender PopUp - Body Anfang
 * in div#calendermax
 */

#calendar_max * {
	font-size: 14px;
}

#calendar_max table tr th, #calendar_max table tr td {
	line-height: 100%;
	text-align: center;
}

#calendar_max table tr th {
	padding: 12px 0 8px;
}

#calendar_max table tr th a.previous {
	position: static;
}

#calendar_max table tr th a.next {
	position: static;
}

#calendar_max table tr td {
	border-width: 1px;
	padding: 20px;
	text-align: center;
}

#calendar_max table tr td:hover {
	background-color: #789;
}

#calendar_max table tr td:hover * {
	color: #FFF;
}

#calendar_max table tr td.inactive {
	background-color: #CCC;
}

#calendar_max table tr td.heute {
	font-weight: bold;
}

#calendar_max table tr td p.daynumber a, #calendar_max table tr td.inactive p.daynumber a {
	color: #000;
	font-weight: bold;
}

#calendar .event {
	background: #789;
}

#calendar .event p.daynumber {
	color: #FFF;
}


#calendermax table {
	width:100%;
	height:300px;
}

#calendermax table th { }

#calendermax table th.wochentag { }

#calendermax table th a {
	color:#000;
	text-decoration:none;
	font-weight:bold;
	display:block;
}

#calendermax table th a:hover {
	text-decoration:underline;
}

#calendermax table td {
	padding:3px;
	background:#EEE;
	vertical-align:top;
}

#calendermax table td a {
	color:#000;
	text-decoration:none;
}

#calendermax table td .month, #calendermax table td .year {
	text-align:center;
	display:block;
	margin:auto;
	height:100px;
}

#calendermax table td .month:hover, #calendermax table td .year:hover {
	background:#DDD;
}

#calendermax p.event {
	font-size:8px;
	background:transparent;
}



/* Kalender Commons */

#calender table td p.daynumber,
#calendermax table td p.daynumber { /* Nummer des Tages */
	text-align:right;
	display:block;
	margin:0;
}

#calender table td.inactive,
#calendermax table td.inactive { /* Tage im Vor- oder nächsten Monat */
	background:#CCC;
}

#calender table td.heute,
#calendermax table td.heute { /* heutiger Tag */
	font-weight:bold;
}

/* Navigationspfeile Beginn */
#calender table th.navl,
#calendermax table th.navl { /* links */
	text-align:left;
	padding-left:4px;
}
#calender table th.navr,
#calendermax table th.navr { /* rechts */
	text-align:right;
	padding-right:4px;
}
/* Navigationspfeile Ende */

#calender table td a:hover,
#calendermax table td a:hover {
	text-decoration:underline;
}

