@import url("https://fonts.verwaltungsportal.de/import/?family=Jost:300,400,500,600,700");

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

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

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

a {
  color: #af1f2a;
}

#content a {
  font-style: italic;
}

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

b,
strong {
  font-weight: 600;
}

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

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

@media (max-width: 991px) {
  #logo {
    margin: 15px 0;
  }

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

@media (min-width: 992px) {
  #logo {
    position: absolute;
    top: -50px;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
    z-index: 12;
  }

  .is-sticky #logo {
    top: -40px;
  }
}

/* ----------------------------------------------- oben ----------------------------------------------- */

#oben {
  background-color: #ffffff;
}




#oben .newsticker,
#oben .newsticker a {
  margin: 0;
  color: #21242a;
  font-weight: 300;
  font-size: 1rem;
}

@media (max-width: 991px) {
  #oben {
    border-top: 5px solid #0062a6;
  }

  #oben .newsticker {
    padding: 10px 0;
  }
}


@media (min-width: 992px) {
  #oben {
    background-color: #ffffff;
    padding: 30px 0;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
  }

  .is-sticky #oben {
    box-shadow: 0px 0px 5px 0px rgba(43, 43, 43, 0.1);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(43, 43, 43, 0.1);
    -moz-box-shadow: 0px 0px 5px 0px rgba(43, 43, 43, 0.1);
    padding: 20px 0;
  }
}

@media (max-width: 991px) {
  .is-sticky #oben {
    position: relative !important;
  }
}

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

.contact {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 300;
}

@media (max-width: 991px) {
  #menu .contact {
    padding: 15px;
    background-color: #0062a6;
  }
}

@media (min-width: 992px) {
  .contact {
    background-color: #0062a6;
  }

  .contact div[class*="contact"] {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .contactMail+.contactPhone {
    margin-left: 30px;
  }
}

.contact a {
  color: #ffffff;
}

.contactMail,
.contactPhone {
  padding-left: 20px;
  background-position: center left;
  background-repeat: no-repeat;
}

.contactMail {
  background-image: url("../img/mail-icon.png");
}

.contactPhone {
  background-image: url("../img/phone-icon.png");
}

.contact div[class*="contact"]+form[id^="search"] {
  padding-left: 40px;
  margin-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

@media (min-width: 992px) {
  #style button {
    border: none;
    color: #ffffff;
    display: inline-block;
    width: 38px;
    height: 38px;
    border: none;
    text-align: center;
    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;
  }

  #style button+button {
    margin-left: 8px;
    border-left: 1px solid #ffffff !important;
    padding-left: 8px;
  }

  #style button {
    font-size: 18px;
    font-style: italic;
    background: transparent;
    padding: 0;
    border: none;
    color: #ffffff;
    display: inline-block;
    font-weight: 300;
    text-align: center;
    position: relative;
    line-height: 1;
    -webkit-transition: color 150ms linear;
    -moz-transition: color 150ms linear;
    -ms-transition: color 150ms linear;
    -o-transition: color 150ms linear;
    transition: color 150ms linear;
  }

  #style button:hover {
    text-decoration: underline;
  }
}

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

form[id^="search"] label {
  text-transform: uppercase;
  font-weight: 600;
  margin-right: 10px;
  font-style: italic;
}

@media (min-width: 1200px) {
  form[id^="search"] label {
    margin-right: 20px;
  }
}

form[id^="search"] {
  height: 36px;
  background: transparent;
  display: inline-block;
  position: relative;
}

@media (max-width: 991px) {
  form[id^="search"] {
    width: 100%;
    border-bottom: 1px solid #fff;
    padding-left: 6px;
  }
}

form [id^="search_input"] {
  color: #ffffff;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  background: transparent;
  padding: 0;
  border: 0;
  line-height: 36px;
  padding-left: 5px;
  padding-right: 30px;
  height: 36px;
  width: 100%;
  min-width: 170px;
}

@media (min-width: 1200px) {
  form [id^="search_input"] {
    max-width: 170px;
  }
}

