#microHeader {
	z-index: 100;
	border-radius: 0 !important;
}

#microHeader #menu :not(.active) a {
	color: #E69D2E !important;
}

#microHeader #menu a:hover, #microHeader #menu .active a {
	background: #E69D2E !important;
	color: black !important;
}

section {
	padding-left: 0.5em;
	padding-right: 0.5em;
}

.header {
	--bg: #6e4a1381;
	background-image: linear-gradient(var(--bg),var(--bg)), url("https://ksp.mff.cuni.cz/akce/sous/2022-jarni/fotky/6-ctvrtek/Bitva/photo/aac26c1b0ceb6ca1.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;

	margin-top: 0;
	height: fit-content;
	width: 100%;
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding-top: 1rem;
	padding-bottom: 1rem;

	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

.header > h1 {
	text-align: center;
	color: white;
	font-variant-caps: small-caps;
	font-size: 3.5rem;
	padding-top: 4rem;
	padding-right: 0;
	width: 100%;
}

.header > h2 {
	text-align: center;
	font-style: italic;
	font-weight: 200;
	margin-top: 2rem;
	font-size: 1.3rem;
	font-weight: lighter;
	color: white;
	padding-bottom: 1rem;
}


.header > a {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	width: fit-content;
	font-size: 2rem;
	font-weight: bold;
	color: white;
	background-color: black;
	padding: 0.5rem;
	border-radius: 0.5rem;
	border: 1px #333 solid;
	margin-bottom: 1rem;
	text-decoration: none;
}

.header a:hover {
	background-color: #E69D2E;
	color: black;
	border-color: transparent;
}

.register {
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 1rem;
	text-align: center;
	width: fit-content;
}

.register a {
	text-decoration: none;
	font-size: 2rem;
	font-weight: bold;
	color: #E69D2E;

	padding: 0.5rem;

	border-style: solid;
	border-width: 2px;
	border-radius: 0.5rem;
	border-color: #E69D2E;

	background-color: transparent;
	display: block;
}

.register a:hover {
	color: black;
	background-color: #E69D2E;
}

.register span {
	text-decoration: none;
	font-size: 2rem;
	font-weight: bold;
	color: hsl(36, 0%, 54%);
	background-color: transparent;
	display: block;
	padding: 0.5rem;

	border-style: solid;
	border-width: 2px;
	border-radius: 0.5rem;
	border-color: hsl(36, 0%, 54%);;
}

.half-spacer {
	height: 1rem;
}

.spacer {
	height: 2rem;
}

.summary p {
	max-width: 40em;

	margin-right: auto;
	margin-left: auto;

	font-style: italic;
}

.detail {
	padding-bottom: 1.5rem;
}

.flex-details {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
	gap: 1rem;
	padding-bottom: 1.5rem;
}

.flex-item {
	border: 1px #E69D2E solid;
	border-radius: 20px;
	padding: 0.5rem;
	box-sizing: border-box;
	max-width: calc(50% - 0.5rem);
}

@media screen and (max-width: 800px) {
	.flex-item {
		max-width: 100%;
		width: 100%;
	}
}

.not-really {
	max-width: 100%;
	width: 100%;
}

/*.faces {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	gap: 1rem;
	justify-content: center;
}*/

.faces {
	margin-right: 3rem;
	margin-left: 3rem;
	/* only applies if JS is disabled, slick overrides it to display:block */
	display: flex;
	flex-wrap: wrap;
}

.face {
	text-align: center;
	padding: 0.5rem;
	border: 0.3px #333 solid;
	margin: 0 3px;
	flex-grow: 1;
}

.role {
	font-style: italic;
}

.face > img {
	margin-right: auto;
	margin-left: auto;
	height: 8rem;
}

dt {
	font-variant-caps: small-caps;
}

.horizontal-gallery {
	margin: 0 2rem;
	/* only applies if JS is disabled, slick overrides it to display:block */
	display: grid;
	grid-template-columns: 50% 50%;
}

.gallery {
	padding-left: 0;
	padding-right: 0;
}

.gallery-image {
	max-height: 15rem;
	margin: 0 3px;
	text-align: center;
}

.gallery-image img {
	max-height: 15rem;
	max-width: 100%;
}

.registration {
	display: flex;
	justify-content: center;
}

.flex-details ol {
	all: unset;
	list-style: decimal;
}

/* Remove horizontal scrollbar from #content */
#content {
	overflow-x: visible !important;
}

