/*!
Theme Name: regepain
Theme URI: http://underscores.me/
Author: Vlastimil Lisák
Author URI: https://vlisak.cz/
Description: Description
Version: 1.0.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: regepain
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.

regepain 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%;
}

:root {
	--desktop-breakpoint: 1220px;
}

/* 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;
	margin-block-start: 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
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
/* DINPro */
@font-face {
	font-family: 'DINPro';
	src: url('assets/fonts/DINPro.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'DINPro';
	src: url('assets/fonts/DINPro-Italic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'DINPro';
	src: url('assets/fonts/DINPro-Light.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'DINPro';
	src: url('assets/fonts/DINPro-LightItalic.woff2') format('woff2');
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'DINPro';
	src: url('assets/fonts/DINPro-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'DINPro';
	src: url('assets/fonts/DINPro-MediumItalic.woff2') format('woff2');
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'DINPro';
	src: url('assets/fonts/DINPro-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'DINPro';
	src: url('assets/fonts/DINPro-BoldItalic.woff2') format('woff2');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'DINPro';
	src: url('assets/fonts/DINPro-Black.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'DINPro';
	src: url('assets/fonts/DINPro-BlackItalic.woff2') format('woff2');
	font-weight: 900;
	font-style: italic;
	font-display: swap;
}

/* DINPro Condensed */
@font-face {
	font-family: 'DINPro Condensed';
	src: url('assets/fonts/DINPro-CondensedRegular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'DINPro Condensed';
	src: url('assets/fonts/DINPro-CondensedItalic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'DINPro Condensed';
	src: url('assets/fonts/DINPro-CondensedLight.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'DINPro Condensed';
	src: url('assets/fonts/DINPro-CondensedLightItalic.woff2') format('woff2');
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'DINPro Condensed';
	src: url('assets/fonts/DINPro-CondensedMedium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'DINPro Condensed';
	src: url('assets/fonts/DINPro-CondensedMediumItalic.woff2') format('woff2');
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'DINPro Condensed';
	src: url('assets/fonts/DINPro-CondensedBold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'DINPro Condensed';
	src: url('assets/fonts/DINPro-CondensedBoldItalic.woff2') format('woff2');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'DINPro Condensed';
	src: url('assets/fonts/DINPro-CondensedBlack.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'DINPro Condensed';
	src: url('assets/fonts/DINPro-CondensedBlackItalic.woff2') format('woff2');
	font-weight: 900;
	font-style: italic;
	font-display: swap;
}

/* DIN Alternate */
@font-face {
	font-family: 'DIN Alternate';
	src: url('assets/fonts/DINAlternate/DINAlternate.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'DIN Alternate';
	src: url('assets/fonts/DINAlternate/DINAlternate-Light.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'DIN Alternate';
	src: url('assets/fonts/DINAlternate/DINAlternate-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'DIN Alternate';
	src: url('assets/fonts/DINAlternate/DINAlternate-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'DIN Alternate';
	src: url('assets/fonts/DINAlternate/DINAlternate-Black.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* Roboto font */
/* Roboto Regular 400 */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/Roboto-Regular.woff2') format('woff2');
}

/* Roboto Italic 400 */
@font-face {
	font-family: 'Roboto';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/Roboto-Italic.woff2') format('woff2');
}

/* Roboto Medium 500 */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('assets/fonts/Roboto-Medium.woff2') format('woff2');
}

/* Roboto Medium Italic 500 */
@font-face {
	font-family: 'Roboto';
	font-style: italic;
	font-weight: 500;
	font-display: swap;
	src: url('assets/fonts/Roboto-MediumItalic.woff2') format('woff2');
}

/* Roboto Bold 700 */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/Roboto-Bold.woff2') format('woff2');
}

/* Roboto Bold Italic 700 */
@font-face {
	font-family: 'Roboto';
	font-style: italic;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/Roboto-BoldItalic.woff2') format('woff2');
}

/* Roboto Black 900 */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url('assets/fonts/Roboto-Black.woff2') format('woff2');
}

/* Roboto Black Italic 900 */
@font-face {
	font-family: 'Roboto';
	font-style: italic;
	font-weight: 900;
	font-display: swap;
	src: url('assets/fonts/Roboto-BlackItalic.woff2') format('woff2');
}

body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: 'DINPro', sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

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: #F3F3F3;
}

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

ul,
ol {
	margin: 0 0 1.5em 3em;
}

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
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	display: none;
	float: left;
	position: absolute;
	z-index: 99999;
}

.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;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul:not(.sub-menu) {
	display: flex;
	flex-direction: column;
}

@media screen and (min-width: 1220px) {

	.menu-toggle {
		display: none;
	}

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

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

.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;
}

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

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.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;
}

/* 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;
}

/* 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;
}

/* CUSTOM VĚCI SEM - VLASTA*/

h1 {
	font-size: min(12vw, 4.5rem);
}

h2 {
	font-size: min(12vw, 3rem);
}

h5,
h6 {
	font-size: 1.5rem;
}

h5 {
	font-weight: bold;
}

* {
	transition: 300ms ease-out;
	-webkit-tap-highlight-color: transparent;
	/* for removing the highlight */
}

a,
a:visited {
	color: var(--primary-color-green);
}

a:hover {
	filter: brightness(0.6);
}

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


h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'DINPro', sans-serif;
	line-height: 1.2;
}

h2 {
	font-size: min(10vw, 3rem);
	font-weight: 400;
}

h3 {
	font-size: 2rem;

}

p, li, a {
	font-size: 1.2rem;
}

@media screen and (max-width: 700px) {
	p, li, a {
	font-size: 1rem;
}
}

:root {
	--text-color: #000;
	--background-color: #fff;
	--primary-color-blue: #124D7F;
	--primary-color-green: #3B8964;
}

.site-header {
	z-index: 3;
	display: flex;
	justify-content: space-between;
	position: fixed;
	top: 1rem;
	transform: translateX(-50%);
	left: calc(50% - 1rem);
	margin: 0 1rem;
	padding: 1.5rem;
	box-shadow: 0 0 28px -20px var(--text-color);
	width: calc(100% - 2rem);
	max-width: 1440px;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	font-size: 1.25rem;
	color: var(--text-color);
	background-color: var(--background-color);
	border-radius: 2rem;
}

.site-branding {
	float: left;
	max-width: 200px;
}

.site-header img {
	vertical-align: middle;
	height: 60px;
	width: auto;
	aspect-ratio: 5;
}

.site-header a {
	color: var(--text-color);
	text-decoration: none;
}

.site-header a:hover {
	color: var(--primary-color-blue);
}

.main-navigation {
	display: flex;
	flex-direction: row;
	gap: 1rem;
	align-items: center;
	justify-content: flex-end;
	width: unset;
	height: 60px;
	width: 100%;
}

.main-navigation.toggled {
	height: unset;
}

ul#primary-menu {
	gap: 1.5rem;
}

.menu-item-has-children {
	display: flex;
	gap: 0.3rem;
}

.menu-item-has-children:after {
	content: "+";
	color: var(--primary-color-green);
}

ul.sub-menu {
	display: none;
	flex-direction: column;
	box-shadow: black 0px 1rem 20px -1em;
	left: -1rem;
	top: 1.5rem;
	gap: 1rem;
	padding: 2rem;
	background: var(--background-color);
	border-radius: 1rem;
}
ul.sub-menu li a {
	width: max-content;
}

li:hover ul.sub-menu {
	display: flex;
}

@media screen and (max-width: 1220px) {

	li:hover ul.sub-menu {
		display: none;
	}

	.menu-item-has-children.active {
		flex-direction: column;
	}

	.menu-item-has-children.active>ul.sub-menu {
		display: flex;
		position: static;
		padding: 0;
		box-shadow: none;
		margin-top: 1rem;
	}

	.menu-item-has-children.active:after {
		display: none;
	}
	.menu-item-has-children.active > a:after {
		content: "−";
        color: red;
        padding-left: 6px;
	}
}

@media screen and (max-width: 1220px) {

	.site-header nav {
		flex-direction: row-reverse;
		justify-content: flex-start;
	}

	.menu-header-container {
		display: none;
	}

	.main-navigation.toggled .menu-header-container {
		display: flex;
		opacity: 1;
	}

	@starting-style {
		.main-navigation .menu-header-container {
			opacity: 0;
		}
	}

	.main-navigation.toggled {
		flex-wrap: wrap-reverse;
	}

	.main-navigation.toggled .menu-header-container {
		position: relative;		
		max-height: calc(100vh - 13rem);
    	overflow-y: scroll;
		left: -200px;
		width: 100%;
		padding: 0 0 1rem 0;
	}
	.main-navigation.toggled .menu-header-container::-webkit-scrollbar {
		position: relative;	
	}
}

@media screen and (max-width: 490px) {

	.site-header {
		font-size: 0.9rem;
		padding: 0.5rem 1rem;
	}

	.site-branding {
		min-width: 60px;
	}

	.site-header img {
		width: 70px;
		object-fit: cover;
		object-position: left;
	}

	.main-navigation {
		gap: 1rem;
	}

	.main-navigation.toggled .menu-header-container {
		left: -60px;
	}
}

button.menu-toggle {
	background: url(assets/img/hamburger.svg);
	height: 60px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 28px;
	border: 0;
}

.main-navigation.toggled button.menu-toggle {
	background-image: url(assets/img/hamburger-close.svg);
}

a.wp-custom_button-CTA {
	padding: 0.6rem 1rem;
	background-color: var(--primary-color-blue);
	color: var(--background-color);
	border-radius: 3rem;
	filter: unset;
}

a.wp-custom_button-CTA:hover {
	background: color-mix(in srgb, var(--primary-color-blue) 50%, var(--text-color));
	color: var(--background-color);
}

main ul,
footer ul {
	display: flex;
	flex-direction: column;
	margin: 0;
	list-style: none;
	gap: 0.85rem;
}

main ul li,
footer ul li {
	position: relative;
	display: inline-block;
	/* aby šlo centrovat každý řádek */
	padding-left: 1.5em;
	/* mezera pro odrážku */
	text-align: left;
	/* text uvnitř li vlevo */
	background: url("assets/img/li2.webp") no-repeat left 6px;
	padding-left: 25px;
	line-height: 1.25;
}


.carousel {
	position: relative;
	width: 100%;
	overflow-x: clip;
	background: #FFF;
	padding: 0rem 5rem 0rem 5rem;
}
.carousel section {
	overflow: hidden;
}

.carousel .slides {
	display: flex;
	transition: transform 0.5s ease-in-out;
	width: 100%;
}

.carousel .slide {
	min-width: 100%;
}

.carousel.hp .slide {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.carousel.hp .slide-content {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1rem;
	width: 100%;
}

.carousel.hp .slide-content * {
	margin: 0;
	padding: 0;
}

.carousel.hp .slide-content h1 {
	background: linear-gradient(89deg, var(--primary-color-green), #000000bf);
	-webkit-background-clip: text;
	color: transparent;
	padding-bottom: 1rem;
	margin: 0;
	font-size: min(12vw, 4.5rem);
	line-height: 90%;
	font-family: 'DINPro', sans-serif;
	font-weight: 200;
}

.carousel.hp .slide-content h2 {
	background: linear-gradient(89deg, var(--primary-color-blue), #000000bf);
    -webkit-background-clip: text;
    color: transparent;
    padding-bottom: 3rem;
    margin: 0;
    font-size: min(12vw, 2.5rem);
    line-height: 90%;
    font-family: 'DINPro', sans-serif;
    font-weight: 400;
}
.carousel.hp .slide-content a {
	padding: .66rem 1.5rem;
	align-self: flex-start;
	text-decoration: none;
	background: transparent;
	border: 1px solid var(--primary-color-blue);
	color: var(--primary-color-blue);
}

.carousel.hp .slide-content p {
	margin-bottom: 0.5rem;
	font-family: 'Roboto', sans-serif;
}

.carousel.hp .slide-content b {
	font-weight: 600;
}

.carousel.hp .slide-content ul {
	display: flex;
	flex-direction: column;
	margin: 0;
	list-style: none;
}

.carousel.hp .slide-content ul li {
	position: relative;
	display: inline-block;
	/* aby šlo centrovat každý řádek */
	padding-left: 1.5em;
	/* mezera pro odrážku */
	text-align: left;
	/* text uvnitř li vlevo */
}

.carousel.hp .slide-content ul li::before {
	content: "+";
	/* vlastní odrážka */
	font-weight: 600;
	position: absolute;
	left: 0;
	/* vždy úplně vlevo v rámci li */
	color: black;
}

.carousel.hp .slide img {
	width: 60%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 8px;
    align-self: end;
}

/* Indikátory */
.carousel.hp .indicators {
	position: absolute;
	margin-top: 2rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
}

.indicator {
	width: 50px;
	height: 8px;
	background: #aaa;
	border-radius: 3px;
	cursor: pointer;
}

.indicator::after {
    position: relative;
    top: -0.55rem;
    content: " ";
    height: 2.0rem;
    width: 100%;
    display: block;
}

.indicator.active {
	background: var(--primary-color-blue);
}

/* Responzivita */
@media(max-width: 1000px) {
	.carousel.hp .slide {
		flex-direction: column;
		text-align: center;
		justify-content: center;
		padding: 0;
		padding-top: 1rem;
	}

	.carousel.hp .slide img {
		margin-top: 1rem;
		width: 100%;
		height: 17rem;
		object-position: top;
		max-width: 24rem;
	}
}

main {
	display: flex;
	flex-direction: column;
	gap: 5rem;
	margin: 0 auto;
}

section {
	max-width: 1440px;
	margin: 0 auto;
}

article {
	max-width: 1440px;
	margin: 0 auto;
}

section#premiova-pece {
        display: flex;
    align-items: center;
    background: linear-gradient(225deg, #3b876421, #3c3b8721);
    padding: 2rem 4rem;
    border-radius: 3rem;
    position: relative;
    justify-content: space-between;
}

@media screen and (max-width: 1265px) {
	section#premiova-pece {
       flex-direction: column;
	   padding: 2rem 2rem;
}
}

section#premiova-pece > div {
	width: 100%;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

section#premiova-pece  * {
	margin: 0;
}

section#premiova-pece > img {
	width: 100%;
    max-width: 600px;
	position: relative;
	top: 2rem;
}

section#regenerativni-medicina {
	border-radius: 2rem;
	color: var(--background-color);
	position: relative;
	background: linear-gradient(90deg, transparent 0%, transparent 20%, var(--primary-color-green) 75%);
	padding: 3rem 0;
	display: inline-block;
}

section#regenerativni-medicina>* {
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
	width: 50%;
	padding: 1rem;
	float: right;
}

section#regenerativni-medicina video {
	width: 75%;
	padding: 0;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	object-fit: cover;
	border-radius: 2rem;
	transform: scaleX(-1);
}

.carousel.hp .slide-content p {
	max-inline-size: 31.5rem;
}

a.wp-custom_button {
	display: inline-block;
	color: var(--background-color);
	padding: 0.5rem 1.6rem;
	text-decoration: none;
	border-radius: 3rem;
	border: 1px solid color-mix(in srgb, var(--background-color) 60%, transparent);
}

a.wp-custom_button {
	filter: none;
}

.wp-custom_button.blue {
	background: var(--primary-color-blue);
}

.wp-custom_button.green {
	background: var(--primary-color-green);
}

.wp-custom_button.blue:hover {
	background: color-mix(in srgb, var(--primary-color-blue) 50%, var(--text-color));
	color: var(--background-color);
}

.wp-custom_button.green:hover {
	background: color-mix(in srgb, var(--primary-color-green) 50%, var(--text-color));
	color: var(--background-color);
}

section#regenerativni-medicina * {
	margin: 0;
}

@media screen and (max-width: 880px) {
	section#regenerativni-medicina video {
		width: 100%;
	}

	section#regenerativni-medicina>div {
		width: 100%;
	}

	section#regenerativni-medicina {
		background: linear-gradient(90deg, transparent -60%, var(--primary-color-green) 75%);
	}
}

.wp-custom.cards {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: stretch;
	height: 100%;
}

.wp-custom.cards * {
	margin: 0;
	z-index: 1;
}

.wp-custom.cards h3 {
	font-size: 1.5rem;
}

.wp-custom.cards p {
	font-size: 1.1rem;
}

.wp-custom.cards>div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 3rem 1rem 2rem;
	max-width: 20.5rem;
	text-align: center;
	border-radius: 2rem;
	color: var(--background-color);
	gap: 1rem;
}

.wp-custom.cards>div:nth-child(2n+1) svg path {
	fill: var(--primary-color-blue);
}

.wp-custom.cards>div:nth-child(2n) svg path {
	fill: var(--primary-color-green);
}

.wp-custom.cards>div:hover svg path {
	fill: var(--background-color);
}

section.two-col {
	display: flex;
	align-items: center;
	gap: 2rem;
}

section.two-col p {
	margin: 0;
}

section.two-col>* {
	width: 50%;
}

.terapie .carousel {
	background: transparent;
	padding: 0;
}

section.two-col .text-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}

