@import url("https://fonts.verwaltungsportal.de/css/?family=Asap:400,500,600,700,400i,500i,600i,700i%7CAsap+Condensed:700,700i");

body {
  font-family: "Asap", sans-serif;
  font-weight: 400;
  color: #494948;
  background: #ffffff;
  font-size: 1rem;
  /* 1rem = 16px */
  line-height: 1.5;
}

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

a {
  color: #c81617;
}

#content a {
  text-decoration: none;
}

a:hover,
a:focus {
  color: #c81617;
}

b,
strong {
  font-weight: 600;
}

table th {
  text-align: center;
}

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

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

#logo img {
  display: block;
}

@media (max-width: 991px) {
  #logo img {
    max-width: 210px;
    width: 100%;
  }
}

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

nav {
  padding-top: 24px;
  padding-bottom: 24px;
  position: relative;
  z-index: 1002;
}

/* 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: #c81617;
    border-radius: 2px;
    position: absolute;
    width: 40px;
    height: 3px;
    left: 11px;
    -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;
    width: 100%;
  }

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

  .dropdown-toggle-button-wrapper,
  .dropdown-toggle-button-wrapper2 {
    right: 6px;
  }

  .dropdown-toggle-button-wrapper {
    top: 9px;
  }

  .dropdown-toggle-button-wrapper2 {
    top: 5px;
  }
}

@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-top: 0;
    padding-bottom: 0;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    background: url(../img/border-menu.png) bottom repeat-x, #ffffff;
  }

  nav::after {
    content: "";
    position: absolute;
    z-index: 1002;
    display: block;
    pointer-events: none;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    -webkit-box-shadow: 0 0 30px 0 rgba(161, 157, 157, 0.45);
    box-shadow: 0 0 30px 0 rgba(161, 157, 157, 0.45);
  }

  nav>.row {
    max-width: 1830px;
    width: 100%;
  }

  nav.horizontally .navbar-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
  }

  nav.horizontally .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1001;
  }

  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[class*="toplevel"]>ul,
  .navbar-default .navbar-nav li[class*="secondlevel"]>ul {
    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;
  }

  .navbar-default .open>.dropdown-menu,
  .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul,
  .navbar-default .navbar-nav li[class*="secondlevel"]:hover>ul,
  .navbar-default .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
    pointer-events: auto !important;
    opacity: 1 !important;
  }

  .navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul,
  .navbar-default .navbar-nav li[class*="secondlevel"]:focus-within>ul {
    pointer-events: auto !important;
    opacity: 1 !important;
  }

  .navbar-default .nav .open>.dropdown-menu {
    pointer-events: none !important;
    opacity: 0 !important;
  }

  nav.horizontally .navbar-nav>li:last-child>.dropdown-menu>li>.dropdown-menu,
  nav.horizontally .navbar-nav>li:nth-last-child(2)>.dropdown-menu>li>.dropdown-menu,
  nav.horizontally .navbar-nav>li:nth-last-child(3)>.dropdown-menu>li>.dropdown-menu,
  nav.horizontally .navbar-nav>li:nth-last-child(4)>.dropdown-menu>li>.dropdown-menu {
    left: auto;
    right: 102% !important;
  }
}

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

.navbar-default .navbar-nav>li>a {
  color: #494948;
  font-weight: 500;
  text-align: center;
  padding: 10px 35px;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav>li+li {
    margin-left: 30px;
  }

  .navbar-default .navbar-nav>li>a {
    padding: 36px 0;
    display: flex;
    align-content: center;
    align-items: center;
    height: 100%;
  }
}

@media (min-width: 1200px) {
  .navbar-default .navbar-nav>li+li {
    margin-left: calc(30px + (50 - 30) * (100vw - 1200px) / (1920 - 1200));
  }
}

@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>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: #c81617;
  background: url(../img/toplevel.png) center no-repeat;
}

.navbar-nav>li:focus-within>a {
  color: #c81617;
  background: url(../img/toplevel.png) center no-repeat;
}

/* -------------------------------------- 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: #c81617;
  border-radius: 5px;
}

@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 5px;
  }

  .navbar-default .navbar-nav>li>.dropdown-menu::before {
    content: "";
    position: absolute;
    display: block;
    height: 20px;
    left: 0;
    right: 0px;
    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;
  }

  .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::after {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    top: 0;
    bottom: 0;
    right: -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: #fff;
  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: #fff;
  background-color: #a40000;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
  color: #fff;
  background-color: #a40000;
}

/* ------------------------------------------------ styler ------------------------------------------------ */

