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

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

a {
   color: #ab231c;
}

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

#contentBox a,
b,
strong {
   font-weight: 500;
}

/* ----------------------------------------------- contact ----------------------------------------------- */

.contact {
   background-color: #201d1d;
   color: #ffffff;
   font-size: 0.75rem;
   padding-top: 6px;
   padding-bottom: 6px;
   font-weight: 500;
}

@media (max-width: 991px) {
   #menu .contact {
      padding-top: 15px;
      padding-bottom: 15px;
      font-size: 0.875rem;
   }
   #menu .contact p + p {
      margin-top: 8px;
   }
}

.contact a {
   color: #ffffff;
   text-decoration: underline;
}

.contact b,
.contact strong {
   font-weight: 600;
}

.contact p {
   margin: 0;
   display: inline-block;
}

.contact p + p {
   margin-left: 15px;
}

@media (min-width: 992px) {
   .contact p + p {
      margin-left: 30px;
   }
}

.contact img {
   display: inline-block;
   margin-right: 2px;
   vertical-align: text-bottom;
}

.static {
   position: static;
}

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

#logo {
   display: inline-block;
}

.is-sticky #logo img {
   -webkit-transition: all 0.5s 0s ease;
   -moz-transition: all 0.5s 0s ease;
   -o-transition: all 0.5s 0s ease;
   transition: all 0.5s 0s ease;
   max-width: 160px;
}

.is-sticky nav.horizontally .navbar-nav {
   -webkit-transition: all 0.5s 0s ease;
   -moz-transition: all 0.5s 0s ease;
   -o-transition: all 0.5s 0s ease;
   transition: all 0.5s 0s ease;
   margin-top: 50px;
}

#logo img {
   display: block;
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
   #burgerButton {
      font-size: 13px;
      display: block;
      width: 48px;
      height: 48px;
      border-radius: 2px;
      padding: 8px 0 0 0 !important;
      cursor: pointer;
      background: #ffffff;
      border: none !important;
      border-radius: 4px;
      color: #ab231c;
      font-weight: 700;
      line-height: 1;
      text-transform: uppercase;
      text-align: center;
      -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);
   }
   #burgerButtonInner {
      margin-bottom: 26px;
      display: inline-block;
   }
   #burgerButton[aria-expanded="true"] #burgerButtonInner {
      opacity: 0;
   }
   .navbar:focus-within #burgerButtonInner {
      opacity: 0;
   }
   #burgerButton[aria-expanded="true"] #burgerButtonInner2 {
      -webkit-transform: rotate(-45deg) translate(2px, -4px);
      transform: rotate(-45deg) translate(2px, -4px);
   }
   .navbar:focus-within #burgerButtonInner2 {
      -webkit-transform: rotate(-45deg) translate(2px, -4px);
      transform: rotate(-45deg) translate(2px, -4px);
   }
   #burgerButton[aria-expanded="true"]:after {
      -webkit-transform: rotate(45deg) translate(-10px, -10px);
      transform: rotate(45deg) translate(-10px, -10px);
   }
   .navbar:focus-within #burgerButton:after {
      -webkit-transform: rotate(45deg) translate(-10px, -10px);
      transform: rotate(45deg) translate(-10px, -10px);
   }
   #burgerButtonInner2,
   #burgerButton:after {
      -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;
   }
   .navbar:focus-within #burgerButtonInner2,
   .navbar:focus-within #burgerButton:after {
      -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;
   }
   #burgerButtonInner2 {
      top: 26px;
   }
   #burgerButton:after {
      top: 36px;
   }
   #burgerButtonInner2,
   #burgerButton:after {
      content: "";
      display: block;
      position: absolute;
      background: #ab231c;
      border-radius: 2px;
      width: 38px;
      height: 3px;
      left: 5px;
      font-size: 0;
   }
   .navbar-nav {
      margin: 20px 0;
   }
   .navbar-collapse {
      padding: 30px 0;
      top: 0;
      background: #fff;
      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;
   }
}

