﻿/**************************************************************************组件样式******************************************************************************************************/
.container {
  width: 95%;
  margin: 0 auto;}

@media (min-width: 1080px) {
  .container {
    width: 1000px;}
}
@media (min-width: 1280px) {
  .container {
    width: 1200px;}
}
@media (min-width: 1600px) {
  .container {
    width: 1460px;}
}
img {
  max-width: 100%;
  border: none;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;}

.wrapper {
  position: relative;
  overflow: hidden;}

/* 动画延迟结束 */




/* row4 */
.row4 {
  padding: 5rem 0;}

.index-xgbd {
  position: relative;}
.index-xgbd li * {
  -webkit-transition: 0.5s;
  transition: 0.5s;}
.index-xgbd li .pic {
  width: 100%;
  position: relative;
  padding-bottom: 56%;
  overflow: hidden;}
.index-xgbd li .img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-position: center;
  background-size: cover;
  -webkit-transition: 0.5s;
  transition: 0.5s;}
.index-xgbd li .img:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);}
.index-xgbd li .txt {
  padding: 0.1rem 1.75rem;
  background: #fff5df;}
.index-xgbd li .date {
  font-size: 0.875rem;
  color: #8a1618;
  position: relative;}
.index-xgbd li .date:after {
  content: "";
  width: 80%;
  height: 1px;
  background: -webkit-gradient(linear, left top, right top, from(rgba(138, 22, 24, 0)), to(rgb(138, 22, 24)));
  background: linear-gradient(to right, rgba(138, 22, 24, 0), rgb(138, 22, 24));
  position: absolute;
  right: 0;
  top: 50%;}
.index-xgbd li h2 {
  margin-top: 1rem;
  font-size: 1rem;
  color: #333333;
  font-weight: bold;
  line-height: 15px;
  height: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;}
.index-xgbd li .abst {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #888888;
  line-height: 25px;
  height: 75px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;}
.index-xgbd li .more {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 24px;
  color: #e4b859;
  padding-left: 30px;
  background: url(../image/more.png) left center no-repeat;}
.index-xgbd li:hover .txt {
  background: #0a4586;}
.index-xgbd li:hover .date {
  color: #ffb46d;}
.index-xgbd li:hover .date:after {
  background: -webkit-gradient(linear, left top, right top, from(rgba(255, 180, 109, 0)), to(rgb(255, 180, 109)));
  background: linear-gradient(to right, rgba(255, 180, 109, 0), rgb(255, 180, 109));}
.index-xgbd li:hover h2 {
  color: #fff;}
.index-xgbd li:hover .abst {
  color: #fff;
  opacity: 0.4;}
.index-xgbd li:hover .more {
  color: #ffb46d;
  background: url(../image/more21.png) left center no-repeat;}
.index-xgbd .xgbd-prev,
.index-xgbd .xgbd-next {
  width: 2.25rem;
  height: 2.25rem;
  position: absolute;
  top: 50%;
  margin-top: -1.125rem;
  z-index: 9;
  cursor: pointer;
  -webkit-transition: 0.5s;
  transition: 0.5s;}
.index-xgbd .xgbd-prev {
  background: url(../image/xgbd-prev.png);
  background-size: 100% 100%;
  left: -4rem;}
.index-xgbd .xgbd-next {
  background: url(../image/xgbd-next.png);
  background-size: 100% 100%;
  right: -4rem;}
/*.index-xgbd .xgbd-prev:hover {
  background: url(/logo/xgbd-prev-on.png);
  background-size: 100% 100%;
}
.index-xgbd .xgbd-next:hover {
  background: url(/logo/xgbd-next-on.png);
  background-size: 100% 100%;
  right: -4rem;
}*/
.index-xgbd .xgbd-pagination {
  text-align: center;
  position: relative;
  margin-top: 1.875rem;
  display: none;}
.index-xgbd .xgbd-pagination span {
  margin: 0 4px;}
.index-xgbd .xgbd-pagination .swiper-pagination-bullet-active {
  background: #0a4586;}

/* row4 */
@media (max-width: 1600px) {
  .index-xgbd .xgbd-prev {
    left: -45px;}
  .index-xgbd .xgbd-next {
    right: -45px;}
}

@media (max-width: 1080px) {
 
  .index-xgbd .xgbd-prev,
  .index-xgbd .xgbd-next {
    display: none;}
  .index-xgbd .xgbd-pagination {
    display: block;}
 
}
@media (max-width: 768px) {

  .menu-btn {
    right: 80px;
    top: 35px;}

  .row4 {
    padding: 2em 0;
    overflow: hidden;}
 
}

