/*******************************************************************************/
/* BASIS LAYOUT   */
/******************************************************************************/
:root {
	--container:1400px;
  --bs-gutter-x:12px;
}

html {
  height: 100.1%;
}

body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  height: 100.1%;
  width: 100%;
  margin: 0px;
  padding: 0px;
  background-color: #fff !important;
  position: relative;
}

header,
nav,
section,
article,
aside,
footer {
  display: block;
}

#wrapper {
  flex: 1 0 auto;
  position: relative;
  width: 100%;
  margin: 0 auto 0 auto;
  height: auto !important;
}

#wrap-header {
  width: 100%;
  height: 100px;
  position: fixed;
  background-color: #fff !important;
  z-index: 90;
  /* box-shadow: 0 10px 20px -5px rgba(115, 115, 115, 0.251); */
}

#header,
#header.container {
  height: 100%;
}

#logo {
  z-index: 1500 !important;
  width: 180px;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

#logo a,
#logo img {
  display: block;
  width: 100%;
  height: auto;
}

#wrap-topbild {
  width: 100%;
  height: auto;
  overflow: hidden !important;
  position: relative;
  height: 30vw;
  margin-top: 100px;
}

#topbild {
  width: 100%;
  height: auto;
  position: relative;
}

#topbild img#myimg {
  position: relative;
  top: 0 !important;
}

#topbild .ce-image img,
#topbild img,
.bg-fullscreen .ce-image img,
.bg-fullscreen img {
  width: 100% !important;
  height: auto;
}

#topbild .ce-gallery {
  float: none !important;
}

#topbild .ce-image img,
#topbild img {
  width: 100% !important;
  height: auto;
}

#topbild .ce-center .ce-outer,
#topbild .ce-center .ce-inner {
  position: relative;
  float: none !important;
  right: 0% !important;
}

#topbild .ce-column,
#topbild .ce-gallery figure {
  width: 100% !important;
}

#topbild .ce-gallery {
  margin-right: 0px !important;
  margin-bottom: 0px !important;
}

#topbild .ce-gallery .ce-column {
  margin-right: 0px !important;
  margin-bottom: 0px !important;
}

#wrap-inhalt.notb {
  margin-top: 160px;
}

main,
#inhalt {
  min-height: 400px;
  padding-top: 0px;
  height: auto;
  padding: 0px 0px 90px 0px;
}




/* Masonry */
/* fluid 5 columns */
/*
.grid-sizer,
.grid-item {
  width: 18%;
  margin-bottom: 2%;
}

.gutter-sizer {
  width: 2%;
}
/* 2 columns 
.grid-item--width2 {
  width: 38%;
}
 */


/* Section Background */

.bg-1 {
  background-color:#dadada;
}

.bg-2 {
	background-color:#111;
}

.bg-3 {
	background-color:rgba(15, 15, 61, 0.75);
}

.bg-white {
  padding:30px;
  background-color:rgba(255, 255, 255, 0.92) !important;
}



/* Fuzsszeile */
#map {
  width: 100%;
}

#wrap-footer {
  flex-shrink: 0;
  width: 100%;
  clear: both;
  background-color: #474747;
  position: relative;
  z-index: 5;
}

#footer-map {
  height: 460px;
  width: 100%;

  height:0px; 
}

.kontakt #footer-map {
  display: block;
}

footer {
  position: relative;
  padding-top: 40px;
  padding-bottom: 30px;
  margin-right: auto;
  margin-left: auto;
  min-height: 180px;
}

footer p {
  margin-bottom: 0px;
}

footer ul {
  list-style-type: none;
  margin-left: -30px;
}

#frow1::after {
  content: "";
  background: #fff;
  left: 15px;
  height: 1px;
  width: calc(100% - 30px);
  margin-top: 15px;
  margin-bottom: 15px;
}

#meguralink {
  text-align: right;
  margin: 0 auto;
  margin-top: 10px;
}

#wrap-footer span.oeffnungszeiten {
  font-size: 14px;
}

/* Instalink */
svg.instaFooter {
  width: 50px;
  fill: #fff;
}

/* Störer */
.homeStoerer {
  background-color: #8d1d25;
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
  color: #fff;
  font-weight: 500;
  width: 40%;
  margin-right: auto;
  margin-left: auto;
  height: fit-content;
  border-radius: 10px;
}

.homeStoerer div {
  margin-top: 15px;
}

.homeStoerer h4 {
  color: #fff;
  font-weight: 700;
}

/* Megura Swissness Logo */
#megura-programmierung {
  position: relative;
}

#megura-swissness {
  width: 100px;
  height: 100px;
  position: absolute;
  bottom: 15px;
  right: 15%;
  /*transform: translateY(-70%);*/
}

#megura-swissness svg {
  width: 100%;
  height: 100%;
}

.ms-svg-inner {
  fill: #474747;
}

#megura-swissness svg:hover .ms-svg-inner {
  fill: #8d1d25;
}

/* Helper classes  */
.container {
  position: relative !important;
  max-width: 1400px !important;
}

#inhalt.subpage .sec .container {
  padding-left: 300px;
}

