/* 搜索框 */
.searchWrap {
  z-index: 999;
  top: -3000px;
  /* top: 0; */
  left: 0;
  width: 100vw;
  height: 100vh;
  /* overflow: auto; */
  position: fixed;
  /* -webkit-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s; */
  display: flex;
  flex-direction: column;
}
.searchHd {
  width: 100%;
  height: 144px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  background-color: rgb(5, 24, 64, 1);
  padding-bottom: 46px;
}
.searchRight img {
  cursor: pointer;
  height: 22px;
}

.searchLeft {
  height: 36px;
  width: 25%;
}

.searchRight {
  height: 36px;
  display: flex;
  align-items: center;
  width: 25%;
  justify-content: center;
}
.empty {
  display: none;
  margin-top: 3%;
  text-align: center;
}
.empty img {
  height: 320px;
}
.searchBd {
  flex: 1;
  padding-top: 30px;
  overflow: auto;
  width: 100%;
  background-color: rgba(9, 6, 41, 0.9);
  /* min-height: calc(100vh - 144px); */
}

/* 搜索框内容 */
.searchTool {
  height: 36px;
  display: flex;
  align-items: center;
}
/* .searchTool img {
  display: none;
  height: 22px;
} */
.searchBox {
  flex: 1;
  display: flex;
  justify-content: center;
}
.searchBoxInner {
  position: relative;
  padding: 0 10px;
  width: 80%;
  height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(78, 154, 236, 0.2);
}
.recommend {
  height: 46px;
  display: flex;
  align-items: center;
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  color: #88694a;
}
.recommend a {
  margin-left: 20px;
}
.recommend a:hover {
  color: #88694a;
}

.searchBoxInner input {
  color: #fff;
  width: 80%;
}
.searchBox i {
  cursor: pointer;
  float: right;
  color: #88694a;
  font-size: 22px;
}
.viewSearch {
  z-index: 9;
  min-height: 200px;
  padding: 10px;
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background-color: rgb(3, 40, 92, 0.9);
  color: #fff;
}

.viewSearch .viewSearchItem {
  width: 100%;
  cursor: pointer;
  margin-bottom: 10px;
  height: 50px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
}
.viewSearchItem p {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.viewSearchItem .viewImg {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-right: 10px;
  background-color: #fff;
  border-radius: 24px;
}
.viewSearchItem img {
  /* width: 100%; */
  height: 100%;
}
/* 搜索框 */

/* 搜索框内容 */
.searchContent {
  padding: 10px;
  margin: 0 auto;
  width: 54%;
  display: none;
}

.searchCardInner {
  width: 102%;
  overflow: hidden;
  clear: both;
}

.searchCardWrap {
  width: 100%;
  margin-bottom: 20px;
}

.searchContent .indexInews {
  max-width: 830px;
  background: #051840;
  background: linear-gradient(-45deg, transparent 30px, #fff 0);
  width: 100%;
  /* background-color: #fff; */
  padding: 0 20px;
}
.searchContent .indexInews a:last-child .indexInewsItem {
  border-bottom: unset;
}
.searchContent .indexInews .indexInewsItem {
  padding: 20px 0;
  display: flex;
  border-bottom: 1px dashed #000;
}
.searchContent .indexInewsImg {
  overflow: hidden;
  height: 150px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}
.searchContent .indexInewsValue {
  flex: 1;
  color: #999999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.searchContent .indexInewsValue p {
  /* height: 100px; */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 10px;
}
.searchContent .indexInewsValue h3 {
  color: #4a4a4a;
  font-size: 16px;
  margin-bottom: 10px;
}

.searchCardWrap .searchCardInner .card {
  max-width: 270px;
  width: 32%;
}

.card .cardInner {
  min-height: 420px;
}

@media screen and (max-width: 1280px) {
  .searchCardWrap .searchCardInner {
    width: 101%;
  }
  .searchCardWrap .searchCardInner .card {
    width: 49%;
  }
}

.moblie-search-close {
  display: none;
}

@media screen and (max-width: 480px) {
  .searchRight {
    width: 0.53rem;
  }
  .searchRight img {
    display: none;
  }
  .searchLeft {
    width: 0.47rem;
    margin: 0 0.53rem;
    display: flex;
    align-items: center;
  }
  .moblie-search-close {
    display: block;
    width: 0.47rem;
    height: 0.47rem;
  }
  .searchBd {
    padding-top: 0;
  }
  .searchHd {
    align-items: center;
    height: 2.6rem !important;
    padding-bottom: 0.8rem;
  }
  .recommend {
    font-size: 0.37rem;
  }
  .searchBoxInner input {
    font-size: 0.37rem;
    font-weight: 400;
    color: #ffffff;
  }

  .searchBoxInner {
    width: 100%;
  }

  .searchContent {
    padding: 0.35rem;
    width: 100%;
  }
  .card .cardInner {
    min-height: 6.8rem;
    /* height: 6rem; */
    overflow: hidden;
  }
  .searchCardWrap .searchCardInner .card {
    width: 50%;
    padding: 0 0.15rem;
    /* margin-right: 0.36rem; */
    margin-bottom: 0.36rem;
  }

  .searchCardWrap .searchCardInner {
    width: 100%;
  }
  .searchContent .indexInewsValue h3 {
    font-size: 0.37rem;
    font-weight: 400;
    color: #4a4a4a;
  }
  .searchContent .indexInewsValue p {
    display: none;
  }
  .searchContent .indexInews {
    padding: 0 0.4rem;
  }
  .searchContent .indexInews .indexInewsItem {
    padding: 0.53rem 0;
    border-bottom: 0.02rem dashed rgb(151, 151, 151, 0.3);
  }
  .searchContent .indexInewsImg {
    width: 2.88rem;
    height: 2rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.4rem;
  }
  .empty img {
    margin-top: 4rem;
    height: 4rem;
    width: auto;
  }
  .card .cardTop {
    width: 100%;
  }
}
