/* ============================================
   ICDRA 2026 — Indico Conference Stylesheet v2
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

:root {
    --duckweed: #75A943;
    --duckweed-dark: #5d8a35;
    --duckweed-light: #a8cc7d;
    --royal: #143264;
    --royal-light: #1d4a8f;
    --light-green: #f5faf0;
    --light-blue: #f0f5ff;
    --table-alt: #f5faf0;
    --border-grey: #e0e0e0;
    --text-dark: #2a3a4a;
}

/* ----------- Conference wrapper ----------- */
.conf {
    width: 100%;
    border: none;
    margin: auto;
    font-family: 'Open Sans', Verdana, sans-serif;
    color: var(--text-dark);
}

/* ----------- HEADER ----------- */
.confTitleBox {
    color: white;
    min-height: 110px;
    border-top: 6px solid var(--duckweed);          /* thicker green top accent */
    border-bottom: 2px solid var(--duckweed-dark);
    background: linear-gradient(135deg, var(--royal) 0%, var(--royal-light) 100%);
}

.confTitle {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;                                  /* align logo + title vertically */
    align-items: center;
    gap: 20px;
}

.confLogoBox {
    float: none;                                    /* override the default float */
    padding: 10px 0;
    background: transparent !important;             /* kill the white square */
}
.confLogoBox img {
    max-height: 80px;
    width: auto;
    background: transparent;
}

.conferencetitlelink {
    font-size: 22pt;
    font-weight: 700;
    display: block;
    padding: 25px 0;
    color: white;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

/* Subtitle / date band */
.confSubTitleBox {
    background: var(--light-green);
    border-bottom: 3px solid var(--duckweed);
    border-top: 1px solid var(--duckweed);
    padding: 0.8rem 0;
}
.confSubTitleContent {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 11pt;
    color: var(--royal);
}
.confSubTitle a { font-size: 11pt; color: var(--royal); }
.datePlace { font-size: 13pt; font-weight: 700; color: var(--duckweed-dark); }

/* Announcement bar */
.simpleTextAnnouncement {
    background: var(--duckweed);
    border-top: 1px solid var(--duckweed-dark);
    font-family: 'Open Sans', Verdana, sans-serif;
    font-weight: 600;
    font-size: 10pt;
    text-align: center;
    color: white;
    padding: 10px 0;
}

/* ----------- Main content wrapper ----------- */
#confSectionsBox {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto 0 auto;
}

/* ----------- LEFT MENU ----------- */
.conf_leftMenu { float: left; width: 240px; }

#outer {
    border: 1px solid var(--border-grey);
    background: #fafafa;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}
#outer li a {
    font-family: 'Open Sans', Verdana, sans-serif;
    font-size: 10pt;
    transition: all 0.15s ease;
}
#outer li a:hover {
    background: var(--light-green);
    border-left: 3px solid var(--duckweed);
    padding-left: 9px;                              /* compensate the border */
}

.menuConfTitle { text-align: left; }
.menuConfTitle a { color: var(--royal); padding: 10px 14px; font-weight: 600; }

/* Selected menu item — solid green */
.menuConfTitle.selected > a,
.menuConfMiddleCell.selected > a {
    color: white !important;
    background: var(--duckweed);
    border-bottom: 1px solid var(--duckweed-dark);
    border-top: 1px solid var(--duckweed-dark);
    border-left: 3px solid var(--duckweed-dark);
    padding-left: 11px;
}

li ul.inner li a {
    padding: 4px 12px 4px 32px;
    background: transparent url(../../images/conf/left_menu_bullet.png) no-repeat 18px center;
}

/* Support / contacts box — green header to match brand */
.support_box {
    background: #fafafa;
    border: 1px solid var(--border-grey);
    border-radius: 6px;
    overflow: hidden;
}
.support_box > h3 {
    color: white;
    background: var(--duckweed);                    /* was royal — switching to green for consistency */
    margin: 0;
    padding: 10px 14px;
    font-size: 11pt;
    font-weight: 700;
}
.support_box a, .support_box li { color: var(--royal); }

/* Body */
.confBodyBox { margin-left: 270px; }


/* ============================================
   BODY BLOCKS (Overview / event landing page)
   These hit Indico's default "info-grid" blocks
   ============================================ */

