/* **** anpassen von den Hauptfarben Cassiopeia *** overflow verhindert springen ohne Scrollbalken - seite mit wenig inhalt ... */
:root {
  	--body-bg: #fff;
	--body-color: #707173;  
	--cassiopeia-color-primary: #36B451;
	--cassiopeia-color-hover: #519600;
	--body-font-size: .9rem;
    --link-color: #36B451;
    overflow-y: scroll;
}
.itemid-172 .wf-columns .wf-column:hover, .itemid-112 .wf-columns .wf-column:hover {
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.65);
}
.itemid-172 .wf-columns .wf-column, .itemid-112 .wf-columns .wf-column {
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}


.sige_thumb img {
  border: none !important;
  margin: 0px !important;
  padding: 0px !important;
}
.sige_thumb {
  margin: 0px !important;
}
.jwts_tabberlive .jwts_tabbertab {
  margin: 0 !important;
  padding: 0 !important;
  border-top: none !important;
}
ul.jwts_tabbernav li a {
  color: #36B451 !important;
  
}
/* ... mehrere Module z.B. auf bottom-a wieder nebeneinander darstellen ... */
.itemid-158 .grid-child.container-bottom-a {
    flex-direction: row;
}
#mod-custom129 {
    min-height: 100%;
}
#mod-custom129 h5, #mod-custom129 > h1 {
  color: white;
}
#mod-custom129 .weissdurchsi {
  background-color: rgba(255,255,255,0.65);
  padding: 50px 0 50px 0;
}
/* ... Hintergrund-verläufe CSS ...*/
.site-grid > .full-width, .container-banner > div:nth-child(1) {
	-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
	box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
}
.header {
	background: rgb(255,255,255);
    background:linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 90%, rgba(227, 227, 227, 1) 96%, rgba(151, 160, 200, 1) 100%);
}
/* ... diverse CSS Stylings ... */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-weight: var(--cassiopeia-font-weight-headings,400);
}
.h1, h1 {
  font-size: 1.6rem;
  }
.h2, h2 {
  font-size: 1.4rem;
  }
.sticky-top {
  top: -31px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 3px 3px rgba(0,0,0,0.25);
}
.container-header .container-nav {
  padding: 10px 0 0 10px;
}
 .footer {
	-webkit-box-shadow: 0px 0px 15px rgba(0,0,0,0.8);
	-moz-box-shadow: 0px 0px 15px rgba(0,0,0,0.8);
	box-shadow: 0px 0px 15px rgba(0,0,0,0.8);
background: rgb(0,150,73);
background: linear-gradient(90deg, rgba(0,150,73,1) 0%, rgba(0,150,73,0.767927239255077) 59%, rgba(54,180,81,1) 100%, rgba(34,34,34,1) 100%);
  margin-top: 2em;
}
/* ... Startseite / Kontakt unten beim Footer oben kein Rand ... */ 
.itemid-101 .footer, .itemid-112 .footer {
  margin-top: 0em;
}
/* ... Modul full width z.b. bottom-b Lageplan CSS Styling ... fullwidthbild = Bild über die ganze Breite */
.container-bottom-a, .container-bottom-b {
  grid-column: full-start/full-end;
}
.fullwidthbild {
  min-width: 100%;
}
/* ... Footer Module alle oben ... Abstände verkleinert ... */
.footer .grid-child {
  align-items: start;
  padding: 1.5rem .5em 1.5rem 0;
}
/* ... Hintergrundbild bei Modulen - Video fixiert ... */
#mod-custom119, #mod-custom130, #mod-custom117, #mod-custom124 {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}
#mod-custom119 h5, #mod-custom119 > h1 {
  color: white;
  margin-bottom: 0;
}
/* ... mehrere Module z.B. auf bottom-a untereinander statt nebeneinander darstellen ... */
.grid-child.container-bottom-a, .grid-child.container-bottom-b {
    flex-direction: column;
}
/* ... DJ Megamenu mittig rutschen ... rechts an der contentbreite ...*/
.grid-child.container-nav .dj-megamenu-wrapper {
    display: contents;
}
/* ... DJ Megamenu eigenes CSS Styling ...*/
.dj-megamenu-clean li a.dj-up_a {
	font-size: 1rem !important;
 	text-transform: uppercase;
	font-weight: 400;
} 
.dj-megamenu-clean li a.dj-up_a:hover, .dj-megamenu-clean li a.dj-up_a.active {
    color: #36B451!important;
} 
.dj-megamenu-clean li div.dj-subwrap {
	border: 1px solid #b3b3b3;
	box-shadow: 0px 0px 35px 26px rgba(136, 136, 136, 0.28);
}
.dj-subwrap-in div.dj-subcol ul.dj-submenu li a {
    background-color: #ccc;
}
.dj-subwrap-in div.dj-subcol ul.dj-submenu li a:hover {
	background-color: #E1E1E1;
    color: #888;
}
.dj-subwrap-in div.dj-subcol ul.dj-submenu li a.active {
	background-color: #E1E1E1;
    color: #888;
}
/* ... SIGE bilder verlauf auf black ... Hintergrund durchsichtigerb ... */
div.pswp__zoom-wrap img.pswp__img {
  box-shadow: 0px 0px 35px 26px rgba(255,255,255,0.28);
}
.pswp .pswp__bg {opacity: 0.6 !important;
}
.sige_masonry {
  min-height: 50px!important;
}

