/*
 * Maia Mailguard — Professional theme
 * Based on Ocean Surf; modern layout and color system.
 */

:root {
    --maia-font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --maia-font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    --maia-bg: #f0f2f5;
    --maia-surface: #ffffff;
    --maia-border: #d8dee9;
    --maia-text: #1a2332;
    --maia-text-muted: #5c6b7f;
    --maia-primary: #334155;
    --maia-primary-light: #475569;
    --maia-accent: #2563eb;
    --maia-accent-hover: #1d4ed8;
    --maia-nav-bg: #f8fafc;
    --maia-radius: 8px;
    --maia-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.06);
    --maia-header-from: #e8f1fa;
    --maia-header-to: #d4e3f4;
    --maia-banner-title: #1a3352;
    --maia-banner-sub: #4a6278;
    --maia-user: #fef3c7;
}


/* === Professional chrome (header, nav, panels) === */
#maia-header {
    background: var(--maia-surface);
    box-shadow: var(--maia-shadow);
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--maia-border);
}
#maia-header .maia-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}
.maia-header__mast {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: linear-gradient(135deg, var(--maia-header-from) 0%, var(--maia-header-to) 100%);
    border-radius: var(--maia-radius) var(--maia-radius) 0 0;
    overflow: hidden;
    border-bottom: 1px solid var(--maia-border);
}
.maia-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    min-width: 140px;
    min-height: 48px;
    padding: 0.85rem 1.25rem;
    background: transparent;
    border-right: 1px solid rgba(26, 51, 82, 0.1);
}
.maia-brand__link {
    display: flex;
    align-items: center;
    line-height: 0;
}
.maia-brand__logo {
    display: block;
    max-height: 48px;
    max-width: 140px;
    object-fit: contain;
    vertical-align: middle;
}
.maia-header__titles {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    min-width: 0;
}
.maia-header__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--maia-banner-title);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.maia-header__subtitle {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--maia-banner-sub);
    margin-top: 0.15rem;
}
.maia-header__user {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--maia-text);
    background: #f1f5f9;
    border-bottom: 1px solid var(--maia-border);
}
.maia-header__user--muted {
    font-weight: 500;
    color: var(--maia-text-muted);
}
.maia-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 0.75rem;
    background: var(--maia-nav-bg);
    border-radius: 0 0 var(--maia-radius) var(--maia-radius);
}
.maia-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    margin: 0.15rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--maia-primary) !important;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease;
}
.maia-nav__link:hover {
    background: #e8eef5;
    color: var(--maia-accent) !important;
}
.maia-nav__link--logout:hover {
    background: #fef2f2;
    color: #b91c1c !important;
}
.maia-nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    color: inherit;
    flex-shrink: 0;
}
.maia-nav__icon svg {
    display: block;
    width: 1.125rem;
    height: 1.125rem;
}
.maia-nav__label {
    white-space: nowrap;
}
/* Legacy banner classes (admin pages, etc.) */
.topbanner {
    background: linear-gradient(135deg, var(--maia-header-from) 0%, var(--maia-header-to) 100%) !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--maia-banner-title) !important;
    padding: 0.6rem 1rem !important;
}
.topbanner2 {
    background: var(--maia-header-to) !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    color: var(--maia-banner-sub) !important;
    padding: 0.35rem 1rem !important;
}
.topbanner3 {
    background: #f1f5f9 !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: var(--maia-text) !important;
    padding: 0.4rem 1rem !important;
}
.topbanner4, .topbanner4 TD, .topbanner4 td, .topbanner4 TR, .topbanner4 tr {
    background: var(--maia-nav-bg) !important;
    background-image: none !important;
    border-top: 1px solid var(--maia-border);
    padding: 0.35rem !important;
}
.topbanner4 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    color: var(--maia-primary) !important;
}
.topbanner4 img {
    max-height: 22px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    filter: saturate(0.75);
}
.topbanner5 {
    background: #f8fafc !important;
    font-size: 0.8125rem !important;
    color: var(--maia-text-muted) !important;
}
/* Cache / action icons (welcome, lists) */
.maia-cache-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--maia-primary) !important;
    text-decoration: none !important;
}
.maia-cache-link:hover {
    color: var(--maia-accent) !important;
}
.maia-cache-link img,
#quickview td[class*="body"] > a:first-child img,
.maia-page .maia-action-icon {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
    padding: 5px;
    background: #fff;
    border: 1px solid var(--maia-border);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    image-rendering: auto;
}
.maia-cache-link br {
    display: none;
}
/* Toolbar / inline action images elsewhere */
/* Mail viewer toolbar (list-cache thickbox popup, view.tpl) */
.maia-mail-toolbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.35rem;
    margin: 0 0 0.75rem;
    background: var(--maia-surface);
    border: 1px solid var(--maia-border);
    border-radius: var(--maia-radius);
    box-shadow: var(--maia-shadow);
    width: 100%;
    box-sizing: border-box;
}
.maia-mail-toolbar__btn,
.maia-mail-toolbar__btn--link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex: 1 1 0;
    min-width: 0;
    padding: 0.45rem 0.25rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    color: var(--maia-primary) !important;
    text-decoration: none !important;
    background: #f8fafc;
    border: 1px solid var(--maia-border);
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    box-sizing: border-box;
}
.maia-mail-toolbar__btn:hover,
.maia-mail-toolbar__btn--link:hover {
    background: #e8eef5;
    border-color: var(--maia-accent);
    color: var(--maia-accent) !important;
}
.maia-mail-toolbar__btn--danger:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #b91c1c !important;
}
.maia-mail-toolbar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: inherit;
}
.maia-mail-toolbar__icon svg {
    width: 1.125rem;
    height: 1.125rem;
    display: block;
}
.maia-mail-toolbar--compact .maia-mail-toolbar__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* Thickbox / ajax mail popup */
#TB_window .maia-mail-toolbar,
#TB_ajaxContent .maia-mail-toolbar {
    margin-top: 0;
}
#TB_ajaxContent #message_detail,
#TB_ajaxContent .message {
    font-size: 0.875rem;
    line-height: 1.45;
}
#TB_ajaxContent fieldset,
#message_detail fieldset {
    border: 1px solid var(--maia-border) !important;
    border-radius: var(--maia-radius);
    padding: 0.75rem !important;
    margin: 0.5rem 0;
}
.maia-page img[src*="/images/"][width],
.maia-page td > a > img[src*="images/"] {
    max-height: 26px;
    width: auto;
    vertical-align: middle;
    padding: 3px;
    background: #fff;
    border: 1px solid var(--maia-border);
    border-radius: 6px;
}
@media (max-width: 640px) {
    .maia-header__mast {
        flex-direction: column;
    }
    .maia-brand {
        border-right: none;
        border-bottom: 1px solid rgba(26, 51, 82, 0.1);
    }
    .maia-nav {
        justify-content: center;
    }
    .maia-nav__label {
        font-size: 0.75rem;
    }
}
.maia-brand--login {
    display: flex;
    justify-content: center;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}
