header{
  box-shadow: 0 0 0 0 #000;
}
/* nav */
.nav{
  /* height: 491px; */
  background: url(../images/gallery_banner.png) no-repeat;
  background-size: 100% 100%;
  overflow: hidden;
}
.nav .nav_nav{
  width: 53.8%;
  height: 77px;
  margin-top: 60px;
  display: flex;
  align-items: center;
  background: #fff;
  width: 100%;
  border-radius: 5px;
  padding: 0 56px;
  box-sizing: border-box;
}
@media screen and (max-width) {
  
}
.nav .nav_nav>ul{
  display: flex;
  height: 77px;
  margin-bottom: 0;
}
.nav .nav_nav>ul>.text18{
  padding: 0 27px;
  height: 77px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  border-top: 3px solid #fff;
  position: relative;
}
.nav .nav_nav ul>.text18:hover{
  border-top: 3px solid #1b97f6;
  background: #eee;
}
.nav .nav_nav ul .nav_active{
  /*border-top: 3px solid #1b97f6;
  background: #eee;*/
}
.nav .nav_nav ul>li:hover .nav_ej{
 display: block;
}
.nav .nav_nav ul li .nav_ej{
  display: none;
  line-height: 1;
  position: absolute;
  top: 73px;
  left: -57px;
  width: 276px;
}
.nav .nav_nav ul li .nav_ej ul{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  padding: 11px 39px;
  box-sizing: border-box;
  text-align: center;
}
.nav .nav_nav ul li .nav_ej ul li{
  width: calc(50% - 10px);
  line-height: 40px;
}
.nav .nav_nav ul li .nav_ej ul li a{
  display: block;
  width: 100%;
  text-align: center;
  color: #333;
}
.nav .nav_nav ul li .nav_ej ul li a:hover{
  color: #1b97f6;
}

/* search */
.search{
  width: 53.8%;
  height: 70px;
  display: flex;
  border-radius: 39px;
  overflow: hidden;
  margin: 0 auto;
  margin-top: 60px;
  background: #fff;
}
.search input{
  flex: 1;
  border: none;
  outline: none;
  text-indent: 42px;
  color: #999;
}
.search button{
  width: 117px;
  border: none;
  background:#1b97f6 url(../images/seacrh.png) no-repeat 45% 50%;
}

/* hot */
.hot{
  display: flex;
  margin-top: 50px;
  /* margin-bottom: 0 !important; */
}
.hot h2{
  color: #Fff;
  width: 180px;
  line-height: 51px;
    margin: 0;
}
.hot ul {
  flex: 1;
}
.hot ul li{
  box-sizing: border-box;
  padding: 0 42px;
  line-height: 51px;
  float: left;
  border-radius: 25px;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  margin-left: 16px;
  /*margin-bottom: 20px;*/
  cursor: pointer;
  margin-bottom: 10px;
}
.gallery_detail{
  position: relative;
}
.gallery_detail_nav{
  box-sizing: border-box;
  padding: 29px 40px;
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.3) ;
  position: relative;
  top: -63px;
  left: 0;
  z-index: 10;
  background: #fff;
}
.gallery_detail_nav div{
  display: flex;
}
.gallery_detail_nav div h3{
  width: 82px;
  color: #333;
}
.gallery_detail_nav ul{
  flex: 1;
}
.gallery_detail_nav ul li{
  float: left;
  padding: 0 28px;
  margin-bottom: 14px;
  cursor: pointer;
}
.gallery_detail_nav ul li:hover{
  color: #1b97f6;
}
.detail_title{
  margin-top: 39px;
}
.detail_title h3{
  display: flex;
  align-items: center;
  color: #faa707;
}
.detail_title h3 img{
  display: inline-block;
  margin-right: 7px;
}
.detail_items ul{
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}
.detail_items ul li{
  float: left;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 29px;
  position: relative;
  width: calc(33.3% - 18px);
  height: 352px;
  border: 3px solid #fff;
  box-sizing: border-box;
}
.detail_items ul li:hover{
  border: none;
}
.detail_items ul li a{
  height: 100%;
  width: 100%;
}
.detail_items ul li img{
  width: 100%;
  height: 100%;
    object-fit: contain;
}
.detail_items ul li:not(:nth-child(3n)){
  margin-right: 27px;
}
.detail_items ul li .item_modal{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: url(../images/modal2.png);
  background-size: 100% 100%;*/
    background: linear-gradient( 
180deg
 ,hsla(0,0%,100%,0) 50%,rgba(0,0,0,.3));
  display: none;
}
.detail_items ul li .none{
  height: 66px;
  line-height: 66px;
  text-indent: 23px;
  color: #fff;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(0,0,0,0);
  overflow: hidden;
  text-overflow:ellipsis;
  white-space: nowrap;
}
.detail_items ul li:hover .item_modal{
  display: block;
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
  .search{
    height: 50px;
  }
  .hot h2{
    width: 100px;
  }
  .gallery_detail_nav div h3{
    width: 48px;
  }
  .detail_items ul li .none{
    height: 40px;
    line-height: 40px;
  }
}
@media screen and (max-width: 767px) {
  .search{
    width: 80%;
    height: 30px;
    margin-top: 10px;
  }
  .search button{
    width: 15%;
    background-size: 26.7%;
  }
  .nav .nav_nav{
    display: none;
  }
  .hot{
    display: block;
    margin: 10px 0 !important;
    padding: 0 5px;
  }
  .hot h2{
    line-height: 30px;
    font-size: 12px;
    width: 100%;
    text-align: center;
  }
  .hot ul{
    flex: 7;
  }
  .hot ul li{
    padding: 0 20px;
    line-height: 30px;
    margin-bottom: 10px
  }
  .gallery_detail{
    box-sizing: border-box;
    padding: 10px;
  }
  .detail_title{
    margin: 0;
  }
  .detail_items ul{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .detail_items ul li{
    width: calc(50% - 5px);
    margin-top: 5px;
    height: 140px;
  }
  .detail_items ul li:not(:nth-child(3n)){
    margin-right: 0;
  }
  .detail_footer{
    margin: 20px 0;
  }
  .detail_footer button{
    width: 25px;
    height: 25px;
    line-height: 25px;
    margin: 0 3px;
    font-size: 8px !important;
  }
  .detail_footer .left_btn, .detail_footer .right_btn{
    width: 49px;
  }
  .detail_items ul li .none{
    height: 33px;
    line-height: 33px;
    font-size: 12px;
  }
  .gallery_detail_nav{
    display: none;
  }
}