@import url('https://fonts.verwaltungsportal.de/import/?family=Roboto+Condensed:400,400i,700');
@import url('https://fonts.verwaltungsportal.de/import/?family=Cairo:400,700,900');

body {
  font-family: 'Roboto Condensed', sans-serif;
  color: #2c2c2c;
  background: #fff;
}

a {
  color: #645335;
}

a:hover {
  color: #645335;
  text-decoration: underline;
}

a:focus {
  border: 2px #ff0000 solid;
}

#maindiv {
  width: 100%;
  line-height: 1.3em;
  text-align: left;
}

#content {
  line-height: 1.3em;
  text-align: left;
  min-height: 300px;
  padding-top: 10px;
  padding-bottom: 50px;
}

#readspeaker_button1 {
  max-width: 1140px;
  margin: 0 auto;
  margin-top: 5px;
}

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

/* change to #footer for inner-containment */
#footer-wrapper {
  background-color: #575756;
}

#footer {
  min-height: 100px;
  color: #f0d000;
  padding-top: 10px;
  padding-bottom: 10px;
}

/*  xs  */
@media (max-width: 767px) {

  /* xs-footer-separator (lines) */
  #footer .row>.col-xs-12:not(:first-child)::before {
    background: none;
    content: " ";
    height: 1px;
    width: 100%;
    display: block;
    margin: 5px 0;
  }

  #footer .row>.col-xs-12.hidden-xs~.col-xs-12::before,
  #footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
    display: none;
  }
}

/* xs, sm */
@media (max-width: 991px) {
  #footer {
    padding: 5px 15px;
  }
}

/* md, lg */
@media (min-width: 768px) {

  /* footer-spacer-top */
  #footer>.row {
    padding-top: 0px;
    padding-bottom: 0px;
  }
}

#innerfooter {
  line-height: 20px;
  color: #f0d000;
  font-weight: bold;
  font-style: normal;
  padding-top: 35px;
}

#innerfooter a {
  color: #f0d000;
  text-decoration: none;
  padding: 45px 5px;
}

#innerfooter a:hover {
  color: #575756;
  background: #f0d000;
}

@media (max-width: 600px) {
  #innerfooter a {
    width: 100%;
    display: block;
  }

  #innerfooter a+a {
    margin-top: -25px;
  }

  #innerfooter {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 991px) {
  #innerfooter {
    line-height: 30px;
  }

  #innerfooter a {
    color: #f0d000;
    text-decoration: none;
    padding: 10px 5px;
  }
}

#innerfooter1 {
  line-height: 20px;
  color: #2c2c2c;
  font-weight: normal;
  font-style: normal;
  padding-top: 9px;
}

#innerfooter1 a {
  color: #2c2c2c;
  text-decoration: none;
}

#innerfooter1 a:hover {
  color: #f0d000;
  font-weight: normal;
}

/* ########################################### custom-section ########################################### */

#abstand {
  padding-left: 90px;
  padding-right: 90px;
}

#abstand1 {
  padding-left: 90px;
  padding-right: 90px;
}

@media (max-width: 991px) {
  #abstand {
    padding-left: 0px;
    padding-right: 0px;
  }

  #abstand1 {
    padding-left: 0px;
    padding-right: 0px;
  }

}

#sgtab-wrapper {
  background: url('../img/sgtab_bg.jpg') center center no-repeat;
  min-height: 300px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #000000;
}

#styleswitcher {
  background: #877247;
  height: 60px;
}

#position {
  position: absolute;
  width: 100%;
  z-index: 59;
}

#topbar {
  background-color: #ffffff;
  padding-left: 15px;
  padding-right: 15px;
}

/* xs, sm */
@media (max-width: 991px) {

  /* spacing */
  #topbar .row>div {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  #position {
    position: relative;
    width: 100%;
    z-index: 59;
  }

}

#menu-wrapper {
  background: none;
}


#logo {
  padding-top: 25px;
  padding-bottom: 5px;
  color: #575756;
  font-size: clamp(1.375rem,4vw,1.875rem);
  font-weight: 700;
  padding-left: 25px;
}

#logo b,
#logo strong {
    font-weight: 700;
    color: #877247;
}

#logo a {
  max-width: 100%;
  display: inline-block;
}

/* small logo */
#navbar-logo {
  max-width: 70%;
  display: inline-block;
  padding-top: 17px;
  padding-left: 10px;
}

