/*******************************************************************************/
/* BASIS LAYOUT   */
/******************************************************************************/
:root {
  --container: 1880px;
  --bs-gutter-x: 12.5px;
  --bs-gutter-y: 24px;
}

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

body {
  position: relative;
  height: 100.1%;
  width: 100%;
  margin: 0px;
  padding: 0px;
  background-color: #fff !important;
}

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

.DesktopOnly {
  display: block;
}

.MobileOnly {
  display: none;
}

#wrapper {
  position: relative;
  width: 100%;
  height: auto;
    max-width: var(--container); 
}

/* #wrapper:before {
  content: "";
  position: fixed;
  top: 20px;
  left: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  border: 2px solid #000;
} 


#wrapper:after {
  content: "";
  position: fixed;
  top: 0;
  border: 18px solid #fff;
  width: 100%;
  height: 100%;
} */

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

#header,
#header.container {
  height: 100%;
  position: fixed !important;
  width: 100%;
  max-width: 100% fit-content !important;
  height: 100px;
  /* background-color: whitesmoke; */
  background-color: #fff;
  z-index: 2;
  display: flex;
}

div#logoNav {
  height: auto;
  width: 200px;
  padding-top: 20px;
}

#logoNav img {
  width: 100%;
  height: auto;
}

#abmeldenNav h3,
#abmeldenNav p,
#abmeldenNav form>div,
#abmeldenNav form legend,
#abmeldenNav form fieldset div:first-of-type {
  display: none;
}

#sucheNav,
#abmeldenNav {
  padding-top: 20px;
}

#abmeldenNav {
 position:absolute;
 right:5px;

}


#sucheNav {
  margin-left: auto;
  margin-right: 60px;
}

body.suche #abmeldenNav {
  margin-left: auto;
}

#sucheNav fieldset input:first-of-type,
.tx-indexedsearch-form input,
.anmeldeFormular #tx-felogin-input-username,
.anmeldeFormular #tx-felogin-input-password  {
  margin-right: 10px;
  border: 1px solid #000;
  font-weight: 300;
  padding: 5px;
}

#sucheNav fieldset input {
  vertical-align: top;
}


.default-text {
  max-width:1020px; 
}


/*
#wrap-topbild {
  width: calc(100% - 400px);
  overflow: hidden !important;
  position: relative;
  /* height: calc(100vh - 100px); 
  margin-top: 0;
  background-color: #181818;
  aspect-ratio: 2 / 1;
  margin-left: auto;
}

.topbildBackground {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1818183F;
  background-position: center center;
}

.topbildClaim {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  left: 50%;
  color: #fff;
}
*/


#wrap-inhalt {
  position: relative;
  z-index: 2;
  /* left: 370px; */
  width: calc(100% - 450px);

  height: auto;
  min-height: 100%;
  margin-left: auto;
  z-index: 1;
}

body.home #wrap-inhalt {
  width: 100%;
}

#wrap-inhalt #inhalt {
  overflow-x: hidden;
  padding-top: 100px;
}


.border-top {
  position: fixed;
  top: 0;
  left: 22px;
  width: calc(100% - 44px);
  z-index: 50;
  height: 22px;
  background-color: #fff;
  border-bottom: 2px solid #000;
}

.border-bottom {
  position: fixed;
  bottom: 0;
  left: 22px;
  width: calc(100% - 44px);
  z-index: 50;
  height: 22px;
  background-color: #fff;
  border-top: 2px solid #000;
}

/* Section Background */

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

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

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

#wrap-footer {
  z-index: 10;
  width: calc(100% - 400px);
  background-color: #1A1A1A;
  padding: 60px 0;
  position: sticky;
  top: 100vh;
  margin-left: auto;
}

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

  height: 0px;
}

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

footer {
  position: relative;
  padding-top: 20px;
  padding-bottom: 0px;
  margin-right: auto;
  margin-left: auto;
  min-height: 125px;
}

footer .ce-gallery .ce-column {
  margin-right: -10px !important;
}

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

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

#frow1 .col-md-3.col-sm-6.col-12:nth-child(2) {
  position: relative;
}

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

/* Instalink */
.instaIcon {
  display: block;
}

.instaIcon::after {
  content: "";
  background-image: url("/typo3conf/ext/t3master/Resources/Public/Icons/insta-icon.svg");
  width: 35px;
  height: 35px;
  background-size: 35px 35px;
  display: block;
}

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

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

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

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

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

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




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

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

.hidden {
  display: none;
}



/****************************/
/* Cookieconsent Checkboxes */
/****************************/

/*.cc-window .dp--cookie-check {
  display: block !important;
}

.cookie-row1,
.cookie-row2 {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}*/





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

/* Home */
.anmeldeFormular {
  /*
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  */
  max-width:420px; 
}

.anmeldeFormular label[for=tx-felogin-input-username],
.anmeldeFormular label[for=tx-felogin-input-password] {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.anmeldeFormular #tx-felogin-input-username,
.anmeldeFormular #tx-felogin-input-password {
	margin-bottom: 15px;
}

/* Suchseite */
.tx-indexedsearch-searchbox legend {
  display: none;
}

.tx-indexedsearch-searchbox fieldset {
  display: flex;
}

.tx-indexedsearch-searchbox {
  margin-bottom: 10px;
}

.tx-indexedsearch-searchbox form p:last-of-type,
.tx-indexedsearch-rules,
.tx-indexedsearch-res .tx-indexedsearch-info,
.tx-indexedsearch-result-number {
  display: none;
}

.tx-indexedsearch-res {
  margin-top: 40px;
}

.tx-indexedsearch-title a {
  font-style: normal;
}

.tx-indexedsearch-browsebox:after {
  content: "";
  clear: both;
  display: table;
}

.tx-indexedsearch-browsebox ul {
  list-style-type: none !important;
  padding-left: 0;
}

.tx-indexedsearch-browsebox ul a {
  float: left;
  margin-right: 8px;
  font-size: 16px;
}


.accordion-button:focus {
  outline: none !important;
  -webkit-appearance: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none !important;
}
