/*
Modifying CAL-Extension
*/

/* Breite nur month-view begrenzen */
.tx-cal-controller .view-header {
	margin-left: 15%;
	margin-top: -1.5em;
	max-width: 70%;
}

	/* hide ugly header-buttons */
	.tx-cal-controller .header-buttons {
		display: none;
	}

	/* Text in Listen wieder markierbar machen */
	.tx-cal-controller .list-view .vevent {
		-moz-user-select: text;
		cursor: auto;
	}

	.tx-cal-controller > .list-view > h1 {
		visibility: hidden;
	}

	/* Nur Anzeige-Zeitraum ausblenden */
	.tx-cal-controller .list-view .vevent .dtstart-container,
	.tx-cal-controller .list-view .vtodo .dtstart-container {
		float: none;
		margin-right: 0;
		text-align: left;
		width: 13em;
		font-weight: normal;
	}

	/* month view */

	.tx-cal-controller .previous-button img,
	.tx-cal-controller .next-button img {
		width: 0.8em;
		height: 1.4em;
	}

	.tx-cal-controller .view-header h1 {
		margin-top:0;
		font-size: 1.0em;
		font-weight: 400;
		color: #7f7f7f;
	}

	/* ============ table ============ */
	.tx-cal-controller .month-large {
		margin-top: 0.5em;
		border-top: 1px dotted #CCCCCC;
		border-bottom: none;
	}

	/* ============ KOPFZEILE / FUSSZEILE ============ */

	/* Kopfzeile */
	.tx-cal-controller .month-large thead th {
/**/		border-bottom: 5px solid #2DAC62;
		color: #565656;
		padding: 0.5em;
	}

	/* Fu�zeile */
	.tx-cal-controller .month-large tbody tr:last-child td {
	border-bottom: 1px solid white;
	}

	/* KW ausblenden */
	.tx-cal-controller .month-large .month-weeknums {
	    display: none;
	    width: 2em;
	}

	/* ============ ALLE ZELLEN ============ */

	/* td ALLE */
	.tx-cal-controller .month-large td {
		border-top: none;
		border-left: 1px solid #fff;
		border-right: 1px solid #fff;
		border-bottom: 1px solid #fff;
		vertical-align: top;
	}

	/* ============ Zellen Wochentage ============ */

	/* th Wochentage */
	.tx-cal-controller .month-small th,
	.tx-cal-controller .month-medium th,
	.tx-cal-controller .month-large th {
		background-color: #fff;
	}

	/* ============ Zellen Tageszahlen ============ */

	/* td Tageszahlen */
	.tx-cal-controller .month-large tr.days td {
		padding: 0.4em 0.2em 0.5em 0.2em;
/**/		border: 1px solid #fff;
/**/		border-top: 2px solid #696969;
/*		border: 1px solid blue; */
	}
	.tx-cal-controller .month-large .dayNum,
	.tx-cal-controller .month-medium .dayNum {
/*		background-color: #bebeb5; */
/**/		background-color: #b3bfca;
		border-bottom: medium none;
		border-right: 1px solid #fff;
		font-size: 1em;
		color: #fff;
		line-height: 12px;
		text-align: center;
	}

	/* ============ Zellen NORMAL ============ */

	/* Tabellen-Zellen empty und event */
	.tx-cal-controller .month-large td.empty,
	.tx-cal-controller .month-large td.event {
/**/		background-color: #fff;
/*		border: 1px solid green; */
	}

	/* Event-Zellen */
	.tx-cal-controller .month-large td.event {
		padding: 0.4em 0.4em 0 0.4em;
		font-size: 90%;
	}

	/* Leere Zellen */
	.tx-cal-controller .month-large td.empty {
		padding: 0.5em 0;
	}


		/* Event-Span */
		.tx-cal-controller .month-large div.vevent,
		.tx-cal-controller .month-large div.vtodo {
		    white-space: normal;
		}


	/* ============ Zellen Zwischenraum ============ */

	/* Tabellen-Zellen Zwischenraum (create-view?) */
	.tx-cal-controller .month-large tr.create td {
		padding:0.35em;
		line-height: 0.1em;
		border: none;
	}

	/* ============ WEEKEND ============ */

	/* RESET DES PROBLEMS IN von CAL generiertem "cal.css" NACH UPGRADE AUF TYPO3 7.6 + CAL 1.9.3 */
	.tx-cal-controller .month-large td.weekday,
	.tx-cal-controller .month-large .weekday0,
	.tx-cal-controller .month-large .weekday1,
	.tx-cal-controller .month-large .weekday2,
	.tx-cal-controller .month-large .weekday3,
	.tx-cal-controller .month-large .weekday4,
	.tx-cal-controller .month-large .weekday5,
	.tx-cal-controller .month-large .weekday6,
	.tx-cal-controller .month-large .weekday7,
	.tx-cal-controller .month-large .currentDay {
	  height: auto;
	  font-size: 1em;
	}
	/* RESET DES PROBLEMS IN von CAL generiertem "cal.css" NACH UPGRADE AUF TYPO3 7.6 + CAL 1.11.1 */
	.tx-cal-controller .month-large .eventCountIs1, .tx-cal-controller .month-large .emptyWeek .empty {height: auto;}
	.tx-cal-controller .month-large .eventCountIs2 {height: auto;}

	/* Weekend cells */
	.tx-cal-controller .month-large td.weekday0,
	.tx-cal-controller .month-large td.weekday6 {
/**/		background-color: #ebeae7;
	}

	/* ============ Zellen inaktiv ============ */

	/* Tageszahlen-Zellen aus anderen Monaten absoften */
	.tx-cal-controller .month-large tr.days td.monthOff {
		/*
		background-color: #dde3e7;
		border: 1px solid #fff;
		border-right: none;
		color: #fff;
		*/
	}

	/* Tabellen-Zellen aus anderen Monaten absoften */
	.tx-cal-controller .month-large td.monthOff {
		/*
		border: 1px solid #fff;
		background-color: #fff;
		*/
	}

		/* Events aus anderen Monaten ausblenden */
		.tx-cal-controller .month-large td.monthOff div {
			/* Deaktivieren seit cal 1.11.1, da .monthOff IMMER gerendert wird... Bug? */
			/* display: none; */
			display: block;
		}






	/* ============= Event styles ================ */

	/* Alle Labels ausblenden */
	.tx-cal-controller .month-large .summary {
		display: none;
	}

	/* green */
	.tx-cal-controller div.green_catheader dl,
	.tx-cal-controller div.green_catheader_allday {
		background-color: transparent;
		padding-bottom: 2px;
		border: 0;
		border-top: 3px solid #4CB052;
		color: #000;
	}
		/* Text color */
		.tx-cal-controller .green_catheader_allday a .summary,
		.tx-cal-controller .green_catheader_allday a:visited .summary,
		.tx-cal-controller .green_catheader dd a,
		.tx-cal-controller .green_catheader dd a:visited {
			/*
			color: #565656 !important;
			*/
			color: #0D7813 !important;
		}

	/* grey */
	.tx-cal-controller div.grey_catheader dl,
	.tx-cal-controller div.grey_catheader_allday {
		background-color: transparent;
		padding-bottom: 2px;
		border: 0;
		border-top: 3px solid #8997A5;
		color: #000;
	}
		/* Text color */
		.tx-cal-controller .grey_catheader_allday a .summary,
		.tx-cal-controller .grey_catheader_allday a:visited .summary,
		.tx-cal-controller .grey_catheader dd a,
		.tx-cal-controller .grey_catheader dd a:visited {
			/*
			color: #565656 !important;
			*/
			color: #4E5D6C !important;
		}

	/* orange */
	.tx-cal-controller div.orange_catheader dl,
	.tx-cal-controller div.orange_catheader_allday {
		background-color: transparent;
		padding-bottom: 2px;
		border: 0;
		border-top: 3px solid #F2A640;
		color: #000;
	}
		/* Text color */
		.tx-cal-controller .orange_catheader_allday a .summary,
		.tx-cal-controller .orange_catheader_allday a:visited .summary,
		.tx-cal-controller .orange_catheader dd a,
		.tx-cal-controller .orange_catheader dd a:visited {
			/*
			color: #565656 !important;
			*/
			color: #BE6D00 !important;
		}

	/* blue */
	.tx-cal-controller div.blue_catheader dl,
	.tx-cal-controller div.blue_catheader_allday {
		background-color: transparent;
		padding-bottom: 2px;
		border: 0;
		border-top: 3px solid #668CD9;
		color: #000;
	}
		/* Text color */
		.tx-cal-controller .blue_catheader_allday a .summary,
		.tx-cal-controller .blue_catheader_allday a:visited .summary,
		.tx-cal-controller .blue_catheader dd a,
		.tx-cal-controller .blue_catheader dd a:visited {
			/*
			color: #565656 !important;
			*/
			color: #2952A3 !important;
		}

	/* yellow */
	.tx-cal-controller div.yellow_catheader dl,
	.tx-cal-controller div.yellow_catheader_allday {
		background-color: transparent;
		padding-bottom: 2px;
		border: 0;
		border-top: 3px solid #E0C240;
		color: #000;
	}
		/* Text color */
		.tx-cal-controller .yellow_catheader_allday a .summary,
		.tx-cal-controller .yellow_catheader_allday a:visited .summary,
		.tx-cal-controller .yellow_catheader dd a,
		.tx-cal-controller .yellow_catheader dd a:visited {
			/*
			color: #565656 !important;
			*/
			color: #AB8B00 !important;
		}

	/* red */
	.tx-cal-controller div.red_catheader dl,
	.tx-cal-controller div.red_catheader_allday {
		background-color: transparent;
		padding-bottom: 2px;
		border: 0;
		border-top: 3px solid #D96666;
		color: #000;
	}
		/* Text color */
		.tx-cal-controller .red_catheader_allday a .summary,
		.tx-cal-controller .red_catheader_allday a:visited .summary,
		.tx-cal-controller .red_catheader dd a,
		.tx-cal-controller .red_catheader dd a:visited {
			/*
			color: #A32929 !important;
			*/
			color: #565656 !important;
		}

	/* pink */
	.tx-cal-controller div.pink_catheader dl,
	.tx-cal-controller div.pink_catheader_allday {
		background-color: transparent;
		padding-bottom: 2px;
		border: 0;
		border-top: 3px solid #9e2511;
		color: #000;
	}
		/* Text color */
		.tx-cal-controller .pink_catheader_allday a .summary,
		.tx-cal-controller .pink_catheader_allday a:visited .summary,
		.tx-cal-controller .pink_catheader dd a,
		.tx-cal-controller .pink_catheader dd a:visited {
			/*
			color: #565656 !important;
			*/
			color: #B1365F !important;
		}

	/* default */
	.tx-cal-controller div.default_catheader dl,
	.tx-cal-controller div.default_catheader_allday {
		background-color: transparent;
		padding-bottom: 2px;
		border: 0;
		border-top: 3px solid #668CD9;
		color: #000;
	}
		/* Text color */
		.tx-cal-controller .default_catheader_allday a .summary,
		.tx-cal-controller .default_catheader_allday a:visited .summary,
		.tx-cal-controller .default_catheader dd a,
		.tx-cal-controller .default_catheader dd a:visited {
			/*
			color: #565656 !important;
			*/
			color: #2952A3 !important;
		}