img.mfp-img {
  box-shadow: 0px 0px 35px 26px rgba(255,255,255,0.28);
}
/* **** Links nicht unterstrichen *** */
a {
  text-decoration: none;
}
/* **** Topbar telefon e-mail schriftfarbe *** */
.container-below-top, .container-topbar {
  color: green;
  padding: 5px;
  background-color: #e5e3df;
  -webkit-box-shadow: inset 0px 0px 10px -4px #75B663; 
  box-shadow: inset 0px 0px 10px -4px #75B663;
}
/* **** back to top button immer selbe Stelle *** */
.back-to-top-link {
	position: fixed;
}
.back-to-top-link:focus, .back-to-top-link:hover {
  background-color: #d8d7ff;
  border-color: #285390;
  color: #285390;
}
/* ... Button CSS Styling ...*/
.btn {
	box-shadow: 5px 5px 15px -7px #000;
	background:linear-gradient(to bottom, #36B451 5%, #519600 100%);
	background-color:#d8d7ff;
	border:none;
	border-radius:8px;
	color:#ffffff;
	text-shadow:0px 1px 0px #3d768a;
}
.btn:hover {
	box-shadow: 7px 7px 15px -7px #000;  
	background:linear-gradient(to bottom, #519600 5%, #36B451 100%);
	color:#cccccc;
}
/* ... CSS für kleine Bildschirme ... */
@media (max-width: 991.98px) {
/* ... Footer Bereich Module Abstand ... */
  .footer .mod-custom {
    margin: 20px;
  }
  #dj-megamenu120mobile {
    padding-right: 20px;    
  }
}
/* ... versteckter eigener CSS Style ... */
#mod-custom119 .weissdurchsi {
  background-color: rgba(255,255,255,0.65);
  padding: 50px 0 50px 0;
}
/* ************************************************************* */
/* eigene CSS Styles */
.sub {
    margin: 8px 0 0;
    font-size: 20px;
    line-height: 1;
}
.subblau {
	color: #0072BC;
	line-height: 18px;		
	letter-spacing:1px;
}
.subrot {
	color: #b94a48;
	line-height: 18px;		
	letter-spacing:1px;
}
.gesperrt {
    font-size: 11px;
	letter-spacing: 2px;
}
.klein {
	font-size: 9px;
}
/* ************************************************************* */

