
.cal_hdr {
	text-align: center;
	margin-top: 20px;
}

.cal_btn {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
}

.cal_btn .btn6 {
	height: 40px;
	padding: 9px 20px;
}

.cal-prev, .cal-next {
	display: inline-block;
	cursor: pointer;
	vertical-align: middle;
}

.cal-prev img, .cal-next img {
	vertical-align: middle;
}

.cal-date {
	margin-left: 15px;
	margin-right: 15px;
	display: inline-block;
	font-size: 23px;
	vertical-align: middle;
}

.btn_date_wrap {
	display: inline-block;
	position: relative;
}

#cal_datepicker {
	position: absolute;
	top: 55px;
	z-index: 100;
}

.cal_cal {
	display: block;
	width: 100%;
	border: 1px solid #898989;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
	color: black;
	margin-top: 40px;
}

.cal_header {
	display: block;
	width: 100%;
	height: 63px;
	position: relative;
	background-color: #999999;
	font-weight: bold;
}

.cal_header_broom {
	border-right: 1px solid #160303;
	display: block;
	width: 96px;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 22px;
	text-align: center;
	padding-top: 14px;
}

.cal_header_time {
	border-right: 1px solid #160303;
	display: block;
	/*width: 180px;*/
	height: 100%;
	position: absolute;
	top: 0;
	font-size: 18px;
	text-align: center;
	padding-top: 17px;
}

.cal_header_time.cal_last_field {
	border-right: 0;
}

.cal_row {
	border-bottom: 1px solid #160303;
	display: block;
	width: 100%;
	height: 92px;
	position: relative;
	background-color: white;
}

.cal_row.cal_last_row {
	border-bottom: 0;
}

.cal_row_day {
	font-weight: bold;
	border-right: 1px solid #160303;
	display: block;
	width: 96px;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 18px;
	text-align: center;
	padding-top: 33px;
}

.cal_row_field {
	border-right: 1px solid #160303;
	display: block;
	/*width: 180px;*/
	height: 100%;
	position: absolute;
	top: 0;
}

.cal_row_field.cal_last_field {
	border-right: 0;
}

.cal_event {
	display: table;
	height: 82px;
	top: 5px;
	position: absolute;
	overflow: hidden;
	border-left: 2px solid #414141;
	border-top: 2px solid #414141;
	border-right: 2px solid #160303;
	border-bottom: 2px solid #160303;
	box-shadow: 2px 2px 4px 0 rgba(0,0,0,0.4);
	border-radius: 5px;
	font-size: 12px;
}

.cal_event_title {
	font-weight: bold;
	text-align:center;
	padding-bottom: 5px;
}

.cal_event_lector {
	font-style: italic;
	text-align:center;
	padding-bottom: 5px;
}

.cal_event_time {
	text-align:center;
}

.cal_event_wrp {
	vertical-align: middle;
	display: table-cell;
}

#cal_content {
	padding: 0 1px 0 0px;
	margin-bottom: 20px;
	overflow-x: auto;
}

.calWrp {
	display: block;
	width: 100%;
	position: relative;
	min-width: 400px;
	/*border-radius: 7px;*/
	/*border: 2px solid black;*/
	/*background-color: gray;*/
}

.calHdr {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	height: 30px;
	width: 100%;
	color: #f1f1f1;
	/*border-bottom: 1px solid black;*/
}

.calHdrItm {
	display: block;
	height: 30px;
	width: 14.3%;
	/*border-right: 1px solid black;*/
	border-top: 1px solid #e3e3e3;
	border-bottom: 1px solid #e3e3e3;
	position: absolute;
	top:0;
	background: #8a8a8a;
	padding-top: 5px;
	text-align: center;
}

.calHdrItm.lastCol {
	/*border-right: 0;*/
	border-right: 1px solid #e3e3e3;
	border-top-right-radius: 7px;
}

.calHdrItm.firstCol {
	border-left: 1px solid #e3e3e3;
	border-top-left-radius: 7px;
}

.calRow {
	display: block;
	position: absolute;
	left: 0;
	width: 100%;
	/*border-bottom: 1px solid black;*/
}

.calRow.lastRow {
	border-bottom: 0px;
}


.calRowItm {
	display: block;
	min-height: 75px;
	width: 14.3%;
	border-right: 1px solid #e3e3e3;
	border-bottom: 1px solid #e3e3e3;
	background-color: white;
	color: gray;
	position: absolute;
	top:0;
	text-align: center;
}

.calRowItm.firstCol {
	border-left: 1px solid #e3e3e3;
}

.calRowItm.lastCol {
	/*border-right: 0;*/
}

.calRow.lastRow .calRowItm.firstCol {
	border-bottom-left-radius: 7px;
}

.calRow.lastRow .calRowItm.lastCol {
	border-bottom-right-radius: 7px;
}

.calRowItm.actMonth {
	color: black;
}

.calEvent {
	border-radius: 5px;
	border: 1px solid black;
	position:absolute;
	overflow: hidden;
	height: 17px;
	font-size: 13px;
	line-height: 14px;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding-left: 5px;
	padding-right: 5px;
}

#cal_content .legenda{
	display:inline-block;
	width:10px;
	height:10px;
	margin-right: 4px;
	margin-left: 3px;
}

#cal_content .jednaniOrganu {
	background: #a193ff;
}

#cal_content .termin {
	background: #ff9393;
}

#cal_content .mezinarodni {
	background: #e293ff;
}

#cal_content .vzdelavaci {
	background: #93dbff;
}

#cal_content .tabor {
	background: #ffdf93;
}

#cal_content .akce {
	background: #93ff9c;
}

.calBtn {
	color: #0070af;
	padding: 2px 8px 2px 8px;
	border-radius: 7px;
	text-transform: uppercase;
	display: inline-block;
	font-size: 13px;
	text-shadow: 1px 1px 2px #808080;
	cursor: pointer;
}

.calendartable {
	width: 100%;
}

.calendartable .erow {
	background-color: #FFF3CE;
}

.calendartable th{
	text-transform: uppercase;
	border-bottom: 1px solid #ABADB3;
	text-align: left;
}

.calendartable td {
	font-size: 14px;
}

.calendartable a {
	text-decoration: underline;
}


@media screen and (max-width: 950px) {
	.cal_header_broom {
		font-size: 18px;
		padding-top: 18px;
	}
	
	.cal_header_time {
		font-size: 14px;
		padding-top: 21px;
	}
	
	.cal_row_day {
		font-size: 14px;
		padding-top: 37px;
	}
	

}

@media screen and (max-width: 800px) {
	.cal_header_time {
		display: none;
	}
	
	.cal_row_field {
		display: none;
	}
	
	.cal_header_broom {
		position: unset;
		display: block;
		width: unset;
		border-right: 0;
	}
	
	.cal_row {
		height: unset;
		text-align: center;
	}
	
	.cal_row_day {
		position: unset;
		display: block;
		width: unset;
		border-right: 0;
		padding-top: 20px;
		padding-bottom: 15px;
	}
	
	.cal_event {
		position: unset;
		margin-top: 5px;
		display: inline-block;
		padding: 9px 10px;
	}
}

