@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=Josefin+Sans:400,400i,600,600i,700,700i');
@import url("https://fonts.verwaltungsportal.de/import/?family=Nunito+Sans:400,500,600,700");


body {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 15px;
    color: #4b4b4b;
    background: #fff;
}

a {
    color: #e34245;
}

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

#vernetzt {
    margin: 64px 0px 15px 0px;
    text-align: center;
}

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

#middle {
    width: 100%;
    line-height: 18px;
    text-align:left;
    min-height:400px;
}

#content{
    margin-top: 30px;
    line-height: 18px;
    text-align:left;
    min-height:400px;
}

/* Footer*/

#footer_pattern {
    background: #c94b4b url('../img/footer_pattern.png') top center no-repeat;
    width: 100%;
    margin: 0 auto;
    min-height: 192px;
}

@media only screen and (max-width: 767px) {
    #footer_pattern {
        background: #c94b4b;
        width: 100%;
        margin: 0 auto;
    }
}

#footer{
    font-family: 'Open Sans', sans-serif !important;
    margin: 0 auto;
    
}

#innerfooter{
    color:#fff;
    font-size:15px;
    font-family: 'Open Sans', sans-serif !important;
    font-style:normal;
    line-height:50px;
    text-align:left;
}
#innerfooter a {
    color: #fff;
    font-size: 15px;
    list-style:none;
}

#innerfooter a:hover{
    color: #fff;
    font-size: 15px;
    font-weight:bold;
    list-style:none;
    text-decoration: none;
}

@media only screen and (max-width: 767px) {
    #innerfooter{
        color:#fff;
        font-size:15px;
        font-style:normal;
        line-height:30px;
        padding: 30px 0px;
        text-align:center;
    }
    
    #content_buttons_div {
        display: none;
    }
}

#content_buttons_div {
    top: 45% !important;
}

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


/***Banner �ber 1000px**/
#headerpic {
    margin: 0 auto;
    background-size: cover;
}

#headerpic img {
    max-width: 100%;
}

.slider-mask{
    display: block;
    background: url('../img/slider_mask.png') top center no-repeat;
    background-size: cover;
}

.nivo-controlNav {
    bottom: 30px !important;
}

@media(max-width:767px){
    .nivo-controlNav {
        bottom: 10px !important;
    }
}

/*****/




/***************************** BOXES *****************************/

.box {
    width: 100%;
    margin-top: 54px;
}


.boxindent {
    color: #fff;
    width: 100%;
}
/***************************** STYLER *****************************/

#style {
    height: 24px;
    padding-top:94px;
}

#switch {
    width: 182px;
    font-size: 1px;
    line-height: 1px;
}


.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: #4b4b4b !important;
    font-weight: normal;
    line-height: 1.2em;
    font-family: 'Open Sans', sans-serif !important;
}

.h4link a:link, .h4link a:hover, .h4link a:visited, h1, #content .legacy_h1, .legacy_h1 {
    color: #4b4b4b !important;
    font-weight: normal !important;
    line-height: 1.2em;
    font-family: 'Josefin Sans', sans-serif;
}

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

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




/* ****************************** MENUE 16028 CSS **************************************
 ****************************** MENUE CSS *******************************************/

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border: none !important;
}

#navigation {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

/* Button mobile Ansicht*/
.navbar-toggle {
    background-color: transparent;
    background-image: none;
    float: right !important;
    margin-bottom: 5px !important;
    margin-top: 5px !important;
    margin-left: 5px !important;
    padding: 5px 5px !important;
    position: relative;

}
.open .dropdown-toggle {
    color: #606060 !important;
    font-weight:bold !important;
}

.navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #c94b4b !important;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
}

.navbar-brand{
    padding:0px !important;
}

.navbar {
    font-size: 17px !important;
    color:#fff !important;
    background: #c94b4b;
    margin-bottom: 0px !important;
    z-index:55;
    border-radius: 0px!important;
}


.navbar li a, .navbar .navbar-brand, .navbar li { 
    color: #fff !important;
}
/**Toplevel**/
.navbar-nav li.active a,.navbar li a{
    color:#fff !important;
    line-height:70px !important;
}