/* ... Standard-Menü (ersetzt DJ Megamenu) ... */
.container-nav nav.navbar {
  margin-left: auto;
  margin-top: 0;
}
.container-header .metismenu > li > a,
.container-header .metismenu > li > .mod-menu__heading,
.container-header .metismenu > li > .mod-menu__separator {
  display: block;
  padding: 0 18px;
  line-height: 60px;
  font-size: 1rem;
  text-transform: uppercase;
  color: #000;
}
.container-header .metismenu > li > a:hover,
.container-header .metismenu > li:hover > .mod-menu__heading,
.container-header .metismenu > li.active > a,
.container-header .metismenu > li.active > .mod-menu__heading {
  color: #36B451;
}
@media (min-width: 992px) {
  .container-header .metismenu.mod-menu > li {
    padding: 0;
  }
  .container-header .metismenu.mod-menu .mm-toggler,
  .container-header .metismenu.mod-menu .mm-collapse > li.parent .mm-toggler {
    display: none;
  }
  .container-header .metismenu.mod-menu .mm-collapse > li {
    display: block;
    position: relative;
    padding: 0;
  }
  .container-header .metismenu.mod-menu .mm-collapse .mm-collapse {
    position: absolute;
    margin: 0;
    min-width: 230px;
    border: 1px solid #b3b3b3;
    background: #ccc;
    box-shadow: 0 0 35px 26px rgba(136,136,136,0.28);
  }
  .container-header .metismenu.mod-menu .mm-collapse li:hover > .mm-collapse {
    display: block;
    top: -1px;
    left: 100%;
  }
  .container-header .metismenu.mod-menu > li:hover > .mm-collapse {
    display: block;
    height: auto;
  }
  .container-header .metismenu.mod-menu > li > .mm-collapse {
    top: 100%;
    min-width: 230px;
    padding: 0;
    border: 1px solid #b3b3b3;
    border-radius: 0;
    background: #ccc;
    box-shadow: 0 0 35px 26px rgba(136,136,136,0.28);
  }
  .container-header .metismenu.mod-menu .mm-collapse a {
    display: block;
    padding: 12px 20px;
    color: #444;
    background: #ccc;
  }
  .container-header .metismenu.mod-menu .mm-collapse a:hover,
  .container-header .metismenu.mod-menu .mm-collapse li.active > a {
    color: #fff;
    background: #36B451;
    text-decoration: none;
  }
}
/* ... Hamburger rechts ... */
.container-header .navbar-toggler {
  margin-left: auto;
  color: #36B451;
  border-color: #36B451;
}

/* ... Galerie-Seite: Kacheln (JCE-Columns) 5 / 3 / 2 / 1 pro Reihe ... */
.itemid-172 .wf-columns > .wf-column {
  flex: 0 0 calc(20% - 13px) !important;
  min-width: 0;
  hyphens: auto;
}
@media (max-width: 960px) {
  .itemid-172 .wf-columns > .wf-column {
    flex: 0 0 calc(33.333% - 11px) !important;
  }
}
@media (max-width: 640px) {
  .itemid-172 .wf-columns > .wf-column {
    flex: 0 0 calc(50% - 8px) !important;
  }
}
@media (max-width: 400px) {
  .itemid-172 .wf-columns > .wf-column {
    flex: 0 0 100% !important;
  }
}
/* ... Titel (sub) kleiner ... */
.sub {
  font-size: 16px;
}
/* ... Galerie-Seite: Kachel-Innenabstand kleiner, Bilder größer ... */
.itemid-172 .wf-columns .wf-column,
.itemid-172 .wf-columns .wf-column:hover {
  padding: 12px;
}
.itemid-172 .wf-column .ri12-gal {
  margin: 8px 0 0;
}

/* ... Handy-Menü: Hamburger mit Abstand rechts, Menü als Overlay, alle Ebenen ... */
@media (max-width: 991.98px) {
  .container-header .container-nav {
    position: relative;
  }
  .container-header .container-nav nav.navbar {
    position: static;
  }
  .container-header .navbar-toggler {
    margin-right: 15px;
  }
  .container-header .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  }
  .container-header .metismenu.mod-menu {
    width: 100%;
  }
  .container-header .metismenu.mod-menu li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    border-top: 1px solid #e5e5e5;
  }
  .container-header .metismenu.mod-menu li > a {
    flex: 1;
    line-height: 46px;
    padding: 0 18px;
    text-decoration: none;
  }
  .container-header .metismenu.mod-menu .mm-toggler {
    height: 46px;
    padding: 0 18px;
  }
  .container-header .metismenu.mod-menu .mm-toggler:focus:not(:focus-visible) {
    outline: none;
  }
  .container-header .metismenu.mod-menu .mm-toggler::after {
    width: 9px;
    height: 9px;
    border: 0;
    border-right: 2px solid #36B451;
    border-bottom: 2px solid #36B451;
    transform: rotate(45deg);
    margin-top: -5px;
  }
  .container-header .metismenu.mod-menu .mm-toggler[aria-expanded="true"]::after {
    transform: rotate(-135deg);
    margin-top: 5px;
  }
  .container-header .metismenu.mod-menu .mm-collapse {
    position: static;
    width: 100%;
    margin: 0;
    box-shadow: none;
    background: #f3f3f3;
  }
  .container-header .metismenu.mod-menu .mm-collapse a {
    padding-left: 32px;
    color: #444;
  }
  .container-header .metismenu.mod-menu .mm-collapse .mm-collapse a {
    padding-left: 46px;
  }
}
/* ... Startseite: weiße Schrift dezent abheben ... */
#mod-custom119 h1,
#mod-custom119 h5 {
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
/* ... Startseite: Meisterbetrieb-Band scharfkantig, oben und unten dunkler Schein ... */
#mod-custom119 .weissdurchsi {
  overflow-x: clip;
  box-shadow: 0 -10px 14px -8px rgba(0,0,0,0.55), 0 10px 14px -8px rgba(0,0,0,0.55);
}
/* ... Startseite: Meisterbetrieb-Logo groß einblenden, dann fällt der Stein vom oberen Rand ins Loch (Hülle, Stein und Klassen setzt user.js) ... */
#mod-custom119 .ri-logo {
  position: relative;
  display: block;
  max-width: 500px;
  margin: 0 auto;
}
#mod-custom119 .ri-logo img {
  display: block;
  width: 100%;
  height: auto;
}
#mod-custom119 .ri-logo .ri-stein {
  position: absolute;
  top: 39.785%;
  left: 24.8%;
  width: 8.6%;
}
#mod-custom119 .weissdurchsi.ri-warten {
  position: relative;
}
#mod-custom119 .ri-warten .ri-logo {
  opacity: 0;
  transform: scale(2.6);
  transition: opacity 1.2s ease-out, transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}
