/*
    @font   eine Font
    @fonts  zwei Fonts
*/

@import url("https://fonts.verwaltungsportal.de/import/?family=Source+Sans+Pro:400,700,500,600,800,300");
@import url("https://fonts.verwaltungsportal.de/import/?family=Barlow+Condensed:600,700,800,500,400,300");

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

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

a {
   color: #0f4d86;
}

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

b,
strong {
   font-weight: 700;
}

#contentbottom_left a {
   font-weight: 700;
   border: 2px solid #0f4d86;
   padding: 5px;
}
/* ------------------------------------------------- logo ------------------------------------------------ */
#logo {
   display: inline-block;
   z-index: 1;
   position: relative;
   margin-bottom: -10px;
   -webkit-transition: all 300ms ease;
   -moz-transition: all 300ms ease;
   -ms-transition: all 300ms ease;
   -o-transition: all 300ms ease;
   transition: all 300ms ease;
   max-width: 100%;
}

#logo img {
   display: block;
}

@media (min-width: 992px) {
   #logo img {
      display: block;
   }
}

.is-sticky #logo {
   max-width: 240px;
   width: 100%;
   -webkit-transition: all 300ms ease;
   -moz-transition: all 300ms ease;
   -ms-transition: all 300ms ease;
   -o-transition: all 300ms ease;
   transition: all 300ms ease;
   z-index: 1001;
}

@media (max-width: 991px) {
   #logo img {
      max-width: 210px;
      width: 100%;
      display: inline-block;
      padding: 10px 0 0 0;
   }
   .is-sticky #logo {
      display: none;
   }
}

#menu {
   background-color: #0f4d86;
}

/* --------------------------------------- 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: #0f4d86;
      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: #0f4d86;
      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 {
      padding-top: 20px;
      padding-bottom: 20px;
   }
   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: 15px;
      left: 0;
      right: 0;
      top: -15px;
   }

   /* 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 */

   .is-sticky nav {
      position: fixed;
      background: #ffffff;
      box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.12);
      padding-top: 10px;
      padding-bottom: 10px;
   }
}

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

.navbar-default .navbar-nav > li > a {
   font-family: "Barlow Condensed";
   color: #fff;
   font-weight: 700;
   text-align: center;
   padding: 10px 35px 15px 35px;
   position: relative;
   font-size: 1.5rem;
   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;
   }
}

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

.navbar-nav > li:hover > a,
.navbar-nav > li:focus > 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: #f1dd48;
   background-color: transparent;
}


/* -------------------------------------- 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: 18px;
      padding-bottom: 18px;
      border: #f1dd48 2px solid;
      margin-top: 10px;
   }
   .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
      margin-top: -18px;
      margin-left: 10px;
      border: #f1dd48 2px solid;
   }
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
   color: #232323;
   font-weight: 400;
   text-align: left;
   padding: 9px 25px;
   font-size: 1.125rem;
   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 {
   background: #f1dd48;
   color: #232323;
}

.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: #f1dd48;
   color: #232323;
}

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

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

@media (min-width: 992px) {
   #slider {
      max-height: 400px;
   }
   body.index #slider {
      max-height: 500px;
   }
   #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 ----------------------------------------------- */

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

@media (min-width: 992px) {
   main {
      padding-bottom: 60px;
      padding-top: 60px;
   }
   #content {
      background-image: url("../img/main-l.png"), url("../img/main-r.png");
      background-repeat: no-repeat, no-repeat;
      background-position: left bottom, right bottom;
      padding-top: 60px;
   }
}

/*--- links ---*/

#links a {
    font-weight: bold;
    font-size: 1.5625rem;
    color: #0f4d86;
    display: block;
    padding-bottom: 10px;
    position: relative;
}

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

#links a::before {
    display: block;
    position: absolute;
    content: '';
    background: url('../img/arrow.png') no-repeat;
    width: 13px;
    height: 21px;
    right: 10px;
    top: calc(50% - 10.5px);
}

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

@media (min-width: 1200px) {
   #tab1 {
      background-image: url("../img/tab\ HG.png");
      background-repeat: no-repeat;
      background-position: center center;
      margin-top: 60px;
   }
   .aktuell .tabHeadline::after {
      content: "";
      display: block;
      height: 2px;
      width: 148px;
      background-color: #f1dd48;
      margin: 10px 85px;
   }
   .verein .tabHeadline::after {
      content: "";
      display: block;
      height: 2px;
      width: 148px;
      background-color: #f1dd48;
      margin: 10px 85px;
   }
}

@media (min-width: 768px) and (max-width: 992px) {
   #tab1 .tab {
      margin-bottom: 40px;
   }
   .aktuell .tabHeadline::after {
      content: "";
      display: block;
      height: 2px;
      width: 148px;
      background-color: #f1dd48;
      margin: 10px 80px;
   }
   .verein .tabHeadline::after {
      content: "";
      display: block;
      height: 2px;
      width: 148px;
      background-color: #f1dd48;
      margin: 10px 80px;
   }
}

