/*
 Theme Name:   Adicare
 Description:  Adicare - psychologická a psychiatrická klinika
 Author:       @NAK
 Version:      1.0.0
 License:      Commercial
 Text Domain:  adicare
*/

/** OBSAH
 *  0 - VARS
 *  1 - TEXT
 *  2 - STYL
 *  3 - GRID
 *  4 - PARTS
 *  5 - MEDIA
 */

/* 0 - VARS */

:root {
	/* Colors */
    --Primary: 0, 96, 169;
    --Secondary: 40, 40, 40;
    --Tertiary: 223, 151, 58;
	--Background: 191, 240, 255;
	--Light: 239, 243, 246;
	--Text: 105, 105, 132;
	--Stroke: 227, 227, 227;
    --White: 255, 255, 255;
	/* Radius */
	--Radius-Small: 64px 12px 64px 12px;
	--Radius-Large: 64px 12px 64px 12px;
}

::selection {
	background: rgba(var(--Background), 0.6);
}

::marker {
	color: rgba(var(--Primary), 1);
}

html, body {
    -webkit-scroll-behavior: smooth;
    scroll-behavior: smooth;
    margin: 0!important;
	color: rgba(var(--Text), 1);
}
body {
	position: relative;
}

/* 1 - TEXT */

/* Inter */
@font-face {
    font-family: Inter;
	font-display: swap;
	font-weight: 100 900;
    src: url(assets/fonts/Inter/Inter.ttf) format("truetype");  
}

body, input, select, textarea, button, .gm-style .gm-style-iw {
    font-family: Inter, sans-serif!important;
    font-size: 12px;
    line-height: 22px;
    font-weight: 400;
}
h1, h2, h3, h4, h5, h6, b, strong {
	margin-top: 0;
	margin-bottom: 0;
	font-weight: 600;
}
h1 {
    margin-bottom: 20px;
    font-size: 32px;
    line-height: 42px;
	letter-spacing: -1px;
}
h2 {
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 34px;
}
h3 {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 30px;
}
h4 {
    font-size: 16px;
    line-height: 28px;
}
h5 {
    font-size: 14px;
    line-height: 26px;
}
h6 {
    font-size: 12px;
    line-height: 24px;
}
p {
    margin: 0;
}
p + p {
	margin-top: 8px;
}
ul + p, p + ul {
	margin-top: 24px;
}
ol {
	margin-top: 24px;
	padding-left: 29.5px;
}
a {
    text-decoration: none;
    color: inherit;
	transition: color 0.2s linear;
}

/* Img */
img {
    max-width: 100%;
}

/* Form */
label {
	font-weight: 600;
	color: rgba(var(--Secondary), 1);
}
fieldset {
    margin: 0;
    padding: 0;
    border: none;
}
select {
	width: 100%;
}
.btn, input, textarea, button {
    width: calc(100% - 16px);
    padding: 7px 8px;
	font-weight: 600;
	background: rgba(var(--White), 1);
    border: 1px solid rgba(var(--Stroke), 1);
	border-radius: 5px;
	transition: border-color 0.3s linear;
}
input:focus, select:focus, textarea:focus {
	outline: 1px solid rgba(var(--Primary), 1);
}
input[type="checkbox"], input[type="radio"] {
    -webkit-accent-color: rgba(var(--Primary), 1);
    accent-color: rgba(var(--Primary), 1);
    width: 24px;
	min-width: 24px;
	height: 24px;
    margin: 0 8px 0 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}
input[type="checkbox"]:focus, input[type="radio"]:focus {
	outline: none;
}
input[type="image"] {
	width: 20px;
	height: 20px;
	border: none;
}
.btn, input[type="submit"] {
	width: auto!important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
	background: rgba(var(--Primary), 1);
	color: rgba(var(--White), 1);
    border: 1px solid rgba(var(--Primary), 1);
    cursor: pointer;
	transition: background 0.25s linear, border-color 0.25s linear;
}
.btn:hover, input[type="submit"]:hover {
	background: rgba(var(--Tertiary), 1);
	border-color: rgba(var(--Tertiary), 1);
}

/* 2 - STYL */

/* Logo */
.logo {
    display: inline-block;
    line-height: 0;
}
.logo img {
    width: auto;
	max-width: 140px;
    height: auto;
    object-fit: contain;
}

/* Tag */
.tag {
    padding: 4px;
	position: relative;
    font-size: 11px;
    line-height: 24px;
    text-align: center;
    background: rgba(var(--Primary), 1);
    color: rgba(var(--White), 1);
    border-radius: 5px;
    cursor: pointer;
	z-index: 3;
}

/* Toggle */
.toggle {
	width: 20px;
	height: 40px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 20px;
	cursor: pointer;
}

/* Burger */
#burger {
	background-image: url(./assets/icons/menu.svg);
}

/* Search */
#search {
	background-image: url(./assets/icons/search.svg);
}

/* Close */
#close, #lightbox-close {
	background-image: url(./assets/icons/close.svg);
}

