/*
 * @Author       : BitTheme
 * @AuthorWebsite: https://www.wpbit.cn/
 * @Date         : 2021-06-24 23:09:04
 * @LastEditTime : 2021-09-29 22:39:35
 */

/* 全局 */

.iconfont {
  font-size: inherit;
  font-weight: normal;
}

.hide {
  display: none!important;
}

.show {
  display: block!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: rgba(120, 129, 147, 0.22);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  -webkit-backdrop-filter: blur(1.25rem);
  backdrop-filter: blur(1.25rem);
}

.bit-modal-container {
  background-color: #fff;
  padding: 1.85rem;
  max-width: 31.25rem;
  max-height: 100vh;
  border-radius: 0.75rem;
  overflow-y: auto;
  box-sizing: border-box;
  text-align: center;
}

.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: 0.5rem;
  line-height: 1.5;
  color: #555;
  font-size: 16px;
}

.bit-modal-content img {
  margin-top: 1rem;
  margin-bottom: 1rem;
  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-tip {
  z-index: 999999;
  left: 50%;
  margin-left: -20rem;
  max-width: 40rem;
  position: fixed;
  text-align: center;
  top: 0;
  width: 58%;
}

.bit-tip-message {
  background: rgb(0 0 0 / 30%);
  border-bottom-left-radius: 0.35rem;
  border-bottom-right-radius: 0.35rem;
  display: inline-block;
  font-size: 0.85rem;
  padding: 0.75rem 1.5625rem;
  box-shadow: 0 0.3125rem 1.25rem -0.0625rem rgb(225 225 225 / 20%);
  -webkit-backdrop-filter: blur(0.625rem);
  backdrop-filter: blur(0.625rem);
  color: #fff;
  margin: 0;
}

@media (max-width: 600px) {
  .bit-tip {
    margin-left: 5%;
    width: 90%;
    left: 0;
  }
}

/* 通知 */

.bit-notification {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  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;
  }
}