/* 顶部导航 */
#wrapper > header > div.container > div.toolbox > button{
  background: none;
  border: none;
}
div.logo {
  text-align: center;
}

/* 背景图片 */
/*
#wrapper{
  background: url(/wp-content/uploads/2018/12/bl.png) no-repeat fixed bottom left,
              url(/wp-content/uploads/2018/12/tr.png) no-repeat fixed top right,#f0f2f7;
}
*/
/* 一级导航样式 */
.header.desktop .topNav ul.menu>li{
  font-weight: bold;
}
/* 侧边栏 标题样式 */
.sidebar-title{
  color: #2b6086cf;
  font-weight: bold;
}
/* ---------------------------------------------------------------------------------- */
/* 侧边栏 头像样式 */
.sidebar-blogger .head{
  cursor: pointer;
  box-shadow: 1px 1px 3px 1px #00000075;
}
.sidebar-blogger .head:hover{
  transform:           rotate(360deg);
  -ms-transform:       rotate(360deg);		/* IE 9 */
  -webkit-transform:   rotate(360deg);		/* Safari and Chrome */
  -o-transform:	       rotate(360deg);		/* Opera */
  -moz-transform:      rotate(360deg);		/* Firefox */
}
.sidebar-blogger .head{
  transition:           transform           0.5s;
  -moz-transition:      -moz-transform      0.5s;		/* Firefox 4 */
  -webkit-transition:   -webkit-transform   0.5s;	    /* Safari 和 Chrome */
  -o-transition:        -o-transform        0.5s;		/* Opera */
}
/* ---------------------------------------------------------------------------------- */
/* 正文图像样式 */
div.content article img,
#sb-content img{
  box-sizing: content-box;
  -moz-box-sizing: content-box; /* Firefox */
  -webkit-box-sizing: content-box; /* Safari */
  border: 5px solid #fafafa;
  box-shadow: 1px 1px 3px 1px #33333357;
}
/* ---------------------------------------------------------------------------------- */
/* 正文数学公式样式 */
/*
#MathJax_Zoom{
  z-index: 99999;
  overflow: scroll;
}
*/
/* ---------------------------------------------------------------------------------- */
/*语法高亮样式*/
pre{
  background: #F0F0F0;
  max-height: none;
}
pre>code{
  text-shadow: none;
}
article pre:not(.wp-block-code):not(.hljs){
  background: none;
  box-shadow: none;
  border: none;
}
.hljs{
  box-shadow: none;
  -webkit-box-shadow: none;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 5px;
  padding: 1em;
}
article pre.wp-block-code code:not(.hljs), article pre:not(.wp-block-code):not(.hljs){
  max-height: 100%;
}
.hljs-comment, .hljs-quote{
 font-style:normal;
}
/* ---------------------------------------------------------------------------------- */
/* 表格样式 */
table{
  width: auto;
  border-collapse: collapse;
  border: 1px solid #ddd;
  text-align: center;
  margin: 10px auto;
}
tr,td{
  border-collapse: collapse;
  border: 1px solid #ddd;
}

/* ---------------------------------------------------------------------------------- */
/* 相册返回按钮样式 */
.gallery-goback-gallery{
    position: absolute;
    z-index: 5;
    left: 10px;
    top: 10px;
    color: #fff;
    cursor: pointer;
    background: #000;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 8px;
    opacity: .3;
    transition: .25s;
}
/* ---------------------------------------------------------------------------------- */
/* 友情链接 */
.favlink-card .icon{
    display: -webkit-box;
}

.static-export-mobile-menu {
  display: none;
}

.static-export-search {
  display: none;
}

body.static-export-search-open {
  overflow: hidden;
}

body.static-export-search-open .static-export-search {
  display: flex;
}

.static-export-search {
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: flex-start;
  justify-content: center;
  padding: 8vh 1rem 1rem;
  background: rgba(35, 55, 78, 0.24);
  backdrop-filter: blur(4px);
}

.static-export-search-panel {
  position: relative;
  width: min(42rem, 100%);
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid rgba(115, 134, 154, 0.2);
  border-radius: 1rem;
  background: #e8f0fa;
  box-shadow: 0 1rem 2.5rem rgba(35, 55, 78, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.85);
}

