input[type=text],
input[type=date],
input[type=number] {
  background-color: #fff2f4;
  border-radius: 4px;
  overflow: hidden;
}
input[type=checkbox],
input[type=radio] {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  min-width: 15px;
  height: 15px;
  background-color: #fff2f4;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}
input[type=checkbox]:checked::before,
input[type=radio]:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #f0556b;
}
button {
  background-color: #f8b0ba;
  outline: none;
  border: none;
  color: white;
  cursor: pointer;
}
button.disabled {
    background-color: #f8b0ba !important;
    cursor: not-allowed;
}
button:active {
  background-color: #f0556b;
}

.wrapper {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.profile-detail-btn {
    color: #f0556b;
    cursor: pointer;
}

/* header */
.header {
  height: 80px;
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  box-shadow: 0px 0px 15px 3px #f0556b;
  padding: 0 5%;
  display: none;
}
.header .wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .left {
  height: 100%;
  display: flex;
  align-items: center;
}
.header .left img {
  border-right: 1px solid #be9393;
  padding-left: 15px;
  padding-right: 20px;
  cursor: pointer;
}
.header .left img:first-of-type {
  padding-left: 0;
}
.header .left img:last-of-type {
  border-right: 0;
  padding-right: 0;
}
.header .right ul {
  display: flex;
  align-items: center;
  color: #f0556b;
  font-weight: bolder;
}
.header .right ul li {
  padding: 0 24px;
  font-size: 15px;
}
.header .right ul li span {
  cursor: pointer;
}
.header .right ul li:first-of-type {
  padding-left: 0;
}
.header .right ul li:last-of-type {
  padding-right: 0;
}
.header .right ul button {
  width: 100px;
  height: 30px;
  border-radius: 50px;
  background-color: #f0556b;
  transition: all .15s;
}
.header .right ul button:active {
  transform: scale(.95);
}
.header .right .menu-icon {
  width: 30px;
  cursor: pointer;
  display: none;
}
.header .right .menu-icon img {
  width: 100%;
}

/* banner */
.banner {
  background-image: url(../../../donate/assets/images/banner01-bg.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 150vw;
  max-height: 600px;
  position: relative;
  overflow: hidden;
}
.banner .family-img {
  width: 500px;
  position: absolute;
  bottom: 25px;
  left: 8%;
}
.banner .topic {
  width: 400px;
  position: absolute;
  top: 15%;
  right: 20%;
  color: white;
  white-space: nowrap;
}
.banner .banner-logo {
  width: 180px;
  height: 180px;
  background-color: white;
  cursor: pointer;
  border-radius: 50%;
  position: absolute;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 3px 9px 2px #f0556b;
  transition: all .2s;
}
.banner .banner-logo.imeddy {
  top: 15%;
  left: 10%;
}
.banner .banner-logo.imeddy:hover {
  top: 14%;
}
.banner .banner-logo.love {
  top: 10%;
  left: 25%;
}
.banner .banner-logo.love:hover {
  top: 9%;
}
.banner .go {
  width: 120px;
  height: 120px;
  background-color: white;
  color: #f0556b;
  font-weight: bolder;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 15%;
  bottom: 20%;
  cursor: pointer;
  box-shadow: 0px 0px 15px 3px #fbd4d9;
  transition: all .2s;
}
.banner .go:hover {
  bottom: 21%;
}
.banner .banner-logo:active,
.banner .go:active {
  transform: scale(.95);
}


/* 主辦機構 */
.main-mechanism {
  padding: 100px 5%;
}
.main-mechanism>.title {
  text-align: center;
  font-size: 22px;
  font-weight: bolder;
  margin-bottom: 60px;
}
.main-mechanism .item-list {
  display: flex;
  justify-content: space-around;
}
.main-mechanism .item-list .item {
  box-shadow: 0px 0px 15px 3px #fbd4d9;
  width: 450px;
  border-radius: 6px;
  overflow: hidden;
  padding: 30px 25px 40px 25px;
  text-align: center;
  margin-right: 60px;
}
.main-mechanism .item-list .item:last-of-type {
  margin-right: 0;
}
.main-mechanism .item-list .item .logo {
  margin: 0 auto;
  margin-bottom: 20px;
}
.main-mechanism .item-list .item.imeddy {
  background-image: url(../../../donate/assets/images/img01.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 50%;
}
.main-mechanism .item-list .item.love .name {
  font-weight: bolder;
  margin-bottom: 4px;
}
.main-mechanism .item-list .item.love .code {
  font-size: 13px;
  white-space: nowrap;
}
.main-mechanism .item-list .item.love .introduction {
  margin: 25px 0;
}
.main-mechanism .item-list .item.love .introduction .introduction-title {
  margin-bottom: 4px;
  font-weight: bolder;
}
.main-mechanism .item-list .item.love .introduction .introduction-desc {
  font-size: 13px;
}
.main-mechanism .item-list .item.love .label > li {
  background-color: #fff2f4;
  font-weight: bolder;
  font-size: 14px;
  margin-bottom: 10px;
  padding: 12px 0;
}
.main-mechanism .item-list .item.love .label > li:last-of-type {
  margin-bottom: 0;
}
.main-mechanism .item-list .item.love .label > li>div:first-of-type {
  margin-bottom: 2px;
}

/* 流程 */
.ad {
  background-color: #fff2f4;
  padding: 80px 5%;
}
.ad .info {
  margin-bottom: 40px;
  position: relative;
}
.ad .info .card {
  background-color: #f0556b;
  color: white;
  font-size: 20px;
  font-weight: bolder;
  padding: 20px;
  width: 280px;
  border-radius: 8px;
  margin-bottom: 40px;
}
.ad .info .card>div:first-of-type {
  margin-bottom: 3px;
}
.ad .info .info-introduction {
  display: flex;
}
.ad .info .info-introduction > li {
  max-width: 310px;
  margin-right: 40px;
  width: 15vw;
}
.ad .info .info-introduction > li:last-of-type {
  margin-right: 0;
}
.ad .info .info-introduction > li .title {
  font-size: 18px;
  font-weight: bolder;
  margin-bottom: 7px;
}
.ad .info .info-introduction > li .desc {
  font-size: 15px;
}
.ad .info .ad-image {
  width: 500px;
  height: 300px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0px 0px 15px 3px #fbd4d9;
  position: absolute;
  right: 5%;
  top: 0;
  transform: rotate(2deg);
  -webkit-transform: rotate(2deg);
  -moz-transform: rotate(2deg);
  -ms-transform: rotate(2deg);
  overflow: hidden;
}
.ad .info .ad-image img {
  width: 100%;
  height: 100%;
}
.ad .process .process-title {
  font-size: 18px;
  font-weight: bolder;
  margin-bottom: 50px;
}
.ad .process .process-list {
  display: flex;
  justify-content: space-between;
}
.ad .process .process-list > li {
  width: 15%;
}
.ad .process .process-list > li .icon {
  text-align: center;
  margin-bottom: 20px;
}
.ad .process .process-list > li .icon img {
  height: 150px;
}
.ad .process .process-list > li .title {
  font-weight: bolder;
  margin-bottom: 5px;
}
.ad .process .process-list > li .desc {
  font-size: 14px;
}


/* 支持機構 */
.support-mechanism {
  padding: 100px 5%;
}
.support-mechanism > .title {
  text-align: center;
  font-size: 22px;
  font-weight: bolder;
  margin-bottom: 90px;
}
.support-mechanism .peoples,
.support-mechanism .suports {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: 100px;
}
.support-mechanism .peoples > li {
  margin-right: 100px;
}
.support-mechanism .suports > li {
    margin-right: 80px;
}
.support-mechanism .peoples > li:last-of-type,
.support-mechanism .suports > li:last-of-type {
  margin-right: 0;
}
.support-mechanism .peoples > li .img,
.support-mechanism .suports > li .img {
  margin-bottom: 20px;
  width: 230px;
    margin-left: auto;
    margin-right: auto;
}
.support-mechanism .peoples > li .name,
.support-mechanism .suports > li .name {
  font-size: 18px;
}
.support-mechanism .company {
  display: flex;
  align-items: center;
}
.support-mechanism .company li {
  flex-grow: 1;
  text-align: center;
}
.support-mechanism .company li img {
  height: 80px;
}

/* 表單 */
.profile-wrapper {
  background-color: #fff2f4;
}
.profile {
  padding: 100px 5%;
  display: flex;
}
.profile > div {
  background-color: white;
  padding: 35px;
  flex-grow: 1;
  margin-right: 35px;
  border-radius: 8px;
  width: 50%;
  position: relative;
    box-shadow: 0px 0px 15px 3px #fbd4d9;
}
.profile > div:last-of-type {
  margin-right: 0;
}
.profile .pay-method {
    width: 150px;
    align-self: flex-start;
    padding: 20px;
}
.profile .pay-method .title {
    white-space: nowrap;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 25px;
}
.profile .pay-method ul {
    display: flex;
    flex-direction: column;
}
.profile .pay-method ul li {
    margin-bottom: 20px;
}
.profile .pay-method ul li:last-of-type {
    margin-bottom: 0;
}
.profile .pay-method ul li img {
    width: 100%;
}
.profile .person .person-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}
.profile .person .person-tips {
  margin-bottom: 15px;
  font-weight: bolder;
}
.profile .person .person-tips span {
  color: #f0556b;
}
.profile .person div {
  display: flex;
  margin-bottom: 14px;
}
.profile .person div:last-of-type {
  margin-bottom: 0;
}
.profile .person div .form-item-title {
  width: 30%;
  min-width: 30%;
  margin-right: 10px;
  position: relative;
  top: 2px;
}
.profile .person div.required .form-item-title span {
  position: relative;
}
.profile .person div.required .form-item-title span::after {
  content: "*";
  color: #f0556b;
  position: absolute;
  right: 0;
  transform: translate(100%, 0);
  -webkit-transform: translate(100%, 0);
  -moz-transform: translate(100%, 0);
  -ms-transform: translate(100%, 0);
  -o-transform: translate(100%, 0);
}
.profile .person div .label-list label {
  margin-right: 15px;
}
.profile .person div .label-list label:last-of-type {
  margin-right: 0;
}
.profile .person div.price .price-list {
  display: flex;
  flex-wrap: wrap;
}
.profile .person div.price .price-list>label {
  width: 50%;
  flex-grow: 1;
  margin-right: 0;
  margin-bottom: 10px;
}
.profile .person div.price-custom {
    display: flex;
    align-items: center;
}
.profile .person div.price-custom input[type=radio] {
    margin-right: 10px;
}
.profile .person div.price .tips {
  font-size: 13px;
}
.profile .person input[type=date],
.profile .person input[type=text],
.profile .person input[type=number] {
  width: 100%;
  height: 30px;
  padding: 3px 10px;
}
.profile .person .label-list {
  padding: 3px 0;
}
.profile .info {
  display: flex;
  flex-direction: column;
    align-self: flex-start;
}
.profile .info .info-detail {
  flex-grow: 1;
  margin-bottom: 25px;
  font-size: 15px;
}
.profile .info .info-detail .title {
  font-size: 16px;
  font-weight: bolder;
  margin-bottom: 4px;
}
.profile .info .info-detail ul {
  margin-bottom: 25px;
}
.profile .info .info-detail ul.hide {
    display: none;
}
.profile .info .info-detail ul li {
  margin-bottom: 15px;
}
.profile .info .info-detail ul li:last-of-type {
  margin-bottom: 0;
}
.profile .info .info-detail .agree {
  font-size: 18px;
}
.profile .info .button-box {
  text-align: right;
}
.profile .info .button-box .button {
  width: 150px;
  height: 40px;
  line-height: 40px;
  border-radius: 50px;
  font-size: 15px;
    background-color: #f0556b;
}

/* 移動端menu */
.mobile-menu {
  background-color: #fff2f4;
  color: #f0556b;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 75px;
  padding-left: 5%;
  padding-right: 5%;
  padding-bottom: 25px;
  z-index: 1;
  box-shadow: 0px 0px 15px 3px #f8b0ba;
  display: none;
}
.mobile-menu .shadow {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  background-color: transparent;
}
.mobile-menu li {
  /* margin-bottom: 15px; */
  padding: 10px 0;
  position: relative;
  z-index: 2;
}

/* 移動端立即捐款懸浮 */
.mobile-button {
  position: fixed;
  bottom: 35px;
  right: 25px;
  width: 100px;
  height: 40px;
  background-color: #f0556b;
  border-radius: 50px;
  z-index: 1;
  display: none;
}

@media (min-width: 811px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 1050px) {
  .ad .info .ad-image {
    width: 400px;
    height: 250px;
  }
}

@media (max-width: 810px) {
  .header {
    height: 55px !important;
    display: block !important;
  }
  .banner {
    margin-top: 55px;
    height: 50vw;
  }
  .banner .topic {
      width: 133px;
      font-size: 10px;
      top: 7%;
      right: 28%;
  }
  .banner .family-img {
    width: 250px;
    bottom: auto;
    top: 55%;
  }
  .banner .go.ball,
  .banner .banner-logo.ball {
    display: none !important;
  }
  .header .right .menus {
    display: none;
  }
  .header .right .menu-icon {
    display: block;
  }
  .main-mechanism {
    padding-left: 10%;
    padding-right: 10%;
  }
  .main-mechanism>.title {
    display: none;
  }
  .main-mechanism .item-list {
    display: block;
  }
  .main-mechanism .item-list .item {
    margin-right: 0;
    width: 100%;
    min-height: 550px;
    margin-bottom: 100px;
  }
  .main-mechanism .item-list .item:last-of-type {
    margin-bottom: 0;
  }
  .ad {
    padding: 80px 10%;
  }
  .ad .info {
    margin-bottom: 50px;
  }
  .ad .info .card {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }
  .ad .info .info-introduction {
    display: block;
    text-align: center;
    margin-bottom: 50px;
  }
  .ad .info .info-introduction > li {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-bottom: 50px;
  }
  .ad .info .info-introduction > li:last-of-type {
    margin-bottom: 0;
  }
  .ad .info .ad-image {
    position: static;
    transform: none;
    width: 100%;
    height: 50vw;
  }
  .ad .process .process-title {
    display: none;
  }
  .ad .process .process-list {
    display: block;
    padding: 0 13%;
  }
  .ad .process .process-list > li {
    width: 100%;
    margin-bottom: 50px;
  }
  .ad .process .process-list > li:last-of-type {
    margin-bottom: 0;
  }
  .ad .process .process-list > li .icon img {
    height: 35vw;
  }
    .support-mechanism .peoples {
        margin-bottom: 60px;
    }
    .support-mechanism .suports {
        flex-wrap: wrap;
    }
  .support-mechanism .peoples > li,
  .support-mechanism .suports > li {
    margin-right: 5%;
  }
  .support-mechanism .peoples > li .img{
    width: 40vw;
  }
    .support-mechanism .suports > li .img {
        width: 35vw;
    }
    .support-mechanism .suports > li:nth-of-type(2) {
        margin-right: 0px;
    }
    .support-mechanism .suports > li:last-of-type {
        margin-top: 20px;
    }
  .support-mechanism .company {
    flex-direction: column;
  }
  .support-mechanism .company li {
    margin-bottom: 40px;
  }
  .support-mechanism .company li:last-of-type {
    margin-bottom: 0;
  }
  .support-mechanism .company li img {
    height: 60px;
  }

  .profile {
    display: block;
  }
    .profile > div {
        margin-right: 0;
        width: 100%;
        margin-bottom: 30px;
    }
    .profile > div:last-of-type {
        margin-bottom: 0;
    }

    .mobile-button {
        display: block;
    }
    .profile .pay-method {
        width: 260px;
        padding: 15px;
    }
    .profile .pay-method .title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .profile .pay-method ul {
        flex-direction: row;
        align-items: center;
    }
    .profile .pay-method ul li {
        margin-bottom: 0;
        margin-right: 15px;
    }
    .profile .pay-method ul li:last-of-type {
        margin-right: 0;
    }
}
