/*
Theme Name: Sensorium
Theme URI: http://underscores.me/
Author:       Marek Sivco
Author URI:   https://mareksivco.sk
Description: Theme Based on Underscores.me - http://underscores.me/
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sensorium
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

Sensorium is based on Underscores https://underscores.me/, (C) 2012-2020 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:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | 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.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 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;
	font-size: 1em;
}

/* 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;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * 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;
	font-size: 1em;
}

/**
 * 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;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	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.35em 0.75em 0.625em;
}

/**
 * 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;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * 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;
	padding: 0;
}

/**
 * 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;
	outline-offset: -2px;
}

/**
 * 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;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * 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;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

@font-face {
	font-family: 'Lausanne';
	src: url("fonts/Lausanne-300.woff2") format("woff2"), url("fonts/Lausanne-300.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-stretch: normal;
}



/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: black;
	font-family: 'Lausanne', sans-serif;
	font-size: 1.9vw;
	font-size: min(max(1rem, 1.9vw), 2rem);
	line-height: 1.4;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

h1 {
	font-size: min(max(3rem, 7.8vw), 8rem);;
	line-height: .95;
	margin: 3vw 0;
	font-weight: normal;
	letter-spacing: -0.2vw;
}
h2 {
	font-size: min(max(2rem, 7vw), 7rem);;
	line-height: .95;
	margin: 3vw 0;
	font-weight: normal;
	letter-spacing: -0.2vw;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 0;
	padding-left: 1rem;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
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);
	line-height: 1;
	padding: 0.6em 1em 0.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%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
- There are two menus - both generated according to Navigation menu from Appearance > Menus
- ul.menu - Both menus nav-menu and left-menu
- ul.nav-menu - In header header.site-header (With toggle button)
- ul.left-menu - In left column of two content columns in div.left-menu-of-main-pages (Without toggle button)
--------------------------------------------- */
.main-navigation {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 30;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.main-navigation > div > ul {
	position: absolute;
	top: min(max(45px, 20vw), 200px);
	width: 100%;
}
.toggled.main-navigation {
	width: 100%;
	background: white;
}
.home .main-navigation {
	display: none; /* Remove menu on homepage */
}
/* Toggle button in main-navigation */
.toggled .nav-menu {
	display: block;
}
.toggled button.menu-toggle {
	display: block;
}

button.menu-toggle {
	background: none;
	border: none;
	cursor: pointer;
	padding: 2vw 1.3vw 3vw;
	margin: auto auto auto 0;
	border-radius: unset;
}
button.menu-toggle img {
	height: min(max(1rem,8vw),2.5rem);
}






.menu {
	display: none;
	background: white;
	/*margin-top: min(max(56px, 20vw), 200px); !*  Height of header*!*/
	margin: 0;
	padding-left: 0;
	padding-bottom: 2rem;
	list-style: none;
	font-size: min(max(3rem, 7.8vw), 8rem);
	line-height: .9;
	letter-spacing: -0.1rem;
}
.home .menu { /* Only on homepage show menu */
	display: block;
}
.menu li {
	padding: 0;
}
.menu a {
	display: inline-block;
	width: 100%;
	z-index: 10000;
}
.menu a:link,
.menu a:visited,
.menu a:active,
.menu a:hover {
	color: black;
	text-decoration: none;
}
.menu span {
	padding: 0.01em .1em .1em .1em;
}
.menu a:hover span,
.menu .current_page_item span {
	background: black;
	color: white;
}
.left-menu {
	position: relative;
}

@media screen and (min-width: 600px) {
	.main-navigation {
		display: none;
	}
	.left-menu {
		display: block;
		line-height: 1.1;
		letter-spacing: -0.12rem;
	}

	.menu-toggle {
		display: none;
	}

}
/*
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}
#primary-menu .sub-menu li:first-child:before,
#primary-menu .sub-menu .sub-menu li:first-child:before,
#primary-menu .sub-menu .sub-menu .sub-menu li:first-child:before {
	content: "> ";
}
*/



.site-main .comment-navigation,
.site-main,
.posts-navigation,
.site-main,
.post-navigation {
	margin: 0 0 1.5em;
}

.site-main {
	margin: 0 1.3vw;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.entry-content .wp-block-column:first-child img {
	width: 100%;
}
.page-with-left-menu .entry-content img {
	width: auto;
}


.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}




/* 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;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* 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;
}

.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: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/* Saiffer added
---------------------------------------------
---------------------------------------------
--------------------------------------------- */


/* Header
--------------------------------------------- */
/* Header */
.site-header {
	position: relative;
	height: min(max(45px, 20vw), 200px);
	margin: 0 auto;
}
.site-branding {
	height: 100%;
	position: relative;
	z-index: 10;
	display: flex;
}
.site-title {
	font-size: min(max(1rem,4vw),9rem);
	margin: auto;
	padding: .4rem .1rem .1rem .1rem;
}
@media screen and (min-width: 600px) {
	.site-title {
		font-size: min(max(3rem,8vw),9rem);
		margin: auto 0 auto 0;
		margin-left:  min(max(0.3rem, 1.1vw), 4rem);;
	}
}
.site-title a {
	padding: .1em .1em 0 .1em;
}
.site-title a,
.site-title a:link,
.site-title a:visited,
.site-title a:hover,
.site-title a:active {
	text-decoration: none;
	color: black;
}
.site-title a:hover {
	background: black;
	color: white;
}
/* Header Logo (previously used with logo) */
/*.site-branding {*/
/*	position: absolute;*/
/*	left: 51%;*/
/*	top: 50%;*/
/*	transform: translateY(-50%);*/
/*	z-index: 1000;*/
/*}*/
/*.site-branding img.custom-logo {*/
/*	width: min(max(100px, 24vw), 280px);*/
/*}*/
/* Make sure logo link wraps around logo image. (previously used with logo) */
/*.custom-logo-link {*/
/*	z-index: 1000;*/
/*}*/


/* Language Switcher in Header*/
.widget-area {
	position: absolute;
	top: 0;
	height: 100%;
	right: 0.1vw;
	z-index: 20;

	font-size: min(max(1rem,4vw),9rem);
}
@media screen and (min-width: 600px) {
	.widget_polylang ul {
		margin-right: 5vw;
		font-size: min(max(.8rem, 3vw), 2rem)
	}
}
.widget_polylang {
	display: flex;
	height: 100%;
}
.widget_polylang ul {
	margin: auto;
	margin-right: 2vw;
	list-style: none;
	text-align: right;
	padding: 0;
}
.widget_polylang ul a {
	padding: .4vw;
}
.widget_polylang ul a,
.widget_polylang ul a:link,
.widget_polylang ul a:visited,
.widget_polylang ul a:hover,
.widget_polylang ul a:active {
	text-decoration: none;
	color: black;
}
.widget_polylang ul a:hover {
	background: black;
	color: white;
}

/* Page (any)
--------------------------------------------- */
.type-page {
	background: black;
	color: white;
	padding: .1vw 2vw 4vw;
	padding-right: min(max(1rem, 3vw), 3rem);
	padding-left: min(max(1rem, 3vw), 3rem);
	position: relative;
	box-shadow: 2px 2px 4px #9c9c9c;
}
/* Remove author under 600px */
@media screen and (max-width: 600px) {
	.type-page {
		box-shadow: none;
	}
}

.type-page a:link,
.type-page a:visited,
.type-page a:active,
.type-page a:hover {
	color: white;
}
.type-page a:hover {
	background: white;
	color: black;
	text-decoration: none;
}

/** Pages with special template:
	 - With Square list
	 - With Left Menu
	 - Arist
--------------------------------------------- */
.page-with-left-menu .type-page,
.page-with-square-list .type-page,
.page-artist-performance.type-page {
	background: #f2f2f2;
	color: black;
	min-height: 45vw;   /* Let page be at least square in height */
}
@media screen and (max-width: 600px) {
	.page-with-left-menu .type-page,
	.page-with-square-list .type-page,
	.page-artist-performance.type-page {
		min-height: 99vw;   /* Let page be at least square in height */
	}
}

.page-with-left-menu .type-page a:link,
.page-with-left-menu .type-page a:visited,
.page-with-left-menu .type-page a:active,
.page-with-left-menu .type-page a:hover,
.page-with-square-list .type-page a:link,
.page-with-square-list .type-page a:visited,
.page-with-square-list .type-page a:active,
.page-with-square-list .type-page a:hover,
.page-artist-performance.type-page a:link,
.page-artist-performance.type-page a:visited,
.page-artist-performance.type-page a:active,
.page-artist-performance.type-page a:hover {
	background: #f2f2f2;
	color: black;
}
.page-with-left-menu .type-page a:hover,
.page-with-square-list .type-page a:hover,
.page-artist-performance.type-page a:hover {
	background: black;
	color: white;
	text-decoration: none;
}

#breadcrumbs {
	margin-top: min(max(0.55rem, 1.5vw), 4rem);
	margin-bottom: 0;
	margin-right: min(max(.3rem, 2vw), 4rem);
	margin-left: min(max(.3rem, 2vw), 4rem);
}
#breadcrumbs a {
	text-decoration: none;
}
/* Only on square lists make vertical aligned content to center */
.page-with-square-list .type-page {
	padding-top: 4vw;
	display: flex;
	align-items: center;
}
.page-with-square-list .type-page #breadcrumbs {
	position: absolute;
	top: 0;
	margin-top: min(max(0.55rem, 1.5vw), 4rem);
	margin-left: min(max(1rem, 2vw), 2rem);
	margin-right: min(max(.3rem, 2vw), 2rem);
}

