@import url('https://fonts.verwaltungsportal.de/import/?family=Roboto:400,300,600');

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

a {
    color: #2487c9;
}

a:hover {
    color: #2487c9;
}

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

#content {
    line-height: 1.3em;
    text-align: left;
    min-height: 400px;
    padding-top: 25px;
    padding-bottom: 80px;
}


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

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

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

#footer1 {
    min-height: 10px;
    background: #1d1d1d;
    color: #fff;
    padding-top: 30px;
    padding-bottom: 30px;
}

/*  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: 30px;
        padding-bottom: 10px;
    }
}

#innerfooter {
    line-height: 20px;
    color: #fff;
    font-weight: normal;
    font-style: normal;
}

#innerfooter a {
    color: #fff;
    text-decoration: none;
}

#innerfooter a:hover {
    color: #3a93cf;
    font-weight: normal;
}


/* ########################################### custom-section ########################################### */
.wcom-default {
    margin: 0 auto;
}

@media (min-width: 992px) {
    #bg-left {
        margin-bottom: 30px;
        margin-top: 20px;
    }

    #bg-right {
        margin-bottom: 30px;
        margin-top: 20px;
    }
}

#topbar {
    min-height: 80px;
    line-height: 37px;
    background-color: #ffffff;
    position: relative;
}

#topbar:after {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    bottom: 0px;
    right: 0;
    height: 5px;
    background: #3c8cbb;
    background: linear-gradient(to right, #3c8cbb 0%,#a0a183 100%); 
}

/* xs, sm */
@media (max-width: 991px) {
    /* spacing */
    #topbar .row > div{
        padding-top: 5px;
        padding-bottom: 5px;
    }

    #topbar {
        min-height: 20px;
    }
}


#counter{
    color: #2c2c2c;
    line-height: 10px;
    padding: 0px;
    background: #fff;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.2);
    margin-top: 20px;
    margin-bottom: 5px;
}

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

#counter-name {
    background: #2487c9;
    color: #fff;
    float: left;
    padding: 10px;
}

#counter1 {
    padding: 10px 10px 10px 110px;
}

#logo {
    position: relative;
    z-index: 39;
    min-height: 10px;
    margin-bottom: -50px;
}

@media (min-width: 992px) {
    #logo {
        position: absolute;
        margin-bottom: 0;
    }
}

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

#logo img {
    margin: 0 auto;
}

@media (max-width: 767px) {
    #logo img {
        max-width: 70%;
    }
}

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

/*  xs  */
@media (max-width: 767px) {
    /*  custom stuff here  */
}

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


#headerpic,
#slider {
    max-height: 225px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-mask{
    display: none;
    background: url('../img/slider_mask.jpg') top center no-repeat;
    background-size: contain; /* remove if not correctly sliced */
}



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


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

.box {
    width: 100%;
    background: #fff;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

.box1 {
    width: 100%;
    background: none;
    margin-top: 14px;
}

@media (max-width: 991px) {
    .box1 {
        margin-top: 0px;
    }
}

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

.boxtop {
    background: url('../img/icon1.png') center left no-repeat #fff;
    color: #622f2c;
    font-size: 18px;
    font-family: Roboto, sans-serif;
    min-height: 40px;
    text-transform: uppercase;
    line-height: 40px;
    font-weight: normal;
    padding-left: 50px;
}

.boxtop1 {
   background: url('../img/icon2.png') center left no-repeat #fff;
    color: #622f2c;
    font-size: 18px;
    font-family: Roboto, sans-serif;
    min-height: 40px;
    text-transform: uppercase;
    line-height: 40px;
    font-weight: normal;
    padding-left: 50px;
}

.boxtop2 {
   background: url('../img/icon3.png') center left no-repeat #fff;
    color: #622f2c;
    font-size: 18px;
    font-family: Roboto, sans-serif;
    min-height: 40px;
    text-transform: uppercase;
    line-height: 40px;
    font-weight: normal;
    padding-left: 50px;
}

.boxbody {
    background: #fff;
}

@media (min-width: 992px) {
    .boxbody {
        min-height: 50px;
    }
}

.boxbody1 {
    background: #fff;
    min-height: 50px;
}


.boxindent {
    color: #2c2c2c;
    padding: 5px 10px;
    margin: 0 auto;
}

#page-383663 {
    padding: 5px;
    background: rgb(36,135,201); /* Old browsers */
    background: -moz-linear-gradient(left, rgba(36,135,201,1) 0%, rgba(188,167,115,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(36,135,201,1) 0%,rgba(188,167,115,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(36,135,201,1) 0%,rgba(188,167,115,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
/* ----------------------------------------------- styler ----------------------------------------------- */



#style {
    min-height: 34px;
    margin-top: 20px;
}

#styler {
    color: #2c2c2c;
    line-height: 34px;
    float: left;
    text-align: right;
}

#switch {
    float: right;
}

.a, .aa, .aaa {
    display: block;
    width: 40px;
    height: 34px;
    float: left;
    padding: 0;
    margin: 0 0 0 0px;
    font-size: 1px;
    line-height: 1px;
}

.a {
    background: url('../img/a.png') top center no-repeat;
}

.a:hover {
    background: url('../img/a_over.png') top center no-repeat;
}

.aa {
    background: url('../img/aa.png') top center no-repeat;
}

.aa:hover {
    background: url('../img/aa_over.png') top center no-repeat;
}

.aaa {
    background: url('../img/aaa.png') top center no-repeat;
}

.aaa:hover {
    background: url('../img/aaa_over.png') top center no-repeat;
}

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

#search {
    height: 38px;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.2);
    width: 100%;
    margin-top: 5px;
    margin-bottom: 15px;
}