form [id^="search_submit"] {
  width: 30px;
  height: 36px;
  border: none;
  background: url("../img/lupe-icon.png") center no-repeat;
  padding: 0;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
  background-color: rgba(255, 255, 255, 0.1);
}

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

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

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

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

/* burgermenu for tablet */

#burgerButton {
  font-size: 0;
  border: none !important;
  position: relative;
  z-index: 1002;
  display: block;
  width: 58px;
  height: 58px;
  cursor: pointer;
  background: #ffffff;
  color: #ffffff;
}

@media (max-width: 991px) {
  #burgerButton {
    position: fixed;
    right: 15px;
    top: 8px;
    border-radius: 50%;
    -webkit-box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.15);
  }
}

@media (min-width: 992px) {
  #burgerButton {
    margin: 0 0 0 20px;
    height: 38px;
  }

  #burgerButton::before {
    content: "Menü";
    font-size: 25px;
    position: absolute;
    right: 60px;
    top: 6px;
    color: #af1f2a;
    font-weight: 600;
    line-height: 1;
  }
}

#burgerButton[aria-expanded="true"] #burgerButtonInner2 {
  opacity: 0;
}

#burgerButton[aria-expanded="true"] #burgerButtonInner {
  -webkit-transform: rotate(-45deg) translate(-7px, 7px);
  transform: rotate(-45deg) translate(-7px, 7px);
}

#burgerButton[aria-expanded="true"]::after {
  -webkit-transform: rotate(45deg) translate(-4px, -6px);
  transform: rotate(45deg) translate(-4px, -6px);
}

#burgerButtonInner2,
#burgerButton:after,
#burgerButtonInner {
  position: absolute;
  background: #0d4783;
  width: 38px;
  height: 4px;
  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;
}

#burgerButtonInner {
  top: 19px;
}

#burgerButtonInner2 {
  top: 28px;
}

#burgerButton:after {
  top: 37px;
  content: "";
  display: block;
}

@media (min-width: 992px) {
  #burgerButtonInner {
    top: 8px;
  }

  #burgerButtonInner2 {
    top: 17px;
  }

  #burgerButton:after {
    top: 26px;
  }
}

/* burgermenu for tablet */

@media (max-width: 991px) {
  .navbar-collapse {
    top: 0;
    background: #0d4783;
    position: fixed;
    left: -100%;
    bottom: 0;
    z-index: 100;
    height: auto !important;
    -webkit-box-shadow: 0 0 150px 0 rgba(0, 0, 0, 1);
    box-shadow: 0 0 150px 0 rgba(0, 0, 0, 1);
    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-toggle::before {
    content: "";
    opacity: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 0;
    z-index: -1;
    display: block;
    -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) {
  #myNavbar.navbar-collapse {
    background: #ffffff;
    pointer-events: none;
    position: absolute;
    z-index: 1002;
    top: 70px;
    right: 15px;
    opacity: 0;
    width: 580px;
    border-radius: 0;
    height: auto !important;
    overflow: visible !important;
    -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.3);
    -webkit-transition: opacity 300ms linear, top 300ms linear;
    -moz-transition: opacity 300ms linear, top 300ms linear;
    -ms-transition: opacity 300ms linear, top 300ms linear;
    -o-transition: opacity 300ms linear, top 300ms linear;
    transition: opacity 300ms linear, top 300ms linear;
  }

  #burgerButton[aria-expanded="true"]+#myNavbar {
    pointer-events: auto;
    opacity: 1;
    top: 100px;
  }

  #myNavbar:focus-within {
    pointer-events: auto;
    opacity: 1;
    top: 140px;
  }

  #myNavbar.navbar-collapse::before {
    content: "";
    display: block;
    position: absolute;
    right: 15px;
    top: -18px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 25px 18px 25px;
    border-color: transparent transparent #ffffff transparent;
  }

  #myNavbar.navbar-collapse>div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-height: 75vh;
    overflow-y: auto;
    position: relative;
    background: #ffffff;
  }

  .navbar-nav {
    padding: 23px 0 25px 0;
    background: #0d4783;
    min-height: 300px;
  }

  .navbar-default .navbar-nav>li>.dropdown-menu {
    padding: 25px 20px;
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 0 !important;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    background: #ffffff;
  }

  .navbar-nav,
  .navbar-default .navbar-nav>li>.dropdown-menu {
    width: 50%;
  }

  .navbar-default .navbar-nav>li>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 .navbar-nav>li[class$="_over"]>.dropdown-menu,
  .navbar-default .navbar-nav>li:hover>ul {
    pointer-events: auto !important;
    opacity: 1 !important;
  }

  .navbar-default .navbar-nav>li:focus-within>ul {
    pointer-events: auto !important;
    opacity: 1 !important;
  }

  .navbar-default .navbar-nav>li:hover>ul {
    z-index: 3;
  }

  .navbar-default .navbar-nav>li:focus-within>ul {
    z-index: 3;
  }
}

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

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

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