/* menu desktop */

@media (min-width: 992px) {
   #menu {
      background: #fff;
      position: relative;
      box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
   }
   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;
      margin-top: 100px;
   }
   nav.horizontally li[class*="toplevel"] > ul::before {
      display: block;
      position: absolute;
      top: -50px;
      height: 50px;
      width: 100%;
      content: "";
   }
   nav.horizontally li[class*="toplevel"] > ul {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      z-index: 1000;
      margin: 0;
      margin-top: 0;
      padding: 10px 25px;
      padding-top: 20px;
      padding-bottom: 20px;
      overflow-y: auto;
      max-height: 60vh;
      overflow: hidden;
      display: block !important;
      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;
      pointer-events: none;
   }
   nav.horizontally li[class*="toplevel"] > ul::after {
      content: "";
      display: block;
      position: absolute;
      width: 100vw;
      z-index: -1;
      -moz-transform: translateX(-50%);
      -webkit-transform: translateX(-50%);
      -o-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
      transform: translateX(-50%);
      left: 50%;
      top: 0;
      bottom: 0;
      background: rgba(255, 255, 255, 0.9);
      -webkit-box-shadow: 0 8px 8px 0 rgba(84, 73, 73, 0.1);
      box-shadow: 0 8px 8px 0 rgba(84, 73, 73, 0.1);
   }
   nav.horizontally li[class*="toplevel"] > ul:not(.mCustomScrollbar),
   nav.horizontally li[class*="toplevel"] > ul .mCSB_container {
      -webkit-column-count: 4;
      -moz-column-count: 4;
      column-count: 4;
      -webkit-column-gap: 30px;
      -moz-column-gap: 30px;
      column-gap: 30px;
      max-width: 992px;
      margin-left: auto;
      margin-right: auto;
      padding: 0 15px;
      height: auto;
   }
   nav.horizontally li[class*="secondlevel"] {
      float: none;
      -webkit-column-break-inside: avoid;
      page-break-inside: avoid;
      break-inside: avoid;
      display: table !important;
   }
   .navbar-default .navbar-nav li[class*="toplevel"]:hover > ul {
      pointer-events: auto !important;
      opacity: 1 !important;
      top: 100%;
      z-index: 1003;
   }
   .navbar-default .navbar-nav li[class*="toplevel"]:focus-within > ul {
      pointer-events: auto !important;
      opacity: 1 !important;
      top: 100%;
   }
   .nav li[class*="toplevel"].open > .dropdown-menu {
      pointer-events: none !important;
      opacity: 0 !important;
   }
   #mCSB_1_scrollbar_vertical {
      left: 50%;
      margin-left: calc(962px / 2);
   }
}
@media (min-width: 1200px) {
   nav.horizontally li[class*="toplevel"] > ul:not(.mCustomScrollbar),
   nav.horizontally li[class*="toplevel"] > ul .mCSB_container {
      max-width: 1200px;
      padding-top: 55px;
      padding-bottom: 45px;
   }
   #mCSB_1_scrollbar_vertical {
      margin-left: calc(1170px / 2);
   }
}

nav.horizontally li[class$="_end"],
nav.horizontally li[class$="_start"] {
   display: none;
}

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

.navbar-default li[class*="toplevel"] > a {
   color: #423c3c;
   font-weight: 600;
   text-align: left;
   padding: 10px 15px 15px 15px;
   position: relative;
   font-size: 24px;
   font-family: "Jost";
   line-height: 1.2;
   text-decoration: none;
}

@media (max-width: 991px) {
   .navbar-default li[class*="toplevel"] {
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
   }
   nav.horizontally li[class*="toplevel"] > a.dropdown-toggle {
      padding-right: 35px;
   }
}

@media (min-width: 992px) {
   .navbar-default li[class*="toplevel"] > a {
      padding: 20px 15px 42px 15px;
   }
}