#content_buttons_div {
  top: 45%;
}

/* xs, sm */
@media (max-width: 991px) {
  /*  custom stuff here  */

  /* hide side-labels */
  #content_buttons_div {
    display: none;
  }

  /* hide slider-mask */
  .slider-mask {
    display: none;
  }
}

.sticky-wrapper {
  position: relative;
  z-index: 51;
}


#headerpic {
  max-height: 490px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.theme-default .nivo-controlNav {
  padding: 50px 0 !important;
}

@media (max-width: 991px) {
  .theme-default .nivo-controlNav {
    padding: 0px 0;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .btgrid .row img {
    width: auto;
  }
}


/* --------------------------------------------- tab-section -------------------------------------------- */

.box {
  width: 100%;
  background: none;
  margin-top: 30px;
  margin-bottom: 10px;
}

.box *:not(.row) {
  max-width: 100%;
}

.boxtop {
  background: none;
  color: #e4c400;
  font-size: 28px;
  font-family: 'Cairo', sans-serif;
  min-height: 40px;
  line-height: 40px;
  font-weight: bold;
}

.boxbody {
  color: #fff;
  min-height: 50px;
}


.boxindent {
  color: #fff;
  width: 100%;
  padding: 5px 0;
  margin: 0 auto;
}

.boxindent a {
  color: #fff;
}

/* ----------------------------------------------- styler + contrast ----------------------------------------------- */

#style {
  min-height: 60px;
  background: #f0d000;
  padding-top: 6px;
  padding-bottom: 5px;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  align-content: center;
  align-items: center;
}

#styler {
  color: #575756;
  line-height: 18px;
  text-align: right;
  margin-right: 5px;
}

#switch {
  font-size: 1px;
  line-height: 1px;
  color: #575756;
}

#style button {
  width: 20px;
  height: 20px;
  font-size: 18px;
  background: transparent;
  padding: 0;
  border: none;
  color: #575756;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  position: relative;
  line-height: 1;
  -webkit-transition: color 150ms linear;
  -moz-transition: color 150ms linear;
  -ms-transition: color 150ms linear;
  -o-transition: color 150ms linear;
  transition: color 150ms linear;
}

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

#style button:hover {
  color: #575756;
}


#contrast_style {
  background-color: #fadf2c;
  color: #575756;
  min-height: 60px;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  align-content: center;
  align-items: center;
}

#contrast_style span {
  margin-right: 20px;
  line-height: 18px;
}

#contrast_style button {
  color: #000000;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.6);
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-weight: 400;
  text-align: center;
  background: #ffffff;
  position: relative;
  z-index: 1;
  font-size: 0;
}

#contrast_style button::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  left: -6px;
  top: -6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  -webkit-transition: opacity 150ms linear;
  -moz-transition: opacity 150ms linear;
  -ms-transition: opacity 150ms linear;
  -o-transition: opacity 150ms linear;
  transition: opacity 150ms linear;
}

#contrast_style *+* {
  margin-left: 10px;
}

#contrast_style button::after {
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  right: 3px;
  left: 3px;
  bottom: 3px;
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 50%;
}

#contrast_style button:nth-of-type(1)::after {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6) 50%, rgba(255, 255, 255, 1) 50%);
}

#contrast_style button:nth-of-type(2)::after {
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, rgba(0, 0, 0, 0.6) 50%);
}

#contrast_style button:nth-of-type(3)::after {
  background: #ea5b0c;
  border: none;
}

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

#search {
  height: 20px;
  width: 100%;
  margin-top: 35px;
}


#search_form {
  height: 32px;
  float: right;
  background: #fff;
  width: 100%;
  -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);
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}

#search_input {
  width: 75%;
  float: left;
  color: #575756;
  font-size: 12px;
  font-style: normal;
  background: transparent;
  vertical-align: top;
  padding: 0;
  border: 0;
  line-height: 20px;
  padding-left: 10px;
  height: 32px;
}

#search_submit {
  width: 18%;
  float: right;
  background: transparent;
  vertical-align: top;
  margin: 0 0 0 2px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: url('../img/search_submit.png') right no-repeat;
  line-height: 32px;
  font-size: 0 !important;
}

@media(max-width:991px) {
  #search_text {
    text-align: left;
    width: 15%;
  }

  #search_form {
    width: 100%;
  }
}

