@import url("https://fonts.verwaltungsportal.de/import/?family=Ubuntu:400,700,400i,700i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Roboto+Slab:400,700,400i,700i");

body {
  font-family: "Ubuntu", 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: #006ba8;
}

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

b,
strong {
  font-weight: 600;
}

@media (min-width: 1200px) {
  .row,
  .compact,
  ._op-container .container {
    max-width: 1920px;
    width: 100%;
  }
}

a:focus {
  outline: 3px solid #000000 !important;
}

button:focus {
  outline: 3px solid #000000 !important;
}

form:focus {
  outline: 3px solid #000000 !important;
}

input:focus {
  outline: 3px solid #000000 !important;
}

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

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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

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

/* burgermenu for tablet */

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

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

  #burgerButton:before,
  #burgerButton:after,
  #burgerButtonInner {
    background-color: #006ba8;
    border-radius: 2px;
    position: absolute;
    width: 40px;
    height: 3px;
    left: 2px;
    -webkit-transition: transform 200ms linear, opacity 200ms linear;
    -moz-transition: transform 200ms linear, opacity 200ms linear;
    -ms-transition: transform 200ms linear, opacity 200ms linear;
    -o-transition: transform 200ms linear, opacity 200ms linear;
    transition: transform 200ms linear, opacity 200ms linear;
  }

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

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

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

  #burgerButtonInner {
    top: 10px;
  }

  #burgerButton:before {
    top: 18px;
  }

  #burgerButton:after {
    top: 26px;
  }

  #burgerButton:before,
  #burgerButton:after {
    content: "";
    display: block;
  }

  .navbar-nav {
    margin: 20px 0;
  }

  .navbar-collapse {
    top: 0;
    background: #ffffff;
    position: fixed;
    left: -100%;
    bottom: 0;
    z-index: 100;
    height: auto !important;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    -webkit-transition: left 300ms linear, opacity 300ms linear;
    -moz-transition: left 300ms linear, opacity 300ms linear;
    -ms-transition: left 300ms linear, opacity 300ms linear;
    -o-transition: left 300ms linear, opacity 300ms linear;
    transition: left 300ms linear, opacity 300ms linear;
  }

  .navbar-collapse.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-collapse.in:after {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    display: block;
    width: 90px;
    background-color: rgba(0, 0, 0, 0.5);
  }
}

@media (min-width: 575px) and (max-width: 991px) {
  .navbar-collapse {
    width: 60%;
  }

  .navbar-collapse.collapse.in:after {
    width: 40%;
  }
}

/* menu desktop */

@media (min-width: 992px) {
  .horizontally {
    background-color: #006ba8;
    box-shadow: 0px 0px 4px 3px rgba(0, 0, 0, 0.07);
    -webkit-box-shadow: 0px 0px 4px 3px rgba(0, 0, 0, 0.07);
    -moz-box-shadow: 0px 0px 4px 3px rgba(0, 0, 0, 0.07);
    padding-top: 20px;
    padding-bottom: 15px;
  }

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

  nav.horizontally .navbar-nav > li {
    flex-grow: 1;
  }

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

  nav.horizontally .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
  }

  nav.horizontally .navbar-nav > li,
  nav.horizontally .navbar-nav > li > .dropdown-menu > li {
    position: relative;
  }

  /* Fade in Hover Start */
  .navbar-default .navbar-nav li[class*="toplevel"] > ul,
  .navbar-default .navbar-nav li[class*="secondlevel"] > ul {
    display: block !important;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
    -ms-transition: opacity 300ms linear;
    -o-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
  }

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

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

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

  /* Pseudo */

  .navbar-default .navbar-nav > li > .dropdown-menu::before {
    content: "";
    position: absolute;
    display: block;
    height: 25px;
    left: 0;
    right: 0;
    top: -25px;
  }

  /* 3rd */

  .navbar-default
    .navbar-nav
    > li
    > .dropdown-menu
    > li
    > .dropdown-menu::before {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    top: 0;
    bottom: 0;
    left: -10px;
  }

  /* Fade in Hover End */
}

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

