@import url("https://fonts.verwaltungsportal.de/css/?family=Work+Sans:300,400,600,700");

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

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

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

a {
   color: #005c99;
}

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

b,
strong {
   font-weight: 600;
}

.static {
   position: static;
}

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

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

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

a:focus,
#menu a:focus,
#footer a:focus,
#topbar a:focus,
#contrast_style button:focus,
#style button:focus,
#search_input1:focus,
#search_submit1:focus,
#tabs a:focus {
   outline: 3px solid #843200;
}


/* ----------------------------------------------- 3tp topbar ----------------------------------------------- */

#topbar2 {
    padding-top: 20px;
    padding-bottom: 20px;
    background: #005c99;
    font-size: 0.875rem;
    color: #fff;
}

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

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

@media (min-width: 992px) {
    #style {
        margin-left: 30px;
    }
}

#contrast_style button,
#style button {
    padding: 0;
    border: none;
    color: #444444;
    display: inline-block;
    width: 29px;
    height: 29px;
    font-weight: 400;
    text-align: center;
    background: rgba(255,255,255,0.9);
    position: relative;
    line-height: 1;
}

#style button {
    padding: 0;
}


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

#style button:hover,
#style button:focus {
    color: #444444;
    background: #d8d70f;
}

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

form[id^="search"] {
    height: 35px;
    background: rgba(255,255,255,0.9);
    display: block;
    position: relative;
}

@media (min-width: 992px) {
    form[id^="search"] {
        margin-left: 30px;
        max-width: 270px;
        width: 100%;
    }
}

form [id^="search_input"] {
    color: #58453a;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 35px;
    padding-left: 14px;
    padding-right: 54px;
    height: 35px;
    width: 100%;
}

form [id^="search_submit"] {
    width: 40px;
    background: url('../img/icon-search.png') center no-repeat;
    padding: 0;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: 0;
    font-size: 0;
    border-left: 1px solid rgba(88, 69, 58, 0.3);
    -webkit-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -moz-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -ms-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    -o-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
    transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    background-color: #b9cf68;
    top: 0;
    bottom: 0;
}

[id^="search_input"]::-ms-input-placeholder {
    color: #444444 !important;
}

[id^="search_input"]::-webkit-input-placeholder {
    color: #444444 !important;
}

[id^="search_input"]::-moz-placeholder {
    opacity: 0.8;
}

[id^="search_input"]:-moz-placeholder {
    opacity: 0.8;
}

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

#topbar>.row {
   background: #ffffff;
   padding-top: 18px;
   padding-bottom: 18px;
}

@media (min-width: 992px) {
   #topbar>.row {
      padding-top: 27px;
      padding-bottom: 27px;
      background: #ffffff;
   }
}

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

#logo {
   display: inline-block;
}

#logo img {
   display: block;
}

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


.tabsHeader {
   background: #fff;
   padding: 15px 0;
}

.location, .communication {
   font-size: 1rem;
   position: relative;
   text-align: left;
}

@media (min-width: 992px) {
   .location, .communication {
      padding-left: 100px;
      padding-right: 20px;
   }

   .location {
      border-right: 1px solid #d5d5d5;
   }

   .location::before, .communication::before {
      content: '';
      display: block;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      left: 15px;
      height: 63px;
      width: 66px;
   }
   
   .location::before {
      background: url(../img/adress-icon.png) no-repeat;
   }
   
   .communication::before {
      background: url(../img/communicate-icon.png) no-repeat;
   }
}



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

/* burgermenu for tablet */

