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

html {
  /*height: 100.1%; */
 /*  overflow: hidden; */
}

*, html {
  /* scroll-behavior: smooth !important; */
}

body {
  width: 100%;
  margin: 0px;
  padding: 0px;
  background-color: #ffffff !important;
  /* background-image: radial-gradient(ellipse at center,#fff 50%,#d5d5d5 90%); */
  position: relative;
}

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

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

#fixed-header {
  position:fixed;
  width: 100%;
  height: 100px;
  z-index:250;
  top:0;
}

#wrap-header {
  width: 100%;
  height: 100px;
  position: fixed;
  background-color: #ffffff;
  z-index: 90;
  transition: all .4s ease;
  /* box-shadow: 0 10px 20px -5px rgba(115, 115, 115, 0.251); */
  transform:none !important;
}

.home #wrap-header {
  background-color:transparent;
  transition: all .4s ease;
}

.home #wrap-header.white {
  background-color: #fff;
}


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

#logo {
  z-index: 1500 !important;
  width: 90px;
  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: 21vw; */
   margin-top: 100px; 
}

.home #wrap-topbild {
  margin-top:0px !important; 
  height:70vh;
  /*height:600px; */
}

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

.home #topbild {
 height:100%; 
 position:relative;
/*  overflow:hidden; */
 z-index:0;
}

.home #topbild .frame-default {
  height:100%; 
  /* transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) !important; */
}

#topbild h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
}


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



/* Special Header Topbild Section */
#topbild .topbild-split figure {
  width: calc(1400px + ((100vw - 1400px) / 2) - 10px) !important;
}

#topbild .fullscreen-split .fsc-left  > div {
  background: transparent linear-gradient(180deg, #1E2A77 0%, #104C9D 100%) 0% 0% no-repeat padding-box;
  opacity: 1;
  border-radius: 0px 15px 15px 0px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

#topbild .fullscreen-split .fsc-re > div {
  margin-top:140px; 
}

#header-special {
	position: relative;
	z-index: 1;
	margin-top: -80px;
}

#header-special.noimg {
  margin-top:10px; 
}



/* #wrap-inhalt {
  background-color:#fff; 
} */

.home #wrap-inhalt {
  position:relative;
  z-index:1; 
}


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

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





/* Section Background */
.bg-1 {
  background: transparent linear-gradient(180deg, #1E2A77 0%, #104C9D 100%) 0% 0% no-repeat padding-box;
  opacity: 1;
}

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

.bg-3 {
	background-color:#fff; 
}




/* Fuzsszeile */

#wrap-footer {
  /* flex-shrink: 0; */
  width: 100%;
  height: 250px;
  clear: both;
  background-color: #121212;
  position: relative;
  z-index: 0;
}

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

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

.fusszeileLinks {
  text-align: right;
}


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

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

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

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

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



/* Helper classes  */
.container {
  position: relative !important;
  max-width:var(--container);
  width:var(--container);
}

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

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

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


/* Fix Sticky Elements for Locomotive */
.sticky-footer {
  position: relative;
  overflow: hidden;
  height: 100vh;
}
.fixed-target {
  bottom: -100vh;
}
.fixed-element,
.fixed-target {
  position: absolute;
  top: -100vh;
  right: 0;
  left: 0;
}




/* Rounded Corners - Border Radius */
.rounded-corners-right,
.rounded-corners-right img {
  border-radius: 0px 24px 24px 0px; 
}

.rounded-corners-left,
.rounded-corners-left img {
  border-radius: 24px 0px 0px 24px; 
}

.rounded-corners-all,
.rounded-corners-all img {
  border-radius: 24px;
  /*  background-color:transparent; */
}


/* Content Box */
.content-box {
  padding:34px; 
  transition: all .2s ease;
/*  height: 100%; */

}

.content-box .img-row {
  margin-top:-75px; 
}

.content-box figcaption:first-line {
  font-weight:700;
}

.content-box.bg-2 {
  /* margin-top:70px; */
}

.content-box.bg-2:hover {
  background-color:#cbecf9;
}


.content-box-footer {
  display:block;
  border-top:1.6px solid #009FE3;
  padding-top:12px; 
  }

.content-box-footer p {
  margin-bottom:0px !important; 
}