@media(max-width:768px) {
  #search {
    margin-bottom: 15px;
  }

  #search_text {
    text-align: left;
    width: 100%;
  }

  #search_form {
    width: 100%;
  }
}

/* --------------------------------------------- newsletter --------------------------------------------- */

#newsletter {
  height: 32px;
  width: 100%;
}

#newsletter_text {
  color: #fff;
  line-height: 26px;
  float: left;
  text-align: left;
  width: 100%;
  padding-top: 10px;
  font-size: 14px;
}

#newsletter_form {
  height: 32px;
  float: right;
  background: #fff;
  width: 100%;
  -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);
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}

#newsletter_input {
  width: 86%;
  float: left;
  color: #575756;
  font-size: 12px;
  font-style: normal;
  background: transparent;
  vertical-align: top;
  padding: 0;
  border: 0;
  line-height: 26px;
  padding-left: 10px;
  height: 32px;
}

#newsletter_submit {
  width: 12%;
  float: right;
  background: transparent;
  vertical-align: top;
  margin: 0 0 0 2px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: url('../img/news_submit.png') right no-repeat;
  line-height: 32px;
  font-size: 0 !important;
}

@media(max-width:991px) {
  #newsletter_text {
    text-align: left;
    width: 100%;
  }

  #newsletter_form {
    width: 100%;
  }
}

@media(max-width:768px) {
  #newsletter {
    margin-bottom: 15px;
  }

  #newsletter_text {
    text-align: left;
    width: 100%;
  }

  #newsletter_form {
    width: 100%;
  }
}

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

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

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

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

/* ------------------------------------------ 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: #877247;
  font-weight: bold;
  line-height: 1.2em;
  font-family: 'Cairo', sans-serif;
}

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

/* ------------------------------------------------ dark ------------------------------------------------ */

/* use if page is dark
.vorschau, .description{
    color: #FFFFFF;
}

.immo-tab{
    color: #000000;
}
*/

/* for white background */
#startseite_news ul a {
  font-size: 12px;
  color: #7c7c7c;
  font-weight: normal;
}


/* ---------------------------------------------- tab-fonts --------------------------------------------- */

.tab_link_title a {
  color: #fff;
  font-weight: normal;
}

.tab_link {
  color: #fff;
}

.tab_link_mehr {
  color: #877247;
}

.tab_link_mehr a {
  color: #877247;
}

.tab_link_mandat a {
  color: #877247;
}

/* -------------------------------- optimized events for white background ------------------------------- */

.weekdays, .weekdays a:link a:visited a:active a:hover, .weekdays_active {
  color: #cccccc;
}

.weekdays_active a:link a:visited a:active a:hover {
  color: #f7911e;
}

.events-header-heute {
  color: #ffffff;
  background-color: #4c4c4c;
}

.events-header {
  color: #5b5b5b;
  background-color: #e3e3e3;
}

.event-ort, .event-info {
  color: #4c4c4c;
}

/* ------------------------------------------------ menu ------------------------------------------------ */

.navbar-nav>li {
  display: inline-block !important;
}

#menu {
  background: #fff;
  border-bottom: 5px solid #debf00;
}

/* --------------------------------------- navigation bar (19339) --------------------------------------- */

.navbar-default ul.navbar-nav {
  height: 50px;
}

.navbar {
  min-height: 50px;
  margin-bottom: 0px;
  border: none;
}

/* burgermenu - background */
.navbar-default .navbar-toggle {
  background-color: #e4c400;
  border-color: transparent;
}

/* burgermenu - mouseover */
.navbar-default .navbar-toggle:focus {
  box-shadow: 0 0 0 2px #ff0000 inset;
  background-color: #e4c400;
}

.navbar-default .navbar-toggle:hover {
  background-color: #e4c400;
}

/* burgermenu for tablet */
@media (max-width: 991px) {
  .navbar-default ul.navbar-nav {
    height: 100vh;
    position: absolute;
    z-index: 100;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-content: baseline;
  }

  .navbar-collapse.collapse {
    display: none !important;
  }

  .navbar-collapse.collapse.in {
    display: block !important;
  }

  .navbar-header .collapse, .navbar-toggle {
    display: block !important;
  }

  .navbar-header, .navbar-nav>li {
    float: none;
    width: 100%;
  }

  .navbar-nav {
    float: none;
    margin: 7.5px -15px;
  }

  .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navbar-nav li .dropdown-menu {
    position: static;
    float: none;
    width: auto;
  }
}