@media (max-width: 991px) {
   #burgerButton {
       font-size: 0;
       display: block;
       height: 50px;
       width: 60px;
       border-radius: 2px;
       padding: 6px 8px;
       cursor: pointer;
       background: #ffffff;
       border: none !important;
       -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);
   }
   #burgerButtonInner2, #burgerButton:after, #burgerButtonInner {
       background-color: #005c99;
       border-radius: 2px;
       position: absolute;
       width: 40px;
       height: 3px;
       left: 10px;
       -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"] #burgerButtonInner2 {
       opacity: 0;
   }
   #burgerButton[aria-expanded="true"]:after {
       -webkit-transform: rotate(45deg) translate(-4px, -6px);
       transform: rotate(45deg) translate(-4px, -6px);
   }
   #burgerButtonInner {
       top: 16px;
   }
   #burgerButtonInner2 {
       top: 24px;
   }
   #burgerButton:after {
       top: 32px;
       content: "";
       display: block;
   }
   .navbar-nav {
       margin: 20px 0;
   }
   .navbar-collapse {
       top: 0;
       background: #005c99;
       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[aria-expanded="true"],
   .navbar-collapse.in {
       left: 0;
       opacity: 1;
       pointer-events: auto;
   }
   .navbar-header {
       position: fixed;
       top: 15px;
       right: 15px;
       z-index: 101;
   }
   .navbar-toggle::before {
       content: "";
       opacity: 0;
       position: fixed;
       top: 0;
       right: 0;
       bottom: 0;
       width: 0;
       z-index: -1;
       display: block;
       background-color: rgba(0, 0, 0, 0.5);
       -webkit-transition: width 300ms linear, opacity 300ms linear;
       -moz-transition: width 300ms linear, opacity 300ms linear;
       -ms-transition: width 300ms linear, opacity 300ms linear;
       -o-transition: width 300ms linear, opacity 300ms linear;
       transition: width 300ms linear, opacity 300ms linear;
   }
   .navbar-toggle[aria-expanded="true"]::before {
       opacity: 1;
       width: 90px;
   }
   .dropdown-toggle-button-wrapper {
       top: 8px;
   }
}

@media (min-width: 575px) and (max-width: 991px) {
   .navbar-collapse {
       width: 60%;
   }
   .navbar-collapse.collapse.in:after,
   .navbar-toggle[aria-expanded="true"]::before {
       width: 40%;
   }
}

/* menu desktop */

@media (min-width: 992px) {
   #menu {
       background-color: #005c99;
   }
   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;
   }
   .navbar-default .navbar-nav li[class*="toplevel"] > ul {
      display: flex !important;
      min-height: 250px;
      flex-wrap: wrap;
      pointer-events: none;
      position: absolute;
      opacity: 0;
      top: calc(100% + 30px);
      left: 15px;
      right: 15px;
      z-index: 1000;
      padding: 30px 40px 30px 270px;
      -webkit-transition: top 300ms linear, opacity 300ms linear;
      -moz-transition: top 300ms linear, opacity 300ms linear;
      -ms-transition: top 300ms linear, opacity 300ms linear;
      -o-transition: top 300ms linear, opacity 300ms linear;
      transition: top 300ms linear, opacity 300ms linear; 
  }  
  .navbar-default .navbar-nav li[class*="toplevel"]:hover > ul {
      pointer-events: auto !important;
      opacity: 1 !important;
      top: 100%;
  }
  .navbar-default .navbar-nav li[class*="toplevel"]:focus-within > ul {
      pointer-events: auto !important;
      opacity: 1 !important;
      top: 100%;
  }
  .nav li[class*="toplevel"].open > .dropdown-menu {
      pointer-events: none !important;
      opacity: 0 !important;
  }
  nav.horizontally .navbar-nav>li>.dropdown-menu>li {
      width: 33.33%;
  }
  nav.horizontally .navbar-nav>li>.dropdown-menu>li:not(:nth-child(1)):not(:nth-child(3n+4)) {
      border-right: 1px solid rgba(0,0,0,0.12);
  }
  nav.horizontally .navbar-nav>li>.dropdown-menu::before {
      content: "";
      position: absolute;
      display: block;
      top: 0;
      bottom: 0;
      left: 0;
      width: 230px;
      height: 100%;
      background-color: #cfbfeb;
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
  }   
  nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
      display: block !important;
      padding-bottom: 10px;
  }
}

@media (min-width: 1200px) {
  .navbar-default .navbar-nav li[class*="toplevel"] > ul {
      padding-left: 290px;
  } 
  nav.horizontally .navbar-nav>li>.dropdown-menu::before {
      width: 270px;
  } 
}

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