/* Dots in corners */
.svg-dot {
	/*--svgDotMarginVertical: min(max(0.8rem, 1.7vw), 4rem);*/
	/*--svgDotMarginHorizontal: min(max(0.3rem, 1.7vw), 4rem);*/
	/*--SvgDotRadiusMin: 6px;*/
	/*--SvgDotRadiusMax: 20px;*/
	/*--SvgDotCanvasMin: 12px;*/
	/*--SvgDotCanvasMax: 40px;*/
	/*--SvgDotCanvasVm: 2.4vw;*/
	/*--SvgDotCanvas: min(max(var(--SvgDotCanvasMin), var(--SvgDotCanvasVm)), var(--SvgDotCanvasMax));*/
	/*--SvgDotRadius: min(max(var(--SvgDotRadiusMin), var(--SvgDotCanvasVm)/2), var(--SvgDotRadiusMax));*/
}
.svg-dot-white {
	-webkit-filter: invert(100%); /* safari 6.0 - 9.0 */
	filter: invert(100%);
}
.svg-dot-black {}
.svg-dot-top-left, .svg-dot-top-right, .svg-dot-bottom-left, .svg-dot-bottom-right {
	width: min(max(12px, 2.4vw), 40px);
	height: min(max(12px, 2.4vw), 40px);
	position: absolute;
	z-index: 0;
}
.svg-dot-top-left {
	top: min(max(0.8rem, 1.7vw), 4rem);
	left: min(max(0.3rem, 1.7vw), 4rem);
}
.svg-dot-top-right {
	top: min(max(0.8rem, 1.7vw), 4rem);
	right: min(max(0.3rem, 1.7vw), 4rem);
}
.svg-dot-bottom-left {
	bottom: min(max(0.8rem, 1.7vw), 4rem);
	left: min(max(0.3rem, 1.7vw), 4rem);
}
.svg-dot-bottom-right {
	bottom: min(max(0.8rem, 1.7vw), 4rem);
	right: min(max(0.3rem, 1.7vw), 4rem);
}
/* "Edit" button on bottom of article should be on clickable */
.entry-footer {
	position: relative;
	z-index: 1;
}