.navbar-default .navbar-nav > li > a {
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 10px 35px 15px 35px;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Roboto Slab", serif;
  hyphens: auto;
}

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

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

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

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

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

.navbar-nav > li:focus-within > a,
.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 {
  background-color: #005180;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
  background-color: #ffffff;
}

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

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > .dropdown-menu,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    margin-top: -10px;
    margin-left: 10px;
  }
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
.navbar-default
  .navbar-nav
  > li
  > .dropdown-menu
  > li
  > .dropdown-menu
  > li
  > a {
  color: #444444;
  font-weight: 400;
  text-align: left;
  padding: 9px 25px;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  hyphens: auto;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li + li,
.navbar-default
  .navbar-nav
  > li
  > .dropdown-menu
  > li
  > .dropdown-menu
  > li
  + li {
  border-top: 1px solid #d8d8d8;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li:nth-last-child(3) + li,
.navbar-default
  .navbar-nav
  > li
  > .dropdown-menu
  > li
  > .dropdown-menu
  > li:nth-last-child(3)
  + li {
  border-bottom: 1px solid #d8d8d8;
}

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

.navbar-nav > li > .dropdown-menu > li:hover > a,
.navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:hover > a,
.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 {
  background: transparent;
  color: #006ba8;
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
  background: transparent;
  color: #006ba8;
}

/* ----------------------------------------------- search ----------------------------------------------- */
#search {
  min-height: 30px;
  background: #006ba8;
  display: inline-block;
  position: relative;
  border: 1px solid #fff;
}

#search_input{
	top: -2px;
	position: relative;
}

#search_input,
#footerBox #search_input2 {
  color: #fff;
  font-size: 0.875rem;
  font-style: normal;
  background: transparent;
  padding: 0;
  border: 0;
  padding-left: 10px;
  padding-right: 43px;
  min-height: 30px;
  width: 100%;
}

.contrast_light_font #search_input {
  color: #000000 !important;
}

#search_submit {
  width: 30px;
  background: url("../img/lupe-icon.png") center no-repeat;
  padding: 0;
  cursor: pointer;
  line-height: 30px;
  border: none;
  position: absolute;
  top: -1px;
  right: -1px;
  height: calc(100% + 2px);
  font-size: 0;
  border-left: 1px solid #fff;
  -webkit-transition: background-color 300ms linear;
  -moz-transition: background-color 300ms linear;
  -ms-transition: background-color 300ms linear;
  -o-transition: background-color 300ms linear;
  transition: background-color 300ms linear;
}

#search_submit:hover {
  background-color: #e5f3fb;
}

#search_input::-ms-input-placeholder {
  color: #444 !important;
}

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

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

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

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

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

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

@media (min-width: 992px) {
  #headerpic a.nivo-prevNav {
    left: 65px;
  }

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

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

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

.slider-mask {
  display: none;
}

/* ------------------------------------------- bannerOverlay ------------------------------------------ */

@media (min-width: 1200px) {
  #bannerOverlay {
    position: absolute;
    pointer-events: none;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 12;
  }

  #logoBox {
    position: relative;
  }
  #logo {
    pointer-events: all;
  }
}

#logoBox {
  padding: 40px 0 30px 0;
}

@media (max-width: 1199px) {
  #bannerOverlay {
    background-color: #006ba8;
  }
}

.logoTab img{
    display: block;
}

/* ------------------------------------------------ QuickTabs ----------------------------------------------- */

#QuickTabs {
  padding-top: 45px;
}

#QuickTabs .tab {
  padding-bottom: 15px;
  border-bottom: 3px solid #e5f3fb;
}

