/* NVA Publikasjoner */

#nva-publikasjoner-wrapper {
    margin-top: 2rem;
}

#nva-pub-table_wrapper > .row:first-child {
    margin-bottom: 25px;
}

#nva-pub-table_wrapper > .row:last-child {
    margin-top: 25px;
}


div.dataTables_wrapper div.dataTables_length select {
    width: auto;
    display: inline-block;
}

div.dataTables_wrapper div.dataTables_length,
div.dataTables_wrapper div.dataTables_filter {
    text-align: left !important;
}

div.dataTables_wrapper div.dataTables_filter input {
    margin-left: .5em;
    min-width: 250px;
}

/* Tabellhode-farge */
#nva-pub-table thead th {
    background-color: #2d8e9f;
    color: #fff;
    white-space: nowrap;
    vertical-align: middle;
    border-color: #257f8e;
}

#nva-pub-table thead th.sorting:after,
#nva-pub-table thead th.sorting_asc:after,
#nva-pub-table thead th.sorting_desc:after {
    color: rgba(255,255,255,.7);
}

#nva-pub-table tbody td {
    vertical-align: middle;
}

#nva-pub-table .nva-authors {
    font-size: .875rem;
    color: #555;
}

td a{
    text-decoration:none;
}

/* Paginering – tema-farge */
#nva-pub-table_wrapper .pagination .page-item.active .page-link {
    background-color: #2d8e9f;
    border-color: #2d8e9f;
    color: #fff;
}

#nva-pub-table_wrapper .pagination .page-item .page-link {
    color: #2d8e9f;
}

#nva-pub-table_wrapper .pagination .page-item .page-link:hover {
    background-color: #e8f5f7;
    border-color: #2d8e9f;
    color: #2d8e9f;
}

#nva-pub-table_wrapper .pagination .page-item .page-link:focus {
    box-shadow: 0 0 0 .2rem rgba(45, 142, 159, .3);
}

/* Detaljrad på mobil (skjulte kolonner vises automatisk under hver rad) */
#nva-pub-table tbody tr.child td.child {
    padding: .4rem .75rem;
    background-color: #f8f9fa;
}

#nva-pub-table tbody tr.child ul.dtr-details {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}

#nva-pub-table tbody tr.child ul.dtr-details li {
    padding: .2rem 0;
    border-bottom: 1px solid #dee2e6;
    font-size: .875rem;
}

#nva-pub-table tbody tr.child ul.dtr-details li:last-child {
    border-bottom: none;
}

#nva-pub-table tbody tr.child ul.dtr-details span.dtr-title {
    font-weight: 600;
    color: #2d8e9f;
    min-width: 6rem;
    display: inline-block;
}