html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

mark {
	background-color: transparent;
	color: inherit;
}

input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input, select, textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
}

html {
	font-size: 12pt;
	--blue: #0071e3;
}

@media (max-width: 1280px) {
	html {
		font-size: 11pt;
	}
}

@media (max-width: 360px) {
	html {
		font-size: 10pt;
	}
}

body {
	background-color: #1e252d;
	color: #212931;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	height: 100lvh;
	z-index: -1;
	background-repeat: no-repeat;
	/* TODO: mobile */
	background-position: left top;
	background-size: cover;
	background-image: url(/assets/1.webp);
	filter: brightness(.7);
}

@media (max-width: 768px) {
	.bg {
		background-position: center top;
	}
}

.page-krst .bg,
.page-birmovka .bg,
.page-manzelstvo .bg {
	background-image: url(/assets/2.jpg);
	background-position: center -20vw !important;
	filter: none;
}

.page-dekanat .bg {
	background-image: url(/assets/4.jpg);
	background-position: center !important;
	filter: none;
}

.page-kontakt .bg {
	background-image: url(/assets/3.jpg);
	background-position: center 20% !important;
	filter: none;
}

body, input, select, textarea {
	font-family: "Merriweather", Georgia, serif;
	font-weight: 300;
	font-size: 1rem;
	line-height: 2.375;
}

a {
	text-decoration: none;
}

strong, b {
	font-weight: 600;
}

em, i {
	font-style: italic;
}

p {
	text-align: justify;
	margin: 0 0 2rem 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-weight: 900;
	line-height: 1.5;
	letter-spacing: 0.075em;
	text-transform: uppercase;
	margin: 0 0 1rem 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	border-bottom: 0;
	color: inherit;
	text-decoration: none;
}

h1 {
	font-size: 4rem;
	line-height: 1.1;
	margin: 0 0 2rem 0;
}

h2 {
	font-size: 1.75rem;
	line-height: 1.3;
	margin: 0 0 1.5rem 0;
}

h3 {
	font-size: 1.25rem;
	margin: 0 0 1.5rem 0;
}

h4 {
	font-size: 1rem;
}

h5 {
	font-size: 0.9rem;
}

h6 {
	font-size: 0.8rem;
}

sub {
	font-size: 0.8rem;
	position: relative;
	top: 0.5rem;
}

sup {
	font-size: 0.8rem;
	position: relative;
	top: -0.5rem;
}

blockquote {
	border-left: solid 4px;
	font-style: italic;
	margin: 0 0 2rem 0;
	padding: 0.5rem 0 0.5rem 2rem;
}

code {
	border: solid 2px;
	font-family: "Courier New", monospace;
	font-size: 0.9rem;
	margin: 0 0.25rem;
	padding: 0.25rem 0.65rem;
}

pre {
	-webkit-overflow-scrolling: touch;
	font-family: "Courier New", monospace;
	font-size: 0.9rem;
	margin: 0 0 2rem 0;
}

pre code {
	display: block;
	line-height: 1.75;
	padding: 1rem 1.5rem;
	overflow-x: auto;
}

hr {
	border: 0;
	border-bottom: solid 2px;
	margin: 3rem 0;
}

hr.major {
	margin: 5rem 0;
}

.align-left {
	text-align: left;
}

.align-center {
	text-align: center;
}

.align-right {
	text-align: right;
}

input, select, textarea {
	color: #212931;
}

blockquote {
	border-left-color: #eeeeee;
}

code {
	background: rgba(220, 220, 220, 0.25);
	border-color: #eeeeee;
}

hr {
	border-bottom-color: #eeeeee;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
	padding: 11px 21px;
	transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
	color: #0076df;
	border: 2px solid #0076df;
	border-radius: 999px;
	cursor: pointer;
	display: inline-block;
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-size: 1rem;
	font-weight: 900;
	letter-spacing: 0.075em;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;
	white-space: nowrap;
	-webkit-appearance: none;
	appearance: none;
}

@media (max-width: 736px) {
	input[type="submit"],
	input[type="reset"],
	input[type="button"],
	button,
	.button {
		padding: 8px 15px;
		font-size: 0.9rem;
	}
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
	background-color: var(--blue);
	color: #fff !important;
}

