table#tlayout {
  border: none;
  border-collapse: separate;
  background: white;
}

img {
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
}

html {
  background-color: #eeeeee;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: -apple-system, "SF Pro Text", "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #000;
  background-color: #ffffff;
  text-align: left;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 10px;
  padding-bottom: 30px;
  max-width: 960px;
  min-width: 780px;
}

#layout-menu {
  background: #f6f6f6;
  border: 1px solid #dddddd;
  padding-top: 8px;
  padding-left: 8px;
  padding-right: 8px;
  font-size: 16px;
  width: auto;
  white-space: nowrap;
  text-align: left;
  vertical-align: top;
}

#layout-menu td {
  background: #f4f4f4;
  vertical-align: top;
}

#layout-content {
  padding-top: 0px;
  padding-left: 16px;
  padding-right: 16px;
  border: none;
  background: white;
  text-align: left;
  vertical-align: top;
}

#layout-menu a {
  line-height: 24px;
  margin-left: 8px;
}

tt {
  background: #ffffdd;
}

pre,
tt {
  font-size: 90%;
  font-family: monaco, monospace;
}

a,
a > tt {
  color: #0969da;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #393cd5;
  text-decoration: none;
  border-bottom: none;
}

#layout-menu a.current:link,
#layout-menu a.current:visited {
  color: #022b6d;
  border-bottom: 1px gray solid;
}

#layout-menu a:link,
#layout-menu a:visited,
#layout-menu a:hover {
  color: #527bbd;
  text-decoration: none;
}

#layout-menu a:hover {
  text-decoration: none;
}

div.menu-category {
  border-bottom: 1px solid gray;
  margin-top: 13px;
  padding-top: 3px;
  padding-bottom: 2px;
  font-weight: bold;
}

div.menu-item {
  padding-left: 16px;
  text-indent: -16px;
}

div#toptitle {
  padding-bottom: 3px;
  margin-bottom: 20px;
}

div#toptitle + h2,
div#toptitle + h3 {
  margin-top: 0px;
}

div#subtitle {
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
  padding-bottom: 2px;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

h1,
h2,
h3 {
  color: #054095;
  margin-top: 11px;
  margin-bottom: 8px;
  padding-bottom: 3px;
  line-height: 1;
  padding-top: 8px;
  border-bottom: 1px solid #aaaaaa;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 20px;
}

h2 + h3 {
  padding-top: 3px;
}

h3 {
  font-size: 18px;
  border-bottom: none;
}

p {
  margin-top: 0;
  margin-bottom: 12px;
  padding: 0;
  line-height: 20px;
}

pre {
  padding: 0;
  margin: 0;
}

div#footer {
  font-size: small;
  border-top: 1px solid #c0c0c0;
  padding-top: 2px;
  margin-top: 64px;
  color: #c0c0c0;
}

div#footer a {
  color: #80a0b0;
}

div#footer-text {
  float: left;
  padding-bottom: 8px;
}

ul,
ol,
dl {
  margin-top: 3px;
  padding-top: 0;
  margin-bottom: 13px;
}

dt {
  margin-top: 8px;
  margin-bottom: 0;
}

dl {
  margin-left: 20px;
}

dd {
  color: #222222;
}

dd > *:first-child {
  margin-top: 0;
}

ul {
  list-style-position: outside;
  list-style-type: square;
}

p + ul,
p + ol {
  margin-top: -8px;
}

ol {
  list-style-position: outside;
  list-style-type: decimal;
}

li p,
dd p {
  margin-bottom: 5px;
}

ol ol {
  list-style-type: lower-alpha;
}

ol ol ol {
  list-style-type: lower-roman;
}

p + div.codeblock {
  margin-top: -10px;
}

div.codeblock,
div.infoblock {
  margin-right: 0%;
  margin-top: 19px;
  margin-bottom: 21px;
}

div.blocktitle {
  font-weight: bold;
  color: #cd7b62;
  margin-top: 19px;
  margin-bottom: 2px;
}

div.blockcontent {
  border: 1px solid silver;
  padding: 5px 8px;
}

div.infoblock > div.blockcontent {
  background: #ffffee;
}

div.blockcontent p + ul,
div.blockcontent p + ol {
  margin-top: 6px;
}

div.infoblock p {
  margin-bottom: 0px;
}

div.infoblock li p,
div.infoblock dd p {
  margin-bottom: 8px;
}

div.infoblock p + p {
  margin-top: 13px;
}

div.codeblock > div.blockcontent {
  background: #f6f6f6;
}

span.pycommand {
  color: #000070;
}

span.statement {
  color: #008800;
}

span.builtin {
  color: #000088;
}

span.special {
  color: #990000;
}

span.operator {
  color: #880000;
}

span.error {
  color: #aa0000;
}

span.comment,
span.comment > *,
span.string,
span.string > * {
  color: #606060;
}

@media print {
  #layout-menu {
    display: none;
  }
}

#fwtitle {
  margin: 2px;
}

#fwtitle #toptitle {
  padding-left: 8px;
  margin-bottom: 8px;
}

#layout-content h1:first-child,
#layout-content h2:first-child,
#layout-content h3:first-child {
  margin-top: -11px;
}

div#toptitle h1,
#layout-content div#toptitle h1 {
  margin-bottom: 0px;
  padding-bottom: 2px;
  padding-top: 0px;
  margin-top: 8px;
  border-bottom: none;
}

img.eq {
  padding: 0;
  padding-left: 2px;
  padding-right: 2px;
  margin: 0;
}

img.eqwl {
  padding-left: 32px;
  padding-top: 10px;
  padding-bottom: 3px;
  margin: 0;
}

table + table {
  margin-top: 16px;
}

tr.heading {
  font-weight: bold;
  border-bottom: 2px solid black;
}

img {
  border: none;
}

table.imgtable,
table.imgtable td {
  border: none;
  text-align: left;
}

table {
  border-collapse: collapse;
}

.smaller-image {
  width: 20%;
}

.container {
  position: relative;
  display: inline-block;
}

.image {
  display: block;
  border-radius: 10px;
  max-width: 100%;
}

.video-label {
  position: absolute;
  top: 5px;
  left: 5px;
  background-color: #ea3323;
  color: white;
  padding: 0px 10px;
  border-radius: 3px;
  font-weight: bold;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  width: 40px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: small;
}

.research-hightlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.arxiv-label {
  position: absolute;
  top: 10px;
  left: -5px;
  background-color: #a624a6;
  color: white;
  padding: 0px 10px;
  border-radius: 3px;
  font-weight: bold;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  width: 40px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: x-small;
}

.scroll-wrapper {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.scroll-content {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 40s linear infinite;
}

.scroll-content img,
.scroll-content .container {
  display: inline-block;
  vertical-align: top;
  margin-right: 0px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.scroll-wrapper:hover .scroll-content {
  animation-play-state: paused;
}

@keyframes octocat-wave {
  0%, 100% {
    transform: rotate(0);
  }
  20%, 60% {
    transform: rotate(-25deg);
  }
  40%, 80% {
    transform: rotate(10deg);
  }
}

.poem-block {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-style: italic;
}

.poem-line {
  display: flex;
  justify-content: flex-start;
  gap: 32px;
  margin: 2px 0;
  width: fit-content;
}

.poem-line span {
  text-align: left;
}

.poem-line span:first-child {
  min-width: 140px;
}

.poem-line span:last-child {
  min-width: 360px;
}

.reflection {
  margin-top: 10px;
  color: #555;
  font-style: italic;
  max-width: 100%;
}
