﻿body {
  margin: 0px;
}
.filter-part {
  margin-bottom: 15px;
}
.filter-part .condition-part {
  align-items: center;
  align-content: center;
  flex-direction: row;
}
.filter-part .condition-part .btn-group {
  margin: 15px;
}
.filter-part .condition-part .btn-group a.page-btn {
  padding: 10px 15px 5px;
  background: #8bc34a;
  color: #fff;
  text-align: center;
  /* transition-duration: 0.2s; */
  transition: 0.2s linear;
  text-decoration: none;
  font-weight: 600;
  font-size: 110%;
  min-width: 110px;
}
.filter-part .condition-part .btn-group a.page-btn.active {
  border-bottom: 5px solid #ffc107;
}
.filter-part .condition-part .btn-group a.page-btn:hover {
  border-bottom: 5px solid #ffc107;
}
.filter-part .condition-part .btn-group a.page-btn:first-child {
  border-radius: 15px 0 0 15px;
}
.filter-part .condition-part .btn-group a.page-btn:last-child {
  border-radius: 0 15px 15px 0;
}
.filter-part .condition-part .search-part {
  display: flex;
  align-items: center;
  flex-direction: row;
  width: 100%;
  justify-content: flex-end;
}
.filter-part .condition-part .search-part .search-bar-container {
  width: 80%;
}
.filter-part .condition-part .search-part .Btn-part {
  margin: 0px 15px;
}
.post-part {
  margin-bottom: 60px;
}
.post-part a {
  color: #262626;
  text-decoration: none;
}
.post-part .date {
  color: #707070;
}
.post-part .date .fa-calendar-alt {
  margin-right: 5px;
}
.post-part .tag-container .tag.AgriPolicy {
  background-color: #009786;
}
.post-part .tag-container .tag.MarketTrend {
  background-color: #3074b4;
}
.post-part .tag-container .tag.Technology {
  background-color: #ffbd00;
}
.post-part .post-block-part {
  width: 100%;
  /*padding: 15px 0px 0px 0px;*/
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-between;
  height: 370px;
}
.post-part .post-block-part .post-left-block {
  padding: 0px 0px 0px 0px;
  width: 49%;
  height: 100%;
}
.post-part .post-block-part .post-left-block .post-container {
  width: 100%;
  position: relative;
  margin-left: 0;
  height: 100%;
}
.post-part .post-block-part .post-left-block .post-container .post {
  height: 100%;
}
.post-part .post-block-part .post-left-block .post-container .post .img-contaimer {
  width: 100%;
  transform: scale(1);
  transition: 0.2s linear;
  background-image: url(https://pgw.udn.com.tw/gw/photo.php?u=https://uc.udn.com.tw/photo/2021/05/27/1/12365262.png&x=0&y=0&sw=0&sh=0&sl=W&fw=1050);
  background-position: center;
  background-size: cover;
  height: 100%;
}
.post-part .post-block-part .post-left-block .post-container .post .img-contaimer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
}
.post-part .post-block-part .post-left-block .post-container .post .info-part {
  position: absolute;
  bottom: 0px;
  width: 100%;
  background: #ffffffde;
  /*backdrop-filter: blur(5px);*/
}
.post-part .post-block-part .post-left-block .post-container .post .info-part .tag-container {
  padding: 7px;
  display: flex;
  align-items: center;
}
.post-part .post-block-part .post-left-block .post-container .post .info-part .tag-container .tag {
  width: fit-content;
  padding: 5px 15px;
  border-radius: 15px;
  color: #fff;
}
.post-part .post-block-part .post-left-block .post-container .post .info-part .tag-container .date:before {
  content: "／";
}
.post-part .post-block-part .post-left-block .post-container .post .info-part .info-container {
  padding: 15px;
}
.post-part .post-block-part .post-left-block .post-container .post .info-part .info-container .title {
  font-weight: 600;
  font-size: 22px;
  text-align: justify;
  line-height: 1.2;
}
.post-part .post-block-part .post-left-block .post-container .post .info-part .info-container .date {
  text-align: right;
  font-size: 80%;
  color: #404040;
}
.post-part .post-block-part .post-right-block {
  width: 49%;
  padding: 0px 0px 0px 0px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.post-part .post-block-part .post-right-block .post-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.post-part .post-block-part .post-right-block .post-container .post {
  display: flex;
  max-height: 115.6px;
  overflow: hidden;
}
.post-part .post-block-part .post-right-block .post-container .post a.img-link {
  min-width: calc(100% / 3);
  width: calc(100% / 3);
  overflow: hidden;
}
.post-part .post-block-part .post-right-block .post-container .post a.img-link .img-container {
  background-size: cover;
  background-position: center;
}
.post-part .post-block-part .post-right-block .post-container .post a.img-link .img-container img {
  width: 100%;
  height: 100%;
}
.post-part .post-block-part .post-right-block .post-container .post .info-part {
  flex-grow: 1;
}
.post-part .post-block-part .post-right-block .post-container .post .info-part .tag-container {
  padding: 7px;
  display: flex;
  align-items: center;
}
.post-part .post-block-part .post-right-block .post-container .post .info-part .tag-container .tag {
  width: fit-content;
  padding: 5px 15px;
  border-radius: 15px;
  color: #fff;
}
.post-part .post-block-part .post-right-block .post-container .post .info-part .tag-container .date:before {
  content: "／";
}
.post-part .post-block-part .post-right-block .post-container .post .info-part .info-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 7px;
}
.post-part .post-block-part .post-right-block .post-container .post .info-part .info-container .title {
  display: flex;
  font-weight: 600;
  font-size: 22px;
  text-align: justify;
  line-height: 1.2;
}
.post-part .post-list-part {
  width: 100%;
  padding: 0px;
}
.post-part .post-list-part .post-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.post-part .post-list-part .post-container .post {
  display: flex;
  margin: 15px 0px;
  background: #f5f5f5;
  padding: 15px;
  border-radius: 5px;
}
.post-part .post-list-part .post-container .post .img-link {
  width: calc(100% / 2.7);
  min-width: calc(100% / 2.7);
  overflow: hidden;
}
.post-part .post-list-part .post-container .post .img-link .img-container {
  background-size: cover;
  background-position: center;
}
.post-part .post-list-part .post-container .post .img-link .img-container img {
  width: 100%;
}
.post-part .post-list-part .post-container .post .info-part {
  flex-grow: 1;
  padding: 0px 15px;
  display: flex;
  flex-direction: column;
}
.post-part .post-list-part .post-container .post .info-part .tag-container {
  padding: 7px;
  display: flex;
  align-items: center;
  color: #707070;
}
.post-part .post-list-part .post-container .post .info-part .tag-container .tag {
  width: fit-content;
  padding: 5px 15px;
  border-radius: 15px;
  color: #fff;
}
.post-part .post-list-part .post-container .post .info-part .tag-container .date:before {
  content: "／";
}
.post-part .post-list-part .post-container .post .info-part .info-container {
  /*height: 100%;*/
  display: flex;
  flex-direction: column;
  padding: 7px;
}
.post-part .post-list-part .post-container .post .info-part .info-container .title {
  display: flex;
  font-weight: 600;
  font-size: 22px;
  text-align: justify;
  line-height: 1.2;
}
.post-part .post-list-part .post-container .post .info-part .description-container {
  padding: 7px;
  color: #707070;
}
.post-part .post-list-part .post-container .post .info-part .btn-container a {
  align-self: flex-end;
}
.post-part .post-list-part .post-container .post .info-part .btn-container a .btn {
  border: 2px solid #78bf7b;
  border-radius: 55px;
  color: #78bf7b;
  transition-duration: 0.3s;
}
.post-part .post-list-part .post-container .post .info-part .btn-container a .btn:hover {
  color: white !important;
  background-color: #78bf7b;
}
@media (min-width: 992px) {
  .container {
    max-width: 100%;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media (max-width: 991.98px) {
  .filter-part .condition-part {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .filter-part .condition-part .btn-group {
    width: 100%;
  }
  .filter-part .condition-part .btn-group a.page-btn {
    min-width: calc(100%/4);
  }
}
@media (max-width: 991.98px) {
  .post-part .post-left-block .tag-container {
    padding: 7px;
    display: flex;
    align-items: center;
  }
  .post-part .post-left-block .tag-container .tag {
    background-color: #009688;
    width: fit-content;
    padding: 5px 15px;
    border-radius: 15px;
    color: #fff;
  }
  .post-part .post-left-block .tag-container .date:before {
    content: "／";
  }
  .post-part .post-list-part {
    padding: 0px;
  }
  .post-part .post-right-block .post,
  .post-part .post-list-part .post {
    margin: 15px 0px;
    min-height: 181.81px !important;
    border: 1px solid #dfdfdf;
    overflow: hidden;
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
  }
  .post-part .post-block-part {
    height: initial;
  }
  .post-part .img-link {
    min-width: calc(100% / 2.2) !important;
    width: calc(100% / 2.2) !important;
  }
  .post-part .post-block-part .post-left-block,
  .post-part .post-block-part .post-right-block,
  .post-part .post-block-part .post-list-part {
    width: 100%;
  }
}
@media (max-width: 767.98px) {
  .post-part .post-block-part .post-left-block .post {
    border: 1px solid #f5f5f5;
    border-radius: 15px;
    overflow: hidden;
    margin: 15px 0px;
  }
  .post-part .post-block-part .post-left-block .post .info-part {
    position: initial !important;
  }
  .post-part .post-block-part .post-right-block {
    width: 100%;
  }
  .post-part .post-block-part .post-right-block .post-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  .post-part .post-block-part .post-right-block .post-container .post {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
    max-height: none !important;
    border: 1px solid #f5f5f5;
    border-radius: 15px;
    overflow: hidden;
    margin: 15px;
  }
  .post-part .post-block-part .post-right-block .post-container .post .img-link {
    width: calc(100% / 1) !important;
  }
  .post-part .post-block-part .post-right-block .post-container .post .img-link .img-container {
    width: calc(100% / 1) !important;
  }
  .post-part .post-block-part .post-right-block .post-container .post .info-part {
    backdrop-filter: blur(4px);
    background: #ffffff4d;
    width: 100%;
  }
  .post-part .post-list-part {
    padding: 15px;
    width: 100%;
  }
  .post-part .post-list-part .post-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  .post-part .post-list-part .post-container .post {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
    max-height: none !important;
    border: 1px solid #f5f5f5;
    border-radius: 15px;
    overflow: hidden;
    margin: 15px;
  }
  .post-part .post-list-part .post-container .img-link {
    min-width: calc(100% / 1) !important;
    width: calc(100% / 1) !important;
  }
  .post-part .post-list-part .post-container .img-link .img-container {
    width: calc(100% / 1) !important;
  }
  .post-part .post-list-part .post-container .info-part {
    backdrop-filter: blur(4px);
    background: #ffffff4d;
    width: 100%;
  }
}
@media (max-width: 767.98px) {
  .filter-part .condition-part {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .filter-part .condition-part .btn-group {
    width: 100%;
    overflow-x: scroll;
  }
  .filter-part .condition-part .btn-group a.page-btn {
    min-width: calc(100%/2);
    border-radius: 0px !important;
  }
  .filter-part .condition-part .search-part {
    width: 100%;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    margin: 0px 15px;
  }
  .filter-part .condition-part .search-part .search-bar-container {
    width: 100%;
  }
  .filter-part .condition-part .search-part .Btn-part {
    padding: 5px 0px;
  }
}