*{
	margin:0;
	padding:0;

}
body {}

.kalender-breite {width: 80%;}
@media(max-width: 1700px) {.kalender-breite {width: 95%;}}


li.kali:last-child {background: rgba(151,219,48,0.25); background: rgba(110,167,176,0.35);}
li.kali:nth-child(3n+6) {background: rgba(151,219,48,0.25); background: rgba(110,167,176,0.35);}

.hintkali{background: rgba(151,219,48,0.4); background: rgba(110,167,176,0.35);}


.calendar-head {
	width:100%;
	text-align: center;
	margin:10px 0;
}
.calendar-head h1{
	display:inline;
}

.calendar-head span:first-child{
	float:left;
	margin-left:50px;
}

.calendar-head span:last-child{
	float:right;
	margin-right:50px;
}

h1,h2{
	margin:10px 0;
}

#calendar {
	width: 100%;	
}

#calendar a {
	color: #8e352e;
	text-decoration: none;
}

#calendar ul {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
}

#calendar li {
	display: block;
	float: left;
	width:14.285%;
	padding: 5px;
	box-sizing:border-box;
	border: 1px solid #999999;
	margin-left: 0px;
	margin-right: -1px;
	margin-bottom: -1px;
}

#calendar ul.weekdays {
	height: 40px;
	background: white;
	margin-bottom:2px;
}

#calendar ul.weekdays li {
	text-align: center;
	text-transform: uppercase;
	line-height: 20px;
	/* border: none !important; */
	padding: 10px 6px;
	color: #005CA7;
	font-size: 13px;
	box-sizing:border-box;
	border: 1px solid rgba(	0, 92, 167,.9);
}

#calendar .days li {
	height: 180px;
	overflow: auto;
}

#calendar .days li:hover {
	background: #d3d3d3;
	background: rgb(255, 221, 0, 0.2);
}

#calendar .date {
	text-align: center;
	margin-bottom: 5px;
	padding: 4px;
	background: #333;
	color: #fff;
	width: 20px;
	border-radius: 50%;
	float: right;
}

#calendar .date-pass {
	text-align: center;
	margin-bottom: 5px;
	padding: 4px;
	background: #32CD32;
	color: #fff;
	width: 20px;
	border-radius: 50%;
	float: right;
}

#calendar .event {
	clear: both;
	display: block;
	font-size: 13px;
	border-radius: 4px;
	padding: 5px;
	margin-top: 40px;
	margin-bottom: 5px;
	line-height: 14px;
	background: #e4f2f2;
	border: 1px solid #b5dbdc;
	color: #009aaf;
	text-decoration: none;
	min-height:90px!important;	
}

#calendar .event-desc {
	color: #666;
	margin: 3px 0 7px 0;
	text-decoration: none;	
}

#calendar .other-month {
	background: #cccccc;
	color: #666;

}

form *
{
	 width:100%;
}

input[type=submit],button
{
	background:inherit;
	color:blue;
	border:none;
}
/*
input[type=submit]:hover,button:hover
{
	cursor:pointer;
}
*/


.dayswork * {box-sizing:border-box; }

.dayswork ul.lehrmittel {list-style:none;}
.dayswork ul.lehrmittel li
{
	border:1px dotted lightgrey;
}


@media(max-width: 1280px) {

#calendar .event {
	clear: both;
	display: block;
	font-size: 13px;
	border-radius: 4px;
	padding: 5px 0 3px 0;
	margin-top: 6px;
	margin-bottom: 3px;
	line-height: 12px;
	background: #e4f2f2;
	border: 1px solid #b5dbdc;
	color: #009aaf;
	text-decoration: none;
	min-height:50px!important;	
}

	#calendar .weekdays, #calendar .other-month {
		display: none;
	}

	#calendar li {
		height: auto !important;
		border: 1px solid #999999;
		width: 100%;
		padding: 10px;
		margin-bottom: -1px;
	}

	#calendar .date {
		float: none;
	}
	.calendar-head h1{
	display:block;
	font-size:1.4em;
	font-weight:bold;
	}

	.calendar-head span:first-child{
		display:block;
		float:none;
		 margin-left:0px;
		 margin-bottom:5px; 
	}

	.calendar-head span:last-child{
		display:block;
		float:none;
		 margin-right:0px;
		 margin-top:5px; 
	}
}