input[type="submit"].icon:before,
input[type="reset"].icon:before,
input[type="button"].icon:before,
button.icon:before,
.button.icon:before {
	margin-right: 0.5rem;
}

input[type="submit"].icon.solo,
input[type="reset"].icon.solo,
input[type="button"].icon.solo,
button.icon.solo,
.button.icon.solo {
	position: relative;
	width: 4rem;
	height: 4rem;
	line-height: 4rem;
	border-radius: 4rem;
	text-indent: 4rem;
	overflow: hidden;
	padding: 0;
	white-space: nowrap;
}

input[type="submit"].icon.solo:before,
input[type="reset"].icon.solo:before,
input[type="button"].icon.solo:before,
button.icon.solo:before,
.button.icon.solo:before {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: inherit;
	height: inherit;
	line-height: inherit;
	font-size: 1.25rem;
	margin-right: 0;
	text-align: center;
	text-indent: 0;
}

input[type="submit"].fit,
input[type="reset"].fit,
input[type="button"].fit,
button.fit,
.button.fit {
	width: 100%;
}

input[type="submit"].small,
input[type="reset"].small,
input[type="button"].small,
button.small,
.button.small {
	font-size: 0.7rem;
	height: 2.5rem;
	line-height: 2.5rem;
	padding: 0 1.5rem;
}

input[type="submit"].large,
input[type="reset"].large,
input[type="button"].large,
button.large,
.button.large {
	font-size: 0.9rem;
	height: 3.5rem;
	line-height: 3.5rem;
	padding: 0 2.75rem;
}

input[type="submit"].disabled, input[type="submit"]:disabled,
input[type="reset"].disabled,
input[type="reset"]:disabled,
input[type="button"].disabled,
input[type="button"]:disabled,
button.disabled,
button:disabled,
.button.disabled,
.button:disabled {
	pointer-events: none;
	opacity: 0.25;
}

input[type="submit"].primary,
input[type="reset"].primary,
input[type="button"].primary,
button.primary,
.button.primary {
	background-color: #212931;
	box-shadow: none;
	color: #fff !important;
}

input[type="submit"].primary:hover,
input[type="reset"].primary:hover,
input[type="button"].primary:hover,
button.primary:hover,
.button.primary:hover {
	background-color: var(--blue);
}

ol {
	list-style: decimal;
	margin: 0 0 2rem 0;
	padding-left: 1.25rem;
}

ol li {
	padding-left: 0.25rem;
}

ul {
	list-style: disc;
	margin: 0 0 2rem 0;
	padding-left: 1rem;
}

ul li {
	padding-left: 0.5rem;
}

ul.divided {
	list-style: none;
	padding-left: 0;
}

ul.divided li {
	border-top: solid 1px;
	padding: 0.5rem 0;
}

ul.divided li:first-child {
	border-top: 0;
	padding-top: 0;
}

dl {
	margin: 0 0 2rem 0;
}

dl dt {
	display: block;
	font-weight: 600;
	margin: 0 0 1rem 0;
}

dl dd {
	margin-left: 2rem;
}

ul.divided li {
	border-top-color: #eeeeee;
}

ul.icons li a.icon:hover:before {
	color: var(--blue);
}

ul.icons.alt li .icon:before {
	box-shadow: inset 0 0 0 2px #eeeeee;
}

ul.icons.alt li a.icon:hover:before {
	box-shadow: inset 0 0 0 2px var(--blue);
}

header > .date {
	display: block;
	font-size: 0.8rem;
	height: 1;
	margin: 0 0 1rem 0;
	position: relative;
}

header > p {
	font-style: italic;
}

header > h1 + p {
	font-size: 1.1rem;
	margin-top: -0.5rem;
	line-height: 2;
}

header > h2 + p {
	font-size: 1rem;
	margin-top: -0.75rem;
}

header > h3 + p {
	font-size: 0.9rem;
	margin-top: -0.75rem;
}

header > h4 + p {
	font-size: 0.8rem;
	margin-top: -0.75rem;
}

header.major {
	margin: 0 0 4rem 0;
	text-align: center;
}

header.major > :last-child {
	margin-bottom: 0;
}

header.major > p {
	margin-top: 0;
	text-align: center;
}

header.major > .date {
	font-size: 1rem;
	margin: 0 0 4rem 0;
}

