body {
  font-size: 16px;
  line-height: 23px;
  font-weight: 300;
  -webkit-font-smoothing: subpixel-antialiased;
}

body *::selection {
  background: #e74c3c;
  color: #fff;
}

.container {
  max-width: 980px;
}

.top-strip {
  background-color: #333;
  height: 0.25em;
  width: 100%;
}

h1,
h2,
h3 {
  /* font-weight: 300; */
}

h1 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 35px;
}

h2 {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 30px;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 25px;
}

.page-header {
  margin-top: 20px;
  margin-bottom: 20px;
}

#conf-title.page-header {
  border-bottom: none;
}

#conf-full-name {
  margin-bottom: 5px;
}

p.authors {
  margin-bottom: 5px;
  color: #808080;
  font-size: 20px;
}

p.authors a {
  border-color: #dedede;
}

img {
  max-width: 100%;
}

p {
  text-align: justify;
}

a {
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  color: inherit;
}

p.lead.authors a {
  border-bottom: none;
}

a:hover,
a:focus {
  color: inherit;
  text-decoration: none;
}

.thumb {
  margin: 20px 0;
  border: 1px solid #808080;
}

pre {
  color: #333;
  font-size: 12px;
  line-height: 17px;
}

footer {
  font-size: 13px;
}

.conf-row {
  margin-bottom: 5px;
}

.conf-title,
.conf-title-small,
.conf-title-icon {
  font-size: 20px;
  font-weight: 400;

}

.conf-title-small {
  display: none;
}

.conf-title-icon {
  white-space: nowrap;
  font-size: 20px;
}

.deadline,
.meta {
  font-size: 13px;
}

.note {
  font-size: 13px;
  margin-bottom: 5px;
}

.timer,
.timer-small {
  font-size: 20px;
  font-weight: 400;
}

.TBD-conf .timer,
.TBD-conf .timer-small,
.TBD-conf .deadline-time {
  font-style: italic;
  color: #888;
}

#confs {
  margin-top: 20px;
}
.timer-small {
  display: none;
}

#conf-timer {
  font-size: 72px;
  color: #444;
  margin-top: 40px;
  margin-bottom: 0.5em;
}

#conf-key-facts {
  margin-bottom: 10px;
}

.conf-sub {
  color: rgb(36, 101, 191);
  background: rgba(236, 240, 241, 0.7);
  font-size: 13px;
  padding: 3px 5px;
  margin-right: 8px;
  cursor: pointer;
  font-weight: 300;
}

.conf-sub::selection {
  background: #0097e6;
}

.checkbox input[type="checkbox"]:checked:after {
  background-color: #0097e6;
  border-color: #0097e6;
}

.checkbox input[type="checkbox"]:after,
.checkbox input[type="checkbox"]:focus:after {
  border-color: #0097e6;
}

#sort-order-checkbox {
    text-align: right;
    font-size: 14px;
    padding-top: 5px;
}

#sort-order-checkbox input[type="checkbox"]:checked:after {
    background-color: #0097e6;
    border-color: #0097e6;
  }
  
#sort-order-checkbox input[type="checkbox"]:after,
#sort-order-checkbox input[type="checkbox"]:focus:after {
    border-color: #0097e6;
}

.filter-label {
  text-align: right;
}


.pwc-link {
  text-decoration: none;
  border: none;
  vertical-align: middle;
}

.pwc-link:hover {
  border-bottom: 1px solid #1198b2;
}

.icon-inner {
  width: .95em;
  height: .95em;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  fill: currentColor;
}

.pwc-icon {
  color: #1198b2;
}

.twitter-github-icons {
  line-height: 16px;
}

#past-events-title {
  padding-bottom: 15px;
  border-bottom: 2px solid #bb2d3b;
}

.badge-link {
  vertical-align: middle; 
  margin-bottom: 3px;
  margin-left: 2px;
  margin-right: 2px;
}


.badge-danger {
  background-color: #bb2d3b;
}

@media only screen and (max-width: 768px) {
  #conf-timer {
    font-size: 64px;
  }
  .calendar {
    margin-bottom: 10px;
  }
  .filter-label {
    text-align: left;
  }
}

@media only screen and (max-width: 576px) {
  #conf-timer {
    font-size: 36px;
  }
  .conf-place {
    display: none;
  }
  .conf-date {
    display: none;
  }
  .note {
    display: none;
  }
  .conf-row {
    margin-bottom: 7px;
  }
  .timer {
    display: none;
  }
  .timer-small {
    text-align: right;
    display: grid;
  }
  .conf-title {
    display: none;
  }
  .conf-title-small {
    display: inline;
  }

}

@media only screen and (max-width: 375px) {
  #conf-timer {
    font-size: 28px;
  }
}

.checkbox {
  font-size: 12px;
}

.calendar {
  font-size: 12px;
  margin-top: 3px;
}

.calendar img {
  margin-right: 5px;
}

