body {
  -webkit-animation: bugfix infinite 1s;
}

@-webkit-keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}

div#navtoggler {
  /* Sample burger icon to toggle menu state */
  z-index: 1100;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0;
  -webkit-transition: all 100ms linear;
  -moz-transition: all 100ms linear;
  -o-transition: all 100ms linear;
  -ms-transition: all 100ms linear;
  transition: all 100ms linear;
  position: relative !important;
  top: 0 !important;
  right: 0 !important;
  -webkit-transform: translateY(-50%) !important;
  transform: translateY(0) !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  &:before {
    display: none !important;
  }
}
.menu-lines {
  width: 40px;
  height: 15px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  -webkit-transition: all 300ms linear;
  -moz-transition: all 300ms linear;
  -o-transition: all 300ms linear;
  -ms-transition: all 300ms linear;
  transition: all 300ms linear;
}
.menu-line {
  width: 40px;
  height: 3px;
  background-color: white;
  -webkit-transition: all 300ms linear;
  -moz-transition: all 300ms linear;
  -o-transition: all 300ms linear;
  -ms-transition: all 300ms linear;
  transition: all 300ms linear;
}
@media screen and (max-width: 1440px) {
  .menu-lines {
    width: 28px;
    height: 10px;
  }
  .menu-line {
    width: 28px;
    height: 2.5px;
  }
}
div#navtoggler:hover {
  .menu-lines {
    height: 20px;
    @media screen and (max-width: 1440px) {
      height: 15px;
    }
  }
}

nav#ddfullscreenmenu {
  /* Full screen nav menu */
  width: 50%;
  height: 100%;
  visibility: hidden;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transform: translateX(-100%); /* initially scale down nav size */
  transform: translateX(-100%);
  background: #262626; /* menu background color */
  position: fixed;
  top: 0;
  left: 0;
  padding-top: 160px;
  z-index: 100000;
  opacity: 0;
  color: white;
  text-align: left;
  -webkit-transition: visibility 0s 0.5s, opacity 0.5s, -webkit-transform 0.5s;
  transition: visibility 0s 0.5s, opacity 0.5s, transform 0.5s;
  overflow: hidden;
}
@media screen and (max-width: 1440px) {
  nav#ddfullscreenmenu {
    padding-top: 80px;
  }
}
@media screen and (max-width: 600px) {
  nav#ddfullscreenmenu {
    width: 70%;
  }
}
@media screen and (max-width: 575px) {
  nav#ddfullscreenmenu {
    width: 100%;
    padding-top: 45px;
  }
}
nav#ddfullscreenmenu:before {
  position: absolute;
  top: 50%;
  right: 0;
  content: "";
  width: 630px;
  height: 630px;
  background: url("../images/bg-object.svg") center 50% no-repeat;
  background-size: contain;
  -webkit-transform: translate(30%, -50%);
  transform: translate(30%, -50%);
  filter: invert(14%) sepia(12%) saturate(664%) hue-rotate(158deg)
    brightness(96%) contrast(94%);
}
@media screen and (max-width: 1440px) {
  nav#ddfullscreenmenu:before {
    width: 530px;
  }
}
@media screen and (max-width: 1200px) {
  nav#ddfullscreenmenu:before {
    width: 400px;
  }
}

nav#ddfullscreenmenu.openmenu {
  /* open menu class */
  visibility: visible;
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  -transition-delay: 0s;
}

nav#ddfullscreenmenu div#closex {
  /* Large x close button inside nav */
  width: 36px;
  height: 36px;
  overflow: hidden;
  display: block;
  position: absolute;
  cursor: pointer;
  text-indent: -1000px;
  z-index: 10;
  top: 20px;
  right: 20px;
}
@media screen and (max-width: 1200px) {
  nav#ddfullscreenmenu div#closex {
    width: 24px;
    height: 24px;
  }
}
@media screen and (max-width: 767px) {
  nav#ddfullscreenmenu div#closex {
    width: 18px;
    height: 18px;
  }
}

nav#ddfullscreenmenu div#closex::before,
nav div#closex::after {
  /* render large cross inside close button */
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background: white;
  top: 50%;
  margin-top: -3px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

nav#ddfullscreenmenu div#closex::after {
  /* render large cross inside close button */
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

div#ulwrapper {
  position: relative;
  width: 100%; /* menu UL width */
  margin: auto;
  -webkit-perspective: 500px;
  perspective: 500px;
  -webkit-perspective-origin: 50%;
  perspective-origin: 50%;
}

