/**
 * Editor Stylesheet
 * Matches frontend typography for TinyMCE WYSIWYG editors
 */

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: 0;
    color: #3D3D3D;
    margin: 10px;
}

/* Headings */
h1 {
    font-size: 64px;
    line-height: 80px;
    font-weight: 400;
}

h2 {
    font-size: 46px;
    line-height: 56px;
    font-weight: 400;
}

h3,
h5,
h6 {
    font-size: 20px;
    line-height: 36px;
    font-weight: 400;
}

h4 {
    font-size: 26px;
    line-height: 38px;
    font-weight: 400;
}

/* Paragraphs */
p+p {
    margin-top: 1em;
}

/* Lists */
ol,
ul {
    margin: 0;
    padding-left: 1.5em;
}

ol {
    list-style-type: decimal;
}

ul {
    list-style-type: disc;
}

ol li,
ul li {
    padding-left: 5px;
}

/* Links */
a {
    color: #166592;
    text-decoration: underline;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Tables: border-box so the editor preview matches the rendered page
   (frontend cells are border-box; cellpadding is honored on both sides). */
table,
td,
th {
    box-sizing: border-box;
}

.background-color-1,
.background-color-2,
.background-color-3,
.background-color-4,
.background-color-5,
.background-color-6 {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    color: #FFFFFF;
}

.background-color-1 {
    background-color: #1e3a5f;
}

.background-color-2 {
    background-color: #1a6fa8;
}

.background-color-3 {
    background-color: #00a0b5;
}

.background-color-4 {
    background-color: #57cc99;
}

.background-color-5 {
    background-color: #f0a500;
}

.background-color-6 {
    background-color: #8a9ab0;
}

a.button-link {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 4px;
    background-color: #166592;
    color: #fff !important;
    text-decoration: none;
    line-height: 1.2;
}

a.button-link:hover,
a.button-link:focus {
    background-color: #1e3a5f;
    color: #fff !important;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 18px;
    font-size: 20px;
    border: none;

}

table thead th,
table thead td {
    background: #1e3a5f;
    color: #ffffff;
    font-size: 21px;
    font-weight: 600;
    padding: 12px 20px;
    text-align: left;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

table td {
    padding: 11px 20px;
    border-bottom: 1px solid #e0e0e0;
}

table tr:nth-child(even) td {
    background: #fafafa;
}
