@import url("https://fonts.verwaltungsportal.de/import/?family=Roboto:300,400,500,600,700,800%7CLora:300,400,500,600,700,800");
body {
  font-family: "Roboto", sans-serif;
  color: #252525;
  background: #ffffff;
  font-size: 1rem; /* 1rem = 16px */
  line-height: 1.5;
}

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

a {
  color: #b4040c;
}

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

b,
strong {
  font-weight: 600;
}

@media (min-width: 992px) {
  .horizontally {
    padding-top: 65px;
  }
}

.is-sticky .horizontally {
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

@media (min-width: 1440px) {
  .row,
  .compact,
  ._op-container .container {
    max-width: 1440px !important;
  }
}

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

#logo {
  display: inline-block;
}

@media (min-width: 992px) {
  #logo {
    position: absolute;
    top: -95px;
    left: 35px;
    z-index: 8;
  }
}

#logo img {
  display: block;
}

@media (max-width: 991px) {
  #logo img {
    max-width: 100px;
    width: 100%;
  }
  #logo {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

/* --------------------------------------- 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: #2c74a0;
    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) {
  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: #000;
  font-weight: bold;
  text-align: center;
  padding: 10px 35px 15px 35px;
  font-family: "Roboto";
  position: relative;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  position: relative;
}

@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%;
    z-index: 9;
  }
}

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

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > a::before {
    content: "";
    display: block;
    position: absolute;
    background: url("../img/active.png") no-repeat center;
    border-radius: 0 0 15px 15px;
    background-size: cover;
    width: 100%;
    height: 150px;
    left: 0;
    top: -65px;
    opacity: 0;
    z-index: -1;
  }
}

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

@media (max-width: 991px) {
  .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: #fff;
    background-color: #2c74a0 !important;
  }
}

.navbar-nav > li:hover > a::before,
.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: #fff;
  border-top: 4px solid #b3040c;
  -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) {
  .navbar-default .navbar-nav > li > .dropdown-menu,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    padding-top: 18px;
    padding-bottom: 18px;
    margin-top: 35px;
  }
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    margin-top: -18px;
    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: #000;
  font-weight: 400;
  text-align: left;
  padding: 9px 25px;
  font-size: 1rem;
  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: #fff;
  color: #b9151c;
}

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

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

@media (min-width: 992px) {
  #slider {
    max-height: 300px;
  }
  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%;
}

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

.slider-mask {
  display: none;
}


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

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

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

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

#tabs .tab {
  background-color: #fff;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 15px;
  height: 100%;
}

#tabs,
#icons {
  padding-bottom: 60px;
  font-size: 1rem;
}

@media (max-width: 991px) {
  #tabs,
  #icons {
    padding-bottom: 30px;
  }
}

#tabs .tabHeadline {
  color: #2c74a0;
  font-size: 1.5625rem;
  position: relative;
  padding-bottom: 10px;
}

#tabs .tabHeadline::before {
  display: block;
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color: #2c74a0;
}

#tabs .tab_link_title a,
#tabs .tab_link_mandat a {
  color: #000;
}

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

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

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

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

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

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

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

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 #b4040c;
}

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

#search {
  height: 55px;
  background: #fff;
  display: inline-block;
  position: relative;
  margin-top: 25px;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  width: 100%;
}
#search_input {
  color: #252525;
  font-size: 15px;
  font-style: normal;
  background: transparent;
  padding: 0;
  border: 0;
  line-height: 55px;
  padding-left: 10px;
  padding-right: 43px;
  height: 55px;
  width: 100%;
}
#search_submit {
  width: 55px;
  background: #2c74a0 url("../img/lupe-icon.png") center no-repeat;
  padding: 0;
  cursor: pointer;
  line-height: 55px;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  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;
  border-radius: 0 15px 15px 0;
}
#search_submit:hover,
#newsletter_submit:hover {
  background-color: #2c74a0;
}
#search_input::-ms-input-placeholder {
  color: #bdcdcd !important;
}
#search_input::-webkit-input-placeholder {
  color: #bdcdcd !important;
}
#search_input::-moz-placeholder {
  opacity: 1;
}
#search_input:-moz-placeholder {
  opacity: 1;
}

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

footer {
  background-color: #2c74a0;
  padding-top: 15px;
  padding-bottom: 25px;
  color: #ffffff;
  border-bottom: 12px solid #b9151c;
  position: relative;
}

footer::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #fff;
  height: 12px;
}

@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 {
  margin-left: 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;
  }
}

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

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

#vernetzt {
  text-align: right;
  font-size: 1rem;
  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;
}
