@import url("https://fonts.verwaltungsportal.de/import/?family=Oswald:300,i300,400,i400,i500,500,i600,600,i700,700,i800,800%7CRed+Hat+Text:300,400,500,600,700,800");
body {
  font-family: "Red Hat Text", sans-serif;
  color: #444444;
  background: #ffffff;
  font-size: 1rem; /* 1rem = 16px */
  line-height: 1.5;
}

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

a {
  color: #cf403b;
}

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

b,
strong {
  font-weight: 600;
}

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

#logo {
  display: inline-block;
  position: absolute;
  top: 15px;
  left: 0;
  z-index: 1200;
}

@media (max-width: 991px) {
  #logo {
    position: relative;
  }
}

.horizontally > .row {
  position: relative;
}

.horizontally > .row > .col-xs-12:nth-child(1) {
  position: static;
}

.horizontally {
  display: flex;
  align-items: center;
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  padding-top: 23px;
  padding-bottom: 23px;
}

#logo img {
  display: block;
}

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

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

nav {
  background: #fff;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* burgerbutton */

nav#menu .navbar > #burgerButton {
  font-size: 13px;
  color: #084669;
  font-weight: 700;
  line-height: 1;
  position: relative;
  text-align: center;
  z-index: 1002;
  display: inline-block;
  width: 48px;
  height: 48px;
  cursor: pointer;
  padding: 8px 0 0 0;
  border-radius: 0px;
  float: none;
  border: none !important;
  background: rgba(255, 255, 255, 1);
}

@media (min-width: 992px) {
  nav#menu .navbar > #burgerButton::before {
    display: block;
    position: absolute;
    content: "Menü";
    left: -60px;
    font-size: 25px;
    top: 15px;
    font-family: "Oswald";
  }
}

@media (max-width: 991px) {
  nav#menu .navbar > #burgerButton {
    position: fixed;
    top: 22px;
    right: 15px;
    margin-top: 0;
    border-radius: 0;
    border-radius: 10px;
    background: #fff;
  }
}

#burgerButtonInner {
  margin-bottom: 26px;
  display: inline-block;
}

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

.navbar:focus #burgerButtonInner {
  opacity: 0;
}

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

.navbar:focus #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 #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 #burgerButtonInner2,
.navbar:focus #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;
}

#burgerButtonInner {
  top: 16px;
}

#burgerButtonInner2 {
  top: 26px;
}

#burgerButton:after {
  top: 36px;
}

#burgerButtonInner,
#burgerButtonInner2,
#burgerButton:after {
  content: "";
  display: block;
  position: absolute;
  background: #084669;
  border-radius: 2px;
  width: 38px;
  height: 4px;
  left: 5px;
  font-size: 0;
  color: #fff;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
  .navbar-collapse {
    padding: 30px 0;
    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 {
    height: 50px;
    width: 60px;
    border-radius: 2px;
    padding: 6px 8px;
    background-color: #ffffff;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 101;
    -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);
  }
  .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;
  }
  #burgerButton[aria-expanded="true"] #burgerButtonInner2,
  #burgerButton[aria-expanded="true"]:after {
    background: #ffffff;
  }
}

