@import url("https://fonts.verwaltungsportal.de/import/?family=Roboto:300,400,500,600,700,300i,400i,500i,600i,700i");
body {
  font-family: "Roboto", sans-serif;
  color: #4f4f4f;
  background: #ffffff;
  font-size: 1rem; /* 1rem = 16px */
  line-height: 1.5;
}

@media (min-width: 768px) {
  body {
    font-size: 1.125rem;
  }
}

a {
  color: #cb0072;
}

a:hover,
a:focus {
  color: #cb0072;
  text-decoration: underline;
}

b,
strong {
  font-weight: 700;
}

@media (min-width: 1200px) {
  .row {
    max-width: 1600px;
    width: 100%;
  }
}

/* ----------------------------------------------- logo ----------------------------------------------- */

#logo {
  display: inline-block;
  margin: 10px 0;
}

#logo img {
  display: block;
}

#topbar {
  padding-top: 15px;
  padding-bottom: 15px;
}

.social {
  font-size: 0.9375rem;
}

.social a {
  color: #2d2d2d;
}

#search {
  height: 33px;
  background: transparent;
  display: inline-block;
  position: relative;
}
#search_submit {
  width: 33px;
  background: url("../img/lupe-icon.png") center no-repeat;
  padding: 0;
  cursor: pointer;
  line-height: 33px;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  font-size: 0;
  -webkit-transition: background-color 300ms linear;
  -moz-transition: background-color 300ms linear;
  -ms-transition: background-color 300ms linear;
  -o-transition: background-color 300ms linear;
  transition: background-color 300ms linear;
}
#search_input::-ms-input-placeholder {
  color: #bdcdcd !important;
}
#search_input::-webkit-input-placeholder {
  color: #bdcdcd !important;
}
#search_input::-moz-placeholder {
  opacity: 1;
}
#search_input:-moz-placeholder {
  opacity: 1;
}

@media (min-width: 992px) {
  #search {
    margin-right: 30px;
  }
}

@media (max-width: 991px) {
  .social {
    padding: 20px 10px;
  }

  #search_submit {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
  }

  #logo img {
    max-width: 210px;
    width: 100%;
  }

  #search_submit {
    width: 33px;
    background: url("../img/lupe-icon.png") center no-repeat;
    padding: 0;
    cursor: pointer;
    line-height: 33px;
    border: none;
    position: relative;
    top: 0;
    right: -13px;
    height: 100%;
    font-size: 0;
    -webkit-transition: background-color 300ms linear;
    -moz-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    -o-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
  }
}

/* ------------------------------------------- navigation ------------------------------------------- */

nav {
  background-color: #ffffff;
  -webkit-box-shadow: 0px 7px 5px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 7px 5px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 7px 5px 0px rgba(0, 0, 0, 0.1);
}

/* burgermenu for tablet */

@media (max-width: 991px) {
  #burgerButton {
    font-size: 0;
    border: none !important;
    display: block;
    height: 50px;
    width: 60px;
    border-radius: 2px;
    padding: 6px 8px;
    cursor: pointer;
    background-color: #ffffff;
    -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
  }
  #burgerButtonInner2,
  #burgerButton:after,
  #burgerButtonInner {
    background-color: #000000 !important;
    border-radius: 2px;
    position: absolute;
    width: 40px;
    height: 3px;
    left: 10px;
    -webkit-transition: transform 200ms linear, opacity 200ms linear;
    -moz-transition: transform 200ms linear, opacity 200ms linear;
    -ms-transition: transform 200ms linear, opacity 200ms linear;
    -o-transition: transform 200ms linear, opacity 200ms linear;
    transition: transform 200ms linear, opacity 200ms linear;
  }
  #burgerButton[aria-expanded="true"] #burgerButtonInner {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
  }
  #burgerButton[aria-expanded="true"] #burgerButtonInner2 {
    opacity: 0;
  }
  #burgerButton[aria-expanded="true"]:after {
    -webkit-transform: rotate(45deg) translate(-4px, -6px);
    transform: rotate(45deg) translate(-4px, -6px);
  }
  #burgerButtonInner {
    top: 16px;
  }
  #burgerButtonInner2 {
    top: 24px;
  }
  #burgerButton:after {
    top: 32px;
    content: "";
    display: block;
  }
  .navbar-nav {
    margin: 20px 0;
  }
  .navbar-collapse {
    top: 0;
    background: #ffffff;
    position: fixed;
    left: -100%;
    bottom: 0;
    z-index: 100;
    height: auto !important;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    -webkit-transition: left 300ms linear, opacity 300ms linear;
    -moz-transition: left 300ms linear, opacity 300ms linear;
    -ms-transition: left 300ms linear, opacity 300ms linear;
    -o-transition: left 300ms linear, opacity 300ms linear;
    transition: left 300ms linear, opacity 300ms linear;
  }
  .navbar-collapse[aria-expanded="true"],
  .navbar-collapse.in {
    left: 0;
    opacity: 1;
    pointer-events: auto;
  }
  .navbar-header {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 101;
  }
  .navbar-toggle::before {
    content: "";
    opacity: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 0;
    z-index: -1;
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-transition: width 300ms linear, opacity 300ms linear;
    -moz-transition: width 300ms linear, opacity 300ms linear;
    -ms-transition: width 300ms linear, opacity 300ms linear;
    -o-transition: width 300ms linear, opacity 300ms linear;
    transition: width 300ms linear, opacity 300ms linear;
  }
  .navbar-toggle[aria-expanded="true"]::before {
    opacity: 1;
    width: 90px;
  }
}

