.tbl-content-wrapper {
    display: flex;
    flex-direction: column;
}

.mo-tbl {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
}

.mo-tbl-rows {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mo-tbl-rows:first-child {
    min-width: 120px;
}

.mo-tbl-rows > div {
    text-align: left;
    padding: 10px 8px;
    border-bottom: 1px solid var(--color-gray-15);
    align-items: end;
    display: flex;
    min-width: 100px;
}

.mo-tbl-rows > div:last-child {
    border-bottom: none;
}

.mo-tbl p {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-primary);
    width: 100%;
}

.tbl-notes {
    display: none;
}

.tbl-notes p {
    padding-left: 8px;
    margin: 5px 0;
}

.mo-tbl-row-head,
.mo-tbl-row-head p,
.tbl-notes p {
    font-size: 14px;
    line-height: 16px;
    font-weight: 300;
    text-align: left;
    color: var(--color-text-secondary);
}



.mo-tbl p:has(u) {
    display: flex;
    flex-direction: row-reverse;
    margin-right: 0;
    width: auto;
    gap: 8px;

    & u {
        font-size: 10px;
        align-self: center;
        background-color: var(--color-ring-green-2);
        padding: 2px;
        color: var(--color-dark-green);
        text-transform: uppercase;
        text-decoration: none;
        text-align: center;
    }
}

.table {
    width: 100%;
    overflow-x: auto;
    margin: 24px 0 0;
}

.table:has(.mo-box-common) {
    overflow: unset;
}

.table table th p,
.table table td p {
    margin: 0;
    font-size: inherit;
    color: var(--color-text-secondary);
}

.table table td p + p {
    margin-top: 0.25em;
}


.mo-tbl-row-head {
    align-items: center;
    display: flex;
}

.table table {
    width: 100%;
    max-width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    font-size: var(--body-font-size-xs);
    background: var(--color-white);
    border-left: 1px solid var(--color-table-border);
    border-right: 1px solid var(--color-table-border);
}

.table table th {
    font-weight: 700;
}

.table table td {
    font-size: var(--fs-xs);
    color: var(--color-black);
}

.table table th,
.table table td {
    padding: 10px 15px;
    text-align: left;
    border-top: 1px solid var(--color-table-border);
    border-bottom: 1px solid var(--color-table-border);
}

.table.cell-lg td {
    height: 60px;
}

.table.cell-md td {
    height: 80px;
}

.table.cell-sm td {
    height: 60px;
}

.table.fix-col-header th:first-child,
.table.fix-col-header td:first-child {
    background: var(--bg-gradient-table);
    color: var(--color-text-secondary);
    font-size: var(--fs-xs);
    font-weight: var(--font-weight-semibold);
    left: 0;
    position: sticky;
    z-index: 1;
    border-right: 1px solid var(--color-table-border);
    border-left: 1px solid var(--color-table-border);
    filter: drop-shadow(1px 6px 24px 0 rgb(0 0 0 / 7%));
    box-shadow: 1px 6px 24px 0 rgb(0 0 0 / 7%);
}

.table.fix-row-header tr:first-child th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--bg-gradient-table);
}

/* no header variant */
.table.no-header table tbody tr {
    border-top: 1px solid #dadada;
}

/* striped variant */
.table.striped tbody tr:nth-child(odd) {
    background-color: var(--light-color);
}

.table-header-tag {
    font-size: 10px;
    background-color: var(--color-ring-green-2);
    padding: 2px;
    color: var(--color-dark-green);
    text-transform: uppercase;
    display: flex;
    text-decoration: none;
}

.table p a.button {
    padding: 0;
    background: none;
    color: var(--color-text-secondary);
    text-transform: unset;
    font-weight: normal;
}

.table.bordered.block table th,
.table.bordered.block table td {
    border: 1px solid var(--color-gray-15);
}

.table.has-box-shadow {
    box-shadow: 1px 6px 24px 0 rgb(0 0 0 / 7%);
}