.navbar-default li[class*="toplevel"] > a::after {
   content: "";
   display: block;
   height: 3px;
   width: 0;
   position: absolute;
   left: 50%;
   -moz-transform: translateX(-50%);
   -webkit-transform: translateX(-50%);
   -o-transform: translateX(-50%);
   -ms-transform: translateX(-50%);
   transform: translateX(-50%);
   bottom: 35px;
   background: #ab231c;
   -webkit-transition: width 200ms linear;
   -moz-transition: width 200ms linear;
   -ms-transition: width 200ms linear;
   -o-transition: width 200ms linear;
   transition: width 200ms linear;
}

@media (max-width: 991px) {
   .navbar-default li[class*="toplevel"] > a::after {
      bottom: 0;
   }
}

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

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

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

@media (max-width: 991px) {
   .navbar-default li[class*="toplevel"] > .dropdown-menu,
   .navbar-default li[class*="toplevel"] > .dropdown-menu > li > .dropdown-menu {
      padding: 10px;
      background: rgba(248, 229, 229, 0.8);
   }
}

@media (min-width: 992px) {
   .navbar-default li[class*="toplevel"] > .dropdown-menu > li > .dropdown-menu {
      display: block;
   }
}

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

.navbar-default li[class*="secondlevel"] > a,
.navbar-default li[class*="thirdlevel"] > a {
   color: #807070;
   text-align: left;
   padding: 8px 35px 8px 15px;
   font-size: 1rem;
   line-height: 1.2;
   text-decoration: none;
}

.navbar-default li[class*="secondlevel"] > a {
   font-weight: 700;
   color: #ab231c;
}

.navbar-default li[class*="thirdlevel"] > a {
   font-weight: 400;
}

@media (min-width: 992px) {
   .navbar-default li[class*="secondlevel"] > a {
      padding: 20px 0 2px;
   }
   .navbar-default li[class*="thirdlevel"] > a {
      padding: 5px 0 5px 10px;
   }
}

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

.navbar-nav li[class*="secondlevel"]:hover > a,
.navbar-nav li[class*="secondlevel"] > a:hover,
.navbar-nav li[class*="secondlevel"] > a:focus,
.navbar-nav li[class*="secondlevel"].open > a,
.navbar-nav li[class*="secondlevel"].open > a:hover,
.navbar-nav li[class*="secondlevel"].open > a:focus,
.navbar-nav li[class*="secondlevel"][class$="_over"] > a,
.navbar-nav li[class*="secondlevel"][class$="_over"] > a:hover,
.navbar-nav li[class*="secondlevel"][class$="_over"] > a:focus {
   color: #201d1d;
}


.navbar-nav li[class*="thirdlevel"] > a:hover,
.navbar-nav li[class*="thirdlevel"] > a:focus,
.navbar-nav li[class*="thirdlevel"].open > a,
.navbar-nav li[class*="thirdlevel"].open > a:hover,
.navbar-nav li[class*="thirdlevel"].open > a:focus,
.navbar-nav li[class*="thirdlevel"][class$="_over"] > a,
.navbar-nav li[class*="thirdlevel"][class$="_over"] > a:hover,
.navbar-nav li[class*="thirdlevel"][class$="_over"] > a:focus {
   color: #ab231c;
}
/* ------------------------------------------- button design ------------------------------------------- */

.buttonStyle a {
   display: inline-block;
   background: #201d1d;
   border-radius: 3px;
   color: #ffffff;
   border: 1px solid #ffffff;
   font-size: 0.75rem;
   text-transform: uppercase;
   padding: 5px 20px;
   font-weight: 600;
   text-decoration: none;
   -webkit-transition: background 300ms linear, color 300ms linear, border 300ms linear;
   -moz-transition: background 300ms linear, color 300ms linear, border 300ms linear;
   -ms-transition: background 300ms linear, color 300ms linear, border 300ms linear;
   -o-transition: background 300ms linear, color 300ms linear, border 300ms linear;
   transition: background 300ms linear, color 300ms linear, border 300ms linear;
}

