@charset "utf8mb4";
/* CSS Document  */
/* roboto-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../Fonts/roboto-v30-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: url('../Fonts/roboto-v30-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../Fonts/roboto-v30-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: url('../Fonts/roboto-v30-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


:root {
  --text-color: hsl(0deg 0% 20%);
  --link-color: hsl(211deg 100% 28%);
  --link-color-hover: hsl(211deg 31% 65%);
  --link-color-80: hsl(211deg 100% 28% / 0.8);
  --title-color: hsl(0deg 0% 20%);
  --blue-color: hsl(199deg 31% 45%);
  --grey: hsl(0deg 0% 50%);
  --light-grey: hsl(0deg 0% 80%);
  --page-width: 1024px;
  --pagehead-height: 100px;
  --text-font: "Roboto", Arial, Helvetica, sans-serif;
  --title-font: "Roboto", Arial, Helvetica, sans-serif;
  --gap: 1rem;
  --doublegap: 2rem;
  --teaser-height: 40vw;
}

* {
  margin: 0px;
  padding: 0px;
  border: none;
  box-sizing: border-box;
}

.clear {
  clear: both;
}
.vihi {
  position: absolute;
  display: block;
  margin: -1px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

body {
  width: 100%;
  background-color: #fff;
  font-family: var(--text-font);
  font-size: 1.2rem;
  line-height: 1.9rem;
  font-weight: 300;
  color: var(--text-color);
}

/* header  */
.pagehead {
  display: block;
  position: sticky;
  top: 0;
  height: var(--pagehead-height);
  background-color: #fff;
  z-index: 9000;
}
/** Breite kann verändert werden  */
.pagehead > div {
  width: var(--page-width);
  height: var(--pagehead-height);
  margin: 0 auto;
  position: relative;
  border-bottom: 1px solid var(--light-grey);
}
/** Logo links oben */
#homelink {
  position: absolute;
  left: var(--gap);
  top: 10px;
  z-index: 110;
}
#homelink a {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top left;
  width: 90px;
  height: 80px;
  display: block;
}
#homelink a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/** ganzes web wird auf ganze Breite ausgerichtet wenn ausgeblendet */
.contentmain {
  display: flex;
  flex-direction: column;
}
/* ganzer Inhalt auf Breite verteilen (ist im Body eine variable definiert als Width)*/
.contenthead,
.contentmain > div,
.contentmain > section {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--doublegap);
  width: var(--page-width);
  padding: 0 var(--gap);
}
.contenthead {
  display: grid;
  grid-auto-rows: 1fr;
  grid-gap: var(--doublegap);
  justify-content: space-between;
  grid-template-columns: repeat(2, 1fr);
}
.ce-column image a {
  display: flex;
  justify-content: space-between;
}
footer {
  display: block;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.3rem;
  color: white;
  background-color: var(--link-color);
}
div#c1 {
  text-align: center;
}
section {
  clear: left;
}
.content > section {
  padding-top: 1.5rem;
}
/*.max-widthzeile p {
  display: flex;
  text-align: center;
  display: grid;
justify-content: center;
align-items: center;
}*/
/*blauer Hintergrund*/

.btn-top-wrap {
  width: var(--page-width);
  margin: 0 auto;
  position: relative;
}
.btn-top {
  user-select: none;
  position: absolute;
  display: block;
  right: var(--doublegap);
  bottom: 0;
  color: #fff;
  width: 3.5rem;
  height: 50px;
  background: var(--blue-color);
  border: 1px solid var(--blue-color);
  font-size: 0.82rem;
  line-height: 0.82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  padding-top: 0.6rem;
  transform-origin: bottom;
  transform: scaleY(0);
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  transition: transform 0.2s cubic-bezier(0.19, 1, 0.22, 1),
    background-color 0.2s ease-in-out;
}
.btn-top.active {
  transform: scaleY(1);
}
.btn-top:hover {
  background-color: white;
}

/** GENERAL **/
optgroup {
  padding-top: 3px;
  padding-bottom: 3px;
}
/* ANCHOR Tabelle*/
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  text-align: left;
  vertical-align: top;
}
/*p {
 /*-webkit-hyphens macht automatische Silbentrennung
 /*-ms-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}*/
p + p {
  padding-top: 16px;
}
#content table {
  width: 100%;
}
#content tr:nth-of-type(even) {
  background: rgba(0, 0, 0, 0.1);
}
thead tr {
  background: var(--link-color);
}
th {
  font-weight: bold;
  white-space: nowrap;
}
td,
th {
  padding-left: 10px;
  padding-right: 10px;
}
td:first-of-type {
  padding-left: 0;
}
td:last-of-type {
  padding-right: 0;
}
#content td:first-of-type {
  padding-left: 2px;
}
#content td:last-of-type {
  padding-right: 2px;
}
dl,
dt {
  float: left;
  clear: left;
  width: 110px;
  font-size: 12px;
  color: var(--grey);
  padding-right: 9px;
}
dd {
  font-size: 12px;
}
.align-center,
.text-center {
  text-align: center;
}

