* {
	box-sizing: border-box;
	--padding: 8%;
	font-family: 'Roboto', sans-serif;
	--cerna: #000000;
	--cervena: #e82a2f;
	--seda: #dbdbdb;
	--tmaveseda: #787878;
}

html {
	font-size: calc(12px + 0.35vw);
}

body {
	margin: 0;
	padding: 0;
	background: #fff;
	overflow-x: hidden;
	color: #272727;
}

.center {
	display: flex;
	justify-content: center;
}
.textcenter {
	text-align: center;
}

.inline {
	display: inline-block;
}

h1,
.h1 {
	font-size: 2.412em;
	line-height: 1.35em;
}

h2,
.h2 {
	font-size: 1.616em;
	line-height: 1.55em;
}

h3,
.h3 {
	font-size: 1.471em;
	line-height: 1.55em;
}

h4,
.h4 {
	font-size: 1.3em;
	line-height: 1.55em;
}

h5,
.h5 {
	font-size: 1.243em;
	line-height: 1.55em;
}

h6,
.h6 {
	font-size: 1.132em;
	line-height: 1.55em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: calc(12px + 1.05vw) 0;
	position: relative;
	font-family: 'Zilla Slab', serif;
	font-style: italic;
	font-weight: 500;
}

p {
	line-height: 1.6rem;
}

header {
	display: flex;
	align-items: center;
	padding-left: var(--padding);
	padding-right: var(--padding);
	height: 14vh;
	min-height: 65px;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transition: 0.3s ease-in-out;
	z-index: 1;
	background: white;
}

header.nabidka-fixni {
	position: fixed;
	height: 65px;
	width: 100%;
	background: #ffffff;
	top: 0;
	z-index: 100;
	padding-bottom: 1rem;
	padding-top: 1rem;
	border-bottom: 1px solid #e0e0e0;
}

a.logo {
	display: block;
	width: 20%;
}
header.nabidka-fixni a.logo {
	width: auto;
}

header.nabidka-fixni a.logo img {
	width: 150px;
}

a.logo img {
	width: 100%;
	padding: 0.6rem 1rem 0.6rem 0;
	display: block;
}

a.cta,
input.cta {
	background: var(--cervena);
	color: white;
	padding: 0.7rem 3rem;
	display: inline-block;
	border-radius: 3px;
	text-decoration: none;
	transition: all 0.3s ease-in-out;
}

a.cta:hover,
input.cta:hover {
	background: #0a2771;
}

.menu {
	height: auto;
	margin-left: auto;
	display: flex;
}

.menu ul {
	height: auto;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
}

.menu ul li {
	list-style: none;
	height: 100%;
	margin: 0;
	padding: 0;
	position: relative;
	text-align: center;
}

.menu ul li a {
	width: 100%;
	height: 100%;
	color: var(--cerna);
	font-size: 0.9rem;
	padding: 0.7rem 1.5rem;
	border-right: 1px;
	border-left: 0;
	border-top: 0;
	border-bottom: 0;
	border-style: solid;
	border-image: linear-gradient(to top, rgba(112, 112, 112, 0), rgba(112, 112, 112, 0), rgb(211, 211, 211), rgba(112, 112, 112, 0), rgba(112, 112, 112, 0)) 1 100%;
	text-decoration: none;
	transition: all 0.3s ease-in-out;
	display: flex;
	align-items: center;
	position: relative;
}
.menu ul li a:hover {
	color: var(--cervena);
}

.menu ul li:nth-of-type(1) a {
	border-left: 1px solid;
}

.menu ul li a::after {
	content: '';
	width: 15px;
	position: absolute;
	top: -18px;
	left: 50%;
	transform: translateX(-50%);
	height: 15px;
	background: var(--cervena);
	transition: all 0.3s ease-in-out;
	opacity: 0;
}

.menu ul li a:hover::after,
.menu ul li a.active::after {
	opacity: 1;
}

header.nabidka-fixni .menu ul li a:hover::after,
header.nabidka-fixni .menu ul li a.active::after {
	display: none;
}

.menu ul li a.active {
	color: var(--cervena);
}

.menu ul li a span.sipka_dolu {
	border-top: 5px solid black;
}

.menu ul li > ul {
	display: block;
	position: absolute;
	top: 100%;
	left: 0%;
	width: auto;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease-in-out;
	z-index: 100;
	border-left: 1px solid var(--seda);
	border-right: 1px solid var(--seda);
}

.menu ul li > ul li {
	width: 100%;
}

