#calendar-form { margin-top: 30px; }
#calendar-head { font-size: 1.2em; }

#weekplan-container { margin-left: 0; }
#weekplan-container .calendarweek { text-align: center; }
#times { max-height: 985px; max-height: calc(100vh - 370px); }
#calendar { 
	max-height: 1005px; max-height: calc(100vh - 350px);
	overflow: scroll;
}
#header td, #values td, #fulltime td { min-width: 250px!important; max-width: 250px!important; }

#fulltime { overflow: hidden; }

#values td { position: relative; }
.timeblock {
	box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
	display: block;
}
#calendar .timeblock { 
	background: #efefef;
	border: 1px solid #ddd;
	color: #aaa;	
	padding: 0.4em;
	position: absolute; top: 0; 
}
#fulltime .timeblock {
	background: #f1c40f;
	margin: 2%;
	padding: 4px;
	text-align: left;
	width: 96%!important;
}
#calendar .timeblock.main {
	background: #eef;
	border-color: #a9bec7;
	color: #a9bec7;
} 
#calendar .timeblock:hover {
	height: auto!important;
	left: 0!important; z-index: 100!important;
	width: 100%!important;
}

.prefollowuptime {
	background: #ddd;
	left: -1px; right: -1px;
	width: auto;
}
.timeblock.main .prefollowuptime { background: #a9bec7; }
.timeblock.angefragt {
	background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 50%, transparent)!important;
    background-size: 50px 50px!important;
}
.timeblock.main.angefragt { border-color: #a9bec7!important; }
.timeblock.event { 
	background: #A2DED0!important;
	border-color: #90C695!important;
	color: #019875!important;
}
.timeblock.course, .timeblock.unit { 
	background: #F5D76E!important;
	border-color: #F7CA18!important;
	color: #333!important;
}
.timeblock .container {
	box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
	height: 100%;
	line-height: 120%;
	overflow: hidden;
	position: relative;
}
#calendar .timeblock .controls {
	display: none;
	position: absolute; top: 0; right: 0; z-index: 1;
}
#fulltime .timeblock .controls {
	display: inline-block;
	float: right;
	width: 23%;
}
.timeblock .title {
	font-weight: bold; font-size: 12px;
	margin-bottom: 5px;
}
#calendar .timeblock:hover .controls { display: block; }
#calendar .timeblock:hover .title, #fulltime .timeblock .title {
	display: inline-block;
	width: 75%;
}
.timeblock .status { 
	font-weight: 600;
	margin-top: 10px;
}
.timeblock .comment {
	clear: both;
	margin-top: 10px;
	white-space: pre-wrap;
} 

.addfulltime-container a {
	border: 1px solid #333;
	box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
	display: inline-block;
	font-size: 20px;
	line-height: 25px;
	margin-top: 5px;
	text-decoration: none;
	vertical-align: middle;
	width: 25px; height: 25px;
}
.addfulltime-container a:hover { background: #aaa; }