@media (min-width: 992px) {
  #style {
    margin-right: 15px;
    margin-left: auto;
  }

  #style button {
    border: none;
    color: #333333;
    display: inline-block;
    width: 29px;
    height: 29px;
    border-radius: 5px;
    font-weight: 400;
    text-align: center;
    background-color: #c5e1f4;
    border: 2px solid #7ba9c7;
    position: relative;
    line-height: 1;
    -webkit-transition: transform 150ms linear;
    -moz-transition: transform 150ms linear;
    -ms-transition: transform 150ms linear;
    -o-transition: transform 150ms linear;
    transition: transform 150ms linear;
    padding: 0;
  }

  #style button+button {
    margin-left: 8px;
  }

  #style button:hover {
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
  }
}

@media (min-width: 1200px) {
  #style {
    margin-right: 25px;
  }
}

#search {
  height: 33px;
  background-color: #fff;
  display: inline-block;
  position: relative;
  border-radius: 5px;
  margin-left: auto;
  border: 2px solid #c5e1f4;
}

#search::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 80%;
  background: rgba(0, 0, 0, 0.35);
  top: 0;
  bottom: 0;
  margin: auto;
  right: 35px;
  pointer-events: none;
}

#search_input {
  color: #333333 !important;
  font-size: 14px;
  font-style: normal;
  background: transparent;
  padding: 0;
  border: 0;
  line-height: 33px;
  padding-left: 10px;
  padding-right: 43px;
  height: 33px;
  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: 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: #333333 !important;
}

#search_input::-webkit-input-placeholder {
  color: #333333 !important;
}

#search_input::-moz-placeholder {
  opacity: 1;
}

#search_input:-moz-placeholder {
  opacity: 1;
}

@media (max-width: 991px) {
  #search {
    display: block;
  }
}

/* events + news */

:is(#sgBox, #news) .slick-track {
  display: flex;
}

:is(#sgBox, #news) .slick-slide {
  height: auto;
  margin: 0 15px;
}

:is(#sgBox, #news) .slick-list {
  margin: 0 -15px;
}

:is(#sgBox, #news) .slick-slide>div {
  height: 100%;
}

:is(#sgBox, #news) .tab_link {
  font-size: 1rem;
}

:is(#sgBox, #news) .tab_link_entry {
  text-align: left;
}

:is(#sgBox, #news) .tab_link_title a {
  font-weight: bold !important;
  font-size: 1.0625rem !important;
  line-height: 1.3;
}

:is(#sgBox, #news) .tab_link_mandat a {
  color: inherit;
}

#sgBox {
  background-color: #ffffff;
  box-shadow: 0 10px 30px 0 rgba(161, 157, 157, 0.45);
  padding: 30px;
}

#sgBox .tab_link_entry {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  border: none !important;
}

#sgBox .tab_link_entry>* {
  width: 100%;
}

#sgBox .tab_link_date {
  font-size: 0.75rem;
  background: #313a44;
  color: #fff;
  padding: 5px 15px;
  border-radius: 25px;
  font-weight: 600;
  display: inline-block;
  width: auto !important;
  order: -1;
}

#sgBox .tab_link_mehr {
  display: none;
}

#sgBox .tab_preview_picture {
  order: -2;
  margin-bottom: 10px;
}

#sgBox .tab_preview_picture img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin: 0 !important;
}

#news .tab_link_entry {
  border: 1px solid #d9d9d9 !important;
  position: relative;
  background: #ffffff;
  height: 100%;
  padding: 20px 20px 30px 20px;
  overflow: hidden;
}

#news .tab_preview_picture {
  width: calc(100% + 40px);
  display: block;
  overflow: hidden;
  height: 220px;
  margin: -20px -20px 20px -20px;
}