@media (min-width: 575px) and (max-width: 991px) {
  .navbar-collapse {
    width: 60%;
  }
  .navbar-collapse.collapse.in:after,
  .navbar-toggle[aria-expanded="true"]::before {
    width: 40%;
  }
}

/* menu desktop */

@media (min-width: 992px) {
  nav {
    padding-bottom: 10px;
  }

  .navbar,
  .navbar > div#myNavbar,
  .navbar > div#myNavbar > ul,
  .navbar > div#myNavbar > ul > li {
    height: 100% !important;
  }
  nav.horizontally .navbar-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify !important;
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
  }
  nav.horizontally .navbar-nav > li {
    flex-grow: 1;
  }
  nav.horizontally .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }
  nav.horizontally .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
  }
  nav.horizontally .navbar-nav > li,
  nav.horizontally .navbar-nav > li > .dropdown-menu > li {
    position: relative;
  }
  .navbar-default .navbar-nav > li > ul,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    display: block !important;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
    -ms-transition: opacity 300ms linear;
    -o-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
  }
  .open > .dropdown-menu,
  .navbar-default .navbar-nav > li:hover > ul,
  .navbar-default .navbar-nav > li > .dropdown-menu > li:hover > .dropdown-menu,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu[style*="block"] {
    pointer-events: auto !important;
    opacity: 1 !important;
  }
  .nav .open > .dropdown-menu {
    pointer-events: none !important;
    opacity: 0 !important;
  }
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default .navbar-nav > li > a {
  color: #4f4f4f;
  font-weight: 400;
  text-align: left;
  padding: 10px 15px;
  position: relative;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
}

.navbar-default .navbar-nav > li > a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  background: #cb0072;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;
}

@media (max-width: 991px) {
  nav.horizontally .navbar-nav > li > a.dropdown-toggle {
    padding-right: 35px;
  }
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > a {
    padding: 20px 10px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 992px) {
  .navbar-default .navbar-nav > li > a {
    display: block;
  }
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */

.navbar-nav > li:hover > a,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > li.open > a,
.navbar-nav > li.open > a:hover,
.navbar-nav > li.open > a:focus,
.navbar-nav > li[class$="_over"] > a,
.navbar-nav > li[class$="_over"] > a:hover,
.navbar-nav > li[class$="_over"] > a:focus {
  color: #cb0072;
  background-color: transparent;
}

.navbar-nav > li:hover > a::after,
.navbar-nav > li > a:hover::after,
.navbar-nav > li > a:focus::after,
.navbar-nav > li.open > a::after,
.navbar-nav > li.open > a:hover::after,
.navbar-nav > li.open > a:focus::after,
.navbar-nav > li[class$="_over"] > a::after,
.navbar-nav > li[class$="_over"] > a:hover::after,
.navbar-nav > li[class$="_over"] > a:focus::after {
  width: 100%;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
  padding: 10px 0;
  background-color: #2d2d2d;
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > .dropdown-menu {
    left: 0%;
    margin-top: 20px;
  }
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    margin: 10px 0 0 10px;
  }
  .navbar-default .navbar-nav > li > .dropdown-menu::before {
    content: "";
    position: absolute;
    display: block;
    height: 20px;
    left: 0;
    right: 0;
    top: -20px;
  }
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu::before {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    top: 0;
    bottom: 0;
    left: -10px;
  }
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
  background-color: transparent;
  color: #ffffff;
  font-weight: 400;
  text-align: left;
  padding: 8px 30px;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
}

@media (max-width: 991px) {
  .navbar-default .navbar-nav > li > .dropdown-menu > li > a,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    text-align: left;
  }
  nav.horizontally .navbar-nav > li > .dropdown-menu > li > a.dropdown-toggle2 {
    padding-right: 35px;
  }
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-nav > li > .dropdown-menu > li:hover > a,
.navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:focus {
  color: #cb0072;
  background-color: #ffffff;
}

/* ----------------------------------------------- banner ----------------------------------------------- */

#slider {
  overflow: hidden;
  max-height: 300px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

#headerpic {
  position: relative;
}