/* Footer
--------------------------------------------- */
.site-footer {
	padding: 2vw 1.5vw;
	text-align: left;
}
.site-footer a:link,
.site-footer a:visited,
.site-footer a:active,
.site-footer a:hover {
	color: black;
}
.site-footer a:hover {
	background: black;
	color: white;
	text-decoration: none;
}

.site-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.site-info .sponsor {
	display: flex;
	align-items: center;
}

.site-info .sponsor img {
	width: min(max(100px, 13vw), 250px);
}

/* Remove author under 770px */
@media screen and (max-width: 770px) {
	.site-footer {
		padding: .4vw 3vw;
		text-align: left;
	}
	.site-info {
		padding: 0;
	}
	.site-info .copyright {
		width: 100%;
		text-align: right;
	}
	.site-info .author,
	.site-info .sponsor {
		display: none;
	}
}






/* Gutenberg Columns - Change basic behaviour
--------------------------------------------- */
.wp-block-columns {
	margin-bottom: 0;
}

/* Remove padding from Gutenberg Column under 600px */
@media screen and (max-width: 600px) {
	.wp-block-media-text .wp-block-media-text__content {
		padding: 0;
	}
}
/* Less margin between 2 columns 600+px) */
@media screen and (min-width: 600px) {
	.wp-block-column:not(:first-child) {
		margin-left: 1em;
	}
}
/* Remove different flex-basis in columns for resolution 600-781px  */
.wp-block-column:not(:only-child) {
	flex-basis: 0;
	flex-grow: 1;
}