#news .tab_preview_picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms linear;
  margin: 0 !important;
}

#news .tab_preview_picture img:hover {
  transform: scale(1.1);
}

#news .tab_spacer,
#news .tab_link_entry .vorschau,
#news .tab_link_entry .vorschau+div,
#news .tab_link_entry .vorschau+div+div,
#news .tab_link_entry .vorschau+div+div+div {
  display: none;
}

#news .tab_date {
  font-size: 0.75rem;
  color: #291809;
  background: #c5e1f4;
  font-weight: 600;
  padding: 5px 10px;
  margin-top: -20px;
  position: relative;
  margin-left: -20px;
  margin-bottom: 10px;
  max-width: 90px;
}

/* slider */

:is(#sgBox, #news) .slick-track {
  margin-bottom: 25px;
}

:is(#sgBox, #news) :is(.slick-dots, .slick-button) {
  display: inline-block !important;
  font-size: 0;
}

:is(#sgBox, #news) :is(.slick-dots button, .slick-button) {
  background: transparent;
  border: none;
  padding: 6px;
}

:is(#sgBox, #news) .slick-button {
  position: relative;
  height: 40px;
  width: 40px;
  border-radius: 5px;
}

:is(#sgBox, #news) .slick-button:is(:hover, :focus) {
  background: #c5e1f4;
}

:is(#sgBox, #news) .slick-button::before {
  font-size: 40px;
  line-height: 12px;
  height: 20px;
  display: block;
  color: #0d0d0d;
}

:is(#sgBox, #news) .slick-dots {
  padding: 0 15px;
  list-style: none;
  position: relative;
  top: -4px;
}

@media (max-width: 767px) {
  :is(#sgBox, #news) .slick-dots {
    display: none !important;
  }
}

:is(#sgBox, #news) .slick-dots>li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #a1a1a1;
  transform: translateY(-50%);
  display: inline-block;
  transition: background 200ms linear;
}

:is(#sgBox, #news) .slick-dots>li:is(.slick-active, :hover, :focus-within) {
  background: #c81617;
  border-color: #c81617;
}

:is(#sgBox, #news) .slick-dots>li+li {
  margin-left: 10px;
}

:is(#sgBox, #news) .slick-prev::before {
  content: "\2039";
}

:is(#sgBox, #news) .slick-next::before {
  content: "\203A";
}

/* stop/play button for accessibility */

:is(#sgBox, #news) .slick-animate-control {
  position: relative;
  z-index: 2;
  border-radius: 50%;
  border: 1px solid #ffffff;
  width: 30px;
  height: 30px;
  top: -2px;
  margin-left: 15px;
  background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M12 36V12h24v24Z' fill='%23fff'/%3E%3C/svg%3E") center / 16px auto no-repeat;
}

:is(#sgBox, #news) .slick-animate-control.slick-pause {
  background-size: 20px 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M16 37.85v-28l22 14Z' fill='%23fff'/%3E%3C/svg%3E");
}

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

.newsticker {
  overflow: hidden;
  margin-bottom: 20px;
  margin-top: 20px;
  position: relative;
  font-size: 18px;
  color: #6e6e6e;
}

.newsticker a {
  text-decoration: none;
  color: #6e6e6e;
}

@media (max-width: 991px) {
  .newsticker {
    width: 100%;
  }
}

#slider {
  height: 250px;
  overflow: hidden;
  position: relative;
}

@media (min-width: 768px) {
  #slider {
    height: 350px;
  }
}

@media (min-width: 992px) {
  body.index #headerpic .nivo-directionNav a {
    bottom: 18px;
  }

  #slider {
    height: 500px;
  }

  body.index #slider {
    height: 715px;
    margin-bottom: -50px;
  }

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

#headerpic {
  margin: 0 auto;
  position: relative;
  width: 100%;
  background: rgba(164, 150, 148, 0.1);
}

@media (min-width: 992px) {
  #headerpic::after {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    bottom: 0;
    width: calc(50% + 150px);
    z-index: -1;
    background: rgba(164, 150, 148, 0.1);
  }

  #headerpic {
    padding-top: 130px;
  }

  #headerpic>.row>div:last-child {
    padding-bottom: 25px;
  }
}

