/*******************************************************************************/
/* BASIS LAYOUT   */
/******************************************************************************/
:root {
  --container: 1440px;
}

html {
  height: 100.1%;
  scroll-padding-top: 80px;
}

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

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

.tx-maps2,
.leaflet-container {
  z-index: 1;
  position: relative;
}

#wrapper {
  flex: 1 0 auto;
  position: relative;
  width: 100%;
  margin: 0 auto 0 auto;
  height: auto !important;
  background-color: #fff;
  overflow: hidden;
}

#wrap-header {
  width: 100%;
  height: 80px;
  position: fixed;
   z-index: 150;
   background-color: #fff;
}

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

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

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

#tempNav,
.tempNav {
  position: fixed;
  top: 80px;
  right: 120px;
  z-index: 99;
  text-align: end;
}

#tempNav p,
.tempNav p {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 0px;
  line-height: 126%;
}

#wrap-topbild {
  width: 100%;
  overflow: hidden !important;
  position: relative;
  height: calc(100svh - 80px) !important;
  margin-top: 80px;
}

#topbild {
  width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

#topbild > div {
	height: 100%;
}

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


#tboverlay {
  display:none;
  position:absolute;
  z-index:20;
  width:100%;
  height: calc(100svh - 80px) !important;
  bottom:0;
  background-color:rgba(0, 0, 0, 0.4);
}

.home #tboverlay {
  background-color:rgba(255, 255, 255, 0.4);
}

#downarrow {
  position:absolute;
  z-index:120;
  bottom: 30px;
  width:100%;
  height:25px;
}

#downarrow a {
  display:block;
  width: 25px;
	height: 25px;
	position: relative;
  left: 50%;
	transform: translateX(-50%);
}

#downarrow a:before {
  content: "";
  display: inline-block;
  cursor: pointer;
	width: 25px;
	height: 25px;
	font-size: 25px;
	color: #F03246;
	background-image: url("/typo3conf/ext/t3master/Resources/Public/Icons/chevron-down-sharp-solid-rot.svg");
}

#wrap-inhalt {
  scroll-margin-top: 80px;
}

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

/*
.home:not(.homeMuster) #wrap-inhalt.notb {
  height: calc(100vh - 160px);
}
*/

.home.homeOLD #wrap-inhalt.notb {
  height: calc(100vh - 160px);
}


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


.home.homeOLD #inhalt {
  height:100% !important; 
  background-image: url("/fileadmin/user_upload/Dokumente/01_Home/haus-background_3.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 0px center;
}

/*
.homeMuster .home-elevator {
  height: 100% !important;
  background-image: url("/fileadmin/user_upload/Dokumente/01_Home/haus-background_3.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 0px center;
}
*/



/* Section Background */
.bgbeige {
  background-color: #b6a9a3;
  display: block;
  overflow: hidden;
}


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

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

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

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

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

footer p {
  margin-bottom: 0px;
}

#footer-c4 {
  text-align: end;
  display: flex;
  height: 100%;
}

#footer-c4 > .frame-default {
	align-self: flex-end;
	margin-left: auto;
}


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;
  margin-left: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_swissness_wrapper {
	position: absolute;
	left: 0px;
	bottom: 0;
	width: 170px;
	height: auto;
	margin-bottom: 40px;
	margin-left: 270px;
}

svg#Megura_Swissness {
  width: 50%;
  height: 50%;
  fill: #323A3F;
}


.megura_swissness_wrapper:hover svg#Megura_Swissness {
  fill: #F03246;
}



/* Helper classes  */
.container {
  position: relative !important;
  max-width: 1440px !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: 55vh;
  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 #323A3F;
}

.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 #F03246;
  border-bottom: 2px solid #F03246;
}

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

/* Slick Slider */
.slick-slider {
  width: 96%;
  margin-left: auto;
  margin-right: auto;
}

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

.slick-slide {
  padding: 0 5px;
  margin-right:20px; 
}

.slick-next::before, .slick-prev::before {
  content: "" !important;
  background-image: url(../Icons/chevron-down-sharp-solid-rot.svg);
  background-size: 20px 20px;
  width: 20px;
  height: 20px;
  display: block;
}
.slick-next::before {
  rotate: -90deg;
}
.slick-prev::before {
  rotate: 90deg;
}



/* EXT:Container */
.light-bg {
  background-color: #d7d7d7;
}

.dark-bg {
  background-color: #2f2f2f;
  color: #fff;
}