#QuickTabs h1,
#QuickTabs h2,
#QuickTabs h3,
#QuickTabs h4,
#QuickTabs h5,
#QuickTabs h6,
#QuickTabs a {
  font-size: 1.5625rem;
  color: #006ba8;
  position: relative;
  display: block;
}

#QuickTabs h1,
#QuickTabs h2,
#QuickTabs h3,
#QuickTabs h4,
#QuickTabs h5,
#QuickTabs h6 {
  margin-bottom: 20px;
  padding-right: 30px;
}


#QuickTabs a {
  text-decoration: none;
  display: block;
}

@media (min-width: 1200px) and (max-width:1730px){
    #QuickTabs h1,
#QuickTabs h2,
#QuickTabs h3,
#QuickTabs h4,
#QuickTabs h5,
#QuickTabs h6,
#QuickTabs a {
        font-size: clamp(1.125rem,1vw,1.75rem);
        hyphens: none;
    }
}

@media (max-width: 1799px) {
  #QuickTabs h1,
  #QuickTabs h2,
  #QuickTabs h3,
  #QuickTabs h4,
  #QuickTabs h5,
  #QuickTabs h6 {
      hyphens: auto;
  }
}

html[style*="font-size: "]#QuickTabs h1

#QuickTabs h1 > a::before,
#QuickTabs h2 > a::before,
#QuickTabs h3 > a::before,
#QuickTabs h4 > a::before,
#QuickTabs h5 > a::before,
#QuickTabs h6 > a::before {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  border-right: 4px solid #006ba8;
  border-top: 4px solid #006ba8;
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  margin: auto;
  -webkit-transition: all 150ms linear;
  -moz-transition: all 150ms linear;
  -ms-transition: all 150ms linear;
  -o-transition: all 150ms linear;
  transition: all 150ms linear;
}

#QuickTabs a:hover::before,
#QuickTabs a:focus::before {
  border-color: #599506;
}

@media (max-width: 767px) {
  #QuickTabs > .row > div {
    margin-top: 30px;
  }
}

@media (max-width: 575px) {
  #QuickTabs img{
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-height: 192px;
    object-fit: cover;
    object-position: center;
  }
}

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

main {
  text-align: left;
}

#content {
  padding-bottom: 30px;
  padding-top: 30px;
}

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

/* ------------------------------------------- scrolltop ------------------------------------------ */

#scrollBottom {
  background-color: #757575;
  position: fixed;
  bottom: 40%;
  transform: translateY(-20%);
  left: 0px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 30px 30px 30px 80px;
  z-index: 12;
  border-left: none;
}

#scrollBottom::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 10px;
  width: 12px;
  height: 12px;
  margin-top: 10px;
  display: inline-block;
  border-right: 4px solid #fff;
  border-top: 4px solid #ffffff;
  -moz-transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
  -webkit-transition: border 300ms linear;
  -moz-transition: border 300ms linear;
  -ms-transition: border 300ms linear;
  -o-transition: border 300ms linear;
  transition: border 300ms linear;
}

#scrollBottom:hover {
  background-color: #027aa2;
}

/* ------------------------------------------- scrolltop ------------------------------------------ */
#scrollTopBG a {
  color: #fff !important;
}
#scrollTop {
  background-color: #006ba8;
  position: fixed;
  bottom: 26%;
  left: 0px;
  transform: translateY(-13%);
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 30px 30px 30px 80px;
  display: block !important;
  opacity: 1 !important;
  z-index: 12;
  border-left: none;
}

#footerBox #scrollTop {
  position: relative;
  font-size: 0;
  padding: 30px;
  border-radius: 0;
  transform: none;
  max-width: 30px;
  right: 0;
}

#scrollTop::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 15px;
  width: 12px;
  height: 12px;
  margin-top: 10px;
  display: inline-block;
  border-right: 4px solid #ffffff;
  border-top: 4px solid #ffffff;
  -moz-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: border 300ms linear;
  -moz-transition: border 300ms linear;
  -ms-transition: border 300ms linear;
  -o-transition: border 300ms linear;
  transition: border 300ms linear;
}

