:root {
  --conf-theme-header-bg: #1a120c;
  --conf-theme-header-border-bottom: #d4af37;
  --conf-theme-header-text: #fff8ee;
  --conf-theme-subtitle-bg: #fff7f0;
  --conf-theme-subtitle-border: #f0d7b8;
  --conf-theme-subtitle-text: #1a120c;
  --conf-theme-menu-bg: #fff7f0;
  --conf-theme-menu-border: #e8d3b8;
  --conf-theme-menu-link: #8a3d06;
  --conf-theme-menu-selected: #c75a08;
  --conf-theme-menu-selected-bg: #fff1e0;
  --conf-theme-menu-selected-border: #d4af37;
  --conf-theme-hover-bg: #fff1e0;
  --conf-theme-hover-color: #8a3d06;
  --conf-theme-support-bg: #fff7f0;
  --conf-theme-support-border: #e8d3b8;
  --conf-theme-support-header-bg: #1a120c;
  --conf-theme-support-header-text: #fff8ee;
  --conf-theme-support-text: #8a5a12;
  --conf-theme-announcement-bg: #fff7f0;
  --conf-theme-announcement-border: #f0d7b8;
  --conf-theme-announcement-text: #1a120c;
}

body {
  background: #fff7f0;
  --accent-color: #c75a08;
  --accent-secondary-color: #8a5a12;
  --accent-highlight-color: #ef7b20;
  --accent-border-color: #1a120c;
  --surface-accent-color: #c75a08;
  --surface-accent-secondary-color: #fff1e0;
  --clickable-text-color: #c75a08;
  --clickable-text-highlight-color: #ef7b20;
}

.page-header,
.page-header-dark,
.indico-top-bar {
  background: #1a120c !important;
  color: #fff8ee;
}

.page-header {
  box-shadow: inset 0 -3px 0 #d4af37;
}

.page-header img.header-logo,
.indico-top-bar .indico-top-bar-logo img {
  height: 48px;
  margin: 12px 0 12px 24px;
}

#global-menu {
  --surface-inverse-color: #1a120c;
  --text-inverse-color: #fff8ee;
  --surface-highlight-inverse-color: #ef7b20;
  --menu-background-color: #1a120c;
  --menu-text-color: #fff8ee;
  --menu-text-hover-color: #1a120c;
  --menu-background-hover-color: #ef7b20;
  background: #1a120c;
  padding-left: 8px;
  padding-right: 8px;
}

#global-menu li :is(a, button):hover,
#global-menu li :is(a, button):focus-visible {
  background: #ef7b20 !important;
  color: #1a120c !important;
}

.page-header .session-bar,
.page-header .session-bar a,
.page-header .session-bar button,
.indico-top-bar,
.indico-top-bar a,
.indico-top-bar button {
  color: #fff8ee;
}

footer.footer {
  background: #1a120c;
  color: #fff8ee;
  border-top: 3px solid #d4af37;
  padding: 16px 20px;
}

footer.footer .footer-logo {
  height: 36px;
}

footer.footer .footer-links,
footer.footer a {
  color: #f0d7b8;
}

footer.footer a:hover {
  color: #ef7b20;
}

.ui.blue.label {
  background-color: #d4af37 !important;
  border-color: #c6a15b !important;
  color: #1a120c !important;
}

.ui.primary.button:not(.negative),
.i-button.highlight:not(.label):not(.borderless):not(.text-color),
.action-button:not(.label):not(.borderless):not(.text-color) {
  background: #ef7b20 !important;
  color: #1a120c !important;
  border-color: #c75a08 !important;
}

.ui.primary.button:not(.negative):hover,
.i-button.highlight:not(.label):not(.borderless):not(.text-color):hover,
.action-button:not(.label):not(.borderless):not(.text-color):hover {
  background: #d4af37 !important;
  color: #1a120c !important;
}

.login-page {
  background: #fff7f0;
}

.login-page .login-form-button,
.login-page .provider-with-form {
  background: #ef7b20;
  color: #1a120c;
  border: 1px solid #c75a08;
  border-radius: 8px;
  font-weight: 700;
}