#maia-login .maia-brand__logo {
    max-height: 56px;
    max-width: 200px;
    object-fit: contain;
    padding: 0.75rem 1rem;
    background: var(--maia-surface);
    border: 1px solid var(--maia-border);
    border-radius: var(--maia-radius);
    box-shadow: var(--maia-shadow);
}
.menubanner, .menuheader, .userbanner, .userheader {
    background: linear-gradient(135deg, var(--maia-header-from) 0%, var(--maia-header-to) 100%) !important;
    color: var(--maia-banner-title) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 0.5rem 0.75rem !important;
    border: 1px solid var(--maia-border);
}
.menubanner a, .menuheader a, .userbanner a, .userheader a {
    color: var(--maia-banner-title) !important;
    text-decoration: none !important;
    font-weight: 600;
}
.menubanner a:hover, .menuheader a:hover, .userbanner a:hover, .userheader a:hover {
    color: var(--maia-accent) !important;
    text-decoration: underline !important;
}
/* Admin index (admindex.php) */
.maia-admin-menu {
    max-width: 640px;
    margin: 0 auto 2rem;
    padding: 0 0.5rem;
}
.maia-admin-menu__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--maia-banner-title);
    text-align: center;
    margin: 0 0 1.25rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--maia-header-from) 0%, var(--maia-header-to) 100%);
    border: 1px solid var(--maia-border);
    border-radius: var(--maia-radius);
}
.maia-admin-menu__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.maia-admin-menu__item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.1rem;
    background: var(--maia-surface);
    border: 1px solid var(--maia-border);
    border-radius: var(--maia-radius);
    box-shadow: var(--maia-shadow);
    color: var(--maia-text) !important;
    text-decoration: none !important;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.maia-admin-menu__item:hover {
    border-color: var(--maia-accent);
    background: #f8fafc;
    color: var(--maia-accent) !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}
