input {
  width: 150px;
  outline: none; /*避免點選會有藍線或虛線 */
}

.flex ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.flex li {
  border: 1px solid lightgrey;
  padding: .5rem 0;
  cursor: pointer;
}

.flex li:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.flex li:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.flex ul li a {
  color: grey;
  text-decoration: none;
  padding:.5rem 1rem;
}

.active {
  background: #ee8e7f;
}

.flex .active a {
  color: white;
  padding:.5rem 1rem;
}

.filter {
  width: 80%;
  margin: 0 auto;
  margin-top: 2rem;
  justify-content: space-between;
  flex-wrap:wrap;
}

.donationSearch {
  background: white;
  padding: .2rem;
  border-radius: 10px;
  margin-left: 2rem;
  border: 1px solid lightgrey;
  width: 190px;
}

.donationSearch input {
  border: none !important;
  box-shadow: none !important;
}

.fa-mars {
  color: #0facf3;
  font-size: 1.3rem;
  margin-right: .5rem;
}

.fa-venus {
  color: #ee8e7f;
  font-size: 1.3rem;
  margin-right: .5rem;
}

.fa-search {
  color: lightgrey;
  cursor: pointer;
  font-size: 1.5rem;
}

.format p {
  display: flex;
  justify-content: space-around;
}

.imgDiv {
  position: relative;
  cursor: pointer;
}

.format .shareDiv {
  border: 1px solid lightgrey !important;
  border-radius: 20px;
  margin-bottom: 2rem;
}

.mask {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  background: #8d8d8d;
  border:none !important;
  opacity: 0;
  top: 0;
}

.mask:hover {
  opacity: 0.9;
}

.shareDiv {
  background: white;
  border-radius:20px;
  width:250px;
}

.top3Div {
  width: 80%;
  background: #F3BBA7;
  margin: 0 auto;
  margin-top: 2rem;
  border-radius: 10px;
  padding: 1rem;
  background: #F3BBA7;
  text-align: center;
}

.top3Format {
  margin-top: 2rem;
  justify-content: space-between;
  flex-wrap: wrap;
  background: white;
  border-radius: 1rem;
  padding: 1rem;
}

.top3Format div img {
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  display:block;
  max-width: 250px;
  min-width: 250px;
  max-height: 200px;
  min-height: 200px;
}

.top3Format div {
  border: 1px solid lightgrey;
  border-top-right-radius:20px;
  border-top-left-radius:20px;
}

.top3Format p {
  display: flex;
  justify-content: space-around;
}

.top3Format div .top3Img {
  position: absolute;
  width: 3rem;
  max-width: none;
  min-width: auto;
  max-height: none;
  min-height: auto;
}

.mask p {
  color: white;
  text-align: center;
  margin: 0;
  font-size: 3rem;
  display: block;
  margin-top:1rem;
}

.search {
  background-image: url('../img/search.png');
  background-size: contain;
  width: 30px;
  height: 30px;
  vertical-align: middle;
}

.comment {
  width:50%;
}

.like {
  width:8%;
  vertical-align:middle;
}

.infoimg {
  margin-right: 2rem;
  width:50%;
  height:50% !important; 
}

@media screen and (max-width: 420px) {
  #pictureForm {
    width:80% !important;
  }
  .info {
    flex-direction: column;
  }
  .infoimg {
    width:100% !important;
    height:auto !important;
  }
  .comment {
    width:100% !important;
  }
  .like {
    width:10% !important;
  }
}