@media (min-width: 992px) {
  .navbar-default .navbar-nav>li>a {
    padding: 7px 30px;
    text-align: right;
  }

  .navbar-default .navbar-nav>li>a::before {
    content: "";
    position: absolute;
    display: block;
    width: 25px;
    top: 0;
    bottom: 0;
    right: -25px;
  }
}

/* -------------------------------------------- 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: #0d4783;
  background-color: #ffffff;
}

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

@media (max-width: 991px) {
  .navbar-default .navbar-nav>li>.dropdown-menu {
    background: #ffffff;
  }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>a,
.navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>.dropdown-menu>li>a {
  color: #444444;
  font-weight: 400;
  text-align: left;
  padding: 8px 35px 8px 25px;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  word-wrap: break-word;
  hyphens: auto;
}

.navbar-default .navbar-nav>li>.dropdown-menu li[class*="_start"],
.navbar-default .navbar-nav>li>.dropdown-menu li[class*="end"] {
  display: none;
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"] {
    border-top: 1px dashed rgba(82, 82, 82, 0.4);
  }

  .navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>a {
    padding: 9px 2px;
  }

  .navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>.dropdown-menu>li>a {
    padding: 5px 10px 5px 34px;
  }

  .navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>.dropdown-menu>li>a::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    background: #ffffff;
    width: 5px;
    height: 5px;
    margin-top: -2px;
    border-radius: 50%;
  }

  .navbar-default .navbar-nav>li>.dropdown-menu li[class*="menue_point_secondlevel"]>.dropdown-menu {
    display: block;
  }
}

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

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

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

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

#slider {
  height: 100%;
  overflow: hidden;
  position: relative;
}

#slider>* {
  height: 100% !important;
}


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

#headerpic {
  margin: 0 auto;
  position: relative;
  width: 100%;
  overflow: hidden;
}

#bannerOverlay>._op-container .container,
#bannerOverlay>.compact,
#bannerOverlay>.row {
  max-width: 100%;
  width: 100%;
}


#bannerOverlay {
  font-size: 1.125rem;
  color: #333333;
}

@media (min-width: 768px) {
  #bannerOverlay {
    overflow: hidden;
  }

  #headerpic a.nivo-prevNav,
  #headerpic a.nivo-nextNav {
    right: 100px;
    left: auto;
    top: 45%;
  }

  #headerpic .theme-default .nivo-controlNav {
    text-align: right;
    padding-right: 100px;
    font-size: 0;
    bottom: 20px;
  }
}

@media (min-width: 992px) {
  #bannerOverlay {
    background-image: url("../img/silhouetten-headertab.png");
    background-position: bottom right 66px;
    background-repeat: no-repeat;
  }

  .index #bannerOverlay {
    background-image: url("../img/basketball.png"), url("../img/sprint.png");
    background-position: bottom left, bottom left 39vw;
    background-repeat: no-repeat;
  }
}


#headerpic {
  background-color: #333333;
}

.index #headerpic {
  background-color: #ebebea;
}

#headerpic .slider-wrapper {
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

body:not(.index) #headerpic .slider-wrapper {
  position: relative;
  min-height: 466px;
}

@media (max-width: 767px) {
  #headerpic .slider-wrapper {
    position: relative;
    min-height: 300px;
  }
}

body.index .slider-mask {
  display: block;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(255, 255, 255, 0) 40%);
  width: 50vw;
}

#bannerOverlay a {
  color: #333333;
}

#bannerOverlay a:hover {
  text-decoration: underline;
}

#bannerOverlay .tabOverlay {
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 25px;
  padding-right: 25px;
}

@media (min-width: 1200px) {
  #bannerOverlay .tabOverlay {
    padding-left: 17vw;
    padding-top: 100px;
    padding-bottom: 60px;
  }
}

#bannerOverlay .h4link a:link,
#bannerOverlay .h4link a:hover,
#bannerOverlay .h4link a:focus,
#bannerOverlay .h4link a:visited,
#bannerOverlay H6,
#bannerOverlay H5,
#bannerOverlay H4,
#bannerOverlay H3,
#bannerOverlay H2,
#bannerOverlay H1 {
  color: #ffffff;
  font-style: italic;
}

#bannerOverlay .tabHeadline {
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1.875rem;
  line-height: 1.2;
  color: #333333;
  font-style: italic;
  text-transform: uppercase;
}



#bannerOverlay>.row>div {
  position: relative;
  z-index: 61;
  padding: 0px;
}

#kalender {
  padding: 60px 15px 20px 15px;
  margin: 0 auto;
}

.tab_link_title a {
  font-weight: 600;
}

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

@media (min-width: 992px) {
  #headerpic .nivo-directionNav a {
    background: #ffffff;
    width: 60px;
    height: 48px;
    -moz-transform: skewX(-25deg);
    -webkit-transform: skewX(-25deg);
    -o-transform: skewX(-25deg);
    -ms-transform: skewX(-25deg);
    transform: skewX(-25deg);
    -webkit-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
    -moz-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
    -ms-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
    -o-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
    transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
  }

  #headerpic:hover .nivo-directionNav a,
  #headerpic:focus .nivo-directionNav a {
    width: 100px;
  }

  #headerpic .nivo-directionNav a:hover,
  #headerpic .nivo-directionNav a:focus {
    background: #0d4783;
  }

  #headerpic .nivo-directionNav a::before,
  #headerpic .nivo-directionNav a::after {
    content: "";
    display: block;
    position: absolute;
  }

  #headerpic .nivo-directionNav a::before {
    height: 2px;
    width: 16px;
    top: 50%;
    margin-top: -1px;
    background: #af1f2a;
    -webkit-transition: background 300ms linear;
    -moz-transition: background 300ms linear;
    -ms-transition: background 300ms linear;
    -o-transition: background 300ms linear;
    transition: background 300ms linear;
  }

  #headerpic .nivo-directionNav a:hover::before,
  #headerpic .nivo-directionNav a:focus::before {
    background: #ffffff;
  }

  #headerpic .nivo-directionNav a::after {
    height: 8px;
    width: 8px;
    top: 50%;
    margin-top: -5px;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: border-color 300ms linear;
    -moz-transition: border-color 300ms linear;
    -ms-transition: border-color 300ms linear;
    -o-transition: border-color 300ms linear;
    transition: border-color 300ms linear;
  }

  #headerpic .nivo-directionNav a:hover::after,
  #headerpic .nivo-directionNav a:focus::after {
    border-color: #ffffff;
  }

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

  #headerpic a.nivo-prevNav::before {
    right: 16px;
  }

  #headerpic a.nivo-prevNav::after {
    right: 22px;
    border-left: 2px solid #af1f2a;
    border-bottom: 2px solid #af1f2a;
  }

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

  #headerpic a.nivo-nextNav::before {
    left: 16px;
  }

  #headerpic a.nivo-nextNav::after {
    left: 22px;
    border-right: 2px solid #af1f2a;
    border-top: 2px solid #af1f2a;
  }
}

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

@media (min-width: 992px) {
  #headerpic .nivo-controlNav {
    font-size: 0;
    max-width: 992px;
    text-align: right;
    left: 50%;
    bottom: 60px;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  #headerpic .nivo-controlNav a {
    position: relative;
    background: #ffffff;
    opacity: 0.4;
    margin: 0;
    height: 5px;
    width: 30px;
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
    -ms-transition: opacity 300ms linear;
    -o-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
  }

  #headerpic .nivo-controlNav a::before {
    content: "";
    display: block;
    position: absolute;
    top: -15px;
    right: 0;
    bottom: -15px;
    left: 0;
  }

  #headerpic .nivo-controlNav a.active,
  #headerpic .nivo-controlNav a:hover,
  #headerpic .nivo-controlNav a:focus {
    opacity: 1;
  }
}

@media (min-width: 1200px) {
  #headerpic .nivo-controlNav {
    max-width: 1375px;
    bottom: 90px;
  }
}

/* --------------------------------------------- button design --------------------------------------------- */

