/* ISFNT theme for Indico */

/* "Proxima Nova" is loaded by the global Indico theme (@font-face rules) */

:root {
    --isfnt-bg: #8F394B;
    --isfnt-dark: #341F2A;
    --isfnt-text: #000;
    --isfnt-font: "Proxima Nova", sans-serif;
}

/* ===== Page ===== */

body,
.main {
    background-color: var(--isfnt-bg);
}

/* Header, menu and sidebar fonts */
body,
.conference-title-link,
.confSubTitleContent,
.datePlace,
#outer li a,
.support_box,
.support_box h3 {
    font-family: var(--isfnt-font);
}

/* Indico uses a mix of fonts inside the page content (different on each
   page), so force one font there. Icon fonts and code blocks are excluded. */
.confBodyBox,
.confBodyBox *:not(i):not([class*="icon"]):not(code):not(pre) {
    font-family: var(--isfnt-font) !important;
}

/* Same text colour everywhere in the content (Indico uses greys/blues on
   sub-pages). Excluded, so they keep their own colours: links, buttons,
   icons, status tags/labels (accepted, rejected, ...), and anything with an
   inline colour such as timetable blocks. */
.confBodyBox,
.confBodyBox *:not(
    a, a *,
    button, button *, .i-button, .i-button *,
    i, [class*="icon"],
    [class*="label"], [class*="label"] *,
    [class*="tag"], [class*="tag"] *,
    [class*="semantic"], [class*="success"], [class*="error"],
    [class*="warning"], [class*="highlight"],
    [style*="color"], [style*="color"] *
) {
    color: var(--isfnt-text) !important;
}

.conf {
    max-width: 1030px;
    border: none;
    margin: 0 auto;
}

/* ===== Header ===== */

.confheader {
    margin-bottom: 1em;
    background: none;
}

.confTitleBox {
    position: relative;
    color: white;
    border: none;
    background: none;
}

.confLogoBox {
    float: none;
    display: inline-block;
    padding-right: 10px;
    vertical-align: middle;
}

/* Logo size: change this to make the logo bigger/smaller */
.confLogoBox img {
    height: 75px;
}

/* Header area grows to fit the logo; adjust padding for spacing above/below */
.conference-title-link {
    display: block;
    padding: 20px 0;
    text-align: center;
    font-size: 2em;
    font-weight: normal;
    color: transparent;
}

.conference-title-link span[itemprop="title"] {
    display: none;
}

.confSubTitleBox {
    border: none;
    border-radius: 12px;
    padding: 1.2em;
    text-align: center;
    background-color: var(--isfnt-dark) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.confSubTitleContent {
    width: 100%;
    margin: 0;
    color: #fff !important;
    font-size: 2em;
}

.datePlace {
    display: flex;
    justify-content: space-between;
    margin-right: 1em;
    padding-right: 0 !important;
    font-size: 1.1em;
}

.timezone {
    display: none;
}

.eventHeaderButtonBar {
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.2);
}

#event-search-box input.prompt {
    border-radius: 8px !important;
}

/* ===== Layout ===== */

#confSectionsBox {
    width: auto;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.conf_leftMenu {
    float: left;
    width: 200px;
}

.confBodyBox {
    margin-left: 240px;
}

/* ===== Left menu ===== */

#outer {
    overflow: hidden;
    background: #fff;
    border: 2px solid var(--isfnt-dark) !important;
    border-radius: 8px !important;
}

#outer > li.menuConfTitle {
    background-color: var(--isfnt-dark) !important;
}

#outer li a {
    font-size: 1.1em;
    background-color: #f8f9fa;
}

#outer li a:hover {
    background-color: var(--isfnt-dark) !important;
    color: #fff !important;
}

.menuConfTitle a {
    padding: 7px 12px;
    color: var(--isfnt-text) !important;
}

.menuConfTitle.selected > a,
.menuConfMiddleCell.selected > a {
    background-color: var(--isfnt-dark) !important;
    color: #fff !important;
}

.menuConfSelected {
    border-top: none !important;
    border-bottom: none !important;
}

/* ===== Content ===== */

/* Indico removes list padding, so bullets/numbers in text you write
   (announcements, descriptions, ...) hang outside the text. Lists without a
   class are the ones from the text editor; Indico's own UI lists have one. */
.confBodyBox :is(ul, ol):not([class]) {
    margin: 0.5em 0;
    padding-left: 2em;
}

.confBodyBox ul:not([class]) {
    list-style-type: disc;
}

.confBodyBox ol:not([class]) {
    list-style-type: decimal;
}

.confBodyBox :is(ul, ol):not([class]) li {
    margin-bottom: 0.25em;
}

div.timetableHeader {
    font-size: 2em;
    color: var(--isfnt-text) !important;
    background: none;
}

.conferenceDetails .description strong {
    font-weight: 700;
    color: var(--isfnt-text) !important;
}

.support_box {
    overflow: hidden;
    border: 2px solid var(--isfnt-dark) !important;
    border-radius: 8px;
}

.support_box h3 {
    margin: 0 !important;
    padding: 7px 12px;
    font-size: 1rem;
    background-color: var(--isfnt-dark);
}

.support_box > ul {
    padding: 7px 12px !important;
}

.support_box > ul > li {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin: 0 !important;
}

.action-box,
.action-box a.i-button,
.action-box button.i-button {
    border-radius: 8px;
}

/* ===== Footer ===== */

#footer {
    border-top: none;
    background: transparent;
}

/* Indico styles several footer elements grey; force everything white */
#footer,
#footer *,
.footer,
.footer * {
    color: #fff !important;
}

.footer-logo {
    background: url(/static/custom/files/cern_small_light.svg);
}

.footer-logo img {
    visibility: hidden;
}