/*
 * Copyright (c) 2022-2023 Actuaries Carbon Collaboration https://carbon.ifoagroups.org.uk
 */

/* supersede bootstrap at the cell level by being annoyingly specific.
see https://stackoverflow.com/questions/19768794/custom-css-being-overridden-by-bootstrap-css */
.scen1,
.table > :not(caption) > tr > td.scen1 {
    background-color: #D9E9FB;
}

.scen2,
table > :not(caption) > tr > td.scen2 {
    background-color: #FFE6D5;
}

.table-text-end td,
.table-text-end th {
    text-align: right !important;
}

.table-text-center td,
.table-text-center th {
    text-align: center;
}

.table-sm > :not(caption) > tr > td,
.table-sm > :not(caption) > tr > th {
    padding-left: 8px;
    padding-right: 8px;
}

.table-sm > :not(caption) > tr > td.acc-indent {
    padding-left: 18px;
}

.acc-scrollable {
    display: block;
    max-height: 600px;
    overflow-y: scroll;
}
