.document-template-default .content-area > .box {
  padding: 28px;
  box-sizing: border-box;
}
/* .single-document.single .content-area{
    max-width: 100%;
} */
.document-top {
  width: 100%;
  height: 470px;
  background-color: #626f91;
  display: flex;
  align-items: center;.codelist a.item-top
  justify-content: center;
  flex-flow: column;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
}
/* .document-top::after{
    content: '';
    background-image: url(images/pattern.png);
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: .4;
} */
.post-type-archive-document #primary-home,
.page-template-page-document #primary-home {
  /*margin-top: 310px;*/
  margin-top: 0px;
  position: relative;
  display: block;
}
.document-top h2 {
  color: #fff;
  margin: 0 auto 30px;
  text-align: center;
  font-size: 26px;
  font-weight: 200;
  position: relative;
  z-index: 2;
}
.search-form-document {
  position: relative;
  width: 600px;
  max-width: 90%;
  z-index: 2;
}
.search-form-document button {
  position: absolute;
  left: 0;
  top: 5px;
  background: none;
  color: initial;
  border: 0;
  line-height: 1;
}
.search-form-document button i {
  font-size: 30px;
}
.search-form-document input {
  border-radius: 99px;
  display: block;
  width: 100%;
  padding: 18px 20px 18px 65px;
  border: 0;
  outline: none;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.15);
  font-size: 16px;
}
.document-cat-item {
  display: flex;
  flex-flow: column;
  position: relative;
  width: 25%;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}