.content-box-footer p:after {
  content:"";
	width: 30px;
  height:30px;
  background-image: url('/fileadmin/user_upload/Dokumente/Bilder/Icons/angle-right.svg');
  background-size: 20px 28px;
  background-repeat:no-repeat;
	display: inline-block;
	padding-top: 0rem;
	position:absolute;
  right:30px; 
}





/* figcaption Global */
figcaption {
  margin-top:8px; 
  font-size:17px;
  line-height:120%; 
}


/* Energy Icons */
.energy-icon {
  aspect-ratio: 1 / 1;
  width:140px;
  padding:20px;
  margin-top:-55px;
  display: flex;
  align-items: center;
  justify-content: center;
  float:right; 
}

.energy-icon-2 {
  aspect-ratio: 1 / 1;
  width:100px;
  padding:12px;
  margin-top:-65px;
  display: flex;
  align-items: center;
  justify-content: center;
  float:right; 
}

.energy-icon .ce-gallery .ce-column,
.energy-icon-2 .ce-gallery .ce-column {
	margin-bottom: 0px !important;
}







/*
.energy-footer {
  display:block;
  border-top:1.6px solid #009FE3;
  padding-top:12px; 
  }

.energy-footer p {
  margin-bottom:0px !important; 
}

.energy-footer p:after {
  content:"";
	width: 30px;
  height:30px;
  background-image: url('/fileadmin/user_upload/Dokumente/Bilder/Icons/angle-right.svg');
  background-size: 20px 28px;
  background-repeat:no-repeat;
	display: inline-block;
	padding-top: 0rem;
	position:absolute;
  right:30px; 
}
*/

 
/*
.energy-icon .ce-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
*/




/* 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;
}









/*******************************************************************************/
/* INHALTSSEITEN   */
/******************************************************************************/
/* Login */
.loginForm fieldset > legend {
  display: none;
}

/* Home */
.home #wrap-header.headerBgWhite {
  background-color:#fff;
}

.box-heizsysteme {
  border-radius: 15px;
  padding:15px; 
  transition: all .3s ease;
  border: 0.6px solid #5979c4;
  height: 100%;
}

.box-heizsysteme:hover {
  background-color:#104C9D;
}

.box-heizsysteme a {
  display:block; 
  text-decoration:none;
  height:100%;
}

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

.box-heizsysteme .ce-gallery img {
  max-width:220px !important;
}

.box-heizsysteme .ce-textpic {
    display: flex; 
	 justify-content: center; 
	 height: 75%; 
	 align-items:center;
}



.textbox-heizsysteme {
  margin-right: auto !important;
  margin-left: auto !important;
  width:650px;
}

.headerImage .container {
  height:100%;
  display: flex;
  align-items: center;
  /* justify-content: center; */
}


/* Evaluation */
.eval-item {
  position:relative;
}

.eval-item:nth-child(n+3){
   display:none;
}

#eval-img .ce-row .ce-column {
  position:relative;
}

#eval-img .ce-row .ce-column:nth-child(n+2){
  display:none;
}







/* Referenzen */
.news .referenzArticle {
  margin-bottom: 0 !important;
  padding: 25px 0px 25px 0px !important;
}

.referenzNews hr {
  margin: 0 !important;
}

.referenzArticle .row {
  position: relative;
}

.ref-accordion-content {
  display: none;
}

.referenzArticle .category p {
  margin-bottom: 0;
}

.morebutton {
  position: absolute;
  right: 16px;
  bottom: 0px;
  cursor: pointer;
  border: none;
  border-radius: 0px;
  border-color: transparent;
  background-color: #1E2A77;
  color: #fff !important;
  text-decoration: none;
  padding: 4px 8px;
}

.morebutton:hover, .morebutton:active, .morebutton:focus, .morebutton.open {
  background-color: #008AD2;
}

.referenzArticle .ref-accordion-content .ce-outer,
.referenzArticle .ref-accordion-content .ce-inner,
.referenzArticle .ref-accordion-content .image,
.referenzArticle .ref-accordion-content img {
    width: 100%;
    height: auto;
}

.referenzArticle ul.slick-dots {
  bottom: 35px;
}

.slick-slider .slick-dots li {
  height: 20px;
  margin: 0 3px;
  width: 20px;
}

.ref-content-gallery .slick-slider .slick-dots li button::before {
  color: #fff !important;
}

.slick-slider .slick-dots li button::before {
  color: #000;
  font-family: slick;
  font-size: 14px !important;
  height: 14px;
  line-height: 14px;
  opacity: .25;
  text-align: center;
  width: 14px;
}
