/*
Theme Name: Pernerka
Author: Radim Stolina
Author URI: http://www.radimstolina.net
*/

@-ms-viewport { width: device-width; }
@viewport { width: device-width; }
@-o-viewport { width: device-width; }
@-webkit-viewport { width: device-width; }

:root {
  --white: #fff;
  --black: #000;
  --main: #13252a;
  --dark-blue: #2e5661;
  --darker-blue: #16282d;
  --purple: #7e2553;
  --terracotta: #a54040;
  --turquoise: #85c6bd;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
	height: 100%;  
  margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased !important;
	-moz-osx-font-smoothing: grayscale !important;
}
body {
  background: url(images/body-bg.jpg) center top repeat;
  font-family: 'Reddit Sans', sans-serif;
  font-optical-sizing: auto;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;	
}
body.fixed {
  overflow: hidden;
}
.clearfix:after {
  visibility: hidden;
  display: block;
  content: '';
  clear: both;
  height: 0;
}
a, a img, a:hover img, a:visited img {
	outline: none;
	border: none;
}
a img {
	-moz-transform: translate(0,0) scale(1.0);
}

/* Transitions */
a {
	-webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Druk', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  line-height: 100%;
}
h1 {
  font-size: 72px;  
}
h1 span {
  text-transform: none;
  text-wrap: nowrap;  
}
h2 {
  font-size: 60px;
}
h3 {
  font-size: 48px;
}
ul, ol {
  margin: 0;
  padding: 0;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
}
p {
  line-height: 30px;
}
strong {
  font-weight: 700;
}

/* Layout */
header, section, footer {
  width: 100%;
}
.wrapper, .inner {
  margin-left: 5vw;
  margin-right: 5vw;
  padding-top: 50px;
  padding-bottom: 50px;
  position: relative;
}
.wrapper.double {
  padding-top: 100px;
  padding-bottom: 100px;
}
.wrapper.double .inner {
  padding-top: 0;
  padding-bottom: 0;
}
.inner.fullsize {
  margin-left: 0;
  margin-right: 0;
}
.gradient-bg {
  background: url(images/section-bg.jpg) center center no-repeat;
  background-size: cover;
  color: var(--white); 
}
.noise-bg {
  background: url(images/noise-bg.jpg) center center repeat;
  color: var(--white);
}
.overlay {
  color: var(--white);
  position: relative;
}
.overlay:before {
  content: '';
  background-color: rgba(0,0,0,.3);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.centered {
  text-align: center;
}
.centered [class*="col-"] {
  text-align: center !important;
  -moz-text-align-last: center !important;
  text-align-last: center !important;
}
[class*="col-"] .grid [class*="col-"]  {
  padding: 0 15px;
}
.neg-margin-left .content, .neg-margin-right .content {
  position: relative;
  z-index: 1;
}
.neg-margin-left .content {
  margin-left: -16.66666667%;
}
.neg-margin-right .content {
  margin-right: -16.66666667%;
}

/* Buttons */
.btn {
  background-color: var(--darker-blue);
  height: 52px;
  line-height: 52px;
  display: inline-block;
  padding: 0 30px;
  text-align: center;
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .05rem;
  text-transform: uppercase;
  margin-top: 30px;
  border: none;
  -webkit-border-radius: 6px;
  border-radius: 6px;
}
.btn:hover {
  background-color: var(--dark-blue);
}
.btn.alt {
  background-color: var(--dark-blue);
}
#kde-koupit .btn {
  margin-top: 80px;
}

/* Slick */
.slick-slider .slick-list,
.slick-slider .slick-track {
  -webkit-transform:translateZ(0);
  transform:translateZ(0);
}
.slick-slide a {
  display: inline-block;
}
.slick-slide img {
  width: 100%;
  height: auto;
}
.slick-prev, .slick-next {
	line-height: 60px;
	height: 60px;
	width: 60px;
	margin-top: -30px;
  color: var(--white);
  z-index: 2;
}
.slick-prev.slick-disabled, .slick-next.slick-disabled {
	cursor: pointer;
  opacity: 1;
}
.slick-next:before, .slick-prev:before {
	content: '\f054';
	font-family: 'Font Awesome 5 Pro';
  font-size: 48px;
	font-weight: 300;
  opacity: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}
.slick-prev:before {
	content: '\f053';
}
.slick-next, .slick-prev,
.slick-next:hover, .slick-prev:hover {
	color: var(--main);
}
.negative .slick-next, .negative .slick-prev,
.negative .slick-next:hover, .negative .slick-prev:hover {
	color: var(--white);
}
.slick-prev:hover {
	left: -5px;
}
.slick-next:hover {
	right: -5px;
}