/** Titles */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--title-color);
  font-style: normal;
  font-weight: 700;
  font-family: var(--title-font);
  clear: left;
}

h1 {
  margin-bottom: 30px;
  font-size: 52px;
  line-height: 58px;
  font-weight: 300;
}
h2 {
  margin: 80px 0px 20px 0px;
  font-size: 32px;
  line-height: 36px;
}
h3 {
  margin: 30px 0px 8px 0px;
  font-size: 20px;
  line-height: 24px;
}
h4 {
  font-size: 20px;
  line-height: 23px;
  margin-bottom: 5px;
  margin-top: 30px;
}
h5,
h6 {
  font-size: 18px;
  line-height: 20px;
}
.contentright h2 {
  font-size: 28px;
  line-height: 33px;
}

footer h2 {
  font-size: 22px;
  margin: 16px 0 16px 0;
  line-height: 18px;
}
hr {
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: var(--light-grey);
}
div.divider {
  margin-bottom: 10px;
}

time {
  font-size: 11px;
  color: var(--grey);
}

/** Lists */
li {
  margin: 0;
  padding: 0;
  text-indent: -18px;
  list-style: none;
}
.frame {
  clear: both;
}

/**Fuss-Links*/
.frame li {
  margin: 5px 0 5px 22px;
}
.frame li:before {
  content: "•";
  font-weight: bold;
  color: var(--link-color);
  padding-right: 10px;
}

/* frame classes */

/** Links */
a {
  text-decoration: none;
  font-weight: normal;
  color: var(--link-color);
  transition: 1s;
}

a:hover {
  text-decoration: none;
  color: var(--link-color-hover);
  transition: 0s;
}
.btn {
  width: auto;
  min-width: 20px;
  cursor: pointer;
  display: inline-block;
  padding: 0 1rem;
  border-width: 1px;
  border-style: solid;
  border-color: var(--grey);
  background-color: var(--light-grey);
  transition: 0.2s;
  font-size: 1rem;
  line-height: 2.1rem;
  user-select: none;
  text-transform: uppercase;
  margin-top: 1rem;
  margin-right: 1rem;
}
.btn.btn-primary {
  border-color: var(--link-color);
  background-color: var(--link-color);
  color: white;
}
.btn.btn-primary:hover {
  background-color: white;
  color: var(--link-color);
}
.btn.btn-secondary {
  border-color: var(--grey);
  background-color: var(--grey);
  color: white;
}
.btn.btn-secondary:hover {
  background-color: white;
  color: var(--grey);
}

/** poi head */
.poi-head {
  position: relative;
}
.poi-head-image img {
  margin-top: 4rem;
  width: 100%;
  height: auto;
}
.poi-head-title h1 {
  position: absolute;
  top: 1rem;
  left: -1rem;
  transform: rotate(-3deg);
  padding: 0.2rem 1rem;
  box-shadow: 5px 5px 16px rgb(0 0 0 / 50%);
  color: white;
  margin: 0;
  font-weight: bold;
  border-radius: 2px;
}
.poi-head-gm_link {
  position: relative;
}
.poi-head-gm_link a {
  font-size: 8rem;
  position: absolute;
  bottom: 0;
  right: -1rem;
  transform: rotate(10deg);
  text-shadow: 5px 5px 16px rgb(0 0 0 / 50%);
  transition-duration: 0.4s;
}
.poi-head-gm_link a:hover {
  transform: scale(1.1);
}
/** poi right */
.poi-right li {
  display: inline-block;
  text-indent: 0;
  list-style: none;
  margin: 0px 8px 8px 0px;
  padding: 5px 12px;
  font-size: 1.2rem;
  line-height: 1.4rem;
  background: rgb(0 0 0 / 35%);
  border-radius: 2px;
}
.poi-right li:before {
  content: "";
  display: none;
}
.poi-right li a {
  color: white;
}
.poi-right li a:hover {
  color: var(--link-color);
}
.poi-right li a:before {
    content: "\f35d";
    font-family: "Font Awesome 5 Free";
    font-size: 0.7rem;
    margin-right: 6px;
    display: inline-block;
    font-weight: 900;
    bottom: 2px;
    position: relative;
}


