@import url("https://fonts.verwaltungsportal.de/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i&display=swap");
@import url("https://fonts.verwaltungsportal.de/css?family=Handlee&display=swap");
body {
  font-family: "Open Sans", sans-serif;
  color: #6a6a6a;
  background: #f4f8f8;
  font-size: 1rem; /* 1rem = 16px */
  line-height: 1.5;
}

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

a {
  color: #199fd8;
}

a:hover {
  color: #199fd8;
}

b,
strong {
  font-weight: 700;
}

/* ----------------------------------------------- topbar ----------------------------------------------- */

#topbar {
  background-color: #fff;
  color: #606060;
  padding-top: 15px;
  padding-bottom: 15px;
  -webkit-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.11);
  -moz-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.11);
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.11);
  position: relative;
}
@media(min-width:992px){
    #topbar{
        z-index: 54;
    }
}
@media(max-width:991px){
    #topbar{
        padding-right: 70px;
    }
}

#name {
  font-size: 22px;
  margin: 0;
  font-weight: 500;
}

/* ----------------------------------------------- search + newsletter ----------------------------------------------- */

#search {
  height: 33px;
  background: #fff;
  display: block;
  position: relative;
  border-radius: 10px;
}

@media (max-width: 991px) {
  #search {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

#search_input {
  color: #959595;
  font-size: 12px;
  font-style: normal;
  background: transparent;
  padding: 0;
  border: 0;
  line-height: 33px;
  padding-left: 10px;
  padding-right: 43px;
  height: 33px;
  width: 100%;
}

@media (min-width: 768px) {
  #search_input {
    font-size: 14px;
  }
}

#search_submit {
  width: 33px;
  background: transparent;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
  cursor: pointer;
  line-height: 33px;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  -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 {
  background-image: url("../img/lupe-icon.png");
}

#search_input::-ms-input-placeholder,
#newsletter_input::-ms-input-placeholder {
  color: #959595 !important;
}

#search_input::-webkit-input-placeholder,
#newsletter_input::-webkit-input-placeholder {
  color: #959595 !important;
}

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

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

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

@media (min-width: 992px) {
  #style button {
    border: none;
    background-color: #fff;
    color: #467b7f;
    width: 40px;
    height: 40px;
    display: inline-block;
    position: relative;
    line-height: 1;
    font-family: Handlee, sans-serif;
    text-transform: uppercase;
    border-radius: 7px;
    -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
-moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
  }

  #style button + button {
    margin-left: 3px;
  }

  #style button:nth-child(1){
    font-size: 0.9375rem;
  }
  #style button:nth-child(2) {
    font-size: 1.375rem;
  }

  #style button:nth-child(3) {
    font-size: 1.8125rem;
  }
}

@media (min-width: 1200px) {
  #style button + button {
    margin-left: 8px;
  }
}

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

nav {
  background: rgb(255, 220, 29); /* Old browsers */
  background: -moz-linear-gradient(
    top,
    rgba(255, 220, 29, 1) 0%,
    rgba(253, 206, 33, 1) 100%
  );
  background: -webkit-linear-gradient(
    top,
    rgba(255, 220, 29, 1) 0%,
    rgba(253, 206, 33, 1) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(255, 220, 29, 1) 0%,
    rgba(253, 206, 33, 1) 100%
  );
  -webkit-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.11);
  -moz-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.11);
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.11);
  border-bottom: 2px solid #fff;
  border-radius: 7px;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
  #burgerButton {
    font-size: 0;
    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: #297d7d;
    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;
    pointer-events: auto;
    display: block;
    width: 90px;
    background-color: rgba(0, 0, 0, 0.5);
  }
  .navbar-collapse.in:after {

  }
}

@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 {
    position: relative;
    width: 100%;
  }
  nav::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    right: 0;
    height: 5px;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.08) 0%,
      transparent 100%
    );
    display: block;
    z-index: 54;
    pointer-events: none;
  }

  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 .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;
  }
  .navbar-default .navbar-nav > li > ul,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    display: block;
    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;
  }

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

  .navbar-default .navbar-nav > li.open > .dropdown-menu {
    z-index: 1001;
  }
}

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

.navbar-default .navbar-nav > li > a {
  color: #443900;
  font-weight: 400;
  text-align: center;
  padding: 10px 5px;
  font-size: 1.125rem;
  font-family: Handlee, sans-serif;
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > a {
    padding: 10px 5px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .navbar-default .navbar-nav >li {
    flex-grow: 1;
    display: block;
  }
}

@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 > 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: #443900;
  background: #fff;
}

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

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

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > .dropdown-menu,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    border-radius: 0 10px 10px 10px;
  }
  .navbar-default .navbar-nav > li > .dropdown-menu {
    margin-top: 0px;
    left: 0;
  }
  .navbar-default .navbar-nav > li > .dropdown-menu::after {
    content: "";
    left: 0;
  }
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    margin-left: 10px;
    margin-top: -15px;
  }
  .navbar-default
    .navbar-nav
    > li
    > .dropdown-menu
    > li
    > .dropdown-menu::before {
    position: absolute;
    display: block;
    content: "";
    left: -10px;
    top: 0;
    bottom: 0;
    width: 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: #606060;
  font-weight: 400;
  text-align: center;
  padding: 7px 25px;
  background-color: transparent;
  font-size: 1.0625rem;
  border-radius: 0 7px 7px 7px;
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > .dropdown-menu > li > a,
  .navbar-default
    .navbar-nav
    > li
    > .dropdown-menu
    > li
    > .dropdown-menu
    > li
    > a {
    text-align: left;
  }
}