/* Header */
header {
  position: absolute;
  z-index: 3;
}
header .wrapper {
  padding-top: 40px;
  padding-bottom: 40px;
}
header .logo {
  float: left;
  position: relative;
  z-index: 2;
}
.logo img {
  display: block;
  width: auto;
  height: 36px;
}
nav {
  width: 100%;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
}
nav ul li {
  display: inline-block;
  margin: 0 30px;
}
nav ul li a {
  display: inline-block;
  line-height: 40px;
  color: var(--white);
  font-family: 'Reddit Sans Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
}
nav ul li a:after {
  content: '';
  background: var(--white);
  width: 100%;
  height: 2px;
  display: block;
  position: absolute;
  left: 0;
  bottom: -6px;
  opacity: 0;
  -webkit-transition: opacity .15s ease-in-out, bottom .15s ease-in-out;
  -moz-transition: opacity .15s ease-in-out, bottom .15s ease-in-out;
  transition: opacity .15s ease-in-out, bottom .15s ease-in-out;
}
nav ul li a:hover:after {
  bottom: 4px;
  opacity: 1;
}

/* Submenu */
nav ul li.menu-item-has-children {
  position: relative;  
}
nav ul li.menu-item-has-children > a {
  padding-right: 20px;
  position: relative;
}
nav ul li.menu-item-has-children > a:before {
  content: '\f078';
  font-family: 'Font Awesome 5 Pro';
  font-size: 12px;
  font-weight: 400;
  color: var(--white);
  position: absolute;
  right: 0;
  top: 0;
}
nav ul li.menu-item-has-children > a:after {
  display: none;
}
nav ul li .sub-menu {
	background-color: var(--darker-blue);
  width: 225px;
  padding: 15px 30px 16px;  
	position: absolute;
	left: -9999px;
	top: 75px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  opacity: 0;
  -webkit-transition: opacity .3s ease, top .3s ease;
  -moz-transition: opacity .3s ease, top .3s ease;
  transition: opacity .3s ease, top .3s ease;
}
nav ul li:hover .sub-menu {
  left: -30px;
  top: 40px;
  opacity: 1;
}
.sub-menu li {
  display: block;
  margin: 0;
}
.sub-menu li a {
  text-transform: none;
}

/* Navicon */
#navicon {
  width: 26px;
  height: 26px;
  position: absolute;
  right: 150px;
  margin-top: 5px;
  cursor: pointer;
  display: none;
  z-index: 2;
}
#navicon:before, #navicon:after, #navicon div {
  background-color: var(--white);
  content: '';
  display: block;
  height: 2px;
  margin: 5px 0;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}
#navicon.act:before {
  -webkit-transform: translateY(7px) rotate(135deg);
  -moz-transform: translateY(7px) rotate(135deg);
  transform: translateY(7px) rotate(135deg);
}
#navicon.act:after {
  width: 26px;
  -webkit-transform: translateY(-7px) rotate(-135deg);
  -moz-transform: translateY(-7px) rotate(-135deg);
  transform: translateY(-7px) rotate(-135deg);
}
#navicon.act div {
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  transform: scale(0);
}
#navicon div {
  width: 26px;
}

/* Social */
.social {
  height: 36px;
  display: flex;
  align-items: center;
  float: right;
  position: relative;
  z-index: 2;
}
.social ul li {
  float: left;
  margin-left: 15px;
}
.social ul li a {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: var(--white);
  position: relative;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}
.social ul li a:before {
  content: '';
  width: 30px;
  height: 30px;
  border: 2px var(--white) solid;
  position: absolute;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  -webkit-transition: all .25s ease;
  transition: all .25s ease;  
}
.social ul li a:hover:before {
  width: 36px;
  height: 36px;
}

/* Home Video */
#video {
  background-color: var(--darker-blue);
  height: 100svh;
  position: relative;
}
#video .wrapper, #video .grid {
  height: 100%;
  position: relative;
  z-index: 1;
}
#video h1 {
  margin-top: 18px;
}
#video p {
  font-weight: 500;
}
#video p a {
  font-weight: 600;
  color: var(--white);
  border-bottom: 2px transparent solid;
}
#video p a:hover {
  border-color: var(--white);
}
video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