#team a {
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid #ffffff;
}

@media (max-width: 991px) {
  #team a {
    background: #21242a;
  }
}

.news .tab_link_mehr a,
.news .tab_link_entry>div:nth-last-child(2) a {
  background: #21242a;
  border: 2px solid #ffffff;
}

.news .tab_link_mehr a,
#team a,
.news .tab_link_entry>div:nth-last-child(2) a {
  color: #ffffff;
  font-style: italic;
  position: relative;
  z-index: 1;
  overflow: hidden;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  display: inline-block;
  line-height: 1;
  padding: 8px 20px;
  text-decoration: none;
  -webkit-transition: background 300ms linear 300ms, border 300ms linear 300ms;
  -moz-transition: background 300ms linear 300ms, border 300ms linear 300ms;
  -ms-transition: background 300ms linear 300ms, border 300ms linear 300ms;
  -o-transition: background 300ms linear 300ms, border 300ms linear 300ms;
  transition: background 300ms linear 300ms, border 300ms linear 300ms;
}

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

.news .tab_link_entry>div:nth-last-child(2) a::before {
  font-size: 1rem;
}

@media (min-width: 992px) {

  .news .tab_link_mehr a,
  #team a {
    padding: 10px 35px;
  }
}

.news .tab_link_mehr a::after,
.news .tab_link_entry>div:nth-last-child(2) a::after {
  background: #af1f2a;
}