@media (min-width: 768px) {
   .buttonStyle a + a {
      margin-left: 12px;
   }
}

.buttonStyle a::after {
   content: "\00BB";
   margin-left: 4px;
   position: relative;
   bottom: 1px;
}

.buttonStyle a:hover,
.buttonStyle a:focus {
   color: #291809;
   background: #ab231c;
   border-color: #ab231c;
}

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

#slider,
#slider-onebanner {
   min-height: 200px;
   max-height: 300px;
   overflow: hidden;
   position: relative;
   border-radius: 3px;
}

@media (min-width: 768px) {
   #slider,
   #slider-onebanner {
      min-height: 300px;
      max-height: 500px;
   }
   #slider,
   .slider-wrapper {
      height: 100%;
   }
}

@media (min-width: 992px) {
   #slider,
   #slider-onebanner {
      min-height: 300px;
   }
   .index #slider,
   .index #slider-onebanner {
      min-height: 500px;
   }
}

#headerpic {
   margin: 0;
   position: relative;
   width: 100%;
   height: 100%;
   overflow: hidden;
   border-radius: 3px;
}

.slider-mask {
   display: none;
}

@media (min-width: 768px) {
   .slider-mask {
      display: block;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      height: auto;
      background: linear-gradient(to top, #ab231c 2%, rgba(255, 255, 255, 0) 66%);
      -webkit-transition: top 300ms linear;
      -moz-transition: top 300ms linear;
      -ms-transition: top 300ms linear;
      -o-transition: top 300ms linear;
      transition: top 300ms linear;
   }
   #headerpic:hover .slider-mask {
      top: -1000px;
   }
}

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

#bannerOverlay {
   background: #ab231c;
   color: #ffffff;
   padding: 30px;
   line-height: 1.4;
}

@media (max-width: 767px) {
   body:not(.index) #headerpic {
      display: none;
   }
}

@media (min-width: 768px) {
   #bannerOverlay {
      position: absolute;
      left: 0;
      bottom: 0;
      right: 0;
      z-index: 50;
      background: none;
      text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
   }
}

#bannerOverlay a {
   text-shadow: none;
   line-height: 1.5;
}

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

.bannerHeadline {
   margin: 0 0 5px 0;
}

/* ---------------------------------------------- header tab ---------------------------------------------- */

#headerTab {
   border-radius: 3px;
   background: #038c71;
   color: #ffffff;
   height: 100%;
   min-height: 100%;
}

.headerContent {
   padding: 35px 30px 30px 30px;
}

.headerContent h1,
.headerContent h2,
.headerContent h3 {
   font-size: 2rem;
   margin-bottom: 22px;
}

.headerContent h1,
.headerContent h2,
.headerContent h3,
.headerContent h1 em,
.headerContent h2 em,
.headerContent h3 em {
   color: #ffffff;
}

/* ----------------------------------------------- search ----------------------------------------------- */

.search {
   padding: 30px;
   border-top: 1px solid rgba(255, 255, 255, 0.15);
}

form[id^="search"] {
   display: inline-block;
   position: relative;
   margin: 0;
   width: 100%;
}

form[id^="search"] label {
   display: block;
   font-weight: 600;
   font-size: 1.125rem;
   margin-bottom: 18px;
   line-height: 1;
}

form [id^="search_input"] {
   color: #383838;
   font-size: 15px;
   font-style: normal;
   padding: 0;
   border: 0;
   line-height: 38px;
   padding-left: 14px;
   padding-right: 47px;
   height: 38px;
   width: 100%;
   border-radius: 3px;
   background: #ffffff !important;
}

form [id^="search_submit"] {
   width: 38px;
   height: 38px;
   border: none;
   background: url("../img/lupe-icon.png") center no-repeat;
   padding: 0;
   cursor: pointer;
   position: absolute;
   bottom: 0;
   right: 0;
   font-size: 0;
   -webkit-transition: background 150ms linear;
   -moz-transition: background 150ms linear;
   -ms-transition: background 150ms linear;
   -o-transition: background 150ms linear;
   transition: background 150ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
   background-color: #ffd9b8;
}

