/*!
Theme Name: TUL pokus
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tul-pokus
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

TUL pokus is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.25; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
	font-size: 100%;
	scrollbar-color: #7e1a47 #eee;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
	font-size: 2.5rem;
	margin: 0;
	font-weight: normal;
}

h2 {
	font-size: 1.75rem;
	margin: 1em 0 0.75rem;
}

h2:first-child {
    margin-top: 0.5rem;
}

h3 {
	font-size: 1.33rem;
	margin: 1.25em 0 0.75rem;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
	padding: 0.25rem 0.5rem;
	border: solid 1px #bbb;
	margin-bottom: 0.75em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
	box-sizing: border-box; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0 0.5em; /* 3 */
	white-space: normal; /* 1 */
	font-weight: bold;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
	display: block;
	margin-bottom: 0.75rem;
}

/*
 * Add the correct display in all browsers.
 */

summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
	display: none !important;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

@font-face {
    font-family: 'Source Sans Pro';
    src: url('./font/sourcesanspro-regular-webfont.woff2') format('woff2'),
         url('./font/sourcesanspro-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
	font-display: optional;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('./font/sourcesanspro-bold-webfont.woff2') format('woff2'),
         url('./font/sourcesanspro-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
	font-display: optional;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('./font/sourcesanspro-it-webfont.woff2') format('woff2'),
         url('./font/sourcesanspro-it-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
	font-display: optional;
}

@font-face {
    font-family: 'Source Sans Pro';
    src: url('./font/sourcesanspro-boldit-webfont.woff2') format('woff2'),
         url('./font/sourcesanspro-boldit-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;
	font-display: optional;
}

body,
button,
input,
select,
optgroup,
textarea {
	color: #000;
	font-family: "Myriad Pro", "Source Sans Pro", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	line-height: 1.2;
}

p {
	margin: 0 0 0.75em;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em 0.75em;
}

address {
	margin: 0 0 0.75em;
}

pre {
	background: #eee;
	font-family: monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.5;
	margin-bottom: 0.75em;
	max-width: 100%;
	overflow: auto;
	padding: 0.5em;
}

code, kbd, tt, var {
	font-family: monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
	color: #000;
	--main-color: #7e1a47;
}

body.fs {
	--main-color: #88959d;
}

body.ft {
	--main-color: #b3721c;
}

body.fp {
	--main-color: #006ab3;
}

body.ef {
	--main-color: #7ab51d;
}

body.fua {
	--main-color: #6b368a;
}

body.fm {
	--main-color: #ee7f00;
}

body.fzs {
	--main-color: #00adbe;
}

body.cxi {
	--main-color: #c10a2b;
}


hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 0.75em;
}

ul, ol {
	margin: 0 0 0.75em 0;
	padding-left: 2em;
}

ul {
	list-style: square;
}

ul li::marker {
    color: #747476;
    font-size: 130%;
    line-height: 0.77;
}

ol {
	list-style: decimal;
}

ol.pismena {
	list-style: lower-alpha;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 0.75em;
}

.size-large > img[src$=".svg"] {
    width: 1024px;
}

.size-medium > img[src$=".svg"] {
    width: 300px;
}

.size-thumbnail > img[src$=".svg"] {
    width: 150px;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 0 0 0.75em;
	display: table;
	/* Extra wide images within figure tags don't overflow the content area. */
}

.wp-block-gallery {
	padding-bottom: 0.75rem;
}

figcaption {
	text-align: center;
	width: 100%;
}

table {
	margin: 0 0 0.75em;
	border-collapse: collapse;
}

figure > table {
	margin: 0;
}

.wp-block-table table {
	width: auto;
}

tr:nth-child(odd) {
    background-color: rgba(0,0,0,0.07);
}

tr:nth-child(even) {
    background-color: rgba(0,0,0,0.02);
}

td, th {
    padding: 0.25em 0.5em;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
label {
    white-space: nowrap;
    margin-right: 1em;
	display: inline-block;
}

/*
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}
*/

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #7e1a47;
	text-decoration-color: rgba(126,26,74,0.5);
	text-decoration-thickness: 0.3ex;
}

a:visited {
	color: #5c042c;
}

a:active {
	outline-color: #7e1a47;
}

.wp-block-buttons {
	margin-bottom: 0.75em;
}

.wp-block-button {
	margin: 0.5rem 0.5rem 0.5rem 0;
}

.wp-block-button__link {
	font-size: 100%;
    padding-right: 2.5em;
    clip-path: polygon(0 0, calc(100% - 1em) 0, 100% 50%, calc(100% - 1em) 100%, 0 100%);
	border-radius: 0;
}

/*--------------------------------------------------------------
## Site
--------------------------------------------------------------*/
.site {
    margin: 0 auto;
}

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
.site-header {
	background-color: #d4d5d6;
	padding: 0.5rem;
	display: flex;
	align-items: center;
}

.site-branding {
    flex-shrink: 0;
	margin-right: 1rem;
}

.part-header {
	padding: 0 0.5rem;
}

.logo-tul {
	width: 7rem;
	aspect-ratio: 300/126;
	display: block;
}

@media (min-width: 45em) {
	@supports (display: grid) {
		.logo-tul {
			width: 17rem;
			aspect-ratio: 300/37;
		}
	}
}

.site-header a {
    text-decoration: none;
}

.hdr-icon {
    width: 3rem;
	aspect-ratio: 155/150;
    position: relative;
    top: 0.3rem;
    margin: 0 0.5rem 0 1rem;
    flex-shrink: 0;
}

/*--------------------------------------------------------------
## Language switcher
--------------------------------------------------------------*/
.jazyk {
    margin: 0 0 0 0.75rem;
    padding: 0px;
    list-style: none;
	line-height: 1.2;
}

.jazyk a {
	color: #000;
}

.current-lang a {
	color: #7e1a47;
	text-decoration: underline;
	font-weight: bold;
}

.no-translation {
    text-decoration: line-through;
	opacity: 0.5;
}

/*--------------------------------------------------------------
## Site search
--------------------------------------------------------------*/
.sitesearch {
    width: 3em;
	height: 2.2em;
	position: relative;
}

.searchbox {
	border-radius: 2em;
	border: solid 1px rgba(255,255,255,0.3);
	padding: 0.2em 1.1em;
	margin-left: 0.5rem;
	background: rgba(255,255,255,0.25) url(./img/loupe-icon.svg) no-repeat 0.6em center;
	background-size: 1.25em;
	color: #000;
	height: 2.2em;
	width: 0em;
/*	transition: all 0.25s; */
}

.searchbox:focus {
	position: absolute;
	top: 0;
	right: 0;
	width: 15em;
	padding-left: 2em;
	background-color: #e0e0e0;
	color: #000;
/*	border: solid 1px #888; */
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/
.colophon {
	background-color: #d4d5d6;
	border-top: solid 2rem #7e1a47;
	border-color: var(--main-color, #7e1a47);
	}

.site-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin-top: 1rem;
}

@media (min-width: 71em) {
	.colophon {
		padding-left: calc(50vw - 35.5rem);
	}
	
	.site-footer {
		flex-wrap: nowrap;		
	}
}

.site-footer > * {
	padding: 0.5rem;
	min-width: 12rem;
}

.site-footer ul {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}

.foot-logo {
    height: 2.2rem;
	margin-right: 1rem;
	display: inline-block;
}

.foot-logo-s {
    height: 1.7rem;
}

.foot-logo-velke {
    height: 2.5rem;
}

.foot-logo img {
    height: 100%;
}


.copyright {
    padding: 1rem 0.5rem 0.5rem;
}

.copyright p {
	margin: 0;
}


/*--------------------------------------------------------------
## Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
	font-size: 0.8rem;
	padding: 0.2rem 0.5rem;
	background-color: #d4d5d6;
}

.homeicon {
	height: 1em;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.toggle-label,
.toggle-switch {
	display: none;
}

@media all and (max-width : 37.5rem) {
	.toggle-label {
		display: block;
		padding: 0.1rem 0.5rem;
		text-decoration:none;
		text-align: right;
		border:none;
		cursor: pointer;
	}

	.toggle-switch + div {
		display: none;
	}

	.toggle-switch:checked + div {
		display: block;
	}
	
	.main-navigation ul {
		flex-direction: column;
		justify-content: flex-start;
	}
	
	.menu-hlavni-menu-container {
		position: absolute;
		left: 0;
		width: 100%;
		margin-top: 1rem;
		z-index: 1;
		background-color: #d4d5d6;
		border-top: 1px solid #b4b5b6;
	}
	
	.menu-hlavni-menu-container li {
		border-bottom: 1px solid #b4b5b6;
		padding: 0.5rem;
	}

}

.menu,
.sub-menu {
	list-style: none;	
	margin: 0;
	padding: 0;
}

.menu-item {
	padding: 0.1em 0.5em;
	white-space: nowrap;
}

.main-navigation ul {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	display: none;
}

.main-navigation li {
	float: left;
	position: relative;
}

.menu a {
	display: block;
	text-decoration: none;
	color: #000;
}

.current-page-ancestor > a,
.current_page_item > a {
	color: #7e1a47;
	text-decoration: underline;
	font-weight: bold;
}

.menu-secondary-container {
    min-width: 12rem;
    line-height: 1.25;
    font-size: 0.95rem;
	padding: 0.2rem 0;
	background-color: #eaebec;
}

.menu-secondary li,
.menu-secondary a {
	display: inline;
	line-height: 1.75;
}

.menu-secondary a::after {
	display: inline-block;
	content: "\25b6";
    font-size: 0.5rem;
    color: #7e1a47;
    vertical-align: middle;
	margin-left: 0.25em;
}

@media screen and (min-width: 37.5em) {
	
	article.page,
	article.post {
    	display: grid;
    	grid-template-columns: 1fr minmax(20rem, 51rem) minmax(10rem, 20rem) 1fr;
		grid-template-rows: auto auto auto 1fr;
	}
	
	.home article.page {
    	display: block;
	}
	
	.page-h1 {
		grid-column: 1 / 5;
	    grid-row: 1;
	}
	
	.menu-secondary-container {
    	grid-column: 3;
		grid-row: 3;
		background-color: transparent;
	}
	
	.breadcrumbs {
		grid-column: 1 / 5;
		grid-row: 2;
	}
	
	.sidebar {
    	grid-column: 3;
		grid-row: 4;
		padding-top: 2rem;
	}
	
	.entry-content {
		grid-column: 2;
		grid-row: 3 / 5;
	}
	
	.menu-secondary {
    	border-left: solid 0.5rem #7e1a47;
		border-color: var(--main-color, #7e1a47);
    	margin: 1rem 1rem 1rem 0.5rem;
	}

	
	.menu-item {
		white-space: normal;
	}

	.menu-secondary li,
	.menu-secondary a {
		display: block;
		line-height: 1.3;
	}

	.main-navigation ul {
		display: flex;
		justify-content: flex-end;
		flex-wrap: wrap;
	}
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 3rem 0 1.5em;
	overflow: hidden;
}

.nav-previous {
	float: left;
	width: 50%;
}

.nav-previous::before {
	content: "\00ab ";
}

.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

.nav-next::after {
	content: " \00bb";
}

/*--------------------------------------------------------------
# Aktuality
--------------------------------------------------------------*/
.aktuality-home {
    margin: 1rem 0;
}

.aktuality {
    margin: 0.5rem 0;
}

.aktuality-postranni .aktuality {
	font-size: 1.2rem;
}

.tul-aktuality {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0.5rem;
}

@media screen and (min-width: 35em) {
	.tul-aktuality {
    	grid-template-columns: 1fr 1fr;
	}
}

@media screen and (min-width: 50em) {
	.tul-aktuality {
    	grid-template-columns: 1fr 1fr 1fr;
	}
}

.aktuality-postranni .tul-aktuality {
    grid-template-columns: 1fr;
}

.aktuality-postranni {
    font-size: 0.9rem;
	padding: 0 0.5rem;
}

.tul-aktuality li {
	display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
}

.akt-datum {
	display: block;
	font-size: 0.8rem;
}

.akt-sekce {
 	flex-shrink: 0;
	margin-right: 0.5rem;
	width: 2rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
    line-height: 2rem;
}

/*--------------------------------------------------------------
# Kalendář
--------------------------------------------------------------*/
.home-top {
   	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 0.5rem;
	margin-top: 0.5rem;
}

.metaslider {
	background-color: #747476;
	aspect-ratio: 1080/420;
}

.uni-events,
.facebook {
    background-color: #eee;
    padding: 0.5rem;
}

.facebook {
	font-size: 1.5rem;
	display: flex;
	justify-content: left;
	align-items: center;
	text-align: center;
}

.facebook img {
    width: 5rem;
    display: block;
    margin-right: 0.5rem;
}

@media screen and (min-width: 35em) {
	.home-top {
		grid-template-columns: 1fr 1fr;
	}

	.metaslider,
	.facebook {
		grid-column: 1 / 3;
	}
	
	.uni-events {
		grid-column: 2 / 3;
	}
	
	.soucasti {
    	grid-row: 2;
    	grid-column: 1/3;
	}
	
	.clanek:nth-child(4) {
		grid-column: 1 / 2;
		grid-row: 3 / 4;
	}
}

@media screen and (min-width: 50em) {
	.home-top {
		grid-template-columns: 1fr 1fr 1fr;
		margin: 0 -0.5rem;
	}
	
	.uni-events {
		grid-column: 3 / 4;
	}

	.soucasti {
    	grid-column: 1/4;
	}
	
	.facebook {
		flex-direction: column;
		grid-column: 3 / 4;
		justify-content: center;
	}
	
	.facebook img {
		margin: 0;
	}

}

.akce-nadpis {
	margin: -0.25rem 0 0 4.33rem;
	font-size: 1.2rem;
}

.akce-seznam {
    list-style: none;
    margin: 0;
    padding: 0;
	line-height: 1;
	font-size: 0.9rem;
}

.event-item {
	display: flex;
	align-items: center;
	margin-bottom: 0.25rem;
}

.event-item p {
    display: none;
}

.date-wrapper {
	flex-shrink: 0;
    background-color: #7e1a47;
	color: #d4d5d6;
    width: 4rem;
	font-size: 1rem;
    text-align: center;
	padding: 0.6rem 0;
	margin-right: 0.33rem;
}

.day {
	font-weight: bold;
}

.month {
/*    font-size: 0.8rem; */
}

/*--------------------------------------------------------------
# Články TUNI
--------------------------------------------------------------*/
.clanek {
    background-color: #eee;
	display: inline-block;
	position: relative;
}

.clanek-obr {
    height: 15rem;
    width: 100%;
    object-fit: cover;
	object-position: 50% 10%;
}

.clanek-nadpis {
    font-size: 1.2rem;
    margin: 0;
	padding: 0.5rem;
	line-height: 1.3;
}

.clanek-text {
	padding: 0 0.5rem;
	display: inline-block;
}

a.coverblock::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.akce-seznam a,
.tul-aktuality a,
.clanek a {
	display: block;
}

.clanek a {
	text-decoration: none;
	color: #000;
}

/*--------------------------------------------------------------
# Přehled součástí
--------------------------------------------------------------*/

.soucasti {
	margin: 0.5rem;
}

/*--------------------------------------------------------------
# Archiv a seznamy příspěvků
--------------------------------------------------------------*/
.archiv-polozka {
    margin-bottom: 1.5rem;
}

.archiv-nadpis {
    display: flex;
	flex-direction: column-reverse;
}

.archiv-datum {
    font-size: 1rem;
    font-weight: normal;
    white-space: nowrap;
    margin-bottom: 0.25rem;
	padding: 0.2rem 0.5em;
	width: max-content;
}

.wp-block-latest-posts.wp-block-latest-posts__list {
	list-style: square;
}

.wp-block-latest-posts a {
    font-weight: bold;
}


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 0.5rem;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 0.5rem;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.textright {
	text-align: right;
}

.textcenter {
	text-align: center;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after {
	clear: both;
}

.clear {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

.edit-link {
	display: none;
	float: right;
	margin-left: 1rem;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.home .site-content {
	max-width: 70rem;
	margin: 0 auto;
	padding: 0 0.5rem;
}

.content-area {
/*	padding: 0.5rem; */
}

.error404 .page-title,
.search-results .page-title {
    background-color: #7e1a47;
    color: #fff;
    padding: 2rem calc(50vw - 35.5rem) 1rem;
}

.error404 .page-content,
.search-results .page-content {
    max-width: 70rem;
    margin: 2rem auto 3rem;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

.entry-header {
    display: flex;
	flex-direction: column;
    align-items: stretch;
}

@media screen and (min-width: 37.5em) {
	.entry-header {
		flex-direction: row-reverse;
	}
}

.entry-footer {
	margin-top: 3rem;
}

.page-h1 {
    flex-grow: 1;
    background: url(./img/univerzita.jpg) center;
	background-size: cover;
	background-position: 50% 30%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.img-uchazec {
    background-image: url(./img/uchazeci.jpg);	
}

.img-student {
    background-image: url(./img/studenti.jpg);	
}

.img-erasmus {
    background-image: url(./img/erasmus.jpg);	
}

.img-veda {
    background-image: url(./img/veda.jpg);	
}

.img-spoluprace {
    background-image: url(./img/spoluprace.jpg);	
}

.img-fs {
    background-image: url(./img/hlavicka-fs.jpg);
}

.img-ft {
    background-image: url(./img/hlavicka-ft.jpg);
}

.img-fp {
    background-image: url(./img/hlavicka-fp.jpg);
}

.img-ef {
    background-image: url(./img/hlavicka-ef.jpg);
}

.img-fua {
    background-image: url(./img/hlavicka-fua.jpg);
}

.img-fm {
    background-image: url(./img/hlavicka-fm.jpg);
}

.img-fzs {
    background-image: url(./img/hlavicka-fzs.jpg);
}

.img-cxi {
    background-image: url(./img/hlavicka-cxi.jpg);
}

.entry-title {
	color: #fff;
    background-color: rgba(126,26,71,0.75);
	padding: 0.5rem;
	margin-top: 3em;
}

.fs .entry-title,
.category-fs .entry-title {
    background-color: rgba(136,149,157,0.75);
}

.ft .entry-title,
.category-ft .entry-title {
    background-color: rgba(179,114,28,0.75);
}

.fp .entry-title,
.category-fp .entry-title {
    background-color: rgba(0,106,179,0.75);
}

.ef .entry-title,
.category-ef .entry-title {
    background-color: rgba(122,181,29,0.9);
}

.fua .entry-title,
.category-fua .entry-title {
    background-color: rgba(107,54,138,0.75);
}

.fm .entry-title,
.category-fm .entry-title {
    background-color: rgba(238,127,0,0.75);
}

.fzs .entry-title,
.category-fzs .entry-title {
    background-color: rgba(0,173,190,0.75);
}

.cxi .entry-title,
.category-cxi .entry-title {
    background-color: rgba(193,10,43,0.75);
}

.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1rem 1rem 1rem 0.5rem;
}

.home .entry-content {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

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

.wp-block-image .aligncenter > figcaption, .wp-block-image .alignleft > figcaption, .wp-block-image .alignright > figcaption {
	display: block;
}

.wp-block-image a,
.site-branding a {
	display: inline-block;
}

.foot-logo:hover *,
.foot-logo:focus *,
.site-branding a:hover *,
.site-branding a:focus *,
.hdr-icon:hover *,
.hdr-icon:focus *{
	filter: grayscale(1) brightness(0) invert(0.8);
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
## Přehled programů
--------------------------------------------------------------*/
#programmes-list {
    padding: 0;
}

summary {
	background-color: #eee;
	padding: solid 1px #ccc;
	padding: 0 0.5rem 0 2rem;
	text-indent: -1.3rem;
	cursor: pointer;
}

summary:hover {
	text-decoration: underline;
}

summary > h2 {
    display: inline;
}

.prog-wrap {
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.15rem;
    list-style: none;
}

.prog {
	display: inline-block;
	list-style: none;
	margin-right: 1em;
	white-space: nowrap;
}

.prog-param dt {
    font-weight: normal;
    float: left;
    min-width: 8.5em;
}

.prog-param dd {
    font-weight: bold;
    margin: 0;
}


/*--------------------------------------------------------------
## Projekty
--------------------------------------------------------------*/
.projekt-info[open] {
	background-color: #eee;
	padding: 0 0.5rem;
}

.projekt-info summary {
	background: transparent;
}

.projekt-info[open] summary {
	color: #fff;
	background-color: #7e1a47;
	margin: 0 -0.5rem 0.75rem;
}

.projekt-info dt {
	float: left;
	min-width: 6.5em;
	clear: left;
}

.projekt-info dd {
	margin-bottom: 0;
}

.projekt-info dd::after {
	clear: both;
	content: "";
	display: block;
}

/*--------------------------------------------------------------
## MSIE
--------------------------------------------------------------*/
.msie-only {
	background-color: #7e1a47;
	color: #fff;
	padding: 0.5em 1em;
	margin: 0;
}

.menu-secondary-container {
	float: right;
	width: 29%;
	min-height: 8.6rem;
}

.breadcrumbs {
	width: 71%;
}

.entry-content {
	width: 70%;
}

.metaslider {
	width: 67%;
	float: left;
}

.uni-events {
	width: 33%;
	float: right;
}

.clanek {
	margin-top: 0.5rem;
}

.clanek-obr {
	display: none;
}

/* reset pro normální prohlížeče */
@supports ( display:grid ) {
	.msie-only {
		display: none;
	}
	
	.menu-secondary-container {
		float: none;
		width: auto;
		min-height: 0;
	}

	.breadcrumbs {
		width: auto;
	}

	.entry-content {
		width: auto;
	}

	.metaslider,
	.uni-events {
		width: auto;
		float: none;
	}

	.clanek {
		margin-top: 0;
	}

	.clanek-obr {
		display: block;
	}

	@media screen and (min-width: 72em) {
		.entry-title,
		.breadcrumbs {
			padding: 0.5rem calc(50vw - 35.5rem);
		}
	}
	
	.site-header {
		justify-content: center;
	}

	.main-navigation {
		flex-grow: 1;
		max-width: 40.7rem;
	}
	
	.menu a:hover {
		color: #d4d5d6;
	}

	a:hover,
	a:active,
	a:focus,
	.toggle-label:hover,
	*:focus {
		outline: none;
		text-decoration: none;
		background: #7e1a47;
		color: #d4d5d6;
		box-shadow: 0 0 0 0.25em #7e1a47;
	}

}

/*--------------------------------------------------------------
## Nástroje
--------------------------------------------------------------*/
.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
	margin: 1rem auto;
	padding: 1rem;
}

.wp-block-media-text {
	margin-bottom: 0.75rem;
}

.metaslider.ms-theme-nivo-bar .slider-wrapper {
	border: none !important;
}

.nivo-prevNav,
.nivo-nextNav {
	background-color: rgba(0,0,0,0.6) !important;
}

.block75 {
	display: block;
	margin: 1rem auto;
}

@media screen and (min-width: 50em) {
	.block75 {
		width: 75%;
	}
}

.padding-small {
	padding: 0.5rem;
}

.padding-small-tb {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.padding-big {
	padding: 1rem;
}

.padding-big-tb {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.fullwidth {
	width: 100%;
}

.fullwidth table {
	width: 100%;
}

.noclear {
	clear: none;
}

.mezera-velka {
	margin-top: 2rem;
}

.mezera-stredni {
	margin-top: 1rem;
}


.mezera-zaporna {
	margin-top: -0.5rem;
}

.mezera-pod-stredni {
	margin-bottom: 1rem;
}

.mezera-pod-velka {
	margin-bottom: 2rem;
}

.bez-mezery {
	margin-bottom: 0;
}

.mezera-vpravo {
	margin-right: 0.5em;
}

.ramecek img {
    border: solid 1px rgba(0, 0, 0, 0.2);
}

/*--------------------------------------------------------------
## Responsibility
--------------------------------------------------------------*/
.uzke { display: block; }
.siroke { display: none; }

@media (min-width: 50em) {
	.uzke { display: none; }
	.siroke { display: block; }
}


/*--------------------------------------------------------------
## Dark mode
--------------------------------------------------------------*/

@media ( prefers-color-scheme: dark ) {
	html {
		scrollbar-color: #a24c72 #333;	
	}
	
	body {
		background: #111;
		color: #eee;
	}

	.colophon,
	.site-header,
	.breadcrumbs {
		background-color: #111;
	}

	.uni-events,
	.clanek,
	.facebook {
		background-color: #202020;
	}

	a {
		color: #eee;
		text-decoration-color: #bbb;
	}

	a:visited {
		color: #bbb;
	}

	.menu a,
	.jazyk a,
	.clanek a {
		color: #eee;
	}

	.menu-secondary a::after {
		color: #eee;
	}

	.current-page-ancestor > a,
	.current_page_item > a {
		color: #fff;
	}

	.logo-tul,
	.hdr-icon img,
	.homeicon,
	.foot-logo img {
		filter: grayscale(1) brightness(0) invert(0.8);
	}

	.foot-logo:hover *,
	.foot-logo:focus *,
	.site-branding a:hover *,
	.site-branding a:focus *,
	.hdr-icon:hover *,
	.hdr-icon:focus * {
		filter: grayscale(1) brightness(0) invert(0.95);
	}
	
	summary {
		background-color: transparent;
	}
	
	.projekt-info[open] {
		background-color: #222;
	}
	
	.menu-hlavni-menu-container {
		background-color: #111;
		border-color: #555;
	}
	
	.menu-hlavni-menu-container li {
		border-color: #555;
	}
	
	.menu-secondary-container {
		background-color: transparent;
	}
	
	.searchbox {
		background-color: #888;
	}
}


/*--------------------------------------------------------------
## Univerzitní barvy
--------------------------------------------------------------*/
.bg-tul,
.has-tul-background-color {
    background-color: #7e1a47;
	color: #fff;
}

.bg-fs,
.has-fs-background-color,
.projekt-info-bg-fs[open] summary {
    background-color: #88959d;
	color: #fff;
}

.bg-ft,
.has-ft-background-color,
.projekt-info-bg-ft[open] summary {
    background-color: #b3721c;
	color: #fff;
}

.bg-fp,
.has-fp-background-color,
.projekt-info-bg-fp[open] summary {
    background-color: #006ab3;
	color: #fff;
}

.bg-ef,
.has-ef-background-color,
.projekt-info-bg-ef[open] summary {
    background-color: #7ab51d;
	color: #fff;
}

.bg-fua,
.has-fua-background-color,
.projekt-info-bg-fua[open] summary {
    background-color: #6b368a;
	color: #fff;
}

.bg-fm,
.has-fm-background-color,
.projekt-info-bg-fm[open] summary {
    background-color: #ee7f00;
	color: #fff;
}

.bg-fzs,
.has-fzs-background-color,
.projekt-info-bg-fzs[open] summary {
    background-color: #00adbe;
	color: #fff;
}

.bg-cxi,
.has-cxi-background-color,
.projekt-info-bg-cxi[open] summary {
    background-color: #c10a2b;
	color: #fff;
}

.radek-doleva {
    margin: 0 0 0 1.5rem;
    text-indent: -1.5rem;
}

.border-left,
.barevny-okraj {
	border-left: solid 1rem currentcolor;
	padding-left: 0.25em;
}

.border-tul,
.okraj-tul { border-color: #7e1a47; }
.border-fs,
.okraj-fs { border-color: #88959d; }
.border-ft,
.okraj-ft { border-color: #b3721c; }
.border-fp,
.okraj-fp { border-color: #006ab3; }
.border-ef,
.okraj-ef { border-color: #7ab51d; }
.border-fua,
.okraj-fua { border-color: #6b368a; }
.border-fm,
.okraj-fm { border-color: #ee7f00; }
.border-fzs,
.okraj-fzs { border-color: #00adbe; }
.border-cxi,
.okraj-cxi { border-color: #c10a2b; }

.bg-tmava,
.has-dark-background-color {
    background-color: #747476;
	color: #fff;
}

.bg-svetla,
.has-light-background-color {
    background-color: #d4d5d6;
	color: #000;
}

.bg-tiskove-zpravy {
    background-color: #d4d5d6;
}

.has-white-background-color {
    background-color: #fff;
	color: #000;
}


.bg-tul a,
.has-tul-background-color a,
.bg-fs a,
.has-fs-background-color a,
.bg-ft a,
.has-ft-background-color a,
.bg-fp a,
.has-fp-background-color a,
.bg-ef a,
.has-ef-background-color a,
.bg-fua a,
.has-fua-background-color a,
.bg-fm a,
.has-fm-background-color a,
.bg-fzs a,
.has-fzs-background-color a,
.bg-cxi a,
.has-cxi-background-color a,
.bg-tmava a,
.has-dark-background-color a {
	color: #fff;
	text-decoration-color: rgba(255,255,255,0.7);
}

.has-tul-color {
	color: #7e1a47;
}

.has-fs-color {
	color: #88959d;
}

.has-ft-color {
	color: #b3721c;
}

.has-fp-color {
	color: #006ab3;
}

.has-ef-color {
	color: #7ab51d;
}

.has-fua-color {
	color: #6b368a;
}

.has-fm-color {
	color: #ee7f00;
}

.has-fzs-color {
	color: #00adbe;
}

.has-cxi-color {
	color: #c10a2b;
}

.bila,
.has-white-color {
	color: #fff;
}

.svetla,
.has-light-color {
	color: #d4d5d6;
}

.tmava,
.has-dark-color {
	color: #747476;
}

@media print {
	:root {
		font-size: 12pt;
	}
	
	.main-navigation,
	.menu-secondary-container,
	.sitesearch,
	.jazyk,
	.hdr-icon,
	.sidebar,
	.site-footer {
		display: none;
	}
	
	.site-header {
		justify-content: left;
	}
	
	.logo-tul {
		width: 20rem;
	}
	
	.breadcrumbs {
		margin-top: 1rem;
		opacity: 0.5;
	}
	
	.entry-title {
		margin-top: 0;
	}
	
	article.page, article.post {
		display: block;
	}
	
	h1, h2, h3, h4, h5, h6 {
		break-after: avoid;
		font-weight: bold;
	}
}
