@import url('https://fonts.verwaltungsportal.de/import/?family=Bree+Serif');

body {
    font-family: 'Arial';
    color: #232323;
    background: url('../img/body_bg.png') top left repeat;
}

a {
    color: #0f9104;
}

a:hover {
    color: #0f9104;
}

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

#bg-left  {
    background: transparent;
}

#bg-middle  {
    background: transparent;
}

#bg-right  {
    background: transparent;
}

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


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

/* change to #footer for inner-containment */
#footer-wrapper {
    background: url('../img/footer_bg.png') top no-repeat;
    background-color: transparent;
    padding-top:100px;
    background-size:cover;
    margin-top:-100px;
    position:relative;
    z-index:1;
}

#content_buttons_div{
    z-index:46 !important;
}

#footer {
    min-height: 100px;
    color: #ffffff;
    padding-top: 15px;
    padding-bottom: 15px;
}

/*  xs  */
@media (max-width: 767px) {
    /* xs-footer-separator (lines) */
    #footer .row > .col-xs-12:not(:first-child)::before{
        background: #ffffff;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 25px 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: 27px;
        padding-bottom: 10px;
    }
}

#innerfooter {

    color: #ffffff;

    font-style: normal;
    font-family:"Arial";
    margin-bottom:20px;
}

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0px 0px 12px rgba(0, 0, 0, 0.6);
}

#innerfooter a:hover {
    color: #ffffff;
    font-style:italic;

}


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

#kuhbox{
    position: relative;
}

#kuhbox:after{
    content: '';
    display: block;
    height: 122px;
    width: 216px;
    background: url('../img/kuh.png') center no-repeat;
    background-size: cover;
    margin-top: -95px;
    margin-left: 60px;
    position: relative;
    z-index: 5;
}

#kuhbox .boxbottom{
    height: 95px;
}

#stylercols{ 
    padding: 0;
    height: 100%;
}

#stylercols:after{
    content: '';
    display: block;
    background: url('../img/wheat.png') bottom left no-repeat;
    height: 232px;
    width: 92px;
    bottom: 0;
    margin-top: -232px;
}

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


#counter{



}

#logo {

    position: absolute;
    z-index: 5;
    height:100%;
    width: 100%;
    top:20%;
    right:0px;


}

@media(max-width:1800px){
    #logo{
        top:10%;
    }
}

@media(max-width:1400px){
    #logo img{
        width:50%;

    }
}

@media(max-width:1140px){
    #logo img{
        width:35%;

    }

    #logo{
        top:10%;
    }
}

#logo .container{
    display: table;
    height: 100%;
}

#logo a {
    max-width: 100%;
    right:0px;


}

#logo img {
    -webkit-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.2);
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.2);
}

/* small logo */
#navbar-logo{
    max-width: 50%;
    padding-top:10px;
    display: inline-block;
}

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

#vernetzt {
    /* padding: 10px 0; */
    margin-top:-45px;
}

@media(max-width:991px){
    #vernetzt{
        margin-top:20px;
        margin-bottom:10px;

    }
}

.nordbauern{
    margin-top:30px;
}

#tabsarea{
    padding-left:0px;
}

#counterlabel{
    text-align:right;
    font-size:17px;
    font-family: 'Bree Serif', serif;

}

#count{
    color:#fff;
    font-family:"Arial";
    padding-right:5px;
    text-align:right;
    line-height:30px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1c8b1f+11,066b1d+11 */
    background: rgb(28,139,31); /* Old browsers */
    background: -moz-linear-gradient(left, rgba(28,139,31,1) 11%, rgba(6,107,29,1) 11%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(28,139,31,1) 11%,rgba(6,107,29,1) 11%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(28,139,31,1) 11%,rgba(6,107,29,1) 11%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1c8b1f', endColorstr='#066b1d',GradientType=1 ); /* IE6-9 */
    border-radius:5px 0px 0px 5px;
}

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

#content_buttons_div {
    top: 45%;
}

#content-wrapper{


    padding-top:0px;
    padding-bottom:120px;

    position:relative;


}





@media(max-width:991px){
    #contentslope{
        margin-top:-100px;

    }

    #content-wrapper{
        padding-top:0px;
    }


}

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



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

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


#headerpic {
    max-height: 586px;
    margin: 0 auto;
    overflow: hidden;    position: relative;
}

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

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

.slider-mask{
    background: url('../img/headerpic_slope.png') bottom center no-repeat;
    display:block !important;
    background-size:contain;
}

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

    /* hide side-labels */
    #content_buttons_div {
        display: none;
    }

    /* hide slider-mask */
    .slider-mask{
        background: url('../img/headerpic_slope2.png') bottom center no-repeat;
        display:block !important;
        background-size:contain;
    }

}

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

#newsticker {
    color: #262626;
    line-height: 30px;
}

#newsticker a{
    color: #262626;
}
/* --------------------------------------------- tab-section -------------------------------------------- */

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


    margin-bottom: 10px;
}

.box * {
    max-width: 100%;
}

.boxtop {
    background: transparent;
    text-align:right;
    color: #313131;
    font-size: 19px;
    font-family: 'Bree Serif', serif;
    min-height: 40px;
    line-height: 40px;
    font-weight: normal;
    padding: 0 6%;
}