.navbar-default .navbar-nav>li>a {
   color: #ffffff;
   font-weight: 700;
   text-align: left;
   padding: 12px 15px;
   text-transform: uppercase;
   position: relative;
   font-size: 1.125rem;
   line-height: 1.2;
   text-decoration: none;
}

@media (max-width: 991px) {
   .navbar-default .navbar-nav>li {
       border-bottom: 1px solid rgba(255,255,255,0.8);
   }
   nav.horizontally .navbar-nav>li>a.dropdown-toggle {
       padding-right: 35px;
   }
   .navbar-default .navbar-nav>li>a {
      padding: 12px 15px 30px 15px;
   }
}

@media (min-width: 992px) {
   .navbar-default .navbar-nav>li+li {
       margin-left: 15px;
   }
   .navbar-default .navbar-nav>li>a {
       padding: 20px 0 39px 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;
   }
}

.navbar-default .navbar-nav>li>a::before {
   content: "";
   width: 0;
   height: 4px;
   display: block;
   position: absolute;
   left: 50%;
   bottom: 0;
   background-color: #f0e400;
   opacity: 0;
   -moz-transform: translateX(-50%);
   -webkit-transform: translateX(-50%);
   -o-transform: translateX(-50%);
   -ms-transform: translateX(-50%);
   transform: translateX(-50%);
   -webkit-transition: opacity 300ms linear, width 300ms linear;
   -moz-transition: opacity 300ms linear, width 300ms linear;
   -ms-transition: opacity 300ms linear, width 300ms linear;
   -o-transition: opacity 300ms linear, width 300ms linear;
   transition: opacity 300ms linear, width 300ms linear;
}

.navbar-default .navbar-nav>li>a::after {
    content: '';
    font-size: 0.875rem;
    font-weight: 400;
    width: 100%;
    display: block;
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 0;
    color: #fff;
    text-transform: none;
}

@media (max-width: 375px) {
   .navbar-default .navbar-nav>li>a {
     padding: 12px 15px 50px 15px;
   }
}

@media (max-width: 991px) {
   .navbar-default .navbar-nav>li>a::after {
     text-align: left;
     bottom: 10px;
     left: 15px; 
     hyphens: auto;
   }
}

.navbar-default .navbar-nav>li:nth-child(1)>a::after {
    content: 'Serwis za wobydlerjow a zarjadnistwo';
}

.navbar-default .navbar-nav>li:nth-child(2)>a::after {
    content: 'Naša gmejna';
}

.navbar-default .navbar-nav>li:nth-child(3)>a::after {
    content: 'Wólny čas a turizm';
}

.navbar-default .navbar-nav>li:nth-child(4)>a::after {
    content: 'Hospodarstwo a wobchad';
}

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

.navbar-nav > li:focus-within > a {
   color: #ffffff;
   background-color: transparent;
}

.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;
   width: 100%;
}