.login-page .login-form-button:hover,
.login-page .provider-with-form:hover {
  background: #d4af37;
}

.login-page a {
  color: #c75a08;
}

.login-page .header-logo {
  height: 112px;
}

.confTitle {
  width: min(950px, 100%);
  padding: 0 16px;
  box-sizing: border-box;
}

.conferenceDetails .description,
.conference-page .description,
.preformatted {
  color: #1a120c;
}

.conference-title-link::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  background: url("/static/custom/files/favicon.svg") center / contain no-repeat;
  vertical-align: middle;
}

.conference-title-link {
  overflow-wrap: anywhere;
}

.menuConfTitle.selected a,
.menuConfSelected a {
  box-shadow: inset 3px 0 0 #d4af37;
}

@media (max-width: 900px) {
  .page-header .flexrow.f-j-space-between {
    flex-wrap: wrap;
    align-items: center;
  }

  .page-header img.header-logo {
    height: 40px;
    margin: 10px 12px 8px 16px;
  }

  .page-header .session-bar {
    width: 100%;
    justify-content: flex-start;
    padding: 0 8px 8px;
  }

  #global-menu {
    padding: 0 4px;
  }

  #global-menu > menu {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
  }

  #global-menu li :is(a, button) {
    padding: 0.65em 0.75em;
  }

  #confSectionsBox,
  #outer,
  .conf,
  .confheader,
  .confTitleBox,
  .confTitle,
  .confSubTitleBox,
  .confSubTitleContent,
  .conf_leftMenu,
  .confBodyBox,
  .mainContent,
  .conference-page,
  .page-content,
  .conferenceDetails,
  .infogrid,
  .infoline {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .confSubTitleContent {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px;
  }

  .infogrid {
    display: block !important;
  }

  .infoline {
    float: none !important;
    display: flex !important;
    width: 100% !important;
    margin: 0 0 16px;
  }

  .confTitle,
  .confSubTitleContent {
    padding-left: 16px;
    padding-right: 16px;
  }

  .conference-title-link {
    font-size: 1.35rem;
    line-height: 1.3;
    padding: 16px 0;
  }

  .conf_leftMenu {
    float: none;
    width: auto;
    background: #fff7f0;
    border-bottom: 1px solid #e8d3b8;
  }

  .conf_leftMenu .event-menu-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .conf_leftMenu nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
  }

  .conf_leftMenu .menuConfTitle {
    margin: 0;
  }

  .conf_leftMenu .menuConfTitle a {
    display: inline-block;
    border: 1px solid #e8d3b8;
    border-radius: 999px;
    background: #fff;
    padding: 8px 12px;
    box-shadow: none;
  }

  .conf_leftMenu .menuConfTitle.selected a,
  .conf_leftMenu .menuConfSelected a {
    background: #ef7b20;
    color: #1a120c;
    border-color: #c75a08;
    box-shadow: none;
  }

  .confBodyBox {
    margin-left: 0;
    padding: 8px 16px 32px;
  }

  .login-page {
    position: static;
    display: block;
    height: auto;
    min-height: 100%;
  }

  .login-page .middle {
    display: block;
    padding: 28px 0 40px;
  }

  .login-page .middle .centered-column-wrapper,
  .login-page .middle .centered-column-wrapper .centered-column,
  .login-page .middle .centered-column-wrapper .centered-column.wide {
    width: min(420px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .login-page input,
  .login-page select,
  .login-page textarea,
  input,
  select,
  textarea {
    font-size: 16px;
  }

  footer.footer .flexrow {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 16px;
  }

  footer.footer * {
    line-height: 1.45;
  }

  .fixed-width-standalone-page,
  .fixed-width-standalone-text-page,
  .meeting-page,
  .event-wrapper {
    width: auto !important;
    max-width: 100% !important;
  }

  .timetable,
  .i-data-list,
  .mainContent {
    max-width: 100%;
    overflow-x: auto;
  }
}
