@charset "utf-8";

/* 公共样式 */
body {
  background-color: #fff;
}
.header {
  margin-bottom: 104px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header > .left {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header > .left a {
  color: #fff;
  font-size: 20px;
}

.header > .left > .inline {
  width: 1px;
  height: 30px;
  background-color: #bababa;
  margin: 0 20px;
}

.w {
  position: relative;
  width: 1200px;
  margin: 0 auto;
}

.float-l {
  float: left;
}

.float-r {
  float: right;
}

input {
  outline: none;
  border: none;
}

.inline {
  width: 1px;
  height: 11px;
  background-color: #676b73;
  margin: 5px 16px 0;
}

/* 百科首页和搜索页共用样式 */
.baike-top {
  width: 100%;
  min-width: 1200px;
  height: 260px;
  /* margin-top: 96px; */
  background: url('https://res.mutouyun.com/web/images/top_bg_baike.png') no-repeat;
  background-size: 100% 100%;
  box-sizing: content-box;
  margin-bottom: 40px;
  padding-top: 96px;
  position: relative;
}

.header {
  margin-bottom: 104px;
}

.header > .logo {
  margin-right: 20px;
}

.header > .header-bar {
  line-height: 60px;
}

.header > .header-bar > .header-bar-item {
  margin-left: 40px;
}

.header > .header-bar > .header-bar-item a {
  display: block;
  color: #fff;
  text-decoration: none;
}

.baike-top > .search {
  text-align: center;
  height: 100%;
  position: relative;
}

.baike-top > .search > h1 {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.search > .search-input > input {
  width: 100%;
  height: 58px;
  font-size: 18px;
  padding: 0 20px;
  background-color: #fff;
}

.search > .search-input > input::placeholder {
  color: #cccccc;
}

.search > .search-input > img {
  width: 92px;
  height: 58px;
  cursor: pointer;
}

.menu {
  /* padding-bottom: 60px; */
  /* background: #fff url('/images/baike/menu_bg.jpg') no-repeat right bottom; */
  padding-bottom: 24px;
}

.menu .menu-nav {
  padding-top: 20px;
  margin-bottom: 84px;
  box-shadow: 0px 2px 30px 0px rgba(128, 128, 128, 0.16);
}

.menu .menu-nav > .search_r {
  padding: 10px 0 26px 0;
  font-size: 14px;
  color: #999;
}

.menu .menu-nav > .search_r span {
  color: #111;
}

.menu-nav .recommend-wood {
  width: 1200px;
  margin-bottom: 10px;
  overflow: hidden;
}

.menu-nav .recommend-wood .item {
  position: relative;
  width: 285px;
  height: 150px;
  background-color: #000000;
  border-radius: 4px;
  margin-right: 20px;
  transition: all 0.4s;
}

.menu-nav .recommend-wood .item:hover {
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.6);
}

.menu-nav .recommend-wood .item:last-of-type {
  margin: 0;
}

.recommend-wood .item > a > span {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 285px;
  height: 150px;
  font-size: 22px;
  line-height: 150px;
  text-align: center;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.2);
}

.menu > .menu-nav > .menu-pane {
  font-size: 0;
  text-align: center;
}

.menu > .menu-nav > .menu-pane > .menu-pane-item {
  display: inline-block;
  margin-right: 40px;
}

.menu-pane > .menu-pane-item a {
  display: block;
  padding: 22px 0;
  font-size: 16px;
  color: #666666;
  transition: all 0.2s;
}

.menu > .menu-nav > .menu-pane > .menu-pane-item a:hover {
  border-bottom: 4px solid #256dff;
  font-weight: 600;
  color: #111;
}

.menu > .menu-nav > .menu-pane > .menu-pane-item .active {
  border-bottom: 4px solid #256dff;
  font-weight: 600;
  color: #111;
}

.menu-content > .menu-content-item {
  display: flex;
  height: 218px;
  padding: 0 38px 0 0;
  box-shadow: 0px 2px 60px 0px rgba(128, 128, 128, 0.14);
  margin-bottom: 36px;
  cursor: pointer;
  transition: all 0.4s;
  background-color: #fff;
  border-radius:  8px;
  overflow: hidden;
}

.menu-content > .menu-content-item:hover {
  box-shadow: 0px 2px 60px 0px rgba(128, 128, 128, 0.3);
}

.menu-content > .menu-content-item > img {
  /* margin-top: -26px; */
  width: 320px;
  height: 218px;
  margin-right: 32px;
}

.menu-content .nothing {
  margin: 180px auto;
  text-align: center;
  font-size: 16px;
  color: #999;
}

.menu-content .noteData{
	margin-bottom: 58px;
}

.menu-content .noteData .noteData-img{
	width: 92px;
	height: 136px;
	margin: 0 auto;
	margin-bottom: 12px;
}

.menu-content .noteData p{
	color: #999;
	line-height: 1;
	text-align: center;
}

.menu-content-item > .content-info {
  flex: 1;
  padding-top: 32px;
  max-width: 100%;
    overflow: hidden;
}

.content-info > .info-title {
  font-size: 22px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 18px;
}

.content-info > .info-text {
  font-size: 14px;
  line-height: 20px;
  text-align: justify;
  color: #666666;
  margin-bottom: 34px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.content-info > .info-text p {
  display: inline;
}

.content-info > .info-footer {
  display: flex;
  /* justify-content: flex-end; */
}

.content-info > .info-footer > .left {
  display: flex;
  align-items: center;
}

.info-footer > .left > .time img,
.info-footer > .left > .browse img {
  vertical-align: middle;
  margin-bottom: 5px;
}

.info-footer > .left > .time,
.info-footer > .left > .browse {
  font-size: 14px;
  color: #999999;
  margin-right: 28px;
}

.info-footer > .right {
  font-size: 14px;
  color: #999;
}

.info-footer > .right .entry-item {
  display: inline-block;
  font-size: 14px;
  color: #666666;
  padding: 2px 12px;
  border-radius: 2px;
  margin: 0 12px 12px 0;
  cursor: pointer;
  transition: all 0.4s;
  border: 1px solid #D1D5DB;
}
.info-footer > .right .entry-item:hover {
  background-color:#F3F4F6 !important;
}

.info-footer > .right .entry-item:hover {
  background-color: #ddd;
  color: #111;
}

/* .info-footer>.right>span:hover {
  background-color: #ddd;
  color: #111;
  transition: all .5s;
} */

/* 搜索详情页样式 */

/* .search-details */
.details-top {
  width: 100%;
  min-width: 1200px;
  height: 520px;
  padding-top: 20px;
  background: url('/images/baike/top_bg.jpg') no-repeat;
  background-size: 100% 100%;
}

.details-top > .header > .right {
  width: 280px;
  height: 40px;
  padding: 0 12px 0 16px;
  box-sizing: border-box;
  border-radius: 4px;
  border: solid 1px #bababa;
}

.details-top > .header > .right > input {
  width: 90%;
  height: 100%;
  background-color: transparent;
  font-size: 14px;
  color: #fff;
}

.details-top > .header > .right > input::placeholder {
  color: #fff;
}

.details-top > .header > .right > img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  cursor: pointer;
  margin-bottom: 4px;
}

.main {
  margin-top: -400px;
}

.main > .content {
  background-color: #fff;
}

.main > .content {
  width: 910px;
  box-shadow: 0px 2px 60px 0px rgba(128, 128, 128, 0.14);
  border-radius: 4px;
  box-sizing: border-box;
  padding: 0 54px 0 24px;
}

.main > .content > .content-nav {
  border-bottom: 1px solid #f4f4f4;
  margin-bottom: 46px;
}

.main > .content > .content-nav a {
  display: inline-block;
  font-size: 14px;
  color: #666;
  padding: 20px 0;
}

.main > .content > .content-text > .content-title {
  text-align: center;
  font-size: 26px;
  font-weight: 600;
  padding: 0;
  margin: 0;
  margin-bottom: 12px;
}

.main .content-text > .content-info {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #999999;
  margin-bottom: 40px;
}

.main .content-text > .content-info img {
  vertical-align: middle;
  margin-top: -4px;
}

.main .content-text > .content-info > .time {
  margin-right: 28px;
}

.main .content-text > .content-html {
  text-align: justify;
  margin-bottom: 80px;
  padding: 0 44px;
}

.main .content-text > .content-html > img {
  display: block;
  width: 670px;
  height: 400px;
  margin: 0;
  padding: 0;
  margin: 36px auto 40px;
}
.content-html img{
  max-width: 100%;
}

.content-html > .content > .wiki-wood-item {
  margin-bottom: 40px;
}

.content-html > .content > .wiki-wood-item h3 {
  font-size: 16px;
  color: #111111;
  margin-bottom: 20px;
  font-weight: 600;
}

.content-html > .content > .wiki-wood-item p,
.main .content-text > .content-html > .title {
  font-size: 14px;
  color: #404040;
  line-height: 30px;
}

.content-html > .content > .wiki-wood-item p:last-of-type {
  margin-bottom: 0;
}

.main .content-text > .content-bar {
  font-size: 14px;
  color: #111111;
  padding: 0 44px 30px;
}

.main .content-text > .content-bar > a {
  display: inline-block;
  color: #999999;
  padding: 8px;
  background-color: #f9f9f9;
  margin-right: 6px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s;
}

.main .content-text > .content-bar > a:hover {
  background-color: #ddd;
  color: #111;
}

.about-article {
  padding: 40px 44px 32px;
  border-top: 1px solid #f4f4f4;
}

.about-article .article-link {
  display: block;
  font-size: 14px;
  color: #404040;
  line-height: 1;
  margin-bottom: 16px;
}

.main > .slider {
  width: 280px;
}

.main > .slider {
  box-sizing: border-box;
}

.main > .slider > .hot_entry{
  padding: 0 6px 14px 24px;
  margin-bottom: 16px;
  background-color: #fff;
  font-size: 0;
  box-shadow: 0px 2px 60px 0px rgba(128, 128, 128, 0.14);
}
.main > .slider > .mucaibaike-wrap{
  width: 232px;
  height: 232px;
  padding: 50px 24px 0 24px;
  box-shadow: 0px 2px 60px 0px rgba(128, 128, 128, 0.14);
  background: #FFFFFF url('/images/baike/code_bg.png?code_bg') no-repeat;
  background-size: 232px 232px;
  background-position: 24px 24px;
  text-align: center;
  box-sizing: content-box;
}
.main > .slider > .mucaibaike-wrap .title{
  line-height: 1;
  font-size: 20px;
  font-weight: bold;
  color: #111111;
  margin-bottom: 10px;
}
.main > .slider > .mucaibaike-wrap .green-text{
  color: #21B77F;
}
.main > .slider > .mucaibaike-wrap .dec{
  line-height: 1;
  font-size: 14px;
  color: #111111;
  margin-bottom: 35px;
}
.main > .slider > .mucaibaike-wrap .mucaibaike-code{
  display: block;
  margin: 0 0 0 57px;
  width: 114px;
}
.main > .slider > .hot_entry > .title{
  font-size: 18px;
  color: #666666;
  padding: 18px 0;
  border-bottom: 1px solid #f4f4f4;
  margin-bottom: 24px;
}

.main > .slider > .hot_entry > .entry-item {
  display: inline-block;
  font-size: 14px;
  color: #666666;
  padding: 6px 12px;
  background-color: #f4f4f4;
  border-radius: 2px;
  margin: 0 12px 12px 0;
  cursor: pointer;
  transition: all 0.4s;
}

.main > .slider > .hot_entry > .entry-item:hover {
  background-color: #ddd;
  color: #111;
}

.details-footer-bg {
  width: 100%;
  height: 300px;
  margin-top: -120px;
  background: url(/images/baike/menu_bg.jpg) no-repeat right bottom;
}

/* 分页组件样式 */
.filter-page {
  padding: 20px;
  text-align: right;
}

/* 底栏 */
.footer {
  width: 100%;
  min-width: 1200;
  height: 170px;
  padding: 52px 0 38px 0;
  box-sizing: border-box;
  background-color: #1f1f2d;
}

.footer-bar {
  width: 352px;
}

.footer-bar,
.copy-right {
  margin: 0 auto 24px;
}

.footer-bar > .item > a {
  transition: all 0.4s;
}

.footer-bar > .item > a:hover {
  color: #fff;
}

.footer-bar > .item > a,
.copy-right,
.copy-right a {
  font-size: 14px;
  color: #999fa5;
  text-align: center;
}

.footer-bar > .item {
  min-width: 56px;
}

.consult-footer-wrap-text {
  font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
  font-weight: 400;
  font-size: 28px;
  color: #FFFFFF;
  line-height: 36px;
  margin-bottom: 28px;
}

.baike-dialog {
  width: 390px;
  height: 320px;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  background-image: url('/images/baike/baike-dialog.png');
  z-index: 3;
  display: none;
}

.baike-dialog-block {
  display: block;
}


.baike-dialog-btn {
  width: 160px;
  height: 40px;
  background: #006666;
  border-radius: 2px 2px 2px 2px;
  font-family: PingFang SC, PingFang SC;
  font-weight: 400;
  font-size: 16px;
  color: #FFFFFF;
  text-align: center;
  line-height: 40px;
  position: absolute;
  bottom: 30px;
  left: 117px;
  cursor: pointer;
}

.baike-dialog-off {
  width: 20px;
  height: 20px;
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
}