/* Page with square list
--------------------------------------------- */
a.square-list-item {
	display: inline-block;
	width: 100%;
}
.page-with-square-list a:link,
.page-with-square-list a:visited,
.page-with-square-list a:hover,
.page-with-square-list a:active {
	text-decoration: none;
}
/* Squares */
.page-with-square-list a:hover .type-page {
	background: black;
	color: white;
}
.page-with-square-list a:hover .svg-dot-black {
	-webkit-filter: invert(100%); /* safari 6.0 - 9.0 */
	filter: invert(100%);
}
.page-with-square-list .read-more {
	position: absolute;
	bottom: 0;
	margin-bottom: min(max(0.5rem, 1.7vw), 4rem);
	padding: 0;
	padding-left: min(max(.3rem, 2vw), 2rem);
}
.square-list-item h1 {
	padding: 1rem 0;
}

/* Slideshow - TODO - Naštýlovanie pre Slideshow dots nefunguje
--------------------------------------------- */
.metaslider.ms-theme-simply-dark ul.rslides_tabs li a {
	background: rgb(255, 255, 255);
	transition: unset;
	-webkit-transition: unset;
}
.metaslider.ms-theme-simply-dark ul.rslides_tabs li.rslides_here a {
	background: rgb(92, 92, 92);
	transition: unset;
	-webkit-transition: unset;
}



/* Up and Back Navigation on bottom of the page
--------------------------------------------- */
.up-and-back-navigation {

}
.up-and-back-navigation .up-arrow {

}
.up-and-back-navigation .back-arrow {

}
.up-and-back-navigation .up-arrow img {

}
.up-and-back-navigation .back-arrow img {

}

.up-and-back-navigation {
	margin-top: min(max(1rem, 3vw), 8rem);
	font-size: min(max(3rem, 7.8vw), 8rem);
	margin-bottom: 1rem;
	line-height: .8;
}
.up-and-back-navigation a {
	display: inline-block;
	text-decoration: none;
}
.up-and-back-navigation a:link,
.up-and-back-navigation a:visited,
.up-and-back-navigation a:active,
.up-and-back-navigation a:hover {
	color: black;
}
.up-and-back-navigation a:hover {
	background: black;
	color: white;
	text-decoration: none;
}
/* Invert SVG image of an arrow on mouse hover */
.up-and-back-navigation a:hover img {
	-webkit-filter: invert(100%); /* safari 6.0 - 9.0 */
	filter: invert(100%);
}
.up-and-back-navigation .up-arrow img {
	height: min(max(4rem, 10.5vw), 50rem);
	position: relative;
	top: .05rem;
}
.up-and-back-navigation .back-arrow {}
.up-and-back-navigation .back-arrow img {
	width: min(max(4rem, 10.5vw), 50rem);
	margin-right: .25em;
}

/* Show margin under every article except for last */
.page-with-square-list .square-list-item:not(:last-child) .page {
	margin: 0 0 1em;
}



