/* === START of IMAGE WRAPPER === */
#overlay {
  position: fixed;
}
.module_lightbox_gallery {
  max-width: 75rem;
  margin: 0 auto;
}
.module_lightbox_gallery ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.module_lightbox_gallery ul li {
  float: left !important;
  padding: 7px;
}
.img-wrapper {
  /* display: inline-block; */
  position: relative;
  overflow: hidden;
  height: auto;
  width: 100%;
  border: 4px solid transparent;
  outline: 2px solid #924336;
}
.img-wrapper img {
  height: 12rem;
  width: 100%;
  display: block;
  -webkit-transition: all 0.7s linear;
  -moz-transition: all 0.7s linear;
  -o-transition: all 0.7s linear;
  transition: all 0.7s linear;
  overflow: hidden;
  object-fit: cover;
}
.img-wrapper a img {
  padding: 0;
}
.img-wrapper a span {
  width: 100%;
  text-align: center;
  display: block;
  bottom: 0;
  position: absolute;
  padding: 5px;
  background: rgba(136, 22, 24, 0.75);
}
.img-wrapper a,
.img-wrapper:hover a {
  color: #fff !important;
  display: block;
}
.img-wrapper:hover img {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  transform: scale(1.2);
  overflow: hidden;
  opacity: 1;
}
/* === END of IMAGE WRAPPER === */

/* === START of LAZYLOAD === */
img.lazy {
  opacity: 0;
}
img:not(.initial) {
  transition: all 0.5s ease-in-out;
}
img.initial,
img.loaded,
img.error {
  opacity: 1;
}

img:not([src]) {
  visibility: hidden;
}
/* === END of LAZYLOAD === */

/* === START of SHADOW EFFECT FOR IMAGES === */
.effect {
  position: relative;
  z-index: 1;
  /* margin: 0 0 1rem 1rem; */
  float: right;
}
.effect:before,
.effect:after {
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  left: 10px;
  width: 40%;
  top: 80%;
  max-width: 121px;
}
.effect:after {
  transform: rotate(4deg);
  right: 10px;
  left: auto;
}
/* === END of SHADOW EFFECT FOR IMAGES === */

/* === START of GOOGLE MAP === */
.maps-box {
  width: 100%;
  height: 600px;
  position: relative;
  overflow: hidden;
}
.maps-box #texter {
  background: transparent;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
}
.maps-box #texter:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}
.maps-box #texter > img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.maps-box #texter .row {
  display: flex;
  padding-top: 7rem;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  align-items: center;
}
.maps-box a:last-child {
  color: var(--sec-color);
  text-decoration: underline;
}
.maps-box #maps-knopf {
}
.maps-box iframe {
  width: 100% !important;
  height: 100% !important;
}
/* === END of GOOGLE MAP === */

/* === START of BUTTON === */
a.button {
  background: rgb(38, 88, 131);
  background: linear-gradient(
    to right,
    rgb(38, 88, 131),
    rgb(81, 147, 202),
    rgb(81, 147, 202),
    rgb(38, 88, 131)
  );
  background-size: 300% 100%;
  display: inline-flex;
  border-radius: 5rem;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: 250px;
  border: 0 none;
  transition: all 0.3s ease-in-out;
  text-decoration: none !important;
}
a.button img {
  max-height: 20px;
  margin-right: 0.5rem;
}
a.button:hover,
a.button:focus,
a.button:visited {
  /* background: linear-gradient(90deg, rgba(81,147,202,1) 0%, rgba(38,88,131,1) 100%); */
  background-position: 100% 0;
  color: var(--sec-color);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
/* === END of BUTTON === */

/* === START of LANGUAGE SELECTION === */
div.languages {
  top: 10px;
  right: 10px;
}
div.languages #languageActive img {
  border: 1px white solid;
}
/* === END of LANGUAGE SELEVTION === */

/* === START of ERROR MELDUNGEN === */
div.error-message {
  padding: 2px 0 2px 26px;
  background: url(/img/icon/16/exclamation.gif) 4px 3px no-repeat;
  font-weight: bold;
  color: #e25f53;
  width: 334px;
  margin-left: 118px;
}
/* === END of ERROR MELDUNGEN === */
