/* @group seantis.people */

/* @group list filter */
.portaltype-seantis-people-list {

    .people-list th span:after {
        content: ' / '
    }

    .people-list th span:last-child:after {
        content: ''
    }

    .people-letters {
        a.selected-letter,
        a:hover {
            @include boxshadow(0 0 .2em darken($highlight-color-light, 50%));
        }
    }

    .filter-tag {
        font-weight: bold;
    }

    .filter-reset {
        margin-bottom: 0.5em;
        display: block;
    }

    .filter-reset:before {
        content: '»';
    }
}
/* @end */

/* @group list person details */
.person-details {

    .person-detail {
        margin-bottom: 1em;

        h2 {
            font-size: 1em;
            margin: 0;
        }

        div {
            max-width: $page-fixed-width / 2;
        }

    }

    .person-memberships ul {
        list-style: none;
        padding-left: 0;
    }

}

.person-details-left.splitscreen {
    float: left;
    padding-right: 2em;
    max-width: 50%;
}
.person-details-right.splitscreen {
    float: right;
}

#content .person-wrapper {
    display: table;
    margin-top: 1em;

    .person-navigation {
        height: 2.3em;
        min-width: 250px;
        //border-top: 1px solid $lightgray2;
        border-bottom: 1px solid $lightgray2;
    }

    .person-navigation .previous {
        float: left;
        background: none;
        margin-top: 2px;
    }

    .person-navigation a.next {
        float: right;
        background: none;
        margin-top: 2px;
    }
}

@media screen and (max-width: 797px) {
    #content .person-wrapper {
        display: block;
        width: 100%;
    }
}
/* @end */

/* @end */

/* @group seantis.kantonsrat (builds on seantis.people) */
.kantonsrat-memberships {
    ul {
        list-style: none;
        padding-left: 0;

        li {
            margin-bottom: 0.5em;
        }
    }

    .kantonsrat-url,
    .kantonsrat-role,
    .kantonsrat-state,
    .kantonsrat-actions {
        float: left;
        margin-right: 0.25em;
    }

    .kantonsrat-timespan,
    .kantonsrat-replacement_for,
    .kantonsrat-note {
        color: $darkgray;
    }

    .kantonsrat-state:before {
        content: "↳";
    }

    .kantonsrat-actions a {
        display: inline-block;
        border-left: 1px solid $darkgray;
        padding-left: 0.25em;
        line-height: 1em;
    }
}
/* @end */