﻿/* Rich Text Editor container */
.umbraco-rte {
    font-family: "Inter", Arial, sans-serif;
    letter-spacing: -0.005em;
}

/* EB Garamond Font Utility Classes */
.eb-garamond-light {
    font-family: "EB Garamond", serif;
    font-weight: 300;
}

.eb-garamond-regular {
    font-family: "EB Garamond", serif;
    font-weight: 400;
}

.eb-garamond-medium {
    font-family: "EB Garamond", serif;
    font-weight: 500;
}

.eb-garamond-semibold {
    font-family: "EB Garamond", serif;
    font-weight: 600;
}

.eb-garamond-bold {
    font-family: "EB Garamond", serif;
    font-weight: 700;
}

.eb-garamond-extrabold {
    font-family: "EB Garamond", serif;
    font-weight: 800;
}

.eb-garamond-light-italic {
    font-family: "EB Garamond", serif;
    font-weight: 300;
    font-style: italic;
}

.eb-garamond-regular-italic {
    font-family: "EB Garamond", serif;
    font-weight: 400;
    font-style: italic;
}

.eb-garamond-medium-italic {
    font-family: "EB Garamond", serif;
    font-weight: 500;
    font-style: italic;
}

.eb-garamond-semibold-italic {
    font-family: "EB Garamond", serif;
    font-weight: 600;
    font-style: italic;
}

.eb-garamond-bold-italic {
    font-family: "EB Garamond", serif;
    font-weight: 700;
    font-style: italic;
}

.eb-garamond-extrabold-italic {
    font-family: "EB Garamond", serif;
    font-weight: 800;
    font-style: italic;
}

@media (min-width: 1100px) and (max-width: 2000px) {
    .umbraco-rte {
    }
}

.umbraco-rte h2 {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 16px;
    font-family: "EB Garamond", serif;
    text-rendering: geometricPrecision;
}

/* Paragraphs */
.umbraco-rte p {
    padding: 27px 0 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    font-family: "Inter", Arial, sans-serif;
    letter-spacing: -0.005em;
    @media (max-width: 675px) {
        font-size: 16px;
        line-height: 24px;
    }
}

.umbraco-rte p:first-child {
    padding: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    font-family: "Inter", Arial, sans-serif;
    letter-spacing: -0.005em;
    @media (max-width: 675px) {
        font-size: 16px;
        line-height: 24px;
    }
}

.umbraco-rte p:last-child {
    /* padding: 27px 0; */
}

/* Tables */
.umbraco-rte table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #b9b9b9 !important;
    font-family: "Inter", Arial, sans-serif;
    font-weight: 400;
    height: 100% !important;
    letter-spacing: -0.005em;
}

.umbraco-rte th,
.umbraco-rte td {
    padding: 11px 15px;
    min-width: 200px;
    max-width: 400px;
    max-height: 300px;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align: left;
}

.umbraco-rte table td p {
    padding: unset;
    font-size: 16px;
}

.umbraco-rte a.cta-button {
    padding-top: 1.25rem;
    /* py-5 = 20px */
    padding-bottom: 1.25rem;
}

/* .umbraco-rte table td p strong {
  white-space: nowrap;
  font-family: "Inter, Arial, sans-serif", sans-serif;
} */

@media (max-width: 674px) {
    .umbraco-rte {
        font-family: "Inter", Arial, sans-serif;
        letter-spacing: -0.005em;
    }

    .umbraco-rte table {
        display: block;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    /* .umbraco-rte table td p strong {
    white-space: nowrap;
    font-family: "Inter, Arial, sans-serif", sans-serif;
  } */

    .umbraco-rte table::-webkit-scrollbar {
        display: none;
    }

    .umbraco-rte p {
        padding: 24px 0 0;
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: -0.5%;
    }

    .umbraco-rte p:last-child {
        /* padding: 24px 0; */
    }

    .umbraco-rte ul {
        padding-bottom: 24px;
        font-size: 16px !important;
        font-weight: 400;
        line-height: 24px;
        /* letter-spacing: -0.08px; */
    }

    .umbraco-rte ol {
        list-style-type: decimal;
        padding-bottom: 24px;
        font-size: 16px !important;
        font-weight: 400;
        line-height: 24px;
        /* letter-spacing: -0.08px; */
    }
}

.umbraco-rte th,
.umbraco-rte tbody td:first-child,
.umbraco-rte table strong,
.umbraco-rte table b {
    font-family: "Inter", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.005em;
}

.umbraco-rte th:first-child,
.umbraco-rte td:first-child {
    padding-left: 15px;
}

.umbraco-rte th:last-child,
.umbraco-rte td:last-child {
    padding-right: 15px;
}

/* Table Headers */
.umbraco-rte th {
    font-weight: 700;
    color: #000000;
    background-color: transparent;
    text-align: left;
    font-weight: 700;
    line-height: 27px;
    /* letter-spacing: -0.08px; */
}

/* Table Data Cells */
.umbraco-rte tbody td {
    font-size: 16px;
    color: #393939;
    /* dark gray */
    line-height: 24px;
    /* letter-spacing: -0.08px; */

    vertical-align: top;
    background-color: #ffffff;
    /* default bg */
    border: none;
}

.umbraco-rte tbody td p {
    padding-bottom: unset;
}

.umbraco-rte tbody td:first-child {
    font-weight: bold;
    color: #000000;
}

/* Hover all td */
.umbraco-rte tbody tr:nth-child(even) td {
    background-color: #f3f3f3;
}

.umbraco-rte > div > div {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.umbraco-rte > div > div > div {
    display: flex;
    align-items: flex-start;
    padding: 11px 15px;
    gap: 15px;
    /* height: 46px; */
    background-color: #f3f3f3;
}

.umbraco-rte > div > div > div > div:first-child {
    width: 148px;
    font-weight: bold;
    font-size: 16px;
    color: #000000;
    display: flex;
    align-items: stretch;
    letter-spacing: -0.005em;
    font-family: "Inter", Arial, sans-serif;
}

.umbraco-rte > div > div > div > div:last-child {
    flex: 1;
    font-size: 16px;
    color: #000000;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
    letter-spacing: -0.005em;
}

/* Links */
.umbraco-rte a {
    color: #a6192e;
    text-decoration: underline;
}

.umbraco-rte a:hover {
    background-color: #faeff0;
}

.scrollbar-hide {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

.umbraco-rte ul {
    list-style-type: disc;
    /* Dotted bullets */
    margin-left: 30px;
    padding-bottom: 27px;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
}

.umbraco-rte ol {
    list-style-type: decimal;
    margin-left: 30px;
    padding-bottom: 27px;
    font-size: 18px;
    padding: 27px 0;
    font-weight: 400;
    line-height: 27px;
}

@media (max-width: 675px) {
    .umbraco-rte hr {
        margin-left: -24px;
        margin-right: -24px;
        padding: 15px 0 15px 0;
    }
}