.ci-bg {
  background-color: #8d1d25;
}

.bg-1 {
  background-color: #323A3F;
}

/* Iframe */
.iframeWrap {
  width: 100%;
  height: 100%;
  max-width: 1440px;
  max-height: 810px;
}

.iframeWrap iframe {
  width: 100%;
  height: 100%;
  max-height: 810px;
  padding-bottom: 56.25%;
}


/* Frame Class */
.frame-boxgray {
	background-color: #ECF1F4;
	padding: 20px;
	min-height: 200px;
}


.hidden {
  display: none;
}


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

/* Home */
#elevator {
    height: calc(100vh - 160px);
    background-image: url("/fileadmin/user_upload/Dokumente/01_Home/haus-background_3.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0px center;
}


.home-elevator {
  margin-top:50px; 
}
body:not(.home) .home-elevator {
  margin-top: 0 !important;
  height: 100%;
  display: flex;
}

body:not(.home) .home-elevator > .container  {
	margin-top:5%; 
}

.homeLead {
  max-width:85%; 
}

.bauplaner .homeLead {
  max-width:100%; 
}

#indentedHome {
  margin-left: -120px;
}
body:not(.uberUns) #topbild #indentedHome,
body:not(.uberUns) #topbild .indentedHome {
	margin-left: -120px;
	margin-top: 80px;
}

.hero-txt div {
  position:relative;
  z-index:50;
}


/* 3D Logo */
div#scene-container3 {
  height: 800px;
  width: 50vw;
  max-height: 800px;
  z-index: 2;
  margin-top: -50px;
  max-width: 720px;
  position: relative;
  mix-blend-mode: multiply;
  float:right; 
}
/* 3D Logo Topbild */
#topbild div#scene-container3 {
  height: 800px;
  width: 50vw;
  max-height: 800px;
  z-index: 2;
  margin-top: -50px;
  max-width: 720px;
  position: relative;
  mix-blend-mode: multiply;
  float:right; 
}

/* Team BW */
.teamSection img {
  filter: grayscale(1);
}

/* Referenzen */
.referenzMasonry {
  width: calc(100% - 260px);
  margin-left: auto;
  margin-right: auto;
}

.inst-list {
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
}

.gridimg {
  height: 90%;
}

.gridimg img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(1);
  transition: all 0.3s ease;
}

.inst-list:hover .gridimg img {
  filter: grayscale(0);
}

.referenz-content {
  background-color: #F03246 !important;
  z-index: 2;
  position: absolute;
  bottom: 0;
  transform: translateY(100%);
  height: auto;
  transition: all 0.3s ease;
  margin-bottom: 40px;
  width: 100%;
}

/*
.referenz-content:after {
  content:'';
  position:absolute;
  top:6px;
  right:6px;
  width:26px;
  height:27px;
  background: url("/typo3conf/ext/t3master/Resources/Public/Images/hand.svg");
  background-size:cover; 
  background-repeat:no-repeat;
}
*/

.inst-list:hover .referenz-content {
  transform: translateY(0%);
  bottom: 0;
  margin-bottom: 0 !important;
}

.referenz-content h3 {
  font-weight: 700 !important;
}

.referenz-content h3, 
.nlist-body {
  padding: 10px 20px;
  color: #fff !important;
  margin-bottom: 0;
}

.nlist-body {
  padding-top: 0 !important;
  line-height: 120%;
  transition: all 0.3s ease;
}

/* Masonry */
.masonry-grid-sizer,
.masonry-grid-item {
	width: calc(33% - 10px);
	height: fit-content;
  padding: 0 !important;
  margin-bottom: 20px;
 /* cursor:pointer; */
}

/* Filter */
#referenzenFilter .labelRadio {
  margin-right: 18px;
  margin-bottom: 18px;
  position: relative;
  cursor:pointer;
}
#referenzenFilter .labelRadio:last-of-type {
  margin-right: 0 !important;
}

#referenzenFilter .labelRadio input {
   display: none;
}

span.checkmark {
  width: 100%;
  height: 100%;
  padding: 5px 10px;
  position: relative;
  z-index: 5;
  border: 2px solid #F03246;
  transition: all 0.25s linear;
  display: block;
}


#referenzenFilter input[type="radio"]:checked  + .checkmark,
#referenzenFilter  .checkmark:hover {
  background-color:#F03246;
  border-color: #F03246;
  color:#fff;
}