@media (min-width: 1200px) {
  #headerpic::after {
    width: calc(50% + 185px);
  }

  #headerpic {
    padding-top: 130px;
  }
}

.slider-wrapper {
  height: 100%;
}

.slider-mask {
  display: none;
}

/* ------------------------------------------------ jingle ------------------------------------------------ */

#jingle {
  color: #676767;
  font-size: 26px;
  padding-right: 15px;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 3px;
  position: relative;
  z-index: 60;
}

@media (min-width: 992px) {
  #jingle {
    font-size: 30px;
    padding-right: 60px;
  }

  body.index #jingle {
    margin-bottom: 110px;
  }
}

@media (min-width: 1200px) {
  body.index #jingle {
    margin-bottom: 220px;
  }
}

#jingle b,
#jingle strong {
  color: #c81617;
  font-size: calc(30px + (102 - 30) * (100vw - 320px) / (1920 - 320));
  font-family: "Asap Condensed", sans-serif;
  letter-spacing: 0;
  margin-bottom: 4px;
}

@media (min-width: 992px) {

  #jingle b,
  #jingle strong {
    margin-left: -120px;
  }
}

#jingle i,
#jingle em {
  color: #781b1c;
  font-size: 18px;
  font-style: normal;
}

@media (min-width: 992px) {

  #jingle i,
  #jingle em {
    font-size: 20px;
  }
}

#jingle b,
#jingle strong,
#jingle i,
#jingle em {
  font-weight: 500;
  display: block;
}

#jingle br {
  line-height: 0;
  display: none;
}

#jingle a {
  text-decoration: none;
}

/* ------------------------------------------------ welcome ------------------------------------------------ */

#welcome .textCol {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (min-width: 992px) {
  #welcome .textCol {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  #welcome .tabHeadline {
    margin-bottom: 25px;
  }

  #welcome .bannerCol>.grow {
    width: calc(50vw - 75px);
  }
}

@media (min-width: 1200px) {
  #welcome .bannerCol>.grow {
    width: calc(50vw - 175px);
    min-width: 425px;
  }
}

#welcome .bannerCol .banner {
  position: relative;
  background: #ffffff;
  padding: 15px;
  min-height: 400px;
  box-shadow: 0 10px 30px 0 rgba(161, 157, 157, 0.45);
}

@media (min-width: 768px) and (max-width: 991px) {
  #welcome .bannerCol {
    padding-top: 40px;
  }
}

@media (min-width: 992px) {
  #welcome .bannerCol .banner {
    padding: 20px;
  }

  #welcome .bannerCol {
    z-index: 60;
    margin-top: -100px;
  }
}

@media (min-width: 1200px) {
  #welcome .bannerCol .banner {
    padding: 30px;
  }

  #welcome .bannerCol {
    margin-top: -190px;
  }
}

#welcome .bannerCol .banner img {
  display: block;
  width: 100%;
}

/* ------------------------------------------------ content ------------------------------------------------ */
main {
  position: relative;
}

main {
  background: url(../img/main.png) bottom 15px left no-repeat;
}

#content,
#info,
#images>.row {
  text-align: left;
  padding-bottom: 40px;
  padding-top: 40px;
}

body.index #content {
  padding-top: 0;
  padding-bottom: 0;
}

@media (min-width: 992px) {

  #content,
  #info,
  #images>.row {
    padding-top: 230px;
    padding-bottom: 60px;
  }

  body.index #content {
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media (min-width: 1200px) {
  body.index #content {
    padding-top: 0px;
    margin-top: 170px;
    padding-bottom: 0;
  }

  #content,
  #images>.row {
    padding-top: 160px;
    padding-bottom: 80px;
  }

  #info {
    padding-top: 80px;
    padding-bottom: 170px;
  }

  body.index #content>.row>div:last-child {
    padding-left: 65px;
  }
}

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

.tabAside {
  padding: 30px;
  background: rgba(164, 150, 148, 0.2);
}