#scrollTop:hover {
  background-color: #027aa2;
}

@media (max-width: 1200px) {
  #scrollTop,
  #scrollBottom {
    display: none !important;
  }
}

.contrast_dark #scrollTop,
.contrast_dark #scrollBottom {
  border: 2px solid #fff !important;
}

.contrast_light #scrollTop,
.contrast_light #scrollBottom {
  background-color: #000000 !important;
}

/* ------------------------------------------------ breaker ----------------------------------------------- */

#breaker {
  background-color: #e5f3fb;
  padding-top: 55px;
  padding-bottom: 45px;
  color: #444444;
}

@media (min-width: 1200px) {
  #breaker > .row > *:nth-child(1) {
    position: relative;
  }

  #breaker > .row > *:nth-child(1)::after {
    content: "";
    position: absolute;
    pointer-events: none;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 2px;
    background-color: #006ba8;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  #breaker > .row > * + * {
    border-left: 2px solid #006ba8;
  }
}

@media (max-width: 767px) {
  #breaker > .row > * + * {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #006ba8;
  }
}

#breaker .tabHeadline {
  font-size: 1.875rem;
  hyphens: auto;
  color: #006ba8;
}

#breaker .tab_link_title a {
  color: #444444;
  font-weight: 700;
}

#breaker .tab_link_mandat a {
  color: #444444;
}

#breaker .tab_link_mehr {
  font-size: 0;
  text-align: left !important;
}

#breaker .tab_link_mehr a {
  font-size: 0;
  position: relative;
  display: inline-block;
  text-decoration: none !important;
  -webkit-transition: all 150ms linear;
  -moz-transition: all 150ms linear;
  -ms-transition: all 150ms linear;
  -o-transition: all 150ms linear;
  transition: all 150ms linear;
}

#breaker .tab_link_mehr a::before {
  color: #ffffff;
  font-size: 0.9375rem;
  background-color: #006ba8;
  display: inline-block;
  padding: 5px 12px;
  -webkit-transition: all 150ms linear;
  -moz-transition: all 150ms linear;
  -ms-transition: all 150ms linear;
  -o-transition: all 150ms linear;
  transition: all 150ms linear;
}

#breaker .events .tab_link_mehr a::before {
  content: "Alle Veranstaltungen";
}

#breaker .news .tab_link_mehr a::before {
  content: "Alle Nachrichten";
}

#breaker .tab_link_mehr a:hover::before,
#breaker .tab_link_mehr a:focus:before {
  background-color: #b0d4e9;
  color: #006ba8;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
  color: #006ba8;
  font-weight: 500;
  line-height: 1.2;
  font-family: "Roboto Slab", serif;
}

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

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

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

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

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

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

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

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

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

/* ----------------------------------------------- firstFooter ----------------------------------------------- */

#firstFooter {
  background-color: #006ba8;
  padding-top: 40px;
  padding-bottom: 40px;
  color: #ffffff;
  font-size: 1rem;
}

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

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

#firstFooter .tabHeadline {
	color: #ffffff;
	font-weight: 500;
	font-size: 1.125rem;
	margin: 0;
	hyphens: auto;
	word-break: break-all;
	display: block;
}

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

@media (min-width: 768px) {
  #firstFooter > .row > div + div {
    border-left: 2px solid #fff;
  }
}


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

#vernetzt {
  text-align: left;
  font-size: 0.875rem;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 auto;
  font-weight: 400;
  font-family: "Ubuntu", sans-serif;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: start;
  align-content: start;
  justify-content: space-between;
}

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

#vernetzt span {
  color: #ffffff;
}

#vernetzt span span {
  display: block;
}

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

/* --------------------------------------------- footerBox -------------------------------------------- */

#footerBox {
  background-color: #ffffff;
  padding-top: 40px;
  padding-bottom: 30px;
}