/* Menu */
.menu, .sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}
.sub-menu {
	margin-left: 20px;
	display: none;
}
.menu a:hover {
	color: rgba(var(--Tertiary), 1);
}
.menu .menu-item-has-children {
	position: relative;
	cursor: pointer;
}
.menu .menu-item-has-children:after {
	content: "";
	width: 6px;
    height: 6px;
    display: inline-block;
    position: absolute;
    top: 6px;
    right: 6px;
    border-width: 1px 1px 0 0;
    border-style: solid;
	border-color: rgba(var(--Secondary), 1);
    transform: rotate(135deg);
}

/* Lang */
.lang-item {
	line-height: 0;
}

/* Vyhledavani */
.searchform {
	display: flex;
	flex-direction: row;
	align-items: center;
	position: relative;
	background-color: rgba(var(--Light), 1);
	border-radius: 5px;
}
.searchform input {
	background-color: transparent;
}
.searchform input[type="text"] {
	min-width: 260px;
	border: none;
	outline: none;
}
.search .vysledek {
	padding-bottom: 20px;
	justify-content: space-between;
	align-items: flex-start;
	border-bottom: 1px solid rgba(var(--Stroke), 1);
}
.search .vysledek:last-child {
	padding-bottom: 0;
	border-bottom: none;
}
@media (max-width: 1023px) {
	.searchcontainer {
		width: calc(100% - 40px);
		padding: 12px 20px;
		display: none;
		position: absolute;
		top: 81px;
		right: 0;
		background: rgba(var(--White), 1);
		z-index: 5;		
	}
}

/* Strankovani */
.nav-links {
	margin-top: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.nav-links .page-numbers {
	margin: 0 8px;
	transition: color 0.3s linear;
}
.nav-links .page-numbers.current {
	color: rgba(var(--Primary), 1);
}
.nav-links a.page-numbers:hover {
	color: rgba(var(--Tertiary), 1);
}

/* Kontakty */
.kontakty {
	display: flex;
	flex-direction: row;
}
.kontakty a {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
}
.kontakty a {
	margin-right: 16px;
}
.kontakty a:hover {
	text-decoration: underline;
}
.kontakty svg {
	width: 20px;
	height: 20px;
	margin-right: 8px;
	display: block;
	object-fit: contain;
}

/* Socials */
.socials a {
	width: 40px;
	height: 40px;
	margin-right: 8px;
	display: inline-flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	background: rgba(var(--Stroke), 1);
	border-radius: 100%;
}
.socials svg {
	width: 22px;
	height: 22px;
	display: block;
	object-fit: contain;
}

/* Drobeckovka */
.breadcrumbs {
	margin-bottom: 32px;
}
.breadcrumbs a:hover {
	text-decoration: underline;
	color: rgba(var(--Primary), 1);
}
.breadcrumbs span {
	font-weight: 600;
    color: rgba(var(--Secondary), 1);	
}

/* Modal */
.modal {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(var(--Secondary), 0.9);
	cursor: pointer;
	z-index: 999;
}
.modal .grid {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.modal #lightbox-close {
	padding: 0 10px;
	position: absolute;
	top: 20px;
	right: 20px;
	background-color: rgba(var(--White), 1);
	border-radius: 5px;
}
.logged-in .modal #lightbox-close {
	top: 52px;
}
.modal .reservanto-iframe iframe {
	min-height: 95vh;
	border-radius: 12px;
}

/* 3 - GRID */

/* Body */
body {
    margin: 0;
}

/* Section */
main {
    position: relative;
}
main section {
	position: relative;
}
main .grid {
	padding-top: 32px;
	padding-bottom: 18px;
}
main section:first-child .grid {
	padding-top: 32px;
}
main .grid-full {
	padding-top: 0!important;
	padding-bottom: 0!important;
}

/* Sipka */
.sipka:after {
	content: "";
	width: 25px;
	height: 105px;
	display: block;
	position: absolute;
	top: 100px;
	right: 25px;
	background-image: url(./assets/icons/arrow.svg);
	background-size: contain;
	background-repeat: no-repeat;
}

/* Velikost */
.grid {
    width: calc(100% - 40px); 
	max-width: 1237px;
    margin-left: auto;
	margin-right: auto;
    padding-left: 20px;
	padding-right: 20px;
}
.grid-large {
	max-width: 1700px;
}
.grid-full {
	width: 100%;
	max-width: calc(100% - 40px);
}
.grid-full > div > div > div:first-child:not(.obrazek) {
	padding-top: 32px;
}

