/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

    This file contains rules for
    LIST GROUPS
    that implement the UU design system specifically for Sitevision

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */


/* Should probably be moved to the DS */

.list-group-item-muted {
    display: block;
    margin: 0.5em 0;
}

.list-group-item-muted:last-child {
    margin-bottom: 0;
}

a.show-more {
    font-size: 1rem;
    letter-spacing: .05em;
}

/* Style of Sitevision nested list menu portlet inside a card */

/* Card with and without header */
.card .sv-nestedlistmenu-portlet {
    margin: calc(-0.5 * var(--bs-card-spacer-y)) calc(-1 * var(--bs-card-spacer-x));
}

/* Card with header */
.card .sv-text-portlet + .sv-nestedlistmenu-portlet {
    margin-top: calc(var(--bs-card-spacer-y) / 2) !important;
}

.card .sv-nestedlistmenu-portlet ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    margin-left: 0 !important;
    max-width: 100%;
}

.card .sv-nestedlistmenu-portlet ul li {
    display: flex;
    flex-direction: column;
}

.card .sv-nestedlistmenu-portlet ul li:hover {
    background-color: var(--color-lightgrey);
}

.card .sv-nestedlistmenu-portlet ul li a {
    color: var(--color-text);
    outline: none;
    padding: calc(var(--space-small) * 1.5) var(--bs-card-spacer-x);
    text-decoration: underline;
}

.card .sv-nestedlistmenu-portlet ul ul li a {
    padding-left: calc(var(--bs-card-spacer-x) * 2);
}

.card .sv-nestedlistmenu-portlet ul ul ul li a {
    padding-left: calc(var(--bs-card-spacer-x) * 3);
}

.card .sv-nestedlistmenu-portlet ul ul ul ul li a {
    padding-left: calc(var(--bs-card-spacer-x) * 4);
}

