@import url("https://fonts.verwaltungsportal.de/css/?family=Oswald:400,600,400i,600i");
@import url("https://fonts.verwaltungsportal.de/css/?family=Ubuntu:400,400i,700,700i");

body {
   font-family: "Ubuntu", sans-serif;
   color: #252525;
   background: #ffffff;
   font-size: 1rem;
   /* 1rem = 16px */
   line-height: 1.6;
}

body:not(.noListStyle) main ul:not([class*="menue"]):not([class*="slick-dots"]):not(.rsbtn_toollist) li:not(.gallery-list-item):not(.album-list-item):not(.entry)::before {
   top: 20px;
}

a {
   color: #1c559b;
}

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

b,
strong {
   font-weight: 700;
}

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

#topbar {
   padding-top: 12px;
   padding-bottom: 12px;
   outline: 2px solid #1c559b;
}

#topbar>.row {
   row-gap: 12px;
}

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

#logo {
   display: inline-block;
}

#logo img {
   display: block;
}

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

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

#style {
   flex-shrink: 0;
   line-height: 1;
   flex-wrap: wrap;
}

#style button {
   font-weight: 400;
   font-size: 0.875rem;
   padding: 0;
   border: none;
   color: #ffffff;
   background: #246cc5;
   display: inline-block;
   min-width: 33px;
   min-height: 33px;
   border-radius: 50%;
   text-align: center;
   position: relative;
   transition: background 150ms linear;
}

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

#style button:is(:hover, :focus) {
   background: #1c559b;
}

/* ----------------------------------------------- contrast_style ----------------------------------------------- */

@media (min-width: 992px) {

   :is(#contrast_style, #style) h2 {
      font-size: 1rem;
      font-weight: 400;
      font-family: "Ubuntu", sans-serif;
      color: #252525;
      hyphens: auto;
      margin: 0 0 15px 0;
   }

   #contrast_style {
      line-height: 0;
      flex-wrap: wrap;
   }

   #contrast_style button {
      border: none;
      background: #e5e5e5;
      padding: 0;
      min-width: 33px;
      min-height: 33px;
      border-radius: 50%;
      transition: background 150ms linear;
   }

   #contrast_style button+button {
      margin-left: 9px;
   }

   #contrast_style button:is(:hover, :focus) {
      background: #c3c3c3;
   }
}

/* ------------------------------------------- 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: #1c559b;
      color: #ffffff;
      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;
      border-bottom: 1px solid #ebebeb;
      padding-bottom: 20px;
   }

   .navbar-collapse {
      top: 0;
      background: #246cc5;
      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;
   }

   .secondandthird-wrapper {
      display: none;
   }

   .dropdown-toggle-button-wrapper {
      top: 5px;
   }

   .dropdown-toggle-button-wrapper2 {
      top: 4px;
   }
}

@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) {
   .horizontally {
      background: #1c559b;
   }

   .secondandthird-only {
      padding: 10px 0;
      border: 1px solid #ebebeb;
   }

   .secondandthird-wrapper {
      width: 100%;
      max-width: 270px;
   }

   #menuLeft,
   #menuLeft-sticky-wrapper {
      z-index: 100 !important;
   }

   .is-sticky #menuLeft {
      margin-top: 75px;
      width: 100%;
      max-width: 270px;
   }

   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;
      flex-wrap: wrap;
   }

   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[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;
   }

   .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul,
   .navbar-default .navbar-nav li[class*="secondlevel"]:hover>u {
      z-index: 1003;
   }
}

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

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

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

@media (min-width: 576px) {
   .navbar-default .navbar-nav>li>a {
      text-align: left;
      padding-left: 35px;
      padding-right: 35px;
   }
}

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

   .navbar-default .navbar-nav>li+li {
      margin-left: 15px;
   }
}

@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 {
   background-color: #246cc5;
}


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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a,
.secondandthird-only>li>a,
.secondandthird-only>li>.dropdown-menu>li>a {
   background: #ffffff;
   font-weight: 400;
   text-align: left;
   padding: 10px 18px;
   font-size: 1rem;
   line-height: 1.2;
   text-decoration: none;
   color: #252525;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.secondandthird-only>li>a {
   font-weight: 700;
}

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

@media (min-width: 576px) and (max-width: 991px) {

   .navbar-default .navbar-nav>li>.dropdown-menu>li>a,
   .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a,
   .secondandthird-only>li>a,
   .secondandthird-only>li>.dropdown-menu>li>a {
      text-align: left;
      padding-left: 35px;
      padding-right: 35px;
   }
}

@media (min-width: 992px) {

   .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a,
   .secondandthird-only>li>.dropdown-menu>li>a {
      padding: 10px 18px 10px 30px;
   }
}

/* ------------------------------------------ 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,
.secondandthird-only>li>a:hover,
.secondandthird-only>li>a:focus,
.secondandthird-only>li.open>a,
.secondandthird-only>li[class$="_over"]>a {
   background: #246cc5;
   color: #ffffff;
}

.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,
.secondandthird-only>li>.dropdown-menu>li>a:hover,
.secondandthird-only>li>.dropdown-menu>li>a:focus,
.secondandthird-only>li>.dropdown-menu>li.open>a,
.secondandthird-only>li>.dropdown-menu>li[class$="_over"]>a {
   background: #f3f3f3;
}


/* --------------------------------------------- Banner -------------------------------------------- */
#slider {
   max-height: 240px;
   overflow: hidden;
   position: relative;
}

