/**
 * Mixin scrollbar
 */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after {
  content: "";
  content: none; }

q:before, q:after {
  content: "";
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

#navToggle, header .multiCheck {
  display: none; }

#navToggle:checked ~ header nav {
  left: 0; }

#navToggle:checked ~ header:not(.back) label.navToggle {
  background: white;
  color: black;
  width: 112px; }
  #navToggle:checked ~ header:not(.back) label.navToggle:after {
    content: '\2630'; }

header {
  position: fixed;
  z-index: 1;
  font-size: 0.9em;
  font-weight: 300;
  width: 100%;
  height: 60px;
  background-color: white;
  box-shadow: 0px 0.9px 0.6px rgba(221, 221, 221, 0.71); }
  header.navmenu {
    opacity: 0;
    background-color: white;
    z-index: 1;
    width: 95px;
    position: relative;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out; }
  header nav {
    position: absolute;
    background-color: white;
    left: -112px;
    width: 95px;
    box-shadow: -3.1px -20.1px 9px 20px rgba(221, 221, 221, 0.71);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out; }
  header label.navToggle {
    position: relative;
    line-height: 3.1em;
    text-align: center;
    z-index: 1;
    font-size: 1.4em;
    cursor: pointer;
    display: inline-block;
    background: white;
    color: rgba(0, 0, 0, 0.5);
    width: 42px;
    height: 2.1em;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }
    header label.navToggle:hover {
      background: white;
      color: black; }
    header label.navToggle:after {
      content: '\269E'; }
  header.back label.navToggle:after {
    content: '\25B2'; }
  header span.title {
    float: right;
    padding: 13px 14px 0 0;
    text-align: right; }
    header span.title h1 {
      font-size: 1.2em;
      font-weight: 600; }
  header ul li,
  header ul li a,
  header ul li label {
    text-align: left;
    display: inline;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }
  header ul li a,
  header ul li label,
  header .dropdown li a {
    outline: none;
    display: inline-block;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    line-height: 3.5em; }
    header ul li a:hover,
    header ul li label:hover,
    header .dropdown li a:hover {
      background: white;
      color: black; }
    header ul li a.active,
    header ul li label.active,
    header .dropdown li a.active {
      background: white;
      color: black; }
  header ul li a,
  header ul li label,
  header .multi label {
    padding-left: 1.2em; }
  header .dropdown li a {
    padding-left: 0;
    text-align: right;
    padding-right: 1.2em; }
  header .multi input:checked ~ .dropdown li {
    max-height: 100%; }
  header .multi input:checked ~ .dropdown {
    pointer-events: auto;
    opacity: 1;
    top: inherit;
    height: inherit; }
  header .multi input:checked ~ label {
    background: white; }
  header .multi input:checked ~ label:after {
    transform: rotateZ(90deg); }
  header .multi.navRight {
    display: inline-block;
    width: 95px; }
  header .multi.navRight .dropdown {
    position: absolute; }
  header .multi.navRight {
    float: right; }
  header .multi label {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
    text-align: left; }
    header .multi label:after {
      -webkit-transition: all 0.2s ease-in-out;
      -moz-transition: all 0.2s ease-in-out;
      -ms-transition: all 0.2s ease-in-out;
      -o-transition: all 0.2s ease-in-out;
      transition: all 0.2s ease-in-out;
      transform: rotateZ(0deg);
      position: absolute;
      content: '\23F5';
      right: 1em; }
  header ul li a:before,
  header .multi label:before {
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
    transform: rotateZ(0deg);
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    background-color: white;
    height: 0.04em;
    width: 100%;
    content: ''; }
  header .dropdown li a:before {
    top: 3em; }
  header ul li a,
  header ul li label,
  header .dropdown li a {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    background-color: white;
    color: rgba(0, 0, 0, 0.5);
    width: 100%; }
  header .dropdown {
    pointer-events: none;
    display: block;
    opacity: 0;
    height: 0;
    -webkit-transition: height 0.2s ease-in-out;
    -moz-transition: height 0.2s ease-in-out;
    -ms-transition: height 0.2s ease-in-out;
    -o-transition: height 0.2s ease-in-out;
    transition: height 0.2s ease-in-out; }
  header .dropdown li a {
    height: 3.5em;
    cursor: pointer; }
  header .dropdown li a {
    background: white;
    color: rgba(0, 0, 0, 0.5); }
  header .dropdown li {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -moz-transition: max-height 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -ms-transition: max-height 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -o-transition: max-height 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: max-height 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10; }
  @media only screen and (max-width: 420px) {
    header:not(.back) {
      display: none; } }
  @media only screen and (min-width: 421px) and (max-width: 739px) {
    header:not(.back) {
      display: none; } }
  @media only screen and (min-width: 741px) and (max-width: 943px) {
    header:not(.back) {
      display: none; } }

::-webkit-scrollbar {
  width: 0.5em;
  height: 0.5em; }

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.5); }

::-webkit-scrollbar-track {
  background: white; }

body {
  scrollbar-face-color: rgba(0, 0, 0, 0.5);
  scrollbar-track-color: white; }

@keyframes loading {
  0% {
    transform: rotate(0deg); }
  25% {
    transform: rotate(80deg); }
  50% {
    transform: rotate(-80deg); }
  100% {
    transform: rotate(0deg); } }

#loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  overflow: hidden;
  z-index: 6; }
  #loader .loading {
    height: inherit;
    display: flex;
    justify-content: center;
    align-items: center; }
    #loader .loading:after {
      content: '';
      background-image: url("../img/logo.png");
      height: 8em;
      width: 8em;
      animation: loading 1s 0s infinite ease-in-out; }

/* tags
 * --------------------------------------- */
hanzi .curtain {
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  position: fixed;
  z-index: 5;
  width: 100%;
  height: 100%;
  color: #f0f0f0;
  background: rgba(0, 0, 0, 0.88) none repeat scroll 0% 0%;
  top: -100%;
  left: 0px; }
  hanzi .curtain.open {
    top: 0px; }

hanzi .curtain section {
  display: flex;
  justify-content: center;
  width: 80%;
  height: 95%;
  margin: 0px auto;
  position: relative; }

hanzi .curtain section .curtain_cont {
  width: 80%;
  margin-top: 3em; }

hanzi .curtain section .curtain_close {
  top: 0.3em;
  right: 0.3em;
  position: absolute;
  color: #CCC;
  padding: 0.3em;
  font-size: 1.3em; }
  hanzi .curtain section .curtain_close:hover {
    color: #fff;
    cursor: pointer; }

hanzi .curtain section .curtain_cont input,
hanzi .curtain section .curtain_cont select {
  border: medium none;
  color: rgba(255, 255, 255, 0.9);
  background-color: #1e1e1e;
  padding: 0.3em; }

hanzi .curtain section .curtain_cont button {
  height: 1.6em;
  border: medium none;
  width: 2em;
  color: #1e1e1e;
  background-color: white;
  font-size: 1.3em;
  cursor: pointer; }

hanzi .s_fi {
  padding-top: 76px;
  max-height: 100%;
  margin: 0px auto;
  max-width: 900px;
  color: #f0f0f0;
  background-color: #1e1e1e;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start; }

hanzi .s_fi i {
  padding: 1em;
  -webkit-order: 0;
  -ms-flex-order: 0;
  order: 0;
  -webkit-flex: 0 1 auto;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  -webkit-align-self: auto;
  -ms-flex-item-align: auto;
  align-self: auto; }
  hanzi .s_fi i:hover {
    font-size: 1.5em;
    padding: 0.5em;
    cursor: pointer; }

hanzi form.search {
  margin: 0 auto;
  max-width: 900px;
  padding-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center; }

hanzi form.search input {
  background-color: #1e1e1e;
  color: rgba(255, 255, 255, 0.9);
  border: medium none;
  padding: 0.5em;
  font-size: 1.3em;
  width: 100%; }

hanzi .symbol_char {
  font-size: 19em;
  display: flex;
  justify-content: center;
  margin-top: 0.13em; }

hanzi .symbol_field {
  font-size: 0.8em;
  margin-top: 1em; }

hanzi .newMode {
  display: flex;
  justify-content: center; }

hanzi .newModeForm {
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  opacity: 0;
  display: flex; }

hanzi .useMode {
  margin-top: 1em;
  margin-left: 1em;
  font-size: 1em;
  display: inline-flex; }

hanzi .useMode ul {
  margin-left: 1em; }

hanzi .useMode ul li {
  padding: 0.7em;
  background-color: #1e1e1e;
  margin-bottom: 0.3em; }

home .header {
  padding-bottom: 1em;
  border-left: 7px solid;
  padding-left: 16px;
  padding-top: 18px; }
  home .header h1 {
    display: inline-block; }
  home .header span {
    font-style: italic; }

home a {
  color: black; }

home .content {
  padding: 112px 0;
  margin: 0 auto;
  max-width: 900px; }

home .content h1 {
  font-size: 1.5em;
  text-align: left; }

home .content p {
  font-size: 0.96em;
  line-height: 25px;
  text-align: justify;
  padding-bottom: 1em;
  padding-top: 0.5em;
  padding-left: 21px;
  padding-right: 21px; }

home .content h3 {
  font-size: 1.4em;
  text-align: left;
  padding-bottom: 1em;
  padding-top: 1em;
  border-left: 5px solid;
  padding-left: 16px;
  color: dimgray;
  font-weight: 600; }
  home .content h3 a {
    text-decoration: none; }
    home .content h3 a:before {
      border-left: 6px solid black;
      padding-left: 15px;
      content: ''; }
    home .content h3 a:hover {
      color: black; }

home .thumbs li {
  width: 100%;
  padding-top: 2.2em; }
  home .thumbs li img {
    max-width: 95%; }
  home .thumbs li img[src*=".gif"] {
    margin-left: 21px;
    max-width: 394px; }
    @media only screen and (max-width: 420px) {
      home .thumbs li img[src*=".gif"] {
        max-width: 90%; } }

/* Custom CSS
 * --------------------------------------- */
.hidden {
  display: none; }

body, html {
  width: 100%; }

body {
  font-family: sans-serif;
  color: black;
  background-color: rgba(255, 255, 255, 0.9); }

canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 0; }

#content {
  opacity: 0;
  z-index: 1;
  -webkit-transition: all 0.7s ease-in-out;
  -moz-transition: all 0.7s ease-in-out;
  -ms-transition: all 0.7s ease-in-out;
  -o-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out; }