/* teaser */
.contentmain .teaser {
  height: calc(var(--page-width) / 2.5);
  position: relative;
  margin: 0 calc(0px - var(--gap));
}
.teaser-media-item {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
  overflow: hidden;
}
.teaser-media-box {
  width: 260px;
  padding: 5px;
  position: absolute;
  bottom: -400px;
  left: var(--gap);
  background-color: var(--link-color-80);
  transition-duration: 1s;
}
.teaser-media-item.act .teaser-media-box {
  bottom: var(--gap);
}
.teaser-media-item img {
  width: 100%;
  height: auto;
}
.teaser-img-wrap {
  position: absolute;
  bottom: var(--gap);
  right: -138px;
}
.teaser-img-wrap img {
  height: auto;
  width: 336px;
  filter: drop-shadow(2px 2px 15px black);
  transform: rotate(5deg);
}
.teaser-content {
  position: absolute;
  top: var(--gap);
  left: var(--gap);
  color: white;
  text-align: left;
  width: 55%;
}
.teaser h1,
.teaser h2,
.teaser h5,
.teaser p {
  color: white;
  margin: 0;
  text-shadow: 0px 0px 2px black, 0px 0px 8px black;
}
.teaser h1 {
  font-size: 3.5rem;
  line-height: 3.7rem;
  font-weight: bold;
}
.teaser-content p {
  font-size: 2.7rem;
  line-height: 2.9rem;
  font-weight: normal;
}
.teaser-content h2 {
  font-size: 1.5rem;
  line-height: 1.6rem;
  font-weight: bold;
}
.teaser-media-box p {
  margin-top: 0.3rem;
  font-size: 1.3rem;
  line-height: 1.7rem;
  text-shadow: none;
}
.teaser-media-box h5 {
  text-shadow: none;
  font-size: 1.4rem;
  line-height: 1.7rem;
}
/* poi menu */
.submenu-poi {
  display: grid;
  grid-auto-rows: 1fr;
  grid-gap: var(--gap);
  justify-content: space-between;
  grid-template-columns: repeat(4, 1fr);
}
.submenu-poi.count-2 {
  grid-template-columns: repeat(2, 1fr);
}
.submenu-poi.count-3,
.submenu-poi.count-5,
.submenu-poi.count-6,
.submenu-poi.count-9 {
  grid-template-columns: repeat(3, 1fr);
}

.submenu-item > div {
  height: 100%;
}
.submenu-item > div > a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: 0.4s;
  transform-origin: center;
}
.submenu-item > div > a:hover {
  transform: scale(1.06);
}

.submenu-header {
  padding: 8px;
}
.submenu-header h3 {
  margin: 0;
  color: white;
}
.submenu-header h4 {
  margin: 7px 0 0;
  color: white;
}
.submenu-img-wrap {
  width: 100%;
}
.submenu-img-wrap img {
  width: 100%;
  height: auto;
}
.submenu-content {
  color: var(--text-color);
  font-weight: normal;
}
.submenu-btn .btn.btn-primary {
  color: white;
}
/* -------------------------------*/

/* image gallery */
.imagegallery .gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.imagegallery .gallery a {
  display: flex;
}
.imagegallery .gallery.cols-10 a {
  width: calc((var(--page-width) - var(--doublegap)) / 10 - 4px);
}
.imagegallery .gallery.cols-9 a {
  width: calc((var(--page-width) - var(--doublegap)) / 9 - 4px);
}
.imagegallery .gallery.cols-8 a {
  width: calc((var(--page-width) - var(--doublegap)) / 8 - 4px);
}
.imagegallery .gallery.cols-7 a {
  width: calc((var(--page-width) - var(--doublegap)) / 7 - 4px);
}
.imagegallery .gallery.cols-6 a {
  width: calc((var(--page-width) - var(--doublegap)) / 6 - 4px);
}
.imagegallery .gallery.cols-5 a {
  width: calc((var(--page-width) - var(--doublegap)) / 5 - 4px);
}
.imagegallery .gallery.cols-4 a {
  width: calc((var(--page-width) - var(--doublegap)) / 4 - 4px);
}
.imagegallery .gallery.cols-3 a {
  width: calc((var(--page-width) - var(--doublegap)) / 3 - 4px);
}
.imagegallery .gallery.cols-2 a {
  width: calc((var(--page-width) - var(--doublegap)) / 2 - 4px);
}
.imagegallery .gallery a img {
  width: 100%;
  height: auto;
  border: 1px solid var(--light-grey);
}


