body {
  overflow-x: hidden;
  z-index: 0;
}

* {
  font-family: 'Noto Sans TC', sans-serif;
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-decoration: none;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

.bg-green {
  background-color: #a6d3a0;
}

.bg_white {
  background-color: #ffffff;
}

#background_1 {
  position: relative;
  z-index: 3;
  overflow: hidden;
}

#background_2 {
  position: relative;
  z-index: 2;
}

#background_3 {
  position: relative;
  z-index: 3;
  overflow: hidden;
}

.header_1 {
  width: 35%;
  position: absolute;
  left: -18%;
  top: -50px;
  z-index: -1;
  max-height: 300px;
}

.header_2 {
  width: 87%;
  position: absolute;
  left: -27%;
  top: -300px;
  z-index: -2;
  max-height: 800px;
}

.aboutus_1 {
  position: absolute;
  width: 35%;
  right: -5%;
  top: 300px;
  z-index: -1;
  max-height: 500px;
}

.aboutus_2 {
  position: absolute;
  top: 150px;
  right: 50px;
  z-index: -1;
  display: flex;
  flex-direction: row-reverse;
  height: 50px;
  width: 300px;
}

.aboutus_3 {
  position: absolute;
  top: 500px;
  left: 20px;
  z-index: -1;
  display: flex;
  flex-direction: row;
  height: 50px;
  width: 150px;
}

.aboutus_2_item {
  position: relative;
  top: 0px;
  z-index: -1;
  width: 50px;
}

.attention_1 {
  position: absolute;
  z-index: -1;
  width: 7%;
  right: 13%;
  top: 880px;
  max-height: 60px;
}

.attention_2 {
  position: absolute;
  width: 15%;
  right: 15%;
  top: 960px;
  max-height: 100px;
  z-index: -1;
}

.attention_3 {
  width: 20%;
  position: absolute;
  left: -7%;
  top: 1200px;
  max-height: 280px;
  z-index: -1;
}

nav.navbar.navbar-expand-lg.bg-light {
  display: flex;
  flex-direction: row;
  position: relative;
  height: 50px;
  margin-top: 50px;
}

.news_1 {
  position: absolute;
  top: 590px;
  width: 30%;
  max-height: 450px;
  left: 5%;
  z-index: -1;
}

.new_3 {
  position: absolute;
  right: 0px;
  top: -60px;
  display: flex;
  flex-direction: column;
  width: 50%;
  height: 100px;
  justify-content: space-between;
  align-items: flex-end;
  z-index: -1;
}

.new_3_item_1 {
  width: 80%;
  background: #5fb65e;
  height: 20px;
  border-radius: 5px 0px 0px 5px;
  z-index: -1;
}

.new_3_item_2 {
  width: 60%;
  background: #487b4a;
  height: 20px;
  border-radius: 5px 0px 0px 5px;
  z-index: -1;
}

.new_3_item_3 {
  width: 100%;
  background: #a6d3a0;
  height: 20px;
  border-radius: 5px 0px 0px 5px;
  z-index: -1;
}

.service_1 {
  position: absolute;
  width: 40%;
  left: -15%;
  top: -100px;
  z-index: -1;
  max-height: 260px;
}

.news_2 {
  position: absolute;
  display: flex;
  right: 5%;
  width: 200px;
  flex-direction: row-reverse;
  justify-content: space-around;
  top: 600px;
  z-index: -1;
}

.service_2 {
  position: absolute;
  bottom: -50px;
  top: auto;
  left: 50%;
  width: 5%;
  max-height: 60px;
  z-index: -1;
}

.service_3 {
  position: absolute;
  bottom: -70px;
  top: auto;
  left: 60%;
  width: 14%;
  z-index: -1;
}

.news_2_item {
  position: relative;
  z-index: -1;
  width: 40px;
  top: 0px;
  z-index: -1;
}

.service_4 {
  position: absolute;
  bottom: -80px;
  top: auto;
  left: 80%;
  width: 5%;
  max-height: 60px;
  z-index: -1;
}

.news_4 {
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 200px;
  right: 15%;
  top: 680px;
  z-index: -1;
}

.touchus_1 {
  position: absolute;
  right: -10%;
  width: 70%;
  bottom: -50px;
  z-index: -2;
}

.touchus_2 {
  position: absolute;
  right: -10%;
  width: 30%;
  bottom: 150px;
  z-index: -1;
}

.touchus_3 {
  position: absolute;
  left: 5%;
  width: 300px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  max-height: 50px;
  top: 500px;
}

.touchus_3_item {
  position: relative;
  top: 0px;
  width: 50px;
  z-index: -1;
}

.nav-header {
  position: absolute;
  width: 100vw;
  z-index: 999;
  display: flex;
  justify-content: center;
}

.nav-bg.top {
  background-color: #fff;
  display: flex;
  justify-content: center;
  position: fixed;
  margin: 2em auto 0.5em;
  box-shadow: 0px 4px 15px .5px rgb(116, 116, 116);
  border-radius: 12px;
  width: 60%;
}

.nav-bg {
  transition: 0.5s;
}

.nav-bg.fix {
  width: 100%;
  border-radius: 0px 0px 20px 20px;
  margin: 0px;
  box-shadow: 0px 4px 15px 0.5px rgb(116 116 116);
  background-color: #fff;
  display: flex;
  position: fixed;
  justify-content: center;
}