.static-export-search-close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(115, 134, 154, 0.25);
  border-radius: 50%;
  color: #73869a;
  background: linear-gradient(#eef6ff, #dce9f7);
  box-shadow: 0.35rem 0.35rem 0.8rem rgba(54, 100, 152, 0.18),
    -0.25rem -0.25rem 0.7rem rgba(255, 255, 255, 0.7);
}

.static-export-search-close span,
.static-export-search-close span::before,
.static-export-search-close span::after {
  display: block;
  position: absolute;
  width: 1rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.static-export-search-close span {
  top: 50%;
  left: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
}

.static-export-search-close span::before,
.static-export-search-close span::after {
  content: "";
  top: 0;
  left: 0;
}

.static-export-search-close span::before {
  transform: rotate(45deg);
}

.static-export-search-close span::after {
  transform: rotate(-45deg);
}

.static-export-search-form {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0 1rem;
  border: 1px solid rgba(115, 134, 154, 0.18);
  border-radius: 0.9rem;
  color: #73869a;
  background: linear-gradient(#eef6ff, #dce9f7);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.85),
    0.35rem 0.35rem 0.8rem rgba(54, 100, 152, 0.12);
}

.static-export-search-input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #4f6379;
  background: transparent;
  font-size: 1rem;
}

.static-export-search-input::placeholder {
  color: #99a9bf;
}

.static-export-search-status {
  padding: 0.85rem 0.25rem 0.65rem;
  color: #8492a6;
  font-size: 0.9rem;
}

.static-export-search-results {
  overflow: auto;
  padding-right: 0.25rem;
}

.static-export-search-result {
  display: block;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(115, 134, 154, 0.14);
  border-radius: 0.75rem;
  color: #5a6f87;
  background: linear-gradient(#f5f9fd, #e3edf8);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.85),
    0.25rem 0.25rem 0.7rem rgba(54, 100, 152, 0.1);
}

.static-export-search-title {
  display: block;
  margin-bottom: 0.35rem;
  color: #4f6379;
  font-weight: 700;
}

.static-export-search-excerpt {
  display: -webkit-box;
  overflow: hidden;
  color: #8492a6;
  font-size: 0.9rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 991px) {
  body.static-export-menu-open {
    overflow: hidden;
  }

  body.static-export-menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(35, 55, 78, 0.22);
    backdrop-filter: blur(3px);
  }

  .static-export-mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(82vw, 320px);
    z-index: 999;
    padding: 5.5rem 1.25rem 1.25rem;
    background: #e8f0fa;
    box-shadow: -10px 0 24px rgba(35, 55, 78, 0.18);
    transform: translateX(110%);
    transition: transform 0.25s ease;
  }

  body.static-export-menu-open .static-export-mobile-menu {
    transform: translateX(0);
  }

  .static-export-mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(115, 134, 154, 0.25);
    border-radius: 0.75rem;
    color: #73869a;
    background: linear-gradient(#eef6ff, #dce9f7);
    box-shadow: 0.35rem 0.35rem 0.8rem rgba(54, 100, 152, 0.18),
      -0.25rem -0.25rem 0.7rem rgba(255, 255, 255, 0.7);
  }

  .static-export-mobile-menu-close-icon,
  .static-export-mobile-menu-close-icon::before,
  .static-export-mobile-menu-close-icon::after {
    display: block;
    position: absolute;
    width: 1.125rem;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .static-export-mobile-menu-close-icon {
    top: 50%;
    left: 50%;
    background: transparent;
    transform: translate(-50%, -50%);
  }

  .static-export-mobile-menu-close-icon::before,
  .static-export-mobile-menu-close-icon::after {
    content: "";
    top: 0;
    left: 0;
  }

  .static-export-mobile-menu-close-icon::before {
    transform: rotate(45deg);
  }

  .static-export-mobile-menu-close-icon::after {
    transform: rotate(-45deg);
  }

  .static-export-mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .static-export-mobile-menu li {
    margin-bottom: 0.75rem;
  }

  .static-export-mobile-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3rem;
    padding: 0 1rem;
    border: 1px solid rgba(115, 134, 154, 0.16);
    border-radius: 0.75rem;
    color: #5a6f87;
    background: linear-gradient(#eef6ff, #dce9f7);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.85),
      0.35rem 0.35rem 0.8rem rgba(54, 100, 152, 0.14);
  }
}