.maia-admin-menu__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--maia-header-from) 0%, var(--maia-header-to) 100%);
    color: var(--maia-banner-title);
}
.maia-admin-menu__icon svg {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
}
.maia-admin-menu__label {
    flex: 1;
}
.menubody, .menulight, .userbody {
    background: var(--maia-surface) !important;
    border: 1px solid var(--maia-border);
    font-size: 0.875rem !important;
    padding: 0.5rem 0.75rem !important;
}
.menuheader2, .menubody2 {
    background: #f8fafc !important;
    font-size: 0.8125rem !important;
}
#protectioncontrol, #quickview, #motd {
    border: 1px solid var(--maia-border) !important;
    border-radius: var(--maia-radius) !important;
    background: var(--maia-surface) !important;
    box-shadow: var(--maia-shadow) !important;
    margin: 1rem 0 !important;
    padding: 1rem 1.25rem !important;
}
#welcomestats table { border-collapse: separate; border-spacing: 0.5rem; }
.maia-page { max-width: 1100px; margin: 0 auto; padding: 0 1rem 2rem; }
.maia-tooltip-host {
    position: absolute;
    visibility: hidden;
}
.maia-overlib {
    position: absolute;
    visibility: hidden;
    z-index: 1000;
}
.maia-auth-warn {
    background: #fecaca !important;
}
.maia-page table[width="90%"] { width: 100% !important; max-width: 1100px; }
#maia-login {
    max-width: 420px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--maia-surface);
    border: 1px solid var(--maia-border);
    border-radius: var(--maia-radius);
    box-shadow: var(--maia-shadow);
}
#maia-login p { left: 0; margin: 0.5rem 0; text-align: center; }
.maia-body--login { display: flex; align-items: flex-start; justify-content: center; min-height: 100vh; padding: 2rem 1rem; }
.maia-body--login #loginform table { width: 100%; margin-top: 1rem; }
.maia-body--login #loginform td { padding: 0.35rem 0.5rem; }
input[type="submit"], input[type="button"], button {
    font-family: var(--maia-font);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--maia-border);
    background: var(--maia-surface);
    color: var(--maia-primary);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
input[type="submit"]:hover, input[type="button"]:hover, button:hover {
    background: #f1f5f9;
    border-color: var(--maia-accent);
    color: var(--maia-accent);
}
input[type="text"], input[type="password"], select, textarea {
    font-family: var(--maia-font);
    font-size: 0.875rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--maia-border);
    border-radius: 6px;
}
table { border-collapse: collapse; }
.messagebox {
    border-radius: var(--maia-radius) !important;
    border: 1px solid #fcd34d !important;
    background: #fffbeb !important;
    color: #92400e !important;
    max-width: 36rem;
    margin: 1rem auto !important;
    box-shadow: var(--maia-shadow);
}
.simple-tip {
    background-color: var(--maia-surface) !important;
    border: 1px solid var(--maia-border) !important;
    border-radius: 6px !important;
    box-shadow: var(--maia-shadow) !important;
    font-size: 0.8125rem !important;
}

