@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
@import url("https://cdn.jsdelivr.net/gh/vsalvino/computer-modern@main/fonts/serif.css");

:root {
    --accent: #007dae;
    --secondary-color: #ff2c00;
    --muted-color: #777;
    /* --font-size: 1rem; */
    --font-size: calc(12px + 0.2vw);
    --font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

/* Apply Inter globally */
body, * {
    font-family: var(--font-family);
}

span {
    font-family: var(--font-family);
}

/* Override for code elements */
code, pre {
    font-family: 'Courier New', Courier, monospace;
}

img {
    border-radius: 6px;
    max-width: 100%;
}

p > img {
    box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px
    0px 0px 1px inset;
}

pre {
    color: var(--muted-color);
}

strong {
    font-family: var(--font-family);
    font-weight: 700;
}

body {
    padding: 0;
    margin: 0;

    background: #fff;

    color: #333;
    font-family: var(--font-family);

    line-height: 1.6;
}

p {
    font-family: var(--font-family);
    font-size: var(--font-size);
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--accent);
    font-weight: 300;
    line-height: 1.2;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.75em;
}

h3 {
    font-size: 1.5em;
}

h4 {
    font-size: 1.25em;
}

h5 {
    font-size: 1em;
}

h6 {
    font-size: 0.875em;
}

ul {
    padding: 0;
    margin: 0 20px;
/*     list-style-type: none; */
}

li {
/*     padding-left: 20px; */
    font-size: 16px;
    line-height: 1.6;
}

/*li:before {
    content: "•";
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    color: #1a64a0;
}*/

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

a:hover,
a:focus {
    text-decoration: underline;
}

.conf_leftMenu li,
#outer li {
padding-left: 0;
color: var(--accent);
font-size: 12pt;
line-height: 1.5;
}

.conf_leftMenu li:before,
#outer li:before,
.footer li:before {
    content: none;
}

.conf {
    width: 100%;
    border: none;
    margin: 0 auto;
    box-shadow: none;
}

.confTitleBox {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    color: #fff;
}

.confTitle {
    width: 100%;
    margin: 0 auto;
    font-weight: 300;
    text-align: center;
}

.confheader {
    background: transparent;
}

.confLogoBox, .confLogoBannerBox {
    display: none;
}

.conference-title-link {
    display: inline-block;
    padding: 2.5vw;
    margin: 0 calc(12px + 12vw);
    color: var(--accent);
    font-size: calc(16px + 2vw);
    font-weight: 800;
    text-decoration: none;
    white-space: normal;
}

.confSubTitleBox {
    padding: 0;
    border: none;
    background: transparent;
    text-align: center;
}

.confSubTitleContent {
    width: auto;
    padding: 0 20px;
    color: var(--accent);
    font-size: 13pt;
}

.confSubTitle a {
    padding: 0 5px;
    color: var(--accent);
    text-decoration: none;
}

.datePlace {
    padding: 5px 0;
    color: var(--accent);
}

div.datePlace>div.date {
    font-size: calc(2px + 1.5vw);
    font-weight: 400;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

div.datePlace>div.place {
    font-size: calc(1px + 1.5vw);
    font-weight: 600;
    letter-spacing: 0.05rem;
}

div.datePlace>div.timezone {
    width: calc(128px + 16vw);
    padding-bottom: 1vw;
    border-bottom: calc(1px + 0.2vw) solid var(--accent);
    margin: 0 auto;
    color: #606060;
    font-size: calc(2px + 1vw);
    font-weight: 300;
    text-transform: capitalize;
}

.simpleTextAnnouncement {
    padding: 10px 0;
    border-top: 2px solid #d5e4f1;
    border-bottom: 2px solid #d5e4f1;
    margin: 20px 0;
    background: #f5faff;
    font-size: 12pt;
    text-align: center;
}

#confSectionsBox {
width: calc(100% - 150px);
margin: 20px 10px 0 20px;
}

.conf_leftMenu {
    position: sticky;
    top: 0;
    width: auto;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    float: left;
}

#outer {
border: 1px solid #d6d6d6;
border-radius: 8px;
background: transparent;
}

#outer li a {
display: block;
padding: 10px;
color: var(--accent);
font-size: 12pt;
font-weight: 400;

transition: background-color 0.3s;
}

#outer li a:hover {
background-color: #e0e0e0;
}

.menuConfTitle a {
    font-weight: bold;
}

.menuConfTitle.selected>a,
.menuConfMiddleCell.selected>a {
    background-color: #d5e4f1;
}

li ul.inner li a {
    padding-left: 30px;
}

.support_box {
    padding: 10px;
    border: none;
    margin-top: 20px;
    background: #f5faff;
}

.support_box>h3 {
    padding: 10px;
    margin: 0;
    background: #1a64a0;
    color: white;
    font-size: 14pt;
    border-radius: 4px;
}