.nav li {
  text-align: center;
  font-size: 1em;
  color: #358039;
}

.nav a {
  color: #358039;
}

.info_area {
  position: relative;
  height: auto;
  display: block;
  margin-bottom: 150px;
  z-index: 4;
}

.aboutus_area {
  position: relative;
  margin-top: 150px;
}

.aboutus_title {
  position: relative;
  background: rgb(255, 255, 255);
  border-radius: 11px;
  width: 190px;
  text-align: center;
}

.aboutus_title span {
  font-size: 1.8em;
  color: #1b341d;
}

.brandname {
  position: relative;
  margin: 10px auto;
  display: block;
  font-size: 300%;
  color: #1b341d;
  margin-top: 30px;
  text-align: center;
}

.aboutus_content {
  position: relative;
  word-break: break-all;
  display: block;
  padding: .8em 1.5em;
  background: #fdfdfe;
  border-radius: 11px;
}

.aboutus_content p {
  font-size: 1.3em;
  color: #3c843d;
  margin: 0%;
}

.aboutus_content pre {
  font-size: 1.3em;
  color: #3c843d;
}

.member_area {
  position: relative;
  margin-top: 20px;
}

.member_title {
  position: relative;
  background: #fdfdfe;
  border-radius: 11px;
  width: 250px;
  text-align: center;
}

.member_title span {
  font-size: 1.8em;
  color: #1b341d;
}

.member_content {
  position: relative;
  word-break: break-all;
  background: rgb(255, 255, 255);
  border-radius: 11px;
  margin: 20px 0;
  padding: .8em 1.5em;
}

.member_content p {
  font-size: 1.3em;
  color: #3c843d;
  margin: 0%;
}

.touchus_mail {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 100px;
  color: white;
}

.footercard {
  background: none;
  border: none;
  width: 100%;
  min-width: 400px;
  margin-top: 200px;
  display: flex;
  align-items: center;
}

.Username {
  margin-top: 20px;
}

.copyright {
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.news.container {
  position: relative;
  overflow: hidden;
  margin-top: 120px;
}

.news_title {
  font-size: 2rem;
  background: #a6d39f80;
  width: 40%;
  text-align: center;
  border-radius: 20px;
  color: black;
}

.list-group.news_list {
  width: 95%;
  margin-top: 5px;
  display: none;
}

.list-group.news_list:nth-child(3n-1)>div {
  background: #5fb65edd;
  color: white;
}

.list-group.news_list:nth-child(3n)>div {
  background: #487b4add;
  color: white;
}

.list-group.news_list:nth-child(3n-2)>div {
  background: #a6d3a0dd;
  color: white;
}

.news_listbox {
  margin-top: 10px;
  height: 480px;
  overflow-y: scroll;
  display: block;
  width: calc( 100% + 27px);
}

.service.container {
  margin-top: 160px;
}

.service_title {
  font-size: 2rem;
  color: white;
  background: #5fb65e82;
  width: 40%;
  border-radius: 20px;
  text-align: center;
}

.row.align-items-start {
  display: flex;
  justify-content: flex-start;
}

.col {
  flex: 0 0 0px;
  margin-top: 20px;
}

.service_listbox {
  margin-top: 20px;
  margin-bottom: 100px;
}

.manage.container {
  margin-top: 100px;
  z-index: 1;
  margin-bottom: 100px;
}

.carousel-inner {
  background: #00000050;
  display: flex;
  padding-left: calc(50% - 170px);
}

.button_slide {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.button_slide>button {
  width: 50px;
  margin-left: 5px;
  margin-right: 5px;
}

.list-group.news_list.active {
  display: block;
}

ul.pagination {
  display: flex;
  justify-content: center;
  margin: 0;
}

.facebook_box {
  position: relative;
  margin-top: 20px;
  height: auto;
}

.facebook_title {
  position: relative;
  background: #fdfdfe;
  border-radius: 11px;
  width: 250px;
  text-align: center;
  font-size: 1.8em;
  color: #1b341d;
  margin: 20px 0px 20px 0px;
}

#carouselExampleControls {
  padding-bottom: 10px;
  background: #00000050;
}

.form-control.placeholder-red::placeholder {
  color: red;
}

.form-control {
  transition: 0.5s all;
}

.loading {
  margin: -10px;
  height: 100vh;
  width: 100vw;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0000009c;
  cursor: wait;
  z-index: 1000;
}

/*中間的過度的橫線*/

.link-bottom {
  border-bottom: solid #ffffff 2px;
}

/*畫一條再右邊的豎線*/

.link-left {
  padding: 5px;
  height: 50%;
  border-left: solid #ffffff 2px;
}

#editcntnewstable {
  width: 50vw;
  min-width: 300px;
}

textarea#content {
  height: 100px;
}

@media screen and (max-width: 640px) {
  .nav-link {
      padding: 4px;
      margin: 4px;
  }
  .nav-bg.top {
      width: 90%;
  }
}

@media screen and (max-width: 355px) {
  .nav-link {
      padding: 7px;
  }
  .nav-bg.top {
      width: 90%;
  }
}

h3.mb-1.p-2 {
  cursor: pointer;
}

img.logo {
  width: 30vw;
  right: 5vw;
  max-width: 130px;
}

.logobox {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}