@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) {
  #menu > .row {
    position: relative;
  }
  #menu > .row > .col-xs-12:nth-child(2),
  #menu > .row > .col-xs-12:nth-child(2) > .row,
  #menu > .row > .col-xs-12:nth-child(2) > .row > .col-xs-12:nth-child(2),
  #menu > .row > .col-xs-12:nth-child(2) > .row > .col-xs-12:nth-child(2) > .navbar {
    position: static;
  }

  nav {
    padding-top: 0;
    padding-bottom: 0;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1005;
    -webkit-box-shadow: 0 0 8px 0 rgba(84, 73, 73, 0.1);
    box-shadow: 0 0 8px 0 rgba(84, 73, 73, 0.1);
  }
  nav > .row {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  nav > .row,
  nav > .row > div {
    position: static;
  }
  .navbar-default {
    width: auto;
    margin-left: 35px;
  }
  .navbar-default .navbar-nav {
    width: 100%;
    margin: 0;
    display: block;
  }
  #myNavbar.navbar-collapse > ul {
    padding: 25px 15px;
    overflow-y: auto;
    position: relative;
    -webkit-column-count: 5;
    -moz-column-count: 5;
    column-count: 5;
    -webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 0px;
    max-width: 992px;
    margin-left: auto;
    margin-right: auto;
  }
  .navbar-default .navbar-nav > li {
    float: none;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    /* display: table !important; */
    width: 100%;
    border-right: 1px solid #d8d8d8;
    padding: 0 20px 0 20px;
  }
  .navbar-default .navbar-nav > li:nth-last-child(1),
  .navbar-default .navbar-nav > li:nth-last-child(2),
  .navbar-default .navbar-nav > li:nth-last-child(3),
  .navbar-default .navbar-nav > li:nth-last-child(4),
  .navbar-default .navbar-nav > li:nth-last-child(5) {
    border-right: 0;
  }
  .navbar-nav::after,
  .navbar-nav::before {
    display: none;
  }
  #myNavbar.navbar-collapse {
    -webkit-box-shadow: none;
    box-shadow: none;
    pointer-events: none;
    position: absolute;
    z-index: 1002;
    top: 50%;
    right: 0;
    opacity: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 10px solid #0b4568;
    height: auto !important;
    max-height: 80vh;
    -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);
    -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: 100%;
  }
  #myNavbar:focus {
    pointer-events: auto;
    opacity: 1;
    top: 100%;
  }
}

@media (min-width: 1200px) {
  .navbar-default {
     margin-left: 52px;
  }
  #myNavbar.navbar-collapse > ul {
     max-width: 1200px;
  }
}


@media (min-width: 1600px) {
  #menu > .row:first-child::before {
    content: "";
    position: absolute;
    width: 261px;
    height: 127px;
    background: url(../img/kreis1.png) no-repeat;
    left: -60px;
    bottom: 0;
    pointer-events: none;
  }

  #menu > .row:first-child::after {
    content: "";
    position: absolute;
    width: 266px;
    height: 126px;
    background: url(../img/kreis2.png) no-repeat;
    right: -40px;
    bottom: 0;
    pointer-events: none;
  }
}

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

.navbar-default .navbar-nav > li > a {
  color: #444444;
  font-weight: bold;
  text-align: left;
  padding: 10px 35px 15px 15px;
  position: relative;
  font-size: 0.938rem;
  line-height: 1.2;
  text-decoration: none;

}

@media (max-width: 991px) {
  .navbar-default .navbar-nav > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > a {
    padding: 10px 0 2px;
  }
}

/* -------------------------------------------- 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: #cf403b;
}

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

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

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > .dropdown-menu,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    display: block;
  }
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
  color: #444;
  font-weight: 400;
  text-align: left;
  padding: 8px 35px 8px 15px;
  font-size: 0.938rem;
  line-height: 1.2;
  text-decoration: none;
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    padding: 4px 0;
  }
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    padding: 5px 0 5px 10px;
  }
}

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

.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: #cf403b;
}

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

#slider {
  max-height: 300px;
  overflow: hidden;
  position: relative;
}

@media (min-width: 992px) {
  #slider {
    max-height: 400px;
  }
  body.index #slider {
    max-height: 675px;
  }
  #headerpic a.nivo-prevNav {
    left: 65px;
  }
  #headerpic a.nivo-nextNav {
    right: 65px;
  }
}

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

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

.slider-mask {
  display: block;
  background: url("../img/mask.png") no-repeat center bottom;
  background-size: contain;
}

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

@media (min-width: 992px) {
  #style button {
    border: none;
    color: #fff;
    display: inline-block;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-weight: 400;
    text-align: center;
    background-color: #084669;
    position: relative;
    line-height: 1;
    -webkit-transition: background 0.5s 0s ease;
    -moz-transition: background 0.5s 0s ease;
    -o-transition: background 0.5s 0s ease;
    transition: background 0.5s 0s ease;
  }
  #style button + button {
    margin-left: 8px;
  }
  #style button:hover {
    background: #cf403b;
  }
}

/*------------ link ------------*/