/* Flexbox */
.flex-grid, .flex-col {
    display: flex;
    flex-direction: column;
}
.flex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.col-grid {
    margin-left: -12px;
    margin-right: -12px;
}
.col-grid > .col-1, .col-grid > .col-2, .col-grid > .col-3,
.col-grid > .col-4, .col-grid > .col-5, .col-grid > .col-6 {
    width: calc(100% - 24px);
    margin-left: 12px;
    margin-right: 12px;
    margin-bottom: 12px;
}
.col-grid > .col-6 {
	width: calc(50% - 24px);
}
.col-gap {
    margin-left: -20px;
    margin-right: -20px;
}
.col-gap > .col-1, .col-gap > .col-2,
.col-gap > .col-3, .col-gap > .col-4 {
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 30px;
}
@media (max-width: 1023px) {
	section > .grid > div:nth-child(even) {
		flex-direction: column-reverse;
	}
}

/* Lista */
.lista {
	padding: 10px 20px;
	border-bottom: 1px solid rgba(var(--Stroke), 1);
}
.lista a {
	font-weight: 600;
	color: rgba(var(--Secondary), 1);	
}

/* Header */
header {
	padding: 20px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	position: relative;
	border-bottom: 1px solid rgba(var(--Stroke), 1);
}
header a {
	font-weight: 600;
	color: rgba(var(--Secondary), 1);
}
header .logo {
	position: relative;
	background: rgba(var(--White), 1);
	z-index: 5;
}
header .info {
	justify-content: space-between;
	align-items: center;
}
header .toggle {
	margin-right: 4px;
}
@media (max-width: 1365px) {
	header .kontakty a {
		font-size: 0;
	}
}
@media (max-width: 767px) {
	header .kontakty {
		display: none;
	}
	header #menu .menu {
		width: 100%;
		padding: 20px;
		display: none;
		position: absolute;
		top: 82px;
		left: 0;
		background-color: rgba(var(--White), 1);
		border-bottom: 1px solid rgba(var(--Stroke), 1);
		z-index: 5;
	}
}

/* Footer */
footer {
	padding-top: 32px;
	padding-bottom: 40px;
	background: rgba(var(--Secondary), 1);
	color: rgba(var(--White), 1);
	border-bottom: 1px solid rgba(var(--Stroke), 1);
}
footer strong {
	margin-bottom: 20px;
}
footer .btn {
	margin-top: 8px;
	padding: 13px 24px;
	align-self: flex-end;
	line-height: 24px;
}
footer .logo {
	margin-bottom: 16px;
}
footer .text {
	max-width: 400px;
}
footer .content, footer .info {
	justify-content: space-between;
}
footer .flex-col, footer .kontakty {
	display: inline-flex;
	flex-direction: column;
}
footer .menu li, footer .kontakty a {
	margin-bottom: 12px;
}
footer .kontakty svg path {
	stroke: rgba(var(--White), 1);
}

/* Copyright */
.copyright {
	padding-top: 32px;
	justify-content: space-between;
	border-top: 1px solid rgba(var(--White), 1);
}
.copyright img {
	width: auto;
	max-height: 30px;
}

/* Side */
aside {
	height: calc(100vh - 150px);
	max-height: 700px;
	padding: 10px;
	align-items: flex-end;
	position: fixed;
	top: auto;
	bottom: 48px;
	right: 20px;
	background: rgba(var(--White), 1);
	color: rgba(var(--Secondary), 1);
	border-radius: 12px;
	box-shadow: 0px 1px 2px 0px rgba(var(--Secondary), 0.1);
	transition: top 0.3s ease;
	z-index: 9;
}
aside .menu li {
	display: none;
}
aside .menu li:nth-child(1), aside .menu li:nth-child(2), 
aside .menu li:nth-child(3), aside .menu li:nth-child(4) {
	display: block!important;
}
aside .menu a, .link {
	margin-top: 5px;
	display: flex;
	flex-direction: row;
	align-items: center;
}
aside .menu a:before, .link:before {
	content: "";
	width: 24px;
	height: 24px;
	margin-right: 4px;
	display: inline-block;
	background-image: url(./assets/icons/link.svg);
	background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
}
aside .show {
	margin-top: 10px;
	display: inline-flex;
	align-items: center;
	position: relative;
	color: rgba(var(--Primary), 1);
	cursor: pointer;
}
aside .show:hover {
	color: rgba(var(--Tertiary), 1);
}
aside .show:after {
	content: "";
    width: 6px;
    height: 6px;
    display: inline-block;
	margin-top: -5px;
    margin-left: 10px;
    border-width: 1px 1px 0 0;
    border-style: solid;
    border-color: rgba(var(--Primary), 1);
    transform: rotate(135deg);	
}
aside .show:hover:after {
	border-color: rgba(var(--Tertiary), 1);
}
aside .show-less:after {
	margin-top: 2px;
	transform: rotate(-45deg);	
}
aside .flex-col {
	width: 100%;
}
aside .flex-col + .flex-col {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid rgba(var(--Stroke), 1);
}
@media (max-width: 1365px) {
	aside {
		position: static!important;
	}
}

/* 4 - PARTS */

.left {
	justify-content: flex-start;
	align-items: flex-start;
    text-align: left;
}
.center {
	justify-content: center;
	align-items: center;
    text-align: center;
}
.right {
	justify-content: flex-end;
	align-items: flex-end;
    text-align: right;
}