#bannerOverlay {
  color: #ffffff;
  font-size: 1.475rem;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
}

#bannerOverlay a,
.infoText a {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  background: #cb0072;
  color: #ffffff;
  padding: 7px 15px;
  display: inline-block;
  font-style: normal;
  font-size: 1rem;
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;
}

#bannerOverlay a:hover,
.infoText a:hover {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

#bannerOverlay h1,
#bannerOverlay h2,
#bannerOverlay h3,
#bannerOverlay h4,
#bannerOverlay h5,
#bannerOverlay h6,
#bannerOverlay h1 a,
#bannerOverlay h2 a,
#bannerOverlay h3 a,
#bannerOverlay h4 a,
#bannerOverlay h5 a,
#bannerOverlay h6 a {
  color: #ffffff;
  font-style: italic;
}

@media (max-width: 1199px) {
  #bannerOverlay {
    background: #bc006a;
    padding: 20px;
  }
}

@media (min-width: 1200px) {
  #headerpic::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 1;
  }

  #bannerOverlay {
    position: absolute;
    width: 100%;
    bottom: -10px;
    font-size: 1.875rem;
    z-index: 20;
    height: 85%;
  }

  #bannerOverlay > .row:first-child {
    border: 8px solid #ffffff;
    min-height: 100%;
  }

  #slogan {
    top: 20%;
    position: relative;
  }

  body.index .nivo-directionNav a {
    top: 5% !important;
  }
}

@media (min-width: 992px) {
  #slider {
    max-height: 800px;
  }

  body:not(.index) #slider {
    max-height: 600px;
  }

  #headerpic a.nivo-prevNav {
    left: 65px;
  }

  #headerpic a.nivo-nextNav {
    right: 65px;
  }
}

.slider-wrapper,
#slider {
  height: 100%;
}

.slider-mask {
  display: none;
}

/* --------------------------------------------- aktuelles -------------------------------------------- */

#aktuelles {
  padding-bottom: 30px;
}
#aktuelles h1,
#aktuelles h2 {
  margin: 0;
}

#aktuelles h1 {
  color: #cb0072;
  font-family: "Roboto", sans-serif;
  font-size: 1.4375rem;
  text-transform: uppercase;
  font-weight: 400;
}

#aktuelles .tab_link {
  margin-top: 12px;
}

@media (min-width: 768px) {
  #aktuelles .tab_link {
    margin-top: 20px;
  }

  #aktuelles .tab_link_entries {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #aktuelles .tab_link_entries {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  #aktuelles .tab_link_entries + div {
    width: 50% !important;
    text-align: right;
    margin-left: 50%;
    margin-top: -80px;
  }
}

#aktuelles .tab_link_entry {
  border-bottom: none !important;
  position: relative;
  background: #ffffff;
  width: 100%;
  padding: 235px 20px 20px 20px;
}

@media (min-width: 768px) and (max-width: 991px) {
  #aktuelles .tab_link_entry {
    width: calc(50% - 15px);
  }

  #aktuelles .tab_link_entry:nth-child(2n + 1) {
    margin-right: 15px;
  }

  #aktuelles .tab_link_entry:nth-child(2n + 2) {
    margin-left: 15px;
  }
}