/* Home Slider */
/* #slider {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100svh;
} */
#slider .wrapper {
  padding-top: 100px;
  padding-bottom: 100px;
}
/* #slider .wrapper, #slider .grid {
  height: 100%;
} */
#slider h1 {
  margin-top: 18px;
}
#slider p {
  font-weight: 500;
}
#slider p a {
  color: var(--white);
}
#slider p a:hover {
  border-color: var(--white);
}
.home-slider .slick-item-slide {
  padding: 30px 0;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: transform .3s;
  transition: transform .3s;
  /* -webkit-transition: transform .3s, opacity .2s ease-in;
  transition: transform .3s, opacity .2s ease-in;
  opacity: 0;
  will-change: transform, opacity; */
}
/* .home-slider .slick-active,
.home-slider .slick-cloned {
  opacity: 1;
} */
/* .home-slider .slick-slide[aria-hidden="true"]:not(.slick-cloned) ~ .slick-cloned[aria-hidden="true"] {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
} */
/* .home-slider .slick-slide[aria-hidden="true"]:not([tabindex="-1"]) + .slick-cloned[aria-hidden="true"], */
.home-slider .slick-center,
.home-slider .slick-current {
  -webkit-transform: scale(1.4);
  transform: scale(1.4);
}
.home-slider-meta h1 {
  margin-top: 0 !important;
}
.home-slider-meta .slick-slide {
  text-align: left;
}

/* Front */
#front {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100svh;
}
#front .wrapper {
  padding-top: 100px;
  padding-bottom: 100px;
}
#front .wrapper, #front .grid {
  height: 100%;
  position: relative;
  z-index: 1;
}
#front h1 {
  margin-top: 18px;
}
#front p {
  font-weight: 500;
}
#front p a {
  font-weight: 600;
  color: var(--white);
  border-bottom: 2px transparent solid;
}
#front p a:hover {
  border-color: var(--white);
}

/* Scrolldown */
.scrolldown {
  display: inline-block;
  position: absolute;
  left: 50%;
  bottom: 30px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 1;
}
.scrolldown a {
  display: inline-block;
  padding: 10px;
  color: var(--white);
  font-size: 36px;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}
@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Content */
section h1 {
  margin-top: 0;
}
section ul {
  display: inline-block;
  /* margin: 18px 0; */
  overflow: visible;
}
section ol li {
  margin-left: 18px;
  padding-left: 10px;
  line-height: 30px; 
}
section ul li {
  padding-left: 25px;
  line-height: 30px;
  position: relative;
  overflow: hidden;  
}
section ul li:before {
  content: '';
  background-color: var(--turquoise);
  width: 4px;
  height: 4px;
  position: absolute;
  left: 0;
  top: 13px; 
}
section p a, section li a {
  font-weight: 600;
  color: var(--turquoise);
  border-bottom: 2px transparent solid;
}
section p a:hover, section li a:hover {
  border-color: var(--turquoise);
}
.date, .name {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  position: relative;
}
.values-container {
  border: 1px rgba(255,255,255,.4) solid;
  padding: 20px 0;
  margin-bottom: 30px;
}
.values [class*="col-"] {
  text-align: left !important;
  -moz-text-align-last: start !important;
  text-align-last: start !important;
  padding: 20px;
  border: rgba(255,255,255,.4) solid;
  border-width: 0 0 0 1px;
}
.values [class*="col-"]:nth-child(1) {
  border-width: 0;
}
.values span {
  font-size: 16px;
  font-weight: normal;
  text-transform: uppercase;
}
.values p {
  font-weight: 700;
  margin-bottom: 0;
}
.map-container {
  height: 0;
  padding-bottom: 42.85714%;
  position: relative;
  overflow: hidden;
  -webkit-border-radius: 24px;
  border-radius: 24px;
}
.embed-container {
  background: url(images/loader.svg) center center no-repeat;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  display: block;
  -webkit-border-radius: 24px;
  border-radius: 24px;
}
iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Thumbnails */
.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  -webkit-border-radius: 24px;
  border-radius: 24px;
}
.w-overlay {
  background-color: var(--white);
}
.w-overlay:after {
  content: '';
  background-color: rgba(255,255,255,.4);
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;  
  -webkit-transition: opacity .5s ease;
  transition: opacity .5s ease;
}
a:hover .w-overlay:after {
  opacity: 1;
}
.image-container .btn {
  margin-top: -26px;
  position: absolute;
  top: 50%;
  z-index: 1;
  opacity: 0;
  scale: 0;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}
a:hover .image-container .btn {
  opacity: 1;
  scale: 1;
}
a .image-container img {
  -webkit-transition: transform .5s ease;
  transition: transform .5s ease;
}
a:hover .image-container img {
  -webkit-transform: scale(1.06);
  transform: scale(1.06);
}

/* Carousel */
.carousel {
  margin-top: 75px;
  padding: 0 60px;
}
.carousel.related-items {
  margin-top: 0;
  margin-bottom: 45px;
}
.carousel.slick-initialized .slick-slide {
  vertical-align: top;
}
.carousel .slick-item-slide {
  padding: 0 45px;
}
.carousel a {
  color: var(--main);
}
.carousel.negative a {
  color: var(--white);
}
.carousel h3 {
  margin-top: 40px;
  margin-bottom: 0;
}
.carousel .slick-prev, .carousel .slick-next {
	margin-top: -60px;
}