/*
 * $Id: style.css 1379 2009-01-29 03:03:46Z dmorton $
 *
 * MAIA MAILGUARD LICENSE v.1.0
 *
 * Copyright 2004 by Robert LeBlanc <rjl@renaissoft.com>
 * All rights reserved.
 *
 * PREAMBLE
 *
 * This License is designed for users of Maia Mailguard
 * ("the Software") who wish to support the Maia Mailguard project by
 * leaving "Maia Mailguard" branding information in the HTML output
 * of the pages generated by the Software, and providing links back
 * to the Maia Mailguard home page.  Users who wish to remove this
 * branding information should contact the copyright owner to obtain
 * a Rebranding License.
 *
 * DEFINITION OF TERMS
 *
 * The "Software" refers to Maia Mailguard, including all of the
 * associated PHP, Perl, and SQL scripts, documentation files, graphic
 * icons and logo images.
 *
 * GRANT OF LICENSE
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * 3. The end-user documentation included with the redistribution, if
 *    any, must include the following acknowledgment:
 *
 *    "This product includes software developed by Robert LeBlanc
 *    <rjl@renaissoft.com>."
 *
 *    Alternately, this acknowledgment may appear in the software itself,
 *    if and wherever such third-party acknowledgments normally appear.
 *
 * 4. At least one of the following branding conventions must be used:
 *
 *    a. The Maia Mailguard logo appears in the page-top banner of
 *       all HTML output pages in an unmodified form, and links
 *       directly to the Maia Mailguard home page; or
 *
 *    b. The "Powered by Maia Mailguard" graphic appears in the HTML
 *       output of all gateway pages that lead to this software,
 *       linking directly to the Maia Mailguard home page; or
 *
 *    c. A separate Rebranding License is obtained from the copyright
 *       owner, exempting the Licensee from 4(a) and 4(b), subject to
 *       the additional conditions laid out in that license document.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 */

/* Banner row 1 */
.topbanner {
    background : #1e3a5f;
    font-size  : 42px;
    font-weight: bold;
    color      : #ffffff;
}

/* Banner row 2 */
.topbanner2 {
    background : #2d5080;
    font-size  : 24px;
    font-weight: bold;
}

/* Banner row 3 */
.topbanner3 {
    background : #f1f5f9;
    font-size  : 18px;
    font-weight: bold;
    color      : #A50000;
}

/* Banner row 4, including icon toolbar */
.topbanner4 {
    background: var(--maia-nav-bg);
    font-size: 0.875rem;
    font-weight: 600;
}

.topbanner4 TD, .topbanner4 td {
   font-family: var(--maia-font);
}

.topbanner4 TR, .topbanner4 tr {
    background: transparent;
}

/* Banner row 5 */
.topbanner5 {
    background : #f8fafc;
    font-size  : 14px;
    font-weight: normal;
}

/* Menu banner */
.menubanner {
    background : #3d5a80;
    font-size  : 24px;
    font-weight: bold;
}

/* Menu header */
.menuheader {
    background : #3d5a80;
    font-size  : 20px;
    font-weight: bold;
}

/* Menu body */
.menubody {
   color: var(--maia-text);
   background: var(--maia-bg);
   margin: 0;
   font-weight: normal;
   font-family: var(--maia-font);
   font-size: 0.9375rem;
   line-height: 1.5;
   -webkit-font-smoothing: antialiased;
}

/* Menu header (small) */
.menuheader2 {
    background : #3d5a80;
    font-size  : 14px;
    font-weight: bold;
}

/* Menu body (small) */
.menubody2 {
    background : #f1f5f9;
    font-size  : 12px;
    font-weight: normal;
}