#search_form{
    height: 38px;
    float: right;
    background: #fff;
    width: 100%;
}

#search_input {
    width: 78%;
    float: left;
    color: #2c2c2c;
    font-size: 12px;
    font-style: normal;
    background: transparent;
    vertical-align: top;
    padding: 0;
    border: 0;
    line-height: 38px;
    padding-left: 10px;
    height: 38px;
}

#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: 38px;
}

@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%;
    }
}

#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: #622f2c;
    font-weight: normal;
    line-height: 1.2em;
    font-family: Roboto, sans-serif;
}

/*
h1, #content .legacy_h1, .legacy_h1 {

}
*/

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


/* ------------------------------------------------ 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: #2c2c2c;
    font-weight: bold;
}

.tab_link {
    color: #2c2c2c;
}

.tab_link_mehr {
    color: #2487c9;
}

.tab_link_mehr a {
    color: #2487c9;
}

.tab_link_mandat a {
    color: #2487c9;
}



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

#menu {
    background: #2487c9;
}

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

/* ------------------------------------ navigation left/right (20049) ----------------------------------- */

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

/* burgermenu - background */
.navbar-default .navbar-toggle,
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background: #2487c9;
    border-color: transparent;
}

/* burgermenu for tablet */
@media (max-width: 991px) {
    .navbar-default ul.navbar-nav {
      height: auto;
    }
  
    .navbar-collapse {
      position: fixed;
      padding: 0;
      left: -100%;
      top: 0;
      bottom: 0;
      z-index: 100;
      width: 70%;
      background: #2487c9;
      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);
      border: none;
      opacity: 0;
      pointer-events: none;
      -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::after {
      content: "";
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: 30%;
      z-index: -1;
      pointer-events: none;
      display: block;
      background-color: rgba(0, 0, 0, 0.5);
    }
  
    .navbar-collapse.collapse.in,
    .navbar-header .collapse, .navbar-toggle {
      left: 0;
      opacity: 1;
      border: none;
      pointer-events: auto;
      z-index: 60;
    }
  
    .navbar-header, .navbar-nav>li {
      float: none;
    }
  
    .navbar-nav {
      max-width: 400px;
      float: none;
      margin: 12px auto;
      padding-top: 12px;
    }
  
    .navbar-nav li .dropdown-menu {
      position: static;
      float: none;
      width: auto;
    }
  
    .navbar-toggle {
      position: fixed;
      right: 15px;
      top: 12px;
      z-index: 101;
      left: auto;
      margin: 0 !important;
      padding: 6px 5px;
      line-height: 0;
      display: block;
      -webkit-transition: background 300ms linear;
      -moz-transition: background 300ms linear;
      -ms-transition: background 300ms linear;
      -o-transition: background 300ms linear;
      transition: background 300ms linear;
    }
  
    #myNavbar.navbar-collapse.collapse {
      overflow-y: auto !important;
    }
}

/* Left Navigation */
@media (min-width: 992px) {
    .navbar-nav {
        float: none;
        margin: 0 -15px;
    }
    .navbar-nav > li {
        float: none !important;
        text-align: left;
    }
    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
    }
    .navbar-header {
        float: none;
    }
}

.navbar-nav li .dropdown-menu{
    position: relative;
    width: 100%;
    float: none;
}

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

.navbar-default .navbar-nav > li > a {
    line-height: 25px;
    color: #fff;
    font-weight: normal;
    background-color: #2487c9;
    text-align: left;
    margin-left: 10px;
    margin-right: 10px;
    border-bottom: 1px solid #1f73ab;
}

@media (max-width: 1199px) {
    .navbar-default .navbar-nav > li > a {
        padding-left: 0;
        padding-right: 0;
    }
}

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

/* Toplevel - Over */
.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_20049_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_20049_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_20049_over > a:focus {
    color: #2c2c2c;
    font-weight: normal;
    background-color: #fff;
}

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

.dropdown-menu {
    padding: 0;
}

.navbar-default .navbar-nav > li > .dropdown-menu {
    background: #3a93cf;
    margin-left: 10px;
    margin-right: 10px;
}

.menue_group_20049_start{
    display: none;
}

.menue_group_20049_end{
    display: none;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    background-color: transparent; 
    color: #fff;
    font-weight: normal;
    line-height: 25px;
    text-align: left;
    background-color: #3a93cf;
    padding-left: 20px;
}

/* ------------------------------------------ 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_20049_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_20049_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_20049_over > a:focus {
    font-weight: bold;
    color: #fff;
    font-weight: normal;
    background: url('../img/secondlevel_over.png') center left no-repeat;
    background-color: #3a93cf;
}

/* --------------------------------------- thirdlevel dropdown-box -------------------------------------- */
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    background: #4e9ed4;
    border-top: 1px solid #2a6084;
    border-bottom: 1px solid #2a6084;

}

.menue_list_thirdlevel_20049_start {
    display: none;
}

.menue_list_thirdlevel_20049_end {
    display: none;
}

/* --------------------------------------------- thirdlevel --------------------------------------------- */
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    background-color: transparent; 
    color: #fff;
    font-weight: normal;
    line-height: 25px;

    background-color: #4e9ed4;
    padding-left: 40px;
}

/* ------------------------------------------ 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_20049_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_20049_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_20049_over > a:focus
{
    color: #fff;
    font-weight: normal;
    background: url('../img/thirdlevel_over.png') center left no-repeat;
    background-color: #4e9ed4;
}
