@import url('https://fonts.verwaltungsportal.de/import/?family=Source+Sans+Pro:400,600,400i,600i%7CLora:400,700,400i,700i');
body {
    font-family: "Source Sans Pro", sans-serif;
    color: #515a5f;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #5c2886;
}

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

b, strong {
    font-weight: 600;
}

iframe {
    max-height: 144px;
    max-width: 312px;
}

.iframe-wrapper-manual-enabling{
    min-width: auto !important;
}

/* ----------------------------------------------- topbar ----------------------------------------------- */

#topbar>.row {
    padding-top: 20px;
    padding-bottom: 20px;
}

.innerfooter {
    background-color: #eee8f4;
    font-size: 1rem;
    line-height: 1;
    padding-top: 7px;
    padding-bottom: 7px;
}

@media (max-width: 991px) {
    .innerfooter {
        padding-top: 15px;
        padding-bottom: 15px;
        line-height: 1.5;
    }
}

.innerfooter ul {
    padding: 0;
    display: inline-block;
}

.innerfooter li {
    display: inline-block;
}

.innerfooter a {
    color: #6b6a66;
    text-decoration: none;
    display: inline-block;
}

.innerfooter a:hover {
    color: #515a5f;
}

.innerfooter li+li {
    margin-left: 15px;
}

@media (min-width: 1200px) {
    .innerfooter li+li {
        margin-left: 30px;
    }
}

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

#style {
    display: inline-block;
    border-left: 1px solid #6b6a66;
    margin-left: 24px;
    padding-left: 24px;
}

#style button {
    color: #787573;
    border: none;
    background: none;
    padding: 0;
}

@media (min-width: 992px) {
    #style button {
        padding-top: 4px;
        padding-bottom: 4px;
    }
}

#style button:hover {
    color: #49616c;
}

#style button+button {
    margin-left: 10px;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

@media (max-width:441px) {
    #logo img {
        max-width: 340px;
        width: 80%;
    }
}

@media (min-width: 442px) and (max-width: 991px) {
    #logo img {
        max-width: 340px;
        width: 100%;
    }
}

.index header {
    -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.10);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.10);
}







/* ----------------------------------------------- tabs ----------------------------------------------- */

address {
    font-style: normal;
}

.tab {
    background-color: #fcfcfc;
    padding: 15px 20px 20px 20px;
    -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    min-height: 100%;
}

@media (min-width: 992px) {
    .tab {
        padding: 25px 30px 30px 30px;
    }
}

.tabHeadline {
    margin: 0 0 15px 0;
    padding-bottom: 6px;
    font-weight: 600;
    color: #5c2886;
    border-bottom: 2px solid #863bc4;
    font-size: 1.0625rem;
}

.tabContent {
    font-size: 1rem;
    line-height: 1.4;
}

.tabContent, .tab_link_title a, .tab_link_mandat a {
    color: #515a5f;
}

.tab_spacer {
    height: 10px;
}

#content .tab_link_mehr, #content .tab_link_mehr a {
    font-weight: 400;
    color: #5c2886;
}

#contentTabs hr {
    margin-top: 38px;
    margin-bottom: 34px;
    border-top: 2px solid #efefef;
    opacity: 1;
}

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

#content {
    text-align: left;
    padding-bottom: 30px;
    padding-top: 30px;
}

@media (min-width: 992px) {
    #content {
        padding-bottom: 60px;
        padding-top: 60px;
        max-width: 900px;
        margin: 0 auto;
    }
}

.index #content {
    padding-bottom: 105px;
    padding-top: 105px;
}


#bg-left {
    margin-top: -160px;
}
/* ------------------------------------------ h1 - h6, newslink ----------------------------------------- */

.h4link a:link, .h4link a:hover, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #5c2886;
    font-weight: 600;
    line-height: 1.2em;
    font-family: "Source Sans Pro", sans-serif;
}

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

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

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

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

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

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

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

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

/* ------------------------------------------------ partner ---------------------------------------------- */

