@import url('https://fonts.verwaltungsportal.de/import/?family=Open+Sans:300,300i,400,400i,600,600i,700,700i');
@import url('https://fonts.verwaltungsportal.de/import/?family=PT+Sans');

body {
    font-family: 'PT Sans', sans-serif;
    color: #201f1f;
}

#body {
    position: relative;
    z-index: 7;
    margin: 0 auto;
}

a {
    color: #6e0e4c;
}

#maindiv {
    width: 100%;
    margin: 0 auto;
}

#middle {
    width: 100%;
    line-height: 1.3em;
    text-align: left;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
}

#content {
    line-height: 1.3em;
    text-align: left;
    min-height: 500px;
    padding: 20px;
}

@media(max-width:991px) {
    #middle {
        margin-bottom: 30px;
    }
}

#vernetzt {
    text-align: left;
}

@media(max-width:991px) {
    #vernetzt {
        margin: 20px 0px 0px 0px;
        text-align: center;
    }
}

/************************************** Footer **************************************/

#footer_pattern {
    width: 100%;
    margin: 0 auto;
}


#footer {
    margin: 0 auto;
}

#innerfooter {
    color: #242424;
    font-style: normal;
    line-height: 50px;
    text-align: center;
}

#innerfooter a {
    color: #242424;
    list-style: none;
}

#innerfooter a:hover {
    color: #242424;
    font-weight: bold;
    list-style: none;
    text-decoration: none;
}

@media only screen and (max-width: 991px) {
    #innerfooter {
        color: #242424;
        font-style: normal;
        line-height: 80px;
        padding-top: 0px;
        text-align: center;
    }
}

/* **************************** INDIVIDUELLES ******************************************/

#topbar {
    min-height: 205px;
    width: 100%;
    background: transparent;
}

@media only screen and (max-width: 991px) {
    .content_buttons_div {
        display: none;
    }
}


#newsticker {
    height: 50px;
    width: 100%;
    line-height: 50px;
    color: #fff;
    background: rgba(16, 65, 2, 0.8);
    border-radius: 10px 10px 0px 0px;
    padding: 0px 10px;
    overflow: hidden;
}

#newsticker a {
    color: #fff;
}

/* **************************** BANNER ÜBER 1000px ******************************************/
#headerpic {
    height: 100%;
    position: fixed;
    width: 100%;
}

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

/* ************************************** TABS ***********************************************/

.box {
    text-align: left;
    width: 100%;
    background: #762f68;
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

.boxtop {
    border-bottom: 1px solid #6e0e4c;
    color: #fff;
    font-size: 22px !important;
    line-height: 46px;
    text-align: left;
    height: 46px;
    font-family: 'Pt Sans', cursive;
    text-indent: 14px;
    font-weight: bold;
}

.boxtop2 {
    border-bottom: 1px solid #6e0e4c;
    color: #4f7348;
    font-size: 22px !important;
    line-height: 46px;
    text-align: left;
    height: 46px;
    font-family: 'Pt Sans', cursive;
    text-indent: 14px;
    font-weight: bold;
}

.boxindent {
    color: #fff;
    margin: 0 auto;
    width: 88%;
    padding-bottom: 15px;
    padding-top: 15px;
    font-weight: normal;
}

.boxindent>b {
    font-weight: 400 !important;
}

.boxindent a {
    color: #4f7348;
    font-weight: normal;
}

.boxindent h5 {
    color: #fff;
}

.boxbody {
    min-height: 50px;
}

.eventclndr-tab {
    max-width: 100% !important;
}


.box2 {
    text-align: left;
    width: 100%;
    margin-top: 10px;
    color: #373737;
}

/***************************** SEARCH *****************************/


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

#search_form {
    height: 35px;
    float: left;
    background: rgba(255, 255, 255, 0.9);
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    width: 100%;
}

#search_input {
    width: 83%;
    color: #000;
    font-size: 17px;
    font-family: 'PT Sans', Verdana, Helvetica, sans-serif;
    font-style: normal;
    background: transparent;
    vertical-align: top;
    padding: 0;
    border: 0;
    line-height: 35px;
    padding-left: 10px;
}

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


/********************************************** STYLER *******************************************/

#style {
    line-height: 41px;
    margin-top: 255px;
}

#switch {
    width: 100%;
    float: right;
    font-size: 1px;
    line-height: 1px;
}

#content_buttons_div {
    top: 33%;
}

@media(max-width:991px) {
    #content_buttons_div {
        display: none;
    }
}


/***************************** h1, #content .legacy_h1, .legacy_h1, h2, #content .legacy_h2, .legacy_h2, h3, #content .legacy_h3, .legacy_h3, h4, #content .legacy_h4, .legacy_h4, h5, #content .legacy_h5, .legacy_h5, h6, #content .legacy_h6, .legacy_h6 und 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 {
    color: #6e0e4c;
    font-weight: normal;
    line-height: 1.2em;
}

.h4link a:link,
.h4link a:hover,
.h4link a:visited,
h1,
#content .legacy_h1,
.legacy_h1 {
    color: #6e0e4c;
    font-weight: bold !important;
    line-height: 1.2em;
}

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



/***************************** Webseite ist Dunkel *****************************/

/* Dieser Bereich muss bearbeitet werden wenn die Seite dunkel ist.
.vorschau, .description{
        color: #FFFFFF;
}

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

/* nicht aendern wenn weisser hintergrund */
#startseite_news ul a {
    font-size: 12px;
    color: #7C7C7C;
    font-weight: normal;
}