#team a::after {
  background: #af1f2a;
}

#team a::after,
.news .tab_link_entry>div:nth-last-child(2) a::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  pointer-events: none;
  text-decoration: none;
  -webkit-transition: width 300ms linear;
  -moz-transition: width 300ms linear;
  -ms-transition: width 300ms linear;
  -o-transition: width 300ms linear;
  transition: width 300ms linear;
}

.news .tab_link_mehr a:hover,
.news .tab_link_mehr a:focus {
  background: #af1f2a;
  border-color: #ffffff;
}

#team a:hover,
#team a:focus {
  background: #af1f2a;
  border-color: #af1f2a;
}

.news .tab_link_entry>div:nth-last-child(2) a:hover,
.news .tab_link_entry>div:nth-last-child(2) a:focus {
  background: rgba(0, 0, 0, 0.4);
  border-color: #ffffff;
}

#team a:hover::after,
#team a:focus::after,
.news .tab_link_entry:hover>div:nth-last-child(2) a::after,
.news .tab_link_entry:focus>div:nth-last-child(2) a::after {
  width: 100%;
}

#team a+a {
  margin-left: 15px;
}

@media (min-width: 768px) {
  #team a+a {
    margin-left: 30px;
  }
}

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

#news {
  margin-top: 2px;
}

#news>.row {
  max-width: 100%;
  width: 100%;
}

#news>.row,
#news>.row>* {
  margin: 0;
  padding: 0;
}

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

@media (min-width: 576px) and (max-width: 991px) {
  #news .tab_link_entry {
    width: calc(50% - 2px);
    margin-top: 2px;
  }

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

