/* This file is part of indico-wipo. */

:root {
  /* Header */
  --conf-theme-header-bg: var(--wipo-white);
  --conf-theme-header-border-bottom: var(--wipo-white);
  --conf-theme-header-text: var(--wipo-black);

  /* Subtitle area */
  --conf-theme-subtitle-bg: var(--wipo-warm-gray);
  --conf-theme-subtitle-border: var(--wipo-warm-gray);
  --conf-theme-subtitle-text: var(--wipo-gray-2);

  /* Menu colors */
  --conf-theme-menu-bg: var(--wipo-warm-gray);
  --conf-theme-menu-border: var(--wipo-gray-10);
  --conf-theme-menu-link: var(--wipo-gray-2);
  --conf-theme-menu-selected: #bd891a;
  --conf-theme-menu-selected-bg: var(--wipo-blue-10);
  --conf-theme-menu-selected-border: var(--wipo-blue-10);
  --conf-theme-hover-bg: var(--wipo-blue-10);
  --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;
}

.conference-title-link {
    padding: 0;
}

.conference-title-link span[itemprop='title'] {
  display: block;
  padding: 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  line-height: 1.25em;
  position: relative; /* create stacking context */
  z-index: 2;         /* ensure it paints above the logo div */
}

.conference-title-link span[itemprop='title']:not(:first-child) {
  margin-top: -4.5rem;                  /* only when a logo precedes it */
}