@media (min-width: 992px) {
  #aktuelles .tab_link_entry {
    width: calc(33.33% - 20px);
  }

  #aktuelles .tab_link_entry:nth-child(3n + 1) {
    margin-right: 15px;
  }

  #aktuelles .tab_link_entry:nth-child(3n + 2) {
    margin-right: 15px;
    margin-left: 15px;
  }

  #aktuelles .tab_link_entry:nth-child(3n + 3) {
    margin-left: 15px;
  }
}

#aktuelles .tab_link_entry + .tab_link_entry {
  margin-top: 30px;
}

@media (min-width: 768px) {
  #aktuelles .tab_link_entry:nth-child(2) {
    margin-top: 0;
  }
}

@media (min-width: 992px) {
  #aktuelles .tab_link_entry:nth-child(3) {
    margin-top: 0;
  }
}

#aktuelles .tab_link_entry::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  height: 235px;
  background: #efb2d4;
  background: url("../img/aktuelles-standard.jpg") center / cover no-repeat;
}

#aktuelles .tab_link_entry .tab_preview_picture {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 235px;
  overflow: hidden;
}

#aktuelles .tab_preview_picture img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: none;
  min-width: 100%;
  min-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  -ms-interpolation-mode: bicubic;
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

#aktuelles .tab_date {
  font-size: 0.875rem;
  z-index: 1;
  display: inline-block;
  padding: 4px 10px;
  color: #cb0072;
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  padding-left: 80px;
}

#aktuelles .tab_link_title a {
  color: #2d2d2d;
  font-weight: 600;
  font-size: 1.5625rem;
  line-height: 1.2;
  text-decoration: none;
  font-style: italic;
  font-family: "Playfair Display", serif;
}

#aktuelles .tab_link_entry > div:nth-last-child(2) {
  color: transparent;
  line-height: 0;
  text-align: left !important;
  margin-top: 20px;
}

#aktuelles .tab_link_entry > div:nth-last-child(2) > a {
  font-size: 0;
}

#aktuelles .tab_link_entry:hover div:nth-last-child(2) > a,
#aktuelles .tab_link_entry:focus div:nth-last-child(2) > a {
  opacity: 1;
}

#aktuelles div:nth-last-child(2) > a::after {
  content: "mehr lesen";
  margin-top: 120px;
  font-size: 1rem;
  padding: 8px 30px;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #2d2d2d;
}

#aktuelles div:nth-last-child(2) > a:hover::after {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  text-decoration: none;
}

#aktuelles .tab_link_mehr {
  margin-top: 30px;
}

/* --------------------------------------------- tabs -------------------------------------------- */

#sgtab {
  padding-top: 40px;
  padding-bottom: 40px;
}

.tab {
  position: relative;
  background: #403c37;
  padding: 150px 100px;
  overflow: hidden;
  margin-bottom: 30px;
}

.tab img {
  position: absolute;
  top: -150px;
  right: 0;
  bottom: 0;
  left: -130px;
  width: auto;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  z-index: 0;
  -ms-interpolation-mode: bicubic;
  -webkit-transition: transform 300ms linear;
  -moz-transition: transform 300ms linear;
  -ms-transition: transform 300ms linear;
  -o-transition: transform 300ms linear;
  transition: transform 300ms linear;
}

.tab::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.tab::after {
  content: "";
  position: absolute;
  width: 90%;
  height: 80%;
  border: 8px solid #ffffff;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
  pointer-events: none;
}

.tabHeadline {
  font-size: 1.125rem;
  margin: 0 0 15px 0;
  color: #2d2d2d;
  font-weight: normal;
  position: absolute;
  background-color: #ffffff;
  padding: 10px 20px;
  display: inline-block;
  max-width: 200px;
  text-align: center;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  left: -20px;
  right: 0;
  margin: auto;
  top: 45%;
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 991px) {
  .tab {
    padding: 50px 20px;
  }
  #sgtab .tab {
    padding: 70px 20px;
  }
}

/* ------------------------------------------------ content bild ----------------------------------------------- */

#bannerBild {
  height: 200px;
  width: 100%;
  position: relative;
  margin-bottom: 20px;
  background-size: cover;
  background-position: center center;
}

#bannerBild img {
  background-size: cover;
  background-position: center center;
}

