.header {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 20px;
}
.header .slogan {
  padding: 0 100px;
}
.header img {
  width: 100%;
}
.header .qrcode {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header .qrcode .lang {
  float: right;
  font-size: 18px;
  color: #0F5E2F;
  font-weight: bold;
  margin-left: 80px;
  margin-bottom: 10px;
}
.nav {
  width: 100%;
  /* 渐变背景 */
  background-image: linear-gradient(to right, #628642, #2c4d76);
}
.nav .layui-nav {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  background-color: transparent;
  display: flex;
  justify-content: space-between;
}
.layui-nav-item > a {
  font-size: 20px;
}
.freemarker-include-footer {
  width: 100%;
  padding: 100px 0;
  /* 渐变背景 */
  background-image: linear-gradient(to right, #628642, #2c4d76);
}
.footer {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 3fr 1fr;
}
.footer .footer_1 img {
  height: 80px;
}
.footer .footer_2 {
  display: flex;
  flex-direction: column;
}
.footer .footer_2 {
  color: #fff;
}
.footer .footer_2 .layui-breadcrumb {
  margin-bottom: 20px;
}
.footer .footer_2 .layui-breadcrumb > * {
  font-weight: 700;
  font-size: 1rem;
  color: #fff !important;
}

.footer .footer_3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}
.footer .footer_3 img {
  height: 80px;
  margin-bottom: 10px;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 100px;
}
.content .mian_card {
  display: grid;
  grid-template-columns: 3fr 1fr;
}
.content .mian_card .left_card {
  display: grid;
  grid-template-rows: 1fr;
}
.content .mian_card .left_card .top_card, .content .mian_card .left_card .fot_card {
  margin-top: 20px;
  padding: 20px;
  /* 阴影 */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
}
.top_card .head_area, .fot_card .head_area, .link_area .head_area {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid #7f7f7f;
}
.friendly_link {
  margin-top: 20px;
}
.top_card .head_area .head_title .title, .fot_card .head_area .head_title .title, .link_area .head_area .head_title .title {
  font-size: 1.2rem;
  font-weight: 700;
  border-bottom: 5px solid #2e4e73;
  padding-bottom: 0.3rem;
}
.top_card .head_area .head_more .more, .fot_card .head_area .head_more .more, .link_area .head_area .head_more .more {
  font-size: 0.8rem;
  font-weight: 400;
}
.demo-tab-header {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 1.3rem;
}
.demo-tab-header .layui-btn {
  border: none;
  position: relative;
  margin-right: 1rem;
}
.demo-tab-header .layui-btn::before {
  /* 竖线 */
  content: "";
  display: inline-block;
  width: 1px;
  height: 1rem;
  background-color: #2c4d76;
  position: absolute;
  left: -0.5rem;
  top: 0.2rem;
}
.demo-tab-header .layui-btn:first-child::before {
  display: none;
}
.demo-tab-header .layui-btn.layui-this{
  background-color: #2c4d76;
  color: #fff;
  border: none;
}
.demo-tab-body {
  margin-top: 20px;
}
.demo-tab-body>div{display: none;}
.right_card .head_title {
  margin-top: 20px;
  padding: 20px;
}
.right_card .head_title .title {
  font-size: 1.2rem;
  font-weight: 700;
  border-bottom: 5px solid #2e4e73;
  padding-bottom: 0.3rem;
}
.right_card .icon_btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.right_card .icon_btns .btn_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  margin-left: 20px;
  margin-bottom: 20px;
}
.right_card .icon_btns .btn_item img {
  width: 60%;
  margin-bottom: 10px;
}
.right_card .layui-input-group {
  margin-left: 20px;
}
.right_card .img_link {
  margin: 20px 0px 0px 20px;
}
.right_card .img_link img {
  width: 100%;
}
.mian_card .list .list_item {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}
.mian_card .list .list_item .name {
  flex: 1;
  width: 0;
  color: #000;
  /*省略*/
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
.mian_card .list .list_item .time {
  width: 120px;
  text-align: right;
  color: #cccccc;
}
.mian_card .list .list_item:hover .name {
  font-weight: 700;
}
.mian_card .list .list_item:hover .time {
  color: #000;
}
.demo-tab-body .li_item {
  display: grid;
  grid-template-columns: 1fr 4fr;
  margin: 10px 0;
}
.demo-tab-body .li_item img {
  width: 140px;
  height:90px;
  margin-right: 20px;
}
.demo-tab-body .li_item .item_content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.demo-tab-body .li_item .item_content .item_content_title {
  font-size: 1.2rem;
  color: #000;
  /* 1行省略 */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  /* autoprefixer: ignore next */
  -webkit-box-orient: vertical;
  word-break: break-all;
}
.demo-tab-body .li_item .item_content .item_content_content {
  font-size: 0.9rem;
  color: #7f7f7f;
  /* 2行省略 */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* autoprefixer: ignore next */
  -webkit-box-orient: vertical;
  word-break: break-all;
}
.demo-tab-body .li_item .item_content .item_content_time {
  font-size: 0.7rem;
  color: #7f7f7f;
}
.link_area {
  margin-top: 20px;
  padding-bottom: 20px;
  position: relative;
  border-bottom: 1px solid #7f7f7f;
}
.link_area .demo-tab-header {
  top: -5px;
}
.link_area .demo-tab-body img {
  width: 100%;
  height: 100px;
}
.breadcrumb {
  width: 100%;
  height: 50px;
  line-height: 50px;
  background-color: #f2f2f2;
}
.breadcrumb .breadcrumb_box {
  max-width: 1200px;
  margin: 0 auto;
}
.content1, .content2 {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 20px;
}
.content1 .title {
  padding: 10px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  /* 渐变背景 */
  background-image: linear-gradient(to right, #628642, #2c4d76);
}
.content1 .other_links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  padding: 10px;
  /* 阴影 */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.content1 .title_1 {
  font-size: 1.2rem;
  padding: 10px 0;
  border-bottom: 1px solid #7f7f7f;
}
.content1 .other_links a {
  display: inline-block;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  border-bottom: 1px solid #7f7f7f;
}
.content1 .other_links a:last-child {
  border-bottom: none;
}
.content1 ul {
  margin: 20px 0;
  border-bottom: 1px solid #7f7f7f;
}
.content1 ul li {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}
.content1 ul li .name {
  flex: 1;
  width: 0;
  color: #000;
  /*省略*/
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
.content1 ul li .name::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #000;
  margin: 0 20px 4px 0;
}
.content1 ul li .time {
  width: 80px;
  text-align: right;
  color: #cccccc;
}
.content1 ul li:hover .name {
  font-weight: 700;
}
.content1 ul li:hover .time {
  color: #000;
}
#laypage_content {
  text-align: center;
}
.content2 .title {
  padding: 10px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
}
.content2 .article_info {
  display: flex;
  justify-content: space-around;
  color: #7f7f7f;
  margin-bottom: 20px;
}
.content2 .article_content {
  padding: 0 40px;
}
.content2 .article_content img {
  max-width: 100%;
}
.content2 .layui-border-cyan {
  margin: 30px 0;
}
.content2 .other_link {
  display: flex;
  flex-direction: column;
}
.content3 .title_2 {
  text-align: center;
  margin: 20px 0;
}
.content3 .title_2 img {
  height: 50px;
}
.content3 .render_html p {
  text-indent: 2em;
  line-height: 1.5rem;
}
.content3 .render_html img {
  max-width: 100%!important;
  text-indent: 2em;
  line-height: 1.5rem;
}
.content5 .title_1 {
  margin-bottom: 20px;
}
.content5 .content5_item > a {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content5 .content5_item a > img {
  width: 100%;
  height: 200px;
  margin-bottom: 10px;
  object-fit: contain;
}
.content5 .content5_item a > span {
  /* 单行省略 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  display: inline-block;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .freemarker-include-header .header {
    flex-direction: column;
  }
  .header .logo, .header .slogan {
    padding: 1rem;
  }
  .header .qrcode {
    display: none;
  }
  .nav {
    display: none;
  }
  .freemarker-include-footer {
    width: auto;
    padding: 10px;
  }
  .footer {
    grid-template-columns: none;
    grid-template-rows: 1fr 1fr 1fr;
  }
  .footer .footer_1 {
    text-align: center;
  }
  .footer .footer_3 {
    align-items: flex-start;
  }
  
  .content .mian_card {
    display: grid;
    grid-template-columns: none;
    grid-template-rows: 1fr;
  }
  .demo-tab-header {
    position: static;
    transform: none;
    margin-top: 20px;
    display: flex;
    justify-content: center;
  }
  .right_card .icon_btns .btn_item {
    margin-right: 20px;
  }
  .right_card .layui-input-group {
    margin-right: 20px;
    width: calc(100% - 40px);
  }
  .right_card .img_link {
    margin-right: 20px;
  }
  .link_area {
    padding: 20px;
  }
  .friendly_link {
    margin: 0;
    padding: 20px;
  }
  .breadcrumb_box {
    padding: 0 20px;
  }
  .content2 {
    padding: 0 20px;
  }
  .content2 .article_info {
    flex-direction: column;
  }
  .content2 .article_content {
    padding: 0 10px;
  }
}
