/**
 * Fix ‘jumping scrollbar’ issue using only CSS
 */
/*
html {
  overflow-y: scroll;
}

:root {
  overflow-y: auto;
  overflow-x: hidden;
}

:root body {
  position: absolute;
}

body {
  width: 100vw;
  overflow: hidden;
}
*/

/*
 * body
 * f5f5f5
 * e2e2e2
 */
body {
  background-color: #e9ebec;
}
/* webkit, opera, IE9 */
::selection {
  background: rgba(255,183,77,.7);
}
/* mozilla firefox */
::-moz-selection {
  background: rgba(255,183,77,.7); 
}
.material-icons {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

kbd {
  font-family: Consolas,monospace;
  color: #555;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 #bbb;
  border: 1px solid #ccc;
  border-bottom-color: #bbb;
  cursor: default;
  width: 1.5em;
  height: 1.7em;
  font-size: .8em;
  padding: 0px 5px 2px 5px;
}

/**
 * header
 */
.header {
  padding-top: 50px;
}

.no-margin {
  margin: 0px !important;
}

.menu-item {
  text-align: center;
  margin-top: 9px;
  width: 80px;
  display: inline-block;
}

.menu-item a {
  width: 90%;
}

.menu-item .material-icons {
  float:  left;
  padding-top: 2px;
}

/**
 * sticky-footer wrapper
 */
.wrapper {
    min-height: 100%;
    margin-bottom: -50px; 
}

.wrapper::after {
    content: "";
    display: block;
    height: 50px;
}

/**
 * footer
 */
.footer-line {
  display: block;
  overflow: hidden;
  height: 50px;
  line-height: 50px;
  /*color: rgba(255, 255, 255, 0.8);*/
  background-color: rgba(51, 51, 51, 0.08);
  top: 0px;
}

.footer-line a {
  color: #757575;
}

/**
 * post
 */
.post {
  margin-top: 50px !important;
}

.post-item {
  margin-bottom: 20px;
}

.read-more {
  height: 24px;
  line-height: 24px;
}

.post-item {
  color: #999;
}

.post-item a {
  color: #999;
}

.post-item a:hover {
  color: #777;
}

.meta-separator {
  margin: 5px;
  color: #999;
}

.tags-list {
  display: inline;
  line-height: 24px;
}

.tags-list-item {
  list-style:none;
  display: inline;
}

.tag-link {
  display: inline-block;
  height: 24px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
  line-height: 24px;
  padding: 0 12px;
  border-radius: 16px;
  background-color: #e4e4e4;
  margin-right: 5px;
}

.tags-list-item a {
  font-size: 12px;
  text-decoration:none;
  color:#adadad
}

.card-comment {
  position: relative;
  background-color: inherit;
  border-top: 1px solid rgba(160,160,160,0.2);
  padding: 20px;
}

.card-content code {
  color: #ffa000;
  padding: 2px 5px;
  margin: 0 2px;
  border-radius: 2px;
  white-space: nowrap;
  font-size: 13px;
  background: #f9f9fa;
}

.card-content img {
  /*cursor: pointer;*/
  max-width: 100%;
}



/**
 * post toc
 */

.post-toc {
  position: fixed;
  right: 10px;
  top: 155px;
  width: 100%;
  display: none;
}

.toc {
  padding-left: 0px;
}

.toc-child{
  padding-left: 20px;
}

.toc-item {
  list-style-type: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-toc .card {
  margin: 0px;
}

.post-toc-fixed {
}

#btn-list-close i {
  font-size: 15px ;
  cursor: pointer;
}
/**
 * pagination
 */

.page-number {
  color:#444;
  padding:0 7px;
  text-align: center;
  margin:0 auto;
  height: 37px;
  line-height: 37px;
  font-size: 16px;
}

.block-pagination {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 30px;
}

.block-pagination .prev {
  float: left;
}

.block-pagination .next {
  float: right;
}

.block-pagination .current {
  color:#fff;
  background-color: #9e9e9e;
  border-radius: 2px;
}

.extend {
  display: inline-block;
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 37px;
  height: 37px;
  line-height: 37px;
  padding: 0;
  background-color: #9e9e9e;
  border-radius: 50%;
  transition: .3s;
  cursor: pointer;
  vertical-align: middle;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.extend i {
  width: inherit;
  display: inline-block;
  text-align: center;
  color: #fff;
  font-size: 1.6rem;
  line-height: 37px;
}

.extend:hover {
  background-color: #9e9e9e;
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

.extend:before {
  border-radius: 0;
}


/**
 * archive
 */
.archive {
  font-size: 17px;
}

.archive-time {
  display: inline-block;
  margin-left: 5px;
}

.archive-link {
  display: inline;
  margin-left: 15px;
  padding-left: 5px;
  border-left: 3px solid #039be5;

  transition: margin-left 0.5s;
  -moz-transition: margin-left 0.5s;  /* Firefox 4 */
  -webkit-transition: margin-left 0.5s; /* Safari 和 Chrome */
  -o-transition: margin-left 0.5s;  /* Opera */
}

.archive-link:hover {
  margin-left: 30px;
}

/**
 * keybinding-panel style
 */
#modal-keybinding-panel {
  width: 400px;
}

#modal-keybinding-panel dl dt {
  float: left;
  text-align: right;
  font-weight: bold;
  margin-right: 10px;
  margin-top: -2px;
  padding: 5px;
  width: 100px;
}

#modal-keybinding-panel dl dd {
  margin:2px 0;
  padding:5px 0;
}

