body {
	max-width: 800px;
	margin: 0 auto;
	font-family: Calibri, Verdana, Arial;
}

p {
	margin: 0;
	padding-bottom: 17px;
}

ul,
ol {
	margin: 0 0 0 30px;
	padding: 0 0 17px !important;
}

ul li,
ol li {
	margin: 0;
	padding: 3px 0;
}

ol {
	margin-left: 36px;
}

img {
	max-width: 100%;
}

.obrazek {
	text-align: center;
	margin: -10px 0 10px 0;
	color: #666;
}

img.ramecek {
	border: 5px solid #dddddd;
}

.years {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}

.years ul {
	list-style-type: none;
	margin: 0;
	padding: 10px;
	text-align: center;
}

a:link {
	color: #2b70b3;
}

a:hover {
	text-decoration: none;
	color: #5d2f9a;
}

h1,
h2,
h3,
h4,
h5 {
	font-family: "Century Gothic", sans-serif;
	margin: 0;
	padding: 0;
}

/*
iframe {
	width: 0;
	height: 0;
	display: none;
	visibility: hidden;
}
*/

h1 {
	margin-bottom: 15px;
	font-size: 28px;
	padding-top: 8px;
}

h2 {
	margin-bottom: 15px;
	font-size: 21px;
	font-weight: normal;
	padding-top: 6px;
	text-transform: uppercase;
}

h3 {
	margin-bottom: 8px;
	font-size: 20px;
	padding-top: 2px;
}

h4 {
	margin-bottom: 6px;
	font-size: 17px;
	padding-top: 2px;
}

h5 {
	margin-bottom: 4px;
	font-size: 15px;
}

nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 15px 0;
	padding: 0;
	border-bottom: 1px solid #02060F;
}

nav ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: inline-block;
}

nav ul li a, nav ul li .a {
	display: inline-block;
	padding: 3px 8px;
}

ul.obsah {
	max-height: 300px;
	overflow-y: auto;
	border: 1px solid #DDD;
	margin: 0 0 20px 0;
	padding: 15px !important;
}

ul.obsah li {
	list-style-type: none;
}

.tabulka th {
	padding: 4px 10px;
	font-weight: normal;
	background-color: #808080;
	color: #fff;
}

.tabulka thead td {
	font-weight: bold;
	text-align: left;
	text-transform: uppercase;
}

.tabulka td {
	text-align: right;
	padding: 4px 10px;
}

.tabulka-sudy {
	background-color: #e9e9e9
}

.tabulka {
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 4px;
	border: solid 1px silver;
}

blockquote {
	font-family: Georgia, serif;
	font-size: 17px;
	font-style: italic;
	margin: 8px 0 0 0;
	padding: 5px 40px 5px 50px;
	position: relative;
	color: #383838;
}

blockquote:before {
	display: block;
	content: "\201C";
	font-size: 80px;
	position: absolute;
	left: -5px;
	top: -10px;
	color: #7a7a7a;
}

cite {
	color: #7a7a7a;
	font-size: 14px;
	display: block;
	padding-left: 50px;
}

cite:before {
	content: "\2014 \2009";
}

sub,
sup {
	vertical-align: baseline;
	position: relative;
	font-size: 12px;
}

sub {
	top: 0.4em;
}

sup {
	bottom: 0.4em;
}

footer {
	margin: 20px 0;
	padding-top: 20px;
	border-top: 1px solid #02060F;
	text-align: right;
	font-size: 90%;
}

.rejstrik-toc {
	margin: 20px 0;
}

.jiri {
	float: right;
	max-width: 300px;
}

.jiri img {
	width: 100%;
}

.scroll-to-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 50px;
	height: 50px;
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	cursor: pointer;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
	opacity: 0;
	transition: opacity 0.3s;
}

.scroll-to-top.show {
	opacity: 1;
}

#___gcse_0 {
	float: right;
	max-width: 300px;
	height: 30px;
}

#___gcse_1 {
	float: right;
	
}

.gsc-input .gsib_b {
	width: 30px;
	height: 30px;
}

@container (min-width: 100px) {
	#___gcse_1 {
		float: none;
		width: 100%;
	}
}

/* Media queries */

@media screen and (max-width: 800px) {

	body {
		margin: 0 20px;
	}

}