header.major > .date:before, header.major > .date:after {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	width: calc(50% - 6rem);
	border-top: solid 2px;
}

header.major > .date:before {
	left: 0;
}

header.major > .date:after {
	right: 0;
}

@media (max-width: 980px) {
	header br {
		display: none;
	}
}

@media (max-width: 736px) {
	header.major {
		margin: 0 0 2rem 0;
	}
}

header.major .date:before, header.major .date:after {
	border-top-color: #eee;
}

#wrapper {
	position: relative;
	min-height: 100vh;
	padding-top: 60vh;
	overflow: hidden;
}

#header {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	color: #fff;
	pointer-events: none;
	user-select: none;
	height: 10rem;
	margin: 0;
	padding-bottom: 8rem;
	position: relative;
	text-align: center;
	z-index: 2;
}

#header a {
	color: #fff;
}

#header .logo {
	padding: 1rem 1.75rem;
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-size: 2.25rem;
	font-weight: 900;
	letter-spacing: 0.075em;
	line-height: 1;
	text-transform: uppercase;
	pointer-events: auto;
	text-shadow: 0 2px 3px rgba(0, 0, 0, .2);
}

#header .logo img {
	width: 3rem;
	vertical-align: text-bottom;
	margin-right: 6px;
}

@media (max-width: 980px) {
	#header {
		height: 6rem;
		padding-bottom: 5rem;
	}
}

@media (max-width: 760px) {
	#header .logo {
		display: flex;
		align-items: center;
		font-size: 1.4rem;
	}
}

#nav {
	position: relative;
	display: flex;
	justify-content: center;
	max-width: 72rem;
	height: 4rem;
	margin: -4rem auto 0 auto;
	color: #fff;
	line-height: 4rem;
	overflow: hidden;
	transition: transform 1s ease, opacity 1s ease;
	z-index: 2;
}

#nav ul.divided li {
	border-top-color: #fff;
}

#nav ul.icons li a.icon:hover:before {
	color: var(--blue);
}

#nav ul.icons.alt li .icon:before {
	box-shadow: inset 0 0 0 2px #fff;
}

#nav ul.icons.alt li a.icon:hover:before {
	box-shadow: inset 0 0 0 2px var(--blue);
}

#nav input, #nav select, #nav textarea {
	color: #fff;
}

#nav a {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.5);
}

#nav a:hover {
	border-bottom-color: transparent;
	color: var(--blue) !important;
}

#nav strong, #nav b {
	color: #fff;
}

#nav h1, #nav h2, #nav h3, #nav h4, #nav h5, #nav h6 {
	color: #fff;
}

#nav blockquote {
	border-left-color: #fff;
}

#nav code {
	background: rgba(255, 255, 255, 0.075);
	border-color: #fff;
}

#nav hr {
	border-bottom-color: #fff;
}

#nav ul.links {
	display: inline-flex;
	justify-content: center;
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-weight: 900;
	letter-spacing: 0.075em;
	list-style: none;
	margin-bottom: 0;
	padding-left: 0;
	text-transform: uppercase;
	border-radius: 16px 16px 0 0;
}

#nav ul.links li {
	display: block;
	margin: 0 4px;
	padding-left: 0;
	border-radius: 16px 16px 0 0;
}

#nav ul.links li a {
	display: block;
	padding: 0 2rem;
	background: rgba(255, 255, 255, .2);
	border-radius: 16px 16px 0 0;
	outline: none;
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
}

#nav ul.links li:not(.active) a {
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0px rgba(0, 0, 0, 0.25), -1px 0px 0px rgba(0, 0, 0, 0.1);
}

@media (max-width: 760px) {
	#nav {
		top: 4px;
		height: 3rem;
		line-height: 3rem;
	}

	#nav ul.links li {
		margin: 0 2px;
	}
	
	#nav ul.links li a {
		padding: 0 .5rem;
		font-size: 0.8rem;
	}
}

#nav ul.links li a:hover {
	color: inherit !important;
	background-color: rgba(0, 0, 0, 0.2);
}

#nav ul.links li.active a {
	color: #1e252d;
	background-color: #fff;
}

#nav ul.links li.active a:hover {
	color: #1e252d !important;
}

#main {
	position: relative;
	max-width: 72rem;
	width: calc(100% - 4rem);
	margin: 0 auto;
	background-color: #fff;
	border-radius: 32px;
	z-index: 2;
}