/**
 * herat beat animation
 */
@-webkit-keyframes heartb {
    0% {
        -webkit-transform:scale(1)
    }
    50% {
        -webkit-transform:scale(.8)
    }
    to {
        -webkit-transform:scale(1)
    }
}
@keyframes heartb {
    0% {
        -webkit-transform:scale(1);
        transform:scale(1)
    }
    50% {
        -webkit-transform:scale(.8);
        transform:scale(.8)
    }
    to {
        -webkit-transform:scale(1);
        transform:scale(1)
    }
}
.heart-beat {
    font-size: 13px;
    color: #E94F06;
    -webkit-animation:heartb 1.33s ease-in-out infinite;
    animation:heartb 1.33s ease-in-out infinite
}

/**
 * live2d
 */
.live2d {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1;
  font-size: 0;
}

.live2d-tips {
  opacity: 0;
  width: 300px;
  height: 70px;
  margin: 60px 30px;
  padding: 5px 10px;
  border: 1px solid rgba(224, 186, 140, 0.62);
  border-radius: 4px;
  background-color: rgba(236, 217, 188, 0.5);
  box-shadow: 0 3px 15px 2px rgba(191, 158, 118, 0.2);
  font-size: 14px;
  text-overflow: ellipsis;
  overflow: hidden;
  position: absolute;
  animation-delay: 5s;
  animation-duration: 50s;
  animation-iteration-count: infinite;
  animation-name: shake;
  animation-timing-function: ease-in-out;
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none;
}

