:root {
  --brown: $brown;
  --brown-dark: $brown-dark;
  --gray: $gray;
  --black: $black;
  --white: #fff;
  --orange: $orange;
}

* {
  box-sizing: border-box;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  margin: 0;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

a {
  color: black;
  text-decoration: none;
}

img {
  border: 0;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Slider */
.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slick-list:focus {
  outline: none;
}

.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
}

.slick-track:before,
.slick-track:after {
  display: table;
  content: "";
}

.slick-track:after {
  clear: both;
}

.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  display: none;
  float: left;
  vertical-align: top;
  height: 100%;
  outline: none;
  min-height: 1px;
}

[dir=rtl] .slick-slide {
  float: right;
}

.slick-slide img {
  display: block;
}

.slick-slide.slick-loading img {
  display: none;
}

.slick-slide.dragging img {
  pointer-events: none;
}

.slick-initialized .slick-slide {
  display: block !important;
}

.slick-loading .slick-slide {
  visibility: hidden;
}

.slick-vertical .slick-slide {
  display: block;
}

.slick-arrow.slick-hidden {
  display: none;
}

.slick-disabled {
  opacity: 0.5;
}

.gallery-slider img {
  max-width: 100%;
}

.slick-dots {
  padding: 30px 0 0 0;
  width: 100%;
  margin: 0;
  text-align: center;
}
.slick-dots li {
  display: inline-block;
  margin: 0 3px;
  width: 8px;
  height: 8px;
  opacity: 0.5;
  border-radius: 16px;
  background-color: #4a2a11;
  cursor: pointer;
}
.slick-dots li.slick-active {
  opacity: 1;
}
.slick-dots li button {
  opacity: 0;
}

html {
  -webkit-text-size-adjust: none;
}

html, body {
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  font-size: 14px;
  line-height: 1.6;
  font-weight: normal;
  background-color: white;
}

body.loading {
  overflow: hidden;
}

p {
  margin-top: 0;
  margin-bottom: 15px;
}
p a {
  text-decoration: underline;
}
p a:hover {
  text-decoration: underline;
}


.loader-body {
  width: 100%;
  height: 100vh;
  background-color: white;
  position: fixed;
  z-index: 999999;
  visibility: visible;
  top: 0;
  left: 0;
  text-align: center;
  -webkit-box-pack: center;
          justify-content: center;
  align-content: center;
  -webkit-transition: visibility 0.5s, opacity 0.5s;
  transition: visibility 0.5s, opacity 0.5s;
}
.loader-body.done {
  visibility: hidden;
  opacity: 0;
}
.loader-body.done .loader {
  animation-play-state: paused;
  -webkit-animation-play-state: paused;
}