@media (max-width: 767px) {
   #tab1 .tab {
      margin-bottom: 40px;
   }
   .verein .tabHeadline::after {
      content: "";
      display: block;
      height: 2px;
      width: 148px;
      background-color: #f1dd48;
      margin: 10px 75px;
   }
   .aktuell .tabHeadline::after {
      content: "";
      display: block;
      height: 2px;
      width: 148px;
      background-color: #f1dd48;
      margin: 10px 75px;
   }
}

#tab1 {
   padding: 40px 0;
   margin-bottom: -60px;
}

#tab1 .tab {
   padding: 35px 25px;
   box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
   -webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
   -moz-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
   #tab1 .tab {
      height: 100%;
   }
}

#tab1 a {
   font-family: "Barlow Condensed";
   font-size: 1.375rem;
}

.aktuell {
   background-color: #ffffff;
}

.aktuell .tab_link_mehr {
   font-size: 0;
}

.aktuell .tab_link_mehr a {
   font-family: "Barlow Condensed";
   font-size: 1.375rem;
   text-decoration: none;
}

.aktuell .tab_link_date {
   font-family: "Barlow Condensed";
   font-size: 1.375rem;
   color: #0f4d86;
}

.aktuell .tab_link_title a {
   color: #232323;
   font-family: "Source Sans Pro" !important;
   font-weight: 400;
   font-size: 1.125rem !important;
}

.aktuell .tabHeadline {
   text-align: center;
   font-size: 1.875rem;
}

.mitglied {
   background-color: #0f4d86;
   color: #ffffff;
   background-image: url("../img/logo_tab.png");
   background-repeat: no-repeat;
   background-position: right bottom;
}

.mitglied .tabHeadline {
   color: #f1dd48;
   font-size: 3.125rem;
   text-align: center;
}
.mitglied a {
   color: #f1dd48;
}

.verein {
   background-color: #ffffff;
}

.verein .tabHeadline {
   text-align: center;
   font-size: 1.875rem;
}

.verein .tab img {
   position: absolute;
   left: 50%;
   top: 50%;
   z-index: -1;
   opacity: 0.2;
   max-width: none;
   min-width: 100%;
   min-height: 100%;
   width: auto;
   height: auto;
   -ms-interpolation-mode: bicubic;
   -moz-transform: translateX(-50%) translateY(-50%);
   -webkit-transform: translateX(-50%) translateY(-50%);
   -o-transform: translateX(-50%) translateY(-50%);
   -ms-transform: translateX(-50%) translateY(-50%);
   transform: translateX(-50%) translateY(-50%);
   -webkit-transition: opacity 300ms linear;
   -moz-transition: opacity 300ms linear;
   -ms-transition: opacity 300ms linear;
   -o-transition: opacity 300ms linear;
   transition: opacity 300ms linear;
}

.verein .tab:hover img {
   opacity: 0.6;
}

.mitglied {
   position: relative;
}

.mitglied > .tabContent > .template-page > .row > .col-xs-12,
.mitglied > .tabContent > .template-page > .row,
.mitglied > .tabContent > .template-page,
.mitglied > .tabContent {
   position: static;
}

.mitglied a:last-child {
   position: absolute;
   bottom: 20px;
   right: 20px;
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
   color: #0f4d86;
   font-weight: bold;
   line-height: 1.2;
   font-family: "Barlow Condensed";
}

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

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

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

@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 #0f4d86;
}

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

#tab2 {
   background-color: #0f4d86;
   padding-top: 30px;
   padding-bottom: 30px;
   color: #ffffff;
   font-size: 1rem;
}

#tab2 .tabHeadline {
   color: #f1dd48;
   font-size: 1.5625rem;
}

#tab2 .tabHeadline::after {
   content: "";
   display: block;
   height: 2px;
   width: 101px;
   background-color: #ffffff;
   margin: 10px 0;
}

#tab2 a {
   color: #f1dd48;
}

@media (max-width: 767px) {
   footer .row > .col-xs-12:not(:first-child)::before {
      background: #ffffff;
      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;
   }

   #tab2 .tabHeadline::after {
      margin: auto;
   }
}

#innerfooter ul {
   padding: 0;
   line-height: 30px;
}

#innerfooter li {
   display: block;
}

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

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

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

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

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

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

#vernetzt span {
   color: #ffffff;
}

#vernetzt span span {
   display: block;
}

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

@media (min-width: 992px) {
   #vernetzt {
      flex-direction: column-reverse;
      align-items: end;
   }
   #vernetzt img {
      margin-left: 0;
      margin-bottom: 15px;
   }
}

/* ------------------------------------------ maps ----------------------------------------- */

#maps .row,
#maps .row > div {
   margin: 0;
   padding: 0;
}

#maps iframe,
#maps .iframe-wrapper-manual-enabling {
   display: block;
   width: 100%;
}

#maps .iframe-wrapper-manual-enabling {
   min-width: 100% !important;
}