.carousel.figure .slide {
	position: relative;
}


.carousel.figure .slide-content {
	position: absolute;
	bottom: 0;
	padding: 6rem 1rem 2rem;
	background: linear-gradient(0deg, black, transparent);
	color: var(--background-color);
}

.carousel.figure p {
	margin: 0;
}

.carousel.figure h3 {
	color: var(--background-color);
	margin: 1rem 0;
}

.carousel.figure .indicators {
	display: flex;
	justify-content: center;
	gap: 10px;
	padding: 1rem;
}

.carousel.figure img {
	height: 100%;
	object-fit: cover;
	aspect-ratio: 1.3;
}

.carousel.figure img,
.carousel.figure .slide-content {
	border-radius: 2rem;
}

@media screen and (max-width: 1000px) {
	section.two-col {
		flex-direction: column;
	}

	section.two-col>* {
		width: 100%;
	}

	.carousel.figure img {
		object-fit: cover;
		aspect-ratio: 1;
	}
}

.wp-custom_image-cards {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.wp-custom_image-cards ul {
	padding: 1rem 0;
}

.wp-custom_image-cards>div {
	max-width: 21.2rem;
	max-height: 30rem;
	border-radius: 2rem;
	background: var(--primary-color-green);
}

.wp-custom_image-cards>div:nth-child(2n+1) {
	background: var(--primary-color-blue);
}

.wp-custom.cards>div:nth-child(2n+1) {
	background: var(--background-color);
	color: var(--primary-color-blue);
	border: 1px solid var(--primary-color-blue);
}

.wp-custom.cards>div:hover h3 {
	color: var(--background-color) !important;
}

.wp-custom.cards>div:nth-child(2n+1) h3 {
	color: var(--primary-color-blue);
}

.wp-custom.cards>div:nth-child(2n+1):hover {
	background: var(--primary-color-blue);
	color: var(--background-color);
}

.wp-custom.cards>div:nth-child(2n) {
	background: var(--background-color);
	color: var(--primary-color-green);
	border: 1px solid var(--primary-color-green);
}

.wp-custom.cards>div:nth-child(2n):hover {
	background: var(--primary-color-green);
	color: var(--background-color);
}

span.wp-custom_card-number {
	pointer-events: none;
	font-size: 24rem;
	position: absolute;
	top: -41%;
	z-index: 0 !important;
	color:
		color-mix(in srgb, var(--primary-color-blue) 6%, #00000000);
}

span.wp-custom_card-number:nth-child(2n) {
	color:
		color-mix(in srgb, var(--primary-color-green) 6%, #00000000);
}

.wp-custom.cards>div:hover .wp-custom_card-number {
	color: color-mix(in srgb, var(--background-color) 6%, #00000000);
}

@media screen and (max-width: 720px) {
	span.wp-custom_card-number {
		font-size: 22rem;
	}
}

.wp-custom.cards>div {
	position: relative;
}

.wp-custom_image-cards .card-header {
	position: relative;
	height: 40%;
}

.wp-custom_image-cards .card-header img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	border-radius: 2rem 2rem 0 0;
}

.wp-custom_image-cards .card-header>h4 {
	position: absolute;
	width: 100%;
	bottom: 0;
	padding: 2rem 1rem;
	font-size: 1.8rem;
	margin: 0;
	color: var(--background-color);
	padding: 4rem 1rem 2rem;
	font-weight: 600;
}

.wp-custom_image-cards .card-header>h4 {
	background: linear-gradient(360deg, var(--primary-color-blue), transparent);
}

.wp-custom_image-cards .card-text {
	padding: 0 1rem 1rem 1rem;
	color: white;
	background: linear-gradient(180deg, #ffffff1a, transparent);
	height: 60%;
	    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.wp-custom_image-cards .card-text li {
	background: url("assets/img/li1.webp") no-repeat left 6px;
}

section#proc-regeclinic {
	position: relative;
	color: var(--background-color);
	border-radius: 2rem;
	background: linear-gradient(90deg, transparent 0%, transparent 20%, var(--primary-color-blue) 75%);
	padding: 3rem 0px;
}

section#proc-regeclinic>* {
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
	width: 50%;
	padding: 1rem;
	float: right;
}

section#proc-regeclinic video {
	width: 75%;
	padding: 0;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	object-fit: cover;
	border-radius: 2rem;
	transform: scaleX(-1);
}

section#proc-regeclinic div>* {
	margin: 0;
}

@media screen and (max-width: 880px) {
	section#proc-regeclinic video {
		width: 100%;
	}

	section#proc-regeclinic>div {
		width: 100%;
	}

	section#proc-regeclinic {
		background: linear-gradient(90deg, transparent -60%, var(--primary-color-blue) 75%);
	}
}