#main > .post {
	padding: 4rem;
}

#main > .post header.major > .date {
	margin-top: -2rem;
}

#main > .post header.major > h1, #main > .post header.major h2 {
	font-size: 3.4rem;
	line-height: 1.1;
	margin: 0 0 2rem 0;
}

#main > .post.featured {
	text-align: center;
}

@media (max-width: 1280px) {
	#main > .post {
		padding: 3rem;
	}
}

@media (max-width: 736px) {
	#main > .post {
		padding: 2rem;
	}

	#main > .post header.major > .date {
		margin-top: -1rem;
		margin-bottom: 2rem;
	}

	#main > .post header.major > h1, #main > .post header.major h2 {
		font-size: 2.5rem;
		line-height: 1.2;
		margin: 0 0 1.5rem 0;
	}
}

@media (max-width: 480px) {
	#main {
		width: 100%;
		border-radius: 26px;
	}
}

#main a {
	color: var(--blue);
	text-decoration: underline;
	text-decoration-color: rgba(0, 113, 227, .4);
	text-decoration-thickness: 2.1px;
	text-underline-offset: 2.1px;
	transition: text-decoration-color .2s ease-out;
}

#main a:hover {
	text-decoration: underline;
	text-decoration-color: var(--blue);
	text-decoration-thickness: 2.1px;
	text-underline-offset: 2.1px;
}

.oznamy-buttons {
	display: flex;
	justify-content: space-between;
	margin-bottom: 2rem;
}

.oznamy-buttons .button {
	display: flex;
	align-items: center;
	gap: 4px;
}

#umysly {
	width: 100%;
	line-height: 2.1;
	border-radius: 16px;
	overflow: hidden;
}

#umysly > tbody > tr {
	display: block;
	padding: 10px;
}

#umysly > tbody > tr:not(:last-child) {
	border-bottom: 1px solid #d2d2d2;
}

#umysly > tbody > tr:nth-child(2n - 1) {
	background: #f5f5f5;
}

#umysly td {
	display: block;
	padding: 3px 10px;
}

#umysly table {
	margin-left: 10px;
}

@media (max-width: 950px) {
	#umysly > tbody > tr {
		padding: 10px 0;
	}
}

.content-nav {
	display: inline-flex;
	gap: 60px;
	border-bottom: 1px solid #d2d2d2;
}

.content-nav a {
	font-weight: bold;
	text-decoration: none !important;
}

.content-nav .active,
.content-nav a:hover {
	color: #1f1f1f !important;
}

.content-nav .active {
	border-bottom: 3px solid #1f1f1f;
}

@media (max-width: 736px) {
	.content-nav {
		gap: 30px;
		line-height: 1.8;
	}
}

#copyright {
	position: relative;
	width: calc(100% - 4rem);
	max-width: 72rem;
	margin: 4rem auto 8rem auto;
	color: rgba(255, 255, 255, 0.25);
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-size: 0.8rem;
	font-weight: 900;
	letter-spacing: 0.075em;
	line-height: 1.5;
	text-align: center;
	text-transform: uppercase;
	z-index: 2;
}

#copyright input, #copyright select, #copyright textarea {
	color: #fff;
}

#copyright a {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.5);
}

#copyright a:hover {
	border-bottom-color: transparent;
	color: var(--blue) !important;
}

#copyright strong, #copyright b {
	color: #fff;
}

#copyright h1, #copyright h2, #copyright h3, #copyright h4, #copyright h5, #copyright h6 {
	color: #fff;
}

#copyright a {
	color: inherit;
	border-bottom-color: inherit;
}

#copyright ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

#copyright ul li {
	border-left: solid 2px;
	display: inline-block;
	line-height: 1;
	margin-left: 1rem;
	padding-left: 1rem;
}

#copyright ul li:first-child {
	border-left: 0;
	margin-left: 0;
	padding-left: 0;
}

@media (max-width: 1280px) {
	#copyright {
		margin: 4rem auto;
	}
}

@media (max-width: 480px) {
	#copyright ul li {
		border-left: 0;
		margin: 1rem 0 0 0;
		padding-left: 0;
		display: block;
	}

	#copyright ul li:first-child {
		margin-top: 0;
	}
}