/* 此部分为头部+导航栏 */
header .header-bg {
  background: url(../images/header.jpg) no-repeat center;
  background-size: cover;
  width: 100%;
  height: 375px;
}
.header-nav {
  width: 100%;
  background-color: #0061a3;
  height: 45px;
}
.header-nav ul {
  width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.nav-list {
  margin: 0 50px;
  font-size: 20px;
  height: 100%;
  line-height: 45px;
  text-align: center;
  color: #fff;
}
.nav-list a {
  color: #fff;
  font-weight: bold;
}

/* 此部分为轮播图+右侧菜单 */
/* 轮播图 */
main {
  width: 1200px;
  margin: 20px auto;
  display: flex;
}

.carousel {
  width: 600px;
  height: 400px;
  margin-right: 30px;
  overflow: hidden;
  position: relative;
}

.carousel-box {
  transition: all 800ms ease 0s;
  display: flex;
}
.carousel-box .box-item {
  position: relative;
}
.box-item img {
  display: block;
  width: 600px;
  height: 400px;
}

.box-item p {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 44px;
  background-color: rgba(0, 0, 0, 0.5);
}
.box-item p span {
  font: 16px/32px "微软雅黑", "黑体";
  color: #fff;
  width: 70%;
  padding-left: 14px;
  line-height: 44px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.owl-pagination {
  position: absolute;
  bottom: 12px;
  right: 9px;
  height: 22px;
  text-align: center;
}
.owl-page {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-image: url(../images/bg15.png);
  *display: inline;
  *zoom: 1;
}
.owl-pagination .active {
  width: 25px;
  background-image: url(../images/bg16.png);
}

.owl-buttons div {
  position: absolute;
  top: 50%;
  width: 30px;
  height: 50px;
  margin-top: -26px;
  text-indent: -9999px;
  opacity: 0;
  cursor: pointer;
}
.carousel:hover .owl-buttons div {
  opacity: 1;
}

.owl-prev {
  left: 0;
  background-image: url(../images/bg17.png);
  background-size: 84%;
}
.owl-next {
  right: 0;
  background-image: url(../images/bg18.png);
  background-size: 84%;
}
.owl-prev:hover {
  background-image: url(../images/bg19.png);
  background-size: 84%;
}
.owl-next:hover {
  background-image: url(../images/bg20.png);
  background-size: 84%;
}

/* 右侧菜单 */
.news-list {
  width: 570px;
  height: 400px;
  /* border: 1px solid; */
}
.news-title {
  display: flex;
  width: 100%;
  height: 40px;
  font-size: 20px;
  border: 1px solid #e0e9f4;
}
.news-title a {
  width: 120px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  box-sizing: border-box;
  color: #000;
  padding: 0 10px;
}
.news-title a.active-box {
  background: #0061a3;
  color: #fff;
  font-weight: bold;
}

.news-box {
  display: none;
  width: 100%;
  color: #000000;
  border: 1px solid #e0e9f4;
  border-top: none;
}
.news-box ul li {
  display: flex;
  justify-content: space-between;
  height: 44px;
  line-height: 44px;
  border-bottom: 1px dotted #ddd;
  text-indent: 0.5em;
  font-size: 16px;
}
.news-box ul li a {
  width: 470px;
  color: #000000;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.news-box ul li span {
  width: 77px;
  margin-right: 5px;
  color: #999;
  font-size: 12px;
}

/* 中间横幅 */
.banner {
  width: 1200px;
  margin: 20px auto;
}

/* 栏目区域 */

section {
  width: 1200px;
  margin: 20px auto;
  display: flex;
}
section > div {
  width: 380px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 13px;
}
section > div h3 {
  background: url(../images/titlecontainer.jpg) no-repeat center;
  height: 38px;
  line-height: 38px;
  width: 222px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #fff;
}
.more {
  height: 35px;
}
.more a {
  font-size: 16px;
  text-align: right;
  color: #000;
  margin-right: 10px;
}

.act-list {
  border: 1px solid #d1dae4;
  border-top: 2px solid #00768d;
  margin-top: 5px;
  padding: 5px;
}
.act-list a {
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.act-img {
  height: 130px;
}
.act-img img {
  display: block;
  width: 180px;
  height: 130px;
}
.act-text {
  height: 130px;
  width: 180px;
}
.act-text > div {
  font-size: 14px;
  line-height: 35px;
  margin-left: 10px;
  font-weight: bold;
}
.act-text > div a {
  color: #111;
}

.act-list ul {
  padding-top: 10px;
  width: 100%;
  color: #000000;
  height: 280px;
}
.act-list ul li {
  display: flex;
  justify-content: space-between;
  height: 45px;
  line-height: 45px;
  border-bottom: 1px dotted #ddd;
  text-indent: 0.5em;
}
.act-list ul li a {
  width: 274px;
  color: #000000;
  font-size: 16px;
}
.act-list ul li span {
  width: 77px;
  color: #999;
  margin-right: 10px;
  font-size: 12px;
}

.act-list .act-img-active {
  width: 350px;
  height: 180px;
  position: relative;
  margin: 0 auto;
}
.act-img-active > .act-top-img {
  position: absolute;
  height: 180px;
  width: 350px;
  top: 0;
}
.act-img-active > .act-top-img img {
  width: 100%;
  height: 180px;
}

.tpbt {
  width: 100%;
  height: 40px;
  line-height: 40px;
  background-color: #b29744;
  background: rgba(0, 0, 0, 0.4);
  color: #fff !important;
  font-size: 14px;
  text-align: center;
  position: absolute;
  bottom: 0;
}
.tpbt a {
  color: #fff !important;
  font-size: 14px;
}
/* 图说节水部分 */
.tsjs {
  margin-top: 20px;
}
.tsjs-title {
  background: url(../images/tssl.jpg) no-repeat;
  height: 48px;
  line-height: 48px;
  width: 670px;
  margin: 0 auto;
}

.tsjs-title a {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  width: 100%;
  height: 100%;
  display: block;
}

.tsjs-main {
  position: relative;
  width: 1200px;
  margin: 0 auto;
  margin-top: 10px;
  /* outline: 1px solid; */
  height: 230px;
  overflow: hidden;
}
.tsjs-main:hover ul {
  animation-play-state: paused;
}
.tsjs-main ul {
  position: absolute;
  top: 25px;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: run 25s infinite linear;
}
.tsjs-main ul li {
  margin: 0 5px;
  width: 226px;
  height: 170px;
}
.tsjs-main ul li img {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes run {
  0% {
    transform: translate(0);
  }
  100% {
    transform: translate(-2124px);
  }
}

/* 友情链接 */
.friend-link {
  border-top: 6px solid #0064a8;
  background: #e8e8e8;
  color: #013270;
  height: 105px;
  font-size: 20px;
}
.friend-link > div {
  display: flex;
  /* justify-content: space-around; */
  /* align-items: center; */
}
.friend-link > div span {
  margin-top: 20px;
  margin-left: 20px;
}
.friend-link > div a {
  margin-left: 80px;
  display: block;
  height: 105px;
  width: 180px;
  margin-top: 20px;
  color: #013270;
  font-size: 18px;
  position: relative;
  font-weight: 500;
}
.friend-link > div a:nth-of-type(2) {
  margin-left: 10px;
}
.friend-link > div a::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border: 8px solid #013270;
  position: absolute;
  left: -30px;
  top: 5px;
  border-color: transparent transparent transparent #013270;
}
/* 页脚部分 */
footer {
  border-bottom: 20px solid #0064a8;
  background-color: #b5dcf5;
  height: 100px;
}
footer div {
  line-height: 100px;
  font-size: 18px;
  text-align: center;
}