/***TOPLEVEL OVER**/
.navbar-nav li a:hover {
    color: #fff !important;
    background: url('../img/toplevel_over.png') top left repeat-x;

}

.navbar-default .navbar-toggle {
    border-color: transparent;
}

/**Button für mobile Ansicht**/
.navbar-toggle {
    background-color: #c94b4b !important;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
}

.nav-tabs li a {
    color: #777;
}

/********************************BIG BOX PART*******************************************************/

/* BIG BOX */

@media(min-width:767px){


    .menue_group_16028{
        background: rgba(255,255,255, 0.9);
        max-width:930px;
        width: 100%;
        margin: 0 auto;
        height: auto;
        padding: 25px;
        display: none !important;
        position: absolute;
        top: 100px;
        left: 0px;
        right: 0px;
        z-index: 9999;
        text-align: left;
        color: #606060 !important;
        line-height: 34px !important;
    }

    .menue_group_16028 ul {
        position:relative !important;
    }

    /* SHOW BIG BOX */
    .menue_list_toplevel_16028> li:hover .menue_group_16028{
        display: block !important;
    }

    /* SECOND LEVEL 4 COLS */
    .menue_point_secondlevel_16028, .menue_point_secondlevel_16028_over {
        list-style: outside none none;
        width: 23%;
        margin-right: 2%;
        margin-bottom: 35px;
        float: left;
    }

    .menue_group_16028li:nth-child(4n+6) {
        clear: both;
    }

    /* SECONDLEVEL */
    .menue_group_16028> li > a {
        color: #606060 !important;
        font-size: 16px;
        font-weight: bold;
        text-transform: uppercase;
        line-height: 34px !important;
        
    }

    /* SECONDLEVEL OVER - always important */
    .menue_group_16028> li:hover > a, .menue_point_secondlevel_16028_over > a {
        font-weight: bold !important;
        background: url('../img/secondlevel_over.png') top left no-repeat;
        color: #606060 !important;
    }

    .menue_list_thirdlevel_16028{
        margin-top: 10px;
        padding: 0px;
        display: block !important;
        color: #606060 !important;
    }

    .menue_list_thirdlevel_16028> li {
        padding-bottom: 5px;
        padding-left: 16px;

    }
    
    .menue_list_thirdlevel_16028> li > a {
        color: #606060 !important;
        line-height: 34px !important;
    }

    .menue_list_thirdlevel_16028_start, .menue_list_thirdlevel_16028_end {
        visibility: hidden;
        height: 10px;
        color: #606060 !important;
    }
    .menue_list_thirdlevel_16028 > li > a {
        font-size: 16px;
        font-weight: normal;
        line-height: 30px;
        color: #606060 !important;
    }
    
    .menue_point_thirdlevel_16028_over, a.navpoint_thirdlevel_16028:hover  {
        background: none !important;
    }
    
    .menue_list_thirdlevel_16028> li > a:hover {
        color: #c94b4b !important;
    }
}

.nav > li { 
    position:static !important; 
    display: block;
} 
/**************MOBILE ANSICHT****/

@media(max-width:767px){
    .menue_group_16028 {
        background:#fff !important;
    }

    .open .dropdown-toggle {
        color: #727272!important;
        background-color: #b23434 !important;
        font-weight:bold !important;
    }

    .navbar li a, .navbar .navbar-brand, .navbar li { 
        color: #fff !important;

    }
    #navigation{
        background-color:#c94b4b !important;
    }

    .navbar-nav li a:hover {
        color: #fff !important;
        font-weight: normal !important;
        background:#b23434 !important;
    }
    .navbar-nav li.active a {
        color:#fff !important;
        background-color: #c94b4b!important;
    }
    /**SECONDLEVEL DROPDOWN**/
    .open .dropdown-toggle { 
        color: #fff !important;
        background: url('../img/toplevel_over.png') top left repeat-x;
    }

    /**UNTERMENÜ MOBILE ANSICHT**/

    /*MENÜPUNKT NORMAL */
    .dropdown-menu li a {
        color: #606060 !important;
        font-weight:normal !important;
        line-height:28px !important;
    }
    .dropdown-menu{
        text-align:center !important;
    }
    .dropdown-menu {
        margin: 0px 0 0 0 !important;
    } 
    .dropdown-menu li a:hover {
        line-height:28px !important;
        color:#fff !important;
        font-weight:bold !important;
        height:auto !important;
    }
    .menue_list_thirdlevel_16028 {
        margin: 0 auto;
        width: 100% !important;
        text-align: center !important;
        background-color: #fff !important;
    }
}

