* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: #fff;
}

html {
  font-size: 14px;
  padding: 3em;
}

body {
  border-radius: .6em;
  color: #333;
  font: 1.1em/1.3 Helvetica, Arial, Verdana, sans-serif;
  hyphens: none;
  margin: 0 auto;
  max-width: 65em;
  padding: 3em;
}

.header :first-child {
  margin-top: 0;
}


.footer :last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
p,
dl,
ul,
ol {
  margin: 1.5rem 0;
}

h3 {
  /*margin-top: 4rem;*/
  margin-top: 1rem;
}

h2 + h3,
h2 + section > h3 {
    margin-top: 1.5rem;
}

h4 {
  margin-top: 3rem;
}

h3 + h4,
h3 + section > h4 {
  margin-top: 1.5rem;
}

#banner-image {
    margin-top: 1em;
    padding: 2em 2em 0 2em;
    background-color: white;
    background-image: url("https://www.w3.org/comm/assets/stock/cityscape.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 370px;
    color: white;
    position: relative;
}

@media (max-width: 520px) {
  #banner-image br:not(:last-of-type) {
    display: none;
  }
}

#banner-image h1 {
    margin: 0;
    color: white;
    text-align: right;
    font-size: 300%;
    font-size: min(200% + 1vw, 300%);
    line-height: 1.5;
    letter-spacing: -.01em;
}

#banner-image h2 {
  margin: 0;
  color: white;
  text-align: right;
  font-size: 240%;
  font-size: min(150% + 1vw, 240%);
  line-height: 1.8;
  letter-spacing: -.01em;
}

ol {
  margin-left: 1.1em;
}

a,
h1,
h2,
.menu a.active-tab {
  color: #005a9c;
}

a:hover {
  color: #111;
}

a.ref,
.has-ref {
  cursor: pointer;
}

a.ref {
  color: inherit;
  display: none;
  font-size: 1em;
  left: 0;
  opacity: .25;
  position: absolute;
  text-decoration: none;
}

.has-ref:hover > a.ref {
  display: block;
}

.has-ref:target > a.ref {
  display: block;
  opacity: .5;
}

.has-ref {
  margin-left: -1em;
  padding-left: 1em;
  position: relative;
}

.graphic {
  height: 13em;
  margin: 0 -1.5em;
  overflow: hidden;
  position: relative;
}

.graphic img {
  bottom: 0;
  height: 100%;
  left: 0;
  position: absolute;
  width: 100%;
}

.box,
.type {
  box-shadow: .3em .3em 0 rgba(0,0,0,.1);
  border: 1px solid #ccc;
  margin-top: 0;
}

/* If you rather clip than squeeze the image, remove `height: 100%`. */
.box {
  clear: right;
  color: #666;
  float: right;
  font-size: 1rem;
  margin-left: 3rem;
  margin-bottom: 2rem;
  padding: 1em;
  width: 19em;
  background-color: #f2fdff;
}

.box h2 {
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 0;
}

.box *:last-child {
  margin-bottom: 0;
}

.box.compact p {
  margin-top: 0;
  margin-bottom: 0;
}
.box.compact ul {
  margin-top: 0;
}

.image-paragraph-host {
  margin-bottom: .75em;
}

.image-paragraph {
  margin: 0;
}

.image-link {
  display: block;
}

.image-link img {
  max-width: 225px;
  padding: 2.5vmin 0;
  width: 100%;
}

.footer {
  border-top: 1px solid #eee;
  clear: both;
  color: #777;
  font-size: 1rem;
  margin: 2rem 0;
  padding-top: .5rem;
}

.menu {
  background: #005a9c;
  font-size: 1rem;
  margin: 0 0 2em;
}

.menu,
.menu ul,
.menu li {
  width: 100%;
}

.menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li + li a {
  border-left: 2px solid #fff;
}

.menu a {
  color: #eee;
  display: block;
  font-size: .95rem;
  height: 100%;
  padding: .6rem;
  text-align: center;
  text-decoration: none;
  transition: .05s background ease-in-out, .05s color ease-in-out;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
}

.menu a:hover {
  background: #111;
  color: #fff;
}

.menu a:active {
  opacity: .75;
}

.menu a.active-tab {
  background: #fff;
  font-weight: bold;
  pointer-events: none;
  border-top: solid thin #005a9c;
  border-bottom: solid thin #005a9c;
}

ul {
  list-style: square;
  margin-left: 0;
  padding-left: 1em;
  margin-top: 0;
  padding-top: 0;
}

ul ul {
  margin-bottom: 0;
  padding-bottom: 0em;
}

blockquote {
  margin-left: 1em;
}

.main {
  margin-top: 3rem;
}

dd {
  margin: 0 0 .6em;
}

dt {
  font-weight: 700;
  margin-top: 1rem;
}