.description>p>img,
/* .page-content > p:not(:nth-child(1)) > img, */
.page-content p>img,
.page-content>h1:nth-child(1)>img:nth-child(1) {
    display: inline-block;
    width: 100% !important;
    /* max-width: 100%; */
    height: 500px !important;
    /* height: auto !important; */
    /* min-height: 500px !important; */
    /* max-height: 500px !important; */
    margin: 0 auto;
    object-fit: cover;
    object-position: center;
}

.page-content>p:nth-child(1)>img {
    width: 100%;
}

.description pre,
.page-content pre {
    width: 100%;
    background-color: transparent;
    font-family: var(--font-family);
    font-size: calc(12px + 0.1vw);
    line-height: 1.4;
    text-align: center;
    white-space: pre-wrap;
    word-wrap: break-word;
    padding: 0.1vw 0;
}

.description p {
    margin-bottom: 20px;
    color: #333;
    font-family: var(--font-family);
    font-size: var(--font-size);
    line-height: 1.6;
    text-align: justify;
}

.infogrid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.infoline {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: var(--accent);
    color: #ffffff;
}

.footer a {
    color: white;
}

.flexrow.f-j-space-between {
    display: flex;
    flex-grow: 1;
    justify-content: flex-start;
    align-items: center;
}

.footer-links {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.footer-links a {
    padding: 0 10px;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    opacity: 0.8;
}

.infoline .icon {
    color: var(--accent);
}

.conferenceDetails img {
    transition: box-shadow 0.4s ease-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

.conferenceDetails img:hover {
    /* transform: scale(1.005); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.4s ease-out;
}

/* excursion images */

.page-content h1>img {
    width: calc(512px + 16vw);
    height: auto;
}

.page-content h1 {
    text-align: center;
}

/* excursion images end */


/* Hide Registration and Abstract boxes on the overview page  */

/* Hide the specific action-box.highlight elements under the conferenceDetails class */
html body main.main div div.conf.clearfix div#confSectionsBox.clearfix div.confBodyBox.clearfix div.mainContent div.col2 div.conference-page div.page-content div.conferenceDetails div.action-box.highlight {
    display: none;
}


/* Disables the date, location, etc box on overview page  */
.main .conf.clearfix #confSectionsBox.clearfix .confBodyBox.clearfix .mainContent .col2 .conference-page .page-content .conferenceDetails .infogrid {
    display: none;
}


/* Hide  */


/* Hide the search box */
#event-search-box {
display: none;
}


button {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #007dae;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #005f8d; /* Darker shade on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px); /* Slight lift on hover */
}

button:active {
    background-color: #004466; /* Even darker shade on click */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    transform: translateY(0); /* Reset lift on click */
}

button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 125, 174, 0.3); /* Focus ring */
}

/* Set the font family for MathJax elements to a serif font */
.mjx-container {
    font-family: "Computer Modern Serif", "Times New Roman", serif !important;
}

/* HIDE MY CONFERENCE */

/* Target the direct parent of the My Contributions link */
#outer li.menuConfTitle:has(ul.inner li.menuConfMiddleCell a[href*="contributions/mine"]) > a.no-link {
  display: none;
}


/* Alternative solution without :has */
/*#outer li.menuConfTitle > a.no-link {
  display: none;
}*/

/* Make sure the My Contributions link remains visible */
#outer li.menuConfTitle ul.inner li.menuConfMiddleCell a[href*="contributions/mine"] {
  display: block;
}


/* TIMETABLE - JULY 02 */

/* ============================================================================
   MINIMAL TIMETABLE WIDTH FIX - NO LAYOUT CHANGES
   ONLY fixes: hardcoded 710px width constraints
   PRESERVES: All existing text alignment, heights, internal layouts
   ============================================================================ */

/* 1. OVERRIDE HARDCODED 710px WIDTH CONSTRAINTS */
#timetable,
#timetable > div,
#timetable .ui-tabs,
#timetable .ui-tabs > div,
div[style*="width: 710px"],
.ui-tabs-panel > div > div > div[style*="width: 710px"] {
    width: 1400px !important;
    max-width: none !important;
}

/* 2. FIX HOUR LINES (also hardcoded to 710px) */
.hourLine,
div[id^="hourLine_"] {
    width: 1400px !important;
}

/* 3. FIX CONTAINER PADDING (8vh -> 2vw) */
.confBodyBox {
    padding: 0 32px !important; /* Replace 2vw with fixed value */
}

/* ============================================================================
   SCALE EXISTING BLOCK WIDTHS PROPORTIONALLY
   NO changes to internal layout, text alignment, or heights
   ============================================================================ */

/* 4. SINGLE-COLUMN BLOCKS (presentations) */
.timetableBlock[style*="width: 647px"] {
    width: 1260px !important;
}

/* 5. MULTI-COLUMN BLOCKS (short courses) */
.timetableBlock[style*="width: 160px"] {
    width: 315px !important;
}

.timetableBlock[style*="width: 158px"] {
    width: 315px !important;
}

/* 6. REPOSITION MULTI-COLUMN BLOCKS */
.timetableBlock[style*="left: 218px"] {
    left: 370px !important;
}