/* Banner */
.banner {
  background-color: var(--white);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 10vh 5vw;
  color: var(--main);
  position: relative;
  -webkit-border-radius: 24px;
  border-radius: 24px;
}
.banner h1, .banner h3 {
  margin-top: 0;
}
.default {
  background-image: url(images/banner-bg.jpg);
  color: var(--white);
}
.default .btn {
  background-color: var(--purple);
}
.default .btn:hover {
  background-color: var(--darker-blue);
}
.turquoise {
  background-image: none;
  background-color: var(--turquoise);
  color: var(--white);
}
.blue {
  background-image: url(images/banner-blue-bg.jpg);
  color: var(--white);
}
.blue.var {
  background-image: url(images/banner-blue-var-bg.jpg);
  color: var(--white);
}
.eshop img {
  width: 85%;
  height: auto;
  display: block;
  margin-top: 60px;
  margin-bottom: 45px;
}

/* Info banner */
.info {
  background: var(--white);
  padding: 0;
  color: inherit;
  overflow: hidden;
}
.info .img {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}
.info [class*="col-"] {
  text-align: left !important;
  -moz-text-align-last: start !important;
  text-align-last: start !important;
}
.info .content {
  padding-top: 10vh;
  padding-bottom: 10vh;
  padding-left: 5vw;
}
.info [class*="order-"] .content {
  padding-left: 0;
  padding-right: 5vw;
}
.info .content h1 span {
  text-transform: none;
}

/* Boxes */
.boxes {
  margin-top: -50px;  
}
.boxes [class*="col-"] {
  /* padding-left: 4.16666666%;
  padding-right: 4.16666666%; */
  padding-left: 30px;
  padding-right: 30px;
  margin-top: 50px;
}
.boxes.narrow [class*="col-"] {
  /* padding-left: 1.04166666%;
  padding-right: 1.04166666%; */
  padding-left: 15px;
  padding-right: 15px;
}
.boxes a h2, .box a:hover h2 {
  color: var(--main);
}

/* Shapes */
.square, .rect {
  background-color: var(--white);
  text-align: center !important;
  -moz-text-align-last: center !important;
  text-align-last: center !important;
  position: relative;
  -webkit-border-radius: 12px;
  border-radius: 12px;
}
.square:after {
  content: '';
  display: block;
  padding-bottom: 100%;
}
.square a, .square .inside {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0 15px;
  color: var(--main);
  position: absolute;
}
.rect {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 5vh 15px;
}
.square h2, .rect h2 {
  margin-top: 0;
  margin-bottom: 0;
  text-transform: uppercase;  
}
.square.num h2, .rect.num h2 {
  text-transform: none;  
}
.square p, .rect p {
  margin-top: 10px;
  margin-bottom: 0;
  line-height: 22px;  
}

/* Social icons */
.social-icon a {
  font-family: 'Druk', sans-serif;
  font-size: 24px;
  color: var(--white);
  text-transform: uppercase;
}
.social-icon a i {
  font-size: 48px;
  margin-bottom: 15px;
  -webkit-transition: all .25s ease;
  transition: all .25s ease;
}
.social-icon a:hover i {
  font-size: 56px;
}
.social-img {
  margin-top: 25px;
}

/* Logos */
.logos {
  margin-top: -50px;
}
.logos [class*="col-"] {
  margin-top: 50px;
}
.logos a {
  display: inline-block;
}
.logos img {
  max-width: 100%;
  max-height: 96px;
  display: inline-block;
}
.partners {
  margin-top: 0;
}
.partners img {
  max-width: 96px;
  max-height: 64px;
}

/* List */
.list:not(.isotope-container):not(.gallery) {
  margin-top: -50px;
}
.list [class*="col-"] {
  margin-top: 50px;
  padding: 0 25px;
}
.list a {
  display: block;
}
.list h3 {
  margin-top: 40px;
  margin-bottom: 0;
  color: var(--main);
}
.products h3 {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--main);
}
.blog .date {
  margin-top: 15px;
  color: var(--main);
  opacity: .5;
}
.blog h3 {
  margin-top: 10px;
}
.blogpost img {
  width: 100%;
  height: auto;
  display: block;
}
.gallery {
  margin-bottom: 50px !important;
}