.main dt {
  margin-top: 2rem;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  break-after: avoid;
}

.main h2 {
  margin-top: 1.5em;
}

address {
  line-height: .25em;
}

@media all and (min-width: 699px) {
  html {
    background: #005a9c;
  }
}

@media all and (max-width: 860px) {
  html {
    padding: 0;
  }

  body {
    border-radius: 0;
  }

  .menu ul {
    display: block;
  }

  .menu li + li a {
    border-top: 2px solid #fff;
    border-left: 0;
  }

  .menu li + li a {
    margin-left: 0;
  }

  .graphic {
    height: 10em;
    margin: 0;
  }

  /* The right-floating boxes become normal blocks. */
  .box {
    float: none;
    margin-left: 0;
    width: auto;
  }
}

@page {
  margin: 2cm;
}

@media print {
  html {
    background: none;
    padding: 0;
  }

  body {
    background: none;
    border-radius: 0;
    padding: 0;
  }
}

/* Initialize footnote counters. */
body {
  counter-reset: footnote_counter footnote-ref_counter;
}

h2.footnote {
  counter-increment: footnote_counter;
}

a.footnote-ref {
  counter-increment: footnote-ref_counter;
  text-decoration: none;
}

h2.footnote:before {
  content: counter(footnote_counter);
  display: block;
  float: left;
  font-size: .9em;
  margin-right: 1.25ch;
  padding: 2em 4em;
  vertical-align: top;
}

h2.footnote:after {
  clear: both;
  content: "";
  display: block;
}

a.footnote-ref:after {
  content: counter(footnote-ref_counter);
  font-size: .6em;
  margin-left: .25em;
  vertical-align: super;
}

h2.footnote:before,
a.footnote-ref:after {
  background-color: #005a9c;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  padding: .1em .5em;
}

.schedule {
  list-style: none;
}

.schedule li,
summary .desc {
  display: flex;
}

.schedule li + li {
  margin-top: .5rem;
}

summary .time {
  background-color: #005c9c;
  border-radius: 5px 0 0 5px;
  color: #fff;
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  min-width: 8em;
  vertical-align: top;
  white-space: nowrap;
}

summary .time,
.title,
.type {
  padding: 3px 6px;
}

.break summary .time {
  background-color: #666;
  color: #fff;
}

.break .title {
  color: gray;
  font-style: italic;
}

summary .time span { font-size: 67%; }

.type {
  clear: right;
  display: inline-block;
  font-size: 67%;
  font-weight: normal;
  height: 100%;
  margin: 0 13px 0 0;
  order: -1;
  min-width: 6.4em;
}

.type:empty {
  border-color: transparent;
  box-shadow: none;
}

dt.type {
  font-size: 100%;
  margin: 0;
}

.type-lightning {
  background-color: #ffe7ba;
}

.type-plenary {
  background-color: #b9d3ee;
}

.type-breakout {
  background-color: #c0d9af;
}

.type-workshop {
  background-color: #ffe4e1;
}

span.title {
  display: block;
  flex: 1;
  margin-left: 5px;
  order: 1;
}

summary {
  display: block;
}

summary::-webkit-details-marker {
  display: none;
}

li:not(.no-details) details summary .desc {
  cursor: pointer;
}

details summary .desc:before {
  color: #999;
  content: "▶";
  display: inline-block;
  height: 18px;
  margin-right: 8px;
  order: -2;
  width: 18px;
}

details[open] summary .desc:before {
  color: #666;
  transform: rotate(90deg);
  position: relative;
  left: -2px;
  top: 5px;
}

.no-details details .desc:before {
  content: "";
}

details,
.no-details details:hover {
  opacity: .9;
}

details summary {
  outline: none;
}

details:hover,
details[open] summary {
  opacity: 1;
}

.schedule details {
  width: 100%;
}

.schedule details dl {
  box-shadow: .3em .3em 0 rgba(0,0,0,.1);
  border: 1px solid #ccc;
  margin: 9px 0 5px 27px;
  padding: 1rem;
  position: relative;
}

/* from http://nicolasgallagher.com/pure-css-speech-bubbles/demo/ */
.schedule details dl::after {
  border-color: #005c9c transparent;
  border-style: solid;
  border-width: 15px 15px 0;
  content: "";
  display: block;
  left: 8em;
  position: absolute;
  top: -16px;
  width: 0;
}

.schedule details dt {
  margin: 0;
}

.schedule details dd {
  margin: 0 0 0 1rem;
}

.schedule details dd span {
  font-size: 75%;
  color: #888;
  display: block;
  margin-bottom: .25em;
}

.schedule details dd + dt {
  margin-top: 1rem;
}

.format {
  margin-bottom: 2.25rem;
}