/* Citat */
.citat {
	position: relative;
	color: rgba(var(--Secondary), 1);
}

/* CTA */
.cta {
	padding: 40px 20px;
	border-radius: var(--Radius-Large);
	color: rgba(var(--White), 1);
}
.cta h2 {
	max-width: 1237px;
}
.cta + div {
	margin-top: 40px;
}
.cta .btn {
	background: transparent;
	color: rgba(var(--White), 1);
	border-color: rgba(var(--White), 1);
}
.cta .btn:hover {
	background-color: rgba(var(--White), 0.2);
}

/* Dlazdice */
.dlazdice .flex-col {
	height: calc(100% - 64px);
	padding: 32px 24px;
	justify-content: flex-start;
	background: rgba(var(--Primary), 1);
	color: rgba(var(--White), 1);
	border-radius: var(--Radius-Small);
	box-shadow: 0px 1px 2px 0px rgba(var(--Secondary), 0.1);
	transition: background 0.25s linear, color 0.25s linear;
	cursor: pointer;
}
.dlazdice .color-a .flex-col {
	background: rgba(var(--Primary), 1);
	color: rgba(var(--White), 1);
}
.dlazdice .color-b .flex-col {
	background: rgba(var(--Background), 0.6);
	color: rgba(var(--Secondary), 1);
}
.dlazdice > *:hover .flex-col {
	background: rgba(var(--Tertiary), 1);
	color: rgba(var(--White), 1);
}
.dlazdice .flex-col svg {
	width: 42px;
	height: 42px;
	margin-bottom: 8px;
	object-fit: contain;
	object-position: center;
}
.dlazdice svg path {
	transition: stroke 0.25s linear;
}
.dlazdice .color-b path {
	stroke: rgba(var(--Secondary), 1);
}
.dlazdice .color-a path, .dlazdice > *:hover path {
	stroke: rgba(var(--White), 1);
}

/* Formular */
.wpcf7-form-control {
	display: flex;
	flex-direction: column;
}
.wpcf7-list-item {
	margin: 0;
}
.wpcf7-list-item label {
	display: flex;
	flex-direction: row;
	align-items: center;
	font-weight: 400;
}
.wpcf7-not-valid-tip {
	position: absolute;
	right: 0;
}
.wpcf7-response-output {
	margin: 0;
	padding: 0;
	border: none!important;
}

/* Galerie */
.galerie img {
	width: 100%;
	height: auto;
	margin: 0 auto;
	display: block;
	object-fit: contain;
	border-radius: 12px;
}

/* Mapa */
.mapa .filter {
	margin-bottom: 35px;
}
.mapa .filter .btn {
	margin-bottom: 16px;
}
.mapa .filter input {
	display: none;
}
.mapa .filter input:not(:checked) + label .btn {
	background: rgba(var(--White), 1);
	color: rgba(var(--Primary), 1);
}
.mapa .pobocky {
	align-items: flex-start;
}
.mapa .acf-map {
	width: 100%;
	height: 386px;
	border-radius: var(--Radius-Large);
	box-shadow: 0px 1px 2px 0px rgba(var(--Secondary), 0.1);
}
.mapa .acf-map .gmnoprint.gm-bundled-control.gm-bundled-control-on-bottom {
	top: 45px!important;
	bottom: auto!important;
}

/* Nadpis */
.nadpis, .single-tym h2 {
	color: rgba(var(--Secondary), 1);
}

/* Obrazek */
.obrazek img {
	width: 100%;
	height: auto;
	object-fit: cover;
	object-position: top center;
	aspect-ratio: 1.5 / 1;
	border-radius: var(--Radius-Large);
}
.grid-full .obrazek img {
	display: none;
}

/* Panel */
.panel strong {
	width: calc(33.33% - 19px);
	padding: 5px 7px;
    display: none;
	font-size: 12px;
	line-height: 24px;
    text-align: center;
    background: rgba(var(--Primary), 1);
    color: rgba(var(--White), 1);
    border: 1px solid rgba(var(--Primary), 1);
	border-radius: 5px;
    cursor: pointer;
    transition: background 0.25s linear, color 0.25s linear;	
}
.panel strong:hover {
    background: rgba(var(--White), 1);
    color: rgba(var(--Primary), 1);	
}
.panel strong.active {
    background: rgba(var(--Tertiary), 1);
    border: 1px solid rgba(var(--Tertiary), 1);	
}
.panel strong.passive {
    background: rgba(var(--Text), 1);
    border: 1px solid rgba(var(--Text), 1);	
	pointer-events: none;
}
.panel strong > span {
	padding-bottom: 6px;
	display: block;
	font-size: 10px;
	line-height: 12px;
	font-weight: 400;
}
.panel .title {
	width: 130px;
	margin: 10px auto;	
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	align-self: center;
	font-size: 12px;
	line-height: 0;
	font-weight: 600;
	color: rgba(var(--Secondary), 1);
}
.panel .cislo {
	width: 25px;
	height: 25px;
	margin-right: 8px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	border: 1px solid rgba(var(--Stroke), 1);
	border-radius: 100%;
}
.panel .krok .flex-row {
	justify-content: center;
	align-items: center;
	flex-wrap: nowrap;
	gap: 4px;	
}
.panel #krok-1 .flex-row {
	flex-wrap: wrap;
}
.panel #krok-1 strong {
	display: inline;
}
.panel #krok-2 .flex-row {
	flex-direction: column;
}
.panel #krok-2 strong {
	width: calc(100% - 16px);	
}
.panel #krok-4 strong {
	width: calc(50% - 16px);	
}