.loader {
  background: url(https://www.kofola.cz/images/loader.png) 0 0 no-repeat;
  background-size: auto 100%;
  height: 80px;
  width: 192px;
  animation: loader steps(7) 0.85s infinite;
  -webkit-animation: loader steps(7) 0.85s infinite;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  -webkit-transform: scale(0.75);
  transform: scale(0.75);
}

.content {
  min-height: 200px;
}

.text-center {
  text-align: center;
}

.container {
  padding: 0 16px;
  width: 100%;
  margin: 0 auto;
}
.container.relative {
  position: relative;
}

.container-text a {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .loader {
    -webkit-transform: scale(0.85);
    transform: scale(0.85);
  }

  .container-text table {
    width: 750px;
  }

  .container {
    max-width: 732px;
  }
  .container.smaller {
    max-width: 560px;
  }

  .container-text h2 {
    font-size: 35px;
  }
}
@media (min-width: 992px) {
  .loader {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  .container {
    max-width: 984px;
  }
  .container.small.max-750 {
    max-width: 750px;
  }

  .show-mobile {
    display: none !important;
  }

  .show-desktop-ib {
    display: inline-block;
  }
}
@media (min-width: 1360px) {
  .container {
    max-width: 1172px;
  }
  .container.small {
    max-width: 984px;
  }
}


@media (min-width: 992px) {

  .fp-tableCell {
    height: 100% !important;
  }
}

.history-section {
  opacity: 0;
  pointer-events: none;
  position: relative;
  height: auto;
  overflow: auto;
  z-index: 5;
  min-height: 100vh;
}

.history-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  text-align: center;
}

.history-loader-video {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  left: 0;
}
.history-loader-video video {
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  left: 0;
}

.history-loader-year {
  position: absolute;
  font-size: 100px;
  font-family: "DharmaGothicP", sans-serif;
  letter-spacing: 0.5px;
  color: #4a2a11;
  text-align: center;
  top: 50%;
  left: 50%;
  -webkit-transform: translate3d(-50%, -30%, 0);
  transform: translate3d(-50%, -30%, 0);
}

.loaded .history-section {
  opacity: 1;
  pointer-events: all;
}

.history-video-player {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 90;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
}

.history-video {
  position: absolute;
  top: 0;
  left: 0;
  margin: auto;
  right: 0;
  bottom: 0;
  width: 95%;
  height: 50vw;
}
.history-video iframe {
  height: 100%;
  width: 100%;
  border: 5px solid white;
}

.history-video-close {
  position: absolute;
  top: -45px;
  right: 0px;
  height: 30px;
  outline: none;
  line-height: 30px;
  width: 30px;
  text-align: center;
  color: white;
  font-size: 30px;
}
.history-video-close:hover {
  color: #f39800;
}

.history-list {
  overflow: hidden;
}

.history-slide {
  height: auto !important;
  width: 100%;
  position: relative;
}
.history-slide:nth-child(1n+1) .history-image-wrapper {
  -webkit-transform: rotate(-3deg);
  transform: rotate(-3deg);
}
.history-slide:nth-child(2n+2) .history-image-wrapper {
  -webkit-transform: rotate(-6deg);
  transform: rotate(-6deg);
}
.history-slide:nth-child(3n+3) .history-image-wrapper {
  -webkit-transform: rotate(3deg);
  transform: rotate(3deg);
}
.history-slide:nth-child(4n+4) .history-image-wrapper {
  -webkit-transform: rotate(6deg);
  transform: rotate(6deg);
}
.history-slide:nth-child(5n+5) .history-image-wrapper {
  -webkit-transform: rotate(-3deg);
  transform: rotate(-3deg);
}

.history-list .slick-list {
  height: auto !important;
}

.history-subslide {
  height: 100%;
  width: 100%;
  z-index: 1;
  position: relative;
  top: 0;
  left: 0;
  padding: 150px 20px 20px 20px;
}

.history-part.top {
  margin-bottom: 30px;
}

.history-image {
  position: relative;
  text-align: center;
  -webkit-transition: margin 400ms ease;
  transition: margin 400ms ease;
}
.history-image img {
  display: block;
  max-height: 50vh;
  max-width: 80vw;
  position: relative;
  z-index: 2;
  height: auto;
  width: auto;
}

.history-image-doodles {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
}

.history-image-wrapper {
  display: inline-block;
  position: relative;
  padding: 15px;
}
.history-image-wrapper::after {
  position: absolute;
  z-index: 3;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  content: "";
}


.history-play-video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  bottom: 0;
  display: block;
  cursor: pointer;
}
.history-play-video:hover {
  opacity: 0.75;
}

.history-name {
  text-align: left;
  color: #4a2a11;
  margin-bottom: 5px;
  text-transform: none;
}

.history-year {
  font-size: 3em!important;
  font-weight: bold;
  margin-bottom: 5px;
}

.history-text p {
  color: #4a2a11;
  font-weight: 500;
}

.history-list-arrows {
  display: none;
}

.history-timeline {
  z-index: 5;
  position: absolute;
  width: 100vw;
  top: 80px;
  left: 0;
  right: 0;
  height: 60px;
  padding: 0 15px;
  margin: 0 auto;
}