/* Filtering */
#filtering {
  min-height: 52px;
  display: flex;
  position: relative;
}
#filtering div {
  width: 220px;
  min-height: 52px;
  position: absolute;
}
#filtering .col-left {
  left: 50%;
  margin-left: -245px;
}
#filtering .col-right {
  right: 50%;
  margin-right: -245px;
}
#filtering .btn {
  width: 220px;
  margin-top: 0;
  text-align: left !important;
  -moz-text-align-last: left !important;
  text-align-last: left !important;
  position: absolute;
  left: 0;
  top: 0;
}
#filtering .btn:after {
  content: '\f078';
	font-family: 'Font Awesome 5 Pro';
  font-size: 18px;
	font-weight: 400;
  position: absolute;
  right: 25px;
  top: 0;
}
#filtering .btn:hover {
  background-color: var(--turquoise);
}
#filtering ul {
  background-color: var(--white);
  width: 320px;
  display: block;
  padding: 15px 0;
  position: absolute;
  left: 0;
  top: 62px;
  z-index: 2;
  -webkit-border-radius: 12px;
  border-radius: 12px;
  -webkit-box-shadow: 0 0 8px 0 rgba(0,0,0,.2);
  box-shadow: 0 0 8px 0 rgba(0,0,0,.2);  
}
#filtering ul.filtering-menu {
  display: none;  
}
#filtering ul li {
  line-height: 36px;
  padding-left: 0;
  text-align: left !important;
  -moz-text-align-last: left !important;
  text-align-last: left !important;  
}
#filtering ul li:before {
  display: none;  
}
#filtering ul li a {
  display: block;
  padding: 0 30px;
  color: var(--main);  
}
#filtering ul li a:hover, #filtering ul li a.selected {
  background-color: var(--turquoise);
  color: var(--white);  
}

/* Isotope */
.isotope-item { 
  z-index: 2; 
}
.isotope-hidden.isotope-item { 
  pointer-events: none; 
  z-index: 1; 
}  
.isotope, .isotope .isotope-item { 
  -webkit-transition-duration: .6s; 
  -moz-transition-duration: .6s; 
  transition-duration: .6s; 
}  
.isotope { 
  -webkit-transition-property: height, width; 
  -moz-transition-property: height, width; 
  transition-property: height, width; 
}  
.isotope .isotope-item { 
  -webkit-transition-property: -webkit-transform, opacity; 
  -moz-transition-property: -moz-transform, opacity; 
  transition-property: transform, opacity; 
}

/* Recipe detail */ 
.author img {
  width: 128px;
  height: 128px;
  object-fit: cover;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}