.format dt {
  font-size: 1.1rem;
  /*font-weight: 600;*/
  margin: .5rem 0 1.25rem;
  padding: .5rem 1rem;
}

.format dd {
  margin: 0 1rem 1.5rem;
}

.sponsors-section {
  margin-top: 1rem;
}

.sponsors-section :first-child {
  margin-top: 0;
}

.sponsors-section :last-child {
  margin-bottom: 0;
}

#notification {
  background-color: #ff0;
  border: 1px solid #ccc;
  box-shadow: .2em .4em .5em #888;
  color: #666;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1em;
  padding: .3em;
  text-align: center;
}

.concluded {
  text-decoration: line-through;
}

@media print {
  h1 {
    background: none;
    color: #111;
  }

  nav, aside {
    display: none;
  }

  body,
  article {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  @page {
    margin: 2cm;
  }

  h2, h3 {
    page-break-after: avoid;
  }

  article {
    page-break-before: always;
  }

  ul, img {
    page-break-inside: avoid;
  }

  #dates {
    display: none;
  }
}

cite {
  display: inline-block;
  margin-left: 2em;
  padding-left: 1em;
  margin-right: 1em;
  border-left: thin solid #005a9c;
}

.phone {
  text-indent: -1em;
  margin-left: 2em;
  margin-top: 0;
  margin-bottom: 0;
}

.phone cite {
  padding: 3px 0;
  margin: 0;
  padding-left: 0;
  border-left: none;
  font-weight: bold;
}

.irc {
  padding: 0.3em;
  background-color: #eee;
}

.irc cite {
  padding: 3px 0;
  margin: 0;
  padding-left: 0;
  border-left: none;
  font-weight: bold;
}

ol ol {
  margin: 1.5rem;
  margin-top: 0;
  margin-bottom: 0;
}

.note {
  background: #c0d9af;
  box-shadow: 10px 5px 3px 0px gray;
  border-width: thin;
  border-style: thin;
  border-radius: 3px;
  max-width: 300px;
  padding: 1rem;
}

.note p {
  margin: 0;
}

.warning {
  box-shadow: 10px 5px 3px 0px gray;
  border-top-width: thin;
  border-right-width: thin;
  border-bottom-width: thin;
  border-left-width: thin;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-radius: 3px;
  width: 80%;
  padding-top: 0.5em;
  padding-right: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 0.5em;
}

.warning h1 {
  font-size: 120%;
  font-style: italic;
  font-weight: bold;
  text-align: center;

}

.warning p {
  font-size: 110%;
}

.todo {
  color: #900;
  background-color:#FFC !important;
  font-style: italic;
}

.updates {
  color: #900;
  font-style: italic;
}


#banner h1 {
  margin-bottom: 0;
}
#banner h1+p {
  margin-top: 0;
}
/*
#banner h1::before {
  content: '';
  display: block;
  width: 100%;
  height: 308px;
  background-image: url('media/media-bundle.jpg');
  margin-bottom: 0.5em;
}
*/

label:before, label:after {
    content: "\a";
    white-space: pre;
}

input, textarea {
    width: 100%;
    font: .9em/1.1 Helvetica, Arial, Verdana, sans-serif;
}

button {
  font-size: 75%;
  padding: 0.3em;
  width: 100%;
}

a.char {
  text-decoration: none;
}

ul.detailed {
  list-style: none;
  padding-left: 0;
}

ul.detailed li:not(.no-details) details summary {
  color: #333;
  cursor: pointer;
}

ul.detailed li:not(.no-details) details summary:before {
  color: #333;
  content: "▶";
  display: inline-block;
  height: 18px;
  margin-right: 8px;
  order: -2;
  width: 18px;
}

ul.detailed details[open] summary {
  text-decoration: underline;
}

ul.detailed li:not(.no-details) details[open] summary:before {
  transform: rotate(90deg);
  position: relative;
  left: -2px;
  top: 5px;
}

ul.detailed .no-details details[open] summary {
  margin-bottom: 1em;
}

ul.detailed .no-details summary:before {
  color: #333;
  content: "⏹";
  display: inline-block;
  height: 18px;
  margin-right: 8px;
  order: -2;
  width: 18px;
}

ul.detailed dl, ul.detailed ul {
  margin-top: 0;
}
ul.detailed dt {
  margin-top: 0.5em;
}

ul.detailed details {
  opacity: 1;
}

table {
  border-collapse: collapse;
}

th, td {
  border: thin solid #00365C;
  padding: 0.5em;
  vertical-align: top;
}

th:nth-child(1) {
  width: 150px;
}

th {
  background-color: #005a9c;
  color: white;
}

figure {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.references {
  margin-left: 1rem;
  margin-right: 1rem;
}

.references h4 {
  margin-bottom: 0.5rem;
}
