/* 移动端头部 */
/* 小屏头部导航 */
.search-input {
  display: none;
  width: calc(100% - 36px);
  height: 100%;
}

.search-border {
  width: 36px;
  box-sizing: border-box;
  height: 36px;
  border-radius: 36px;
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 0;
  font-size: 34px;
  color: #fff;
  border: 1px solid #fff;
}

.search-input input {
  height: 100%;
  width: 100%;
  font-size: 14px;
  color: #32AC71;
  outline: none;
  border: 0;
  float: left;
  box-sizing: border-box;
  padding: 0 0 0 15px;
  background: rgba(255, 255, 255, 0);
}

.search-icon.active .search-border .search-input {
  display: block;
}

.search-icon.active .search-border:hover {
  border: 1px solid #32AC71;
}

.search-icon.active::before {
  position: fixed;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100;
}

.search-icon.active .search-border:hover {
  border: 1px solid #32AC71;
}

.search-icon.active .search-border {
  width: 360px;
  box-sizing: border-box;
  border: 1px solid #32AC71;
  height: 36px;
}

.search-icon::before {
  left: 0;
  top: 0;
  right: 0;
  content: "";
  bottom: 0;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  background: rgba(0, 0, 0, 0);
  z-index: -1;
}

body.active {
  /* overflow: hidden; */
}

.mobile_header {
  display: none;
  width: 100%;
  height: 100px;
  background-color: #33AC71;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0 15px;
}

.mobile_header .header-right {
  right: 6%;
  max-width: 31%;
}

.mobile_header>div {
  height: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 9999;
  position: relative;
}

.mobile_header>div>div.w12 {
  height: 100%;
}

.mobile_header .mobile_header_logo {
  max-height: 83%;
  max-width: 36%;
  min-width: 200px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.mobile_header_r {
  font-size: 0;
  color: #ffffff;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.mobile_header_menu {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.mobile_header_menu>span {
  display: block;
  width: 20px;
  height: 2px;
  margin-bottom: 5px;
  background: #fff;
  border-radius: 2px;
  -webkit-transform-origin: 20px;
  transform-origin: 19px;
  transition: background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease, transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), width 0.5s;
}

.mobile_header_menu>span:last-child {
  margin-bottom: 0;
}

.mobile_header_menu.active>span {
  opacity: 1;
  transform: rotate(45deg);
}

.mobile_header_menu.active>span:first-child {
  opacity: 1;
  transform: rotate(-45deg);
  position: relative;
  top: 1px;
}

.mobile_header_menu.active>span:nth-child(2) {
  width: 0;
  opacity: 0;
  transform: rotate(0);
  transition: width 0.5s;
}

#menu-wrapper {
  position: fixed;
  top: 85px;
  left: 0;
  z-index: 999;
  background-color: #33AC71;
  width: 100%;
  color: #ffffff;
  height: calc(100% - 70px);
}

#menu-wrapper.active {
  display: none;
}

#menu-wrapper>div>ul {
  overflow-y: auto;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

#menu-wrapper .mobile_menu_item1 {
  line-height: 50px;
  position: relative;
  padding: 0 5%;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

#menu-wrapper .mobile_menu_item2 {
  background-color: #33AC71;
  display: none;
  color: rgba(255, 255, 255, 0.8);
}

#menu-wrapper .mobile_menu_item2 .arrow_btn::before {
  border-top: 2px solid rgba(255, 255, 255, 0.8);
  border-left: 2px solid rgba(255, 255, 255, 0.8);
}

#menu-wrapper .mobile_menu_item2>li {
  line-height: 50px;
  position: relative;
  padding-left: 7%;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

#menu-wrapper li a {
  z-index: 2;
  position: relative;
  color: #fff;
}

.arrow_btn {
  width: 80%;
  height: 100%;
  position: absolute;
  right: 5%;
  top: 0;
}

.arrow_btn.active::before {
  transform: rotate(45deg);
}