/* Tabschriften (classen) */
/*
.tab_link_title a {
        color: #;
        font-weight: bold;
}

.tab_link {
        color: #;
}

.tab_link_mehr {
        color: #;
}

.tab_link_mehr a {
        color: #;
}

.tab_link_mandat a {
        color: #;
}

*/
/* Tabschriften Ende */



/******************************* Verstaltung optimiert fuer weissen Hintergrund - SO LASSEN **********************************/
.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;
}


/********************************** LEFT NAVIGATION BOOTSTRAP ***************************************/

/* Buergermenue - Hintergrundfarbe */
.navbar-default .navbar-toggle {
    background: #fff;
    border-color: transparent;
}

/* Buergermenue - MouseOver */
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background: #fff;
}

/* Buergermenue 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;
    }

    .navbar-default .navbar-nav>.open>.dropdown-menu>li>.dropdown-menu>li>a {
        text-align: center;
    }

    .navbar-default .navbar-nav>.open>.dropdown-menu>li>a {
        text-align: center;
    }

    .navbar-default {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        z-index: 9;
        border-radius: 0px;
    }

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

    #myNavbar {
        background: rgb(110, 14, 76);
        /* Old browsers */
        background: -moz-linear-gradient(left, rgba(110, 14, 76, 1) 0%, rgba(146, 31, 105, 1) 100%);
        /* FF3.6-15 */
        background: -webkit-linear-gradient(left, rgba(110, 14, 76, 1) 0%, rgba(146, 31, 105, 1) 100%);
        /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to right, rgba(110, 14, 76, 1) 0%, rgba(146, 31, 105, 1) 100%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        box-shadow: 0px 0px 5px;
    }

}


/* Left Navigation */
@media (min-width: 991px) {

    li.open > .dropdown-menu,
    li[class*="_over"]>.dropdown-menu {
        display: block !important;
        position: static;
        float: none;
        width: auto;
    }

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

    .navbar-nav>li {
        float: none;
        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-brand {
        float: none;
        height: auto !important;
        padding: 0px;
    }

    .navbar-default {
        background: rgba(255, 255, 255, 0.9);
        border-radius: 10px;
        -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
        margin-bottom: 30px;
        background: #932e6f;
        /* Old browsers */
        background: rgb(110, 14, 76);
        /* Old browsers */
        background: -moz-linear-gradient(left, rgba(100, 50, 99, 1) 0%, rgba(126, 45, 107, 1) 100%);
        /* FF3.6-15 */
        background: -webkit-linear-gradient(left, rgba(100, 50, 99, 1) 0%, rgba(126, 45, 107, 1) 100%);
        /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to right, rgba(100, 50, 99, 1) 0%, rgba(126, 45, 107, 1) 100%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    }
}

@media(max-width:991px) {
    .navbar-brand {
        padding: 80px 0px 0px 0px;
        height: auto;
    }

    #myNavbar {
        height: auto;
        max-height: 350px;
        width: 100%;
        overflow-y: scroll !important;
    }
}




/* Toplevel - Design */
.navbar-default .navbar-nav>li>a {
    border-bottom: 1px solid #421c3d;
    border-top: 1px solid #844581;
    color: #fff;
    line-height: 30px;
}

/* 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_16789_over>a,
.navbar-default .navbar-nav>li.menue_point_toplevel_16789_over>a:hover,
.navbar-default .navbar-nav>li.menue_point_toplevel_16789_over>a:focus {
    background-color: transparent;
    /*override bootstrap*/
    color: #1f600c;
    font-weight: bold;
    background: #fff url('../img/toplevel_over.png') right no-repeat;
    border-bottom: 1px solid transparent;
    line-height: 30px;
}

.dropdown-menu {
    padding: 0px;
}

/* Secondlevel - DropdownDesign */
.navbar-default .navbar-nav>.open>.dropdown-menu {}

.menue_group_16789_start {
    border-bottom: 1px solid #421c3d;
    height: 2px;
}

.menue_group_16789_end {
    border-bottom: 1px solid #421c3d;
    height: 2px;
}

/* Secondlevel - Design */
.navbar-default .navbar-nav>.open>.dropdown-menu>li>a {
    background-color: transparent;
    /*override bootstrap*/
    color: #fff;
    font-size: 18px;
}

/* Secondlevel - 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{
    color: #fff;
    font-weight: bold;
    background: url('../img/secondlevel_over.png') left no-repeat;
}

/* Thirdlevel - DropdownDesign */
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu{
    background: rgba(255, 255, 255, 0.9);
    margin: 10px 0px;
    border-radius: 10px;
}

.menue_list_thirdlevel_16789_start {
    display: none;
}

.menue_list_thirdlevel_16789_end {
    display: none;
}

/* Thirdlevel - Design */
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a{
    background-color: transparent;
    color: #1f600c;
    font-size: 18px;
    font-style: italic;
}

/* Thirdlevel - Over */


.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:hover>a,
.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: #1f600c;
    font-weight: bold;
}


#box2 .boxindent h5:first-child {
    display: none;
}

#box2 .boxindent {
    padding-top: 0;
}




.dropdown-menu > li > a {
	display: block;
	padding: 3px 20px;
	clear: both;
	font-weight: 400;
	line-height: 1.42857143;
	color: #fff;
	white-space: nowrap;
    font-size: 1.125rem;
}

@media (max-width: 991px) {
    .dropdown-menu {
        position: relative;
        float: none;
      }
}