/* container grids */
.row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex: 0 0 auto;
}
.frame-type-ce_columns1 .row > * {
    width: 100%;
}
.frame-type-ce_columns2 .row > * {
    width: 50%;
}
.frame-type-ce_columns3 .row > * {
    width: 33.333333%;
}
.frame-type-ce_columns4 .row > * {
    width: 25%;
}
.ce-col {
  flex: 1 0 0%;
}
.ce-col.col-auto {
    width: auto;
    flex: 0 0 auto;
}
.ce-col.col-1 {
    width: 8.333333%;
    flex: 0 0 auto;
}
.ce-col.col-2 {
    width: 16.666666%;
    flex: 0 0 auto;
}
.ce-col.col-3 {
    width: 25%;
    flex: 0 0 auto;
}
.ce-col.col-4 {
    width: 33.333333%;
    flex: 0 0 auto;
}
.ce-col.col-5 {
    width: 41.666666%;
    flex: 0 0 auto;
}
.ce-col.col-6 {
    width: 50%;
    flex: 0 0 auto;
}
.ce-col.col-7 {
    width: 58.333333%;
    flex: 0 0 auto;
}
.ce-col.col-8 {
    width: 66.666666%;
    flex: 0 0 auto;
}
.ce-col.col-9 {
    width: 75%;
    flex: 0 0 auto;
}
.ce-col.col-10 {
    width: 83.333333%;
    flex: 0 0 auto;
}
.ce-col.col-11 {
    width: 91.666666%;
    flex: 0 0 auto;
}
.ce-col.col-12 {
    width: 100%;
    flex: 0 0 auto;
}