#mod-custom119 .ri-zeigen .ri-logo {
  opacity: 1;
  transform: none;
}
#mod-custom119 .ri-warten .ri-stein {
  visibility: hidden;
}
#mod-custom119 .ri-zeigen .ri-stein {
  visibility: visible;
  animation: ri-stein-fall 1.4s 1.6s both;
}
@keyframes ri-stein-fall {
  0% {
    transform: translateY(var(--ri-fall, -100vh));
    animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
  }
  85% {
    transform: translateY(-18%);
    animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1);
  }
  100% {
    transform: none;
  }
}
/* ... Handy: Kopfbereich bleibt oben stehen (Cassiopeia setzt hier sonst relative !important) ... */
@media (max-width: 991.98px) {
  header.container-header.position-sticky {
    position: sticky !important;
    z-index: 1020;
  }
}
/* ... RI12 Lightbox: Leuchten um das große Bild ca. 35 % stärker ... */
.ri12-dlg .ri12-stage img {
  box-shadow: 0 0 34px rgba(255,255,255,0.48), 0 10px 40px rgba(0,0,0,0.9);
}
/* ... Handy: 5 px weißer Abstand unter dem Logo ... */
@media (max-width: 991.98px) {
  .container-header .container-nav {
    padding-bottom: 5px;
  }
}
/* ... Topbar: Telefon und E-Mail dezenter, ohne Unterstreichung, Leuchten beim Darüberfahren ... */
.container-topbar {
  font-size: 10px;
}
.container-topbar a,
.container-topbar a:not([class]) {
  color: green;
  opacity: 0.55;
  text-decoration: none;
  transition: opacity 0.2s, text-shadow 0.2s;
}
.container-topbar a:hover,
.container-topbar a:focus,
.container-topbar a:not([class]):hover {
  color: green;
  opacity: 1;
  text-decoration: none;
  text-shadow: 0 0 8px rgba(54,180,81,0.55);
}
/* ... Startseite: Film oben und unten mit Schattenkante ... */
#mod-custom124 {
  position: relative;
}
#mod-custom124::before,
#mod-custom124::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  z-index: 1;
  pointer-events: none;
}
#mod-custom124::before {
  top: 0;
  background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0));
}
#mod-custom124::after {
  bottom: 0;
  background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.35));
}
/* ... Startseite: Film zusätzlich mit Schatten nach außen (oben auf die Steine, unten ins Weiß) ... */
#mod-custom124 {
  box-shadow: 0 -8px 12px -6px rgba(0,0,0,0.5), 0 8px 12px -6px rgba(0,0,0,0.5);
}
/* ... Startseite: Slider unten mit Schattenkante ins Bild und Schatten auf die Steine ... */
#ri14-135 {
  box-shadow: 0 8px 12px -6px rgba(0,0,0,0.5);
}
#ri14-135::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.35));
}
/* ... Startseite: 50 Jahre Mallitsch wie erhaben, beim Darüberfahren stärker ... */
.itemid-101 img[src*="50-Jahre"] {
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 12px 28px rgba(0,0,0,0.35);
  transition: box-shadow 0.3s;
}
.itemid-101 a:hover img[src*="50-Jahre"] {
  box-shadow: 0 4px 8px rgba(0,0,0,0.25), 0 18px 40px rgba(0,0,0,0.45);
}
/* ... Buttons neu: schräger Verlauf im Mallitsch-Grün, Leuchten beim Darüberfahren ... */
.btn {
  padding: 0.55rem 1.3rem;
  border: 1px solid #1f7e35;
  border-radius: 6px;
  background: linear-gradient(135deg, #4cc766 0%, #36B451 50%, #2a9a43 100%);
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,0.25);
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  transition: box-shadow 0.2s, background 0.2s;
}
.btn:hover,
.btn:focus {
  background: linear-gradient(135deg, #36B451 0%, #2a9a43 50%, #1f7e35 100%);
  color: #fff;
  box-shadow: 0 0 14px rgba(54,180,81,0.6), 0 3px 8px rgba(0,0,0,0.25);
}
/* ... Lageplan: Schattenkante oben, Hinweis-Overlay, kleine Links ... */
#mod-custom118 {
  position: relative;
}
#mod-custom118::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0));
}
#mod-custom118 > a:first-of-type {
  position: relative;
  display: block;
}
#mod-custom118 > a:first-of-type::after {
  content: "Größere Karte bei OpenStreetMap ansehen – Sie verlassen damit unsere Website";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  padding: 22px 5% 10px;
  background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,0.55) 12px);
  color: #000;
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
}
#mod-custom118 > a:first-of-type:hover::after,
#mod-custom118 > a:first-of-type:focus::after {
  opacity: 1;
}
#mod-custom118 small,
#mod-custom118 small a {
  font-size: 10px;
}
/* ... Lageplan: Schatten unter der Karte ins Weiß, kleine Links mit gleichem Abstand oben und unten ... */
#mod-custom118 > a:first-of-type {
  box-shadow: 0 8px 12px -6px rgba(0,0,0,0.5);
}
#mod-custom118 > a:first-of-type img {
  display: block;
}
#mod-custom118 small {
  display: flex;
  justify-content: space-between;
  padding: 8px 20px;
}
@media (max-width: 767.98px) {
  #mod-custom118 > a:first-of-type::after {
    font-size: 12px;
  }
}

