/* PR Table on the finished page. Full width of its container, always. */
/* v1.2.0: the colors and sizes live on the table itself, so tables look right without the script, in the
   classic editor's Visual tab, and in Avada Text elements. Each table's own choices come inline on the table. */
.pr-table-wrap, table.pr-table { --prt-head-bg: #2c3338; --prt-head-text: #fff; --prt-highlight: #fff8d6; --prt-border: #d9d9d9; --prt-stripe: #f6f6f6; --prt-radius: 15px; }
.pr-table-wrap { width: 100%; margin: 0 0 1.5em; }
table.pr-table { width: 100%; max-width: none; border-collapse: separate; border-spacing: 0; border-radius: var(--prt-radius); }
.pr-table-scroll { width: 100%; }
/* Separate borders (not collapsed) so corner cells can be rounded; each line is drawn once. */
.pr-table-wrap table.pr-table { width: 100%; max-width: none; border-collapse: separate; border-spacing: 0; margin: 0; border-radius: var(--prt-radius); }
table.pr-table caption { caption-side: top; text-align: left; font-weight: 700; padding: 0 0 .5em; }
table.pr-table th, table.pr-table td { padding: .7em .9em; text-align: var(--prt-ha, left); vertical-align: var(--prt-va, top); }
table.pr-table thead th { background: var(--prt-head-bg); color: var(--prt-head-text); font-weight: 700; }
table.pr-table tbody th { font-weight: 700; }
table.pr-table.pr-borders th, table.pr-table.pr-borders td { border: 0; border-right: 1px solid var(--prt-border); border-bottom: 1px solid var(--prt-border); }
table.pr-table.pr-borders tr > :first-child { border-left: 1px solid var(--prt-border); }
table.pr-table.pr-borders .pr-c-tl, table.pr-table.pr-borders .pr-c-tr, table.pr-table.pr-borders thead tr:first-child > *, table.pr-table.pr-borders > tbody:first-child tr:first-child > *, table.pr-table.pr-borders > caption + tbody tr:first-child > * { border-top: 1px solid var(--prt-border); }
table.pr-table:not(.pr-borders) tbody tr > * { border-bottom: 1px solid var(--prt-border); }
table.pr-table:not(.pr-borders) tbody tr.pr-r-last > *, table.pr-table:not(.pr-borders) > tbody > tr:last-child > * { border-bottom: 0; }
table.pr-table.pr-striped tbody tr:nth-child(even) > * { background: var(--prt-stripe); }
table.pr-table .pr-c-tl { border-top-left-radius: var(--prt-radius); }
table.pr-table .pr-c-tr { border-top-right-radius: var(--prt-radius); }
table.pr-table .pr-c-bl { border-bottom-left-radius: var(--prt-radius); }
table.pr-table .pr-c-br { border-bottom-right-radius: var(--prt-radius); }
/* Rounded corners before the script runs, or when it never does. */
table.pr-table > thead > tr:first-child > :first-child, table.pr-table:not(:has(> thead)) > tbody > tr:first-child > :first-child { border-top-left-radius: var(--prt-radius); }
table.pr-table > thead > tr:first-child > :last-child, table.pr-table:not(:has(> thead)) > tbody > tr:first-child > :last-child { border-top-right-radius: var(--prt-radius); }
table.pr-table > tbody > tr:last-child > :first-child { border-bottom-left-radius: var(--prt-radius); }
table.pr-table > tbody > tr:last-child > :last-child { border-bottom-right-radius: var(--prt-radius); }
table.pr-table.pr-borders > thead > tr:first-child > *, table.pr-table.pr-borders:not(:has(> thead)) > tbody > tr:first-child > * { border-top: 1px solid var(--prt-border); }
table.pr-table.pr-compact th, table.pr-table.pr-compact td { padding: .35em .6em; font-size: .95em; }
table.pr-table .pr-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Alignment chosen for a single cell, column, or row in the editor wins over table and site defaults. */
table.pr-table th.pr-al-left, table.pr-table td.pr-al-left { text-align: left; }
table.pr-table th.pr-al-center, table.pr-table td.pr-al-center { text-align: center; }
table.pr-table th.pr-al-right, table.pr-table td.pr-al-right { text-align: right; }
table.pr-table th.pr-va-top, table.pr-table td.pr-va-top { vertical-align: top; }
table.pr-table th.pr-va-middle, table.pr-table td.pr-va-middle { vertical-align: middle; }
table.pr-table th.pr-va-bottom, table.pr-table td.pr-va-bottom { vertical-align: bottom; }
table.pr-table .pr-sort { justify-content: inherit; }
table.pr-table tbody .pr-hl, table.pr-table.pr-striped tbody tr:nth-child(even) > .pr-hl { background: var(--prt-highlight); }
/* The highlighted column without the script (tables without merged cells). */
table.pr-table[data-pr-highlight="0"] tbody tr > :nth-child(1),
table.pr-table[data-pr-highlight="1"] tbody tr > :nth-child(2),
table.pr-table[data-pr-highlight="2"] tbody tr > :nth-child(3),
table.pr-table[data-pr-highlight="3"] tbody tr > :nth-child(4),
table.pr-table[data-pr-highlight="4"] tbody tr > :nth-child(5),
table.pr-table[data-pr-highlight="5"] tbody tr > :nth-child(6),
table.pr-table[data-pr-highlight="6"] tbody tr > :nth-child(7),
table.pr-table[data-pr-highlight="7"] tbody tr > :nth-child(8),
table.pr-table[data-pr-highlight="8"] tbody tr > :nth-child(9),
table.pr-table[data-pr-highlight="9"] tbody tr > :nth-child(10),
table.pr-table[data-pr-highlight="10"] tbody tr > :nth-child(11),
table.pr-table[data-pr-highlight="11"] tbody tr > :nth-child(12),
table.pr-table[data-pr-highlight="12"] tbody tr > :nth-child(13),
table.pr-table[data-pr-highlight="13"] tbody tr > :nth-child(14),
table.pr-table[data-pr-highlight="14"] tbody tr > :nth-child(15),
table.pr-table[data-pr-highlight="15"] tbody tr > :nth-child(16),
table.pr-table[data-pr-highlight="16"] tbody tr > :nth-child(17),
table.pr-table[data-pr-highlight="17"] tbody tr > :nth-child(18),
table.pr-table[data-pr-highlight="18"] tbody tr > :nth-child(19),
table.pr-table[data-pr-highlight="19"] tbody tr > :nth-child(20) { background: var(--prt-highlight); }
.pr-hl-bar table.pr-table thead .pr-hl { box-shadow: inset 0 -4px 0 var(--prt-highlight); }
.pr-sticky table.pr-table thead th { position: sticky; top: var(--prt-sticky-top, 0); z-index: 2; }
.pr-sort { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: .35em; font: inherit; color: inherit; }
.pr-sort:focus-visible { outline: 3px solid #fcff00; outline-offset: 2px; box-shadow: 0 0 0 5px #111; }
.pr-sort-ind::after { content: "\2195"; opacity: .55; font-size: .85em; }
th[aria-sort="ascending"] .pr-sort-ind::after { content: "\2191"; opacity: 1; }
th[aria-sort="descending"] .pr-sort-ind::after { content: "\2193"; opacity: 1; }
.pr-table-search { margin: 0 0 .6em; }
.pr-table-search input { width: 100%; min-height: 44px; padding: .5em .75em; border: 1px solid #aaa; border-radius: 6px; font: inherit; box-sizing: border-box; }
.pr-table-none { padding: .75em; background: rgba(0,0,0,.04); }
.pr-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
table.pr-table tr[hidden] { display: none !important; }

/* Phone layout: scroll sideways */
.pr-narrow.pr-scroll .pr-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pr-narrow.pr-scroll table.pr-table { min-width: 600px; }
.pr-narrow.pr-scroll.pr-sticky table.pr-table thead th { position: static; }

/* Phone layout: stacked cards */
.pr-narrow.pr-cards table.pr-table, .pr-narrow.pr-cards table.pr-table tbody, .pr-narrow.pr-cards table.pr-table tr, .pr-narrow.pr-cards table.pr-table td, .pr-narrow.pr-cards table.pr-table tbody th { display: block; width: 100%; box-sizing: border-box; }
.pr-narrow.pr-cards table.pr-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pr-narrow.pr-cards table.pr-table tbody tr { border: 1px solid var(--prt-border); border-radius: var(--prt-radius); margin: 0 0 .9em; overflow: hidden; background: #fff; }
.pr-narrow.pr-cards table.pr-table.pr-striped tbody tr:nth-child(even), .pr-narrow.pr-cards table.pr-table.pr-striped tbody tr:nth-child(even) > * { background: #fff; }
.pr-narrow.pr-cards table.pr-table .pr-c-tl, .pr-narrow.pr-cards table.pr-table .pr-c-tr, .pr-narrow.pr-cards table.pr-table .pr-c-bl, .pr-narrow.pr-cards table.pr-table .pr-c-br, .pr-narrow.pr-cards table.pr-table th, .pr-narrow.pr-cards table.pr-table td { border-radius: 0; }
.pr-narrow.pr-cards table.pr-table td, .pr-narrow.pr-cards table.pr-table tbody th { border: 0 !important; border-bottom: 1px solid var(--prt-border) !important; display: flex; gap: .75em; text-align: left !important; white-space: normal; }
.pr-narrow.pr-cards table.pr-table td:last-child { border-bottom: 0 !important; }
.pr-narrow.pr-cards table.pr-table td[data-label]::before, .pr-narrow.pr-cards table.pr-table tbody th[data-label]::before { content: attr(data-label); flex: 0 0 40%; font-weight: 700; }
.pr-narrow.pr-cards table.pr-table td.pr-num { text-align: left; }
.pr-narrow.pr-cards table.pr-table tbody th:first-child { background: rgba(0,0,0,.05); }
.pr-narrow.pr-cards table.pr-table caption { display: block; width: 100%; }