@media (min-width: 992px) {
   #headerpic a.nivo-prevNav {
      left: 65px;
   }

   #headerpic a.nivo-nextNav {
      right: 65px;
   }
}

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

#contentArea {
   text-align: left;
   padding: 30px 0 40px 0;
}

@media (min-width: 992px) {
   #contentArea {
      padding: 60px 0 80px 0;
   }
}

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

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

h1,
.h1 {
   font-size: 1.6rem;
}

@media (min-width: 768px) {

   h1,
   .h1 {
      font-size: 1.875rem;
   }
}

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

@media (min-width: 768px) {

   h2,
   .h2 {
      font-size: 1.7rem;
   }
}

h3,
.h3 {
   font-size: 1.6rem;
}

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

h5,
.h5 {
   font-size: 1.4rem;
}

h6,
.h6 {
   font-size: 1.3rem;
}

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

/* ------------------------------------------------ @3tab ----------------------------------------------- */

#tab3 {
   padding: 35px 0;
   background-color: #4f88d0;
}

@media (max-width: 991px) {
   #tab3 {
      padding: 30px 0;
   }
}

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

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

#tab3 .tab {
   color: #252525;
   font-size: 1rem;
   font-weight: 400;
   min-height: 100%;
   padding: 25px;
   background-color: #ffffff;
   box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
   -webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
   -moz-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

#tab3 .tab .tabHeadline {
   display: block;
   color: #246cc5;
   font-size: 1.375rem;
   font-weight: 600;
   margin-bottom: 15px;
   padding-bottom: 10px;
   border-bottom: 2px solid #1c559b;
}

#tab3 .tab a {
   color: #246cc5;
}

#tab3 .tab a[href^="mailto:"] {
   text-decoration: underline;
}

#tab3>.row>div:last-of-type {
   position: relative;
}

@media (min-width: 992px) {
   #tab3>.row>div:last-of-type::after {
      content: "";
      position: absolute;
      top: -4.4271vw;
      right: -3.6458vw;
      background: url(../img/logo-meissen-inklusiv-ev-tab.png);
      pointer-events: none;
      background-size: contain;
      width: 7.1875vw;
      height: 7.2396vw;
      max-width: 138px;
      max-height: 139px;
   }
}

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

footer {
   background-color: #1c559b;
   padding-top: 30px;
   padding-bottom: 30px;
   color: #ffffff;
}

#innerfooter ul {
   padding: 0;
}

#innerfooter li {
   display: block;
}

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

#innerfooter a:hover,
#innerfooter a:focus {
   color: #ffffff;
}

@media (min-width: 500px) {
   #innerfooter li {
      display: inline-block;
   }

   #innerfooter li+li::before {
      content: "|";
      margin: 0 10px;
      color: #ffffff;
   }
}

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

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

#vernetzt {
   text-align: right;
   font-size: 0.8125rem;
   color: #ffffff;
   line-height: 1.3;
   margin: 30px auto 0 auto;
}

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

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

#vernetzt b {
   color: #ffffff;
}

#vernetzt span {
   color: #ffffff;
}

#vernetzt span span {
   display: block;
}

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