[id^="search_input"]::-ms-input-placeholder {
   color: #383838 !important;
   font-style: italic;
}

[id^="search_input"]::-webkit-input-placeholder {
   color: #383838 !important;
   font-style: italic;
}

[id^="search_input"]::-moz-placeholder {
   opacity: 1;
   font-style: italic;
}

/* --------------------------------------------- styler + contrast ------------------------------------------- */

@media (min-width: 992px) {
   #styleContrast {
      margin: 0;
   }
   #styleContrast > * {
      padding: 11px 10px 15px 10px;
   }
   #style {
      background: rgba(0, 0, 0, 0.1);
   }
   #contrast_style {
      background: rgba(255, 255, 255, 0.1);
   }
   #styleContrast span {
      display: block;
      width: 100%;
      font-size: 0.875rem;
      margin-bottom: 9px;
   }
   #styleContrast button {
      font-size: 1.125rem;
      padding: 0 0 2px 0 !important;
      border: none;
      color: #ffffff;
      display: inline-block;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      font-weight: 500;
      text-align: center;
      background: rgba(0, 0, 0, 0.2);
      position: relative;
      line-height: 1;
   }
   #contrast_style button {
      font-size: 0;
   }
   #contrast_style button::after {
      content: "";
      display: block;
      position: absolute;
      top: 5px;
      left: 5px;
      right: 5px;
      bottom: 5px;
      border-radius: 50%;
      border: 1px solid #ffffff;
   }
   #contrast_style button:nth-of-type(1)::after {
      background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 50%);
   }

   #contrast_style button:nth-of-type(2)::after {
      background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 50%);
   }
   #contrast_style button:nth-of-type(3)::after {
      background: #c2722d;
   }
   #styleContrast button + button {
      margin-left: 4px;
   }
   #styleContrast button:hover,
   #styleContrast button:focus {
      background: rgba(0, 0, 0, 0.4);
   }
}

/* ----------------------------------------------- news + events -------------------------------------------- */

#news .tab,
#eventsBG {
   border-radius: 3px;
   background-color: #ab231c;
   overflow: hidden;
}

#news .tab,
#events .tab {
   padding: 30px;
   color: #ffffff;
   background-position: top 20px right 20px;
   background-repeat: no-repeat;
}

#news .tabHeadline,
#events .tabHeadline {
   color: #ffffff;
   margin: 0 0 20px 0;
}

@media (min-width: 768px) {
   #news .tabHeadline,
   #events .tabHeadline {
      margin: 0 0 25px 0;
   }
}

@media (min-width: 1200px) {
   #news .tabHeadline,
   #events .tabHeadline {
      -webkit-hyphens: manual;
      -moz-hyphens: manual;
      -ms-hyphens: manual;
      hyphens: manual;
   }
}

#news .tabHeadline::after,
#events .tabHeadline::after {
   display: none;
}

#news .tab_link_entry,
#events .tab_link_entry {
   font-size: 1rem;
   position: relative;
   width: 100%;
}

#news .tab_link_title a,
#events .tab_link_title a {
   line-height: 1.2;
   font-weight: 600;
   font-size: 1.125rem;
   display: block;
   margin-bottom: 8px;
}

@media (min-width: 576px) {
   #news .tab_link_entries,
   #events .tab_link_entries {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
   }
}

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

#tabs {
   padding-bottom: 50px;
}

#tabs h1 {
   font-size: 1.125rem;
   font-style: normal;
   margin-bottom: 15px;
}

#tabs a {
   position: absolute;
   bottom: -15px;
   right: -15px;
   padding: 5px 35px;
   background: #ab231c;
   color: #fff;
   border-radius: 3px;
}

