.base-card {
    width: 65vw;
    min-width: 20rem;
    max-width: 30rem;
    background-color: white;
    border: #CCCCCC solid 0.1rem;
    border-radius: 0.6rem;
    box-shadow: 2px 2px 1px #A4A4A4;
    margin-bottom: 2rem;
}

.base-card-body {
    width: 100%;
    flex-direction: column;
    align-items: center;
    display: inline-flex;
    margin: 0.6rem 0 1rem 0;
    gap: 0.6rem
}

.base-card-header {
    width: 100%;
    border-radius: 0.5rem 0.5rem 0 0;
    height: 2.6rem;
    background-color: #36c28a;
}

.base-card-header p {
    font-size: 1rem;
    text-align: center;
    padding-top: 0.8rem;
    margin-top: 0;
    font-weight: bold;
}

.base-card-footer {
    width: 100%;
    display: flex;
    flex-direction: row;
    border-radius: 0 0 0.5rem 0.5rem;
    height: 2.6rem;
    background-color: #D9C5B2;
}

.provider-logo {
    height: 95%;
    width: auto;
    margin: 0.2rem 1rem 0;
}

.base-card-footer p {
    font-size: 1rem;
    text-align: center;
    margin-left: 1rem;
    /* overflow: hidden; */
    text-overflow: ellipsis;
    white-space: nowrap;
    /* padding-top: 0.8rem; */
    /* font-weight: bold; */
}

.base-card-context {
    text-align: center;
    color: #A4A4A4;
    font-size: 1rem;
}

.base-card-context p {
    margin: 0;
}

.base-card-value {
    color: black;
    font-size: 2rem;
    justify-self: end;
    text-align: center;
}

.base-card-period {
    font-size: medium;
}

table {
    width: 80%;
}

table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
    /* padding: 1em 1em 1em 1em; */
}

th {
    padding: 0.2rem 1rem 0.2rem 1rem;
}

td {
    padding-right: 0.2rem;
    text-align: right;
    white-space: nowrap;
}

thead, tfoot {
    background-color: #d0faa8;
}

tfoot td {
    font-weight: bold;
}

.ret {
    background-color: #e7f8d7;
}

.nonret {
    background-color: #f5ffec;
}

.details {
    text-align: left;
    padding: 0 1em;
    align-self: start;
}

details>summary {
    cursor: pointer;
}

.nomargin {
    margin: 0;
}

.pointer:hover {
    cursor: pointer;
}

.topmargin {
    margin-top: 1rem;
}

.card-paragraph {
    margin: 0 1rem;
}

.card-form {
    display: grid;
}