.navbar-nav > li:focus-within > a::before {
   opacity: 1;
   width: 100%;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu {
   background-color: rgba(255,255,255,0.9);
}

@media (max-width: 991px) {
   .navbar-default .dropdown-menu {
       padding: 10px 0;
   }
}

@media(min-width:992px) {
   .navbar-default .navbar-nav>li>.dropdown-menu {
       margin-top: 30px;
   }
   .navbar-default .navbar-nav>li>.dropdown-menu::after {
       content: "";
       position: absolute;
       display: block;
       height: 40px;
       left: 0;
       right: 0;
       top: -40px;
   }
}

/* --------------------------------------------- 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;
   text-align: left;
   line-height: 1.2;
   text-decoration: none;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
   font-weight: 400;
   font-size: 1rem;
   padding: 8px 15px;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
   font-weight: 400;
   font-size: 0.875rem;
   padding: 6px 15px 6px 30px;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::after {
   content: "";
   display: block;
   position: absolute;
   top: 11px;
   left: 20px;
   border-radius: 50%;
   width: 3px;
   height: 3px;
   border: 1px solid #514d4d;
   -webkit-transition: background 300ms linear, border 300ms linear;
   -moz-transition: background 300ms linear, border 300ms linear;
   -ms-transition: background 300ms linear, border 300ms linear;
   -o-transition: background 300ms linear, border 300ms linear;
   transition: background 300ms linear, border 300ms linear;
}

@media(max-width:991px) {
   nav.horizontally .navbar-nav>li>.dropdown-menu>li>a.dropdown-toggle2 {
       padding-right: 35px;
   }
}

/* ------------------------------------------ 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 > 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: #005c99;
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
   color: #005c99;
}

.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:hover::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:focus::after {
   background: #005c99;
   border-color: #005c99;
}

.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a::after {
   background: #005c99;
   border-color: #005c99;
}


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

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

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

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

   body.index #slider {
      max-height: 630px;
   }
}



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

.slider-mask {
   display: none;
}

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

.nivo-directionNav {
   height: 40px;
   pointer-events: none;
   width: 100%;
   position: absolute;
   z-index: 7;
   left: 50%;
   bottom: 80px;
   -moz-transform: translateX(-50%);
   -webkit-transform: translateX(-50%);
   -o-transform: translateX(-50%);
   -ms-transform: translateX(-50%);
   transform: translateX(-50%);
}

@media (min-width: 992px) {
   .nivo-directionNav {
      max-width: 992px;
      bottom: 40px;
   }
}

@media (min-width: 1200px) {
   .nivo-directionNav {
      max-width: 1200px;
   }
}

#headerpic .theme-default .nivo-directionNav a {
   pointer-events: auto;
   background: #005c99 url("../img/banner-arrows.png") top 10px center / 18px auto no-repeat;
   width: 40px;
   height: 40px;
}

#slider+.nivo-controlNav {
   pointer-events: none;
}

#slider+.nivo-controlNav a {
   pointer-events: auto;
}

.theme-default .nivo-directionNav a.nivo-nextNav {
   -webkit-transform: scale(-1);
   transform: scaleX(-1);
}

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

@media (min-width: 576px) {
   #slider+.nivo-controlNav {
      bottom: 65px;
   }
}

@media (min-width: 992px) {
   #slider+.nivo-controlNav {
      bottom: 78px;
   }
}

#headerpic .theme-default .nivo-controlNav a {
   background: transparent;
   border-radius: 50%;
   border: 1px solid #ffffff;
   width: 12px;
   height: 12px;
   color: #fff;
}

#headerpic .theme-default .nivo-controlNav a.active {
   background-color: #ffffff;
   color: #005c99;
}

#headerpic .theme-default .nivo-controlNav a+a {
   margin-left: 8px;
}



/* ------------------------------------------------ topInfo ----------------------------------------------- */

#topInfo {
   padding-top: 40px;
   position: relative;
   z-index: 1;
}

@media (min-width: 768px) {
   #topInfo {
      padding-top: 60px;
   }
}

@media (min-width: 992px) {
   #topInfo {
      padding-top: 100px;
   }
}

@media (max-width: 991px) {
   #topInfo>.row>*+* {
      margin-top: 30px;
   }
}

#topInfo>.row>*:first-child {
   font-weight: 300;
   line-height: 1.3;
}

@media (min-width: 992px) {
   #topInfo>.row>*:first-child {
      padding-top: 10px;
      padding-right: 30px;
      padding-bottom: 110px;
   }
}

#topInfo>.row>*:first-child a {
   color: #ffffff;
   text-decoration: underline;
}

#topInfo>.row>*:first-child p,
#topInfo>.row>:first-child h2 {
   background: #005c99;
}



#topInfo>.row>*:first-child a:hover,
#topInfo>.row>*:first-child a:focus {
   color: #005c99;
}

#topInfo>.row>*:first-child b,
#topInfo>.row>*:first-child strong {
   font-weight: 700;
   font-size: 1.6rem;
}

@media (min-width: 992px) {

   #topInfo>.row>*:first-child b,
   #topInfo>.row>*:first-child strong {
      font-weight: 700;
      font-size: 2rem;
   }
}

@media (min-width: 1200px) {

   #topInfo>.row>*:first-child b,
   #topInfo>.row>*:first-child strong {
      font-size: 3.5rem;
   }
}