.menu ul li > ul li a {
	border-left: none !important;
	width: 100%;
	border-bottom: 1px solid var(--seda);
	border-right: none;
	border-image: none;
	white-space: nowrap;
	background: white;
}

.menu ul li > ul li a:hover {
	background: var(--seda);
	color: var(--cerna);
}

.menu ul li > ul li a:hover::after {
	display: none;
}

.menu ul li:hover > ul {
	display: block;
	opacity: 1;
	visibility: visible;
}

.menu ul li > ul li ul {
	display: block;
	max-width: 200px;
	left: 100%;
	top: 0;
}

span.sipka_dolu {
	height: 0;
	width: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-top: 5px solid var(--cerna);
	margin-top: 5px;
	margin-left: 8px;
}
.menu ul li > ul li a::after {
	display: none;
}

/* TITULKA */

section {
	padding: 0 var(--padding);
}

section.uvod {
	height: 100vh;
	min-height: 650px;
	background: url('../img/titulni_foto.jpg') center/cover no-repeat;
	display: flex;
	position: relative;
	justify-content: center;
	align-items: flex-start;
	flex-direction: column;
	padding-top: 14vh;
	padding-bottom: 5rem;
}

.nopadd {
	padding-top: 0;
	margin-top: 0;
	background: yellow;
}

section ul {
	list-style: none;
	padding-bottom: 2rem;
}

section ul li {
	position: relative;
	padding: 0.4rem 0;
}

section ul li::before {
	content: '';
	background: var(--cervena);
	display: block;
	width: 0.6rem;
	height: 0.6rem;
	position: absolute;
	left: -2rem;
	top: 50%;
	transform: translateY(-50%);
}

section.uvod h1.h1 {
	font-size: 3.212em;
	line-height: 1.2em;
}
section.uvod ul li {
	font-weight: 300;
	font-size: 1.4rem;
}

.titulni img {
	display: none;
}