@media (max-width: 991px) {

  /* fixed burgermenu - scrollable */
  #myNavbar {
    height: 100%;
    width: 100%;
    max-height: 350px;
    overflow-y: scroll !important;
    border-bottom: 1px solid #ccc;
    position: relative;
    min-height: 100vh;
  }
}

/*** Menü über komplette Breite (1200px) ***/
@media (min-width: 992px) {
  .navbar-default .navbar-nav {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
  }

  .navbar-default .navbar-nav>li {
    float: none;
    flex-grow: 1;
  }
}

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

.navbar-default .navbar-nav>li>a {
  color: #2c2c2c;
  font-weight: bold;
  text-align: center;
  padding: 15px 5px;
}

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

.navbar-default .navbar-nav>li:hover,
.navbar-default .navbar-nav>li:focus,
.navbar-default .navbar-nav>li.open,
.navbar-default .navbar-nav>li.menue_point_toplevel_19339_over {
  background-color: #575756;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li.open>a,
.navbar-default .navbar-nav>li.open>a:hover,
.navbar-default .navbar-nav>li.open>a:focus,
.navbar-default .navbar-nav>li.menue_point_toplevel_19339_over>a,
.navbar-default .navbar-nav>li.menue_point_toplevel_19339_over>a:hover,
.navbar-default .navbar-nav>li.menue_point_toplevel_19339_over>a:focus {
  color: #f0d000;
}

/* -------------------------------------- secondlevel dropdown-box -------------------------------------- */

@media(max-width:992px) {
  .navbar-default .navbar-nav>li>.dropdown-menu {
    margin-top: 0px;
  }
}

.navbar-default .navbar-nav>li>.dropdown-menu {
  padding: 0px;
  margin-top: 5px;
  background-color: #ffffff;
  -webkit-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
}

.menue_group_19339_start {
  height: 4px;
}

.menue_group_19339_end {
  height: 4px;
}

/* --------------------------------------------- secondlevel -------------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
  background-color: transparent;
  color: #877247;
  font-weight: bold;
  line-height: 25px;
  text-align: left;
  padding-left: 10px;
}

/* ------------------------------------------ secondlevel-over ------------------------------------------ */

.navbar-default .navbar-nav>li>.dropdown-menu>li>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li>a:focus,
.navbar-default .navbar-nav>li>.dropdown-menu>li.open>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li.open>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li.open>a:focus,
.navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_19339_over>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_19339_over>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_19339_over>a:focus {
  color: #010101;
  background-color: #f0d000;
}

/* --------------------------------------- thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
  padding: 0px;
  margin: 0;
  background-color: #ffffff;
  -webkit-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
}

.menue_point_secondlevel_19339_over>.dropdown-menu {
  display: block !important;
}

.menue_list_thirdlevel_19339_start {
  height: 4px;
}

.menue_list_thirdlevel_19339_end {
  height: 4px;
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    position: relative;
    margin-left: 0px;
  }

  .navbar-default .navbar-nav>li>.dropdown-menu>li {
    position: relative;
  }

  .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    position: absolute;
    left: 102%;
    top: 0;
  }
}

/* --------------------------------------------- thirdlevel --------------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
  background-color: transparent;
  color: #7F6D05;
  font-weight: bold;
  line-height: 25px;
  padding-left: 10px;
}

/* ------------------------------------------- thirdlevel-over ------------------------------------------ */

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_19339_over>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_19339_over>a:hover,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_19339_over>a:focus {
  color: #575756;
  background-color: #e4c400
}

/* special */

#opc-1424>div>div>p a {
  color: #fff !important;
}

#event-request-more {
  background-color: #fff !important;
}

#footer>.row>div:last-child {
  padding: 45px 15px;
}

#styleswitcher>.container>.row>div:nth-child(2) {
  display: flex;
  justify-content: end;
}

.dropdown-toggle-button-wrapper,
.dropdown-toggle-button-wrapper2 {
  display: block
}

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

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

.dropdown-toggle-button {
  background-color: transparent;
}

@media (max-width: 991px) {
  #vernetzt {
    margin-top: 20px;
  }
}

@media (min-width: 992px) {
  .offset-md-7 {
    margin-left: 33.333333%;
  }
}