/* Prispevky */
.prispevky a {
	justify-content: space-between;
}
.prispevky .obrazek {
	margin-bottom: 20px;
	position: relative;
	line-height: 0;
}
.prispevky .obrazek img {
	border-radius: var(--Radius-Small);
}
.prispevky .datum {
	margin-bottom: 20px;
	padding: 3px 0;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	border-top: 1px solid rgba(var(--Stroke), 1);
	border-bottom: 1px solid rgba(var(--Stroke), 1);
}
.prispevky strong {
	display: block;
	color: rgba(var(--Secondary), 1);
	transition: color 0.3s linear;
}
.prispevky a:hover strong {
	text-decoration: underline;
	color: rgba(var(--Tertiary), 1);
}
.prispevky .kategorie {
	position: absolute;
	top: 4px;
	right: 4px;
}
.prispevky .link {
	margin: 0;
	font-size: 0;
}

/* Reference */
.reference.flexslider {
    margin: 0;
	padding: 40px 20px 70px;
	background: rgba(var(--White), 1);
    border: none;
	border-radius: var(--Radius-Large);
}
.reference.flexslider .jmeno {
	margin-top: 18px;
	display: block;
}
.reference.flexslider .flex-direction-nav a {
	width: 40px;
	height: 40px;
	top: auto;
	bottom: 25px;
	font-size: 0;
	border: 2px solid rgba(var(--Stroke), 1);
	border-radius: 100%;
	opacity: 1!important;
	transition: background 0.2s linear, border-color 0.2s linear;
}
.reference.flexslider .flex-direction-nav a:hover {
	background: rgba(var(--Primary), 1);
	border-color: rgba(var(--Primary), 1);
}
.reference.flexslider .flex-direction-nav a.flex-prev {
	left: auto;
	right: 97px!important;
}
.reference.flexslider .flex-direction-nav a.flex-next {
	right: 43px!important;
}
.reference.flexslider .flex-direction-nav a:before {
	content: "";
	width: 40px;
	height: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-shadow: none;
	background-image: url(./assets/icons/arrow-3.svg);
	background-size: 17px;
	background-position: center;
	background-repeat: no-repeat;
	color: rgba(var(--Stroke), 1);
	transition: color 0.2s linear;
}
.reference.flexslider .flex-direction-nav a.flex-next:before {
	transform: rotate(180deg);
}

/* Rezervace */
.rezervace {
    padding: 24px;
    justify-content: flex-start;
	align-items: center;
    background: rgba(var(--Background), 0.6);
    color: rgba(var(--Secondary), 1);
    border-radius: var(--Radius-Small);
    box-shadow: 0px 1px 2px 0px rgba(var(--Secondary), 0.1);
    transition: background 0.25s linear, color 0.25s linear;
}
.rezervace svg {
	width: 55px;
	min-width: 55px;
	height: 55px;
	margin-bottom: 8px;
}
.rezervace a {
	color: rgba(var(--Primary), 1);
}

/* Rozbalovaci */
.rozbalovaci ul {
	margin: 0;
	padding-left: 16.5px;
	list-style: disc;
}
.rozbalovaci .polozka {
	background: rgba(var(--White), 1);
	border-radius: 12px;
	box-shadow: 0px 1px 2px 0px rgba(var(--Secondary), 0.1);
	cursor: pointer;
}
.rozbalovaci .polozka > strong {
	padding: 24px;
	display: block;
	position: relative;
	color: rgba(var(--Secondary), 1);
	transition: color 0.3s linear;
}
.rozbalovaci .polozka > strong.rozbaleno {
	color: rgba(var(--Primary), 1);
}
.rozbalovaci .polozka:hover > strong {
	color: rgba(var(--Tertiary), 1);
}
.rozbalovaci .polozka > strong:after {
	content: "";
    width: 8px;
    height: 8px;
    display: inline-block;
    position: absolute;
    top: 34px;
    right: 30px;
    border-width: 2px 2px 0 0;
    border-style: solid;
    border-color: rgba(var(--Secondary), 1);
    transform: rotate(135deg);
	transition: border-color 0.3s linear;
}
.rozbalovaci .polozka > strong.rozbaleno:after {
	border-color: rgba(var(--Primary), 1);
	transform: rotate(315deg);	
}
.rozbalovaci .polozka:hover > strong:after {
	border-color: rgba(var(--Tertiary), 1);
}
.rozbalovaci .polozka > div {
	padding: 0 24px 24px;
}

