/* ---------------------------- */
/* BASIC SETUP */
/* ---------------------------- */

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

html,
body{
  background-color: #fff;
  color: #555;
  font-family: 'Encode Sans', sans-serif !important;
  font-weight: 300;
  font-size: 20px;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; 
  -webkit-overflow-scrolling: touch;
}

.coverbody{
  background-color: #555;
}

html {
  scroll-behavior: smooth;
}



/* ---------- */
/* NAVIGATION */
/* ---------- */


 /** code by webdevtrick ( https://webdevtrick.com ) **/
.nav-bar {
  height: 70px;
  background: #EE2E24;
}

.brand {
  /* position: absolute; */
  padding-left: 20px;
  float: left;
  line-height: 70px;
  text-transform: uppercase;
  font-size: 1.4em;
}

.brand a img {
  height: 60px;
  margin-top: 8px;
}

.brand a,
.brand a:visited {
  color: #ffffff;
  text-decoration: none;
}

.nav-container {
  /* max-width: 1000px; */
  margin: 0 auto;
}

nav {
  float: right;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  float: left;
  position: relative;
}

nav ul li a,
nav ul li a:visited {
  display: block;
  padding: 0 20px;
  line-height: 70px;
  background: #EE2E24;
  color: #ffffff;
  text-decoration: none;
}

nav ul li a:hover,
nav ul li a:visited:hover {
  background: #901D17;
  color: #ffffff;
}

nav ul li a:not(:only-child):after,
nav ul li a:visited:not(:only-child):after {
  padding-left: 4px;
  content: ' ▾';
}

nav ul li ul li {
  min-width: 190px;
}

nav ul li ul li a {
  padding: 15px;
  line-height: 20px;
}

.nav-dropdown {
  position: absolute;
  display: none;
  z-index: 1;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}
.nav-mobile {
  display: none;
  position: absolute;
  top: 0;
  right: 12px;
  background: transparent;
  height: 60px;
  width: 60px;
}

@media only screen and (max-width: 1000px){
  
  nav ul li a {
    font-size: 14px;
  }
}

@media only screen and (max-width: 798px) {
  
  .nav-mobile {
    display: block;
  }

  nav {
    width: 100%;
    padding: 0 0 15px;
  }
  
  nav ul {
    display: none;
  }
  
  nav ul li {
    float: none;
  }
  
  nav ul li a {
    padding: 15px;
    line-height: 20px;
    padding-left: 25%;
  }
  
  nav ul li ul li a {
    padding-left: 30%;
  }

  .nav-dropdown {
    position: static;
  }
  
  .brand a img {
    max-height: 60px;
    margin-top: 8px;
  }
}

@media screen and (min-width: 799px) {
  
  .nav-list {
    display: block !important;
    top: 0;
  }
}

#nav-toggle {
  position: absolute;
  left: 18px;
  top: 20px;
  cursor: pointer;
  padding: 10px 35px 16px 0px;
}

#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 5px;
  width: 35px;
  background: #ffffff;
  position: absolute;
  display: block;
  content: '';
  transition: all 300ms ease-in-out;
}

#nav-toggle span:before {
  top: -10px;
}

#nav-toggle span:after {
  bottom: -10px;
}

#nav-toggle.active span {
  background-color: transparent;
}

#nav-toggle.active span:before, #nav-toggle.active span:after {
  top: 0;
}

#nav-toggle.active span:before {
  transform: rotate(45deg);
}

#nav-toggle.active span:after {
  transform: rotate(-45deg);
}


/* ---------- */
/* COVER */
/* ---------- */


body, html {
  height: 100%;
}

.bg {
  background-image: url("../images/laser3.jpg");
  z-index: -1;

  /* Full height */
  height: calc(92% - 64px);

  /* Center and scale the image */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg h1 {
  text-align: center;
  margin-left: auto;
  padding-top: 20vw;
  color: #fff;
  font-weight: 300;
  margin-top: 0;
  margin-bottom: 0;
}

.ponudba {
  width: 80vw;
  margin-left: 10vw;
  display: inline-block;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 16px;
}

.ponudba p {
  padding-top: 12px;
  line-height: 1.5;
}

summary {
  font-size: 20px;
  font-weight: 600;
  color: #EE2E24;
}

details summary {
  cursor: pointer;
}

summary > * {
  display: inline;
}


/* ---------- */
/* FOOTER */
/* ---------- */


footer {
  background-color: #000;
  color: #fff;
}

footer p {
  padding: 20px;
  text-align: center;
  line-height: 1.5;
}

footer a {
  text-decoration: none;
  color: #fff;
}



/* ---------- */
/* GALERIJA */
/* ---------- */

.galerija {
  padding-top: 24px;
  margin-bottom: 48px;
}

.row{
  width: 64vw;
  max-width: 1240px;
  margin: 0 auto !important;
}

.column {
  float: left;
  width: 24%;
  margin: 0.32%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 40px;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.92);
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 68%;
  max-width: 1300px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  opacity: 1;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
  background-color: black; 
}

.mySlides img {
  margin-left: 25%;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.hover-shadow{
  width: 100%;
  height: auto;
  cursor: pointer;
}

img.hover-shadow {
  transition: 0.3s
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}

.last{
  margin-bottom: 8% !important;
}

