/* ... Kopfbereich: durchsichtiges Weiß mit radialen Nuancen (Topbar bleibt) ... */
.container-header.sticky-top {
  background: radial-gradient(ellipse 70% 160% at 15% 0%, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.85) 55%, rgba(232,240,233,0.72) 100%);
}
/* ... Footer: Grün radial von rechts oben hell nach links unten dunkel (Adresse auf Dunkel) ... */
.footer {
  background: radial-gradient(ellipse 90% 150% at 100% 0%, #45c061 0%, #36B451 40%, #2a9a43 75%, #217a36 100%);
}
/* ... Footer: Adresse und Text mit leichtem dunklem Schatten, besser lesbar auf Grün ... */
#mod-custom111,
#mod-custom115 {
  text-shadow: 0 1px 3px rgba(0,0,0,0.55);
}
/* ... Footer: Logos werfen Schatten nach rechts unten (Licht von oben) ... */
.footer img {
  filter: drop-shadow(4px 4px 4px rgba(0,0,0,0.35));
}
/* ... Footer-Suche: nur Lupe, Feld klappt beim Klicken auf, dezenter Rahmen ... */
.footer .mod-finder .form-control {
  width: 38px;
  height: 38px;
  margin: 0 auto;
  padding: 0 12px 0 34px;
  border: 1px solid #fff;
  border-radius: 19px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='6.5' cy='6.5' r='5' fill='none' stroke='%23555' stroke-width='2'/%3E%3Cpath d='M10.5 10.5l4 4' stroke='%23555' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 11px center / 16px;
  box-shadow: 3px 3px 6px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: width 0.3s;
}
.footer .mod-finder .form-control:not(:focus)::placeholder {
  color: transparent;
}
.footer .mod-finder .form-control:focus,
.footer .mod-finder .form-control:not(:placeholder-shown) {
  width: 220px;
  border-color: #1f7e35;
  box-shadow: 3px 3px 6px rgba(0,0,0,0.3), 0 0 0 2px rgba(255,255,255,0.5);
  outline: none;
  cursor: text;
}