/* Lighter version of menu body */
.menulight {
    background : #f8fafc;
    font-size  : 16px;
    font-weight: normal;
}

/* "Whitelist" column in W/B list */
.whitelist {
    background : #dddddd;
    font-size  : 16px;
    font-weight: bold;
}

/* "Blacklist" column in W/B list */
.blacklist {
    background : #3a3a3a;
    font-size  : 16px;
    font-weight: bold;
}

/* "Remove" column in W/B list */
.remove {
    background : #a50000;
    font-size  : 16px;
    font-weight: bold;
}

/* Confirmed Spam */
.spambanner {
    background : #fca5a5;
    font-size  : 24px;
    font-weight: bold;
    color      : #000000;
}

.spamheader {
    background : #fca5a5;
    font-size  : 16px;
    font-weight: bold;
    color      : #000000;
}

.spambody {
    background : #fee2e2;
    font-size  : 14px;
    font-weight: normal;
    color      : #000000;
}

.spamheader2 {
    background : #fca5a5;
    font-size  : 14px;
    font-weight: bold;
    color      : #000000;
}

.spambody2 {
    background : #fee2e2;
    font-size  : 12px;
    font-weight: normal;
    color      : #000000;
}

.spambody3 {
    background : #fee2e2;
    font-size  : 16px;
    font-weight: bold;
    color      : #000000;
}

/* Suspected Spam */
.suspected_spambanner {
    background : #fecaca;
    font-size  : 24px;
    font-weight: bold;
    color      : #000000;
}

.suspected_spamheader {
    background : #fecaca;
    font-size  : 16px;
    font-weight: bold;
    color      : #000000;
}

.suspected_spambody {
    background : #fef2f2;
    font-size  : 14px;
    font-weight: normal;
    color      : #000000;
}

.suspected_spambody_alt{
    background : #fde8e8;
    font-size  : 14px;
    font-weight: normal;
    color      : #000000;
}

.suspected_spamheader2 {
    background : #fecaca;
    font-size  : 14px;
    font-weight: bold;
    color      : #000000;
}

.suspected_spambody2 {
    background : #fef2f2;
    font-size  : 12px;
    font-weight: normal;
    color      : #000000;
}

.suspected_spambody3 {
    background : #fef2f2;
    font-size  : 16px;
    font-weight: bold;
    color      : #000000;
}

/* Viruses/Malware */
.virusbanner {
    background : #86efac;
    font-size  : 24px;
    font-weight: bold;
    color      : #000000;
}

.virusheader {
    background : #86efac;
    font-size  : 16px;
    font-weight: bold;
    color      : #000000;
}

.virusbody {
    background : #dcfce7;
    font-size  : 14px;
    font-weight: normal;
    color      : #000000;
}

.virusbody_alt {
    background : #d1fae5;
    font-size  : 14px;
    font-weight: normal;
    color      : #000000;
}

.virusheader2 {
    background : #86efac;
    font-size  : 14px;
    font-weight: bold;
    color      : #000000;
}

.virusbody2 {
    background : #dcfce7;
    font-size  : 12px;
    font-weight: normal;
    color      : #000000;
}

.virusbody3 {
    background : #dcfce7;
    font-size  : 16px;
    font-weight: bold;
    color      : #000000;
}

/* Whitelisted Sender */
.wlbanner {
    background : #dddddd;
    font-size  : 24px;
    font-weight: bold;
    color      : #000000;
}

.wlheader {
    background : #dddddd;
    font-size  : 16px;
    font-weight: bold;
    color      : #000000;
}

.wlbody {
    background : #eeeeee;
    font-size  : 14px;
    font-weight: normal;
    color      : #000000;
}

.wlheader2 {
    background : #dddddd;
    font-size  : 14px;
    font-weight: bold;
    color      : #000000;
}

.wlbody2 {
    background : #eeeeee;
    font-size  : 12px;
    font-weight: normal;
    color      : #000000;
}