.arrow_btn::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-radius: 2px;
  -webkit-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  -o-transform: rotate(225deg);
  transform: rotate(225deg);
  -webkit-transition: transform 0.3s ease-in-out;
  -moz-transition: transform 0.3s ease-in-out;
  -ms-transition: transform 0.3s ease-in-out;
  -o-transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  right: 22px;
  margin: -7px 0 0;
}

/* 缩小后列表 */
.menu-mobile {
  width: 50px;
  height: 60px;
  position: fixed;
  right: 30px;
  top: 30px;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  display: none;
  transition: 0.5s;
  -webkit-transition: 0.5s;
}

.menu-mobile.active {
  right: 50px;
  z-index: 3;
}

.menu-mobile.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-mobile.active .menu-line:nth-child(2) {
  opacity: 0;
}

.menu-mobile.active .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.menu-line {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  margin: 2.5px auto;
  background: #fff;
  transform-origin: center center;
  -webkit-transform-origin: center center;
}

@media (max-width: 1300px) {
body{
    overflow-y: scroll;
}
footer .middle>img {
    left: 0px;
    margin: 20px 0;
}
  .home-news .inner {
    width: 90%;
    flex-direction: column;
  }

  .home-news .inner .left {
    width: 100%;
  }

  .home-news .inner .right {
    width: 100%;
  }

  .home-one .inner {
    width: 90%;
  }

  .home-news .inner .left .main .banner-left {
    width: 45%;
  }

  .home-news .inner .left .main .banner-right {
    width: 45%;
  }

  header>.inner {
    display: none;
  }

  header>.mobile_header {
    display: block;
  }

  header>.nav {
    display: none;
  }

  .header-right {
    right: -170px;
  }

  .search-icon {
    position: absolute !important;
    top: 32%;
    right: 8%;
    color: #fff !important;
  }
}

/* 头部移动端样式 */
@media (max-width: 1200px) {
  .home-show > .main2 .image{
    width: 20%;
  }

  .serve {
    padding: 0px 0 40px !important;
  }

  .serve .inner {
    width: 95%;
  }

  .serve .inner .right {
    width: 100% !important;
  }

  .serve .inner {
    flex-direction: column;
  }

  .serve .inner .left .top {
    display: none !important;
  }

  .serve .inner .left {
    display: flex;
    width: auto !important;
    align-items: flex-end;
  }
.serve .inner .left .bottom{
 display: flex;
width:100%;
margin:20px 0;
}
  .donate-list .inner {
    padding: 10px 20px;
  }

  .donate-list .inner .item {
    width: 47%;
  }

  .donate-right-item {
    width: 90%;
  }

  .donate-right-main {
    flex-direction: column;
    align-items: center;
  }

  .biref .inner {
    width: 100%;
    padding: 30px 20px;
  }

  .image-g {
    position: relative;
    margin-top: 85px;
  }

  .w12 {
    width: 90%;
  }

  .dynamic .picture .item {
    width: 45%;
  }

  .donate .inner {
    flex-direction: column;
    align-items: center;
  }

  .donate .left,
  .donate .right {
    width: 90%;
  }

  .donate .left .index_donate .top-left-main .index_donate_left_list .left-main-item {
    width: 47%;
  }

  .donate-list .inner {
    justify-content: space-between;
  }

  .donate-list .inner .item {
    margin-right: 0;
  }
}