.history-timeline .slick-track {

}

.history-timeline-slide {
  display: inline-block;
  position: relative;
  height: 48px;
  width: 48px;
  line-height: 48px;
  font-weight: bold;
  color: #000;
  font-size: 1em;
  text-align: center;
}
.history-timeline-slide::before {
  width: 100%;
  content: "";
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: url(https://www.kofola.cz/images/year-bubble-1.png) 50% 50% no-repeat;
  background-size: contain;
}
.history-timeline-slide:first-child {
  margin-left: 0px;
}
.history-timeline-slide:nth-child(4n+1).slick-current::before {
  background-image: url(/img/lapozo/tabla.png);
}
.history-timeline-slide:nth-child(4n+1)::before {
  background-image: url(/img/lapozo/helyseg1.png);
}
.history-timeline-slide:nth-child(4n+2).slick-current::before {
  background-image: url(/img/lapozo/tabla.png);
}
.history-timeline-slide:nth-child(4n+2)::before {
  background-image: url(/img/lapozo/helyseg1.png);
}
.history-timeline-slide:nth-child(4n+3).slick-current::before {
  background-image: url(/img/lapozo/tabla.png);
}
.history-timeline-slide:nth-child(4n+3)::before {
  background-image: url(/img/lapozo/helyseg1.png);
}
.history-timeline-slide:nth-child(4n+4).slick-current::before {
  background-image: url(/img/lapozo/tabla.png);
}
.history-timeline-slide:nth-child(4n+4)::before {
  background-image: url(/img/lapozo/helyseg1.png);
}
.history-timeline-slide.long {
  font-size: 11px;
}
.history-timeline-slide.long.slick-current::before {
  background-image: url(https://www.kofola.cz/images/year-bubble-long-hover.png);
}
.history-timeline-slide.long::before {
  background-image: url(https://www.kofola.cz/images/year-bubble-long.png);
}
.history-timeline-slide:hover {
  color: #4a2a11;
}
.history-timeline-slide.slick-current {
  color: #4D4D4D;
}

@media (max-width: 991px) and (max-height: 550px) {
  .history-image {
    display: none;
  }
}
@media (max-width: 991px) {
  .history-info {
    margin: 20px auto;
    max-width: 90%;
  }
}
@media (min-width: 992px) {
  .is_video .history-image-doodles:before, .is_video .history-image-doodles:after {
    width: 15%;
  }
  .is_video .history-image-doodles:before {
    left: -18%;
  }
  .is_video .history-image-doodles:after {
    right: -18%;
  }

  .history-video {
    top: 40px;
    width: 65%;
    height: 35vw;
  }
  .history-video iframe {
    border: 10px solid white;
  }

  .history-section {
    overflow: hidden;
    height: 100vh;
  }

  .fp-tableCell {
    height: 100% !important;
  }

  .history-list {
    min-height: 100vh;
  }

  .history-timeline {
    height: calc(100vh - 80px);
    padding: 80px 0 0 0;
    width: 75px;
    left: 30px;
    right: auto;
    z-index: 90;
    position: fixed;
    top: 80px;
    -webkit-transition: -webkit-transform 0.6s ease-in-out;
    transition: -webkit-transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
  }
  .history-timeline .slick-list {
    height: 100% !important;
    overflow: visible;
  }

  .history-timeline-slide {
    display: block;
    text-align: center;
    position: relative;
    margin-bottom: 30px;
    cursor: pointer;
  }

  .history-timeline .slick-track {
    background: url(/img/lapozo/sin-bg.png) 50% 50% repeat-y;
    background-size: auto auto;
  }

  .history-slide {
    min-height: 450px;
    width: 100vw !important;
    height: 100vh !important;
  }

  .history-subslide {
    padding: 0;
    overflow: visible;
    min-height: 450px;
    padding-top: 70px;
    display: -webkit-box;
    display: flex;
    position: absolute;
    display: -webkit-flex;
    -webkit-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
            /*align-items: center;*/
    opacity: 1;
    -webkit-transition: -webkit-transform 0.6s ease-in-out;
    transition: -webkit-transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
  }

  .history-image {
    position: relative;
    text-align: left;
  }
  .history-image img {
    max-width: 30vw;
    max-height: 55vh;
  }
  .history-image .is_video img {
    max-width: 35vw;
    max-height: 50vh;
  }

  .history-part {
    width: 45%;
    display: block !important;
    position: relative;
  }
  .history-part.top {
    padding-right: 10px;
    text-align: right;
    margin: 0;
  }
  .history-part.bottom {
    width: 55%;
    padding-left: 50px;
    text-align: left;
  }

  .history-name {
    display: inline-block;
    position: relative;
    font-size: 40px;
    line-height: 42px;
  }

  .history-info {
    width: 70%;
    max-width: 400px;
    display: inline-block;
    text-align: left;
  }

  .history-list-arrows {
    display: block;
    position: fixed;
    bottom: 150px;
    right: 30px;
    z-index: 5;
  }

  .history-list-arrow {
    height: 40px;
    cursor: pointer;
    width: 40px;
    background: url(https://www.kofola.cz/images/arrow-round.png) 50% 50%;
    background-size: contain;
    display: block;
    opacity: 0.7;
  }
  .history-list-arrow:hover {
    opacity: 1;
  }
  .history-list-arrow.disabled {
    opacity: 0.2;
  }
  .history-list-arrow.up {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
  .history-list-arrow.down {
    margin-top: 10px;
  }

  .history-timeline-slide:nth-child(5n+3) {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px);
  }
  .history-timeline-slide:nth-child(2n+4) {
    -webkit-transform: translateX(-3px);
    transform: translateX(-3px);
  }
}
@media (min-width: 992px) and (min-height: 450px) {
  .history-loader-year {
    font-size: 150px;
  }

  .fullpage-wrapper {
    height: 100vh !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
    transition: none !important;
    -webkit-transition: none !important;
  }

  .history-timeline .slick-track.no-transition {
    -webkit-transform: translate3d(0, -50%, 0) !important;
    transform: translate3d(0, -50%, 0) !important;
    top: 50%;
  }

  .history-slide {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 1ms ease 1s, visibility 0ms ease 1s;
    transition: opacity 1ms ease 1s, visibility 0ms ease 1s;
  }
  .history-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    -webkit-transition: opacity 1ms ease 1s, visibility 0ms ease;
    transition: opacity 1ms ease 1s, visibility 0ms ease;
  }

  .history-subslide.section--prev .history-text,
.history-subslide.section--prev .history-name,
.history-subslide.section--prev .history-year,
.history-subslide.section--prev .history-image {
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
  }
  .history-subslide.section--prev.out .history-year {
    animation-delay: 300ms;
    -webkit-animation-delay: 300ms;
  }
  .history-subslide.section--prev.out .history-name {
    animation-delay: 200ms;
    -webkit-animation-delay: 200ms;
  }
  .history-subslide.section--prev.out .history-text {
    animation-delay: 100ms;
    -webkit-animation-delay: 100ms;
  }
  .history-subslide.section--prev.out .history-text,
.history-subslide.section--prev.out .history-name,
.history-subslide.section--prev.out .history-year,
.history-subslide.section--prev.out .history-image {
    -webkit-animation-name: bounceOutDown;
    animation-name: bounceOutDown;
  }
  .history-subslide.section--prev.in .history-text {
    animation-delay: 700ms;
    -webkit-animation-delay: 700ms;
  }
  .history-subslide.section--prev.in .history-name {
    animation-delay: 800ms;
    -webkit-animation-delay: 800ms;
  }
  .history-subslide.section--prev.in .history-year {
    animation-delay: 900ms;
    -webkit-animation-delay: 900ms;
  }
  .history-subslide.section--prev.in .history-image {
    animation-delay: 600ms;
    -webkit-animation-delay: 600ms;
  }
  .history-subslide.section--prev.in .history-text,
.history-subslide.section--prev.in .history-name,
.history-subslide.section--prev.in .history-year,
.history-subslide.section--prev.in .history-image {
    -webkit-animation-name: bounceInDown;
    animation-name: bounceInDown;
  }

  .history-subslide.section--next .history-text,
.history-subslide.section--next .history-name,
.history-subslide.section--next .history-year,
.history-subslide.section--next .history-image {
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
  }
  .history-subslide.section--next.out .history-year {
    animation-delay: 100ms;
    -webkit-animation-delay: 100ms;
  }
  .history-subslide.section--next.out .history-name {
    animation-delay: 200ms;
    -webkit-animation-delay: 200ms;
  }
  .history-subslide.section--next.out .history-text {
    animation-delay: 300ms;
    -webkit-animation-delay: 300ms;
  }
  .history-subslide.section--next.out .history-text,
.history-subslide.section--next.out .history-name,
.history-subslide.section--next.out .history-year,
.history-subslide.section--next.out .history-image {
    -webkit-animation-name: bounceOutUp;
    animation-name: bounceOutUp;
  }
  .history-subslide.section--next.in .history-text {
    animation-delay: 900ms;
    -webkit-animation-delay: 900ms;
  }
  .history-subslide.section--next.in .history-name {
    animation-delay: 800ms;
    -webkit-animation-delay: 800ms;
  }
  .history-subslide.section--next.in .history-year {
    animation-delay: 700ms;
    -webkit-animation-delay: 700ms;
  }
  .history-subslide.section--next.in .history-image {
    animation-delay: 600ms;
    -webkit-animation-delay: 600ms;
  }
  .history-subslide.section--next.in .history-text,
.history-subslide.section--next.in .history-name,
.history-subslide.section--next.in .history-year,
.history-subslide.section--next.in .history-image {
    -webkit-animation-name: bounceInUp;
    animation-name: bounceInUp;
  }
}
@media (min-width: 992px) and (min-height: 580px) {
  .history-name {
    font-size: 60px;
    line-height: 65px;
  }

  .history-list-arrow {
    height: 50px;
    width: 50px;
  }

  .history-loader-year {
    font-size: 180px;
  }
}
@media (min-width: 992px) and (min-height: 700px) {
  .history-year {
    font-size: 16px;
  }

  .history-text p {
    font-size: 18px;
  }

  .history-name {
    font-size: 70px;
    line-height: 75px;
  }

  .history-info {
    max-width: 450px;
  }

  .history-image {
    padding-left: 10%;
  }

  .history-list-arrow {
    height: 60px;
    width: 60px;
  }

  .history-loader-year {
    font-size: 200px;
  }
}

.video-player {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 90;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
}
.video-player .video {
  position: absolute;
  top: 0;
  left: 0;
  margin: auto;
  right: 0;
  bottom: 0;
  width: 95%;
  height: 50vw;
}
.video-player .video iframe {
  height: 100%;
  width: 100%;
  border: 5px solid white;
}
@media (min-width: 992px) {
  .video-player .video {
    top: 40px;
    width: 65%;
    height: 35vw;
  }
  .video-player .video iframe {
    border: 10px solid white;
  }
}
.video-player .video-close {
  position: absolute;
  top: -45px;
  right: 0;
  height: 30px;
  outline: none;
  line-height: 30px;
  width: 30px;
  text-align: center;
  color: white;
  font-size: 30px;
  cursor: pointer;
}
.video-player .video-close:hover {
  color: #f39800;
}

.content {
  position: relative;
  background-image: url("../../img/bg-image.jpg");
}

#sec-db8f {
  position: absolute;
  z-index: 10;
  bottom: 0;
  width: 100%;
}