/* hartwaretotal 10/2026: Ersatz fuer JSN ImageShow (keine Joomla-5-Version).
   .hwt-slideshow  = Theme Classic (Galleria) der Startseite, gleiche Masse und Farben
   .hwt-masonry    = Theme Masonry der Mietmoebel-Seite, Lightbox ueber JCE MediaBox */

.hwt-slideshow { width: 100%; background-color: #efefef; display: block; }
.hwt-slideshow__frame { position: relative; overflow: hidden; margin: 0 auto; padding: 0; background: #595959; border: 1px solid #cccccc; border-radius: 0; height: 520px; }
.hwt-slideshow__stage { position: absolute; top: 5%; bottom: 5%; left: 5%; right: 5%; overflow: hidden; }
.hwt-slideshow__stage img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; transform: translateX(100%); -webkit-user-select: none; user-select: none; }
.hwt-slideshow__stage img.is-active { transform: translateX(0); z-index: 2; }
.hwt-slideshow__stage img.is-left { transform: translateX(-100%); }
.hwt-slideshow__stage img.no-anim { transition: none; }
.hwt-slideshow:not(.is-ready) .hwt-slideshow__stage img:first-child { transform: none; }
.hwt-slideshow__nav { position: absolute; top: 50%; margin-top: -62px; width: 100%; height: 62px; left: 0; }
.hwt-slideshow__prev, .hwt-slideshow__next { opacity: .3; cursor: pointer; width: 62px; height: 124px; position: absolute; left: 10px; z-index: 3; background: url(../images/classic-map.png) no-repeat 0 46px; border: 0; padding: 0; }
.hwt-slideshow__next { left: auto; right: 10px; background-position: -254px 46px; }
.hwt-slideshow__prev:hover, .hwt-slideshow__next:hover, .hwt-slideshow__prev:focus, .hwt-slideshow__next:focus { opacity: 1; }
.hwt-slideshow__counter { position: absolute; right: 10px; top: 10px; text-align: right; color: #fff; font: normal 11px/1 arial, sans-serif; z-index: 4; opacity: .4; }

.hwt-masonry { position: relative; margin: 0 auto; width: 100%; }
.hwt-masonry::after { content: ""; display: block; clear: both; }
.hwt-masonry__item { float: left; margin-bottom: 5px; margin-left: 5px; overflow: hidden; border: 1px solid #333; border-radius: 0; width: calc(33.33333% - 5px); box-sizing: border-box; }
.hwt-masonry__item img { display: block; width: 100%; height: auto; border-radius: 0; }
.hwt-masonry.is-laid-out .hwt-masonry__item { position: absolute; float: none; margin: 0; }
@media only screen and (max-width: 640px) { .hwt-masonry__item { width: 100%; } }
@media (min-width: 640px) and (max-width: 959px) { .hwt-masonry__item { width: calc(33.33333% - 5px); } }
@media (min-width: 960px) and (max-width: 1200px) { .hwt-masonry__item { width: calc(33.33333% - 5px); } }
@media (min-width: 1201px) and (max-width: 1600px) { .hwt-masonry__item { width: calc(25% - 5px); } }
@media (min-width: 1601px) and (max-width: 1920px) { .hwt-masonry__item { width: calc(20% - 5px); } }
@media (min-width: 1921px) { .hwt-masonry__item { width: calc(16.6666667% - 5px); } }