.author p {
  margin-top: 0;
  text-transform: uppercase;
}
.recipe-detail h3 {
  margin-top: revert;
  margin-bottom: 24px;
}
.recipe-detail [class*="col-"] {
  position: relative;
}
.recipe-text, .recipe-meta {
  padding-left: 5vw;
  padding-right: 5vw;
}
.recipe-text {
  padding-top: 5vh;
  padding-bottom: 8vh;
}
.recipe-meta {
  background-color: rgba(0,0,0,.3);
  color: var(--white);
  width: 100%;
  padding-top: 60px;
  padding-bottom: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
.recipe-meta > div {
  font-size: 24px;
  font-weight: 700;
  width: 33%;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-right: 1px var(--white) solid;
}
.recipe-meta > div:last-child {
  border: none;
}
.recipe-meta > div span {
  font-size: 18px;
  font-weight: 400;
}

/* Recipe banner */
.recipe-basis h3 {
  color: var(--terracotta);
  margin-top: 0;
  margin-bottom: 24px;
}
.recipe-basis .btn {
  background-color: var(--terracotta);
  margin-top: 0;
}
.recipe-basis img {
  position: absolute;
  right: -25%;
  top: 25%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.spaldova-hladka-mouka {
  background-image: url(images/banner-spaldova-hladka.jpg);
}
.spaldova-hladka-mouka h3 {
  color: #a54040;
}
.spaldova-hladka-mouka .btn {
  background-color: #a54040;
}
.spaldova-celozrnna-hladka-mouka {
  background-image: url(images/banner-spaldova-celozrnna-hladka.jpg);
}
.spaldova-celozrnna-hladka-mouka h3 {
  color: #7e2553;
}
.spaldova-celozrnna-hladka-mouka .btn {
  background-color: #7e2553;
}
.pohankova-celozrnna-hladka-mouka {
  background-image: url(images/banner-pohankova-celozrnna-hladka.jpg);
}
.pohankova-celozrnna-hladka-mouka h3 {
  color: #334a26;
}
.pohankova-celozrnna-hladka-mouka .btn {
  background-color: #334a26;
}
.zitna-celozrnna-hladka-mouka {
  background-image: url(images/banner-zitna-celozrnna-hladka.jpg);
}
.zitna-celozrnna-hladka-mouka h3 {
  color: #2e5661;
}
.zitna-celozrnna-hladka-mouka .btn {
  background-color: #2e5661;
}
.ryzova-hladka-mouka {
  background-image: url(images/banner-ryzova-hladka.jpg);
}
.ryzova-hladka-mouka h3 {
  color: #00546f;
}
.ryzova-hladka-mouka .btn {
  background-color: #00546f;
}
.psenicna-celozrnna-hladka-mouka {
  background-image: url(images/banner-psenicna-celozrnna-hladka.jpg);
}
.psenicna-celozrnna-hladka-mouka h3 {
  color: #b12416;
}
.psenicna-celozrnna-hladka-mouka .btn {
  background-color: #b12416;
}
.psenicna-hladka-extra-silna-mouka {
  background-image: url(images/banner-psenicna-hladka-extra-silna.jpg);
}
.psenicna-hladka-extra-silna-mouka h3 {
  color: #2e5661;
}
.psenicna-hladka-extra-silna-mouka .btn {
  background-color: #2e5661;
}
.psenicna-hladka-mouka {
  background-image: url(images/banner-psenicna-hladka.jpg);
}
.psenicna-hladka-mouka {
  color: #99281f;
}
.psenicna-hladka-mouka {
  background-color: #99281f;
}
.psenicna-polohruba-mouka {
  background-image: url(images/banner-psenicna-polohruba.jpg);
}
.psenicna-polohruba-mouka h3 {
  color: #7e2553;
}
.psenicna-polohruba-mouka .btn {
  background-color: #7e2553;
}
.psenicna-hruba-mouka {
  background-image: url(images/banner-psenicna-hruba.jpg);
}
.psenicna-hruba-mouka h3 {
  color: #891f28;
}
.psenicna-hruba-mouka .btn {
  background-color: #891f28;
}

/* Timeline */
.history-box {
  width: calc(100% - 80px);
  text-align: center;
  margin: 75px auto 0;
}
.history-box .history-timeline {
  width: 100%;
  height: 80px;
  position: relative;
}
@media screen and (max-width: 767px){
  .history-box .history-timeline {
    display: none;
  }
}
.history-timeline .history-line {
  background-color: var(--main);
  width: 100%;
  height: 6px;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.history-timeline .history-years {
  position: relative;
}
.history-years .history-year {
  display: block;
  color: var(--white);
  position: absolute;  
  left: 0;
  cursor: pointer;
  margin-left: -40px;
}
.history-year span {
  min-width: 80px;
  display: block;
  text-align: center;
  font-family: 'Druk', sans-serif;
  font-weight: normal;
  font-size: 30px;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}
.history-year:before {
  content: '';
  background-color: var(--main);
  width: 80px;
  height: 80px;
  display: block;
  position: relative;  
  -webkit-border-radius: 40px;
  border-radius: 40px;
  -webkit-transition: background-color .3s ease;
  -moz-transition: background-color .3s ease;
  transition: background-color .3s ease;
}
.history-year.active:before,
.history-year:hover:before {
  background-color: var(--turquoise);
}
.history-contents {
  background-color: var(--turquoise);
  width: 50%;
  margin: 75px auto 0;
  padding: 2.5vh 5vw;
  color: var(--white);
  -webkit-border-radius: 24px;
  border-radius: 24px;
}
.history-single {
  display: none;
}
.history-single .single-year {
  font-family: 'Druk', sans-serif;
  font-weight: normal;
  font-size: 36px;
}
@media screen and (max-width: 1599px) {
  .history-contents {
    width: 66.666666%;
  }
}
@media screen and (max-width: 1199px) {
  .history-contents {
    width: 75%;
  }
}
@media screen and (max-width: 991px) {
  .history-contents {
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .history-contents {
    width: 100%;
  }
  .history-box {
    width: 100%;
  }
  .history-single {
    display: block;
    padding: 25px 50px;
  }
  .history-single .single-year {
    font-size: 48px;
  }
}
.history-single a.years {
  display: none;
}
.history-single .btn-ctn-center {
  
}
@media screen and (min-width: 768px) {
  .history-single .single-year,
  .history-single .btn-ctn-center {
    display: none;
  }
}

/* Footer */
footer {
  background: url(images/section-bg.jpg) center center no-repeat;
  background-size: cover;
  text-align: center;
  color: var(--white);
}
footer nav {
  height: auto;
  position: relative;
}
.copyright  {
  font-size: 14px;
}
.copyright span  {
  display: block;
  margin-top: 60px;
}
.copyright a {
  display: inline-block;
  margin-top: 40px;
  color: var(--white);
  font-weight: 600;
}
.copyright img {
  width: auto;
  height: 50px;
  display: block;
}


/* Responsive styles */
@media only screen and (max-width: 1599px) {
  header nav {
    width: auto;
    right: 130px;
  }
  header nav ul li {
    margin: 0 10px;
  }  
  /* .home-front {
    height: auto !important;
    min-height: 100svh;
  }
  .home-front .wrapper {
    padding-top: 100px;
    padding-bottom: 100px;
  } */
  .home-slider-meta .slick-slide {
    text-align: center !important;
    -moz-text-align-last: center !important;
    text-align-last: center !important;
  }
  .values-container {
    border: none;
    padding: 0;
  }
  /* .values {
    border: rgba(255,255,255,.4) solid;
    border-width: 1px 0 0 1px;
  }
  .values [class*="col-"], .values [class*="col-"]:nth-child(1) {
    border-width: 0 1px 1px 0;
  } */
  .values {
    border: 1px rgba(255,255,255,.4) solid;
  }
  .values [class*="col-"]:nth-child(1),
  .values [class*="col-"]:nth-child(2),
  .values [class*="col-"]:nth-child(3) {
    border-bottom-width: 1px;
  }
  .values [class*="col-"]:nth-child(4) {
    border-left-width: 0;
  }
  .values [class*="col-"]:nth-child(4),
  .values [class*="col-"]:nth-child(5),
  .values [class*="col-"]:nth-child(6),
  .values [class*="col-"]:nth-child(7) {
    border-bottom-width: 0;
  }
  .recipe-meta {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .recipe-basis img {
    top: 50%;
  }
  footer nav ul li {
    margin: 0 20px;
  }                                             
}
@media only screen and (max-width: 1199px) {
  h1 {
    font-size: calc(72px / 7 * 6);  
  }
  h2 {
    font-size: calc(60px / 7 * 6);
  }
  h3 {
    font-size: calc(48px / 7 * 6);
  }  
  header.sticky {
    position: fixed;
  }
  header nav {
    background: url(images/banner-bg.jpg) center center no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    float: none;
    display: flex;
    justify-content: start;
    align-items: start;
    padding-left: 5vw;
    padding-right: 5vw;
    padding-top: 116px;
    padding-bottom: 116px;
    z-index: 1;
    -webkit-transition: top .5s ease-in-out;
    -moz-transition: top .5s ease-in-out;
    transition: top .5s ease-in-out;
  }
  header nav ul {
    opacity: 0;
    -webkit-transition: opacity .5s ease-in-out .5s;
    -moz-transition: opacity .5s ease-in-out .5s;
    transition: opacity .5s ease-in-out .5s;
  }
  header nav ul li {
    display: block;
    line-height: 48px;
    margin: 0;
  }
  nav.mobile {
    top: 0;
  }
  nav.mobile ul {
    opacity: 1;
  }
  nav ul li .sub-menu {
    background: none;
    width: auto;
    padding: 0 0 0 20px;
    position: relative;
    left: 0;
    top: 0;
    display: none;
    -webkit-border-radius: 0;
    border-radius: 0;
    opacity: 1;
    -webkit-transition: none;
    -moz-transition: none;
    transition: none;  
  }
  nav ul li .sub-menu li {
    line-height: 36px;
  }
  nav ul li:hover .sub-menu {
    left: 0;
    top: 0;
  }  
  #navicon {
    display: block;
  }
  .isotope-container .item:nth-child(odd) {
    margin-left: 8.3333333%;
  }
  .isotope-container .item:nth-child(even) {
    margin-right: 8.3333333%;
  }
  .social-icon a i {
    font-size: 36px;
  }
  .recipe-meta {
    padding-left: 0;
    padding-right: 0;
  }    
  footer nav ul li {
    margin: 0 15px;
  }
  footer nav ul li a {
    font-size: 16px;
  }                                                
}
@media only screen and (max-width: 991px) {
  .wrapper, .inner {
    padding-top: calc(50px / 4 * 3);
    padding-bottom: calc(50px / 4 * 3);  
  }
  .wrapper.double {
    padding-top: calc(100px / 4 * 3);
    padding-bottom: calc(100px / 4 * 3);
  }
  .banner:not(.blue), .welcome [class*="col-"] {
    text-align: center !important;
    -moz-text-align-last: center !important;
    text-align-last: center !important;
  }    
  .banner, .info .content {
    padding-top: 7.5vh;
    padding-bottom: 7.5vh;    
  }
  .banner.info {
    padding-top: 0;
    padding-bottom: 0;    
  }
  .banner [class*="col-"]:nth-child(2) h3 {
    margin-top: revert;
  }
  .info .content {
    padding-right: 5vw;
    text-align: center !important;
    -moz-text-align-last: center !important;
    text-align-last: center !important;    
  }
  .info [class*="order-"] .content {
    padding-left: 5vw;
  }  
  .neg-margin-right .content {
    margin-right: 0;
    text-align: center !important;
    -moz-text-align-last: center !important;
    text-align-last: center !important;
  }
  .neg-margin-right .img {
    background-position: right bottom;
    background-size: auto 115%;
  }    
  .info .img, .recipe-detail .img {
    height: 100%;
    padding-bottom: 100% !important;
  }  
  .values [class*="col-"]:nth-child(3),
  .values [class*="col-"]:nth-child(5) {
    border-left-width: 0;
  }
  .values [class*="col-"]:nth-child(4) {
    border-left-width: 1px;
    border-bottom-width: 1px;
  }
  .values [class*="col-"]:nth-child(5),
  .values [class*="col-"]:nth-child(6),
  .values [class*="col-"]:nth-child(7) {
    border-bottom-width: 0;
  }    
  .recipe-meta {
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .recipe-text {
    padding-top: 2vh;
    padding-bottom: 3.2vh;
  }
  .recipe-basis img {
    margin-bottom: -10vh;
    position: relative;
    right: inherit;
    top: inherit;
    -webkit-transform: none;
    transform: none;  
  }
  .isotope-container .item:nth-child(odd) {
    margin-left: 0;
  }
  .isotope-container .item:nth-child(even) {
    margin-right: 0;
  }
  .map {
    margin-top: 5vh;
  }
  footer nav ul li {
    margin: 0 10px;
  }                      
}
@media only screen and (max-width: 767px) {
  .slick-prev, .slick-next {
  	line-height: 48px;
  	height: 48px;
  	width: 48px;
  	margin-top: -24px;
  }
  /* .slick-next:before, .slick-prev:before {
  	font-size: 48px;
  } */
  .product-front {
    height: auto !important;
  }
  .product-front .wrapper {
    padding-top: 75px;
    padding-bottom: 150px;
  }
  .neg-margin-left .content {
    margin-left: 0;
    text-align: center !important;
    -moz-text-align-last: center !important;
    text-align-last: center !important;
  }
  .recipe-meta > div {
    font-size: 18px;
  }
  .recipe-meta > div span {
    font-size: 15px;
  }  
  .recipe-basis img {
    margin-bottom: -5vh;
  }
  footer nav ul li {
    margin: 0 15px 15px;  
  }                                               
}
@media only screen and (max-width: 575px) {
  .carousel .slick-item-slide {
    padding: 0 15px;
  }
  .map-container {
    padding-bottom: 56.25%;
  }  
  .banner {
    padding-left: 7.5vw;
    padding-right: 7.5vw;  
  }
  .banner.info {
    padding-left: 0;
    padding-right: 0;    
  }
  .banner, .info .content {
    padding-top: 7.5vh;
    padding-bottom: 7.5vh;    
  }
  .info .content {
    padding-left: 7.5vw;
    padding-right: 7.5vw;    
  }
  .info [class*="order-"] .content {
    padding-left: 7.5vw;
    padding-right: 7.5vw;
  }    
  .boxes [class*="col-"], .boxes.narrow [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
  }
  .values {
    border-bottom-width: 0;
  }
  .values [class*="col-"] {
    border-left-width: 0 !important;
    border-bottom-width: 1px !important;
  }  
  .recipe-detail {
    padding-top: 0;
  }
  .recipe-text {
    padding-left: 7.5vw;
    padding-right: 7.5vw;
  }
  .recipe-meta {
    padding-top: 5vh;
    padding-bottom: 5vh;
  }
  #filtering {
    display: block;
  }
  #filtering .col-left, #filtering .col-right {
    position: relative;
    display: block;
  }
  #filtering .col-left {
    left: inherit;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 26px;
  }
  #filtering .col-right {
    right: inherit;
    margin-right: auto;
    margin-left: auto;
  }   
  .history-contents {
    padding-left: 7.5vw;
    padding-right: 7.5vw;
    text-align: left;
  }                                                                     
}
@media only screen and (max-width: 479px) {
  h1 {
    font-size: calc(60px / 7 * 6);  
  }
  h2 {
    font-size: calc(48px / 7 * 6);
  }
  h3 {
    font-size: calc(36px / 7 * 6);
  }  
  .wrapper, .inner {
    padding-top: calc(50px / 5 * 3);
    padding-bottom: calc(50px / 5 * 3);  
  }
  .wrapper.double {
    padding-top: calc(100px / 5 * 3);
    padding-bottom: calc(100px / 5 * 3);
  }  
  .btn {
    padding: 0 20px;
  }
  .slick-prev, .slick-next {
  	line-height: 36px;
  	height: 36px;
  	width: 36px;
  	margin-top: -18px;
  }
  .slick-next:before, .slick-prev:before {
  	font-size: 36px;
  }
  .logo {
    margin-top: 3px;
    margin-bottom: 3px;
  }
  .logo img {
    height: 30px;
  }
  #navicon {
    right: 135px;
  }  
  .banner, .info .content {
    padding-top: 5vh;
    padding-bottom: 5vh;    
  }                                              
}