@import url("https://fonts.verwaltungsportal.de/import/?family=Source+Sans+Pro:400,500,600,700,i400,i500,i600,i700");

body {
  font-family: "Source Sans Pro", sans-serif;
  color: #232323;
  background: #ffffff;
  font-size: 1rem; /* 1rem = 16px */
  line-height: 1.5;
}

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

a {
  color: #b10d06;
}

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

b,
strong {
  font-weight: 700;
}

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

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

#topbar {
  padding: 20px 0;
}

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

#search {
  display: inline-block;
  position: relative;
  margin-top: 20px;
}
#search_input {
  color: #6e6e6e;
  font-size: 16px;
  font-style: normal;
  background: #f4f4f4;
  padding: 0;
  border: 0;
  line-height: 39px;
  padding-left: 25px;
  padding-right: 24px;
  height: 35px;
  width: 100%;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}
#search_submit {
  width: 45px;
  background: #b10d06 url("../img/lupe-icon.png") center no-repeat;
  padding: 0;
  cursor: pointer;
  line-height: 45px;
  border: none;
  position: absolute;
  top: -5px;
  bottom: 0;
  right: -11px;
  height: 100%;
  font-size: 0;
  -webkit-transition: background-color 300ms linear;
  -moz-transition: background-color 300ms linear;
  -ms-transition: background-color 300ms linear;
  -o-transition: background-color 300ms linear;
  transition: background-color 300ms linear;
  height: 45px;
  border-radius: 50%;
  border: 4px solid #fff;
}
#search_submit:hover,
#newsletter_submit:hover {
  background-color: #232323;
}
#search_input::-ms-input-placeholder {
  color: #6e6e6e !important;
}
#search_input::-webkit-input-placeholder {
  color: #6e6e6e !important;
}
#search_input::-moz-placeholder {
  opacity: 1;
}
#search_input:-moz-placeholder {
  opacity: 1;
}

#search_input:focus::placeholder {
  opacity: 0 !important;
}

/* ------------------------------------------------- phone ------------------------------------------------ */

.phone p {
  display: inline-block;
  font-size: 1.125rem;
  color: #757575;
  font-weight: 600;
}

.phone strong {
  color: #b10d06;
  font-weight: 700;
  font-size: 1.5rem;
}

