.resultheader {
    text-align: center;
    margin-bottom: var(--size-step);
}

.resultheader a {
    color: var(--link-color-content);
}

.resultheader a:hover {
    color: var(--link-color-content-hover);
}

.page-item.active .page-link {
    background-color: var(--link-color-content);
    border-color: var(--link-color-content);
}

.skipbar {
    margin-bottom: calc(0.5*var(--size-step));
}

.skipbar ul {
    margin: 0;
    padding: 0;
}

.skipbar ul li {
    display: inline;
    padding: 0.3em;
}

.skipbar ul li.active {
    border-bottom: 4px solid var(--main);
}

.skipbar ul li.empty {
    opacity: 0.25;
}

#dpt_result_list_link a {
    font-weight: bold;
}

#search-main {
    display: grid;
    grid-template-columns: 200px auto;
    grid-gap: var(--size-step);

    margin-bottom: var(--size-step);
}

/*** facet layout ***/
div.facet-container {
    display: none;
}

#search-facets h3.facet {
    font-size: 1rem;
    font-weight: normal;

    margin: 0 0 2px 0;
    padding: 0;
}

#search-facets h3.facet:last-of-type {
    margin-top: 20px;
}

#search-facets h3.facet:last-of-type + ul {
    margin: 0 0 0 5px;
    padding: 0;
}

#search-facets h3.facet:last-of-type + ul li {
    list-style-type: none;
}

ul.single-facet-select {
    margin: 0;
    padding: 0;
}

ul.single-facet-select li {
    display: list-item;
    list-style-type: none;
    text-align: left;
    padding: 0;
}

div.active-facets ul {
    margin: 0;
    padding: 0;
}

/**** Result table *****/
.tt table {
    width: 100%;
    overflow: auto;
    border-collapse: collapse;
}

.tt th {
    text-align: left;
    font-weight: normal;
    font-size: small;
    border-bottom: 4px solid #239199;
    padding: 1vw;
}

.tt.work th {
    border-bottom: 4px solid var(--work);
}

.tt.agent th {
    border-bottom: 4px solid var(--agent);
}

.tt.manuscript th {
    border-bottom: 4px solid var(--manuscript);
}

.tt.secentry th {
    border-bottom: 4px solid var(--secentry);
}

.tt.illustration th {
    border-bottom: 4px solid var(--illustration);
}

.tt.ibbg th {
    border-bottom: 4px solid var(--ibbg);
}

.tt.ibbd th {
    border-bottom: 4px solid var(--ibbd);
}

.tt tr td {
    transition: all 0.5s ease-in-out;
    background-color: transparent;
}

.tt tr:hover td {
    transition: all 0.1s ease-in-out;
    background-color: #f4f4f4;
    /*cursor: pointer;*/
}

.tt td {
    padding: 2vw 1vw;
    vertical-align: top;
}

.tt td ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.tt td ul li:not(:last-child) {
    margin-bottom: 10px;
}

.tt th:first-child, .tt td:first-child {
    padding-left: 4vw;
}

.tt th:last-child, .tt td:last-child {
    padding-right: 4vw;
    width: 80px;
    max-width: 80px;
}

.tt th:nth-last-child(2), .tt td:nth-last-child(2) {
    text-align: right;
}

.tt td {
    border-bottom: 1px solid #d6d4d2;
}

.tt td:last-child {
    text-align: right;
}

.tt img {
    max-width: 100%;
    min-width: 60px;
}