/*
    Use this stylesheet to modify the layout of your
    conference.
*/

:root {
  /* Header */
  --conf-theme-header-bg: #1a64a0;
  --conf-theme-header-border-bottom: #0f4c80;
  --conf-theme-header-text: white;

  /* Subtitle area */
  --conf-theme-subtitle-bg: #f5faff;
  --conf-theme-subtitle-border: #d5e4f1;
  --conf-theme-subtitle-text: #24425a;

  /* Menu colors */
  --conf-theme-menu-bg: #f6f6f6;
  --conf-theme-menu-border: #ccc;
  --conf-theme-menu-link: #275c86;
  --conf-theme-menu-selected: #bd891a;
  --conf-theme-menu-selected-bg: #dadada;
  --conf-theme-menu-selected-border: #d0d0d0;
  --conf-theme-hover-bg: #e0e0e0;
  --conf-theme-hover-color: var(--conf-theme-menu-link);
  --conf-theme-title-sprite-bg: transparent;
  --conf-theme-announcement-sprite-bg: transparent;
  --conf-theme-announcement-border-top: 1px solid var(--conf-theme-announcement-border);
  --conf-theme-announcement-border-bottom: none;

  /* Support box */
  --conf-theme-support-bg: #f6f6f6;
  --conf-theme-support-border: #ccc;
  --conf-theme-support-header-bg: #1a64a0;
  --conf-theme-support-header-text: #f3f3f3;
  --conf-theme-support-text: #aaa;

  /* Background images */
  --conf-theme-sprite-image: url('/images/conf/sprites_blue.png');

  /* Announcement colors */
  --conf-theme-announcement-bg: #f5faff;
  --conf-theme-announcement-border: #c2d6e7;
  --conf-theme-announcement-text: #0f283d;
}

/* Other CSS as needed */


/* =============== Customization for IWEPNM from here ==================== */

.button-bar > *, #protection-details-link {
  display: none !important;
}

.button-bar > .icon-edit, .button-bar > *:has(> .icon-edit) {
  display: inline-flex !important;
}

.event-page-header {
  margin-bottom: -50px;
  background: none !important;
}

.menuConfTitle:has(> .inner > .menuConfMiddleCell > a[href$="contributions/mine"]) > .no-link {
  display: none !important;
}

.menuConfTitle > .inner > .menuConfMiddleCell > a[href$="contributions/mine"] {
  padding: 7px 12px;
  background: none;
}

/* Font size for custom texts */

.editor-output {
    font-size: 1.2em;
    line-height: 1.4285em;
}

.regform-section .i-box-header .i-box-description {
    color: #333;
}

/* Only show first email address */
.support_box li:nth-child(n+2) {
    display: none;
}

/* Abstracts are text only: hide the "Insert image" button of the Markdown
   editor (PageDown). It only offers hotlinking an external URL, Indico stores
   no copy, and the book of abstracts would depend on that server.
   Ctrl+G and hand-written ![](url) still work; this only removes the
   invitation. The selector depends on PageDown's button ID
   "wmd-image-button-f_<field>": re-check after every Indico upgrade
   (docs/deployment.md, "Upgrading Indico"). */
[id^='wmd-image-button'] {
    display: none !important;
}