@keyframes shake {
  2% {
      transform: translate(0.5px, -1.5px) rotate(-0.5deg);
  }

  4% {
      transform: translate(0.5px, 1.5px) rotate(1.5deg);
  }

  6% {
      transform: translate(1.5px, 1.5px) rotate(1.5deg);
  }

  8% {
      transform: translate(2.5px, 1.5px) rotate(0.5deg);
  }

  10% {
      transform: translate(0.5px, 2.5px) rotate(0.5deg);
  }

  12% {
      transform: translate(1.5px, 1.5px) rotate(0.5deg);
  }

  14% {
      transform: translate(0.5px, 0.5px) rotate(0.5deg);
  }

  16% {
      transform: translate(-1.5px, -0.5px) rotate(1.5deg);
  }

  18% {
      transform: translate(0.5px, 0.5px) rotate(1.5deg);
  }

  20% {
      transform: translate(2.5px, 2.5px) rotate(1.5deg);
  }

  22% {
      transform: translate(0.5px, -1.5px) rotate(1.5deg);
  }

  24% {
      transform: translate(-1.5px, 1.5px) rotate(-0.5deg);
  }

  26% {
      transform: translate(1.5px, 0.5px) rotate(1.5deg);
  }

  28% {
      transform: translate(-0.5px, -0.5px) rotate(-0.5deg);
  }

  30% {
      transform: translate(1.5px, -0.5px) rotate(-0.5deg);
  }

  32% {
      transform: translate(2.5px, -1.5px) rotate(1.5deg);
  }

  34% {
      transform: translate(2.5px, 2.5px) rotate(-0.5deg);
  }

  36% {
      transform: translate(0.5px, -1.5px) rotate(0.5deg);
  }

  38% {
      transform: translate(2.5px, -0.5px) rotate(-0.5deg);
  }

  40% {
      transform: translate(-0.5px, 2.5px) rotate(0.5deg);
  }

  42% {
      transform: translate(-1.5px, 2.5px) rotate(0.5deg);
  }

  44% {
      transform: translate(-1.5px, 1.5px) rotate(0.5deg);
  }

  46% {
      transform: translate(1.5px, -0.5px) rotate(-0.5deg);
  }

  48% {
      transform: translate(2.5px, -0.5px) rotate(0.5deg);
  }

  50% {
      transform: translate(-1.5px, 1.5px) rotate(0.5deg);
  }

  52% {
      transform: translate(-0.5px, 1.5px) rotate(0.5deg);
  }

  54% {
      transform: translate(-1.5px, 1.5px) rotate(0.5deg);
  }

  56% {
      transform: translate(0.5px, 2.5px) rotate(1.5deg);
  }

  58% {
      transform: translate(2.5px, 2.5px) rotate(0.5deg);
  }

  60% {
      transform: translate(2.5px, -1.5px) rotate(1.5deg);
  }

  62% {
      transform: translate(-1.5px, 0.5px) rotate(1.5deg);
  }

  64% {
      transform: translate(-1.5px, 1.5px) rotate(1.5deg);
  }

  66% {
      transform: translate(0.5px, 2.5px) rotate(1.5deg);
  }

  68% {
      transform: translate(2.5px, -1.5px) rotate(1.5deg);
  }

  70% {
      transform: translate(2.5px, 2.5px) rotate(0.5deg);
  }

  72% {
      transform: translate(-0.5px, -1.5px) rotate(1.5deg);
  }

  74% {
      transform: translate(-1.5px, 2.5px) rotate(1.5deg);
  }

  76% {
      transform: translate(-1.5px, 2.5px) rotate(1.5deg);
  }

  78% {
      transform: translate(-1.5px, 2.5px) rotate(0.5deg);
  }

  80% {
      transform: translate(-1.5px, 0.5px) rotate(-0.5deg);
  }

  82% {
      transform: translate(-1.5px, 0.5px) rotate(-0.5deg);
  }

  84% {
      transform: translate(-0.5px, 0.5px) rotate(1.5deg);
  }

  86% {
      transform: translate(2.5px, 1.5px) rotate(0.5deg);
  }

  88% {
      transform: translate(-1.5px, 0.5px) rotate(1.5deg);
  }

  90% {
      transform: translate(-1.5px, -0.5px) rotate(-0.5deg);
  }

  92% {
      transform: translate(-1.5px, -1.5px) rotate(1.5deg);
  }

  94% {
      transform: translate(0.5px, 0.5px) rotate(-0.5deg);
  }

  96% {
      transform: translate(2.5px, -0.5px) rotate(-0.5deg);
  }

  98% {
      transform: translate(-1.5px, -1.5px) rotate(-0.5deg);
  }

  0%, 100% {
      transform: translate(0, 0) rotate(0);
  }
}