#topInfo>.row>*:first-child,
#topInfo>.row>*:first-child h1,
#topInfo>.row>*:first-child h2,
#topInfo>.row>*:first-child h3,
#topInfo>.row>*:first-child h4,
#topInfo>.row>*:first-child h5,
#topInfo>.row>*:first-child h6 {
   color: #ffffff;
   margin-bottom: 0;
}

#topInfo>.row>*:first-child h1::after {
   content: "-";
   display: block;
   color: #fff;
   line-height: 0.5;
   margin-top: 5px;
}

#topInfo::after {
   content: "";
   position: absolute;
   z-index: -1;
   display: block;
   top: 0;
   left: 0;
   right: 0;
   bottom: 50px;
   background: #005c99;
   border-bottom-right-radius: 500px;
}

@media (min-width: 992px) {
   #topInfo::after {
      right: 50%;
      bottom: 60px;
   }
}

#topInfo .tab {
   background: #fffddb;
   padding: 35px 30px 30px 30px;
   min-height: 100%;
   height: 100%;
   color: #444444;
   line-height: 1.3;
   position: relative;
}

@media (min-width: 768px) {
   #topInfo .tab {
      font-size: 1.125rem;
   }

   .tab_spacer {
      height: 20px;
   }
}

@media (min-width: 992px) {
   #topInfo .tab {
      padding-bottom: 70px;
   }
}

@media (min-width: 1200px) {
   #topInfo .tab {
      padding: 45px 40px 70px 40px;
   }
}

#topInfo .tabHeadline {
   text-transform: uppercase;
   color: #005c99;
   font-weight: 700;
   font-size: 1.25rem;
   margin-bottom: 20px;
}

@media (min-width: 992px) {
   #topInfo .tabHeadline {
      font-size: 1.4rem;
   }
}

@media (min-width: 1200px) {
   #topInfo .tabHeadline {
      font-size: 1.625rem;
   }
}

#topInfo .tabHeadline::before {
   content: "";
   display: block;
   width: 100%;
   height: 60px;
   background-position: center left;
   background-repeat: no-repeat;
   margin-bottom: 15px;
}

#topInfo .tab_link_mehr {
   color: transparent;
   font-size: 0;
}

.teaserText a,
#topInfo .tab_link_mehr a {
   background: #f0e400;
   display: inline-block;
   color: #444444;
   font-weight: 700;
   text-transform: uppercase;
   padding: 6px 15px;
   text-decoration: none;
}

#topInfo .tab_link_mehr a {
   position: absolute;
   bottom: 0;
   right: 0;
   font-size: 1rem;
}

@media (min-width: 992px) {
   #topInfo .tab_link_mehr a {
      padding: 15px 34px;
      bottom: -10px;
      right: -10px;
   }
}

.teaserText a:hover,
#topInfo .tab_link_mehr a:hover,
.teaserText a:focus,
#topInfo .tab_link_mehr a:focus {
   background: #f0e400;
   color: #444444;
}

.teaserText a::after,
#topInfo .tab_link_mehr a::after {
   content: "\2192";
   font-weight: 400;
   position: relative;
   left: 0;
   margin-left: 4px;
   -webkit-transition: left 200ms linear;
   -moz-transition: left 200ms linear;
   -ms-transition: left 200ms linear;
   -o-transition: left 200ms linear;
   transition: left 200ms linear;
}

.teaserText a:hover::after,
#topInfo .tab_link_mehr a:hover:after,
.teaserText a:focus::after,
#topInfo .tab_link_mehr a:focus:after {
   left: 6px;
}

#tab1 .tabHeadline::before {
   background-image: url("../img/kalender-icon.png");
}

#tab2 .tabHeadline::before {
   background-image: url("../img/zeitung-icon.png");
}

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

.tab_link_mandat a {
   color: #444444;
}

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

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

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

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

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
   font-weight: 700;
   line-height: 1;
   font-family: "Work Sans", serif;
}

h1,
h3,
h5 {
   color: #005c99;
}

h2,
h4,
h6 {
   color: #005c99;
}

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

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

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

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

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

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

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

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

/* ------------------------------------------------ facts ----------------------------------------------- */