#tabs > .row > .col-xs-12 > .tab {
   position: relative;
   border: 1px solid #d9d9d9;
   height: 100%;
}

@media (max-width: 991px) {
   #tabs > .row > .col-xs-12:nth-child(2),
   #tabs > .row > .col-xs-12:nth-child(3),
   #tabs > .row > .col-xs-12:nth-child(4) {
      margin-top: 25px;
   }
}

#tabs > .row > .col-xs-12 > .tab > .template-page > .row > .col-xs-12 > div:nth-child(1) {
   line-height: 0;
}

#tabs > .row > .col-xs-12 > .tab > .template-page > .row > .col-xs-12 > div:nth-child(2) {
   padding: 20px;
   position: relative;
   min-height: 250px;
}

/* --------------------------------------------------- news ------------------------------------------------ */

#news {
   padding-top: 30px;
}

#news .tab {
   background-image: url("../img/icon-zeitung.png");
}

#news .tab,
#news .tab_link,
#news .tab_link > div {
   height: 100%;
   min-height: 100%;
}

#news .tab_link_entry {
   background: #ffffff;
   border-radius: 3px;
   padding: 160px 30px 30px 30px;
   border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

@media (min-width: 576px) and (max-width: 767px) {
   #news .tab_link_entry {
      width: calc(50% - 15px);
   }

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

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

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

   #news .tab_link_entry + .tab_link_entry {
      margin-left: 30px;
   }
}

@media (max-width: 767px) {
   #news .tab_link_entry + .tab_link_entry {
      margin-top: 30px;
   }
}

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

@media (max-width: 991px) {
   #news .tab_link {
      margin-top: 30px;
   }
}

#news .tab_link_title a::before,
#news .tab_link_entry .tab_preview_picture {
   position: absolute;
   display: block;
   top: -1px;
   left: -1px;
   right: -1px;
   height: 120px;
   overflow: hidden;
   border-top-left-radius: 3px;
   border-top-right-radius: 3px;
}

#news .tab_link_title a::before {
   content: "";
   background: url("../img/news-standard.jpg") center / cover no-repeat;
}

#news .tab_preview_picture img {
   position: absolute;
   margin: 0 !important;
   left: 50%;
   top: 50%;
   max-width: none;
   min-width: 100%;
   min-height: 100%;
   max-width: 350px;
   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%);
}

#news .tab_date {
   font-size: 0.75rem;
   font-weight: 600;
   position: absolute;
   left: -1px;
   top: 105px;
   z-index: 1;
   display: none;
   padding: 6px 20px;
   background: #f28f38;
   color: #291809;
   border-top-right-radius: 3px;
   border-bottom-right-radius: 3px;
}

#news .tab_link_title a {
   color: #ab231c;
}

.tab_link_entries + div,
.tab_link_entries .tab_spacer,
.tab_link_entry > div:nth-last-child(2) {
   display: none;
}

/* -------------------------------------------------- events ----------------------------------------------- */

#events {
   margin-bottom: 40px;
}

@media (min-width: 992px) {
   #events {
      margin-bottom: 80px;
   }
}

#eventsBG .tab {
   background-image: url("../img/icon-kalender.png");
}

#events .tab_link,
#events .tab_link > div {
   height: 100%;
   min-height: 100%;
}

#events .tab_link_entry {
   color: #ffffff;
   padding: 30px;
   border: none !important;
}

@media (min-width: 576px) and (max-width: 767px) {
   #events .tab_link_entry {
      width: 50%;
   }
}

@media (min-width: 768px) {
   #events .tab_link_entry {
      width: 33.33%;
   }
}

#events .tab_link_title a {
   color: #ffffff;
}

.tab_link_entries + div,
.tab_link_entries .tab_spacer,
.tab_link_entry > div:nth-last-child(2) {
   display: none;
}

@media (max-width: 767px) {
   #events .tab_link_entry:nth-child(3n + 1) {
      background: rgba(0, 0, 0, 0.1);
   }

   #events .tab_link_entry:nth-child(3n + 2) {
      background: rgba(255, 255, 255, 0.1);
   }
}