.document-cat-item:hover {
  background-color: #f9f9f9;
}
.document-cat-box {
  display: flex;
  margin-top: 50px;
  flex-flow: wrap;
}
.document-cat-box img {
  width: 50px;
  height: 50px;
}
.document-cat-item h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0;
}
.document-cat-item p {
  font-size: 16px;
}
.document-content h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 12px 0;
  border-bottom: 1px solid #eaeaea;
  text-align: left;
}
.home-atchive-title {
  margin-bottom: 30px;
}
.document-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.document-cat-top {
  margin-bottom: 30px;
}
.document-cat-top h2 {
    text-align: center;
    font-size: 24px;
    color: #392b20;
}
.document-cat-top p {
    text-align: left;
    text-indent: 40px;
    color: #392b20;
}
.document-row + .document-row {
  border-top: 1px solid #f3f3f3;
}
.document-row a {
  display: block;
}
.document-row-right {
  width: 110px;
  text-align: right;
  font-size: 12px;
  color: #999;
}
.document-row h3 {
  font-size: 17px;
  margin-top: 5px;
}
.document-row a:hover {
  text-decoration: underline;
}
.document-cat-rot {
  color: #aaaeb3;
}
.document-row-left {
  width: calc( 100% - 90px );
}
.document-content .button {
  background-color: #ececec;
}
.b2-document-content h1 {
  font-size: 30px;
}
.document-single-top {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.document-single-top span {
  margin: 0 5px;
}
.b2-document-content .entry-content {
  margin-top: 30px;
}
.single-document-footer {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  background: #f5f5f5;
  padding: 40px 0;
}
.document-help {
  margin: 20px 0;
  display: flex;
  justify-content: center;
}
.document-help button {
  padding: 5px 10px;
  display: flex;
  align-items: center;
}
.document-help button + button {
  margin-left: 16px;
}
.document-help button i {
  font-size: 20px;
  margin-right: 5px;
}
.document-more-tips {
  margin-top: 40px;
}
.document-related h2 {
  margin-bottom: 10px;
  margin-top: 30px;
}
.document-related li {
  margin-bottom: 10px;
}
.b2-document-content {
  display: flex;
}
.document-left.widget-area {
  padding-left: 0;
  margin-left: 0;
}
.b2-document-single {
  padding-top: 20px;
}
.single-document-search {
  width: 230px;
  position: relative;
}
.single-document-search input {
  width: 100%;
  background-color: #f5f5f5;
  border-radius: 5px;
  padding: 5px;
  padding-left: 40px;
}
.single-document-search button {
  position: absolute;
  left: 0;
  top: 0;
  background: none;
  color: initial;
  border: 0;
  padding: 4px 10px;
}
.single-document-search button i {
  font-size: 20px;
}
.document-left-item {
  padding: 30px;
  font-size: 14px;
  line-height: 1.4;
}
.document-left-item h2 {
  font-weight: 700;
}
.document-left-item p {
  margin: 10px 0 20px;
}
.document-more-help {
  list-style: circle;
  margin-left: 20px;
}
.document-cat-top {
  text-align: center;
}
.document-cat-top h2 {
  border: 0;
}
.document-left-item li {
  margin-top: 16px;
}
.request-page h1 {
  font-size: 22px;
}
.request-box {
  max-width: 100%;
}
.request-box label {
  margin-bottom: 16px;
  display: block;
}
.request-box p + p {
  margin-top: 12px;
}
.request-box input {
  padding: 10px;
  width: 100%;
}
.request-box textarea {
  width: 100%;
  min-height: 183px;
  padding: 10px;
  line-height: 1.7;
}
.input-file {
  border: 1px dashed #ccc;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  color: #aaaeb3;
  cursor: pointer;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 60%;
}
.requests-yanzhengma input {
  width: 100%;
}
.requests-yanzhengma div {
  display: flex;
}
.input-file img {
  max-height: 400px;
}
.request-box-row-header {
  display: flex;
  flex-flow: column;
}
.request-submit {
  margin-top: 26px;
}
.request-box .request-date {
  font-size: 13px;
  color: #aaaeb3;
}
.request-box .request-title {
  font-size: 16px;
  margin-top: 5px;
}
.request-content {
  padding: 16px;
  background-color: #f5f5f5;
}
.request-content img {
  max-width: 400px;
  max-height: 400px;
  display: block;
  margin-top: 20px;
  border: 1px solid #ccc;
  border-radius: 3px;
}
.request-title i {
  color: #aaaeb3;
  font-size: 20px;
  margin-right: 10px;
}
.request-box li .request-content {
  cursor: default;
  margin-top: 20px;
  line-height: 1.7;
  position: relative;
}
.request-box li .request-content::before {
  border-bottom: 8px solid #f5f5f5;
  z-index: 2;
  top: -8px;
}
.jt::after {
  border-bottom: 8px solid #f5f5f5;
}
.request-box li {
  border-top: 1px solid #f3f3f3;
  cursor: pointer;
  position: relative;
}
.requestList-icon {
  position: absolute;
  top: 10px;
  right: 10px;
}
.requestList-icon i {
  font-size: 20px;
}
.no-request {
  border-top: 1px solid #f3f3f3;
}
.request-page h1 p {
  font-size: 12px;
  color: #aaaeb3;
  margin-top: 5px;
  margin-bottom: 0;
}
.request-box li.to {
  background-color: #00800005;
}
.request-box li.to i {
  color: red;
}
.search .document-breadcrumb {
  padding: 10px 16px;
  font-size: 13px;
  border-bottom: 1px solid #f3f3f3;
}
.search .document-breadcrumb span {
  margin: 0 5px;
}
.request-page .ajax-pager {
  padding: 10px;
  border-top: 1px solid #f3f3f3;
}
.document-left-item ul {
  list-style: decimal;
  margin-left: 16px;
}
/*========================================================*/
/*自定义文档页面样式*/
.document-container {
  display: flex;
  justify-content: space-between;
  position: sticky;
  top: 200px;
}
.document-container .document-left {
  width: 10%;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  position: fixed;
  /* top: 76px; */
}
.document-container .document-right {
  width: 82%;
  margin-left: 20%;
}
.document-left .tab {
  background-color: #f2f2f2;
  padding: 10px 8px;
  width: 100%;
  color: #64854c;
  font-size: 18px;
}
.document-left .gallery-list .navto-nav {
  cursor: pointer;
  padding: 10px 8px;
  font-size: 14px;
  border-top: 1px solid #efefef;
  border-bottom: 1px solid #efefef;
}
.document-left .gallery-list .design {
  background: #fff;
}

.document-left .gallery-list .design:nth-child(2n) {
  background-color: #fbfbfb;
}
.document-left .gallery-list .design:hover {
  background-color: rgba(150, 185, 125, 0.6);
}
.document-left .gallery-list .design:hover .fa-external-link {
  font-size: 16px;
}
.middle-column-home {
  width: 100%;
  margin-right: 0;
  padding: 12px 20px;
  border: 1px solid #eaeaea;
  background-color: #fff;
  border-radius: 4px;
}

.codelist {
  overflow: hidden;
}

.codelist a.item-top {
  width: 32%;
  margin: 0 8px 10px 0;
  text-align: left;
  height: 80px;
  color: #bbb;
  background-color: #f6f6f6;
  border-radius: 5px;
  /* 文档页面图片位置调整 */
  padding: 6px 6px 6px 6px;
}
.codelist a.item-top:hover {
  background-color: #f0f4f5;
}

.codelist h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 12px 0;
  border-bottom: 1px solid #eaeaea;
  text-align: left;
}

.codelist a {
  width: 72px;
  margin: 0 5px 8px 5px;
  float: left;
  text-align: center;
  color: #999;
  font-size: 12px;
  height: 65px;
  overflow: hidden;
  text-decoration: none;
}

