/* =========================================================
   WCAG-friendly Custom CSS for Indico Conference Page
   Color theme adapted to banner background: #00838f
   ========================================================= */

/* ---------- Hide default Indico logo (visual only) ---------- */
.confLogoBox {
  display: none;
}

/* ---------- Conference header container ---------- */
.confTitleBox {
  background-color: #00838f; /* kolor tła bannera */
  border-top: none;
  border-bottom: none;
  padding: 0;
  margin: 0;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------- Banner container ---------- */
.confTitle {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;

  aspect-ratio: 950 / 150;
  height: auto;

  background-image: url("https://indico.ifj.edu.pl/event/1474/images/237-YM2026%20banner%20v2.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  
  /* opcjonalnie: zapobiega „prześwitywaniu” */
  background-color: transparent;
}

/* ---------- Accessible hiding of default title text ---------- */
.conference-title-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Spacing below header ---------- */
#confSectionsBox {
  margin-top: 1.25rem;
}

/* =========================================================
   GLOBAL ACCESSIBILITY IMPROVEMENTS
   ========================================================= */

/* ---------- Base text contrast ---------- */
body {
  color: #1a1a1a;
  background-color: #ffffff;
  line-height: 1.5;
}

/* ---------- Links ---------- */
a {
  color: #005f66;
  text-decoration: underline;
}

a:hover,
a:focus {
  color: #00474d;
}

/* ---------- Keyboard focus visibility ---------- */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

/* ---------- Respect user font scaling ---------- */
html {
  font-size: 100%;
}

/* =========================================================
   MOBILE & ZOOM FRIENDLY
   ========================================================= */

@media (max-width: 768px) {
  .confTitle {
    max-width: 100%;
    aspect-ratio: auto;
    min-height: 120px;
  }

  body {
    font-size: 1.1rem;
    line-height: 1.6;
  }
}

/* =========================================================
   HIGH CONTRAST MODE (Windows / forced-colors)
   ========================================================= */

@media (forced-colors: active) {
  .confTitle {
    background-image: none;
    height: auto;
  }

  .conference-title-link {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    white-space: normal;
    font-size: 1.5rem;
    font-weight: bold;
  }
}

/* ------Menu------ */
/* here is layout and style for creating default menu for conferences */


/* Styles for all menu Items */

#outer {
    background: #dfe7e7;
    border: 1px solid #7e8383;
}

#outer li a:hover {
    background: #777;
    color: white;
}

.support_box {
    background: #dfe7e7;
    border: 1px solid #7e8383;
}

.support_box > h3 {
    background: #28808c;
}

.conf_leftMenu {
    float:left;
    width:200px;
    background:transparent none repeat scroll 0 0;
}

.menuConfTitle {
    text-align:left;
    color:#0200C6;
}

.menuConfTitle a {
    color: #4e4c46;
    padding: 7px 12px;
}

.menuConfSelected a {
    padding: 7px 12px;
    color: #4e4c46;
}

li ul.inner li a {
    padding: 3px 12px 3px 30px;
    background: transparent url(/images/conf/left_menu_bullet.png) scroll no-repeat 15px center;
} /* Sub Menu Styles */

.confSubTitle {
    color: #5b5d53;
}

.simpleTextAnnouncement {
    background: #F5FAFF url(/images/conf/sprites_orange.png) repeat-x scroll 0 -400px;
    border-top: none;
    border-bottom: 1px solid #CCC;
    color: #0f283d;
}