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


body {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 15px;
    color: #2a2a2a;
    background: #fefefe;
}

a {
    color: #0565e8;
}

#maindiv {
    width: 100%;
    margin: 0 auto;
    background: #ecedec; /* Old browsers */
    background: -moz-linear-gradient(top, #ecedec 0%, #f5f5f5 30%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ecedec 0%,#f5f5f5 30%); /* Chrome10-25,Safari5.1-6 */
}

#vernetzt {
    margin: 28px 0px 0px 0px;
    text-align: right;
}

@media(max-width:1199px){
    #vernetzt {
        margin: 20px 0px 20px 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: url('../img/footer_pattern.jpg') bottom center no-repeat, #018934;
    width: 100%;
    margin: 0 auto;
}

@media only screen and (max-width: 1199px) {
    #footer_pattern {
        background: #018934;
        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:105px;
    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: 991px) {
    #innerfooter{
        color:#fff;
        font-size:15px;
        font-family: 'Open Sans', sans-serif !important;
        font-style:normal;
        line-height:50px;
        padding-top: 50px;
        text-align: center;
    }

    #content_buttons_div {
        display: none;
    }
}

#content_buttons_div {
    top: 40% !important;
}
/* **************************** INDIVIDUELLES ******************************************/

#topbar {
    height: 85px;
    width: 100%;
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(-45deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(0,141,53,1) 50%, rgba(0,141,53,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 50%,rgba(0,141,53,1) 50%,rgba(0,141,53,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 50%,rgba(0,141,53,1) 50%,rgba(0,141,53,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#008d35',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
}

@media only screen and (max-width: 1999px) {
    #topbar {
        background-image: -webkit-linear-gradient(140deg, #018934 50%, #fff 35%);
    } 
}

@media only screen and (max-width: 991px) {
    #topbar {
        background-image: -webkit-linear-gradient(140deg, #018934 40%, #fff 35%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
        background: linear-gradient(135deg, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    } 
}

@media only screen and (max-width: 767px) {
    #topbar {
        background-color: #fff;
        background-image: -webkit-linear-gradient(140deg, #fff 40%, #fff 35%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
        background: linear-gradient(135deg, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    } 
}

#sticky {
    z-index: 51;
}

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

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


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

.box {
    text-align: left;
    width: 100%;
    margin-top: 30px;
}

.boxtop {
    background: url('../img/bg_top.png') left no-repeat;
    color: #fff;
    font-size: 15px !important;
    font-weight: bold;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

.boxtop1 {
    background: url('../img/bg_top_logo.jpg') right no-repeat, url('../img/bg_top.png') left no-repeat;
    color: #fff;
    font-size: 15px !important;
    font-weight: bold;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

.boxtop2 {
    background: url('../img/bg_top_fußball.jpg') right no-repeat, url('../img/bg_top.png') left no-repeat;
    color: #fff;
    font-size: 15px !important;
    font-weight: bold;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

.boxtop3 {
    background: url('../img/bg_top_ufo.jpg') right no-repeat, url('../img/bg_top.png') left no-repeat;
    color: #fff;
    font-size: 15px !important;
    font-weight: bold;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

.boxtop4 {
    background: url('../img/bg_top_rugby.jpg') right no-repeat, url('../img/bg_top.png') left no-repeat;
    color: #fff;
    font-size: 15px !important;
    font-weight: bold;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

.boxtop5 {
    background: url('../img/bg_top_tennis.jpg') right no-repeat, url('../img/bg_top.png') left no-repeat;
    color: #fff;
    font-size: 15px !important;
    font-weight: bold;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

@media only screen and (max-width: 1199px) {
    .boxtop {
        background-color: #018934;
        background-image: none;
        color: #fff;
        font-weight: bold;
        height: 60px;
        line-height: 60px;
        text-align: center;
    }
}

@media only screen and (max-width: 991px) {
    .boxtop {
        background-color: #018934;
        background-image: none;
        color: #fff;
        font-weight: bold;
        height: 60px;
        line-height: 60px;
        text-align: center;
    }
}

@media only screen and (max-width: 767px) {
    .boxtop {
        background-color: #018934;
        background-image: none;
        color: #fff;
        font-weight: bold;
        height: 60px;
        line-height: 60px;
        text-align: center;
    }
}

.boxindent {
    color: #4b4b4b;
    margin: 0 auto;
    width: 88%;
    min-height: 220px;
}

.boxindent2 {
    color: #4b4b4b;
    margin: 0 auto;
    width: 88%;
    min-height: 50px;
}

.boxbody{
    min-height:50px;
    background:#fff repeat;
}
.boxbottom {
    height: 10px;
    background:#fff repeat;
}


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

#search {
    width: 100%;
    height: 85px;
    background: url('../img/bg_search.png') bottom right no-repeat;
}

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

#search_form {
    height: 40px;
    float: right;
    background: #ffffff;
    width: 65%;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
    margin: 23px 0px 0px 0px;
}

#search_input1 {
    width: 85%;
    float: left;
    color: #595959 !important;
    font-style: normal;
    background: transparent;
    vertical-align: top;
    padding: 0;
    border: 0;
    line-height: 40px;
    padding-left: 10px;
    height: 40px;
}

#search_submit{
    width: 15%;
    float: right;
    background: transparent;
    vertical-align: top;
    margin: 0;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: url('../img/search_submit.png') right center no-repeat;
    line-height: 40px;
}

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

    #search_form {
        width: 85%;
    }
}

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

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

    #search_form {
        width: 100%;
    }
}

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

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



.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: #3b3b3b !important;
    font-weight: normal;
    line-height: 1.2em;
    font-family:Arial, Times;
}

.h4link a:link, .h4link a:hover, .h4link a:visited, h1, #content .legacy_h1, .legacy_h1 {
    color: #009036 !important;
    font-weight: normal !important;
    line-height: 1.2em;
    font-family:Arial, Times; 
}

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

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