section#objednani .wp-custom.cards>div:nth-child(-n+2) svg path {
	fill: unset;
}

section#objednani .wp-custom.cards>div:nth-child(-n+2):hover svg path {
	stroke: var(--background-color);
}

a.wp-custom_button.gradient {
	display: inline-block;
	position: relative;
	margin: 0 auto;
}

a.wp-custom_button.gradient:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(89deg, var(--primary-color-blue), var(--primary-color-green));
	z-index: -1;
	border-radius: inherit;
	transition: 300ms;
}

a.wp-custom_button.gradient:hover:after {
	filter: brightness(0.5);
}

section.two-col h2 {
	margin: 0;
}

#contact {
	margin-bottom: 5rem;
}
#contact>div {
	display: flex;
	gap: 1rem;
	align-items: stretch;
	justify-content: center;
}

#contact>div .wp-custom_item {
	display: flex;
	border-radius: 3rem;
	border: 1px solid var(--primary-color-blue);
	box-shadow: 0 0 15px -10px black;
	width: 100%;
	background: #FFF;
}

#contact>div .wp-custom_item img {
	aspect-ratio: 20;
	height: auto;
	object-fit: cover;
	max-width: 40%;
	border-radius: 3rem 0 0 3rem;
}

#contact>div>.wp-custom_item>div {
	padding: 1rem;
}