.timetableBlock[style*="left: 381px"] {
    left: 685px !important;
}

.timetableBlock[style*="left: 544px"] {
    left: 1000px !important;
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS (width scaling only)
   ============================================================================ */

/* Large screens */
@media (min-width: 1600px) {
    #timetable,
    #timetable > div,
    #timetable .ui-tabs,
    div[style*="width: 710px"] {
        width: 1600px !important;
    }
    .hourLine {
        width: 1600px !important;
    }
    .timetableBlock[style*="width: 647px"] {
        width: 1445px !important;
    }
    .timetableBlock[style*="width: 160px"] {
        width: 360px !important;
    }
    .timetableBlock[style*="width: 158px"] {
        width: 358px !important;
    }
    .timetableBlock[style*="left: 218px"] {
        left: 415px !important;
    }
    .timetableBlock[style*="left: 381px"] {
        left: 775px !important;
    }
    .timetableBlock[style*="left: 544px"] {
        left: 1135px !important;
    }
}

/* Medium screens */
@media (max-width: 1399px) and (min-width: 1200px) {
    #timetable,
    #timetable > div,
    #timetable .ui-tabs,
    div[style*="width: 710px"] {
        width: 1200px !important;
    }
    .hourLine {
        width: 1200px !important;
    }
    .timetableBlock[style*="width: 647px"] {
        width: 1025px !important;
    }
    .timetableBlock[style*="width: 160px"] {
        width: 270px !important;
    }
    .timetableBlock[style*="width: 158px"] {
        width: 268px !important;
    }
    .timetableBlock[style*="left: 218px"] {
        left: 325px !important;
    }
    .timetableBlock[style*="left: 381px"] {
        left: 600px !important;
    }
    .timetableBlock[style*="left: 544px"] {
        left: 875px !important;
    }
}

/* Smaller screens */
@media (max-width: 1199px) {
    #timetable,
    #timetable > div,
    #timetable .ui-tabs,
    div[style*="width: 710px"] {
        width: 1000px !important;
    }
    .hourLine {
        width: 1000px !important;
    }
    .timetableBlock[style*="width: 647px"] {
        width: 845px !important;
    }
    .timetableBlock[style*="width: 160px"] {
        width: 225px !important;
    }
    .timetableBlock[style*="width: 158px"] {
        width: 223px !important;
    }
    .timetableBlock[style*="left: 218px"] {
        left: 280px !important;
    }
    .timetableBlock[style*="left: 381px"] {
        left: 505px !important;
    }
    .timetableBlock[style*="left: 544px"] {
        left: 730px !important;
    }
}

@media (min-width: 768px) {
    .confBodyBox {
        padding: 0 48px !important;
    }
}

@media (min-width: 1200px) {
    .confBodyBox {
        padding: 0 64px !important;
    }
}


@media (min-width: 1600px) {
    .timetableBlock[style*="width: 158px"] {
        width: 360px !important;
    }
}

@media (max-width: 1399px) and (min-width: 1200px) {
    .timetableBlock[style*="width: 158px"] {
        width: 270px !important;
    }
}

@media (max-width: 1199px) {
    .timetableBlock[style*="width: 158px"] {
        width: 225px !important;
    }
}
/* Base positioning for large screens */
#timetable .ui-tabs .tabExtraButtons,
.ui-tabs .tabExtraButtons,
.tabExtraButtons {
    width: auto !important;
    max-width: max-content !important;
    min-width: auto !important;
    flex-grow: 0 !important;
    flex-shrink: 1 !important;
    flex-basis: auto !important;
    display: inline-flex !important;
    margin-right: 100px !important;
}


#detailsButton {
    display: none !important;
}


.buttonContainer:has(#detailsButton) {
    display: none;
}

/* Removes "Rooms" */
.timetableFilter table td:nth-child(3) {
    display: none;
}

/* Hide presenter info on contribution pages */
table.other-fields {
  display: none !important;
}


/* Hack: Change 'Conveners' to 'Invited Speaker' */
/* Hide the real <h3> entirely */
/*.session-conveners > .header > .header-row:first-child > h3 {
  display: none !important;
}
*/

/* Changes for Short courses too! Avoid! */
/*
.session-conveners > .header > .header-row:first-child::before {
  content: "Invited Speaker";
  display: block;
  font-size: 1.25rem;
  line-height: 1.2;
  color: rgb(203, 109, 4);
  margin-bottom: 0.5em;
}*/

/* Hide 'Conveners' entirely */
.session-conveners > .header > .header-row:first-child > h3 {
  display: none !important;
}

/* Hide attachment/paperclip icon in timetable */
/*a.entry-attachments.i-link {
  display: none !important;
}*/

/* Hide "Presentation Materials" heading for attachments */
section.item-attachments .header-row {
  display: none !important;
}


/* Hide subtitle on keynote pages ("Keynote 1", etc.) */
.conference-page.item-summary header .subtitle-container h3 {
  display: none !important;
}