#facts {
   padding-top: 56px;
   padding-bottom: 56px;
   background: #fffddb;
}

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

@media (min-width: 576px) {
   #facts>.row>div+div:not(:last-child) {
      margin-top: 0;
   }
}

#facts a {
   color: #005c99;
}

#facts b,
#facts strong {
   color: #005c99;
   font-size: 2.5rem;
   display: block;
   font-weight: 700;
   line-height: 1.1;
}

@media (min-width: 768px) {

   #facts b,
   #facts strong {
      font-size: 3.5rem;
   }
}

#facts>.row>div:last-child a {
   font-size: 1.8125rem;
   font-weight: 700;
   color: #005c99;
   line-height: 1.2;
   text-decoration: none;
}

#facts>.row>div:last-child a::after {
   content: "\2192";
   display: block;
   font-weight: 400;
   color: #005c99;
   font-size: 3.5rem;
}

#facts>.row>div:last-child a:hover,
#facts>.row>div:last-child a:focus {
   color: #005c99;
}

/* ------------------------------------------------ teaser ---------------------------------------------- */

#teaser {
   padding-top: 40px;
   padding-bottom: 40px;
   position: relative;
   z-index: 10;
}

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

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

#teaser>.row {
   z-index: 10;
}

#teaserBox>.row {
   margin-left: auto;
   margin-right: auto;
}

#teaser::after {
   content: "";
   position: absolute;
   z-index: -1;
   display: block;
   top: 0;
   left: 0;
   right: 0;
   bottom: 80px;
   background: #005c99;
   border-bottom-left-radius: 500px;
}

@media (min-width: 992px) {
   #teaser::after {
      top: -55px;
      left: 50%;
      bottom: 0;
      border-bottom-left-radius: 0;
      border-top-left-radius: 500px;
   }
}

#teaser .tabHeadline,
.teaserTab .tabHeadline {
   color: #005c99;
   text-transform: uppercase;
   font-weight: 700;
   font-size: 1.5rem;
}

#teaser .tabHeadline {
   margin-bottom: 3px;
}

@media (max-width: 991px) {

   #teaser .teaserInfo .tabHeadline,
   #teaser .teaserInfo,
   #teaser .teaserInfo a {
      color: #ffffff;
   }

   #teaser .teaserInfo a {
      text-decoration: underline;
   }
}

.teaserTab .tabHeadline {
   font-size: 26px;
}

.teaserTab .tabHeadline::after {
   content: "-";
   display: block;
   color: #005c99;
   line-height: 0.2;
   margin-top: 10px;
   margin-bottom: 12px;
}

#teaserBox {
   background: #fffddb;
   min-height: 100px;
   margin-top: 35px;
   position: relative;
}

#teaserBox::after {
   content: "";
   position: absolute;
   display: block;
   z-index: -1;
   left: 60px;
   right: 60px;
   top: 50%;
   bottom: 2px;
   -webkit-box-shadow: 0 20px 40px 0 rgba(153, 67, 67, 0.3);
   box-shadow: 0 20px 40px 0 rgba(153, 67, 67, 0.3);
}

#teaserBox .teaserText {
   padding: 30px 15px;
   font-weight: 300;
   line-height: 1.4;
}

@media (min-width: 768px) {
   #teaserBox .teaserText {
      font-size: 1.125rem;
   }
}

@media (min-width: 992px) {
   #teaserBox .teaserText {
      padding-top: 55px;
      padding-bottom: 55px;
   }
}

#teaserBox .teaserText a {
   margin-top: 15px;
   font-size: 0.875rem;
}

#teaserBox .bannerImg {
   display: block;
   min-height: 200px;
   background-position: center;
   background-size: cover;
   background-repeat: no-repeat;
   position: relative;
   overflow: hidden;
}

#teaserBox .bannerImg img {
   position: absolute;
   left: 50%;
   top: 50%;
   max-width: 120%;
   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;
}

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

address {
   font-style: normal;
}

#footer {
   background: #fffddb;
   padding-top: 40px;
   padding-bottom: 40px;
   color: #444444;
   font-size: 1rem;
}

