/* Created by NolfCZ 2020 */
@font-face{
	font-family: "SokolF";
	src: url("SokolF.woff2") format("woff2");
}

@font-face{
	font-family: 'SokolT';
	src: url("SokolT.woff2") format("woff2");
}

body{
	background: #FFF url('../grafika/swirl-bg-grey.png') 0 0;
	margin: 0;
	padding: 0;
	text-align: center;
	font-family: sans-serif;
	font-size: 13px;
}

table{
	width: 100%;
}



table tr td{
	font-size: 12pt;
}

a{
	text-decoration: none;
	color: #6A6A6A;
	cursor: pointer;
}

a:hover{
	color: #1A1A1A;
}

span.clr{
	clear: both;
	display: block;
	width: 100%;
	height: 10px;
}

#hlavni{
	width: 70%;
	min-width: 1300px;
	margin: 10px auto;
	text-align: left;
	color: #444;
	background-color: #ffffff;
	position: relative;
}

	#admin{
		width: 100%;
		height: 30px;
		float: left;
		background: linear-gradient(#444, #aaa);
		color: #fff;
		border-left: 1px #444 solid;
		border-right: 1px #444 solid;
		border-top: 1px #444 solid;
	}
		
		.filtr{
			margin: 0;
			margin-bottom: 20px;
			padding: 10px;
			width: 88%;
			border: 1px #E6E6FF dotted;
			/*float: left;*/
			background-color: #E6E6FF;
		}
		
			.filtr #nadpis{
				border: 1px #2d2e88 solid;
			}
			
			#filtr_submit{
				width: 100px;
				height: 30px;
				background-color: #2d2e88;
				color: #FFF;
				border: 0;
				margin-left: 3px;
			}
			
			.filtr #typ{
				border: 1px #2d2e88 solid;
				height: 24px;
			}
			
			.filtr #autor{
				border: 1px #2d2e88 solid;
				height: 24px;
			}
			
			.filtr #vytvoreno{
				border: 1px #2d2e88 solid;
				height: 24px;
			}
			
			.filtr #editor{
				border: 1px #2d2e88 solid;
				height: 24px;
			}
			
			.filtr #upraveno{
				border: 1px #2d2e88 solid;
				height: 24px;
			}
			
			.filtr #zrusit{
				width: 100px;
				height: 30px;
				background-color: #c8001e;
				color: #FFF;
				border: 0;
			}
			
			.filtr table{
				margin: auto auto 20px 0
			}
			
			.filtr #zrusit:hover, #filtr_submit:hover{
				cursor: hand;
			}
			
		#admin nav ul{
			display: block;
			height: 30px;
			margin: 0;
			padding: 0;
			float: left;
			list-style-type: none;
		}
		
		#admin nav ul li{
			float: left;
			margin-top: 7px;
			border-right: 1px #aaa solid;
			width: 80px;
			text-align: center;
		}
		
		#admin nav ul li a{
			text-decoration: none;
			color: #fff;
		}
		
		#admin nav ul li a:hover{
			color: #333;
		}
		
		#admin a.logout{
			width: 130px;
			height: 30px;
			float: right;
			margin: 7px 10px;
			text-decoration: none;
			color: #fff;
		}
		
		#admin a.logout:hover{
			color: #333;
		}

