html {
  font-family: -apple-system, Helvetica, arial, sans-serif;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.5em;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
}
body .content {
  margin-bottom: 120px;
}
a {
  color: rgba(0, 0, 0, 0.8);
}
a:hover {
  text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: -apple-system, Helvetica, arial, sans-serif;
}
h1 {
  line-height: 1.2em;
}
#landing {
  max-width: 700px;
  margin: 119px auto;
}
#landing ul#links {
  list-style-type: none;
  padding-left: 0;
  margin: 0 0 20px 0;
}
#landing ul#links li {
  font-family: -apple-system, helvetica, arial, sans-serif;
  margin-right: 25px;
  padding-bottom: 5px;
}
#landing ul#links li a:hover {
  text-decoration: none;
}
#landing ul#links li#contact {
  font-family: courier;
  margin: 0;
  padding-top: 5px;
}
#landing .section ul {
  padding-left: 15px;
}
.nav,
#papers {
  max-width: 700px;
  margin: 0 auto 100px auto;
}
#papers {
  margin-top: 83px;
  line-height: 1.5em;
}
#papers h1 {
  margin-top: 0;
  margin-bottom: 40px;
}
#papers .paper-row {
  margin-bottom: 30px;
}
#papers .paper-title,
#papers .paper-authors,
#papers .paper-venue,
#papers .paper-links {
  margin: 0;
}
#papers .pub-links {
  list-style-type: none;
  padding-left: 0;
  margin-top: 0;
}
#papers .pub-links li {
  display: inline;
  padding-right: 10px;
}
.nav {
  margin-top: 15px;
  margin-bottom: 15px;
  line-height: 24px; /* Matches blog nav line-height. */
}
.nav a {
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  border-bottom: none;
  font-size: 12px;
}
.nav a:hover {
  font-weight: bold;
}
.nav ul {
  list-style-type: none;
  padding: 0;
}
.nav ul li {
  display: inline;
  margin-right: 10px;
  line-height: 1.5em;
}

.wrap {
  max-width: 700px;
  margin: 0 auto;
}

#blog {
  margin-top: 80px;
  margin-bottom: 100px;
}

#blog .post-date {
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.7);
  font-size: 12px;
  font-weight: bold;
  margin-top: 4px;
  margin-bottom: 4px;
}

#blog .post-title {
  display: inline-block;
  font-weight: bold;
  margin-bottom: 0;
}
#blog .post-title a {
  font-size: 18px;
  text-decoration: none;
}

#blog .post-title a:hover {
  text-decoration: underline;
}

#blog .post-subtitle {
  font-size: 14px;
  margin-top: 0;
  margin-bottom: 25px;
  line-height: 1.5em;
}

.front-matter {
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.front-matter h4 {
  font-family: -apple-system, Helvetica, arial, sans-serif;
}
.front-matter .bylines .byline {
  margin-right: 20px;
  float: left;
}
.front-matter .bylines .byline h3,
.front-matter .bylines .byline p {
  margin: 0;
  font-family: -apple-system, Helvetica, arial, sans-serif;
}
.front-matter .bylines .byline h3 {
  font-size: 9px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
}
.front-matter .bylines .byline p {
  font-size: 10px;
  line-height: 1.6em;
}

.clear {
  clear: both;
}

hr {
  border-top: #ccc;
}
@media screen and (max-width: 700px) {
  body {
    margin: 0 7px;
  }
}

.div-copy {
  position: absolute;
  top: 0;
  right: 0;
}

.div-copy .icon-copy {
  opacity: 0;
  transition: opacity .3s;
  height: 18px;
  width: 18px;
  cursor: pointer;
  padding: 5px;
}

.div-copy.active .icon-copy {
  opacity: 1;
}

.div-copy .tooltip-copy {
  position: relative;
}

.div-copy .tooltip-copy::before {
  content: "Copied";
  position: absolute;
  
  /* vertically center */
  top: 50%;
  transform: translateY(-50%);
  
  /* move to right */
  right: 100%;
  margin-right: 5px; /* and add a small left margin */
  
  /* basic styles */
  padding: 2px 7px;
  border-radius: 5px;
  background: #444;
  color: #fff;
  text-align: center;

  opacity: 0; /* hide by default */
  transition: opacity .3s;
}

.div-copy.click .tooltip-copy::before {
  opacity: 1;
}

.div-copy .tooltip-copy::after {
  content: "";
  position: absolute;
  
  /* position tooltip correctly */
  right: 100%;
  margin-right: -5px;
 
  /* vertically center */
  top: 50%;
  transform: translateY(-50%);
  
  opacity: 0;
  transition: opacity .3s;
}

.div-copy.click .tooltip-copy::after {
  opacity: 1;
}

pre {
  position: relative;
}

.hljs-ln td.hljs-ln-numbers { padding-right: 8px; }

code:not([class]) {
  padding: 0.2em 0.4em;
  margin: 0;
  font-size: 90%;
  background-color: rgba(27,31,35,0.05);
  border-radius: 3px;
}

#back-button {
  height: 18px;
  width: auto;
  display: flex;
  align-items: center;
  flex-direction: row;
  text-decoration: none;
  border-bottom: none;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

#back-button a {
  text-decoration: none;
  border-bottom: none;
  display: flex;
  align-items: center;
}

#back-button img {
  height: 16px;
  width: 16px;
  display: block;
}

#back-button span {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  margin-left: 4px;
}