@media (max-width: 991px) {
   #footer>.row>div+div::before {
      background: rgba(135, 119, 119, 0.15);
      content: " ";
      height: 1px;
      width: 100%;
      display: block;
      margin: 25px 0;
   }
}

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

   #footer>.row>div+div:nth-child(2):before {
      display: none;
   }

   #footer>.row>div+div::before {
      margin: 35px 0;
   }
}

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

#footer>.row>div:last-child>div+div {
   margin-top: 30px;
}

#footer a {
   color: #444444;
   text-decoration: underline;
}

#footer a:hover,
#footer a:focus {
   color: #005c99;
}

#footer .footerHeadline {
   color: #005c99;
   font-weight: 700;
   margin: 0 0 15px 0;
   font-size: 1.25rem;
   text-transform: uppercase;
}

#footer .footerHeadline.gap {
   margin-top: 30px;
}

@media (min-width: 992px) {
   #footer .footerHeadline.gap {
      margin-top: 40px;
   }
}

#footer iframe,
#footer .iframe-wrapper-manual-enabling {
   width: 100% !important;
   display: block !important;
   min-width: 100% !important;
}

.shadow {
   position: relative;
   display: block;
   z-index: 1;
   margin-left: auto;
   margin-right: auto;
}

.shadow::after {
   content: "";
   position: absolute;
   display: block;
   z-index: -1;
   left: 60px;
   right: 60px;
   top: 80%;
   bottom: 2px;
   -webkit-box-shadow: 0 20px 40px 0 rgba(153, 67, 67, 0.3);
   box-shadow: 0 20px 40px 0 rgba(153, 67, 67, 0.3);
}

.shadowContainer {
   width: 100%;
}

.shadowContainer>.shadow {
   width: auto;
   display: inline-block;
}

/* --------------------------------------------- counter -------------------------------------------- */

#counter {
   width: 100%;
   max-width: 260px;
   text-align: justify;
   text-align-last: justify;
   margin-left: auto;
   margin-right: auto;
}

@media (min-width: 768px) {
   #counter {
      font-size: 1.15rem;
   }
}

@media (min-width: 992px) {
   #counter {
      margin-right: 0;
      font-size: 1.25rem;
   }
}

#counter span {
   padding-left: 26px;
   position: relative;
   font-weight: 700;
   color: #005c99;
}

#counter span::before {
   content: "";
   display: block;
   position: absolute;
   left: 0;
   top: 50%;
   margin-top: -8px;
   width: 20px;
   height: 20px;
   background: url("../img/icon-besucher.png") center no-repeat;
}

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

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

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

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

#vernetzt span {
   color: #444444;
}

#vernetzt span span {
   display: block;
}

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

/* -------------------------------------------- innerfooter -------------------------------------------- */

#innerfooter {
   color: #444444;
   font-size: 1rem;
   padding-top: 30px;
   padding-bottom: 30px;
}

@media (min-width: 768px) {
   #innerfooter {
      padding-top: 40px;
      padding-bottom: 40px;
   }
}

.footer_list ul {
   padding: 0;
}

.footer_list li {
   display: inline-block;
}

#innerfooter p {
   display: inline-block;
}

@media (min-width: 992px) {
   #innerfooter p::after {
      display: inline-block;
      margin: 0;
   }
}

#innerfooter p {
   flex-grow: 1;
}

#innerfooter li {
   display: inline-block;
   position: relative;
}

#innerfooter .tabContent {
   text-transform: uppercase;
}

#innerfooter a {
   color: #444444;
   text-decoration: none;
   display: inline-block;
   font-weight: 400;
   text-transform: uppercase;
}

#innerfooter a:hover,
#innerfooter a:focus {
   color: #005c99;
}

#innerfooter li+li {
   margin-left: 30px;
}

@media (min-width: 992px) {
   #innerfooter li+li {
       margin-left: 50px;
   }
}

#innerfooter li+li::before {
   content: "|";
   position: absolute;
   left: -17px;
   color: #444444;
   top: 0;
}

@media (min-width: 992px) {
   #innerfooter li+li::before {
       left: -27px;
   }
}