@media (max-width: 991px) {
  .tabAside {
    margin-top: 30px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 992px) {
  .tabAside {
    padding-right: 60px;
  }
}

@media (min-width: 1200px) {
  .tabAside {
    padding-right: 100px;
  }
}

.tabAside img {
  margin: -30px -30px 30px -30px;
  display: block;
  min-width: calc(100% + 60px);
  max-width: calc(100% + 60px);
  height: auto;
}

@media (min-width: 992px) {
  .tabAside img {
    min-width: calc(100% + 30px);
    max-width: calc(100% + 30px);
  }
}

.tabAside h1,
.tabAside h2,
.tabAside h3,
.tabAside h4,
.tabAside h5,
.tabAside h6 {
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: 0;
}

/* ------------------------------------------------ buttons ------------------------------------------------ */

.buttonsGhost a,
.buttonsBold a {
  text-decoration: none;
  border-radius: 5px;
}

.buttonsGhost a:not([href*="mailto"]),
.buttonsBold a:not([href*="mailto"]) {
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 14px 30px;
  display: inline-block;
  line-height: 1;
}

@media (min-width: 992px) {

  .buttonsGhost a:not([href*="mailto"]),
  .buttonsBold a:not([href*="mailto"]) {
    padding: 14px 40px;
  }
}

.buttonsGhost a:not([href*="mailto"])+a:not([href*="mailto"]),
.buttonsBold a:not([href*="mailto"])+a:not([href*="mailto"]) {
  margin-left: 10px;
}

@media (max-width: 767px) {

  .buttonsGhost a:not([href*="mailto"])+a:not([href*="mailto"]),
  .buttonsBold a:not([href*="mailto"])+a:not([href*="mailto"]) {
    margin-left: 0;
    margin-top: 10px;
  }
}

@media (min-width: 992px) {

  .buttonsGhost a:not([href*="mailto"])+a:not([href*="mailto"]),
  .buttonsBold a:not([href*="mailto"])+a:not([href*="mailto"]) {
    margin-left: 20px;
  }
}

.buttonsGhost a:not([href*="mailto"]) {
  border: 1px solid #a49694;
  color: #706665;
}

.buttonsGhost.lightBtn a:not([href*="mailto"]) {
  border: 1px solid #ffffff;
  color: #ffffff;
}

.buttonsGhost.tabBtn a:not([href*="mailto"]) {
  border: 1px solid rgba(238, 203, 125, 0.6);
  color: #eecb7d;
}

.buttonsBold a:not([href*="mailto"]) {
  background: #c5e1f4;
  border-radius: 5px;
}

/* .buttonsBold {
   background: #c5e1f4;
   border-radius: 5px;
   color: #333333;
   display: inline-block;
   padding: 5px 10px;
   font-weight: 600;
} */

.buttonsBold a:not([href*="mailto"]),
.buttonsBold a:not([href*="mailto"]):hover,
.buttonsBold a:not([href*="mailto"]):focus {
  color: #333333;
}

.buttonsGhost a:not([href*="mailto"]):hover,
.buttonsGhost a:not([href*="mailto"]):focus {
  color: #333333;
}

.buttonsGhost.lightBtn a:not([href*="mailto"]):hover,
.buttonsBold a:not([href*="mailto"]):hover,
.buttonsGhost.lightBtn a:not([href*="mailto"]):focus,
.buttonsBold a:not([href*="mailto"]):focus {
  background: #99ccff;
  color: #333333;
  border-radius: 5px;
}

.buttonsGhost.tabBtn a:not([href*="mailto"]):hover,
.buttonsGhost.tabBtn a:not([href*="mailto"]):focus {
  background: rgba(255, 255, 255, 0.05);
  color: #eecb7d;
}

.textCol .buttonsBold a:not([href*="mailto"]),
.buttonsBold a:not([href*="mailto"]).newsButton {
  position: relative;
  -webkit-transition: all 300ms linear;
  -moz-transition: all 300ms linear;
  -ms-transition: all 300ms linear;
  -o-transition: all 300ms linear;
  transition: all 300ms linear;
  min-width: 250px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.textCol .buttonsBold a:not([href*="mailto"])::before {
  content: "ALLE \00A0";
  color: #333333;
  opacity: 0;
  display: none;
  -webkit-transition: all 300ms linear;
  -moz-transition: all 300ms linear;
  -ms-transition: all 300ms linear;
  -o-transition: all 300ms linear;
  transition: all 300ms linear;
}

.textCol .buttonsBold a:not([href*="mailto"]):hover::before,
.textCol .buttonsBold a:not([href*="mailto"]):focus::before {
  opacity: 1;
  display: inline-block;
}

.buttonsBold a:not([href*="mailto"]).newsButton {
  position: relative;
  text-align: center;
}

.buttonsBold a:not([href*="mailto"]).newsButton::before {
  content: "AKTUELLE \00A0";
  color: #333333;
  -webkit-transition: all 300ms linear;
  -moz-transition: all 300ms linear;
  -ms-transition: all 300ms linear;
  -o-transition: all 300ms linear;
  transition: all 300ms linear;
}

.buttonsBold a:not([href*="mailto"]).newsButton:hover::before,
.buttonsBold a:not([href*="mailto"]).newsButton:focus::before {
  content: "ALLE \00A0";
}

.buttonsBold a:not([href*="mailto"]).newsButton:hover::after,
.buttonsBold a:not([href*="mailto"]).newsButton:focus::after {
  opacity: 1;
  display: inline-block;
}

/* ------------------------------------------------ info ------------------------------------------------ */

#info {
  background-color: #f6f4f4;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

#info::before {
  content: "Plants";
  display: block;
  color: #ecddc5;
  font-weight: 700;
  font-size: calc(80px + (300 - 80) * (100vw - 320px) / (1920 - 320));
  text-transform: uppercase;
  line-height: 0.7;
  margin-left: calc(15px + (70 - 15) * (100vw - 320px) / (1920 - 320));
  margin-bottom: calc(0px - (72 - 0) * (100vw - 320px) / (1920 - 320));
  pointer-events: none;
}

#info .tab {
  padding: 30px 15px;
  color: #ffffff;
  background-position: bottom left;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
}