@media (min-width: 992px) {
  #news .tab_link_entry {
    width: calc(25% - 2px);
  }

  #news .tab_link_entry:last-child {
    width: 25%;
  }

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

.news .tab_link_entry {
  overflow: hidden;
  position: relative;
  background: rgba(0, 0, 0, 0.1);
  min-height: 150px;
  padding: 45px 50px 45px 20px;
  border-bottom: none !important;
}

@media (min-width: 992px) {
  .news .tab_link_entry {
    min-height: 250px;
    padding-right: calc(50px + (170 - 50) * (100vw - 992px) / (1920 - 992));
  }
}

.news .tab_link_entry::before {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 1;
  top: 0;
  left: -150px;
  bottom: 0;
  right: 50px;
  background: rgba(34, 35, 38, 0.75);
  -moz-transform: skewX(-25deg);
  -webkit-transform: skewX(-25deg);
  -o-transform: skewX(-25deg);
  -ms-transform: skewX(-25deg);
  transform: skewX(-25deg);
  -webkit-transition: right 300ms linear;
  -moz-transition: right 300ms linear;
  -ms-transition: right 300ms linear;
  -o-transition: right 300ms linear;
  transition: right 300ms linear;
}

@media (min-width: 992px) {
  .news .tab_link_entry::before {
    right: calc(50px + (170 - 50) * (100vw - 992px) / (1920 - 992));
    left: -5vw;
  }
}

.news .tab_link_entry:hover .tab_date,
.news .tab_link_entry:focus .tab_date,
.news .tab_link_entry:hover .tab_link_title,
.news .tab_link_entry:focus .tab_link_title {
  opacity: 0;
}

.news .tab_link_entry:hover::before,
.news .tab_link_entry:focus::before {
  right: 120%;
}

.news .tab_link_entry::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url("../img/news-standard.jpg") center / cover no-repeat, #ffffff;
}

.news .tab_link_title,
.news .tab_date {
  position: relative;
  z-index: 2;
  -webkit-transition: opacity 300ms linear;
  -moz-transition: opacity 300ms linear;
  -ms-transition: opacity 300ms linear;
  -o-transition: opacity 300ms linear;
  transition: opacity 300ms linear;
}

.news .tab_link_title a {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  display: block;
}

.news .tab_date {
  color: #ffffff;
  font-size: 1rem;
  pointer-events: none;
}

.news .tab_preview_picture {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

.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: 35vw;
  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 .vorschau,
.news .tab_spacer {
  display: none;
}

.news .tab_link_mehr {
  padding-top: 2px;
}

.index #news .tab_link_mehr {
  margin-bottom: -9px;
}

.news .tab_link_entry>div:nth-last-child(2) a {
  position: absolute;
  right: 20px;
  bottom: 20px;
  opacity: 0;
  -webkit-transition: background 300ms linear 300ms, border 300ms linear 300ms, opacity linear 300ms;
  -moz-transition: background 300ms linear 300ms, border 300ms linear 300ms, opacity linear 300ms;
  -ms-transition: background 300ms linear 300ms, border 300ms linear 300ms, opacity linear 300ms;
  -o-transition: background 300ms linear 300ms, border 300ms linear 300ms, opacity linear 300ms;
  transition: background 300ms linear 300ms, border 300ms linear 300ms, opacity linear 300ms;
}

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

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

.news .tab_link_entry>div:nth-last-child(2) a::before {
  content: "Artikel lesen";
}

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

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

#content {
  text-align: left;
  padding-bottom: 40px;
}

body:not(.index) #content {
  padding-top: 30px;
}

.index #content {
  padding: 0;
}

@media (min-width: 992px) {
  #content {
    padding-bottom: 70px;
  }

  .index #content {
    padding: 0;
    height: 0;
  }
}

/* ------------------------------------------------ veranstaltungen ----------------------------------------------- */

#bg-left {
  padding-top: 30px;
}