.wlbody3 {
    background : #eeeeee;
    font-size  : 16px;
    font-weight: bold;
    color      : #000000;
}

/* Blacklisted Sender */
.blbanner {
    background : #555555;
    font-size  : 24px;
    color      : #eeeeee;
    font-weight: bold;
}

.blheader {
    background : #555555;
    font-size  : 16px;
    color      : #eeeeee;
    font-weight: bold;
}

.blbody {
    background : #888888;
    font-size  : 14px;
    color      : #ffffff;
    font-weight: normal;
}

.blheader2 {
    background : #555555;
    font-size  : 14px;
    color      : #eeeeee;
    font-weight: bold;
}

.blbody2 {
    background : #888888;
    font-size  : 12px;
    color      : #ffffff;
    font-weight: normal;
}

.blbody3 {
    background : #888888;
    font-size  : 16px;
    color      : #ffffff;
    font-weight: bold;
}

/* False Positives */
.fpbanner {
    background : #A4AB41;
    font-size  : 24px;
    color      : #000000;
    font-weight: bold;
}

.fpheader {
    background : #A4AB41;
    font-size  : 16px;
    color      : #000000;
    font-weight: bold;
}

.fpbody {
    background : #C4CA73;
    font-size  : 14px;
    color      : #000000;
    font-weight: normal;
}

.fpheader2 {
    background : #A4AB41;
    font-size  : 14px;
    color      : #000000;
    font-weight: bold;
}

.fpbody2 {
    background : #C4CA73;
    font-size  : 12px;
    color      : #000000;
    font-weight: normal;
}

.fpbody3 {
    background : #C4CA73;
    font-size  : 16px;
    color      : #000000;
    font-weight: bold;
}

/* False Negatives */
.fnbanner {
    background : #FF5050;
    font-size  : 24px;
    color      : #dddddd;
    font-weight: bold;
}

.fnheader {
    background : #FF5050;
    font-size  : 16px;
    color      : #dddddd;
    font-weight: bold;
}

.fnbody {
    background : #FF7575;
    font-size  : 14px;
    color      : #eeeeee;
    font-weight: normal;
}

.fnheader2 {
    background : #FF5050;
    font-size  : 14px;
    color      : #000000;
    font-weight: bold;
}

.fnbody2 {
    background : #FF7575;
    font-size  : 12px;
    color      : #000000;
    font-weight: normal;
}

.fnbody3 {
    background : #FF7575;
    font-size  : 16px;
    color      : #eeeeee;
    font-weight: bold;
}

/* Confirmed Ham */
.hambanner {
    background : #fde047;
    font-size  : 24px;
    font-weight: bold;
    color      : #000000;
}

.hamheader {
    background : #fde047;
    font-size  : 16px;
    font-weight: bold;
    color      : #000000;
}

.hambody {
    background : #fef9c3;
    font-size  : 14px;
    font-weight: normal;
    color      : #000000;
}

.hambody_alt {
    background : #fefce8;
    font-size  : 14px;
    font-weight: normal;
    color      : #000000;
}

.hamheader2 {
    background : #fde047;
    font-size  : 14px;
    font-weight: bold;
    color      : #000000;
}

.hambody2 {
    background : #fef9c3;
    font-size  : 12px;
    font-weight: normal;
    color      : #000000;
}

.hambody3 {
    background : #fef9c3;
    font-size  : 16px;
    font-weight: bold;
    color      : #000000;
}

/* Suspected Ham */
.suspected_hambanner {
    background : #fef08a;
    font-size  : 24px;
    font-weight: bold;
    color      : #000000;
}

.suspected_hamheader {
    background : #fef08a;
    font-size  : 16px;
    font-weight: bold;
    color      : #000000;
}

.suspected_hambody {
    background : #fef9c3;
    font-size  : 14px;
    font-weight: normal;
    color      : #000000;
}

.suspected_hamheader2 {
    background : #fef08a;
    font-size  : 14px;
    font-weight: bold;
    color      : #000000;
}

