#header_bevor {
	background-color: rgba(10, 10, 10, 0.3);
	float: right;
	max-width: 1152px;
	padding: 5px;
	width: 300px;
}

@media only screen and (max-width: 1220px), only screen and (max-device-width: 1220px) {
	#header_bevor {
		margin: 0 auto;
		padding: 5px;
	}
}

#index_calendar .forumbg, #calendar .forumbg {
	color: #FFFFFF;
	overflow: hidden; 
	padding:3px;
}

#index-calendar {
	margin: 0;
}

.calendarbg {
	font-size: 12px;
	font-weight: bold;
	padding: 2px 0 5px 0;
	text-align: center;
	text-transform: uppercase;
}

.weeknr {
	font-size: 16px;
	height: 20px;
	width:25px;
	line-height: 16px;
	margin: 20px -4px 0 -14px;
	text-align: center;
	transform:rotate(-90deg); 
	color: #cadceb;
	font-weight: bold;
}

.icon-cal {background-image: url("./images/icon_cal.gif");}
.cal_month_title {
	font-size:12px;
	font-weight:bold;
	height:20px;
	text-align:center;
	margin:3px;
}

.cal_month_title a {
	padding: 0 2px 4px;
}

#calendar select {
	
}

#calendar option:checked {
	-webkit-box-shadow: 0 0 10px 100px #cadceb inset;
	-moz-box-shadow: 0 0 10px 100px #cadceb inset;
	box-shadow: 0 0 10px 100px #cadceb inset;
}

.cal_post {
	font-size:1em;
	padding-left:10px;
	border-radius:7px;
}

.participants table.table1 thead th, .participants table.table1 tbody tr {
	color: #105289;
	border:none;
}

.participants table.table1 td {
	padding: 0 5px;
}

.participants {
	margin-top:15px;
	border-radius:7px;
}

.participants p{
	margin:2px 0 5px;
}

.registration {
	width:400px;
	max-width:100%;
	text-align:center;
	font-size:1em;
	margin-top:10px;
}

.participants select, .participants input, .participants textarea {
	border:none;
	margin:3px; 
	font-size:1.2em;
}

.participants fieldset, .participants dl{
	margin:0px;
}

.participants textarea{
	height:20px;
	width:400px;
	max-width:100%;
}

.week {
	display:flex;
	margin-right: -3px;
}

#index-calendar .week .wday .cal-day {
	text-align: center;
}

#index-calendar .week .wday .sday a {
	font-size: 1.5em;
	margin: 0 1px;
}

.cal-day {
	text-align:left;
}

.day {
	padding:0 0 3px;
	font-weight:bold;
	width:100%;
	overflow: hidden;
	white-space:nowrap;
}

.mon, .tue, .wed, .thu, .fri, .sat, .sun {
	background-color: rgba(10, 10, 10, 0.3);
}

#calendar .wday {
	background-color: rgba(10, 10, 10, 0.6);
	height: 60px;
}

#index-calendar .wday {
	height: 30px;
	text-align: center;
}

#index-calendar .week a.eventbg {
	font-size: 1.5em;
	margin-top: -2px;
}

.wday {
	box-sizing: border-box;
	margin:0.2%;
	width: 13.8%;
	overflow:hidden;
	white-space:nowrap;
}

.today {
	border: 3px solid #105289 !important;
	font-weight:bold;
}

.noday {
	opacity:0.4;
}

.nday {
	box-sizing: border-box;
	font-weight:bold;
	margin:0.2%;
	width: 13.9%;
	text-align:center;
}

.sday {
	display:inline;
}

#calendar .eventbg {
	padding:0 3px;
}

.eventbg {
	border-radius:13px;
}

.event {
	margin-bottom:3px;
}

.event-box {
	margin: 2px 0;
	padding: 2px 5px;
}

.event-box .cal-day {
	
}

.hday {
	margin-left:5px;
}

.event-box .hday, .event-box .eventbg{
	font-size: 1.2em;
	margin-left:0px;
	padding-left:0px;
}

.shday {
	display:none;
}

.kday {
	display:none;
}

.event-legend {
	width:100%;
	height:1.2em;
	margin:10px 0;
	text-align: center;
	padding: 0 0 3px;
	font-weight: bold;
	//background-color: #cadceb;
	overflow: hidden;
	white-space: nowrap;
}

.event-legend:hover{
	height:100%;
}

@media only screen and (max-width: 800px), only screen and (max-device-width: 800px) {
	#index-calendar .week {
		display: none;
	}

	#header_bevor {
		float: none;
	}

	.weeknr {
		font-size: 16px;
		height: 20px;
		width:100%;
		line-height: 1em;
		margin: 20px 0 0 10px;
		text-align: center;
		transform:rotate(0deg); 
		font-weight: bold;
	}

	.sday {
		display:none;
	}

	.event, .week {
		display:unset;
	}

	.event-box, .wday {
		box-sizing: border-box;
		width:100%;
		float:none;
		text-align:left;
		border-radius:0px;
		margin:2px 0;
	}

	.noday {
		display:none;
	}

	.nday {
		display:none;
	}

	.cal-day {
		display:none;
	}

	.kday {
		display:inline;
		line-height:2em;
	}

	.wday {
		min-height:0;
	}

	.event-legend {
		height:100%;
	}
}
