@charset "UTF-8";
/*
 * @Author       : BitTheme
 * @AuthorWebsite: https://www.wpbit.cn/
 * @Date         : 2021-06-24 23:09:04
 * @LastEditTime : 2021-12-17 22:43:22
 */

/* 全局 */

.iconfont {
  font-size: inherit;
  font-weight: normal;
}

.hide {
  display: none !important;
}

.show {
  display: block !important;
}

/* 代码块 */

.wp-block-bitbox-code-block {
  max-width: 100%;
  width: 100%;
}

.wp-block-bitbox-code-block code {
  white-space: pre-wrap !important;
  white-space: -moz-pre-wrap !important;
  white-space: -pre-wrap !important;
  white-space: -o-pre-wrap !important;
  word-wrap: break-word !important;
}

/* 模态框 */

.bit-modal {
  font-family: "SF Pro SC", "SF Pro Text", "SF Pro Icons", "PingFang SC", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

.bit-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(255 255 255 / 40%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  -webkit-backdrop-filter: blur(20px)saturate(1.5);
  backdrop-filter: blur(20px)saturate(1.5);
}

.bit-modal-container {
  background-color: #fff;
  padding: 30px;
  max-width: 320px;
  max-height: 100vh;
  border-radius: 20px;
  overflow-y: auto;
  box-sizing: border-box;
  text-align: center;
  -webkit-box-shadow: 0px 0px 60px 0px rgb(0 0 0 / 5%);
  box-shadow: 0px 0px 60px 0px rgb(0 0 0 / 5%);
}

.bit-modal-header {
  justify-content: space-between;
  align-items: center;
}

.bit-modal-title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: bold;
  font-size: 24px;
  line-height: 1.5;
  color: #222;
  box-sizing: border-box;
}

.bit-modal-close {
  background: transparent;
  border: 0;
}

.bit-modal-header .bit-modal-close:before {
  content: "\2715";
}

.bit-modal-content {
  margin-top: 12px;
  line-height: 1.5;
  color: #555;
  font-size: 16px;
}

.bit-modal-content p {
  margin: 0;
}

.bit-modal-content img {
  margin-top: 16px;
  margin-bottom: 16px;
  max-width: 100%;
}

@keyframes bit-modal-fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes bit-modal-fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes bit-modal-slideIn {
  from {
    transform: translateY(15%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes bit-modal-lideOut {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-10%);
  }
}

.bit-modal-slide {
  display: none;
}

.bit-modal-slide.is-open {
  display: block;
}

.bit-modal-slide[aria-hidden="false"] .bit-modal-overlay {
  animation: bit-modal-fadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.bit-modal-slide[aria-hidden="false"] .bit-modal-container {
  animation: bit-modal-slideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.bit-modal-slide[aria-hidden="true"] .bit-modal-overlay {
  animation: bit-modal-fadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.bit-modal-slide[aria-hidden="true"] .bit-modal-container {
  animation: bit-modal-lideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.bit-modal-slide .bit-modal-container, .bit-modal-slide .bit-modal-overlay {
  will-change: transform;
}

/* 通知 */

.bit-notification {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999999;
  padding: 20px 60px;
  color: #000;
  font-size: 16px;
  text-align: center;
  background-color: rgb(255 255 255 / 50%);
  visibility: hidden;
  -webkit-backdrop-filter: blur(20px) saturate(3);
  backdrop-filter: blur(20px) saturate(3);
  -o-transition: all 0.35s cubic-bezier(0.19, 1, 0.22, 1);
  transition: all 0.35s cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-transform: translateY(-175%);
  -ms-transform: translateY(-175%);
  transform: translateY(-175%);
}

.bit-notification-open .bit-notification {
  visibility: visible;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

.bit-notification.closed {
  visibility: hidden;
  -webkit-transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);
  -o-transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);
  transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-transform: translateY(-175%);
  -ms-transform: translateY(-175%);
  transform: translateY(-175%);
}

/* 搜索 */

#bit_search_results {
  display: none;
}

/* 加载动画 */

.ping {
  -webkit-animation: ping 0.8s ease-in-out infinite both;
  animation: ping 0.8s ease-in-out infinite both;
}

@-webkit-keyframes ping {
  0% {
    -webkit-transform: scale(0.2);
    transform: scale(0.2);
    opacity: 0.8;
  }

  80% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 0;
  }

  100% {
    -webkit-transform: scale(2.2);
    transform: scale(2.2);
    opacity: 0;
  }
}

@keyframes ping {
  0% {
    -webkit-transform: scale(0.2);
    transform: scale(0.2);
    opacity: 0.8;
  }

  80% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 0;
  }

  100% {
    -webkit-transform: scale(2.2);
    transform: scale(2.2);
    opacity: 0;
  }
}

.bit-loader, .bit-loader:before, .bit-loader:after {
  background: #bdbdbd;
  -webkit-animation: bit-loader 1s infinite ease-in-out;
  animation: bit-loader 1s infinite ease-in-out;
  width: 4px;
  height: 4px;
}

.bit-loader {
  display: inline-block;
  color: #bdbdbd;
  text-indent: -9999em;
  margin-left: 10px;
  position: relative;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

.bit-loader:before, .bit-loader:after {
  position: absolute;
  top: 0;
  content: '';
}

.bit-loader:before {
  left: -6px;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.bit-loader:after {
  left: 6px;
}

@-webkit-keyframes bit-loader {
  0%, 80%, 100% {
    box-shadow: 0 0;
    height: 6px;
  }

  40% {
    box-shadow: 0 -9px;
    height: 9px;
  }
}

@keyframes bit-loader {
  0%, 80%, 100% {
    box-shadow: 0 0;
    height: 6px;
  }

  40% {
    box-shadow: 0 -9px;
    height: 9px;
  }
}

/* GIF播放暂停 */

ins.play-gif {
  position: absolute;
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  background: rgb(0 0 0 / 30%);
  font-size: 18px;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(20px)saturate(1.5);
}

ins.play-gif i {
  font-size: 30px;
}

ins.play-gif:hover {}

.gifplayer-wrapper {
  position: relative;
  display: inline-block;
}

.spinner {
  height: 50px;
  width: 50px;
  margin: 0px auto;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -25px;
  margin-left: -25px;
  -webkit-animation: rotation .6s infinite linear;
  -moz-animation: rotation .6s infinite linear;
  -o-animation: rotation .6s infinite linear;
  animation: rotation .6s infinite linear;
  border-left: 6px solid rgba(256, 256, 256, .15);
  border-right: 6px solid rgba(256, 256, 256, .15);
  border-bottom: 6px solid rgba(256, 256, 256, .15);
  border-top: 6px solid rgba(256, 256, 256, .8);
  border-radius: 100%;
}

@-webkit-keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(359deg);
  }
}

@-moz-keyframes rotation {
  from {
    -moz-transform: rotate(0deg);
  }

  to {
    -moz-transform: rotate(359deg);
  }
}

@-o-keyframes rotation {
  from {
    -o-transform: rotate(0deg);
  }

  to {
    -o-transform: rotate(359deg);
  }
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(359deg);
  }
}

/* 点赞 */

.bit_like_wp {
  text-decoration: none;
}

/* medium-zoom */

.medium-zoom-overlay {
  -webkit-backdrop-filter: blur(20px)saturate(1.5);
  backdrop-filter: blur(20px)saturate(1.5);
}

.medium-zoom-image--opened {
  object-fit: contain;
}