.stock-page .section.table-container .default-content-wrapper h3,
.stock-page .section.highlight-box-container .default-content-wrapper h3,
.stock-page .section.ring-chart-container .default-content-wrapper h3,
.stock-page .section.news-details-block-container .default-content-wrapper h3,
.stock-page .section.next-steps-cards-container .default-content-wrapper h3 {
    font-size: var(--f-s-sub-title);
    text-align: center;
}

.stock-page
    .section.highlight-box-container
    .default-content-wrapper
    h3
    strong {
    font-weight: var(--font-weight-medium);
}

.stock-page .section.table-container .default-content-wrapper h2,
.stock-page .section.table-container .default-content-wrapper h2 strong,
.stock-page .section.highlight-box-container .default-content-wrapper h2,
.stock-page .section.highlight-box-container .default-content-wrapper h2 strong,
.stock-page .section.news-details-block-container .default-content-wrapper h2,
.stock-page
    .section.news-details-block-container
    .default-content-wrapper
    h2
    strong,
.stock-page .section.next-steps-cards-container .default-content-wrapper h2,
.stock-page
    .section.next-steps-cards-container
    .default-content-wrapper
    h2
    strong {
    font-size: var(--f-s-sub-title);
    text-align: center;
    font-weight: var(--font-weight-medium);
}

.stock-page .section.table-container .default-content-wrapper h3 strong {
    font-weight: var(--font-weight-medium);
}

.white-bg table tbody td:first-child a {
    padding-left: 30px;
    color: var(--color-text-secondary);
    text-transform: unset;
    font-weight: normal;
    background: url("../../icons/call.svg");
    background-repeat: no-repeat;
}

.white-bg table tbody td:last-child a {
    padding-left: 30px;
    color: var(--color-text-secondary);
    text-transform: unset;
    font-weight: normal;
    background: url("../../icons/mail.svg");
    background-repeat: no-repeat;
}

.fd-page .tbl-content-wrapper .mo-tbl-rows div:has(u) {
    flex-direction: column;
}

.fd-page .table.bordered.has-notes.mobile-invert.block .mo-tbl-rows > div {
    position: relative;
}

.fd-page .mo-tbl-row-head p{
    min-width: 100px;
}

.contact-us-outer .table table th p,
.contact-us-outer .table table td p {
    font-size: 16px;
}


@media (width < 400px) {
    .mo-tbl-rows {
        flex: unset;
    }
}

@media (width >= 600px) {
    .table.cell-lg td {
        height: 120px;
    }

    .mo-tbl {
        flex-direction: column;
    }

    .mo-tbl-rows {
        flex-direction: row;
        border-right: none;
        min-width: auto;
        flex: unset;
    }

    .mo-tbl-rows > div {
        text-align: center;
        flex: 1;
        min-width: auto;
    }

    .mo-tbl-rows > div:last-child {
        border-bottom: 1px solid var(--color-gray-15);
    }

    .mo-tbl-rows:last-child > div {
        border-bottom: none;
    }

    .stock-page  .table.bordered.has-notes.mobile-invert.block .mo-box-common .mo-tbl-rows:last-child > div {
        border-bottom: 1px solid var(--color-gray-15);
    }

    .tbl-notes {
        display: block;
    }

    .mo-tbl p:has(u) {
        flex-direction: column;
        width: 100%;

        u {
            padding: 2px 8px;
        }
    }
}

@media (width <=768px) {
    .mo-tbl-rows .mo-tbl-row-head p {
        font-weight: 500;
        color: var(--color-text-primary);
    }    

    .fd-page .tbl-content-wrapper .mo-tbl-rows div:has(u) {
        flex-direction: row-reverse;
        position: relative;
        left:0;
    }

    .contact-us-outer .table.fix-col-header th:first-child, .table.fix-col-header td:first-child{
        left: -3px;
        max-width: 192px;
        word-wrap: break-word;
        background: #fff;
    }
}