.suspected_hambody2 {
    background : #fef9c3;
    font-size  : 12px;
    font-weight: normal;
    color      : #000000;
}

.suspected_hambody3 {
    background : #fef9c3;
    font-size  : 16px;
    font-weight: bold;
    color      : #000000;
}

/* Invalid Mail Headers */
.bad_headerbanner {
    background : #fdba74;
    font-size  : 24px;
    font-weight: bold;
    color      : #000000;
}

.bad_headerheader {
    background : #fdba74;
    font-size  : 16px;
    font-weight: bold;
    color      : #000000;
}

.bad_headerbody {
    background : #ffedd5;
    font-size  : 14px;
    font-weight: normal;
    color      : #000000;
}


.bad_headerbody_alt {
    background : #fed7aa;
    font-size  : 14px;
    font-weight: normal;
    color      : #000000;
}

.bad_headerheader2 {
    background : #fdba74;
    font-size  : 14px;
    font-weight: bold;
    color      : #000000;
}

.bad_headerbody2 {
    background : #ffedd5;
    font-size  : 12px;
    font-weight: normal;
    color      : #000000;
}

.bad_headerbody3 {
    background : #ffedd5;
    font-size  : 16px;
    font-weight: bold;
    color      : #000000;
}

/* Banned File Attachments */
.banned_filebanner {
    background : #c4b5fd;
    font-size  : 24px;
    font-weight: bold;
    color      : #000000;
}

.banned_fileheader {
    background : #c4b5fd;
    font-size  : 16px;
    font-weight: bold;
    color      : #000000;
}

.banned_filebody {
    background : #ede9fe;
    font-size  : 14px;
    font-weight: normal;
    color      : #000000;
}

.banned_filebody_alt {
    background : #e9e5ff;
    font-size  : 14px;
    font-weight: normal;
    color      : #000000;
}

.banned_fileheader2 {
    background : #c4b5fd;
    font-size  : 14px;
    font-weight: bold;
    color      : #000000;
}

.banned_filebody2 {
    background : #ede9fe;
    font-size  : 12px;
    font-weight: normal;
    color      : #000000;
}

.banned_filebody3 {
    background : #ede9fe;
    font-size  : 16px;
    font-weight: bold;
    color      : #000000;
}

/* Oversized Items */
.oversizedbanner {
    background : #fca5a5;
    font-size  : 24px;
    font-weight: bold;
    color      : #000000;
}

.oversizedheader {
    background : #fca5a5;
    font-size  : 16px;
    font-weight: bold;
    color      : #000000;
}

.oversizedbody {
    background : #fee2e2;
    font-size  : 14px;
    font-weight: normal;
    color      : #000000;
}

.oversizedheader2 {
    background : #fca5a5;
    font-size  : 14px;
    font-weight: bold;
    color      : #000000;
}

.oversizedbody2 {
    background : #64918A;
    font-size  : 12px;
    font-weight: normal;
    color      : #eeeeee;
}

.oversizedbody3 {
    background : #fee2e2;
    font-size  : 16px;
    font-weight: bold;
    color      : #000000;
}


/* User list */
.userbanner {
    background : #3d5a80;
    font-size  : 24px;
    font-weight: bold;
}

.userheader {
    background : #3d5a80;
    font-size  : 16px;
    font-weight: bold;
}

.userbody {
    background : #f1f5f9;
    font-size  : 14px;
    font-weight: normal;
}

/* Error messages */
.messagebox {
    background: #FFF6BF none no-repeat;
    border-bottom: 2px solid #FFD324;
    border-top: 2px solid #FFD324;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 20px 5px 45px;
    text-align: center;
    width: 300px;
}

/* Mail header, in Mail Viewer */
.mailheader {
    background : #DDDDDD;
    font-size  : 16px;
    font-weight: bold;
}

.wblist_link {
    color: #977;
    font-size: 10px;
    margin: 0px 5px 5px 5px;
}