nav#ddfullscreenmenu ul {
  list-style: none;
  margin: 0;
  padding: 0 30px;
  position: relative;
  width: 100%;
  max-height: 100%;
  font-family: "PlusJakartaSansMedium";
  font-size: 30px;
  line-height: 1.2;
  -webkit-transition: all 0.5s 0.1s;
  transition: all 0.5s 0.1s;
}
@media screen and (max-width: 1440px) {
  nav#ddfullscreenmenu ul {
    font-size: 24px;
  }
}
@media screen and (max-width: 1200px) {
  nav#ddfullscreenmenu ul {
    font-size: 18px;
  }
}

nav#ddfullscreenmenu ul li {
  margin-bottom: 0;
  position: relative;
  display: block;
}
nav#ddfullscreenmenu ul.submenu li {
  margin-bottom: 0;
}
@media screen and (max-width: 1366px) {
  nav#ddfullscreenmenu ul li {
    margin-bottom: 0;
  }
  nav#ddfullscreenmenu ul.submenu li {
    margin-bottom: 0;
  }
}

nav#ddfullscreenmenu ul li.header > a:after {
  /* right arrow inside header LIs */
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border: 8px solid #fecc00;
  border-color: transparent transparent transparent #f26522;
}

nav#ddfullscreenmenu ul.submenu {
  /* style for non "first page" ULs */
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(100%, 0, 0);
}

nav#ddfullscreenmenu ul li a,
nav#ddfullscreenmenu ul li.breadcrumb {
  position: relative;
  text-decoration: none;
  color: white; /* link color */
  margin-bottom: 20px;
  padding: 0 0 5px 0;
  display: block;
  border-radius: 0;
  cursor: pointer;
}
@media screen and (max-width: 1440px) {
  nav#ddfullscreenmenu ul li a,
  nav#ddfullscreenmenu ul li.breadcrumb {
    margin-bottom: 15px;
  }
}
@media screen and (max-width: 1200px) {
  nav#ddfullscreenmenu ul li a,
  nav#ddfullscreenmenu ul li.breadcrumb {
    margin-bottom: 10px;
  }
}

nav#ddfullscreenmenu ul li.breadcrumb {
  position: relative;
  background: transparent;
  border-bottom: 1px solid white;
}

nav#ddfullscreenmenu ul li.breadcrumb:after {
  /* back arrow inside breadcrumb LI */
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 10px solid #f26522;
  border-color: transparent #f26522 transparent transparent;
}

nav#ddfullscreenmenu ul li a:hover {
  color: white;
  background: transparent;
}

nav#ddfullscreenmenu ul li a:before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  content: "";
  background: #f26522;
  opacity: 0;
  -webkit-transition: all 300ms linear;
  -moz-transition: all 300ms linear;
  -o-transition: all 300ms linear;
  -ms-transition: all 300ms linear;
  transition: all 300ms linear;
}
nav#ddfullscreenmenu ul li a:hover:before,
nav#ddfullscreenmenu ul li a.active:before {
  width: 150px;
  opacity: 1;
}
@media screen and (max-width: 1200px) {
  nav#ddfullscreenmenu ul li a:hover:before,
  nav#ddfullscreenmenu ul li a.active:before  {
    width: 55px;
    height: 1.52px;
  }
}

nav#ddfullscreenmenu ul.hidemenu {
  transform: rotateY(30deg) translateZ(-5px) !important;
  opacity: 0;
  pointer-events: none;
}

nav#ddfullscreenmenu ul.showmenu {
  transform: translate3d(0, 0, 0) !important;
  opacity: 1 !important;
  pointer-events: auto;
}

/* doplnene */

nav#ddfullscreenmenu ul li a.nav-contact {
  font-family: "PlusJakartaSansMedium";
  font-size: 24px;
  color: white;
  margin-bottom: 0 !important;
  padding: 5px 0 !important;
}
@media screen and (max-width: 1440px) {
  nav#ddfullscreenmenu ul li a.nav-contact {
    font-size: 20px;
  }
}
@media screen and (max-width: 1200px) {
  nav#ddfullscreenmenu ul li a.nav-contact {
    font-size: 16px;
    padding: 2px 0 !important;
  }
}
@media screen and (max-width: 575px) {
  nav#ddfullscreenmenu ul li a.nav-contact {
    font-size: 13px;
  }
}
nav#ddfullscreenmenu ul li a.nav-contact:hover {
  color: #f26522;
}
nav#ddfullscreenmenu ul li a.nav-contact:hover:before {
  display: none;
}
nav#ddfullscreenmenu ul li.nav-address,
nav#ddfullscreenmenu ul li.nav-opening-hours {
  font-size: 16px;
  padding: 3px 0 !important;
}
@media screen and (max-width: 575px) {
  nav#ddfullscreenmenu ul li.nav-address,
  nav#ddfullscreenmenu ul li.nav-opening-hours {
    font-size: 11px;
  }
}