.ind-cal {
  margin: 0 5px;
}

.calendar img {
  height: 20px;
}

.abstract-deadline {
  font-size: 13px;
  color: #777;
}

/* Ranking badges (ICORE, CSRankings, KIISE) - outlined so they read as
   different from the solid category tags next to them. */
.rank-badges {
  display: inline;
}

.rank-badge {
  display: inline-block;
  font-size: 12px;
  line-height: 1.4;
  padding: 1px 6px;
  margin: 2px 6px 2px 0;
  border: 1px solid;
  border-radius: 3px;
  white-space: nowrap;
  vertical-align: middle;
}

.rank-badge.core-astar { color: #6d5200; background: #fff3c4; border-color: #b8860b; font-weight: 600; }
.rank-badge.core-a     { color: #6d5200; background: #fffaeb; border-color: #d4a72c; }
.rank-badge.core-b     { color: #4d4d4d; background: #f4f4f4; border-color: #9e9e9e; }
.rank-badge.core-c     { color: #666;    background: #fafafa; border-color: #c4c4c4; }
.rank-badge.core-other { color: #666;    background: #fafafa; border-color: #c4c4c4; font-style: italic; }

.rank-badge.csr        { color: #1f4fb3; background: #eaf2ff; border-color: #1f6feb; }
.rank-badge.csr-next   { background: #fff; border-style: dashed; }

.rank-badge.kiise      { color: #a12a1f; background: #fff; border-color: #e08b80; }
.rank-badge.kiise-top  { background: #fdecea; border-color: #c0392b; font-weight: 600; }

.rank-note {
  font-size: 13px;
  color: #777;
  margin-top: 6px;
}

/* Ranking badges in the right-hand column of the countdown list, where the
   per-deadline calendar buttons used to be. */
.conf-ranks {
  margin-top: 8px;
}

/* Acceptance chart beside each deadline: submissions (bars, left axis) and
   acceptance rate (line, right axis). Colours are categorical slots 1 and 2,
   validated together against the white page (CVD dE 24.7). Text stays in
   ink colours; only the marks carry the series colours. */
.acc-chart {
  min-height: 132px;
  margin-top: 4px;
}

.acc-legend {
  font-size: 11px;
  color: #52514e;
  line-height: 16px;
}
.acc-legend > span { margin-right: 12px; white-space: nowrap; }
.acc-legend-key {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}
.acc-legend-key.acc-key-bar  { width: 8px; height: 10px; border-radius: 2px 2px 0 0; background: #2a78d6; }
.acc-legend-key.acc-key-line { width: 14px; height: 2px; border-radius: 1px; background: #eb6834; }

.acc-svg { display: block; overflow: visible; }
.acc-grid     { stroke: #e1e0d9; stroke-width: 1; }
.acc-baseline { stroke: #c3c2b7; stroke-width: 1; }
.acc-tick {
  font-size: 10px;
  fill: #898781;
  font-variant-numeric: tabular-nums;
}
.acc-axis-title {
  font-size: 10px;
  fill: #52514e;
}
.acc-bar { fill: #2a78d6; }
.acc-bar.acc-active { fill: #5598e7; }
.acc-line {
  fill: none;
  stroke: #eb6834;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.acc-dot { fill: #eb6834; stroke: #fff; stroke-width: 2; }
.acc-direct {
  font-size: 10px;
  font-weight: 600;
  fill: #0b0b0b;
  /* a white halo keeps the label legible where it crosses a bar */
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 3px;
  stroke-linejoin: round;
}
.acc-hit { fill: transparent; cursor: default; }

.acc-empty {
  font-size: 12px;
  color: #898781;
  padding-top: 8px;
}

#acc-tooltip {
  display: none;
  position: absolute;
  z-index: 1000;
  pointer-events: none;
  background: #fff;
  border: 1px solid rgba(11, 11, 11, 0.10);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  padding: 6px 8px;
  font-size: 12px;
  color: #52514e;
  white-space: nowrap;
}
.acc-tip-year { font-weight: 600; color: #0b0b0b; margin-bottom: 2px; }
.acc-tip-row strong { color: #0b0b0b; font-weight: 600; }
.acc-tip-key {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  width: 10px;
  height: 2px;
}
.acc-tip-key.acc-key-bar  { height: 8px; width: 6px; background: #2a78d6; border-radius: 1px; }
.acc-tip-key.acc-key-line { background: #eb6834; }

/* Detail page: the acceptance chart's numbers as a table. */
.acc-table { font-size: 13px; margin-top: 6px; }
.acc-table th, .acc-table td { padding: 2px 12px 2px 0; text-align: right; font-variant-numeric: tabular-nums; }
.acc-table th:first-child, .acc-table td:first-child { text-align: left; }
.acc-table th { color: #52514e; font-weight: 600; border-bottom: 1px solid #e1e0d9; }
.acc-table a { color: #898781; }