section.belcura_ikony {
	padding-top: 3rem;
	padding-bottom: 3rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.levy_ikony {
	flex-basis: 67%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 3rem;
}

.levy_ikony img {
	max-width: 30%;
}

.pravyobr {
	flex-basis: 30%;
}
.pravyobr img {
	width: 100%;
	height: auto;
}

section.aplikace {
	padding-top: 5rem;
	padding-bottom: 5rem;
	background-image: linear-gradient(to left top, #cfcfcf, #d7d6d7, #dfdedf, #e8e5e6, #f1eced, #f3eeef, #f6f0f0, #f8f2f2, #f5efef, #f1ecec, #eee9e9, #ebe6e6);
	display: flex;
	flex-wrap: wrap;
}

section.aplikace h2,
section.aplikace .full {
	flex-basis: 100%;
}

section.aplikace .full {
	text-align: center;
	margin-top: 5rem;
}
.full.tlacitka {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.full.tlacitka a {
	width: 250px;
	margin: 1rem;
}

.full.tlacitka a.pribalovy {
	background: white;
	border: 1px solid var(--cervena);
	color: var(--cervena);
	display: flex;
	padding: 0.7rem 2rem;
	justify-content: center;
	align-items: center;
}

.full.tlacitka a.pribalovy:hover {
	background: #0a2771;
	color: white;
	border: 1px solid #0a2771;
}
.full.tlacitka a.pribalovy:hover svg path {
	fill: #ffffff;
}

.full.tlacitka a.pribalovy svg {
	margin-right: 0.3rem;
}

.full.tlacitka a.pribalovy svg path {
	transition: all 0.3s ease-in-out;
}

section.aplikace .left {
	flex-basis: 40%;
}

section.aplikace .left h3 {
	margin-bottom: 0;
}
section.aplikace .left ul {
	margin-top: 0.5rem;
	padding-bottom: 0.5rem;
}

section.aplikace .right {
	flex-basis: 60%;
	padding-top: 2rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	justify-items: right;
	align-items: center;
}

section.aplikace .right img {
	width: 70%;
}

footer {
	padding: 2rem var(--padding);
	background: #f8f8f8;
	display: flex;
	flex-wrap: wrap;
	color: #787878;
}

footer .box1 {
	flex-basis: 33%;
	padding: 2rem 2rem 2rem 0;
}

footer .box1 img.belcura {
	width: 80%;
	max-width: 200px;
}

footer .box2 {
	padding: 2rem;
	flex-basis: 34%;
	display: flex;
	flex-direction: column;
	align-items: center;
	border-left: 1px solid #a8a8a8;
	border-right: 1px solid #a8a8a8;
}

footer .box3 {
	padding: 2rem 0 2rem 2rem;
	flex-basis: 33%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

footer .box3 .vystredit {
	display: flex;
	flex-direction: column;
}

footer .box3 .vystredit a {
	flex: 1;
}

footer .full {
	flex-basis: 100%;
}
a.adresa,
a.email,
a.telefon,
a.web {
	position: relative;
	padding-left: 2rem;
	padding-bottom: 1.2rem;
	color: #787878;
}
a.adresa::before,
a.email::before,
a.telefon::before,
a.web::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.2rem;
	width: 1.2rem;
	height: 1.2rem;
}
a.email:hover,
a.telefon:hover,
a.web:hover {
	color: var(--cervena);
	text-decoration: none;
}

a.telefon {
	cursor: not-allowed;
	pointer-events: none;
	text-decoration: none;
}

a.adresa::before,
a.web::before {
	background: url('../img/ikona_adresa.svg') center/cover no-repeat;
}

a.email::before {
	background: url('../img/ikona_e-mail.svg') center/cover no-repeat;
}

a.telefon::before {
	background: url('../img/ikona_telefon.svg') center/cover no-repeat;
}

a.social {
	text-decoration: none;
}

a.social svg path,
a.social svg ellipse {
	fill: #787878;
}
a.social:hover svg path,
a.social:hover svg ellipse {
	fill: var(--cervena);
}

a.meho {
	color: var(--tmaveseda);
}
a.meho:hover {
	color: var(--cervena);
	text-decoration: none;
}

/* PODSTRANA */

body.bg {
	background: #e9e9e9;
}

.pozadi {
	position: fixed;
	top: 5%;
	width: 100vw;
	height: 100vh;
	z-index: -1;
	min-height: 55vw;
	max-height: 1200px;
}

.pozadi.hydratace {
	background: url('../img/hydratace_1920.jpg') left/cover no-repeat;
}
.pozadi.mikrostribro {
	background: url('../img/mikrostribro_1920.jpg') left/cover no-repeat;
}
.pozadi.tolerance {
	background: url('../img/tolerance_1920.jpg') left/cover no-repeat;
}
.pozadi.kontakt {
	background: url('../img/kontakt_1920.jpg') left/cover no-repeat;
}

.pozadi::after {
	content: '';
	width: 8%;
	height: 100vh;
	position: absolute;
	top: 0;
	right: 0;
	background: url('../img/textura.svg') center/cover no-repeat;
	opacity: 0.2;
}

section.podstrana {
	padding: 1px var(--padding) 5rem var(--padding);
	margin-left: auto;
	max-width: 1200px;
	width: 60%;
	position: relative;
}

section.podstrana::before {
	content: '';
	display: block;
	width: 100%;
	height: 13.6vh;
	min-height: 63px;
	max-height: 98px;
	position: static;
}

section.podstrana h1.h1 {
	padding-top: 7rem;
	padding-bottom: 5rem;
	margin-top: 0;
	margin-bottom: 0;
}

img.podstranaobr {
	display: none;
}

.bily {
	background: white;
	padding: 3rem 8% 5rem 8%;
}
.bily h2 {
	font-style: normal;
	font-weight: 600;
	font-size: 2.012em;
	line-height: 1.15em;
}
.red {
	padding-left: 2rem;
	border-left: 2px solid var(--cervena);
	margin-bottom: 5rem;
}
p.sedystrong {
	padding: 2rem;
	background: var(--seda);
	font-weight: 900;
	font-size: 1.2em;
	line-height: 1.6em;
	margin-bottom: 4rem;
}

.obal_kontakty {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 370px;
	margin-bottom: 1rem;
}
.obal_kontakty img {
	width: 50%;
	display: block;
}
.obal_kontakty a {
	flex-basis: 15%;
}
.obal_kontakty a svg {
	width: 100%;
}
.flex_kontakty {
	display: flex;
	flex-direction: column;
	padding: 2rem 0 1rem 0;
	align-items: flex-start;
}
.flex_kontakty a {
	color: #000000;
	font-size: 1rem;
}
.greykont {
	margin-top: 3rem;
	background-image: linear-gradient(to left top, #cfcfcf, #d7d6d7, #dfdedf, #e8e5e6, #f1eced, #f3eeef, #f6f0f0, #f8f2f2, #f5efef, #f1ecec, #eee9e9, #ebe6e6);
	padding: 2rem;
}
.greykont hr {
	border: 0;
	height: 1px;
	background: var(--tmaveseda);
	margin-top: 1rem;
}
.greykont p {
	color: var(--tmaveseda);
	margin-bottom: 0;
}

.bily.nopadding {
	padding-bottom: 0rem;
}
p.right {
	padding: 3rem 0;
	text-align: right;
}
form.greykont {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

form.greykont h2 {
	margin-top: 0;
	flex-basis: 100%;
}
form.greykont input.maly {
	flex-basis: 100%;
	max-width: 48%;
}
form.greykont textarea.plny,
.obal_form {
	flex-basis: 100%;
}
form.greykont textarea {
	margin: 1.5rem 0;
}
.obal_form {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

input.cta {
	border: 0;
	font-size: 1rem;
	cursor: pointer;
	margin-top: 1rem;
	margin-bottom: 1rem;
}
.recaptcha {
	margin-right: 2rem;
}

form.greykont input.maly,
form.greykont textarea {
	font-size: 16px;
	border: 1px solid #949393;
	padding: 0.5rem;
}

@media (max-width: 1200px) {
	section.uvod {
		background-position-x: 61%;
	}

	.levy_ikony {
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 2rem;
	}

	section.aplikace .right img {
		width: 85%;
	}
}

@media (max-width: 1100px) {
	* {
		--padding: 5%;
	}

	.menu ul li a {
		padding: 1rem 1rem;
	}

	header {
		max-height: 100px;
	}
	section.uvod {
		max-height: 800px;
	}
	section.aplikace .left {
		flex-basis: 100%;
		display: flex;
		justify-content: space-between;
	}

	section.aplikace .left .boxlinka {
		flex-basis: 46%;
	}

	section.aplikace .right {
		flex-basis: 100%;
		grid-template-columns: repeat(9, 1fr);
		justify-items: right;
		align-items: center;
	}
}

@media (max-width: 1025px) {
	.pozadi.hydratace {
		background: url('../img/hydratace_1024.jpg') no-repeat;
		background-size: 117%;
		background-position-x: center;
	}
	.pozadi.mikrostribro {
		background: url('../img/mikrostribro_1024.jpg') no-repeat;
		background-size: 117%;
		background-position-x: center;
	}
	.pozadi.tolerance {
		background: url('../img/tolerance_1024.jpg') no-repeat;
		background-size: 117%;
		background-position-x: center;
	}
	.pozadi.kontakt {
		background: url('../img/kontakt_1024.jpg') no-repeat;
		background-size: 117%;
		background-position-x: center;
	}

	section.podstrana {
		padding-left: 0;
		padding-right: 0;
		width: 100%;
	}

	section.podstrana h1.h1 {
		background: #e9e9e9;
		padding: 3rem var(--padding);
		text-align: center;
		margin-top: 0;
		margin-bottom: 0;
	}

	.bily {
		margin-top: 24rem;
		max-width: calc(100% - calc(4 * var(--padding)));
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 900px) {
	.levy_ikony {
		grid-template-columns: 1fr;
		grid-gap: 0.5rem;
	}

	.box_ikony {
		display: flex;
		align-items: center;
	}

	.box_ikony img {
		width: 3rem;
		margin-right: 2rem;
	}

	section.aplikace .right {
		grid-template-columns: repeat(5, 1fr);
		justify-items: left;
	}
	form.greykont input.maly {
		max-width: 100%;
	}
}

@media (max-width: 830px) {
	.menu ul li a {
		padding: 1rem 0.6rem;
	}

	section.uvod h1.h1 {
		font-size: 2.6rem;
	}
}

@media (max-width: 767px) {
	* {
		--padding: 10%;
	}

	section.uvod {
		background-image: linear-gradient(to left top, #cfcfcf, #d7d6d7, #dfdedf, #e8e5e6, #f1eced, #f3eeef, #f6f0f0, #f8f2f2, #f5efef, #f1ecec, #eee9e9, #ebe6e6);
		height: auto;
		padding-top: 65px;
		padding-left: 0;
		padding-right: 0;
		display: block;
		max-height: unset;
	}

	section.uvod h1.h1 {
		padding-left: var(--padding);
		padding-right: var(--padding);
	}

	section.uvod ul,
	section.uvod a.cta {
		margin-left: var(--padding);
		margin-right: var(--padding);
	}

	.titulni img {
		display: block;
		width: 100%;
		height: auto;
	}

	span.sipka_dolu {
		display: none;
	}

	header,
	header.nabidka-fixni {
		position: fixed;
		top: 0;
		z-index: 101;
		width: calc(100% - 120px);
		height: 60px;
		padding-top: 0;
		padding-bottom: 0;
		background: none;
	}
	header.nabidka-fixni {
		border-bottom: none;
	}

	a.logo {
		width: auto;
	}

	header.nabidka-fixni a.logo img {
		width: 100%;
	}
	section.aplikace {
		justify-content: space-between;
	}
	section.aplikace .left {
		flex-basis: 67%;
		flex-wrap: wrap;
	}

	section.aplikace .right {
		flex-basis: 30%;
		grid-template-columns: repeat(2, 1fr);
		justify-items: right;
	}

	section.aplikace .left .boxlinka {
		flex-basis: 100%;
	}
	section.aplikace .right img {
		width: 100%;
	}
	footer .box1 {
		flex-basis: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
		padding-right: 0;
		padding-bottom: 4rem;
	}
	footer .box2,
	footer .box3 {
		flex-basis: 50%;
	}
	footer .box2 {
		border-left: 0;
	}

	.pozadi {
		display: none;
	}
	img.podstranaobr {
		display: block;
		width: 100%;
	}

	section.podstrana {
		padding: calc(66px + 3rem) var(--padding) 5rem var(--padding);
		margin-left: unset;
		max-width: unset;
		width: 100%;
	}

	section.podstrana h1.h1 {
		margin-bottom: 3rem;
		margin-top: 0;
		text-align: center;
		padding: 0 var(--padding);
	}
	section.podstrana::before {
		display: none;
	}

	.bily {
		margin-top: 0;
		max-width: unset;
		margin-left: unset;
		margin-right: unset;
	}
}

@media (max-width: 600px) {
	p {
		font-size: 1.2rem;
		line-height: 2rem;
	}

	.flex_kontakty a {
		font-size: 1.2rem;
	}

	section ul li {
		font-size: 1.2rem;
		line-height: 2rem;
	}

	section.aplikace .left {
		flex-basis: 100%;
	}
	section.aplikace .right {
		flex-basis: 100%;
		grid-template-columns: repeat(3, 1fr);
		justify-items: left;
	}
	footer .box1 {
		justify-content: center;
	}

	footer .box1 .obal_img {
		display: block;
		flex-basis: 100%;
		text-align: center;
		padding-bottom: 2rem;
	}
	footer .box1 p {
		flex-basis: unset;
		padding-right: 1rem;
		text-align: right;
	}
	footer .box1 a {
		display: block;
		flex-basis: unset;
	}
	footer .box1 a {
		margin-right: 1rem;
	}
	.bily.nopadding {
		padding-left: 0;
		padding-right: 0;
	}
	.ob,
	p.right.mh {
		padding-left: 2rem;
		padding-right: 2rem;
	}
	.recaptcha {
		margin-right: 0;
	}
}

@media (max-width: 500px) {
	* {
		--padding: 5%;
	}

	section.belcura_ikony {
		padding-top: 0;
	}
	.levy_ikony {
		flex-basis: 100%;
		order: 2;
	}
	.pravyobr {
		flex-basis: 100%;
		order: 1;
		text-align: center;
	}
	.pravyobr img {
		max-width: 350px;
	}
	.box_ikony {
		border-bottom: 1px solid var(--seda);
	}

	.box_ikony p {
		padding-top: 1.2rem;
		padding-bottom: 1.2rem;
	}

	a.telefon {
		cursor: pointer;
		pointer-events: all;
		text-decoration: underline;
	}
	footer .box1,
	footer .box3 {
		border-bottom: 1px solid #a8a8a8;
	}
	footer .box2 {
		flex-basis: 100%;
		border-right: 0;
		padding-right: 0;
		padding-left: 0;
		padding-bottom: 0;
	}

	footer .box3 {
		flex-basis: 100%;
		padding-right: 0;
		padding-left: 0;
	}
	footer .box3 a {
		font-size: 1.2rem;
		line-height: 2rem;
	}
	section.podstrana {
		padding: calc(66px + 3rem) 0 0 0;
	}
	.ob,
	form.greykont {
		padding-left: var(--padding);
		padding-right: var(--padding);
	}
}

@media (max-width: 400px) {
	section.uvod h1.h1 {
		font-size: 2.2rem;
	}
	section.uvod ul {
		padding-left: 2rem;
		margin-top: 0;
		padding-bottom: 0;
	}

	.recaptcha {
		margin-left: -1.3rem;
	}
	.g-recaptcha {
		transform: scale(0.88);
	}
}

#cc-main .cm--box.cm--wide {
	max-width: 37em !important;
}
