/* === ZÁKLAD === */
body {
	background: #000;
	color: #fff;
	font-size: 13px;
	font-family: verdana, lucida, arial, sans-serif;
	line-height: 16px;
	margin: 0;
	padding: 0;
}

a {
	color: #99cc66;
	text-decoration: none;
}

.lang a + a {
	margin-left: 6px;
}

.container {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 10px;
}

/* === HLAVIČKA === */
.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0 10px;
	margin-bottom: 20px;
	flex-wrap: nowrap;
	gap: 10px;
	overflow: hidden;
}

.header h1 {
	font-size: 18px;
	color: #6699cc;
	margin: 0;
	display: flex;
	align-items: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex-grow: 1;
	line-height: 22px;
}

.menu-icon {
	display: none;
	font-size: 20px;
	color: #99cc66;
	cursor: pointer;
	margin-right: 8px;
	flex-shrink: 0;
}

.lang {
	flex-shrink: 0;
	white-space: nowrap;
	text-align: right;
}

/* === MENU + OBSAH === */
.middle {
	display: flex;
	gap: 20px;
}

.menu {
	width: 150px;
}

.menu a {
	display: block;
	margin-bottom: 4px;
}

/* === HLAVNÍ OBLAST === */
.main {
	flex: 1;
}

h2 {
	background: #336600;
	padding: 5px;
	font-size: 14px;
	font-weight: normal;
	margin: 0;
	line-height: 22px;
}

h2 span.h2left {
	float: right;
}

h3,
h3 a {
	color: #6699cc;
}

.charBox {
	padding: 8px;
	margin-top: 6px;
	margin-bottom: 20px;
}

h2 span.h2left::after, 
.charBox::after {
    content: "";
    display: table;
    clear: both;
}

.charBox img {
	margin: 10px;
	float: left;
}

.charBox p {
	margin: 10px;
	color: #ccc;
	font-size: 13px;
	line-height: 14px;
}

/* === FOOTER === */
.footer {
	margin: 20px 0px;
	text-align: center;
	border-top: 1px solid #050;
	color: #555;
}

/* === HIDE CHECKBOX === */
#menu-toggle {
	display: none;
}


/* === photos === */
.photo-block {
	display: inline-block;
	width: 180px;
	margin: 10px;
	text-align: center;
	font-family: sans-serif;
	font-size: 13px;
}

.photo-thumb {
	height: 60px;
	border: 1px solid #ccc;
}

.photo-caption {
	margin-top: 4px;
	font-weight: bold;
}

.photo-info {
	color: #666;
	font-size: 12px;
}

/* === authors === */
.author-img {
	max-width: 100%;
	float: left;
	margin: 8px;
}

/* === etc === */
.etcImg {
	float: left;
	margin: 5px 8px 5px 0;
	height: auto;
	max-width: 100%;
}

.etcLinks {
	text-align: center;
	margin-top: 15px;
}

code {
	display: block;
	font-family: 'Courier New', Courier, monospace;
	font-size: 11px;
	white-space: pre-wrap;
	padding: 5px;
	margin: 5px;
	overflow-x: auto;
	color: #0f0;
	text-align: left;
	background: #222;
	word-break: break-all;
}

.bannerBox {
	margin-bottom: 20px;
}


/* === RESPONSIVITA === */
@media (max-width: 500px) {
	.middle {
		flex-direction: column;
	}

	.menu {
		display: none;
		padding-top: 10px;
	}

	#menu-toggle:checked ~ .middle .menu {
		display: block;
	}

	.menu-icon {
		display: inline-block;
	}

	.lang {
		font-size: 13px;
		text-align: right;
	}

	.header h1 {
		font-size: 16px;
	}

	.charBox img {
		float: none;
		margin: 10px auto;
		width: 99%;
	}

	/* === authors === */
	.author-img {
		max-width: 100%;
		float: none;
		margin: auto;
		margin-top: 10px;
	}
}