#info .tab1 {
  background-color: #285b5c;
  background-image: url("../img/tab-hintergrund-1.png ");
}

#info .tab2 {
  background-color: #144647;
  background-image: url("../img/tab-hintergrund-2.png ");
}

@media (max-width: 767px) {
  #info .tab2 {
    margin-top: 30px;
  }
}

#info img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 992px) {
  #info>.row>div:first-child {
    padding-right: 30px;
  }

  #info>.row>div:last-child {
    padding-left: 30px;
  }
}

@media (min-width: 1200px) {
  #info .tab {
    padding: 100px 30px;
  }
}

#info .tabHeadline {
  font-family: "Asap Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 2.125rem;
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0;
}

#info h1,
#info h2,
#info h3,
#info h4,
#info h5,
#info h6 {
  color: #ffffff;
}

/* ----------------------------------------------- images ----------------------------------------------- */

#images>.row {
  line-height: 1.2;
}

@media (min-width: 576px) {
  #images>.row {
    background: url("../img/silhouette.png") left 50px bottom 70px no-repeat;
  }
}

@media (max-width: 767px) {

  .template-page .btgrid>.row>div,
  .template-page .btgrid>.row>div p,
  .template-page .btgrid>.row>div h1 {
    text-align: center !important;
  }
}

@media (min-width: 768px) {
  .template-page .btgrid>.row>div:nth-child(1) {
    padding-top: 0px;
  }
}

.template-page .btgrid>.row>div:nth-child(2) {
  text-align: right !important;
}

/* ------------------------------------------ h1 - h6, newslink ----------------------------------------- */

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
.h6,
H6,
.h5,
H5,
.h4,
H4,
.h3,
H3,
.h2,
H2,
.h1,
H1 {
  color: #c81617;
  font-weight: 700;
  line-height: 1.2;
  font-family: "Asap", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.h6 i,
H6 i,
.h5 i,
H5 i,
.h4 i,
H4 i,
.h3 i,
H3 i,
.h2 i,
H2 i,
.h1 i,
H1 i,
.h6 em,
H6 em,
.h5 em,
H5 em,
.h4 em,
H4 em,
.h3 em,
H3 em,
.h2 em,
H2 em,
.h1 em,
H1 em {
  color: #c81617;
  text-transform: none;
  letter-spacing: 0;
  font-style: normal;
  font-size: 85%;
  font-weight: 600;
}

h1,
.h1,
.legacy_h1 {
  font-size: 1.6rem;
}

@media (min-width: 768px) {

  h1,
  .h1,
  .legacy_h1 {
    font-size: 2.125rem;
  }
}

#content h1::after,
#content .legacy_h1::after {
  content: "";
  display: block;
  height: 3px;
  width: 100px;
  background-color: #c5e1f4;
  margin: 12px 0 20px 0;
}