.veranstaltungen {
  padding: 0;
  background-color: #ffffff;
  font-size: 1rem;
  box-shadow: 0px 0px 5px 0px rgba(43, 43, 43, 0.15);
  -webkit-box-shadow: 0px 0px 5px 0px rgba(43, 43, 43, 0.15);
  -moz-box-shadow: 0px 0px 5px 0px rgba(43, 43, 43, 0.15);
}

@media (max-width: 768px) {
  .veranstaltungen {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 991px) {
  .veranstaltungen {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  #bg-left {
    margin-left: auto;
    margin-right: auto;
  }
}

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

.veranstaltungen .tabHeadline {
  font-size: 1.25rem;
  margin: 0;
  text-transform: uppercase;
  color: #0d4783;
  font-weight: 600;
  text-align: center;
  padding: 18px 20px 15px 20px;
  line-height: 1.2;
}

.veranstaltungen .tabContent {
  padding: 20px 25px;
  font-weight: 400;
  color: #444444;
}

.veranstaltungen .tabContent {
  padding-top: 0;
}

.veranstaltungen .tabContent .eventclndr-tab {
  margin-left: -25px;
  margin-right: -25px;
  margin-bottom: 20px;
}

.veranstaltungen .tab_link_title a {
  color: #444444;
  font-weight: 500;
  line-height: 1.4;
}

.veranstaltungen .tab_link_mandat a {
  color: #444444;
  font-weight: 400;
  line-height: 1.4;
}

.veranstaltungen .tab_spacer {
  height: 10px;
}

.veranstaltungen .tab_link_mehr {
  color: transparent;
  margin-top: 10px;
}

.veranstaltungen .tab_link_mehr a {
  color: #af1f2a;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  font-style: italic;
}

.veranstaltungen .tab_link_mehr a:after {
  content: " erfahren";
}

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

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

h1,
.h1,
.legacy_h1,
#team h2,
#tabs .tabsHeadline h2 {
  font-size: calc(30px + (40 - 30) * (100vw - 320px) / (1920 - 320));
  text-transform: uppercase;
  margin-bottom: 20px;
}

@media (min-width: 992px) {

  #content h1,
  .h1,
  #content .legacy_h1,
  #tabs .tabsHeadline h2 {
    margin-bottom: 30px;
  }
}

@media (min-width: 1200px) {

  #content h1,
  .h1,
  #content .legacy_h1,
  #tabs .tabsHeadline h2 {
    margin-bottom: 40px;
  }

  #tabs .tabsHeadline h2 {
    font-size: calc(60px + (80 - 60) * (100vw - 1200px) / (1920 - 1200));
  }
}

h1 i,
h1 em,
.h1 i,
.h1 em,
#team h2 i,
#team h2 em,
#tabs .tabsHeadline h2 i,
#tabs .tabsHeadline h2 em {
  font-size: 66%;
  display: block;
}

h2,
.h2,
.legacy_h2 {
  font-size: calc(28px + (40 - 28) * (100vw - 320px) / (1920 - 320));
}

h3,
.h3,
.legacy_h3 {
  font-size: calc(26px + (38 - 26) * (100vw - 320px) / (1920 - 320));
}

h4,
.h4,
.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
.legacy_h4 {
  font-size: calc(24px + (36 - 24) * (100vw - 320px) / (1920 - 320));
}

h5,
.h5,
.legacy_h5 {
  font-size: calc(22px + (29 - 22) * (100vw - 320px) / (1920 - 320));
}

h6,
.h6,
.legacy_h6 {
  font-size: calc(20px + (26 - 20) * (100vw - 320px) / (1920 - 320));
}

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

/* ------------------------------------------------ team ----------------------------------------------- */

#team {
  padding-bottom: 40px;
  padding-top: 40px;
  background-color: #21242a;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

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

  #team .btgrid>.row {
    display: flex;
    align-items: flex-end;
    align-content: flex-end;
  }
}

@media (min-width: 992px) {
  #team {
    padding-bottom: 90px;
    padding-top: 75px;
  }
}