/* Single */
.uvod {
	background-color: rgba(var(--Light), 1);
}

/* Tabulka */
.tabulka + div {
	margin-top: 40px;
}
.tabulka table {
	width: 100%;
	background: rgba(var(--White), 1);
	border: 1px solid rgba(var(--Stroke), 1);
	border-collapse: collapse;
}
.tabulka table thead {
	background: rgba(var(--Primary), 0.1);
	color: rgba(var(--Secondary), 1);
}
.tabulka table th, .tabulka table td {
	padding: 8px 12px;
	text-align: left;
}
.tabulka table th {
	font-weight: 600;
}
.tabulka table td {
	min-width: 50px;
	border-bottom: 1px solid rgba(var(--Stroke), 1);
	transition: background 0.25s linear;
}
.tabulka table th:last-child,
.tabulka table td:last-child {
	text-align: right;
}
.tabulka table tr:hover td {
	background: rgba(var(--Stroke), 0.2);
}

/* Tlacitka */
.tlacitka .btn {
	min-width: 190px;
}
.tlacitka.left .btn {
	margin-right: 16px;
}
.tlacitka.center .btn {
	margin-left: 8px;
	margin-right: 8px;
}
.tlacitka.right .btn {
	margin-left: 16px;
}

/* Test */
.test strong {
	margin-bottom: 12px;
	display: block;
	color: rgba(var(--Secondary), 1);
}
.test label {
	padding: 12px 0;
	margin-bottom: 12px;
	align-items: center;
	background-color: rgba(var(--Light), 1);
    border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s linear, color 0.3s linear;
}
.test label:hover {
	background-color: rgba(var(--Tertiary), 1);
	color: rgba(var(--White), 1);
}
.test label:has(input[type="radio"]:checked) {
	background-color: rgba(var(--Primary), 1);
	color: rgba(var(--White), 1);
}
.test label > input {
	margin-left: 12px;
}
.test .otazka {
	margin-bottom: 24px;
}
.test .otazka + .otazka {
	padding-top: 24px;
	border-top: 1px solid rgba(var(--Stroke), 1);
}
.test .vysledek {
	padding: 24px;
	background: rgba(var(--Background), 0.6);
    color: rgba(var(--Secondary), 1);
    border-radius: var(--Radius-Small);
    box-shadow: 0px 1px 2px 0px rgba(var(--Secondary), 0.1);
}
.test #chyba {
	margin-top: 48px;
	display: block;
}

/* Text */
.text {
	margin-bottom: 24px;
}
.text + div {
	margin-top: 24px;
}
.text a {
	text-decoration: underline;
	color: rgba(var(--Primary), 1);
}
.text ul {
	margin: 0;
	padding-left: 16.5px;
	list-style: disc;
}
.grid-full .text {
	font-weight: 600;
	color: rgba(var(--Secondary), 1);
}