@media (min-width: 992px) {

  #content h1::after,
  #content .legacy_h1::after {
    margin-bottom: 35px;
  }
}

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

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

h2,
.h2,
.legacy_h2 {
  font-size: 1.55rem;
}

@media (min-width: 768px) {

  h2,
  .h2,
  .legacy_h2 {
    font-size: 2rem;
  }
}

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

@media (min-width: 768px) {

  h3,
  .h3,
  .legacy_h3 {
    font-size: 1.9rem;
  }
}

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

@media (min-width: 768px) {

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

h5,
.h5,
.legacy_h5 {
  font-size: 1.6rem;
}

@media (min-width: 768px) {

  h5,
  .h5,
  .legacy_h5 {
    font-size: 1.7rem;
  }
}

h6,
.h6,
.legacy_h6 {
  font-size: 1.55rem;
}

@media (min-width: 768px) {

  h6,
  .h6,
  .legacy_h6 {
    font-size: 1.6rem;
  }
}

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

/* ----------------------------------------------- slogan ----------------------------------------------- */

#slogan {
  padding-top: 40px;
  position: relative;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(20, 70, 71, 0.5);
  font-size: calc(20px + (34 - 20) * (100vw - 320px) / (1920 - 320));
}

@media (max-width: 991px) {
  #slogan {
    padding-bottom: 40px;
  }
}

@media (min-width: 992px) {
  #slogan {
    padding-top: 60px;
  }

  #slogan>.row {
    max-width: 1830px;
    width: 100%;
  }

  #slogan>.row .row {
    min-width: auto;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1200px) {
  #slogan {
    padding-top: 80px;
  }
}

#slogan b,
#slogan strong {
  font-size: calc(28px + (64 - 28) * (100vw - 320px) / (1920 - 320));
  font-family: "Asap Condensed", sans-serif;
}

#slogan::after {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: -1;
  background: rgba(164, 150, 148, 0.1);
}

@media (min-width: 992px) {
  #slogan::after {
    width: calc(50% + 150px);
  }
}

@media (min-width: 1200px) {
  #slogan::after {
    width: calc(50% + 185px);
  }
}

#sloganImg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 150px 15px 30px;
  color: #ffffff;
  background-color: #285b5c;
}

@media (min-width: 1200px) {
  #sloganImg {
    padding-top: 200px;
    padding-bottom: 140px;
  }
}

#sloganImg h1,
#sloganImg h2,
#sloganImg h3,
#sloganImg h4,
#sloganImg h5,
#sloganImg h6 {
  color: #ffffff;
}

/* ----------------------------------------------- footer ----------------------------------------------- */

#footer {
  background-color: #781b1c;
  padding-top: 30px;
  padding-bottom: 30px;
  color: rgba(255, 255, 255, 1);
}

@media (min-width: 768px) {
  #footer {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

#innerfooter {
  font-size: 1rem;
}

@media (max-width: 767px) {
  #innerfooter {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
}

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

#innerfooter a {
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
  font-weight: 400;
}

#innerfooter a:hover,
#innerfooter a:focus {
  color: rgba(255, 255, 255, 1);
}

#innerfooter li+li::before {
  content: "\2022";
  color: rgba(255, 255, 255, 0.7);
  margin: 0 15px;
}

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

#vernetzt {
  text-align: right;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 1);
  line-height: 1.4;
  margin: 0 auto;
  font-weight: 400;
  text-decoration: none;
}

#vernetzt:hover,
#vernetzt:focus {
  color: rgba(255, 255, 255, 1);
}

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

#vernetzt b,
#vernetzt span {
  font-weight: 400;
}

#vernetzt span span {
  display: block;
}

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