/* ------------------------------------------ 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: #606060;
  background: rgb(255, 220, 29); /* Old browsers */
  background: -moz-linear-gradient(
    top,
    rgba(255, 220, 29, 1) 0%,
    rgba(253, 206, 33, 1) 100%
  );
  background: -webkit-linear-gradient(
    top,
    rgba(255, 220, 29, 1) 0%,
    rgba(253, 206, 33, 1) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(255, 220, 29, 1) 0%,
    rgba(253, 206, 33, 1) 100%
  );
}

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

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

@media (min-width: 992px) {
  #slider {
    max-height: 400px;
  }
}

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

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

#logo {
  pointer-events: auto;
  display: inline-block;
}

#logo img {
  display: block;
}

  #logo img {
    width: 100%;
  }

@media (min-width: 768px) {
  #bannerOverlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 53;
    pointer-events: none;
  }
  #bannerOverlay * {
    pointer-events: auto;
  }
}

.slider-mask {
  display: none;
}

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

#content {
  text-align: left;
  padding: 30px 0;
  background-color: #5e9094;
  border-top: 10px solid #fff;
  border-bottom: 10px solid #fff;
}

#content > .row {
  position: relative;
}
#content > .row::before {
  position: absolute;
  display: block;
  content: "";
  height: 611px;
  width: 438px;
  background: url("../img/pseudo_content.jpg") center no-repeat;
  top: 150px;
  left: -175px;
}

@media (min-width: 768px) {
  #content {
    padding: 50px 25px 70px 25px;
  }
}

@media (max-width: 991px) {
  #bg-right {
    margin-top: 30px;
    padding-left: 0;
    padding-right: 0;
  }
}
@media(min-width:992px){
  #bg-right{
    padding-left: 30px;
  }
}

#bg-left {
  background-color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
}
@media(min-width:992px){
  #bg-left{
    padding: 25px 40px;
  }
}

@media (min-width: 992px) {
  #bg-left {
    padding-right: 30px;
  }
}

/* ------------------------------------------ h1, #content .legacy_h1, .legacy_h1 - h6, #content .legacy_h6, .legacy_h6, newslink ----------------------------------------- */

.h4link a:link,
.h4link a:hover,
.h4link a:visited,
h6, #content .legacy_h6, .legacy_h6,
h5, #content .legacy_h5, .legacy_h5,
h4, #content .legacy_h4, .legacy_h4,
h3, #content .legacy_h3, .legacy_h3,
h2, #content .legacy_h2, .legacy_h2,
h1, #content .legacy_h1, .legacy_h1 {
  color: #609195;
  font-weight: 400;
  line-height: 1.2;
  font-family: "Handlee", sans-serif;
}

h1, #content .legacy_h1, .legacy_h1,
.h1 {
  font-size: 1.625rem;
}

h2, #content .legacy_h2, .legacy_h2,
.h2 {
  font-size: 1.4rem;
}

h3, #content .legacy_h3, .legacy_h3,
.h3 {
  font-size: 1.35rem;
}

h4, #content .legacy_h4, .legacy_h4,
.h4,
.h4link a:link,
.h4link a:hover,
.h4link a:visited {
  font-size: 1.3rem;
}

h5, #content .legacy_h5, .legacy_h5,
.h5 {
  font-size: 1.25rem;
}

h6, #content .legacy_h6, .legacy_h6,
.h6 {
  font-size: 1.2rem;
}

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

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

.tab {
background: #fff;
}

.tabHeadline {
  text-transform: uppercase;
  font-weight: 400;
  color: #297d7d;
  margin: 0;
  padding: 18px 25px 15px 25px;
  font-family: Handlee, sans-serif;
}

.tabContent {
  padding: 20px 25px;
  font-size: 1rem;
}

#bg-right .tab {
  margin-top: 21px;
  border-radius: 10px;
  overflow: hidden;
  -webkit-box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.35);
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.35);
}
#bg-right .tabHeadline {
  color: #443900;
  text-transform: uppercase;
  background: rgb(255, 220, 29); /* Old browsers */
  background: -moz-linear-gradient(
    top,
    rgba(255, 220, 29, 1) 0%,
    rgba(253, 206, 33, 1) 100%
  );
  background: -webkit-linear-gradient(
    top,
    rgba(255, 220, 29, 1) 0%,
    rgba(253, 206, 33, 1) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(255, 220, 29, 1) 0%,
    rgba(253, 206, 33, 1) 100%
  );
  padding: 5px 25px;
  border-top: 1px solid #fff;
}

#topbar .tabContent{
  padding-top: 0;
  padding-bottom: 0;
}

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

#footer-wrapper {
  background-color: #235256;
  color: #ffffff;
  padding: 15px;
  position: relative;
}
#footer-wrapper::before {
  position: absolute;
  display: block;
  content: "";
  -webkit-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  height: 0;
  top: 0;
  left: 0;
  right: 0;
}

@media (min-width: 768px) {
  footer {
    padding: 22px 24px;
  }
}

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

#innerfooter a + a::before {
  content: "|";
  position: relative;
  margin: 0 15px;
  font-weight: 400;
}

}

@media (max-width: 767px) {
  #innerfooter {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
}

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

#vernetzt {
  text-align: left;
  font-size: 0.875rem;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 auto;
}
@media(max-width:991px){
    #vernetzt{
        margin-top: 20px;
    }
}

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

#vernetzt span {
  color: #ffffff;
}

#vernetzt span span {
  display: block;
}

#vernetzt img {
  margin-right: 12px;
}
