@import url("https://fonts.verwaltungsportal.de/import/?family=Mukta:300,400,500,600,700,i300,i400,i500,i600,i700");
@import url("https://fonts.verwaltungsportal.de/import/?family=Open+Sans:300,400,500,600,700,i300,i400,i500,i600,i700");

body {
    font-family: "Open Sans", sans-serif;
    color: #4b4b4b;
    background: #ffffff;
    font-size: 1rem; /* 1rem = 16px */
    line-height: 1.5;
}

@media (min-width: 768px) {
    body {
        font-size: 1.125rem;
    }
}

a {
    color: #206045;
}

a:hover,
a:focus {
    color: #206045;
    text-decoration: underline;
}

#content a{
    text-decoration: underline;
}

b, strong {
    font-weight: 600;
}

/* ------------------------------------------------- logo ------------------------------------------------ */

#logo {
    display: block;
    margin-top: 5px;
}

@media (min-width: 992px) {
    #logo img{
        margin: auto;
    }
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo img {
        max-width: 210px;
        width: 100%;
    }
    #logo{
        margin: 10px 0;
    }
}


/* --------------------------------------- navigation --------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        border: none !important;
        position: relative;
        z-index: 1002;
        display: block;
        width: 46px;
        height: 40px;
        border-radius: 2px;
        cursor: pointer;
        background-color: #ffffff;
        padding: 3px;
    }
    #burgerButton:before, #burgerButton:after, #burgerButtonInner {
        background-color: #206045;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 2px;
        -webkit-transition: transform 200ms linear, opacity 200ms linear;
        -moz-transition: transform 200ms linear, opacity 200ms linear;
        -ms-transition: transform 200ms linear, opacity 200ms linear;
        -o-transition: transform 200ms linear, opacity 200ms linear;
        transition: transform 200ms linear, opacity 200ms linear;
    }
    #burgerButton[aria-expanded="true"] #burgerButtonInner {
        -webkit-transform: rotate(-45deg) translate(-6px, 6px);
        transform: rotate(-45deg) translate(-6px, 6px);
    }
    #burgerButton[aria-expanded="true"]:before {
        opacity: 0;
    }
    #burgerButton[aria-expanded="true"]:after {
        -webkit-transform: rotate(45deg) translate(-4px, -6px);
        transform: rotate(45deg) translate(-4px, -6px);
    }
    #burgerButtonInner {
        top: 10px;
    }
    #burgerButton:before {
        top: 18px;
    }
    #burgerButton:after {
        top: 26px;
    }
    #burgerButton:before, #burgerButton:after {
        content: "";
        display: block;
    }
    .navbar-nav {
        margin: 20px 0;
    }
    .navbar-collapse {
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        -webkit-transition: left 300ms linear, opacity 300ms linear;
        -moz-transition: left 300ms linear, opacity 300ms linear;
        -ms-transition: left 300ms linear, opacity 300ms linear;
        -o-transition: left 300ms linear, opacity 300ms linear;
        transition: left 300ms linear, opacity 300ms linear;
    }
    .navbar-collapse.collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }
    .navbar-header {
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        background-color: #ffffff;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
        -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }
    .navbar-collapse.in:after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        display: block;
        width: 90px;
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }
    .navbar-collapse.collapse.in:after {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    .horizontally{
        border: 1px solid rgba(44,103,78,0.20);
        background-color: #fff;
    }
    nav.horizontally .navbar-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
    }
    nav.horizontally .navbar-nav>li {
        flex-grow: 1;
    }
    nav.horizontally .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }
    nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        position: absolute;
        left: 100%;
        top: 0;
    }
    nav.horizontally .navbar-nav>li, nav.horizontally .navbar-nav>li>.dropdown-menu>li {
        position: relative;
    }

       /* Fade in Hover Start */
    .navbar-default .navbar-nav li[class*="toplevel"] > ul,
    .navbar-default .navbar-nav li[class*="secondlevel"] > ul {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        -webkit-transition: opacity 300ms linear;
        -moz-transition: opacity 300ms linear;
        -ms-transition: opacity 300ms linear;
        -o-transition: opacity 300ms linear;
        transition: opacity 300ms linear;
    }
    .navbar-default .open > .dropdown-menu,    
    .navbar-default .navbar-nav li[class*="toplevel"]:hover > ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]:hover > ul,
    .navbar-default .navbar-nav li[class*="secondlevel"] > ul[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
    }
    .navbar-default .navbar-nav li[class*="toplevel"]:focus-within > ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]:focus-within > ul {
        pointer-events: auto !important;
        opacity: 1 !important;
    }
    .navbar-default .nav .open > .dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }

/* Pseudo */

    .navbar-default .navbar-nav > li > .dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        height: 10px;
        left: 0;
        right: 0;
        top: -10px;
    }

/* 3rd */

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        top: 0;
        bottom: 0;
        left: -10px;
    }

    /* Fade in Hover End */
}


/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default .navbar-nav>li>a {
    color: #206045;
    font-weight: 600;
    text-align: center;
    padding: 10px 35px 15px 35px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li {
        border-bottom: 1px solid rgba(46, 60, 72, 0.2);
    }
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 14px 0;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        display: block;
    }
}


/* -------------------------------------------- toplevel-over ------------------------------------------- */

.navbar-nav>li>a:hover, .navbar-nav>li>a:focus,
.navbar-nav>li.open>a, .navbar-nav>li.open>a:hover,
.navbar-nav>li.open>a:focus,
.navbar-nav>li[class$="_over"]>a,
.navbar-nav>li[class$="_over"]>a:hover,
.navbar-nav>li[class$="_over"]>a:focus {
    background-color: #eeffe0;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background-color: #fff;
    border: 1px solid rgba(44,103,78,0.20);
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        padding: 15px;
    }
}

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 10px;
        left: 50%;
        transform: translate(-50%);
    }

    .navbar-default .navbar-nav>li>.dropdown-menu,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding-top: 18px;
        padding-bottom: 18px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: -18px;
        margin-left: 10px;
    }
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #206045;
    font-weight: 400;
    text-align: center;
    padding: 9px 25px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.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,
.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 {
    background: #eeffe0;
    color: #206045;
}

/* ----------------------------------------------- banner ----------------------------------------------- */

#headerpic > .row{
    max-width: 100%;
    width: 100%;
    margin: 0px;
}

#headerpic .col-xs-6{
    padding: 0px;
}

#headerpic{
    color: #4b4b4b;
}

#headerpic p{
    display: inline-block;
    padding-left: 50px;
}

#headerpic p+p{
    margin-top: 18px;
}

#headerpic p:nth-child(1)::before{
    content:'';
    background: url(../img/anruf.png) no-repeat center;
    width: 27px;
    height: 27px;
    margin-right: 3px;
    display: inline-block;
    position: absolute;
left: 18px;
}

#headerpic p:nth-child(2)::before{
    content:'';
    background: url(../img/positionszeiger.png) no-repeat center;
    width: 20px;
    height: 30px;
    margin-right: 3px;
    display: inline-block;
    position: absolute;
    left: 18px;
}


#headerpic > .row > div:nth-child(2){
    padding:  0px 72px;
}


.contact img,
#headerpic > .row .template-page img{
    margin-right: 10px
}

.contact{
    padding-left: 15px;
}

@media (min-width: 992px) {
    #headerpic > .row > div:nth-child(3),
    #headerpic > .row > div:nth-child(1){
        flex: 0 0 33.33%;
        min-width: 33.33%;
        max-width: 33.33%;
    }
    
    
    #headerpic > .row > div:nth-child(2){
        min-width: 33.33%;
        max-width: 33.33%;
    }
    
}

@media (min-width: 1400px) {
    #headerpic > .row > div:nth-child(3),
    #headerpic > .row > div:nth-child(1){
        flex: 0 0 40%;
        min-width: 40%;
        max-width: 40%;
    }
    
    
    #headerpic > .row > div:nth-child(2){
        min-width: 20%;
        max-width: 20%;
    }
    
}

#headerpic .banner{
    overflow: hidden;
    height: 100%;
}

#headerpic .banner img{
    display: block;
    height: 100%;
    max-width: inherit;
}

/* ------------------------------------------------ content ----------------------------------------------- */

.index main {
    text-align: left;
    padding-bottom: 30px;
    padding-top: 0;
}

body:not(.index) main{
    padding-bottom: 30px;
    padding-top: 30px;
}


@media (min-width: 992px) {
    .index main {
        padding-bottom: 30px;
        padding-top: 30px;
    }
}

/* ------------------------------------------ h1 - h6, newslink ----------------------------------------- */

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #206045;
    font-weight: 600;
    line-height: 1.2;
    font-family: "Mukta", sans-serif;
}