@media(min-width:768px) {
    ul.nav li.menue_point_toplevel_16028:hover ul.dropdown-menu {

        display: block;

        margin-top: 0px;

    }
}


@media(max-width:767px){

    .navbar-brand{
        display:none;

    }

}

#logo2{
    display:none;
    float: left;
    text-align: left;

}

@media(max-width:767px){

    #logo2{
        display:block;

    }

}



.intro {
    background-color: #444444;
    font-family: "Nunito Sans", sans-serif;
}

/* ------------------------------------------------ introOverlay ----------------------------------------------- */

#introOverlay {
    z-index: 13;
    position: relative;
    padding-top: 18%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px;
    font-family: "Nunito Sans", sans-serif;
}

@media (min-width: 1200px) {

    #introOverlay>.row>*:first-child {
        margin-bottom: 70px;
    }
}

.startHeadline {
    font-size: 5rem;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.2;
    font-weight: 700;
    background-color: rgba(68, 68, 68, 0.6);
    display: inline-block;
    padding: 5px 20px;
    box-shadow: -15px 15px 0px 0px rgba(255, 0, 0, 0.6);
    -webkit-box-shadow: -15px 15px 0px 0px rgba(255, 0, 0, 0.6);
    -moz-box-shadow: -15px 15px 0px 0px rgba(255, 0, 0, 0.6);
    width: 100%;
    font-family: "Nunito Sans", sans-serif;
}

@media (max-width: 1199px) {
    #introOverlay {
        padding-bottom: 30px;
    }

    #introOverlay>.row>*:first-child {
        margin-bottom: 30px;
        margin-top: 30px;
    }

    .startHeadline {
        font-size: 3.125rem;
        background-color: rgb(68, 68, 68);
        box-shadow: -15px 15px 0px 0px rgba(255, 0, 0, 1);
        -webkit-box-shadow: -15px 15px 0px 0px rgba(255, 0, 0, 1);
        -moz-box-shadow: -15px 15px 0px 0px rgba(255, 0, 0, 1);
    }

    .introTab {
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 767px) {
    .startHeadline {
        font-size: 1.875rem;
        box-shadow: -10px 10px 0px 0px rgba(255, 0, 0, 1);
        -webkit-box-shadow: -10px 10px 0px 0px rgba(255, 0, 0, 1);
        -moz-box-shadow: -10px 10px 0px 0px rgba(255, 0, 0, 1);
    }

    #introOverlay>.row>*:last-child {
        margin-top: 30px;
    }
}

.introTab {
    background-color: #ffffff;
    padding: 20px 20px 30px 20px;
    height: 100%;
    color: #444444;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    line-height: 1.2;
    min-height: 250px;
}

.introTab h1,
.introTab h2,
.introTab h3,
.introTab h4,
.introTab h5,
.introTab h6 {
    text-transform: uppercase;
    margin: 0;
    font-size: 1.875rem;
    font-weight: 700;
}

.intro #lastFooter {
    border: unset;
    padding: 10px 0;
}

.intro #innerfooter ul {
    display: inline-block;
}

.intro #innerfooter li {
    display: inline-block;
    padding: 5px;
}

@media (max-width: 767px) {
    .intro #innerfooter li {
        display: block;
    }
}

.intro #innerfooter a {
    padding: 15px;
    font-family: "Nunito Sans", sans-serif;
}

.intro #innerfooter a:hover, .intro #innerfooter a:focus {
    background-color: #c12121;
    font-weight: 400;
  }

  #introbanner{
      background-attachment: fixed;
      background-size: cover;
  }