#hlavicka{
	margin: 0;
	padding: 0;
	width: 100%;
	height: 250px;
	float: left;
	background: #FFF url(../grafika/h_sokol.png) no-repeat 100% 0;
	border-left: 1px #c8001e solid;
	border-right: 1px #c8001e solid;
	border-top: 1px #c8001e solid;
}
	#logo{
		max-width: 250px;
		max-height: 250px;
		margin: 0 10px 0 0;
		padding: 0;
		float: left;
	}
	
	#hlavicka_obsah{
		float: left;
	}
	
	#hlavicka img{
		margin: 10px;
		padding: 0;
	}
	
	#hlavicka h1{
		color: #c8001e;
		font-size: 4em;
		font-family: "SokolF";
		margin-top: 40px;
		margin-left: 40px;
		float: left;
	}
	
	#hlavicka h2{
		color: #969696;
		font-size: 2em;
		font-family: "SokolT";
		margin: 0 auto auto 44px;
		float: left;
		clear: left;
	}
	
	.hlavicka_hr{
		display: block;
		width: 100%;
		height: 1px;
		float: left;
		background-image: linear-gradient(to right,  #c8001e, #ffffff, #ffffff, #c8001e);
		margin-top: 7px;
		clear: both;
	}
	
#obal{
	width: 100%;
	margin: 0;
	padding:0;
	background: transparent; 
	float: left;
}
	#menu{
		width: 17%;
		min-width: 200px;
		margin: 0 0 10px 0;
		padding: 0;
		float: left;
		font-size: 1.5em;
	}
		#menu nav ul{
			display: block;
			list-style-type: none;
			margin: 0;
			padding: 0;
			white-space: nowrap;
		}
		
		#menu nav ul li{
			border-bottom: 1px #E40521 solid;
		}
		
		#menu nav ul li:hover{
			background-color: #2d2e88;
		}
		
		#menu nav .level0>li{
			display: block;
			margin: 0;
			text-align: left;
		}
		
		#menu nav a{
			position: relative;
			display: block;
			background: rgba(228,5,33,100%);
			color: #FFFFFF;
			padding: 5px 10px;
		}
		
		#menu nav a:hover{
			background-color: #2d2e88;
		}
		
		menu nav a:active{
			background-color: #2d2e88;
		}
		
		#menu nav li:hover>a{
			
			cursor: pointer;
		}
		
		#menu nav .level1{
			position: absolute;
			display: none;
		}
		
		#menu nav .level2{
			position: absolute;
			display: none;		
		}
		
		#menu .level1 li{
			position: relative;
			mardin: 0;
		}
		
		.level1 a{
			background: #ee1d23 !important;
			border-bottom: 1px #c8001e solid;
			font-size: 1.1em;
		}
		
		.level1 a:hover{
			background: #2d2e88 !important;
		}
		
		#menu nav .level1{
			font-size: 0.8em;
			transform: translate(120%, -25%);
		}
		
		#menu nav .level2{
			top: 0;
			right: 0;
			transform: translate(100%, 1%);
		}
		
		#menu .level0>li:hover .level1{
			display: block;
		
		}
		#menu .level1>li:hover .level2{
			display: block
		} 
	
	#calendar{
		width: 16.88%;
		padding: 0;
		margin: 0;
		margin-bottom: 10px;
		border: 1px #2d2e88 solid;
		text-align: center;
		background-color: #ffffff;
		clear: left;
		float: left;
	}
	
		#calendar h4{
			margin-bottom: 5px;
			color: #888;
			font-size: 0.9em;
		}
		
		#calendar p{
			margin-top: 5px;
			margin-bottom: 10px;
		}
	
		table.calendar{
			text-align: center;
			border-collapse: collapse;
		}
		
		table.calendar tr.calendar-dny{
			border-bottom: 1px #aaaaaa solid;
		}
		
		table.calendar td.calendar-dnes{
			font-weight: bold;
			text-decoration: underline;
		}
		
	
	#prava{
		width: 19%;
		margin-left: 5px;
		float: right;
	}
	#upozorneni{
		width: 100%;
		margin: 5px 10px 5px 0;
		padding: 0;
		border: 1px #2d2e88 solid;
		text-align: center;
		background-color: #ffffff;
	}
	
	.email{
		color: rgba(228,5,33,100%);
	}
	
	span.facebook a{
		display: block;
		width: 42px;
		height: 42px;
		float: left;
		text-decoration: none;
		border: none;
	}
	span.instagram a{
		display: block;
		width: 42px;
		height: 42px;
		float: left;
		text-decoration: none;
		border: none;
	}
	
		#zahlavi{
			width: 100%;
			height: 38px;
			background: linear-gradient(#2d2e88, #4e4faa);
			margin: 0 auto 10px 0;
			padding: 0;
			text-align: center;
			float: left;
		}
		
		#zahlavi span{
			display: block;
			margin: 3px auto 0 0;
			padding: 0;
			color: #fff;
			font-size: 1.6em;
		}
		
		#u_obal{
			text-align: left;
			width: 90%;
			margin: 10px auto;
			padding: 0;
			font-size: 0.95em;
		}
			
			#u_obal h3{
				font-size: 1.15em;
				color: #E40521;
			}
		
		strong{
			color: #c8001e;
		}
		
		
	
	#obsah{
		width: 63%;
		min-width: 300px;
		min-height: 620px;
		margin: 0;
		margin-bottom: 10px;
		padding: 0;
		float: right;
		background-color: #ffffff;
		border-left: 1px #c8001e solid;
		border-right: 1px #c8001e solid;
	}
		#obsah h2{
			clear: both;
		}
		
		span.created{
			font-style: italic;
			font-size: 8pt;
			color: #757575;
		}
		
		span.edit{
			color: #E40521 !important;
		}
	
		.aktuality_hr{
			display: block;
			width: 90%;
			height: 1px;
			float: left;
			background: linear-gradient(to right, #c8001e, #ffffff);
			margin-bottom: 10px; 
		}
		
		span.edit-link{
			float: right;
			display: block;
			height: 22px;
			width: 70px;
			/*border: 1px solid #000;*/
			padding-left: 30px;
			padding-top: 5px;
			background: transparent url('../grafika/ikony/edit.png') no-repeat 0 0;
		}

		.clear{
			width: 100%;
			height: 1%;
			clear: both;
			
		}
		
		#formobsah{
			width: 90%;
		}
		
		#sokolovna_obsazeni{
			width: 100%;
			text-align: center;
			font-size: 30px;
			margin-bottom: 30px;
		}
		
		table.sokolovna{
			width: 100%;
			border: 0;
			border-collapse: collapse;
			position: relative;
			z-index: 1;
		}
			
			table.sokolovna th{
				position: sticky;
				top: 0;
				background-color: #FFF;
				margin-top: 20px;
			}
			
			table.sokolovna td{
				width: 4%;
			}
			
			table.sokolovna thead tr td{
				text-align: center;
				font-size: 0.8em !important;
			}
			
			table.sokolovna tbody td.schedule{
				border: 1px #333 solid;
				height: 30px;
			}
			
			table.sokolovna td.volno{
				border: 1px #ccc solid;
				height: 30px;
				width: 30px;
				background-color: &FFF;
			}
			
			table.sokolovna td.obsazenov{
				border: 1px #eee solid;
				height: 30px;
				width: 30px;
				background-color: #2d2e88;
				cursor: hand;
			}
			
			table.sokolovna td.obsazenom{
				border: 1px #eee solid;
				height: 30px;
				width: 30px;
				background-color: #c8001e;
				cursor: hand;
			}
			
			table.sokolovna td.obsazenoo{
				border: 1px #eee solid;
				height: 30px;
				width: 30px;
				background: linear-gradient(#c8001e, #2d2e88);
				cursor: hand;
			}
			
			
		table.legenda{
			margin-top: 20px;
			border-collapse: collapse;
			width: 65%;
		}
			
			table.legenda td.volno{
				border: 1px #ccc solid;
				height: 30px;
				width: 30px;
				background-color: &FFF;
			}
			
			table.legenda td.obsazenov{
				border: 1px #eee solid;
				height: 30px;
				width: 30px;
				background-color: #2d2e88;
			}
			
			table.legenda td.obsazenom{
				border: 1px #eee solid;
				height: 30px;
				width: 30px;
				background-color: #c8001e;
			}
			
			table.legenda td.obsazenoo{
				border: 1px #eee solid;
				height: 30px;
				width: 30px;
				background: linear-gradient(#c8001e, #2d2e88);
			}
			
			table.legenda td.popis{
				width: 25px;
				font-size: 0.9em;
				text-align: left;
			}
			
			table.legenda td.obsazenoh{
				border: 1px #eee solid;
				height: 30px;
				width: 30px;
				background-color: #d4d4d4;
			}
		
		#detail{
			display: none;
			position: absolute;
			margin: 30% auto auto 22%;
			widtht: 200px !important;
			background-color: #5F5fbb;
			color: #eee;
			z-index: 3;
			padding: 10px;
			font-size: 1.3em;
		}
	
	#obal-obsahu{
		min-height: 620px;
		margin: 0;
		padding: 0 25px 10px 25px;
	}
	/* Fotogalerie */
	
	span.foto_img{
		position: relative;
	}
	
		span.foto_img img{
			max-width: 200px;
			max-height: 200px;
			position: relative;
			
		}
	
	span.foto_title{
		display: block;
		position: absolute;
		width: 100%;
		min-height: 20px;
		background: rgba(45, 46, 136, 0.9) ;
		top: -40px;
		left: 0;
		padding: 4px 0 3px 0;
	}
	
	span.foto_title a{
		color: #fff !important;
		display: inline-block;
		margin: 4px auto;
	}
	
	td.fotoWrap{
		width: 290px;
		text-align: center;
	}
	
	table.napiste_nam{
		width: 100%;
	}
	
	td.napiste_nam_label{
		width: 18%;
	}
	
	td.napiste_nam_obsah{
		width: auto;
	}
	
	#email{
		width: 100%;
		min-height: 200px;
	}
	
	#embedPdf{
		width: 98%;
		min-height: 700px;
		margin: 5px 10px;
		padding: 0;
		
	}
	
	#paticka{
		clear: both;
		width: 100%;
		height: 45px;
		margin: 10px 0 0 0;
		float: left;
		padding: 0;
		background: linear-gradient(#c8001e, #E40521);
		text-align: center;
		font-size: 0.8em;
		color: #fff;
	}
		#paticka p{
			display: block;
			width: 200px;
			height: 30px;
			margin: 10px auto;
		}
		
		/* Administrace */
		
	table.admin-obsah{
		width: 98%;
		border-collapse: collapse;
		color: #454545;
		margin-top: 10px;
	}
	
		table.admin-obsah thead{
			text-align: left;
			background: #efefef;
		}
	
		table.admin-obsah thead tr{
			height: 25px;
		}
		
		tr.bila{
			background-color: #fff;
		}
		
		tr.cervena{
			background-color: #ffE6E6;
		}
		
		tr.bila:hover, tr.cervena:hover{
			background-color: #E6E6FF;
		}
		
		.admin-obsah tr td{
			padding-left: 5px;
		}
		
		span.content-type{
			display: block;
			width: 80px;
			height: 20px;
			float: left;
			margin: auto 2px 0 0;
			padding-top: 6px;
			padding-bottom: 0;
			text-align: center;
			border-left: #efefef 1px solid;
			border-top: #efefef 1px solid;
			border-right: #efefef 1px solid;
		}
		
		span.content-type-active{
			display: block;
			width: 80px;
			height: 20px;
			float: left;
			margin: auto 2px 0 0;
			padding: 6px 0 0 0;
			text-align: center;
			border-left: #efefef 1px solid;
			border-top: #efefef 1px solid;
			border-right: #efefef 1px solid;
			background-color: #efefef;
		}
		
	label{
		color: 434343;
		font-size: 0.9em;
	}
	
	table.web_setup{
		width: 90%;
	}
	
	img.img_preview{
		max-width: 750px;
		max-height: 500px;
		float: left;
	}
	
	table.mPreview{
		width: 750px;
		float: left;
		border-collapse: collapse;
	}
	
	table.mPreview thead tr{
		background-color: #efefef;
		height: 20px;
	}
	
	a.pBack{
		display: block;
		width: 60px;
		height: 20px;
		float: left;
		color: #F9F9F9;
		text-align: center;
		padding-top: 5px;
		background: linear-gradient(#E40521, #c8001e);
		border-radius: 12px;
	}
	
	a.pBack:hover{
		background: linear-gradient(#c8001e, #E40521);
	}
	
	a.mDelete{
		display: block;
		width: 70px;
		height: 27px;
		float: right;
		color: #F9F9F9;
		text-align: center;
		font-weight: bold;
		padding-top: 10px;
		background: linear-gradient(#E40521, #c8001e);
		border-radius: 12px;
	}
	
	a.mDelete:hover{
		background: linear-gradient(#c8001e, #E40521);
	}
	
	span.info{
		dislpay: block;
		background: transparent url(../grafika/info.png) no-repeat;
		height: 30px;
		color: #4e4faa;
		font-size: 0.85em;
		font-style: italic;
		margin: 10px auto 0px 0px;
		float: left;
		clear: left;
		padding-left: 40px;
		padding-top: 8px;
	}
	
	span.warn{
		dislpay: block;
		background: transparent url(../grafika/warn.png) no-repeat;
		height: 30px;
		color: #E40521;
		font-size: 0.85em;
		font-style: italic;
		margin: 10px auto 0px 0px;
		float: left;
		clear: left;
		padding-left: 40px;
		padding-top: 8px;
	}
	
	.web_setup input{
		width: 100%;
		border: 1px #ddd solid;
	}
	
	#ulozit{
		height: 24px;
		width: 80px;
		color: #F9F9F9;
		background: linear-gradient(#E40521, #c8001e);
		border: 0px;
		border-radius: 12px;
	}
	
	#ulozit:hover{
		background: linear-gradient(#c8001e, #E40521);
	}
	
	#nadpis{
		border: 1px #cdcdcd solid;
		width: 100%;
		height: 24px;
	}