.center-text {
  text-align: center;
  margin: 0 auto !important;
}
.center-element {
  margin: 0 auto !important;
}

img {
  outline: none !important;
}

main .row img {
  max-width: 100% !important;
  height: auto;
}

/* IE 10+ only */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  main .row img {
    width: 100% !important;
    height: auto;
  }
}

/* Google Maps */
.tx-go-maps-ext {
  height: 45vh;
  width: 100%;
}

.js-gme-container {
  height: 100%;
  width: 100%;
}

.gm-style {
  font-family: "Jost", sans-serif;
  font-size: 14px !important;
  line-height: 120%;
}

.gme-info-window,
.gme-info-window p,
.gme-info-window a {
  color: #000 !important;
  line-height: 140%;
  font-family: "Jost", sans-serif;
  font-size: 14px !important;
}

.gme-info-window p strong {
  font-weight: 700 !important;
}

.gme-info-window p {
  margin-bottom: 5px !important;
}

.gm-style .gm-style-iw-c {
  border-radius: 20px !important;
  padding: 20px !important;
  color: #000;
  background-color: #fff;
  border: 2px solid #8d1d25;
}

.gm-style-iw-d {
  overflow: auto !important;
}

.gm-ui-hover-effect {
  color: #000 !important;
  top: 0px !important;
  right: 2px !important;
}

main .row .js-gme-container img {
  max-width: initial !important;
  width: auto !important;
  height: auto;
}

.js-map p {
  margin-bottom: 0px;
}

.gm-style .gm-style-iw-t::after {
  border-left: 2px solid #8d1d25;
  border-bottom: 2px solid #8d1d25;
}

.gme-info-window a:hover {
  color: #8d1d25 !important;
}

/* Slick Slider */
.slick-slider {
  width: 100%;
}

.slick-prev::before,
.slick-next::before {
  color: #000 !important;
}




.bg-over {
  /* background-color: rgba(15, 15, 61, 0.5); */
  background-color: rgba(58, 58, 58, 0.9);
  /* min-height:600px;  */
}

.bg-over p {
  margin:0 !important; 
}
.bg-over > div {
  padding:40px 0px 40px 40px;
  max-width:520px; 
}

.bg-over p, .bg-over h1 {
  color:#fff !important;
}

.bg-over-red {
  /* background-color: rgba(15, 15, 61, 0.5); */
  background-color: rgba(255, 255, 255, 0.75);
  /* min-height:600px;  */
  margin-top:0px !important;
  padding-top:80px;
  padding-bottom:80px;

}

.sticky {
  /*
  display:flex;
  align-items: center;
  */
}


.sticky > div {
  position: sticky;
   top: 280px; 

   /* top: 60%;
  transform: translateY(-60%);   */

}



.reftest {
  padding-left:60px; 
}

.reftest2 {
  padding-left:0px;
  padding-right:60px;
  text-align:right !important; 
}


/*******************************************************************************/
/* INHALTSSEITEN   */
/******************************************************************************/



/*GSAP Test */
#smooth-wrapper {
  overflow: hidden;
  position: fixed;
  height: 600px;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#smooth-content {
  overflow: visible;
  width: 100%;

}



/* Referenz Case */
.refcase {
  position:relative;
  margin:0;
  padding:0;
}

.reflink {
  position:relative;
  display:flex;
  justify-content: center;
  align-items: center;
  overflow:hidden;
 }

.refcase-img {
  position:relative;
  z-index:0;
  transition-duration: .25s;
}

main .row .refcase-img img,
.refcase-img img {
  width:120% !important;
  max-width:120% !important;
  transform: translateX(-25px);
  height:auto; 
  aspect-ratio: 16/9;
}

.refcase-over {
  position:absolute;
  z-index:1;
  display:block;
  width:100%;
  height:100%;
  background-color:rgba(211, 32, 47, 0.7);
  mix-blend-mode: multiply;
  opacity:0;
  transition: all .2s ease;
}

.refcase-descr {
  position:absolute;
  z-index:2;
  width:700px;
  transition-duration: .25s;
}

.refcase-descr h3, 
.refcase-descr h2 {
  color:#fff; 
}

.refcase-descr h3 {
  text-transform:none !important;
}

.refcase-descr h2 {
  font-family: 'Cairo', sans-serif;
  font-size:36px; 
  font-weight:900;
  text-transform:uppercase !important;
  text-shadow: 2px 2px 5px #333;
}


.reflink:hover .refcase-img {
  transform: translateX(25px);
}

.reflink:hover .refcase-descr {
  transform: translateY(25px);
}


.reflink:hover .refcase-over {
  opacity:1;
}




/* Image Combo */
.img-combo {
  position:relative;
}

.img-combo img {
  mix-blend-mode: multiply;
}

.img-combo .ce-image:before {
	content: "";
	position: absolute;
	top: 150px;
	left: 170px;
	width: calc(100% - 150px);
	height: calc(100% - 150px);
	background-color: rgb(192, 103, 103);
}


.box1 {
  padding:25px;
  background-color:#e0dede;
}