#header_bevor {
	background-color: #fff;
    border-color: #e6e9ed;
	border-radius: 8px;
    margin: 0 auto;
    max-width: 1152px;
    padding: 0 15px;
}
@media only screen and (max-width: 1220px), only screen and (max-device-width: 1220px) {
	#header_bevor{
		margin: 0 12px;
	}
}
#index_calendar .forumbg, #calendar .forumbg {
	color: #FFFFFF;
	overflow: hidden; 
	padding:3px;
}
.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 {
    background-color: #ecf3f7;
    color: #536482;
	border: none;
	font-weight: bold;
	border: 2px solid #cadceb;
    border-radius: 7px;
	padding: 0 2px 4px;
}
#calendar select {
    background-color: #ecf3f7;
    color: #536482;
	border: none;
	font-weight: bold;
	border: 2px solid #cadceb;
    border-radius: 7px;
}
#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 {
    color: #105289;
	border: 2px solid #FFFFFF;
	margin-top:15px;
	padding:5px;
	border-radius:7px;
}
.participants p{
	margin:2px 0 5px;
	font-weight:bold;
}
.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-bottom:3px;
}
.cal-day {
	text-align:left;
	padding:0 0 3px;
	font-weight:bold;
	background-color: #cadceb;
	overflow: hidden;
	white-space:nowrap;
}
.day {
	color:#105289;
	background-color: #cadceb;
	padding:0 0 3px;
	font-weight:bold;
	width:100%;
	overflow: hidden;
	white-space:nowrap;
}
.mon, .tue, .wed, .thu, .fri {
	background-color:#ecf3f7;	
} 
.sat {
	background-color:#ddeaf4;
}	
.sun {
	background-color:#D3E3F3;
}
.today {
	border: 3px solid #105289 !important;
	font-weight:bold;
}
.noday {
	opacity:0.4;
}
.nday {
    box-sizing: border-box;
	color:#105289;	
	font-weight:bold;
	margin:0.2%;
	width: 13.9%;
	text-align:center;
}
.wday {
    border-radius: 7px;
	border: 2px solid #cadceb;
    box-sizing: border-box;
	margin:0.2%;
	width: 13.8%;
	min-height: 60px;
	overflow:hidden;
	white-space:nowrap;
}
.sday {
	display:inline;
}
.eventbg {
	border-radius:13px;
	padding:0 3px;
}
.event {
 	display:flex;
	margin-bottom:3px;
}
.event-box {
    border-radius: 7px;
	border: 2px solid #cadceb;
    box-sizing: border-box;
	margin:0.2%;
	width: 13.9%;
	overflow:hidden;
	white-space:nowrap;
	text-align:center;
}
.event-box .cal-day {
	text-align:center;
}
.hday {
	margin-left:5px;
}
.event-box .hday, .event-box .eventbg{
	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,
	#calendar {
		margin-left: -2px;
		margin-right: -2px;
		font-size: 11px;
	}

	.cal_month_title {
		height: auto;
		margin: 8px 0 10px;
		font-size: 13px;
	}

	.cal_month_title a,
	#calendar select {
		font-size: 13px;
		padding: 4px 6px;
	}

	.week {
		display: flex;
		align-items: stretch;
		gap: 0;
		margin-bottom: 2px;
	}

	.weeknr {
		display: none;
	}

	.nday {
		display: block;
		width: 14.285%;
		margin: 0;
		padding: 5px 1px;
		font-size: 10px;
		line-height: 1.1;
		background: #d3e3f3;
		border: 1px solid #fff;
	}

	.event-box,
	.wday {
		width: 14.285%;
		float: none;
		text-align: left;
		border-radius: 3px;
		border-width: 1px;
		margin: 0;
		min-height: 56px;
		white-space: normal;
		overflow: hidden;
	}

	.noday {
		display: block;
		visibility: hidden;
	}

	.day {
		display: block;
		font-size: 10px;
		line-height: 1.15;
		padding: 2px 1px;
		white-space: normal;
		text-align: center;
	}

	.cal-day {
		display: block;
		font-size: 9px;
		line-height: 1.1;
		padding: 1px;
		white-space: normal;
	}

	.sday {
		display: block;
		font-size: 9px;
		line-height: 1.15;
		margin: 1px;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.kday {
		display: none;
	}

	.eventbg {
		display: block;
		border-radius: 4px;
		padding: 1px 2px;
		white-space: normal;
	}

	.today {
		border-width: 2px !important;
	}

	.event-legend {
		height: 100%;
		white-space: normal;
		font-size: 11px;
	}
}