#link {
  border-bottom: 1px solid #dadada;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

#link a {
  font-size: 0.8125rem;
  color: #444444;
  position: relative;
}

#link a + a::before {
  height: 100%;
  width: 1px;
  background-color: #767676;
  left: -20px;
  top: 0;
  content: "";
  display: block;
  position: absolute;
}

#link a:hover {
  color: #cf403b;
}

#link .tiny_p {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

main {
  text-align: left;
  padding-top: 30px;
}

#content {
  padding-bottom: 30px;
}

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

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

#events .tabHeadline {
  color: #fff;
  background-color: #cf403b;
  margin-bottom: 0;
  padding: 20px;
}

#events {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
}

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

#clr-events-hide {
  padding: 20px;
  padding-bottom: 0;
}

#events .eventclndr-tab {
  margin-bottom: 0;
}

#clr-events-hide > p:nth-child(1) {
  display: none;
}

#events a {
  font-weight: 500;
  color: #444444;
}

#events .tab_link_mehr {
  font-size: 0;
}

#events .tab_link_mehr a {
  position: relative;
}

#events a:hover {
  text-decoration: none;
}

#events .tab_link_mehr a::before {
  content: "mehr erfahren ›";
  font-size: 1.125rem;
  color: #cf403b;
}

#events .tab_link_mehr a:hover,
#events .tab_link_mehr a:focus {
  text-decoration: none;
}

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

#tabs {
  background: #002e48;
  color: #fff;
  padding-top: 45px;
  padding-bottom: 45px;
}

@media (min-width: 992px) {
  #tabs {
    background: #002e48 url("../img/dart.png") no-repeat bottom right;
  }
}

#tabs .tabHeadline {
  color: #fff;
}

#tabs a {
  color: #fff;
}

#tabs .border {
  border-left: 1px solid #33586d;
  padding-left: 30px;
}

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

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

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

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

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

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

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

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

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

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

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

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

footer {
  background-color: #084669;
  padding-top: 30px;
  padding-bottom: 30px;
  color: #ffffff;
}

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

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

#innerfooter a {
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  font-weight: 400;
  font-size: 1rem;
}

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

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

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

@media (max-width: 767px) {
  #innerfooter li {
    display: block;
    text-align: center;
    padding: 5px;
    margin: 0;
  }
  #innerfooter li + li::before {
    display: none;
  }
  #innerfooter li + li {
    margin: 0;
  }
}

/*------------- scrollBox--------------*/

#scrollBox a {
  color: #fff;
  background-color: #cf403b;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  padding-right: 35px;
  position: relative;
}

#scrollBox a::before {
  display: block;
  content: "";
  position: absolute;
  background: url("../img/arrow.png") no-repeat;
  width: 12px;
  height: 7px;
  right: 15px;
  top: calc(50% - 3.5px);
}

#scrollBox a:hover,
#scrollBox a:focus {
  text-decoration: none;
}

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

#vernetzt {
  text-align: right;
  font-size: 0.875rem;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 auto;
  font-weight: 400;
}

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

#vernetzt b {
  color: #fff;
  font-weight: 400;
}

#vernetzt span {
  color: #ffffff;
}

#vernetzt span span {
  display: block;
}

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

#vernetzt:hover,
#vernetzt:active,
#vernetzt:focus {
  text-decoration: none;
}

#slider + .nivo-controlNav {
  bottom: 35px !important;
}