h1, .h1, .legacy_h1 {
    font-size: 2rem;
}

@media (min-width: 768px) {
    h1, .h1, .legacy_h1 {
        font-size: 2.25rem;
    }
}

h2, .h2, .legacy_h2 {
    font-size: 1.6rem;
}

@media (min-width: 768px) {
    h2, .h2, .legacy_h2 {
        font-size: 1.7rem;
    }
}

h3, .h3, .legacy_h3 {
    font-size: 1.6rem;
}

h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, .legacy_h4 {
    font-size: 1.5rem;
}

h5, .h5, .legacy_h5 {
    font-size: 1.4rem;
}

h6, .h6, .legacy_h6 {
    font-size: 1.3rem;
}

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


/* ------------------------------------------------- #content ------------------------------------------------ */

.index #content{
    margin-top: 30px;
}

#content .tab{
    margin-top: 35px;
}

.sidetab h2{
    font-size: 1rem;
    margin-bottom: 3px;
}

 @media (max-width: 991px) {
    .sidetab{
        margin-top: 30px;
    }
 }

/* ----------------------------------------------- news -------------------------------------------- */

#news .tab{
    border-radius: 3px;
    background-color: #eeffe0;
    overflow: hidden;
    color: #2c674e;
    border: 1px solid rgba(44,103,78,0.20);
    padding: 25px 30px;
    background-position: top 20px right 20px;
    background-repeat: no-repeat;
}


#news .tabHeadline{
    margin: 0 0 20px 0;
}

@media (min-width: 768px) {
    #news .tabHeadline {
        margin: 0 0 25px 0;
        font-size: 2rem;
    }
}

@media (min-width: 1200px) {
    #news .tabHeadline{
        -webkit-hyphens: manual;
        -moz-hyphens: manual;
        -ms-hyphens: manual;
        hyphens: manual;
    }
}

#news .tab_link_entry {
    font-size: 1rem;
    position: relative;
    width: 100%;
    color: #3c4241;
    border: 1px solid rgba(44,103,78,0.20);
}

#news .tab_link_title a {
    line-height: 1.2;
    font-weight: 600;
    font-size: 1.125rem;
    display: block;
    margin-bottom: 8px;
}

@media (min-width: 576px) {
    #news .tab_link_entries {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}


#news .tab {
    background-image:  url('../img/icon-zeitung.png');
}

#news .tab,
#news .tab_link,
#news .tab_link > div {
    height: 100%;
    min-height: 100%;
}

#news .tab_link_entry {
    background: #ffffff;
    border-radius: 3px;
    padding: 160px 30px 25px 30px;
}

@media (min-width: 576px) and (max-width: 767px) {
    #news .tab_link_entry {
        width: calc(50% - 15px);
    }

    #news .tab_link_entry:nth-child(2n+1) {
        margin-right: 15px;
    }

    #news .tab_link_entry:nth-child(2n+2) {
        margin-left: 15px;
    }
}

@media (min-width: 768px) {
    #news .tab_link_entry {
        width: calc(33.33% - 20px);
    }

    #news .tab_link_entry + .tab_link_entry {
        margin-left: 30px;
    }
}

@media (max-width: 767px) {
    #news .tab_link_entry+.tab_link_entry {
        margin-top: 30px;
    }
}

@media (min-width: 576px) {
    #news .tab_link_entry:nth-child(2) {
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    #news .tab_link {
        margin-top: 30px;
    }
}

#news .tab_link_title a::before,
#news .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 120px;
    overflow: hidden;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

#news .tab_link_title a::before {
    content: "";
    background: url("../img/platzhalter.png") center / cover no-repeat;
}

#news .tab_preview_picture img {
    position: absolute;
    margin: 0 !important;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 350px;
    width: auto;
    height: auto;
    -ms-interpolation-mode: bicubic;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

#news .tab_date {
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    left: -1px;
    top: 105px;
    z-index: 1;
    display: inline-block;
    padding: 6px 20px;
    background: #eeffe0;
    color: #2c674e;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    font-family: "Mukta", sans-serif;
}

#news .tab_link_title a {
    color: #2c674e;
}

.tab_link_entries + div,
.tab_link_entries .tab_spacer,
.tab_link_entry > div:nth-last-child(2) {
    display: none;
}