@media (min-width: 1200px) {
  #team {
    padding-bottom: 120px;
    padding-top: 105px;
  }
}

#team>.row {
  position: relative;
  z-index: 2;
}



#team::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 98, 166, 0.9);
  right: 0;
  width: 100%;
}


@media (min-width: 768px) {
  #team::after {
    -moz-transform: skewX(-25deg);
    -webkit-transform: skewX(-25deg);
    -o-transform: skewX(-25deg);
    -ms-transform: skewX(-25deg);
    transform: skewX(-25deg);
    width: 66vw;
    left: -10vw;
    right: unset;
  }
}




#team h1,
#team h2,
#team h3,
#team h4,
#team h5,
#team h6 {
  color: #ffffff;
  font-size: calc(30px + (80 - 30) * (100vw - 320px) / (1920 - 320));
}

/* ----------------------------------------------- partner ----------------------------------------------- */

#partner {
  padding-bottom: 20px;
  padding-top: 40px;
  font-size: 1rem;
}

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

#partner hr {
  margin: 40px 0 20px 0;
  background: #21242a;
  opacity: 0.2;
}

@media (min-width: 768px) {
  #partner hr {
    margin-top: 60px;
  }
}

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

#footer {
  background-color: #0e3b69;
  padding-top: 40px;
  padding-bottom: 40px;
  color: #ffffff;
  font-size: 1rem;
}

#footer a {
  color: #ffffff;
}


@media (max-width: 767px) {
  #footer .row>.col-xs-12:not(:first-child)::before {
    background: #ffffff;
    content: " ";
    height: 1px;
    width: 100%;
    display: block;
    margin: 25px 0;
    opacity: 0.15;
  }

  #footer .row>.col-xs-12.hidden-xs~.col-xs-12::before,
  #footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
    display: none;
  }
}

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

@media (min-width: 992px) {
  #footer {
    background-image: url("../img/footer-bg-left.png"), url("../img/footer-bg-right.png");
    background-position: left 35px bottom, right 60px bottom;
    background-repeat: no-repeat;
  }
}

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

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

.footerTab h1,
.footerTab h2,
.footerTab h3,
.footerTab h4,
.footerTab h5,
.footerTab h6 {
  color: #ffffff;
  font-size: 1.25rem;
  font-style: normal;
  text-transform: uppercase;
  font-style: italic;
  font-weight: 600;
}

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

#footer .news {
  position: relative;
  z-index: 2;
}

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

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

#vernetzt b {
  font-weight: 500;
}

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


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

#vernetzt span span {
  display: block;
}

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

#counter {
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 45px;
  display: block;
  width: 100%;
  padding: 9px 15px;
  text-align: justify;
  text-align-last: justify;
  text-transform: uppercase;
  font-style: italic;
  font-weight: 600;
  max-width: 300px;
}

@media (max-width: 991px) {
  #counter {
    margin: 40px auto 0 auto;

  }


}

.iframetab iframe,
.iframetab .iframe-wrapper-manual-enabling {
  min-width: 100% !important;
  width: 100% !important;
  display: block;
  max-height: 255px;
}

/* --------------------------------------------- innerfooter -------------------------------------------- */

#innerfooter {
  background-color: #0d4783;
  padding-top: 26px;
  padding-bottom: 26px;
  font-size: 0.875rem;
  text-transform: uppercase;
}

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

#innerfooter a {
  color: #ffffff;
}

#innerfooter li+li::before {
  content: "•";
  margin: 0 15px;
  color: #ffffff;
}

@media (min-width: 1200px) {
  #innerfooter li+li::before {
    margin: 0 30px;
  }
}

/* --------------------------------------------- scroll top -------------------------------------------- */

#scrollTopBtn {
  font-weight: 600;
  display: inline-block;
  font-style: italic;
}

@media (max-width: 767px) {
  #scrollTopBtn {
    margin-top: 20px;
  }
}

#scrollTopBtn::after {
  content: "";
  margin-left: 15px;
  position: relative;
  bottom: -2px;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  -moz-transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
}