a {
  color: #3446d8;
}
html {
  background-color: #ededed;
}
html,
body {
  padding: 0;
  margin: 0;
}
body {
  margin: 0 auto;
  padding: 1em;
  width: 90vw;
  min-height: 100vh;
}
.global {
  margin: -1em -5vw 0 -5vw;
  padding: 2em;
  background-color: #fff;
  border-bottom: 4px solid #245673;
  border-top: 4px solid #245673;
}
.global > a {
  font-size: 1.7em;
  text-decoration: none;
  color: inherit;
}
.global blockquote {
  margin: 0;
  padding: 0;
}
.global blockquote * {
  display: inline;
  margin: 0;
  padding: 0;
}
.global blockquote cite:before {
  content: "――";
}
.global blockquote cite {
  display: block;
  font-style: normal;
}
.global .nav {
  position: relative;
  bottom: -2em;
  margin: auto -2em;
  padding: 0 1em;
}
.global .nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.global .nav ul li {
  list-style: none;
  margin: 0;
  padding: 0 1em;
  display: inline-block;
}
.global .nav ul li a {
  display: block;
}
.global .nav ul li a:hover {
  background-color: #e0e0e0;
}
.pagination {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pagination li {
  display: inline;
  padding: 0 1ex;
}
.pagination li.active a {
  color: #000;
  text-decoration: none;
}
.category__list {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home .home__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.article {
  background-color: #fcfcfc;
  border: 2px solid #e9e9e9;
  margin: 0;
  padding: 16px;
  padding-bottom: 64px;
}
.article .article__toc {
  background-color: #f6f6f6;
  padding: 1em;
  margin: 1ex 0;
}
.article .article__toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.article .article__toc ul li {
  padding: 4px 0;
}
.article .article__toc ul ul {
  padding-left: 1em;
}
.article .article__header {
  margin-left: -16px;
  margin-top: -16px;
  margin-right: -16px;
}
.article .article__header .article__title {
  margin: 0;
  border-left: 8px solid #505050;
  padding: 4px;
  font-size: 1.4em;
  padding-left: 8px;
  background-color: #f9f9f9;
}
.article .article__header .article__title a {
  text-decoration: none;
  color: inherit;
}
.article .article__header .article__header__meta {
  border-left: 8px solid #d0d0d0;
  padding-left: 8px;
  background-color: #fcfcfc;
}
.article .article__header .article__header__meta .article__header__category {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.article .article__header .article__header__meta .article__header__item {
  display: inline-block;
  padding: 3px;
}
.article .article__header .article__header__meta .article__header__item .fa {
  padding-right: 3px;
  margin-left: -2px;
}
.article .article__header .article__header__meta .article__header__item a {
  text-decoration: none;
  display: inline-block;
}
.article .article__footer__prevnext {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.article .article__footer__prevnext > a {
  display: block;
  max-width: 45%;
}
.article__content h1 {
  font-size: 140%;
  margin-left: -8px;
}
.article__content h2 {
  font-size: 120%;
}
.article__content h3 {
  font-size: 110%;
}
.article__content p {
  line-height: 1.8;
}
.article__content img {
  max-width: 100%;
}
.article__content hr {
  height: 1px;
  border: none;
  background-color: #d0d0d0;
  color: #d0d0d0;
}
.article__content table {
  margin: 0 0 2em 0;
  width: 100%;
}
.article__content table tbody tr {
  border: solid 1px rgba(160,160,160,0.3);
  border-left: 0;
  border-right: 0;
}
.article__content table tbody tr:nth-child(2n + 1) {
  background-color: rgba(160,160,160,0.075);
}
.article__content table tr:hover {
  background-color: #e9e581 !important;
}
.article__content table td {
  padding: 0.75em 0.75em;
}
.article__content table th {
  color: #3c3b3b;
  font-size: 0.9em;
  font-weight: 700;
  padding: 0 0.75em 0.75em 0.75em;
  text-align: left;
}
.article__content table thead {
  border-bottom: solid 2px rgba(160,160,160,0.3);
}
.article__content table tfoot {
  border-top: solid 2px rgba(160,160,160,0.3);
}
.article__content table.alt {
  border-collapse: separate;
}
.article__content table.alt tbody tr td {
  border: solid 1px rgba(160,160,160,0.3);
  border-left-width: 0;
  border-top-width: 0;
}
.article__content table.alt tbody tr td:first-child {
  border-left-width: 1px;
}
.article__content table.alt tbody tr:first-child td {
  border-top-width: 1px;
}
.article__content table.alt thead {
  border-bottom: 0;
}
.article__content table.alt tfoot {
  border-top: 0;
}
.article__content blockquote {
  margin-left: 0;
  margin-right: 0;
  display: table;
  width: 100%;
  position: relative;
  padding: 24px 1ex;
  border-left: 6px solid #e0e0e0;
  background-color: #f6f6f6;
  box-sizing: border-box;
}
.article__content blockquote a:last-child {
  display: block;
  text-align: right;
  border-top: 1px solid #e0e0e0;
  padding-top: 6px;
  margin-top: 6px;
}
.article__content blockquote p {
  padding: 0 1ex;
}
.article__content blockquote:before,
.article__content blockquote:after {
  font-family: 'Georgia', 'Times', 'Times New Roman', serif;
  font-size: 48px;
  height: 48px;
  position: absolute;
  color: #888;
}
.article__content blockquote:before {
  content: '\0201C';
  top: 0;
  left: 6px;
}
.article__content blockquote:after {
  bottom: -24px;
  right: 0;
  content: '\0201D';
}
.search__form {
  padding: 1em 0;
}
.search__result__loading {
  display: table-cell;
}
.search__result__loading > * {
  vertical-align: middle;
}
.search__result__article span {
  display: block;
}
.search__result__article strong {
  background-color: #ffa;
  padding: 0 3px;
}
.search__result__article strong:empty {
  display: none;
}
@media only screen and (min-width: 0px) and (max-width: 480px) {
  .article {
    margin: 0 -1.5em;
  }
}
@media only screen and (min-width: 481px) {
  .main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-top: 2em;
  }
  .main > section:first-child {
    margin-right: auto;
    width: 60em;
    max-width: 67%;
  }
  .main .sidebar {
    width: 30%;
  }
  .sidebar section {
    background-color: #f9f9f9;
    border: 1px solid #e9e9e9;
    padding: 1ex;
    margin: 0 0 1em 0;
  }
  .sidebar section ul {
    margin-left: 1.5em;
    padding: 0;
  }
  .sidebar section ul li {
    padding: 0.4ex 0;
  }
  .sidebar section h1 {
    font-size: 1.2em;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid #245673;
    padding-bottom: 1ex;
    margin-bottom: 1ex;
  }
}