/* Tym */
.tym {
    color: rgba(var(--Secondary), 1);
}
.tym a {
	margin: 0;
}
.tym .tym-clen {
	margin-bottom: 32px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
}
.tym-obrazek {
	width: 120px;
	min-width: 120px;
	height: 120px;
	margin-right: 12px;
	overflow: hidden;
	background-color: rgba(var(--Stroke), 1);
	background-image: url(./assets/icons/user-circle.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 120px;
	border-radius: 100%;
}
.tym-obrazek img {
	width: 120px;
	min-width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: center;
	transform: scale(1.2);
	filter: grayscale(1);
}
.tym .jmeno {
	color: rgba(var(--Primary), 1);
}
.tym .link:hover {
	color: rgba(var(--Tertiary), 1);
}
.tym-section h1 {
	margin: 0;
}
.tym-section a {
	font-weight: 600;
}
.tym-section .pozice {
	margin-right: 16px;
}
.tym-section .flex-row {
	align-items: center;
}

/* Video */
.video .embed-container {
	height: 0;
    padding-bottom: 56.25%;
    position: relative;
	overflow: hidden;
}
.video .embed-container iframe {
	width: 100%;
	height: 100%;
    position: absolute;
    top: 0;
    left: 0;
	border-radius: var(--Radius-Large);
}

/* Vyhody */
.vyhody strong {
	height: 100%;
	margin-bottom: 24px;
	margin-left: 56px;
	position: relative;
	color: rgba(var(--Secondary), 1);
}
.vyhody strong:before, .vyhody strong:after {
	content: "";
	width: 32px;
	height: 32px;
	display: block;
	position: absolute;
}
.vyhody strong:before {
	top: 8px;
	left: -48px;
	background-image: url(./assets/icons/check.svg);
	background-size: 32px;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 3;
}
.vyhody strong:after {
	left: -56px;
	background-color: rgba(var(--Tertiary), 1);
	background-clip: content-box;
	color: rgba(var(--White), 1);
	border: 8px solid rgba(var(--Tertiary), 0.4);
	border-radius: 100%;
	z-index: 1;
}

/* Znacka */
.znacka {
	height: 50px;
	position: relative;
	top: -10px;
}
.znacka strong {
	display: inline-flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	position: relative;
	text-transform: uppercase;
	color: rgba(var(--Secondary), 0.5);
}
.znacka.right strong {
	left: -34px;
}
.znacka strong:after {
    content: "";
    width: 68px;
    height: 71px;
    display: block;
    position: absolute;
    top: -27px;
    background-image: url(./assets/icons/stamp.svg);
    background-size: contain;
    background-repeat: no-repeat;	
}
.znacka strong span {
	display: inline-block;	
	font-size: 9px;
    line-height: 16px;
	transform: rotate(342deg);
}

/* 5 - MEDIA */
@media (min-width: 768px) {
	body, input, select, textarea, button, .gm-style .gm-style-iw {
		font-size: 14px;
		line-height: 24px;
	}
	h1 {
		font-size: 42px;
		line-height: 52px;
	}
	h2 {
		font-size: 32px;
		line-height: 42px;
	}
	h3 {
		font-size: 24px;
		line-height: 34px;
	}
	h4 {
		font-size: 18px;
		line-height: 30px;
	}
	h5 {
		font-size: 16px;
		line-height: 28px;
	}
	h6 {
		font-size: 14px;
		line-height: 26px;
	}
	.sipka:after {
		width: 51px;
		height: 211px;
	}
	.col-grid > .col-2, .col-grid > .col-4, .col-grid > .col-5 {
        width: calc(50% - 24px);
    }
	.col-grid > .col-3, .col-grid > .col-6 {
        width: calc(33.33% - 24px);
    }
	.col-gap > .col-1 .col-gap > .col-2 {
		width: calc(50% - 40px);
	}
	#burger, #close {
		display: none;
	}
	.menu > li {
		margin-right: 12px;
	}
	.menu > li:last-child {
		margin-right: 0;
	}
	.menu > .menu-item-has-children {
		padding-right: 12px;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
	}
	.menu > .menu-item-has-children:after {
		top: 8px;
		right: 2px;
	}
	.menu .menu-item-has-children:hover > .sub-menu {
		display: block;
	}
	.sub-menu {
		padding: 16px;
		position: absolute;
		top: 25px;
		background-color: rgba(var(--Light), 1);
		border-radius: 8px;
		box-shadow: 0px 1px 2px 0px rgba(var(--Secondary), 0.1);
		box-shadow: 0px 4px 6px 8px rgba(var(--Secondary), 0.1);
		z-index: 99;
	}
	.menu > li > .sub-menu {
		right: 0;
	}
	.sub-menu li {
		padding-top: 8px;
		padding-bottom: 8px;
		cursor: pointer;
	}
	.sub-menu a {
		white-space: nowrap;
	}
	.sub-menu > .menu-item-has-children {
		padding-right: 20px;
	}
	.sub-menu > .menu-item-has-children:after {
		top: 16px;
		transform: rotate(45deg);
	}
	.sub-menu > .menu-item-has-children .sub-menu {
		margin-left: 0;
		top: -16px;
		left: 100%;
		background-color: #d9e7f2;
	}
	.lista {
		display: none;
	}
	header {
		padding: 0;
	}
	header .logo {
		padding: 20px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		border-right: 1px solid rgba(var(--Stroke), 1);
		border-radius: 0 0 64px 0;
	}
	header .navigace {
		width: 100%;
		align-items: flex-end;
	}
	header .info {
		padding: 5px 20px 5px 0;
	}
	header:after {
		content: "";
		width: 100%;
		height: 0;
		display: block;
		position: absolute;
		top: 50%;
		border-top: 1px solid rgba(var(--Stroke), 1);
	}
	header #menu {
		padding: 12.5px 20px 12.5px 0;
		display: block;
	}
	header #menu .menu {
		padding: 0;
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		align-items: center;
		position: relative;
		top: 0;
		border-bottom: none;
	}
	aside .flex-col + .flex-col {
		margin-top: 15px;
		padding-top: 15px;
	}
	.cta {
		padding: 50px 30px;
	}
	.obrazek img {
		aspect-ratio: 1.8 / 1;
	}
	.reference.flexslider {
		padding: 50px 30px 80px;
	}
	.tabulka table th, .tabulka table td {
		padding: 10px 16px;
	}
	.znacka {
		height: 0;
		top: -100px;
	}
}