/* Spam report, in Mail Viewer */
.spamreportheader {
    background : #BBBBBB;
    font-size  : 16px;
    font-weight: bold;
}

.spamreport {
    background : #DDDDDD;
    font-size  : 14px;
    font-weight: normal;
    padding: 0px 5px;
}

/* Raw (undecoded) mail, in Mail Viewer */
.rawmailhead {
    background : #999999;
    font-size  : 20px;
    font-weight: bold;
    color      : #FFFF80;
}

.rawmail {
    background : #FFFF80;
    font-size  : 16px;
    font-weight: normal;
}

/* MIME-decoded mail, in Mail Viewer */
.decodedmail {
    background : #ffffff;
    font-size  : 16px;
    font-weight: normal;
}

/* welcome page */

#motd {
 border : 2px solid #000000;
 margin : 5px 5px 5px 5px;
 background : #CCCCCC;

}
#protectioncontrol {
 border : 2px solid #000000;
 margin : 10px 10px 10px 10px;

 padding : 10px 10px 10px 10px;
}

#quickview {
 border : 2px solid #000000;
 margin : 10px 10px 10px 10px;

 padding : 10px 10px 10px 10px;

}
#welcomestats {

}
/* HTML tag overrides */
th {
   font-family: var(--maia-font);
   font-weight: 600;
}

td {
   font-family: verdana, helvetica, arial, sans-serif;
}

h1 {
   font-family: var(--maia-font);
   font-size: 1.5rem;
   font-weight: 700;
   color: var(--maia-primary);
   margin: 0 0 1rem;
   position: static;
}

h2 {
   font-family: var(--maia-font);
   font-weight: 600;
   color: var(--maia-primary);
   position: static;
   margin: 0.75rem 0 0.5rem;
}

h3 {
   font-family: var(--maia-font);
   font-weight: 600;
   color: var(--maia-primary);
   position: static;
   margin: 0.75rem 0 0.5rem;
}

h4 {
   font-family: var(--maia-font);
   font-weight: 600;
   color: var(--maia-primary);
   position: static;
   margin: 0.75rem 0 0.5rem;
}

p {
   position: static;
   margin: 0 0 0.75rem;
}
.maia-prose p {
   max-width: 65ch;
}
.maia-welcome-intro {
   width: 100%;
}
.maia-welcome-intro,
.maia-welcome-intro p {
   max-width: none;
}

body {
   color: #3D3D50;
   margin-top: 0px;
   margin-left: 0px;
   margin-right: 0px;
   font-weight: normal;
   font-family: verdana, helvetica, arial, sans-serif;
   font-size : 14px;
}

a {
   color: var(--maia-accent);
   text-decoration: none;
}
a:hover {
   color: var(--maia-accent-hover);
   text-decoration: underline;
}

.edit_icon {
text-decoration: none;
border: none;
width: 1.0em;
}

.HelpTip, .DisplayLinkURL {
    display: none;
}


#message_detail fieldset, #view_headers {
    border:4px solid #AAAAAA;
    padding:6px;
}

#message_detail legend, #view_headers legend {
    color:#666666;
    padding:0 6px;
}

#view_full_headers {
    display: none;
}

.mailheader {
    color:maroon;
    font-weight:bold;
    padding-right:5px;
    text-align:right;
    vertical-align:top;
}

.DisplayLink {
    cursor: pointer;
}

.DisplayLink_scheme {
    color: black;
}

.DisplayLink_host {
    color: red;
}
.DisplayLink_port {
    color: orange;
}
.DisplayLink_user {
    color: black;
}
.DisplayLink_pass {
    color: black;
}
.DisplayLink_path {
    color: green;
}
.DisplayLink_query {
    color: blue;
}
.DisplayLink_fragment {
    color: grey;
}

.simple-tip { position: absolute; background-color: #ccf; border: 1px solid #339; padding: 6px; z-index: 105;}