@media (max-width: 1000px) {
  .home-show > .main2 .wrapper{
    perspective: none;
    position: relative;
  }
  footer .top {
    height: auto;
    padding: 20px 0;
  }
  .home-show > .main2 .qiehuan{
    display: none;
  }
  .home-show > .main{
    height: auto;
  }
  .home-show > .main2 .image{
    transform: none !important;
    float: none !important;
    position: relative;
    width: 100% !important;
  }
  .home-show > .main2 .box{
    height: auto;
  }
  .donate .right .main .item .item-right {
    width: 80%;
  }

  footer .top .inner {
    flex-wrap: wrap;
    padding: 0 20px;
  }

  footer .top .inner p,footer .top .inner div {
    margin-bottom: 10px;
  }


  .child .column .inner .left {
    display: none;
  }



  .donate .right .main .item {
    width: 100%;
  }

  .donate .right .main {
    flex-direction: column;
    align-items: center;
  }

  .inform .inner {
    flex-direction: column;
    align-items: center;
  }

  .inform .inner .left {
    width: 90%;
    padding: 0px;
  }

  .project .inner .main .item {
    width: 40%;
  }

  .project .inner .main .item {
    margin-bottom: 20px;
  }

  .project .inner .main .item:nth-of-type(4) {
    align-self: flex-start;
  }

  .project {
    padding: 40px 0;
  }

  .project .inner>.donates {
    margin-top: 40px;
    padding: 0 10px;
  }

  footer .bottom .inner .one {
    flex-direction: column;
    align-items: center;
  }

  footer .bottom .inner .one img {
    margin-bottom: 20px;
    margin-right: 0;
  }

  footer .bottom .inner .one .right {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 850px) {
footer .bottom .inner{
display:block;
}
footer .middle .left > p{
    flex-direction: column;
}
footer .middle .left > p span{
width:100%;
}
footer .middle .left > p span:nth-of-type(1){
    margin-bottom: 30px;

}
  .home-show>.main {
    min-height: auto;
  }

  footer .middle .left>img {
    margin: 0 auto;
    display: block;
  }

  .menu-mobile {
    display: flex;
  }

  footer .middle .right {
    margin: 20px 0;
  }

  footer .middle {
    flex-direction: column;
    align-items: center;
  }

  .mySwiper2 {
    margin-top: 100px;
    width: 100%;
    height: 50vw;
    animation-name: none !important;
  }

  .donate .left .index_donate .top-left-main .index_donate_left_list .left-main-item {
    width: 100%;
  }

  .banner-title {
    display: none;
  }

  .banner-title .inner>p:nth-of-type(1) {
    display: none;
  }

  .home-one {
    padding: 30px 0;
  }

  .home-show>.main3 .swiper-slide {
    flex-direction: column;
  }

  .home-show>.main {
    height: auto;
  }

  .mySwiper2 .bb {
    display: none;
  }

  .home-show>.main3 .swiper-slide .smallimg img {
    margin-top: 20px;
    width: 40%;
  }

  .home-show>.main3 .swiper-slide .smallimg {
    width: 90%;
  }

  .home-show>.main3 .swiper-slide .bigimg {
    width: 90%;
  }

  .home-news .inner .right .title {
    margin-top: 30px;
  }

  .home-news .inner .left .main {
    flex-direction: column;
  }

  .home-news .inner .left .main .banner-left {
    width: 100%;
    margin-bottom: 50px;
  }

  .home-news .inner .left .main .banner-right {
    width: 100%;
  }

}

@media (max-width: 650px) {
  .donate-list .inner .item {
    width: 100%;
  }

  .menu-mobile {
    top: 20px;
  }

  .donate-list .inner .item .img {
    max-height: 100%;
  }

  .news .inner .item .img {
    display: none;
  }

  .dynamic .picture .item {
    width: 90%;
  }

  .news .inner .item .right {
    width: 80%;
  }

  .dynamic .picture {
    justify-content: center;
  }

  .project .inner .main .item {
    width: 90%;
  }

  .child .column .inner {
    display: none;
  }
}

@media (max-width: 600px) {
  .menu-mobile {
    top: 20px;
  }

  footer .top .inner .left .lianjie p {
    width: 48%;
  }
}

@media (max-width: 500px) {
  .search-icon.active .search-border {
    width: 200px;
  }

  .home-one .inner .main {
    flex-direction: column;
    align-items: center;
  }

  .home-one .inner .main img {
    width: 100%;
    margin-bottom: 10px;
  }

  .home-show>.nav .inner>p {
    font-size: 20px;
  }

  .home-show>.main {
    padding: 30px 0;
  }

  .serve .inner .left {
    display: none;
  }

  .serve .inner .right .top p:nth-of-type(1) {
    line-height: 46px;
  }
}

@media (max-width: 450px) {
  .menu-mobile {
    right: 0;
  }

  .donate .right .main .item img {
    display: none;
  }

  .donate .right .main .item .item-right {
    width: 100%;
  }
}