@import url('https://fonts.verwaltungsportal.de/import/?family=Playfair+Display:400,400i,700,900');
@import url('https://fonts.verwaltungsportal.de/import/?family=Poppins:300,400,400i,500,500i,600,700');

body {
    font-family: 'Poppins', sans-serif;
    color: #5e5e5e;
    background: #fff;
}

a {
    color: #0092ce;
}

a:hover {
    color: #0092ce;
}

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

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


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



#footer {
    margin-top: 20px;
    background: #0091cd;
    padding-top: 25px;
    padding-bottom: 25px;
    color: #ffffff;
}

@media (max-width: 991px) {
    #footer .row > .col-xs-12:not(:first-child)::before {
        background: #ffffff;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 5px 0;
        opacity: 0.25;
    }

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

@media (min-width: 768px) {
    #footer .row > .col-xs-12:nth-child(2)::before,
    #footer .row > .col-xs-12:nth-child(3)::before {
        display: none;
    }
}

@media (min-width: 768px) {
    #footer .row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        align-content: center;
    }
}

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

    #footer::after {
        background: #ffffff;
        content: " ";
        position: absolute;
        left: 50%;
        top: 50px;
        bottom: 50px;
        width: 1px;
        display: block;
        opacity: 0.25;
    }

    #footer .row > div {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    #footer .row > div:nth-child(2) {
        padding-right: 30px;
    }

    #footer .row > div:nth-child(3) {
        padding-left: 30px;
    }
}

#innerfooter a {
    color: #fff;
    text-decoration: none;
    display: inline;
    font-weight: 400;
}

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

#innerfooter a::after { 
    content: "\A";
    white-space: pre; 
}

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

#vernetzt {
    text-align: left;
    font-size: 80%;
    color: #fff;
    line-height: 140%;
    margin: 0 auto;
    font-weight: 300;
}

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

@media (min-width: 768px) and (max-width: 991px) {
    #vernetzt,
    #vernetzt > span {
        display: block;
    }

    #vernetzt img {
        margin-bottom: 10px;
    }
}

#vernetzt b {
    color: #fff;
    font-weight: 400;
}

#vernetzt span {
    color: #fff;
}

#vernetzt span span {
    display: block;
}

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

/* ------------------------------------------------- kontakt ------------------------------------------------ */

#kontakt .tabHeadline {
    font-family: 'Playfair Display', serif;
    margin: 0 0 20px 0;
}

#kontakt a {
    color: #fff;
    text-decoration: underline;
}

/* ----------------------------------------------- scroll top ----------------------------------------------- */

#scrollTop {
    font-size: 0;
    border: 1px solid #ffffff;
    border-radius: 3px;
    width: 40px;
    height: 40px;
    display: block;
    position: relative;
    margin: 0 auto;
}

@media (min-width: 992px) {
    #scrollTop {
        float: right;
    }
}

#scrollTop::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 5px;
    width: 13px;
    height: 13px;
    border-radius: 3px;
    margin-top: 10px;
    display: inline-block;
    border-right: 3px solid #ffffff;
    border-top: 3px solid #ffffff;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: border 300ms linear;
    -moz-transition: border 300ms linear;
    -ms-transition: border 300ms linear;
    -o-transition: border 300ms linear;
    transition: border 300ms linear;
}


#content_footer {
    margin-top: 40px;
    height: auto;
    font-size: 80%;
    border-top: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 479px) {
    #contentbottom_left,
    #contentbottom_right {
        width: 100% !important;
        text-align: center !important;
    }

    .content_footer, #content_footer {
        height: auto !important;
    }
}

@media (max-width: 499px) {
    #breadcrumbincontent,
    #contenttop_right {
        width: 100%;
    }
}

#content_footer a {
    text-decoration: none;
}


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

.theme-default .nivo-controlNav {
    margin: 50px auto !important;
}

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

    .theme-default .nivo-controlNav {
        margin: 0px auto;
    }
}

#logo {
    min-height: 10px;
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid #d7d7d7;
    margin-bottom: 25px;
}

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

#logo img {
    margin: 0 auto;
}

/* small logo */
#navbar-logo{
    max-width: 70%;
    display: inline-block;
}

#navbar-logo img{
    max-width: 100%;
}

#vernetzt {
    /* padding: 10px 0; */
}

/* xs, sm */
@media (max-width: 991px) {
    /*
    #vernetzt {
        padding: 20px 0px 0px 0px;
    }
    */
}

#content_buttons_div {
    top: 45%;
}

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