@media (min-width: 768px) {
   #events .tab_link_entry:nth-child(6n + 1),
   #events .tab_link_entry:nth-child(6n + 5) {
      background: rgba(0, 0, 0, 0.1);
   }

   #events .tab_link_entry:nth-child(6n + 3),
   #events .tab_link_entry:nth-child(6n + 4) {
      background: rgba(255, 255, 255, 0.1);
   }
}

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

#content {
   background: #fff;
}

#contentBox {
   text-align: left;
   padding-bottom: 40px;
   padding-top: 30px;
   background: #fff url("../img/loewe.png") no-repeat center;
}

@media (min-width: 992px) {
   #contentBox {
      padding-bottom: 80px;
      padding-top: 30px;
   }
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
   color: #ab231c;
   font-weight: bold;
   line-height: 1.2;
   font-style: italic;
   font-family: "Barlow", sans-serif;
}

h1 em,
h1 i,
h2 em,
h2 i,
h3 em,
h3 i {
   color: #ab231c;
   display: inline-block;
   font-style: normal;
   font-size: 68%;
}

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

@media (min-width: 768px) {
   h1,
   .h1,
   .legacy_h1 {
      font-size: 2rem;
   }
}

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

@media (min-width: 768px) {
   h2,
   .h2,
   .legacy_h2 {
      font-size: 1.625rem;
   }
}

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

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

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

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

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

/* ------------------------------------------------ icons ----------------------------------------------- */

#icons {
   padding-top: 40px;
   padding-bottom: 40px;
   border-top: 1px solid rgba(0, 0, 0, 0.15);
}

#icons a {
   display: inline-block;
   font-size: 1.125rem;
   color: inherit;
   font-weight: 600;
}

@media (min-width: 1200px) {
   #icons a {
      font-size: 1.25rem;
   }
}

/* ------------------------------------------------ contact ----------------------------------------------- */

#contact {
   background: #201d1d;
   overflow: hidden;
}

#contact > .row > div {
   padding-top: 40px;
   padding-bottom: 40px;
}

@media (min-width: 768px) {
   #contact > .row > div {
      padding-top: 70px;
      padding-bottom: 60px;
   }
}

#contact > .row > div:last-child {
   position: relative;
   background: #201d1d;
}

@media (min-width: 768px) {
   #contact > .row > div:last-child {
      padding-left: 30px;
   }
}

@media (min-width: 1200px) {
   #contact > .row > div:last-child {
      padding-left: 60px;
   }
}

#contact > .row > div:last-child::after {
   content: "";
   display: block;
   position: absolute;
   top: 0;
   bottom: 0;
   right: -50vw;
   width: 50vw;
   background: #201d1d;
}

@media (max-width: 767px) {
   #contact > .row > div:last-child::before {
      content: "";
      display: block;
      position: absolute;
      top: 0;
      bottom: 0;
      left: -50vw;
      width: 50vw;
      background: #03896e;
   }
}

#contact h1,
#contact h2,
#contact h3,
#contact h4,
#contact h5,
#contact h6,
#contact .tab {
   color: #ffffff;
}

#contact .tab a {
   color: #ffffff;
   text-decoration: underline;
}

#contact .tabHeadline2 {
   font-size: 1.25rem;
   margin: 0 0 15px 0;
   width: 100%;
}

#contact .phoneNumber {
   background: #ffffff url("../img/icon-telefon.png") center left 20px no-repeat;
   border-radius: 3px;
   padding: 7px 20px 7px 72px;
   font-weight: 600;
   font-size: 26px;
   width: 100%;
}

@media (min-width: 576px) {
   #contact .phoneNumber {
      font-size: 28px;
   }
}

@media (min-width: 1200px) {
   #contact .phoneNumber {
      font-size: 32px;
   }
}

