.gallery-box {
  position: relative;
}

.gallery-box .gallery-link {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: all 0.4s;
}

.gallery-text {
  position: absolute;
  bottom: 20%;
  left: 0;
  width: 100%;
  color: #fff;
  opacity: 0;
  transition: all 0.4s;
  z-index: 2;
}

.gallery-box:hover .gallery-link {
  opacity: 0.5;
  visibility: visible;
}

.gallery-box:hover .gallery-text {
  opacity: 1;
}

.gallery-box:hover .image-popup {
  opacity: 1;
}

.gallery-box .image-popup {
  position: absolute;
  bottom: 10px;
  left: 18px;
  opacity: 0;
  z-index: 2;
}

.image-popup i {
  font-size: 22px;
  transition: all 0.4s;
}

.anchor-link {
  color: #fff;
}

.anchor-link:hover {
  color: var(--primary-color);
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
section.breadcrumb {
  background-color: #a7a7a7;
  padding: 15px 0;
}

section.breadcrumb ol {
  background-color: transparent;
  /*font-size: 18px;*/
}

.breadcrumb > li + li:before {
  color: #666666;
}

.gallery-icon {
  max-width: 50px;
  height: auto;
}

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

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

/* Modal Content */
.modal-content {
  position: relative;
  /*background-color: #fefefe;*/
  background-color: transparent;
  margin: auto;
  padding: 0;
  width: -moz-max-content;
  width: max-content;
  max-width: 1200px;
  min-height: 80%;
  box-shadow: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.modal-controls {
  margin: auto;
  padding: 0;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 700px;
}

.modal-controls .prev, .modal-controls .next {
  border-radius: 4px !important;
  margin: 0 20px;
}

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

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

/* Hide the slides by default */
.mySlides {
  display: none;
  width: -moz-max-content;
  width: max-content;
  background-color: transparent;
  justify-content: center;
  align-items: center;
  margin: auto;
  max-width: 900px;
}

/* Next & previous buttons */
.prev,
.next {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #000;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  background-color: rgba(196, 196, 196, 0.8);
}

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

/* Number text (1/3 etc) */
.numbertext {
  color: #767676;
  font-size: 14px;
  padding: 8px 12px;
}

/* Caption text */
.caption-container {
  text-align: center;
  /*background-color: black;*/
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

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);
}

.video-aparat {
  min-width: 700px;
  height: auto;
}

@media screen and (max-width: 756px) {
  .modal-content {
    width: 100%;
    max-width: 100%;
  }

  .modal-controls {
    max-width: 100%;
    min-width: 100%;
  }

  .mySlides {
    max-width: 100%;
    width: 100%;
  }

  .video-aparat {
    min-width: 100%;
    max-width: 100%;
  }

  section.breadcrumb {
    padding-top: 60px;
  }
}