/* file icons in links */
p a[href$=".pdf"]:before,
li a[href$=".pdf"]:before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("../Icons/FileExt/pdf.png");
  background-repeat: no-repeat;
  background-size: 100%;
  margin-right: 3px;
  top: 2px;
  position: relative;
}
p a[href$=".zip"]:before,
li a[href$=".zip"]:before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("../Icons/FileExt/zip.png");
  background-repeat: no-repeat;
  background-size: 100%;
  margin-right: 3px;
  top: 2px;
  position: relative;
}
p a[href$=".doc"]:before,
li a[href$=".doc"]:before,
p a[href$=".docx"]:before,
li a[href$=".docx"]:before,
p a[href$=".dot"]:before,
li a[href$=".dot"]:before,
p a[href$=".dotm"]:before,
li a[href$=".dotm"]:before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("../Icons/FileExt/doc.png");
  background-repeat: no-repeat;
  background-size: 100%;
  margin-right: 3px;
  top: 2px;
  position: relative;
}
p a[href$=".xls"]:before,
li a[href$=".xls"]:before,
p a[href$=".xlsx"]:before,
li a[href$=".xlsx"]:before,
p a[href$=".xlt"]:before,
li a[href$=".xlt"]:before,
p a[href$=".xltm"]:before,
li a[href$=".xltm"]:before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("../Icons/FileExt/xls.png");
  background-repeat: no-repeat;
  background-size: 100%;
  margin-right: 3px;
  top: 2px;
  position: relative;
}
p a[href$=".jpg"]:before,
li a[href$=".jpg"]:before,
p a[href$=".jpeg"]:before,
li a[href$=".jpeg"]:before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("../Icons/FileExt/jpg.png");
  background-repeat: no-repeat;
  background-size: 100%;
  margin-right: 3px;
  top: 2px;
  position: relative;
}
p a[href^="https://www.google.com/maps/place/"]:before, li a[href^="https://www.google.com/maps/place/"]:before
{
  content: "";
  display: inline-block;
  width: 29px;
  height: 29px;
  background-image: url(/fileadmin/ic_place_24px_red.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  margin-right: 3px;
  top: 2px;
  position: relative;
  margin-top: -9px;
}
p a.thumbnail:before,
li a.thumbnail:before {
  display: none;
}

/** forms, powermail, registration */
.powermail_morestep .btn-group {
  margin: 1rem 0;
}
.powermail_morestep .btn-group .btn {
    margin-right: 0;
    margin-top: -2px;
    border-radius: 10px 10px 0 0;
}
.powermail_morestep .btn-group .btn.btn-danger:before {
    content: "\f071";
    display: inline-block;
    margin-right: 0.5rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}
.powermail_morestep > fieldset > legend {
    display: none;
}
label {
  display: block;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

div.checkbox label,
div.radio label {
  margin-top: 0px;
  margin-bottom: 1px;
}
.powermail_fieldwrap_type_text {
  margin-top: 1rem;
}
input,
select,
textarea {
  border-width: 1px 1px 1px 5px;
  border-color: var(--light-grey);
  border-style: solid;
  padding: 5px 5px;
  font-size: 1rem;
  font-family: var(--text-font);
}

input[required],
select[required],
textarea[required],
input[data-validation*="required"],
input.required,
select.required,
textarea.required {
  border-left-color: var(--link-color);
}
input[type="text"],
input[type="tel"],
input[type="date"],
input[type="datetime-local"],
input[type="email"],
input[type="url"],
input[type="number"],
input[type="password"],
input[type="submit"],
select,
textarea,
.tx-indexedsearch input {
  width: 100%;
  max-width: 500px;
}
.powermail_field .radio,
.powermail_field .checkbox,
.registration .radio,
.registration .checkbox {
  display: inline-block;
  margin-right: 1.5rem;
}
ul.powermail-errors-list li:before {
  display: block;
  content: " ";
  width: 0;
  height: 0;
  border-width: 12px;
  border-color: transparent transparent var(--link-color);
  border-style: solid;
  margin-top: -16px;
  padding-right: 0;
}
ul.powermail-errors-list {
  color: var(--link-color);
  font-weight: bold;
  padding: 0;
}
div.powermail_fieldwrap_text,
div.powermail_fieldwrap_submit {
  margin-top: 20px;
}
input[type="submit"][disabled],
button[disabled] {
  opacity: 0.4 !important;
  cursor: not-allowed;
}
.powermail_form_error button[type="submit"] {
    opacity: 0.4 !important;
    cursor: not-allowed;
}
.powermail_form_error button[type="submit"]:before {
    content: "\f071";
    display: inline-block;
    margin-right: 0.5rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

fieldset.nolabel legend {
  display: none;
}
fieldset {
  margin-bottom: 40px;
}
.tx-powermail h3 {
  display: none;
}
/*legend.powermail_legend {

}*/

/* fileuploads */
.ce-uploads-2 {
  display: flex;
  flex-wrap: wrap;
}
.ce-uploads li {
  margin: 0 0 0.6rem 0;
  text-indent: 0;
}
.ce-uploads-2 li {
  margin: 0 2rem 2rem 0;
}
.ce-uploads li:before {
  display: none;
}
.ce-uploads img {
  padding-right: 8px;
  float: left;
}
.ce-uploads-2 img {
  border: 1px solid var(--light-grey);
  padding: 0;
  box-sizing: content-box;
  float: none;
}
.ce-uploads span {
  padding-top: 4px;
  display: inline-block;
}
.ce-uploads-filesize {
  padding-left: 8px;
  font-size: 0.9rem;
  color: var(--grey);
}
.ce-uploads img.icon {
  width: 32px;
}

.csc-textpic-intext-left-nowrap h1,
.csc-textpic-intext-right-nowrap h1 {
  margin-top: 0;
}


/* justify images of ce-textmedia if centered is selected */
.ce-center .ce-outer,
.ce-center .ce-inner {
    float: none;
    right: 0;
}
.ce-center .ce-row {
    display: flex;
    justify-content: space-between;
    margin-left: -1rem;
    margin-right: -1rem;
}
.ce-center .ce-column {
    margin-right: 0;
    padding-left: 1rem;
    padding-right: 1rem;
}
.ce-center img {
  width: 100%;
  height: auto;
}


/* im header das transüarente bg nehmen */
.pagehead > div {
  background-color: #fff;
}
/** navigation */
nav {
  user-select: none;
}
.hnav ul,
.hnav li {
  text-indent: 0;
  padding: 0;
  list-style: none;
}

.hnav > ul {
  z-index: 200;
  display: flex;
}

.hnav > ul > li {
  display: inline-block;
  z-index: 200;
  position: relative;
}
li.menuid15 {
  margin-left: 8px;
}
.hnav a {
  font-family: var(--title-font);
  font-weight: 300;
  color: var(--title-color);
  transition: 0.3s;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 1.2rem;
  line-height: 3rem;
  padding: 0 var(--gap);
  height: 3rem;
  display: block;
}
.hnav a:hover,
.hnav li.act > a {
  transition: 0s;
  color: var(--link-color);
}
.hnav > ul > li > a {
  display: inline-block;
}

.hnav > ul > li b {
  display: inline-block;
  width: 100%;
  height: 3rem;
  background: rgba(255, 255, 255, 0);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 100;
  transition: 0s 0.2s;
}
.hnav > ul > li:hover b {
  height: 0;
}

/* sub */
.hnav > ul > li > ul {
  background-color: rgba(255, 255, 255, 0.98);
  position: absolute;
  left: 0;
  text-align: left;
  opacity: 0;
  transform: scale(1, 0);
  transform-origin: top center;
  /*
    transition: opacity 1s;
    transition-delay: 0.3s;
    transition-timing-function: cubic-bezier(0.3,0,0.1,1);
    */
  transition: opacity 0.3s linear 0.3s, transform 0s linear 0.6s;
  box-shadow: 3px 10px 30px rgb(0 0 0 / 30%);
  min-width: 204px;
  padding: var(--gap) 0;
  border-radius: 0 0 5px 5px;
}

.hnav > ul > li:hover ul {
  opacity: 1;
  transform: scale(1, 1);
  /*
    transition: opacity 0.6s;
    transition-duration: 0.6s;
    transition-delay: 0s;
    transition-timing-function: cubic-bezier(0.3,0,0.1,1);
    */
  transition: opacity 0.2s linear 0s, transform 0s linear 0s;
}
/* sub sub */
.hnav ul ul ul {
  padding-left: var(--gap);
  margin-top: -0.4rem;
  margin-bottom: 0.4rem;
}
.hnav ul ul ul a {
  line-height: 1.8rem;
  height: 1.8rem;
}

.sectionnav {
  position: absolute;
  bottom: 0;
  right: 0;
}

/* social menu */
.metanav {
  position: absolute;
  right: 0;
  top: 5px;
  margin-right: 16px;
}
.metanav a {
  color: rgba(255, 255, 255, 0) !important;
  width: 3rem;
  overflow: hidden;
  display: inline-block;
}
.metanav a:before {
  font-family: "Font Awesome 5 Brands";
  font-size: 2rem;
  color: var(--grey);
  position: relative;
  transition: 1s;
}
.metanav a:hover:before {
  color: var(--link-color);
  transition: 0.1s;
}
/*INVESO*/
.menuid43 a {
  background-image: url("https://www.iblive.ch/fileadmin/grenchen/2022/2022_Logos/inveso-small.png");
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
  width: 4.3rem;
  margin-right: 1rem;
}
/*IHVG*/
.menuid57 a {
  background-image: url("https://www.iblive.ch/fileadmin/grenchen/2022/2022_Logos/ihvg_100.jpg");
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
  width: 4.3rem;
  margin-right: 1rem;
}
/* facebook */
.menuid15 a:before,
.menuid18 a:before {
  content: "\F39E";
  right: 2px;
  top: 0px;
}
/* instagram */
.menuid16 a:before,
.menuid19 a:before {
  content: "\F16D";
  right: 12px;
  left: 2px;
  top: 0px;
}

/** footer */
.fuss-container {
    width: var(--page-width);
    margin: 0 auto;
    padding: 0 var(--gap);
}

footer a {
  color: white;
}
footer a:hover {
  color: var(--link-color-hover);
}
/*4 max-width zeilen*/
.max-width-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 100%;
  color: #fff;
}
.flex-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 14px;
  line-height: 18px;
}
.box {
  width: 100%;
}
/** Titel von den Spalten*/
.flex-container h3 {
  font-size: 15px;
  font-weight: bold;
  color: #fff;
}
/* footer menu */
.submenu ul {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: auto;
  padding: 4px 0;
  margin-top: 32px;
}
footer .submenu li {
  list-style: none;
  font-size: 14px;
  text-indent: 0;
  padding: 0;
  margin: 0;
  display: inline-block;
  line-height: 20px;
}
footer .submenu li:before {
  content: none;
  display: none;
}
/*copyright einmitten*/
.footer-copyright {
  text-align: center;
  margin-top: var(--gap);
}



/*---------------------*/
/** Responsive Section */
/*---------------------*/

@media screen and (max-width: 1344px) {
  .teaser-img-wrap {
    right: calc(532px - 50vw);
  }
  .teaser-img-wrap img {
    width: calc(336px - 335px + 25vw);
  }
}


@media screen and (max-width: 1023px) {

  :root {
    --page-width: 100%;
  }

.contentmain .teaser {
    height: calc(100vw / 2.5);
}
.teaser h1 {
  font-size: 5.47vw;
  line-height: 5.78vw;
}
.teaser-content p {
  font-size: 4.22vw;
  line-height: 4.53vw;
}
.teaser-content h2 {
  font-size: 2.344vw;
  line-height: 2.5vw;
}

.teaser-img-wrap {
    right: var(--gap);
}
.sectionnav {
    transform: scaleX(0.9);
    transform-origin: right;
    right: 3px;
}
.hnav a {
  font-size: 1.1rem;
}

.frame-type-ce_columns4 .row {
  flex-wrap: wrap;
}
.frame-type-ce_columns4 .row > * {
    width: 50%;
}

.imagegallery .gallery.cols-10 a {
    width: calc(var(--page-width) / 10 - 4px);
}
.imagegallery .gallery.cols-9 a {
    width: calc(var(--page-width) / 9 - 4px);
}
.imagegallery .gallery.cols-8 a {
    width: calc(var(--page-width) / 8 - 4px);
}
.imagegallery .gallery.cols-7 a {
    width: calc(var(--page-width) / 7 - 4px);
}
.imagegallery .gallery.cols-6 a {
    width: calc(var(--page-width) / 6 - 4px);
}
.imagegallery .gallery.cols-5 a {
    width: calc(var(--page-width) / 5 - 4px);
}
.imagegallery .gallery.cols-4 a {
    width: calc(var(--page-width) / 4 - 4px);
}
.imagegallery .gallery.cols-3 a {
    width: calc(var(--page-width) / 3 - 4px);
}
.imagegallery .gallery.cols-2 a {
    width: calc(var(--page-width) / 2 - 4px);
}

.poi-head-title h1 {
    font-size: 5.08vw;
    line-height: 5.67vw;
}


}




@media screen and (max-width: 767px) {

  .teaser-img-wrap img {
    display: none;
  }
.teaser-media-box {
    width: 100%;
    left: 0;
    padding: 5px var(--gap);
}
.teaser-media-item.act .teaser-media-box {
    bottom: 0px;
}
.teaser-media-box h5 {
  font-size: 1.3rem;
  line-height: 1.4rem;
}
.teaser-media-box p {
    font-size: 1.1rem;
    line-height: 1.3rem;
}

.sectionnav {
    text-align: right;
    bottom: 0;
    width: auto;
    height: 50px;
    right: 0;
    transition-duration: 1s;
    transition-delay: 0.3s;
    transition-timing-function: cubic-bezier(0.3,0,0.1,1);
    padding-top: 50px;
    max-width: 55px;
    z-index: 1500;
}
.sectionnav > em {
    position: absolute;
    width: 46px;
    height: 46px;
    display: block;
    bottom: 0;
    right: var(--gap);
}
.sectionnav > em i {
    display: block;
    height: 6px;
    width: 38px;
    margin: 6px;
    background-color: var(--grey);
    border-radius: 3px;
}
.sectionnav:hover {
    max-width: 500px;
    transition-duration: 0.6s;
    transition-delay: 0s;
    transition-timing-function: cubic-bezier(0.3,0,0.1,1);
}
.sectionnav > ul {
    position: absolute;
    right: 0;
    display: block;
    width: auto;
    min-width: 200px;
    padding-bottom: 1rem;
    overflow: hidden;
    background-color: var(--link-color);
    transform-origin: top;
    transform: scale(1,0);
    transition-duration: 1s;
    transition-delay: 0.3s;
    transition-timing-function: cubic-bezier(0.3,0,0.1,1);
}
.sectionnav:hover > ul {
    transform: scale(1,1);
    transition-duration: 0.6s;
    transition-delay: 0s;
    transition-timing-function: cubic-bezier(0.3,0,0.1,1);
}
.sectionnav ul li {
    opacity: 1;
    display: block;
    position: relative;
    float: none;
    width: 100%;
    padding: 1px 0;
}
.sectionnav > ul > li > a {
    color: white;
    display: block;
    padding: 0 1.5rem;
}
.sectionnav > ul > li > a:hover {
    color: var(--link-color-hover);
}
.submenu-poi,
.submenu-poi.count-3,
.submenu-poi.count-5,
.submenu-poi.count-6,
.submenu-poi.count-9 {
  grid-template-columns: repeat(2, 1fr);
}

.frame-type-ce_columns2 .row,
.frame-type-ce_columns3 .row,
.frame-type-ce_columns4 .row {
  flex-wrap: wrap;
}
.frame-type-ce_columns2 .row > *, 
.frame-type-ce_columns3 .row > *, 
.frame-type-ce_columns4 .row > * {
    width: auto;
}


  .imagegallery .gallery.cols-10 a {
    width: calc(var(--page-width) / 5 - 4px);
  }
  .imagegallery .gallery.cols-9 a {
    width: calc(var(--page-width) / 5 - 4px);
  }
  .imagegallery .gallery.cols-8 a {
    width: calc(var(--page-width) / 4 - 4px);
  }
  .imagegallery .gallery.cols-7 a {
    width: calc(var(--page-width) / 4 - 4px);
  }
  .imagegallery .gallery.cols-6 a {
    width: calc(var(--page-width) / 3 - 4px);
  }
  .imagegallery .gallery.cols-5 a {
    width: calc(var(--page-width) / 3 - 4px);
  }
  .imagegallery .gallery.cols-4 a {
    width: calc(var(--page-width) / 2 - 4px);
  }
  .imagegallery .gallery.cols-3 a {
    width: calc(var(--page-width) / 2 - 4px);
  }
  .imagegallery .gallery.cols-2 a {
    width: calc(var(--page-width) / 2 - 4px);
  }
.ce-center .ce-gallery[data-ce-columns="10"] .ce-row,
.ce-center .ce-gallery[data-ce-columns="9"] .ce-row,
.ce-center .ce-gallery[data-ce-columns="8"] .ce-row,
.ce-center .ce-gallery[data-ce-columns="7"] .ce-row,
.ce-center .ce-gallery[data-ce-columns="6"] .ce-row {
  flex-wrap: wrap;
  row-gap:  24px;
}
.ce-center .ce-gallery[data-ce-columns="10"] .ce-column {
  flex-basis: 20%;
}
.ce-center .ce-gallery[data-ce-columns="8"] .ce-column,
.ce-center .ce-gallery[data-ce-columns="7"] .ce-column {
  flex-basis: 25%;
}
.ce-center .ce-gallery[data-ce-columns="9"] .ce-column,
.ce-center .ce-gallery[data-ce-columns="6"] .ce-column {
  flex-basis: 33.33%;
} 

.flex-container {
  flex-wrap: wrap;
}
.footer-left {
  width: 100%;
}
.footer-left .submenu ul {
  flex-direction: row;
  justify-content: center;
}
.footer-left .submenu li {
    flex: 0 0 0%;
    white-space: nowrap;
}
.footer-left .submenu a {
    padding: 0 1rem;
}

}


@media screen and (max-width: 539px) {


.contentmain .teaser {
    height: calc(70vw / 2.5 + 7.5rem);
}
.teaser-media-item {
  overflow: show;
}
.teaser-media-box {
  bottom: auto;
  top: 0;
  z-index: -1;
}
.teaser-media-item.act .teaser-media-box {
  top: calc(100vw / 2.5);
  bottom: auto;
}
.teaser-media-box h5 {
  font-size: 1rem;
  line-height: 1.2rem;
}
.teaser-media-box p {
    font-size: 1rem;
    line-height: 1.2rem;
}

.submenu-poi,
.submenu-poi.count-3,
.submenu-poi.count-5,
.submenu-poi.count-6,
.submenu-poi.count-9 {
  grid-template-columns: repeat(2, 1fr);
}
.contenthead {
  display: block;
}
.poi-head-title h1 {
    font-size: 10vw;
    line-height: 12vw;
}

  .imagegallery .gallery.cols-10 a {
    width: calc(var(--page-width) / 4 - 4px);
  }
  .imagegallery .gallery.cols-9 a {
    width: calc(var(--page-width) / 4 - 4px);
  }
  .imagegallery .gallery.cols-8 a {
    width: calc(var(--page-width) / 4 - 4px);
  }
  .imagegallery .gallery.cols-7 a {
    width: calc(var(--page-width) / 4 - 4px);
  }
  .imagegallery .gallery.cols-6 a {
    width: calc(var(--page-width) / 3 - 4px);
  }
  .imagegallery .gallery.cols-5 a {
    width: calc(var(--page-width) / 3 - 4px);
  }
  .imagegallery .gallery.cols-4 a {
    width: calc(var(--page-width) / 2 - 4px);
  }
  .imagegallery .gallery.cols-3 a {
    width: calc(var(--page-width) / 2 - 4px);
  }
  .imagegallery .gallery.cols-2 a {
    width: calc(var(--page-width) / 2 - 4px);
  }
.ce-center .ce-gallery[data-ce-columns="5"] .ce-row,
.ce-center .ce-gallery[data-ce-columns="4"] .ce-row {
  flex-wrap: wrap;
  row-gap:  24px;
}
.ce-center .ce-gallery[data-ce-columns="10"] .ce-column,
.ce-center .ce-gallery[data-ce-columns="8"] .ce-column,
.ce-center .ce-gallery[data-ce-columns="7"] .ce-column,
.ce-center .ce-gallery[data-ce-columns="5"] .ce-column,
.ce-center .ce-gallery[data-ce-columns="4"] .ce-column {
  flex-basis: 50%;
}


}


@media screen and (max-width: 389px) {

.submenu-poi,
.submenu-poi.count-3,
.submenu-poi.count-5,
.submenu-poi.count-6,
.submenu-poi.count-9 {
  grid-template-columns: repeat(1, 1fr);
}

  .imagegallery .gallery.cols-10 a {
    width: calc(var(--page-width) / 2 - 4px);
  }
  .imagegallery .gallery.cols-9 a {
    width: calc(var(--page-width) / 2 - 4px);
  }
  .imagegallery .gallery.cols-8 a {
    width: calc(var(--page-width) / 2 - 4px);
  }
  .imagegallery .gallery.cols-7 a {
    width: calc(var(--page-width) / 2 - 4px);
  }
  .imagegallery .gallery.cols-6 a {
    width: calc(var(--page-width) / 2 - 4px);
  }
  .imagegallery .gallery.cols-5 a {
    width: calc(var(--page-width) / 2 - 4px);
  }
  .imagegallery .gallery.cols-4 a {
    width: calc(var(--page-width) / 2 - 4px);
  }
  .imagegallery .gallery.cols-3 a {
    width: calc(var(--page-width) / 2 - 4px);
  }
  .imagegallery .gallery.cols-2 a {
    width: calc(var(--page-width) / 2 - 4px);
  }


}