/* The information items (Starts/Ends, Location, Materials) */
.event-info-list, .info-grid, .description {
    background: white;
    border: 1px solid var(--border-grey);
    border-left: 4px solid var(--duckweed);
    border-radius: 4px;
    padding: 14px 18px;
    margin-bottom: 16px;
}

/* "Starts" / "Ends" / "Materials" labels */
.event-info-list strong,
.info-grid strong,
.confBodyBox strong {
    color: var(--royal);
    font-weight: 700;
}

/* Section icons (clock, pin, paperclip) */
.confBodyBox .icon-time,
.confBodyBox .icon-location,
.confBodyBox .icon-attachment,
.confBodyBox [class*="icon-"] {
    color: var(--duckweed) !important;
}

/* Materials section — file list */
.material-list, .attachments-box {
    background: var(--light-green);
    border-radius: 4px;
    padding: 8px 12px;
}
.material-list a, .attachments-box a { color: var(--royal); font-weight: 600; }

/* Generic links in body */
.confBodyBox a { color: var(--royal); }
.confBodyBox a:hover { color: var(--duckweed-dark); text-decoration: underline; }

/* Headings inside the body */
.confBodyBox h1, .confBodyBox h2, .confBodyBox h3 {
    color: var(--royal);
    border-bottom: 2px solid var(--duckweed);
    padding-bottom: 6px;
    margin-top: 1.2em;
}


/* ============================================
   CUSTOM CLASSES for the Announcement page
   (unchanged from previous version)
   ============================================ */

.icdra-logos {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 20px; margin: 1em 0;
}
.icdra-logos img { max-height: 90px; width: auto; }

.icdra-title {
    text-align: center; color: var(--duckweed-dark);
    font-weight: 700; font-size: 1.6em; line-height: 1.3;
    margin: 0.5em 0 0.2em 0;
}
.icdra-subtitle { text-align: center; font-size: 1em; margin-bottom: 1em; }

.icdra-coorg { text-align: center; font-size: 0.95em; margin-bottom: 1.5em; }
.icdra-coorg .label { color: var(--royal); font-weight: 700; }

.icdra-box {
    background: var(--light-green); border: 1.5px solid var(--duckweed);
    border-radius: 6px; padding: 0; margin-bottom: 1em; overflow: hidden;
}
.icdra-box .icdra-box-title {
    background: var(--duckweed); color: white; font-weight: 700;
    padding: 8px 14px; font-size: 1.05em;
}
.icdra-box .icdra-box-body { padding: 14px 18px; }

.icdra-row { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 1em; }
.icdra-row > .icdra-box { flex: 1 1 45%; min-width: 280px; margin-bottom: 0; }

.icdra-dates { width: 100%; border-collapse: collapse; }
.icdra-dates td { padding: 6px 4px; vertical-align: top; }
.icdra-dates td.date { text-align: right; font-weight: 700; white-space: nowrap; }

.icdra-check { list-style: none; padding-left: 0; margin: 0; }
.icdra-check li { padding: 4px 0 4px 24px; position: relative; }
.icdra-check li:before {
    content: "✓"; color: var(--duckweed); font-weight: 700;
    position: absolute; left: 4px;
}

.icdra-fees { width: 100%; border-collapse: collapse; margin-top: 6px; }
.icdra-fees th { background: var(--duckweed); color: white; padding: 10px; text-align: center; }
.icdra-fees th small { font-weight: 400; }
.icdra-fees td { padding: 10px; text-align: center; border-bottom: 1px solid #eee; }
.icdra-fees td:first-child { text-align: left; font-weight: 700; }
.icdra-fees tr:nth-child(even) td { background: var(--table-alt); }

.icdra-patron {
    border: 1px solid #ddd; border-radius: 6px; padding: 14px;
    text-align: center; background: white; margin-top: 1em;
}
.icdra-patron .label { color: var(--royal); font-weight: 700; display: block; margin-bottom: 8px; }
.icdra-patron img { max-height: 60px; margin: 0 12px; vertical-align: middle; }

.icdra-footer {
    text-align: center; border-top: 1px solid #ddd;
    margin-top: 1.5em; padding-top: 0.8em; font-size: 0.9em; color: #555;
}
.icdra-footer a { color: var(--royal); }