.tab_link {
    color: #5e5d5d;
}

.tab_link_mehr {
    color: #5e5d5d;
}

.tab_link_mehr a {
    color: #dd1e15;
}

.tab_link_mandat a {
    color: #dd1e15;
}/*

*/
/* 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 16564 CSS **************************************
 ****************************** MENUE CSS *******************************************/

/***Quermen� mit DROPDOWN***/

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

/** Farbe Button**/
.navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background: #008e36 !important;
    box-shadow: inset 0px 0px 2px rgba(0, 0, 0, 0.5);
}

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

.navbar {
    font-size: 17px !important;
    color:#fff !important;
    background: #009036; /* Old browsers */
    background: -moz-linear-gradient(top, #009036 0%, #03772f 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #009036 0%,#03772f 100%); /* Chrome10-25,Safari5.1-6 */
    margin-bottom: 0px !important;
    z-index:39;
    border: 0px solid !important;
    border-radius: 0px !important;
    margin-top: 4px;
}

/**Menü über komplette Breite (1200px)**/

@media (min-width: 768px){
    .navbar-nav {
        margin: 0 auto;
        display: table;
        table-layout: auto;
        float: none;
        width: 100%;
    }
    .navbar-nav>li {
        display: table-cell;
        float: none;
        text-align: center;
    }
}

.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:40px !important;

}

/***TOPLEVEL OVER**/
.navbar-nav li a:hover {
    color: #008f36 !important;
    background: #f4f4f4 !important;   
}


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

/**Button f�r mobile Ansicht**/
.navbar-toggle {
    background-color: #03782f !important;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
}

/**SECONDLEVEL DROPDOWN**/
.open .dropdown-toggle { 
    color: #008f36!important;
    background: #f4f4f4 !important;
}

/**DROPDOWN OVER EINZELNE MEN�PUNKTE**/
.dropdown-menu li a {
    color: #2e2e2e !important;
    font-weight:normal !important;
    line-height:28px !important;

}

.dropdown-menu {
    margin: 0px 0 0 0 !important;

} 

.dropdown-menu li a:hover {
    background: url('../img/secondlevel_over.png') top right no-repeat, #03772f !important; /* Old browsers */
    background: -moz-linear-gradient(top, #03772f 0%, #009036 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #03772f 0%,#009036 100%); /* Chrome10-25,Safari5.1-6 */
    line-height:28px !important;
    color:#fff !important;
    font-weight:bold !important;
    height:auto !important;
}

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

/* SECONDLEVEL MEN�GRUPPE EIGENSCHAFTEN**/

.menue_group_16564 {
    font-size: 14px !important;
    color:#2e2e2e !important;
    background:#fff;
    text-align: center !important;
    z-index: 70;
    top: auto !important;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
}

.menue_group_16564 .menue_point_secondlevel_16564, .menue_group_16564 .menue_point_secondlevel_16564_over {
    position: relative;
}

.menue_list_thirdlevel_16564 {
    font-size: 14px !important;
    color:#2e2e2e !important;
    background:#fff;
    text-align: center !important;
    z-index: 80;
    float:right;
    top: 0px !important;
    left: 100.5% !important;
    right:0px !important;
    display:none;
    display:none !important;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
}

.menue_point_secondlevel_16564:hover .menue_list_thirdlevel_16564, .menue_point_secondlevel_16564_over:hover .menue_list_thirdlevel_16564 {
    display: block;
    display: block !important;
    z-index: 60;
}


@media(max-width:767px){
    .menue_list_thirdlevel_16564 {
        margin: 0 auto;
        width: 100% !important;
        text-align: center !important;
        background-color: #fff !important;
    }

    .menue_group_16564 {
        background:#fff !important;
    }

    .open .dropdown-toggle {
        color: #fff !important;
        background-color: #008f36 !important;
        font-weight:bold !important;
    }

    .dropdown-menu li a {
        color: #2e2e2e !important;
        margin: 0 auto;
        text-align: center !important;
    }

    .navbar li a, .navbar .navbar-brand, .navbar li { 
        /* color: #0072b9 !important;*/
        /*border-bottom:1px solid #0072b9 !important;*/

    }
    #navigation{
        background-color:#03782f !important;
    }


    .navbar-nav li a:hover {
        color: #008f36 !important;
        font-weight:bold !important;
        background:#f4f4f4 !important;


    }
    .navbar-nav li.active a {
        color:#008f36 !important;
        background-color: #f4f4f4!important;

    }

}
.dropdown-menu{
    text-align:left !important;
    /*min-width: 300px ! important;*/

}



