html {
  background-color: #eee;
  margin: 0;
}
body {
  font-family: helvetica, arial, sans-serif;
  font-size: 11pt;
  font-weight: 300;
  line-height: 1.25em;
  text-align: justify;
  background-color: white;
  color: black;
  width: 800px;
  margin: 0 auto;
  padding: 36px 12px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}
h1, .authors, .venue {
  /* text-align: center; */
  text-align: left;
}
.authors {
  margin-top: 1.5em;
  margin-bottom: 2.5em;
}
.venue {
  font-style: italic;
  font-weight: normal;
}
.teaser {
  font-style: italic;
  font-size: 0.9em;
  width: 95%;
  margin: 2em auto;
}
.teaser img {
  max-width: 100%;
  margin-bottom: .8em;
}
/* 16:9 video */
.hdvideo {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}
.hdvideo iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
h1 {
  font-size: 1.5em;
  line-height: 1.25em;
  margin-top: 1.4em;
  margin-bottom: 1em;
}
h1:first-child {
  margin-top: 0.4em;
}
h2 {
  font-size: 1.15em;
  margin-top: 1.4em;
  margin-bottom: 0.7em;
}
h3 {
  font-size: 1em;
  margin-top: 1.4em;
  margin-bottom: 0.7em;
}
p, ul {
  margin-top: 0.3em;
  margin-bottom: 0.7em;
}
ul {
  padding-left: 2em;
}
/*
a {
  text-decoration: underline; color: black;
}
a:hover {
  text-decoration: underline; color: gray;
}
*/
/* wrap long lines */
pre {
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
  text-align: left;
}
pre {
  border-left: 5px solid #eee;
  padding-left: 5;
}
sup {
  font-size: .7em;
  font-weight: normal;
  margin-left: .1em;
  margin-right: .1em;
}

@media only screen and (max-device-width: 480px) {
  html { background-color: white; }
  body { width: 97%; box-shadow: none; }
  body {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust:    100%;
    -ms-text-size-adjust:     100%;
  }
  body { font-size: 1.25em; font-size: 2.1vw; line-height: 1.6em; line-height: 2.7vw; }
}

@media print {
  html { background-color: white; }
  body { width: 97%; box-shadow: none; }
  /* teaser caption in light italic font gets broken when printed */
  .teaser { font-style: normal; }
}