@media (min-width: 1024px) {
	.col-gap > .col-2 {
		width: calc(50% - 40px);
	}
	.logo img {
		max-width: 160px;
	}
	.menu > .menu-item-has-children {
		padding-right: 16px;
	}
	#search {
		display: none;
	}
	.search .vysledek {
		align-items: center;
	}
	.search .vysledek .btn {
		margin-top: 0;
		margin-left: 20px;
		white-space: nowrap;
	}
	.grid-full {
		max-width: 100%;
		margin-left: -20px;
		margin-right: -20px;
		padding-left: 0;
		padding-right: 0;
	}
    .flex-grid {
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .col-grid > .col-2 {
        width: calc(50% - 24px);
    }
    .col-grid > .col-3, .col-grid > .col-5 {
        width: calc(33.33% - 24px);
    }
	.col-gap > .col-3 {
        width: calc(33.33% - 40px);
    }
	.col-gap > .col-4 {
        width: calc(25% - 40px);
    }
	header .info {
		width: calc(100% - 40px);
		max-width: calc(50vw + 187px);
	}
	.cta {
		padding: 60px 40px;
	}
	.mapa .acf-map {
		height: 438px;
	}
	.col-2 .obrazek img, .col-4 .obrazek img, .col-1 .col-4 .obrazek img {
		aspect-ratio: 1.4 / 1;
	}
	.grid-full .obrazek {
		height: 100%;
	}
	.grid-full .obrazek img {
		height: 100%;
		min-height: 606px;
		display: block;
	}
	.grid-full > div > div:first-child .obrazek img {
		border-radius: 0 0 129px 0;
	}
	.grid-full > div > div:last-child .obrazek img {
		border-radius: 129px 0 0 0;
	}
	.rezervace, .test .vysledek {
		padding: 48px;
	}
	.rezervace svg {
		width: 105px;
		min-width: 105px;
		height: 105px;
		margin-right: 32px;
		margin-bottom: 0;
	}
}

@media (min-width: 1365px) {
	:root {
		--Radius-Large: 129px 20px 129px 20px;
	}
	.btn, input, textarea, button {
		width: calc(100% - 32px);
		padding: 14px 16px;
	}
	main .grid {
		padding-top: 68px;
		padding-bottom: 28px;
	}
    .col-grid > .col-4 {
        width: calc(25% - 24px);
    }
    .col-grid > .col-5 {
        width: calc(20% - 24px);
    }	
	.col-grid > .col-6 {
        width: calc(16.66% - 12px);
    }	
	.col-gap > .col-2 {
        width: calc(50% - 40px);
    }
	.col-gap > .col-4 {
        width: calc(50% - 40px);
    }
	.logo img {
		max-width: 350px;
	}
	.searchform input[type="text"] {
		min-width: 290px;
	}
	header .logo {
		padding-right: 40px;
	}
	header #menu {
		width: calc(50vw - 20px);
		padding: 20px;
	}
	footer {
		padding-top: 80px;
	}
	.copyright {
		padding-top: 40px;
	}
	.sidebar .grid {
		width: calc(100% - 420px);
		padding-right: 420px;
	}
	aside {
		width: 320px;
		height: calc(100vh - 190px);
		padding: 20px;
		top: auto;
		bottom: 10px;
		border-radius: var(--Radius-Small);
	}
	aside .flex-col {
		display: flex;
	}
	.dlazdice .flex-col svg {
		width: 53px;
		height: 53px;
	}
	.col-1 .obrazek img {
		aspect-ratio: 2.2 / 1;
	}
	.reference.flexslider {
		padding: 60px 200px 60px 100px;
	}
	.reference.flexslider .flex-direction-nav a {
		top: 80px;
		bottom: auto;
	}
	.tabulka table th, .tabulka table td {
		padding: 21px 32px;
	}
	.znacka.right strong {
		left: -60px
	}
	.znacka strong span {
		font-size: 14px;
		line-height: 28px;
	}
	.znacka strong:after {
		width: 120px;
		height: 126px;
		top: -48px;
	}
}

@media (min-width: 1700px) {
	body, input, select, textarea, button, .gm-style .gm-style-iw {
		font-size: 16px;
		line-height: 28px;
	}
	h1 {
		font-size: 62px;
		line-height: 74px;
	}
	h2 {
		font-size: 42px;
		line-height: 52px;
	}
	h3 {
		font-size: 26px;
		line-height: 36px;
	}
	h4 {
		font-size: 20px;
		line-height: 32px;
	}
	h5 {
		font-size: 18px;
		line-height: 30px;
	}
	h6 {
		font-size: 16px;
		line-height: 28px;
	}
	main .grid {
		padding-top: 88px;
		padding-bottom: 48px;
	}
	.menu > li {
		margin-right: 24px;
	}
	.grid-full > div > div > div:first-child:not(.obrazek) {
		padding-top: 68px;
	}
	aside {
		left: calc(50vw + 440px);
		right: auto;
	}
	.cta {
		padding: 100px 40px;
	}
	.dlazdice .flex-col svg {
		width: 64px;
		height: 64px;
	}
	.grid-full .obrazek img {
		min-height: 906px;
	}
	.col-2 .obrazek img {
		aspect-ratio: 1.5 / 1; 
	}
	.prispevky .prispevek {
		margin-bottom: 48px;
	}
}