.tabEvent {
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

.tabEvent .tabHeadline {
background: #eeffe0;
font-size: 1.5625rem;
padding: 10px;
text-align: center;
}

.tabEvent .tabContent {
padding: 15px;
}

#clr-events-hide {
    font-size: 1rem !important;
    color: #4b4b4b;
    padding: 0 15px;
}

.tab_spacer {
    height: 15px !important;
  }

.tabEvent .tab_link_title a {
    color: #4b4b4b;
    font-weight: 600;
    text-decoration: none !important;
}

.tabEvent .tab_link_mandat a {
    text-decoration: none !important;
}

.tabEvent .tab_link_title a:hover, .tabEvent .tab_link_title a:focus ,.tabEvent .tab_link_mandat a:hover, .tabEvent .tab_link_mandat a:focus {
    text-decoration: underline !important;
}

.eventclndr-tab {
    margin-left: -15px;
    margin-right: -15px;
    margin-top: -15px;
}
/* ------------------------------------------- button design ------------------------------------------- */

.buttonStyle a {
    display: inline-block;
    background: #2c674e;
    border-radius: 3px;
    color: #ffffff;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 5px 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all, 300ms;
    font-family: "Mukta", sans-serif;
}

@media (min-width: 768px) {
    .buttonStyle a + a {
        margin-left: 12px;
    }
}

.buttonStyle a::after {
    content: "\00BB";
    margin-left: 4px;
    position: relative;
    bottom: 1px;
}

.buttonStyle a:hover,
.buttonStyle a:focus {
    opacity: 0.9;
}

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


#footerTop .row{
    margin: 0px;
}

@media (min-width: 768px) {
    #footerTop > .row{
        max-width: 100%;
        width: 100%;
        margin: 0px;
    }
    

    #footerTop > .row > div:nth-child(1){
        flex: 0 0 40%;
        min-width: 40%;
        max-width: 40%;
    }
    
    #footerTop > .row > div:nth-child(2){
        flex: 0 0 60%;
        min-width: 60%;
        max-width: 60%;
    }
}


@media (min-width: 992px) {
    #footerTop .tab{
        line-height: 1.7;
    }
    #footerTop > .row > div:nth-child(2) .tab:nth-child(1){
        max-width: 405px;
        width: 100%;
        padding: 40px 30px; 
    }
    
    #footerTop > .row > div:nth-child(2) .tab:nth-child(2){
        max-width: 407px;
        width: 100%;
        padding: 40px 10px; 
        padding-left: 100px;
    }
    
}

@media (max-width: 991px) {
    #footerTop > .row > div:nth-child(2) .tab{
        padding: 20px;

    }

    #footerTop > .row{
        margin: auto !important;
    }
}

#footerTop > .row .col-xs-12{
    padding: 0px;
}

#footerTop > .row > div:nth-child(2){
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#footerTop .tab{
    color: #666666;
    font-size: 1rem;
}

#footerTop .tab a{
    text-decoration: underline;
}
#footerTop .tabHeadline{
    color: #666666;
    font-size: 1.5rem;
}

.iframetab iframe,
.iframetab .iframe-wrapper-manual-enabling {
    min-width: 100% !important;
    width: 100% !important;
    display: block;
    max-height: 100% !important;
    min-height: 100% !important;
    height: 100% !important;
}

.iframetab *{
    height: 100% !important;
}

.iframetab .cleaner{
    display: none !important;
}

.iframetab{
    background-color: rgba(0, 0, 0, 0.2)
}


#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #000000;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    padding: 5px 10px;
    font-size: 1rem;
}

#innerfooter a:hover,
#innerfooter a:focus {
    text-decoration: none;
    background-color: #eeffe0;
    color: #206045;   
}

#innerfooter li+li::before {
    content: "•";
    margin: 0 12px;
    color: #000000;
}



#footerBottom{
    padding: 10px 0;
}

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

#vernetzt {
    text-align: right;
    font-size: 0.9375rem;
    color: #000000;
    line-height: 1.3;
    margin: 0 auto;
    font-weight: 300;
    text-decoration: none;
}


#vernetzt b {
    color: #000000;
    font-weight: 300;
}

#vernetzt span {
    color: #000000;
}

#vernetzt span span {
    display: block;
}

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

@media (max-width: 767px) {
    #vernetzt{
        margin-top: 30px;
        margin-bottom: 30px;
    }
}