.boxbody {
    color: #232323;
    min-height: 50px;
    background:#fff;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.23);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.23);
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.23);
}


.boxindent {
    color: #232323;
    width: 88%;
    padding: 10px 0; 
    margin: 0 auto;

}

.box a {

    text-decoration: underline;
}

.boxbottom {

    line-height: 1px;
    font-size: 1px;
}


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



#style {
    min-height: 95%;
    border-left:2px solid rgba(0,99,23,0.5);
    position: relative;
    z-index: 4;
}

#styler {

    line-height: 32px;
    float: left;
    text-align: right;
}

#switch {
    float: left;
    font-size: 1px;
    line-height: 1px;
}




/* ------------------------------------------ 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 {
    color: #232323;
    font-weight: normal;
    line-height: 1.2em;
    font-family: 'Bree Serif', serif;
}

h1, #content .legacy_h1, .legacy_h1 {
    color: #232323;
    font-weight: normal;
    line-height: 1.2em;
    font-family: 'Bernard MT Condensed', 'Bree Serif', serif;
}

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


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

.tab_link {
    color: #232323;
}

.tab_link_mehr {
    color: #232323;
}

.tab_link_mehr a {

}

.tab_link_mandat a {

}



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


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

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

}

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

/* burgermenu - mouseover */
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: rgba(0, 0, 0, .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_18676_over > .dropdown-menu,
    .navbar-nav .menue_point_secondlevel_18676_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: transparent;
        z-index: 9;
        border-radius: 0px;
    }

    /* prevents the top-content from beeing hidden behind the navbar */
    #maindiv{

    }

    /* 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: 30px;
    text-indent: 7px;    color: #ffffff;
    font-weight: normal;
    padding:0px;
    margin-top:4px;
    /*
    background: url('../img/toplevel.jpg') top left no-repeat;
    */
    text-align: left;
    border-radius:0px 4px 4px 0px;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.23);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.23);
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.23);
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#066b1d+84,1c8b1f+84 */
    background: rgb(6,107,29); /* Old browsers */
    background: -moz-linear-gradient(left, rgba(6,107,29,1) 84%, rgba(28,139,31,1) 84%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(6,107,29,1) 84%,rgba(28,139,31,1) 84%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(6,107,29,1) 84%,rgba(28,139,31,1) 84%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#066b1d', endColorstr='#1c8b1f',GradientType=1 ); /* IE6-9 */
    font-family: 'Bree Serif', serif;
}

/* -------------------------------------------- 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_18676_over > a,
.navbar-default .navbar-nav > li.menue_point_toplevel_18676_over > a:hover,
.navbar-default .navbar-nav > li.menue_point_toplevel_18676_over > a:focus {
    color: #ffffff;
    font-weight: normal;
    /*
    background: url('../img/toplevel_over.jpg') top right no-repeat;
    */

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#066b1d+33,1c8b1f+33 */
    background: rgb(6,107,29); /* Old browsers */
    background: -moz-linear-gradient(left, rgba(6,107,29,1) 33%, rgba(28,139,31,1) 33%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(6,107,29,1) 33%,rgba(28,139,31,1) 33%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(6,107,29,1) 33%,rgba(28,139,31,1) 33%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#066b1d', endColorstr='#1c8b1f',GradientType=1 ); /* IE6-9 */
}

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

.dropdown-menu {
    padding: 0px;
}

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

}

.menue_group_18676_start{
    background:#f5fff3;
    height: 12px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

.menue_group_18676_end{
    background:#f5fff3;
    height: 12px;
    font-size: 1px;
    line-height: 1px;
    /*
        background: url('../') top left no-repeat;
    */
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    background-color: transparent; /* override bootstrap */
    color: #3e3e3e;
    font-weight: normal;
    line-height: 22px;
    font-family:"Arial";
    text-indent: 20px;    text-align: left;
    /*
    background: url('../img/secondlevel.jpg') top right no-repeat;
    padding-right: 0px;
    */
    background-color: #f5fff3;
}

/* ------------------------------------------ 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_18676_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_18676_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li.menue_point_secondlevel_18676_over > a:focus {
    font-weight: bold;
    color: #066b1d;
    font-weight: normal;
    font-style:italic;
    /*
    background: url('../img/secondlevel_over.jpg') top right no-repeat;
    */
    background-color: #f3f7f2;
}

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

.menue_list_thirdlevel_18676_start {
    display: none;
}

.menue_list_thirdlevel_18676_end {
    display: none;
}

/* --------------------------------------------- thirdlevel --------------------------------------------- */
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    background-color: transparent; /*override bootstrap*/
    color: #3f3f3f;
    text-indent: 40px;    font-weight: normal;
    line-height: 25px;
    font-family:"Arial";
    /*
    background: url('../img/thirdlevel.jpg') top right no-repeat;
    padding-right: 0px;
    */
    background-color: #f5fff3;
}

/* ------------------------------------------ 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_18676_over > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_18676_over > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.menue_point_thirdlevel_18676_over > a:focus
{
    color: #1c8b1f;
    font-weight: normal;
    /*
    background: url('../img/thirdlevel_over.jpg') top right no-repeat;
    */

}