.codelist .codeicon {
  border-radius: 5px;
  margin: 0 auto;
  display: block;
  margin-bottom: 5px;
}

.codelist a.item-top .codeicon {
  width: 50px;
  height: 68px;
  float: left;
  /* margin-left: 10px; */
  margin-right: 10px;
}

.codelist a.item-top h4 {
  color: #64854c;
  font-size: 16px;
  margin-top: 0px;
  margin-bottom: 10px;
  line-height: 1.1;
  text-align: left;
  height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.document_excerpt {
  height: 34px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: break-spaces;
}
.document-left .gallery-list .design.selected {
  background-color: rgb(150, 185, 125); /* 修改为你想要的颜色 */
  color: #fff; /* 修改为你想要的文字颜色 */
}
.fa-list {
  font-style: normal;
}

.book_item{
    width:100%;
    display: flex;
    position: relative;
}
.book_item >a{
    width: 100%;
    height: 100%;
    z-index: 5;
    position: absolute;
    top:0;
    left: 0;
}
.book_item img{
    width: 50px;
    height: 68px;
    margin-right: 10px;
}
.book_item div{
    width: calc( 100% - 46px );
}
.book_item div span {
    color: #64854c;
}
.book_item span, .book_item h3{
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.document-pagination {
    display: flex;
    justify-content: space-between;
}
.document-pagination div {
    width: 33%;
    height: 60px;
    line-height: 60px;
    text-align: center;
    color: #382b1f;
    font-weight: bold;
    font-size: 16px;
    background-color: #fff;
}
.b2-hover-div .b2-hover a {
    color: #333;
}
.b2-hover .b2-hover-selet {
    color: #0066ff;
}

@media screen and (max-width: 768px) {
  .link-img {
    width: 24px;
    height: 24px;
  }
  .link-top h2 {
    font-size: 13px;
    line-height: 1.8;
  }
  .link-box {
    padding: 8px !important;
  }
  .link-list li {
    width: 50%;
  }
  .link-in {
    margin: 4px;
    background-color: #f5f6f7;
    padding: 10px;
  }
  .link-desc {
    margin: 6px 0;
    font-size: 12px;
    height: 30px;
  }
  .links .content-area {
    width: 100%;
    max-width: 100%;
  }
  .link-footer .fs12 {
    font-weight: normal;
  }
  .document-top {
    height: 300px;
  }
  .document-top h2 {
    margin-top: 100px;
  }
  .document-cat-item {
    padding: 16px 10px 0;
  }
  .document-cat-box {
    margin-bottom: 10px;
  }
  .post-type-archive-document.social-top #primary-home,
  .page-template-page-document.social-top #primary-home {
    margin-top: 0px;
  }
  .post-type-archive-document #primary-home,
  .page-template-page-document #primary-home {
    margin-top: 219px;
  }
  .document-cat-item img {
    width: 50px;
    height: 50px;
    border-radius: 100%;
  }
  .document-cat-item p {
    display: none;
  }
  .document-cat-item h2 {
    font-size: 12px;
  }
  .document-row-right {
    font-size: 12px;
  }
  .document-single-top {
    flex-flow: column;
  }
  .document-breadcrumb {
    margin-bottom: 10px;
    width: 100%;
  }
  .document-content h2 {
    margin-top: 20px;
    display: block;
    margin-bottom: 10px;
  }
  .document-cat-top {
    margin-bottom: 5px;
  }
  .document-left.widget-area {
    margin-top: 8px !important;
  }
  .b2-document-content {
    flex-flow: column-reverse !important;
  }
  .b2-document-single.mg-t- {
    margin-top: 0;
    padding: 10px;
  }
  .document-top-search {
    width: 100%;
  }
  .single-document-search {
    width: 100%;
  }
  .document-row h3 {
    font-size: 16px;
  }
  .document-cat-rot {
    font-size: 14px;
  }
  .request-box {
    display: block;
  }
  .search-form-document input {
    padding: 10px 10px 10px 45px;
  }
  .search-form-document button {
    top: 0;
    padding: 8px 12px;
  }
  .search-form-document button i {
    font-size: 24px;
  }
  .document-container .document-left {
      display: none;
  }
  .document-container .document-right {
      width: 100%;
      margin: 0;
  }
  .codelist a.item-top {
      width: 100%;
  }
}

@media screen and (min-width: 770px) and (max-height: 1199px) {
   .document-container .document-left {
      width: 20%;
    } 
   .document-container .document-right {
      margin-left: 22%;
      width:78%;
    }
}

@media screen and (min-width: 1200px) {
   .document-container .document-left {
      width: 200px;
    } 
   .document-container .document-right {
      margin-left: 240px;
      width:960px;
    }
}