#partner {
    background-image: url('../img/breaker.png');
    padding-top: 87px;
    padding-bottom: 87px;
    color: #515a5f;
    font-weight: 600;
}

#partner a {
    font-size: 1.25rem;
    color: #515a5f;
}

#partner a:hover, #partner a:active, #partner a:focus {
    text-decoration: none !important;
}

#partner a::after {
    content: '\203A';
    margin-left: 5px;
}

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

#footer {
    background: #5c2886 url('../img/footer_hintergrund.png') center center no-repeat;
    background-size: cover;
    padding-top: 24px;
    padding-bottom: 24px;
}

@media (min-width: 768px) {
    #footer {
        padding-top: 43px;
        padding-bottom: 35px;
    }
}

.footer-meta-menu .tab {
    text-align: left;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0);
}

@media (max-width: 992px) {
    .footer-meta-menu .tab {
        text-align: center;
    }
}

.footer-meta-menu * {
    color: #fff;
    font-size: 1.125rem;
    padding-top: 0px;
}

.footer-meta-menu .tab {
    padding: 0px;
    top: 9px;
    position: relative;
}

.footer-meta-menu .tabHeadline {
    border-bottom: none;
}

.footer-meta-menu a:hover, .footer-meta-menu a:active, .footer-meta-menu a:focus {
    text-decoration: underline;
    color: #fff;
}

@media (min-width: 992px) {
    .footer-meta-menu .btgrid .row>.col:first-child {
        max-width: 180px;
    }
    .footer-meta-menu .btgrid .row {
        line-height: 0.8;
    }
}

@media (max-width: 992px) {
    .footer-meta-menu {
        margin-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
}

.innerfooter_footer .footer_list {
    padding: 0px;
}

/* ------------------------------------------------ contentTabsIntro ----------------------------------------------- */

.contentTabsIntro .tab {
    -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
    padding-top: 100px !important;
    padding-bottom: 96px !important;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (max-width: 767px) {
    .contentTabsIntro .row>.col-xs-12 {
        margin-top: 30px;
    }
}

.contentTabsIntro a:hover {
    text-decoration: none !important;
}

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

#vernetzt {
    text-align: left;
    font-size: 0.875rem;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 auto;
    text-decoration: none;
}

@media (min-width: 768px) {
    #vernetzt {
        margin: 0;
    }
}

#vernetzt b {
    color: #ffffff;
}

#vernetzt span {
    color: #ffffff;
}

#vernetzt span span {
    display: block;
}

#vernetzt img {
    margin-right: 15px;
}

/* ----------------------------------------------- scroll top ----------------------------------------------- */

#scrollTop {
    text-transform: uppercase;
    color: #ffffff;
    display: flex;
    align-content: center;
    align-items: center;
    margin: 30px auto 0 auto;
    width: 140px;
    font-size: 0.875rem;
    opacity: 1 !important;
}

@media (min-width: 576px) {
    #scrollTop {
        margin: 0;
        float: right;
        width: auto;
    }
}

#scrollTop span {
    font-size: 0;
    background-color: #ffffff;
    width: 40px;
    height: 40px;
    display: inline-block;
    position: relative;
    margin: 0 auto;
    margin-left: 22px;
    -webkit-transition: background-color 300ms linear;
    -moz-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    -o-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

#scrollTop span::after, #scrollTop span::before {
    content: "";
    position: absolute;
    border-radius: 1px;
}

#scrollTop span::after {
    left: 14px;
    width: 8px;
    height: 8px;
    top: 5px;
    margin-top: 10px;
    display: inline-block;
    border-right: 2px solid #414141;
    border-top: 2px solid #414141;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#scrollTop span::before {
    left: 18px;
    width: 2px;
    height: 13px;
    top: 15px;
    background-color: #414141;
}

#scrollTop span:hover {
    background-color: #f3ede9;
}


@media (max-width: 992px){
    .centerscroll, .center{
        display: flex; 
        justify-content: center;
    }
    
    .centerscroll{
        margin-top: 20px;
    }
}