@media (min-width: 992px) {
  #bannerBild {
    height: 700px;
    width: 850px;
    position: relative;
    left: -470px;
    border-top: 45px solid #ffffff;
    border-bottom: 45px solid #ffffff;
    z-index: 4;
    background-position: unset;
  }
}

@media (min-width: 1200px) {
  #bannerBild {
    height: 700px;
    width: 850px;
    position: relative;
    left: -380px;
    border-top: 45px solid #ffffff;
    border-bottom: 45px solid #ffffff;
    z-index: 4;
  }
}
/* ------------------------------------------------ content ----------------------------------------------- */

main {
  text-align: left;
  min-height: 200px;
  padding-top: 30px;
  padding-bottom: 30px;
}

@media (min-width: 992px) {
  main {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  body.index #content {
    padding: 100px 200px 150px 200px;
  }

  body.index main {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  body.index #content {
    position: relative;
  }

  body.index #content::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    border: 1px solid #cb0072;
    width: 100%;
    height: 100%;
    bottom: 0px;
    right: 0;
    pointer-events: none;
  }

  body.index #content::after {
    content: "BEAUTY";
    position: absolute;
    font-family: "Playfair Display", serif;
    pointer-events: none;
    font-size: 8.125rem;
    color: rgba(203, 0, 114, 0.3);
    left: 50px;
    bottom: -3px;
    z-index: 23;
  }
}

body:not(.noListStyle) main ul:not([class*="menue"]):not([class*="slick-dots"]):not(.units) li:not(.gallery-list-item):not(.album-list-item):nth-of-type(2n + 2):not(.entry):not(.unit-title) {
  background: #fff2f9;
}
span {
  background-color: transparent !important;
}

/* ------------------------------------------ h1, #content .legacy_h1, .legacy_h1 - h6, #content .legacy_h6, .legacy_h6, newslink ----------------------------------------- */

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
h6,
#content .legacy_h6,
.legacy_h6,
h5,
#content .legacy_h5,
.legacy_h5,
h4,
#content .legacy_h4,
.legacy_h4,
h3,
#content .legacy_h3,
.legacy_h3,
h2,
#content .legacy_h2,
.legacy_h2,
h1,
#content .legacy_h1,
.legacy_h1 {
  color: #4f4f4f;
  font-weight: bold;
  line-height: 1.2;
  font-family: "Playfair Display", serif;
}

#content h1::after {
  content: "";
  display: block;
  height: 3px;
  width: 70px;
  background-color: #4f4f4f;
  margin: 15px 0;
}

#content h1[style*="center"]::after {
  margin-left: auto;
  margin-right: auto;
}

#content h1[style*="right"]::after {
  margin-left: auto;
  margin-right: 0;
}

h1,
#content .legacy_h1,
.legacy_h1,
.h1 {
  font-size: 1.8rem;
}

@media (min-width: 992px) {
  h1,
  #content .legacy_h1,
  .legacy_h1,
  .h1 {
    font-size: 2.5rem;
  }
}

h2,
#content .legacy_h2,
.legacy_h2,
.h2 {
  font-size: 1.7rem;
}

@media (min-width: 992px) {
  h2,
  #content .legacy_h2,
  .legacy_h2,
  .h2 {
    font-size: 2.2rem;
  }
}

h3,
#content .legacy_h3,
.legacy_h3,
.h3 {
  font-size: 1.6rem;
}

@media (min-width: 992px) {
  h3,
  #content .legacy_h3,
  .legacy_h3,
  .h3 {
    font-size: 2rem;
  }
}

h4,
#content .legacy_h4,
.legacy_h4,
.h4,
.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited {
  font-size: 1.5rem;
}

@media (min-width: 992px) {
  h4,
  #content .legacy_h4,
  .legacy_h4,
  .h4,
  .h4link a:link,
  .h4link a:hover,
  .h4link a:focus,
  .h4link a:visited {
    font-size: 1.7rem;
  }
}

h5,
#content .legacy_h5,
.legacy_h5,
.h5 {
  font-size: 1.4rem;
}

@media (min-width: 992px) {
  h5,
  #content .legacy_h5,
  .legacy_h5,
  .h5 {
    font-size: 1.5rem;
  }
}

h6,
#content .legacy_h6,
.legacy_h6,
.h6 {
  font-size: 1.3rem;
}

