* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/*给元素添加手的形状*/
.pointer{
  cursor:pointer
}
/*超过二行加省略号。。。*/
.ellipsis2{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 限制为三行 */
    overflow: hidden;
    text-overflow: ellipsis;
}
/*超过三行加省略号。。。*/
.ellipsis3{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* 限制为三行 */
    overflow: hidden;
    text-overflow: ellipsis;
}
img {
  display: block;
}

body {
  font-family: "Microsoft YaHei", sans-serif;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 大于等于769px */
@media screen and (min-width: 769px) {
  .pc-dom {
    display: block;
  }

  .phone-dom {
    display: none;
  }
}

/* 小于等于768px */
@media screen and (max-width: 768px) {
  .pc-dom {
    display: none;
  }

  .phone-dom {
    display: block;
  }
}

/* 头部导航样式 */
.header {
  background: red;
  width: 100%;
  background: url('../img/top-bg.png') no-repeat;
  background-size: 100% 100%;
  background-position: center;
}

.header-container {
  overflow: hidden;
  width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 70%;
  margin-right: 10px;
}

.search-container {
  width: 250px;
 /* width: 30%;*/
  border: 1px solid #F6D364;
  display: flex;
  align-items: center;
  background-color: transparent;
  border-radius: 20px;
  padding: 5px 15px;
}

.search-input {
  background: transparent;
  border: none;
  color: white;
  padding: 5px;
  width: 100%;
  outline: none;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-button {
  background: transparent;
  border: none;
  cursor: pointer;
}

.search-icon {
  width: 16px;
  height: 16px;
}

/* 导航菜单样式 */
.nav {
  width: 100%;
  /* border-top: 1px solid rgba(255, 255, 255, 0.2); */
}

.nav-container {
  width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
}

.nav-item {
  position: relative;

}

.nav-item>a {
  color: #F6D364;
  text-decoration: none;
  padding: 15px 20px;
  display: inline-block;
  text-align: center;
}

.nav-item-childs {
  position: absolute;
  left: calc(50% - 72.5px);
  /*bottom: -132px;*/
  background: #fff;
  display: none;
  z-index: 100;
}

.nav-item-childs>div {
  width: 145px;
  text-align: center;
  height: 44px;
  line-height: 44px;
}

.nav-item:hover .nav-item-childs {
  display: block;
}

.nav-item-childs>div>a {
  color: #333333;
  /* 取消a标签下划线 */
  text-decoration: none;
  font-size: 16px;
}

.nav-item-childs>div:hover {
  background: #D54447;
}

.nav-item-childs>div:hover a {
  color: #fff;
}

/* 背景板 */
.bg-center {
  background: url('../img/dt-bg.png') no-repeat;
  background-size: 100% 100%;
  width: 100%;
  height: 1287px;
}

.bg-red-center {
  background: url('../img/cy-bg.png') no-repeat;
  background-size: 100% 100%;
  width: 100%;
}

.bg-red-div {
  width: 1400px;
  display: flex;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.bg-center-div {
  width: 1400px;
  margin: 0 auto;
}

.bg-hui-div {
  width: 1400px;
  display: flex;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

/* 标题栏 */
.title-temp {
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0 35px 0;
  position: relative;
}

.title-text {
  text-align: center;
  font-weight: bold;
  font-size: 32px;
  color: #C13432;
}

.more-btn {
  cursor: pointer;
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #D49F5A;
}

.more-btn img {
  margin-right: 10px;
}

/* 5宫格 */
.five-gongge {
  width: 100%;
  display: flex;

}

.gongge-left .zsimg {
  width: 720px;
  height: 490px;
}

.bottom-text-main {
  background: #C13432;
  height: 80px;
  padding: 10px;
  font-size: 16px;
  color: #FFFEFE;
}

.bottom-text-time {
  display: flex;
  justify-content: space-between;
}

.gongge-right {
  margin-left: 40px;
  display: flex;
  flex-wrap: wrap;
}

.gongge-right>div {
  width: 300px;
  overflow: hidden;
}

.gongge-right>div:nth-child(2n) {
  margin-left: 40px;
}

.gongge-right>div:nth-child(3),
.gongge-right>div:nth-child(4) {
  margin-top: 35px;
}

.gongge-right>div>div {
  width: 300px;
  padding: 10px 10px 0 10px;
  height: 50px;
  font-size: 16px;
  color: #333333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  /* 限制为两行 */
  overflow: hidden;
  /* 超出部分隐藏 */
  text-overflow: ellipsis;
  /* 文字溢出时显示省略号 */

}

.gongge-right>div>img {
  width: 100%;
  height: 210px;
}

.gongge-right>div>img:hover {
  /* 放大 */
  transform: scale(1.1);
  transition: transform 0.5s ease;
}