a.abutton {
    background-color: #eee;
    color: black;
    border: 1px solid black;
    border-radius: 2px;
    padding: 1px 5px;
    margin: 2px;
    text-decoration: none;
}

a.external {
    padding-right: 16px;
    background-image: url(/image/icon/external-link.svg);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 12px;
}

a#export_csv {
    margin-left: 1em;
}

time {
    padding: 5px 5px 5px 25px;
    background: #eee url(/image/icon/calendar.svg) no-repeat 5px;
    background-size: 15px;
    cursor: pointer;
    border: 1px solid #aaa;
    display: inline-block;
    border-radius: 5px;
}

.hidden, .hidden * {
    text-decoration: line-through;
    color: #bbb !important;
}

.smart-select {
    display: inline-block;
    width: 30em;
}
    .smart-select.narrow {
        width: 10em;
    }
    .smart-select.wide {
        width: 50em;
    }

.report-print-header,
.report-print-footer
{
    display: none;
}

.report-print-landscape
{
    page: report-print-landscape;
}

@page report-print-landscape
{
    size: A4 landscape;
    margin: 12mm 10mm 14mm;
}

@media print
{    
    .report-print-page
    {
        zoom: var(--report-print-zoom, 1);
    }

    .no-print, .no-print *
    {
        display: none !important;
    }

    .report-print-controls,
    .report-print-button
    {
        display: none !important;
    }

    .report-print-landscape
    {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .report-print-header
    {
        align-items: center;
        border-bottom: 1px solid #222;
        display: flex;
        gap: 18px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .report-print-header img
    {
        height: 44px;
        width: auto;
    }

    .report-print-header h1
    {
        font-size: 16pt;
        margin: 0;
    }

    .report-print-header h2
    {
        font-size: 10pt;
        font-weight: normal;
        margin: 4px 0 0;
    }

    .report-print-table
    {
        width: 100% !important;
    }

    .report-print-table thead
    {
        display: table-header-group;
    }

    .report-print-table tr
    {
        page-break-inside: avoid;
    }

    .report-print-table a
    {
        color: #000;
        text-decoration: none;
    }

    .report-print-footer
    {
        border-top: 1px solid #222;
        display: block;
        font-size: 8pt;
        margin-top: 12px;
        padding-top: 5px;
        text-align: center;
    }
}

span.hlp {
    display: none;
}
    
.themed {
  background-color: var(--legacy-background-colour);
}