/* --------------------------------------------- secondFooter -------------------------------------------- */

#search2,
#newsletter,
#style,
#contrast_style {
  margin-bottom: 45px;
}

#search2 label,
#secondFooter span,
#newsletter label {
  font-weight: 400;
  font-family: "Roboto Slab", serif;
  font-size: 1.125rem;
  color: #000;
  display: block;
  hyphens: auto;
}

#searchInputs,
#newsletterInputs,
#style,
#contrast_style {
  margin-top: 15px;
}

#searchInputs,
#newsletterInputs {
  min-height: 30px;
  background: #e5f3fb;
  display: inline-block;
  position: relative;
  max-width: 270px;
  width: 100%;
}

#search_input2,
#newsletter_input {
  color: #444444 !important;
  font-size: 0.875rem;
  font-style: normal;
  background: transparent;
  padding: 0;
  border: 0;
  padding-left: 10px;
  padding-right: 43px;
  min-height: 30px;
  width: 100%;
}

#search_submit2,
#newsletter_submit {
  width: 33px;
  background: #e5f3fb url("../img/icon-mail.png") center no-repeat;
  padding: 0;
  cursor: pointer;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  font-size: 0;
  -webkit-transition: all 150ms linear;
  -moz-transition: all 150ms linear;
  -ms-transition: all 150ms linear;
  -o-transition: all 150ms linear;
  transition: all 150ms linear;
}

#search_submit2{
    background: #e5f3fb url("../img/icon-lupe-f.png") no-repeat center / 20px auto;
}

#search_submit2:hover,
#newsletter_submit:hover {
  background-color: #b0d4e9;
}


#search_input2::-ms-input-placeholder,
#newsletter_input::-ms-input-placeholder {
  color: #444444 !important;
}

#search_input2::-webkit-input-placeholder,
#newsletter_input::-webkit-input-placeholder {
  color: #444444 !important;
}

#search_input2::-moz-placeholder,
#newsletter_input::-moz-placeholder {
  opacity: 1;
}

#search_input2:-moz-placeholder,
#newsletter_input:-moz-placeholder {
  opacity: 1;
}

#contrast_style,
#style {
  display: flex;
}

#style button {
  width: 30px;
  height: 30px;
  font-size: 19px;
  background: #e5f3fb;
  padding: 0;
  border: none;
  color: #006ba8;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  position: relative;
  line-height: 1;
  -webkit-transition: all 150ms linear;
  -moz-transition: all 150ms linear;
  -ms-transition: all 150ms linear;
  -o-transition: all 150ms linear;
  transition: all 150ms linear;
}

.contrast_dark #style button {
  border: 1px solid #fff !important;
}

#contrast_style button:hover,
#style button:hover {
  background-color: #b0d4e9;
}

#contrast_style button {
  color: #006ba8;
  padding: 4px;
  display: inline-block;
  width: 30px;
  height: 30px;
  text-align: center;
  background: #e5f3fb;
  position: relative;
  z-index: 1;
  font-size: 0;
  border: none;
  -webkit-transition: all 150ms linear;
  -moz-transition: all 150ms linear;
  -ms-transition: all 150ms linear;
  -o-transition: all 150ms linear;
  transition: all 150ms linear;
}

#contrast_style * + * {
  margin-left: 10px;
}

#social > p + p {
  margin-top: 10px;
}

.contrast_dark #social img {
  background-color: #fff !important;
}

/* --------------------------------------------- lastFooter -------------------------------------------- */

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
  color: #444444;
}

#innerfooter a {
  color: #444444;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  font-family: "Roboto Slab", serif;
  font-size: 1.125rem;
}

#innerfooter a:hover,
#innerfooter a:focus {
  color: #006ba8;
}

#innerfooter li + li::before {
  content: "|";
  margin: 0 15px;
}

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

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

  #innerfooter li + li::before {
    display: none;
  }
}