#contact table td,
#contact table th {
   padding: 0 4px;
}

#contact table td:first-of-type,
#contact table th:first-of-type {
   padding: 0;
}

/* ------------------------------------------------ quote ----------------------------------------------- */

.index #quote {
   padding-top: 40px;
}

@media (max-width: 767px) {
   #quote {
      background-size: auto 90px;
   }
}

@media (min-width: 768px) {
   #quote {
      padding-bottom: 70px;
   }
   .index #quote {
      padding-top: 70px;
   }
}

#quote h2 {
   font-size: 2rem;
}

#quote h1 em,
#quote h1 i,
#quote h2 em,
#quote h2 i,
#quote h3 em,
#quote h3 i {
   color: #ab231c;
}

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

footer {
   background: #201d1d url("../img/TuS-Wesseling-footer.png") no-repeat center right 5%;
   padding-top: 40px;
   padding-bottom: 40px;
   color: #ffffff;
   font-size: 1rem;
}

footer a {
   color: #ffffff;
}

footer iframe,
footer .iframe-wrapper-manual-enabling {
   width: 100% !important;
   min-width: 100% !important;
}

footer a:hover,
footer a:focus {
   color: #ffffff;
}

.footerTab a,
.footerTab a {
   text-decoration: underline;
   border-radius: 3px;
   padding: 2px;
   font-size: 15px;
}

.footerTab a:hover,
.footerTab a:focus {
   background-color: rgba(0, 0, 0, 0.2);
}

.footerTab h1,
.footerTab h2,
.footerTab h3,
.footerTab h4,
.footerTab h5,
.footerTab h6 {
   font-size: 1.375rem;
   margin: 0;
   color: #ffffff;
}

@media (max-width: 767px) {
   #innerfooter {
      margin-bottom: 30px;
   }
}

#innerfooter ul {
   padding: 0;
   border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

#innerfooter li {
   border-top: 2px solid rgba(0, 0, 0, 0.1);
}

#innerfooter a {
   text-decoration: none;
   font-weight: 500;
   position: relative;
   display: inline-block;
   padding: 6px 10px 6px 25px;
}

#innerfooter a::before {
   content: "";
   display: block;
   position: absolute;
   left: 10px;
   top: 16px;
   width: 6px;
   height: 6px;
   border-radius: 50%;
   background: rgba(0, 0, 0, 0.2);
   -webkit-transition: background 300ms linear;
   -moz-transition: background 300ms linear;
   -ms-transition: background 300ms linear;
   -o-transition: background 300ms linear;
   transition: background 300ms linear;
}

#innerfooter a:hover::before,
#innerfooter a:focus::before {
   background: #ffffff;
}

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

#vernetzt {
   text-align: right;
   font-size: 0.8125rem;
   color: #ffffff;
   line-height: 1.3;
   margin: 30px auto 0 auto;
   font-weight: 400;
   text-decoration: none;
}

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

#vernetzt span {
   color: #ffffff;
}

#vernetzt span span {
   display: block;
}

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

/* ----------------------------------------------- contrast ----------------------------------------------- */

.contrast_light_font form [id^="search_submit"] {
   background: url("../img/lupe-icon.png") center no-repeat;
}

.contrast_light_font form [id^="search_input"],
.contrast_light_font #news .tab,
.contrast_light_font #eventsBG .tab,
.contrast_light_font #contact .phoneNumber,
.contrast_dark_font #contrast_style button {
   background: #000000 !important;
}

.contrast_light_font #news .tab_link_title a::before,
.contrast_dark_font #news .tab_link_title a::before,
.contrast_light_font #contact > .row > div:last-child::after,
.contrast_light_font #contact > .row > div:last-child::before,
.contrast_dark_font #contact > .row > div:last-child::after,
.contrast_dark_font #contact > .row > div:last-child::before {
   display: none !important;
}

.contrast_dark_font #bannerOverlay,
.contrast_dark_font #news .tab {
   background: #ffffff !important;
}
