ul.list-menu .menu-item {
    font-size: 1.25em;
}

ul.list-menu {
    list-style: none;
}

ul.list-menu>li {
    margin-bottom: .5em;
    margin-top: .5em;
}

ul.list-menu .description {
    font-style: italic;
    display: block;
    padding: 0.2em 0 0 1em;
}

ul.list-menu ul {
    list-style: none;
    padding: 0.25em 0 0 1em;
}

ul.list-menu ul li {
    display: inline;
    margin-right: 0.5em;
}

#rt-portal .titlebox iframe {
    height: 100%;
    width: 100%;
    border: 0;
}

#rt-portal .titlebox-content {
    height: 100%;
    padding: 0;
}

#rt-portal .titlebox.rolled-up {
    bottom: auto;
    padding-bottom: 0;
}

#rt-portal .card-body {
    height: 100%;
}

.admin-hint {
    font-style: italic;
}

h2+.admin-hint {
    margin-top: -1em;
}

textarea[name="SMIMECertificate"] {
    max-width: 50em;
    height: 25em;
}

table.upgrade-history .incomplete {
    font-weight: bold;
}

table.upgrade-history .upgrade-history-parent .widget a {
    display: block;
    margin: 0;
    width: 20px;

    background: url(../../../static/images/css/rollup-arrow.gif) no-repeat;
    background-position: center 0;

    padding: 7px 0 0 0;
    overflow: hidden;
}

table.upgrade-history .upgrade-history-parent .widget a.rolled-up {
    background-image: url(../../../static/images/css/rolldown-arrow.gif);
}

#rt-portal .titlebox {
    height: 27em;
}

#rights-inspector.error .results {
    font-weight: bold;
}

#rights-inspector.awaiting-first-result .results {
    opacity: 0.5;
}

#rights-inspector .results .result .match {
    font-weight: bold;
}

#rights-inspector .results .result .name {
    display: block;
}

#rights-inspector .results .result .record.disabled .name {
    text-decoration: line-through;
}

#rights-inspector .results .result .detail {
    font-size: 80%;
    display: inline-block;
}

#rights-inspector .results .result .primary {
    font-size: 80%;
    font-style: italic;
    display: inline-block;
    padding-left: 3px;
}

#rights-inspector .results .result .primary .name {
    display: inline-block;
}

#rights-inspector .results .result .primary .detail {
    display: none;
}

#rights-inspector .results .result .revoke {
    text-align: right;
}

#rt-help-text kbd {
    border: 1px dashed;
    padding: 2px 3px;
}

#rt-help-text a {
    text-decoration: underline;
}

.configuration {
    padding-top: .1em;
}

.configuration .tab-content .tab-content {
    padding-top: 0;
}

.configuration .tab-content .card.titlebox {
    margin-top: 0;
}

.configuration .tab-content .card.titlebox .card.titlebox,
.configuration>.titlebox-content {
    margin-top: 20px;
}


[data-bs-theme=light] {
    table.upgrade-history .incomplete {
        color: #900;
    }

    #rights-inspector.error .results {
        color: red;
    }

    #rights-inspector .results .result:nth-child(even) {
        background-color: rgb(236, 246, 252);
    }

    #rights-inspector .results .result:nth-child(even) .unused {
        background-color: white;
    }

    #rights-inspector .results .result .match {
        background-color: rgb(255, 253, 56);
    }

    #rights-inspector .results .result .detail {
        color: #AAA;
    }

    #rt-help-text kbd {
        color: #111;
        border-color: #AAA;
        background-color: #F6F6F6;
    }

    span.rt-label.scrip-log,
    a.scrip-log {
        color: red !important;
    }
}

[data-bs-theme=dark] {

    #rights-inspector .results .result:nth-child(even),
    #rights-inspector .results .result:nth-child(even) * {
        background-color: #111 !important;
    }

    #rights-inspector .results .result:nth-child(even) .unused {
        background: #171A1F !important;
    }

    #rights-inspector .results .result .match {
        background-color: #114 !important;
    }

    div.user-related-info i.label {
        padding-top: 0;
    }

    div.user-related-info a.btn.btn-primary {
        background: #323D42 !important;
        border-color: #717171;
        margin-bottom: 1px;
    }
}
