.berlinUP_logo_wrapper {
    --berlinup-logo-max-width: 100%;
    --berlinup-logo-max-height: 100%;
}

.pkp_structure_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}



div.pkp_structure_footer div.pkp_brand_footer.berlinUP_brand_footer {
    flex: 0 0 8.33333%;
}

.berlinUP_logo_link {
    display: inline-block;
    max-width: 100%;
}

.berlinUP_logo {
    width: auto;
    max-width: min(100%, var(--berlinup-logo-max-width, 100%));
    max-height: var(--berlinup-logo-max-height, 100%);
    height: auto;
    object-fit: contain;
    margin: auto;
    display: block;
}

.berlinUP_logo_link--footer {
    display: block;
}

.berlinUP_logo--sidebar,
.berlinUP_logo--header,
.berlinUP_logo--navbar,
.berlinUP_logo--footer {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
}

.berlinUP_logo--spartenlogos {
    max-width: 16rem;
    /* max-height: 2.875rem; */
}

.berlinUP_logo--kurz {
    max-width: 16rem;
    /* max-height: 2.25rem; */
}

.berlinUP_brand_logo--material {
    display: block;
    width: auto;
    max-width: 10rem;
    /* max-height: 2.5rem; */
    height: auto;
    object-fit: contain;
    margin: auto;
}

.berlinUP_footer--material .pkp_brand_footer a {
    display: block;
}

.navbar-logo {
    margin: 0px;
}

#logo_spacing {
    min-width: 10%;
}

.footer-logos {
    margin-top: 20px;
}

/* .pkp_site_name {
    display: flex;
    justify-content:space-around;
} */

@media (max-width: 992px) {
    .berlinUP_footer_logo_wrapper {
        display: flex;
    }

    .pkp_structure_footer {
        justify-content: center;
        flex-wrap: wrap;
    }

    .berlinUP_logo_wrapper {
        --berlinup-logo-max-width: 100%;
        --berlinup-logo-max-height: 100%;
    }

    .berlinUP_logo--spartenlogos {
        max-width: 12rem;
        max-height: 2.25rem;
    }

    .berlinUP_logo--kurz {
        max-width: 12rem;
        max-height: 1.875rem;
    }

    .berlinUP_brand_logo--material {
        max-width: 6.5rem;
        max-height: 2rem;
    }
}