/* 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 {
    max-height: 570px;
    margin: 0 auto;
    overflow: hidden;}




/* 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: url('../img/bg_box.png') right bottom no-repeat #0092ce;
    border-radius: 8px;
    min-height: 180px;
    -webkit-box-shadow: 0px 4px 15px 0px rgba(0,0,0,0.07);
    -moz-box-shadow: 0px 4px 15px 0px rgba(0,0,0,0.07);
    box-shadow: 0px 4px 15px 0px rgba(0,0,0,0.07);
    margin-bottom: 15px;
    margin-top: 15px;
}

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

.boxtop {
    background: none;
    color: #fff;
    font-size: 18px;
    font-family: 'Playfair Display', serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: normal;
    border-bottom: 1px solid #fff;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
}

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


.boxindent {
    width: 88%;
    padding: 10px 0;
    margin: 0 auto;
}

.box a {
    color: #fff;
    text-decoration: underline;
}


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



#style {
    min-height: 10px;
    line-height: 10px;
    color: #fff;
    background: rgba(0,0,0,0.75);
    padding: 12px;
    width: 18%;
    text-align: center;
    border-radius: 8px 8px 0px 0px;
    float: right;
    margin-top: -35px;
    z-index: 50;
}

#style a {
    color: #fff;
}

#style a:hover {
    color: #fff;
}


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

#search {
    height: 124px;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
    -webkit-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.18);
    -moz-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.18);
    box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.18);
    border-radius: 8px;
}

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

#search_text {
    font-family: 'Playfair Display', serif;
    color: #393939;
    font-size: 18px;
    font-weight: bold;
    line-height: 62px;
    padding-left: 10px;
    float: left;
    text-align: left;
    width: 100%;
}

#search_form{
    height: 62px;
    float: right;
    background: #f1f1f1;
    width: 100%;
}

#search_input {
    width: 74%;
    float: left;
    border-top: 1px solid #dddddd;
    color: #393939;
    font-size: 12px;
    font-style: normal;
    background: transparent;
    vertical-align: top;
    padding: 0;
    border: 0;
    line-height: 62px;
    padding-left: 10px;
    height: 62px;
}

#search_submit {
    width: 24%;
    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: 62px;
}

@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: #0092ce;
    font-weight: normal;
    line-height: 1.2em;
    font-family: 'Playfair Display', serif;
}

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


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

.tab_link_mehr a {
    color: #fff;
}

.tab_link_mandat a {
    color: #fff;
}



/* -------------------------------- 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: #fff;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.18);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.18);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.18);
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    position: relative;
    z-index: 20;
    margin-top: -85px;
}

@media (max-width: 991px) {
    #menu {
        margin-bottom: 0px;
        margin-top: 0px;
    }
}

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

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

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

/* burgermenu - mouseover */
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: rgba(0, 145, 204, .2);
}

/* burgermenu for tablet */
@media (max-width: 991px) {
    .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;
    }

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

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

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

    /* burgermenu - centre text */
    .navbar-default .navbar-nav a{
        text-align: center !important;
    }

    .navbar-nav .menue_point_toplevel_20918_over > .dropdown-menu,
    .navbar-nav .menue_point_secondlevel_20918_over > .dropdown-menu
    {
        display: block !important;
    }
}

/* menu fixed top (tablet) */
@media (max-width: 991px) {
    #menu-wrapper {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        background-color: #ffffff;
        z-index: 9;
        border-radius: 0px;
    }

    /* prevents the top-content from beeing hidden behind the navbar */
    #maindiv{
        padding-top: 0px;
    }

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

/* 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: 20px;
    text-indent: 10px;    
    color: #5e5e5e;
    font-weight: normal;
    background: url('../img/toplevel.png') center right no-repeat;
    text-align: left;
    padding-right: 60px;
}

/* -------------------------------------------- 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_20918_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_20918_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_20918_over > a:focus {
    color: #fff;
    font-weight: normal;
    background: url('../img/toplevel_over.png') center right no-repeat #545454;
}

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

.dropdown-menu {
    padding: 0;
}

.navbar-default .navbar-nav > li > .dropdown-menu {

}

.menue_group_20918_start{
    display: none;
}

.menue_group_20918_end{
    display: none;
}

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

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

/* ------------------------------------------ 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_20918_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_20918_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_20918_over > a:focus {
    font-weight: bold;
    color: #0092ce;
    font-weight: normal;

}

/* --------------------------------------- thirdlevel dropdown-box -------------------------------------- */
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    margin: 5px 0px;
}

.menue_list_thirdlevel_20918_start {
    display: none;
}

.menue_list_thirdlevel_20918_end {
    display: none;
}

/* --------------------------------------------- thirdlevel --------------------------------------------- */
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    background-color: transparent; 
    color: #5e5e5e;
    font-weight: normal;
    line-height: 9px;
    background: url('../img/thirdlevel.png') center left no-repeat;
    padding-right: 10px;
    padding-left: 75px;
}

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