#contact>div>.wp-custom_item>div {
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

#contact>div>.wp-custom_item>div * {
	margin: 0;
}

@media screen and (max-width: 1000px) {
	#contact>div {
		flex-direction: column;
	}
}

@media screen and (max-width: 485px) {
	#contact>div .wp-custom_item {
		flex-direction: column;
	}

	#contact>div .wp-custom_item img {
		max-width: 100%;
		height: 12rem;
		border-radius: 3rem 3rem 0 0;
	}
}

footer {
	background: linear-gradient(90deg, var(--primary-color-blue), var(--primary-color-green));
}

footer a {
	color: var(--background-color) !important;
}

footer img {
	max-width: 200px;
	filter: brightness(999);
}

footer h3,
h4 {
	font-size: 2rem;
	font-weight: 400;
	margin: 0;
}

footer>div>div {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.wp-custom_gradient-heading,
h2,
h3 {
	background: linear-gradient(268deg, var(--primary-color-green), color-mix(in srgb, var(--primary-color-green), #000 30%));
	color: transparent;
	background-clip: text;
}

main#primary {
	padding-top: 12rem;
	padding-bottom: 4rem;
}

.entry-header {
	padding: 2rem;
	color: var(--background-color);
	background: linear-gradient(90deg, var(--primary-color-blue), var(--primary-color-green));
	border-radius: 2rem;
	margin-bottom: 3rem;
}

.entry-header h1 {
	font-size: min(12vw, 3.5rem);
}

@media screen and (max-width: 800px) {
	.entry-header {
		padding: 1rem;
		border-radius: 1rem;
	}
}

.entry-header a {
	color: var(--background-color);
}

.wp-block-image img,
.wp-block-media-text.is-image-fill-element>.wp-block-media-text__media img,
.wp-block-cover,
.wp-block-cover .wp-block-cover__image-background {
	border-radius: 1rem;
}

.wp-block-buttons .wp-block-button__link {
    color: var(--background-color);
    background: var(--primary-color-blue);
}