.phone p + p::before {
  content: "|";
  margin: 0 10px;
}
/* --------------------------------------- navigation --------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
  #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: #b10d06;
    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: #b10d06;
    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: #b10d06;
  }
  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: 10px;
    left: 0;
    right: 0;
    top: -10px;
  }

  /* 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: 600;
  text-align: center;
  padding: 10px 35px 15px 35px;
  position: relative;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
}

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

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li + li {
    margin-left: 20px;
  }
  .navbar-default .navbar-nav > li > a {
    padding: 18px 0;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: 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;
  }
}

.navbar-default .navbar-nav > li > a::before {
  content: "";
  width: 20px;
  height: 9px;
  display: block;
  position: absolute;
  left: 50%;
  margin-left: -9px;
  bottom: 0;
  border-top-left-radius: 90px;
  border-top-right-radius: 90px;
  background-color: #fff;
  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;
}

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

.navbar-nav > li > a:hover::before,
.navbar-nav > li > a:focus::before,
.navbar-nav > li.open > a::before,
.navbar-nav > li.open > a:hover::before,
.navbar-nav > li.open > a:focus::before,
.navbar-nav > li[class$="_over"] > a::before,
.navbar-nav > li[class$="_over"] > a:hover::before,
.navbar-nav > li[class$="_over"] > a:focus::before {
  opacity: 1;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
  background-color: #f4f4f4;
  -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

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

@media (min-width: 992px) {
  nav.horizontally .dropdown-menu {
    min-width: 200px;
  }

  .navbar-default .navbar-nav > li > .dropdown-menu {
    left: 50%;
    transform: translate(-50%);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }

  .navbar-default .navbar-nav > li > .dropdown-menu,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    margin-top: -18px;
    margin-left: 10px;
    border-radius: 5px;
  }
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
  color: #2e3c48;
  font-weight: 400;
  text-align: center;
  padding: 9px 25px;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
}

/* ------------------------------------------ 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 {
  background: #b10d06;
  color: #fff;
}

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

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

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

#headerpic {
  margin: 0 auto;
  position: relative;
  width: 100%;
  border-bottom: 8px solid #b10d06;
}

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

.slider-mask {
  display: none;
}

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

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

#content {
  background: url(../img/dekor-main.png) bottom left 30px;
  background-repeat: no-repeat;
}

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

#tabs {
  padding: 60px 0;
  background: url(../img/background-tabs.png) no-repeat right 5vw bottom;
}

#tabs .tab {
  min-height: 100%;
}

#tabs,
#operations {
  color: #555555;
  font-size: 1.125rem;
}

#tabs .tab_link_title a,
#operations .tab_link_title a {
  font-weight: 600;
  color: #555555;
  font-size: 1.125rem;
}

#tabs .tab,
#operations .tab {
  background-color: #f7f7f7;
  border-radius: 15px;
  overflow: hidden;
}

#tabs .tabContent,
#operations .tabContent {
  padding: 20px;
}

#tabs .tabHeadline,
#operations .tabHeadline {
  color: #fff;
  background-color: #b10d06;
  font-weight: 600;
  display: block;
  width: 100%;
  padding: 15px 0;
  text-align: center;
  font-size: 1.5rem;
  margin: 0px;
}

#tabs .tab_link_mehr,
#operations .tab_link_mehr {
  font-size: 0;
}

#tabs .tab_link_mehr a,
#operations .tab_link_mehr a {
  color: #b10d06;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}

#tabs .tab_link_mehr a::after,
#operations .tab_link_mehr a::after {
  content: " erfahren \203A";
  margin-left: 2px;
}

@media (max-width: 767px) {
  #tabs > .row > div + div,
  #operations .tab {
    margin-top: 30px;
  }
}

/* ------------------------------------------ parallax ----------------------------------------- */

#parallax {
  min-height: 18vw;
  background-attachment: fixed;
  background-size: cover;
}
/* ------------------------------------------ firstBreaker ----------------------------------------- */

#firstBreaker {
  padding: 60px 0;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

#firstBreaker a {
  display: inline-block;
  padding: 10px 25px;
  background-color: #b10d06;
  color: #fff;
  font-size: 1.125rem;
  transition: all, 300ms;
  border-radius: 5px;
  text-decoration: none;
}

#firstBreaker a:hover,
#firstBreaker a:focus {
  transform: scale(1.1);
}

#firstBreaker .tabHeadline {
  color: #fff;
  font-size: clamp(1.25rem, 5vw, 2.5rem);
}
/* ------------------------------------------ h1 - h6, newslink ----------------------------------------- */

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
  color: #b10d06;
  font-weight: 700;
  line-height: 1.2;
  font-family: "Source Sans Pro", sans-serif;
}

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

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

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

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

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

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

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

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

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

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

#footerTop .ws {
  line-height: 2.2;
}
#footerTop {
  padding: 60px 0;
  color: #e5e5e5;
  background-color: #1d1d1b;
  background-image: url(../img/bg-footertop.png);
  background-position: right 10vw center;
  background-repeat: no-repeat;
  font-size: 1rem;
}

#footerTop .tabHeadline {
  color: #e5e5e5;
  font-size: 1.875rem;
  font-weight: 600;
}

#footerTop a {
  color: #e5e5e5;
}

#footerTop a[href*="mailto"] {
  text-decoration: underline;
}

#footerBottom .col-xs-12,
#footerBottom .row {
  padding: 0px;
  margin: 0px;
}

.firebold {
  font-size: 1.5rem;
}

.firebold strong,
.firebold b {
  font-weight: 600;
  font-size: 1.6875rem;
  color: #f83c35;
}

#footerMiddle {
  background-color: #b10d06;
  color: #fff;
  padding: 10px 0;
}

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

@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: #e5e5e5;
  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: #e5e5e5;
}

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

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

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

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

#vernetzt span {
  color: #ffffff;
}

#vernetzt span span {
  display: block;
}

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