.ol-attribution-grouped {
    align-items: center;
    bottom: .5em;
    max-width: calc(100% - 1.3em);
    right: .5em;
    text-align: right;
    display: flex;
    flex-flow: row-reverse;
    padding: 1px .5em;
 
    a {
      color: var(--ol-subtle-foreground-color);
      text-decoration: none;
    }

    ul, dl {
        margin: 0;
        padding: 0;
        color: var(--ol-foreground-color);
        text-shadow: 0 0 2px var(--ol-background-color);
        font-size: 12px;
    }

    li, dt, dd {
        display: inline;
        list-style: none;
        margin: 0;
    }

    dt + dt::before {
      content: ", ";
    }

    dd::before {
      content: ": ";
    }

    dd + dt::before,
    ul + dl::after {
        content: " | ";
    }

    li:not(:last-child):after {
        content: " ";
    }

    img {
        max-height: 2em;
        max-width: inherit;
        vertical-align: middle;
    }

    button {
        flex-shrink: 0;
    }

    &.ol-collapsed ul {
        display: none;
    }

    &:not(.ol-collapsed) {
        background: var(--ol-partial-background-color);
    }

    &.ol-uncollapsible {
        bottom: 0;
        right: 0;
        border-radius: 4px 0 0;
    }

    &.ol-uncollapsible img {
        margin-top: -.2em;
        max-height: 1.6em;
    }

    &.ol-uncollapsible button {
        display: none;
    }

}