#newslinks,
#newsmandate {
  border: 1px solid #2d2d2d;
}

/* ----------------------------------------------- liste ----------------------------------------------- */

#liste {
  background: #f5f5f5;
  position: relative;
}

.preisbild {
  position: relative;
  overflow: hidden;
}

#Headline {
  position: absolute;
  z-index: 3;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  left: 10%;
  top: 40%;
  pointer-events: none;
}

.preisbild::after {
  content: "";
  position: absolute;
  width: 81.2%;
  height: 76.5%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 8px solid #fff;
  pointer-events: none;
  z-index: 2;
}

@media (min-width: 1786px) {
  .preisbild::after {
    width: 82.2%;
  }
}

@media (min-width: 1200px) {
  .preisbild::after {
    border-left: none;
  }

  #Headline {
    position: absolute;
    z-index: 3;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    left: 0%;
    top: 40%;
    pointer-events: none;
  }

  #Headline::before {
    content: "";
    position: absolute;
    width: 70%;
    height: 8px;
    background-color: #fff;
    left: 120%;
    right: 0;
    margin: auto;
    top: 0px;
    bottom: 0;
    pointer-events: none;
  }

  #Headline::after {
    content: "";
    position: absolute;
    width: 130%;
    height: 8px;
    background-color: #fff;
    right: 130%;
    margin: auto;
    top: 0px;
    bottom: 0;
    pointer-events: none;
  }
}

.preisbild::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 2;
}

.preisbild img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  z-index: 1;
  -ms-interpolation-mode: bicubic;
  -webkit-transition: transform 300ms linear;
  -moz-transition: transform 300ms linear;
  -ms-transition: transform 300ms linear;
  -o-transition: transform 300ms linear;
  transition: transform 300ms linear;
}

.preisbild:hover img,
.preisbild:focus img,
.tab:hover img,
.tab:focus img {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.preisbild .template-page .row,
.preisbild .template-page div[class*="col"] {
  position: static;
}

.preisbild {
  padding: 70px;
  background-size: cover;
  background-position: center center;
}

.infoText {
  padding-top: 30px;
  padding-bottom: 30px;
  font-size: 1.875rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-style: italic;
}

.logoDekor {
  pointer-events: none;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px 20px;
  position: absolute;
  z-index: 20;
  right: 0;
  width: 100%;
  text-align: center;
  bottom: 95px;
}

.logoDekor img {
  width: 180px;
}

.noPadding {
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 1200px) {
  .infoText {
    padding-top: 300px;
    padding-bottom: 300px;
  }

  #liste > .row {
    max-width: 1920px;
    width: 100%;
  }
}

/* ----------------------------------------------- footer + infos ----------------------------------------------- */

footer {
  background: #2d2d2d;
  color: #ffffff;
}

#infos {
  background: #ffffff;
  padding-top: 40px;
  padding-bottom: 40px;
}

#footer {
  padding-top: 26px;
  padding-bottom: 26px;
}

#infos {
  font-size: 0.75rem;
  color: #2d2d2d;
  text-transform: uppercase;
}

#infos a {
  color: #2d2d2d;
}

@media (max-width: 991px) {
  #infos {
    background: #ffffff;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .abstand {
    padding-bottom: 30px;
  }

  #sgtab .abstand {
    padding-bottom: 0;
  }
}

.innerfooter ul {
  padding: 0;
}

.innerfooter li {
  display: block;
}

.innerfooter a {
  color: #2d2d2d;
  text-decoration: none;
  display: block;
  font-size: 0.75rem;
  border-radius: 2px;
  padding: 2px 4px;
  text-transform: uppercase;
}

.innerfooter a:hover,
.innerfooter a:focus {
  background: transparent;
  text-decoration: underline;
}

/* --------------------------------------------- vernetzt -------------------------------------------- */

#vernetzt {
  text-align: right;
  font-size: 0.875rem;
  color: #ffffff;
  line-height: 1.4;
  margin: 0 auto;
  text-decoration: none;
}

@media (min-width: 768px) {
  #vernetzt {
    margin: 0;
  }
}

#vernetzt span {
  color: #ffffff;
}

#vernetzt span span {
  display: block;
}

#vernetzt img {
  margin-left: 10px;
}