/* Page list in Festival template
- Toggled page content About
- Toggled page content Programme
- list of Artists, Performances
--------------------------------------------- */
.page-festival .toggled-content.page-list-in-festival ul,
.page-festival .toggled-content #toggled-programme,
.page-festival .toggled-content #toggled-about {
	display: none;
}
.page-festival .toggled-content.page-list-in-festival ul {
	padding: 0;
	list-style: none;
}
.page-festival .toggled-content.page-list-in-festival li {
	font-size: min(max(3rem, 10vw), 15rem);;
	line-height: .95;
	margin: 3vw 0;
	letter-spacing: -0.2vw;
}
.page-festival .toggled-content.page-list-in-festival li a {
	text-decoration: none;
}
.page-festival .toggled-content h2 {
	cursor: pointer;
	padding-bottom: .8em;
}
.page-festival .toggled-content h2 img {
	width: min(max(4rem, 10.5vw), 50rem);
	margin-left: .5em;
	vertical-align: middle;
}
.page-festival .toggled-content h2 img.rotated {
	transform: rotate(90deg);
	position: relative;
	top: .5em;
}
.page-festival .toggled-content h2:hover {
	/*background: white;*/
	/*color: black;*/
}
.page-festival .toggled-content h2:hover img {
	/*-webkit-filter: invert(100%); !* safari 6.0 - 9.0 *!*/
	/*filter: invert(100%);*/
}

/* Programme Day and Events. */
.page-festival .toggled-programme a {
	text-decoration: none;
}

.page-festival .toggled-programme h3,
.page-festival .toggled-programme h4 {
	font-size: min(max(2rem, 7vw), 7rem);;
	line-height: .95;
	font-weight: normal;
	letter-spacing: -0.2vw;
}

/* Programme Day - 1st. */
.page-festival .toggled-programme h3 {
	margin-top: 3vw;
	margin-bottom: 5vw;
}

/* Programme Day - 2nd, 3rd, etc... */
.page-festival .toggled-programme h3:not(:first-of-type) {
	margin-top: 12vw;
	margin-bottom: 5vw;
}

/* Programme Events. */
.page-festival .toggled-programme h4 {
	margin-top: -2vw;
	margin-bottom: 6vw;
}

/* Programme Events - last. */
.page-festival .toggled-programme h4:last-of-type {
	margin-top: -2vw;
	margin-bottom: 10vw;
}


/* Page list in Artists/Performance template - list of Artists/Performances
--------------------------------------------- */
.page-artist-performance .page-list-in-festival ul {
	padding: 0;
	list-style: none;
}
.page-artist-performance .page-list-in-festival li {
	font-size: min(max(3rem, 10vw), 15rem);;
	line-height: .95;
	margin: 3vw 0;
	letter-spacing: -0.2vw;
}
.page-artist-performance .page-list-in-festival li a {
	text-decoration: none;
}
.page-artist-performance .page-list-in-festival h2 {
	margin-bottom: 0;
}
@media screen and (min-width: 600px) {
	.page-artist-performance .page-list-in-festival h2 {
		margin-bottom: -0.3em;
	}
}
.page-artist-performance .page-list-in-festival h2 img {
	width: min(max(4rem, 10.5vw), 50rem);
	margin-left: .5em;
	vertical-align: middle;
}
.page-artist-performance .page-list-in-festival h2 img.rotated {
	transform: rotate(90deg);
	position: relative;
	top: .5em;
}


.wp-block-column {

}


/* Tables
--------------------------------------------- */
.page-festival table {
	background-image: linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(117, 19, 93, 0.73)), url('images/pragramme-background.jpg');
	background-size: cover;
	padding: 1rem;
}
td:first-child {
	min-width: 12em;
}
tr {
	background: white;
	vertical-align: middle;
}
td {
	padding: 1rem;
	background: white;
	color: black;
	vertical-align: middle;
	height: 100%;
}
td a {
	text-decoration: underline;
	color: black;
}

.type-page table a:link,
.type-page table a:visited,
.type-page table a:active,
.type-page table a:hover {
	color: black;
}
.type-page table a:hover {
	background: black;
	color: white;
	text-decoration: none;
}


/* Added margins for special elements which dont have top margins on start of the entry-titles
--------------------------------------------- */
.entry-content iframe {
	margin-top: 1em;
}
