@font-face {
  font-family: "Microsoft JhengHei";
  src: url("Microsoft JhengHei.ttf");
}

@font-face {
  font-family: "Microsoft JhengHei Bold";
  src: url("Microsoft JhengHei Bold.ttf");
}

/*------------------------------------*\
    MAIN
\*------------------------------------*/
/* global box-sizing */
*,
*:after,
*:before {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html {
  font-size: 62.5%;
}
.header {
  padding: 20px 0;
}

body {
  font-family: "Microsoft JhengHei Bold", "Microsoft JhengHei", "Arial",
    sans-serif;
  color: #000;
  font-size: 16px;
  line-height: 20px;
  overflow-x: hidden;
  font-weight: 500;
}
body .subpage {
  background: url(../image/body.png) no-repeat center;
  background-size: cover;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
/* clear */
.clear:before,
.clear:after {
  content: " ";
  display: table;
}
.clear:after {
  clear: both;
}

.clear {
  *zoom: 1;
  clear: both;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

a:focus {
  outline: 0;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
input:focus,
textarea:focus,
button:focus {
  outline: 0;
}

ul,
li,
h1,
h2,
h3,
h4,
h5 {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

p {
  font-size: 15px;
  font-weight: 500;
  line-height: 23px;
  margin: 0;
}
a {
  display: inline-block;
  vertical-align: middle;
  color:inherit;
}
/*------------------------------------*\
	        HEADER
\*------------------------------------*/

.nav_area > ul > li {
  display: inline-block;
  padding: 44px 0 0;
}

li.menu-lv1 img {
  position: absolute;
  top: 0px;
  left: 50px;
}
ul.sub-menu ul.sub-menu {
  margin-top: 12px;
}

.nav_area ul li:last-child {
  padding-right: 0;
  border-right: 0;
}

.nav_area ul li a {
  color: #000;
  font-size: 19px;
  display: inline-block;
  vertical-align: middle;
  font-weight: 500;
}

ul.sub-menu {
  position: absolute;
  background: #2c8ecf;
  z-index: 555;
  text-align: left;
  padding: 6px 0;
  top: 61%;
}

ul.sub-menu li a {
  color: #ffff;
  line-height: 20px;
  padding: 3px 0px 7px 5px;
  font-size: 17px;
  display: inline-block;
  text-transform: capitalize;
  font-weight: 400;
}

ul.sub-menu li {
  display: block;
}

ul.sub-menu li a {
  width: 90%;
  font-size: 14px;
}

ul.sub-menu li.menu-item-has-children {
  position: relative;
}

ul.sub-menu li.menu-item-has-children .arrow {
  color: #fff;
  padding-left: 0;
  padding: 0 !important;
}

span.arrow {
  font-size: 16px;
  color: #000;
  padding: 5px;
}
ul.sub-menu span.arrow i {
  padding: 0;
}
.nav-icon a i {
  font-size: 20px;
  line-height: 22px;
}

.home-bg {
  background: url(../image/home-body.png) no-repeat center;
  background-size: cover;
  width: 100%;
  min-height: 913px;
}
/*----------------FOOTER-------------*/
.footer {
  background: #85c023;
  padding: 20px;
}
.copyright p {
  margin-bottom: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
a.f-number {
  color: #12b153;
  background: #ffff;
  padding: 7px 30px;
  border-radius: 50px;
  font-weight: 700;
}
/*---------index-------------*/
.home-logo {
  background: url(../image/home-logo-bg.png) no-repeat;
  background-size: contain;
  height: 137px;
  padding-top: 10px;
  background-position: center;
}
.login {
  background: url(../image/login.png) no-repeat center;
  background-size: cover;
  max-width: 906px;
  height: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sign label {
  min-width: 90px;
  font-size: 21px;
  text-shadow: #fff 0px 0px 0px, #fff 2.83487px 0.981584px 0px,
    #fff 2.35766px 1.85511px 0px, #fff 1.62091px 2.52441px 0px,
    #fff 0.705713px 2.91581px 0px, #fff -0.287171px 2.98622px 0px,
    #fff -1.24844px 2.72789px 0px, #fff -2.07227px 2.16926px 0px,
    #fff -2.66798px 1.37182px 0px, #fff -2.96998px 0.42336px 0px,
    #fff -2.94502px -0.571704px 0px, #fff -2.59586px -1.50383px 0px,
    #fff -1.96093px -2.27041px 0px, #fff -1.11013px -2.78704px 0px,
    #fff -0.137119px -2.99686px 0px, #fff.850987px -2.87677px 0px,
    #fff 1.74541px -2.43999px 0px, #fff 2.44769px -1.73459px 0px,
    #fff 2.88051px -0.838247px 0px;
}
form.log-in.form {
  padding-top: 75px;
  position: relative;
}
.l-title h3 {
  font-size: 26px;
  line-height: 32px;
  color: #12b153;
  text-shadow: #fff 0px 0px 0px, #fff 2.83487px 0.981584px 0px,
    #fff 2.35766px 1.85511px 0px, #fff 1.62091px 2.52441px 0px,
    #fff 0.705713px 2.91581px 0px, #fff -0.287171px 2.98622px 0px,
    #fff -1.24844px 2.72789px 0px, #fff -2.07227px 2.16926px 0px,
    #fff -2.66798px 1.37182px 0px, #fff -2.96998px 0.42336px 0px,
    #fff -2.94502px -0.571704px 0px, #fff -2.59586px -1.50383px 0px,
    #fff -1.96093px -2.27041px 0px, #fff -1.11013px -2.78704px 0px,
    #fff -0.137119px -2.99686px 0px, #fff.850987px -2.87677px 0px,
    #fff 1.74541px -2.43999px 0px, #fff 2.44769px -1.73459px 0px,
    #fff 2.88051px -0.838247px 0px;
}
.login input[type="text"],.login input[type="password"] {
  border: none;
  padding: 5px;
  width: 300px;
}
a.go, button.go {
  font-size: 19px;
  background: #48c350;
  color: #fff;
  font-weight: 700;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  border: 3px solid #ffff;
  text-align: right !important;
  display: inline-flex;
  position: absolute;
  bottom: 0px;
  right: -45px;
}
.custom-title h2 span {
  background: #f9faeb;
  display: block;
  position: relative;
  z-index: 9;
  padding: 0 12px;
}
/*---------news-index--------*/
.page-main {
  background: #f9fbeee3;
}
.custom-title h2 {
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  justify-content: center;
}
.d-text p {
  font-size: 15px;
  line-height: 25px;
}
.news-date h5 {
  font-size: 16px;
  color: #0f61a6;
  font-weight: 700;
  position: relative;
  padding-right: 10px;
}
.news-date h5::before {
  content: "";
  display: inline-block;
  background: #8cc430;
  width: 4px;
  height: 20px;
  margin-right: 7px;
  vertical-align: middle;
}
.news-date h3 {
  font-size: 24px;
  line-height: 30px;
  font-weight: 700;
  padding-top: 5px;
}
.news-date {
  border-bottom: 2px solid #8cc430;
  border-bottom-style: dotted;
  padding: 10px 0;
}

/*-----------details-------------*/
.d-title h5 {
  font-size: 30px;
  font-weight: 700;
  line-height: 35px;
  word-break: break-all;
}
.d-title h5:before {
  content: "";
  display: inline-block;
  background: #3498db;
  width: 5px;
  height: 22px;
  margin-right: 10px;
}
.d-title {
  border-bottom: 2px solid #8cc430;
  border-bottom-style: dotted;
  padding: 20px 0;
}
a.b-link {
  background: #57b35d;
  color: #fff;
  padding: 5px 50px;
  border-radius: 50px;
  font-size: 24px;
  border: 1px solid #57b35d;
}
a.b-link:hover {
  background: #fff;
  color: #57b35d;
}

.thumb-slider .owl-theme .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  width: calc(100% + 100px);
  justify-content: space-between;
  margin: 0;
  left: -50px;
}
#sync1.owl-theme .owl-nav [class*="owl-"] {
  height: 40px;
  width: 40px;
  border-radius: 100%;
  background: #3498db;
  color: #fff;
  font-size: 24px;
}
#sync2.owl-theme .owl-nav {
  font-size: 22px;
  color: #3498db;
}

/*---------details-page-----------*/
h5.black {
  color: #000;
}
a.b-link.orange {
  background: #ff956c;
  border: 1px solid #ff956c;
}
a.b-link.orange:hover {
  background: #ffff;
  color: #ff956c;
}
h5.black:before {
  background: #2466a9;
  margin-right: 8px;
}

/*-------album-page----------*/
.album-item h2 {
  font-size: 23px;
  font-weight: 700;
  line-height: 28px;
  word-break: break-all;
}
a.a-btn {
  color: #3498db;
  font-weight: 700;
}
a.a-btn i {
  color: #e06810;
}
.album-item h2:after {
  content: "";
  display: block;
  background: #3498db;
  width: 80px;
  height: 3px;
  margin: 10 0;
}
.album-item {
  padding-bottom: 50px;
}
.pagination {
  display: block;
  margin: 0px;
}
.pagination .link {
  padding-top: 7px;
}
.pagination a {
  display: inline-block;
  height: 30px;
  width: 30px;
  vertical-align: middle;
  text-align: center;
  line-height: 30px;
  margin: 0 4px;
  color: #000;
}
.pagination a.active,
.pagination a:hover {
  background: #72c214;
  color: #fff;
}
.pagination a i {
  height: 40px;
  line-height: 40px;
}

/*----------album-index----------*/
.album-item h3 {
  font-size: 17px;
  font-weight: 700;
}

/*--------single-post---------*/
.post-item {
  background: #e0fcfe;
  padding: 20px 30px;
  border-radius: 10px;
  margin-bottom: 30px;
}
.post-left {
  max-width: 900;
  position: relative;
}
.post-left p {
  font-size: 15px;
  display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-left h2 {
  font-size: 19px;
  color: #0f61a6;
  font-weight: 700;
  line-height: 22px;
}
.post-left h2:before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 20px;
  background: #8cc42f;
  position: absolute;
  left: -10px;
  top: 2px;
}
.post-right a i {
  color: #64da50;
  font-size: 32px;
}
.post-left h5 {
  color: #0f61a6;
  font-size: 14px;
  font-weight: 700;
  padding-top: 4px;
}

#button.show {
  opacity: 1;
  visibility: visible;
}
#button {
  display: inline-block;
  background-color: #999999;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 100%;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  cursor: pointer;
}
#button::after {
  content: "\f106";
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  font-style: normal;
  font-size: 30px;
  line-height: 45px;
  color: #fff;
  position: absolute;
  left: 16px;
  top: 4px;
}

#button:hover {
  background: #ff79a5;
}
/*------------------------------------*\
	        MIN WIDTH
\*------------------------------------*/

@media (min-width: 992px) {
  .nav_area ul li:hover ul.sub-menu {
    display: block;
  }

  .nav_area > ul > li ul.sub-menu {
    font-size: 16px;
    transform-origin: 50% 0;
    transform: scaleY(0) translateZ(0);
    transition: transform 0.3s, opacity 0.3s;
    display: block;
  }

  ul.sub-menu {
    min-width: 150px;
  }

  ul.sub-menu li ul.sub-menu {
    left: 100%;
    top: -22px;
    width: 100%;
  }

  .nav_area > ul > li:hover > ul.sub-menu,
  .nav_area ul.sub-menu > li:hover > ul.sub-menu {
    transform: scaleY(1) translateZ(0);
  }

  .nav_area ul li:hover ul.sub-menu {
    display: block;
  }

  ul.menu {
    display: flex;
    justify-content: space-around;
  }

  span.arrow {
    display: inline-block;
    font-size: 12px;
  }

  label.toggle {
    display: none;
  }

  .nav_area ul li a img {
    vertical-align: middle;
    max-width: 20px;
    margin-right: 5px;
  }

  ul.sub-menu li.menu-item-has-children .arrow {
    transform: rotate(-90deg);
  }

  ul.sub-menu > li:hover {
    background-color: #ffff;
  }

  ul.sub-menu > li:hover > a {
    color: #000;
    text-decoration: none;
  }

  ul.sub-menu > li:hover .arrow {
    color: #000;
  }

  ul.menu > li.menu-lv1 {
    background: url(../image/manu-bg.png) no-repeat center;
    background-size: cover;
    width: 158px;
    height: 81px;
    text-align: center;
    position: relative;
  }
  .custom-title h2:after {
    background: #03a5ce;
    content: "";
    width: 100%;
    height: 1px;
    display: block;
    display: block;
    position: absolute;
    left: 0;
  }

  ul.sub-menu {
    margin-top: 55px;
  }
  li.menu-lv1.top {
    margin-top: -10px;
  }
}

@media (min-width: 768px) {
}

/*------------------------------------*\
	        MAX WIDTH
\*------------------------------------*/

@media (max-width: 1024px) {
  .login {
    left: -41px;
  }
}

@media (max-width: 991px) {
  li.menu-lv1 img {
    display: none;
  }

  .container {
    max-width: 100%;
  }

  nav.nav_area ul li a {
    text-decoration: none;
  }

  ul.menu {
    position: fixed;
    width: 80%;
    left: 0;
    text-align: left;
    background: #03a7cf;
    z-index: 2;
    padding: 15px 10px;
    z-index: 10;
    top: 0;
    height: 100%;
    left: -100%;
    transition: all 0.4s;
  }

  ul.menu.open {
    left: 0;
  }

  .toggle {
    font-size: 25px;
    text-align: right;
    display: block;
  }

  .nav_area > ul > li {
    padding: 10px 0;
  }

  .nav_area ul li a {
    font-size: 20px;
    padding: 0;
    color: #fff;
  }

  nav.nav_area ul li {
    display: block;
    position: relative;
    border: 0;
  }

  span.arrow {
    position: absolute;
    right: 10px;
    color: #fff;
    width: 40px;
    text-align: center;
    height: 30px;
    top: 10px;
  }

  .sub-menu span.arrow i:before {
    content: "\f105";
  }

  span.arrow.close-icon i:before {
    content: "\f106";
  }

  ul.sub-menu {
    display: none;
    position: relative;
    background: transparent;
    padding: 0;
    margin: 0;
  }

  ul li .sub-menu li a {
    font-size: 16px;
    line-height: 16px;
  }

  ul.sub-menu span.arrow {
    right: 5px;
    text-align: center;
  }

  span.arrow.close-icon i:before {
    content: "\f106";
  }

  ul.sub-menu li.menu-item-has-children span.arrow.close-icon i:before {
    content: "\f106";
  }

  .nav_area > ul > li > ul.sub-menu {
    padding: 5px 5px 0px 0px;
  }

  .sub-menu span.arrow {
    top: 0;
  }

  .album-item img {
    object-fit: contain;
  }
  .album-item h3 {
    display: flex;
  }
  .nav_area ul li > ul li {
    display: block;
    position: relative;
    border: 0;
    padding: 0 5px 5px 5px;
  }
  .login {
    left: -135px;
  }
}

@media (max-width: 767px) {
  .pagination a {
    margin: 0 1px;
  }
  .post-left h2 {
    padding-bottom: 10px;
  }
  .post-left p {
    /* padding-bottom: 10px; */
  }
  .post-left h5 {
    padding-bottom: 10px;
  }
  .login {
    width: 100%;
    height: 61vh;
    background-size: 100% auto;
  }
  .home-bg {
    height: 80vh;
    background-position: right;
  }
  .home-logo {
    height: 68px;
  }
  form.log-in.form img {
    width: 55px;
  }
  .l-title h3 {
    font-size: 13px;
    line-height: 20px;
  }
  .sign label {
    min-width: 60px;
    font-size: 15px;
    line-height: normal;
  }
  .sign {
    padding-top: 3px !important;
  }
  form.log-in.form {
    padding-top: 57px;
    padding-left: 15px;
  }
  .login input[type="text"] {
    width: 180px;
  }
  .copyright p {
    font-size: 12px;
  }
  a.f-number {
    margin-top: 10px;
  }
  .banner img {
    height: 200px;
    object-fit: cover;
  }
  .custom-title h2 span {
    z-index: 0;
  }
  .custom-title h2 span {
    background: #f9faeb33;
  }
  .page-main {
    padding: 25px 15px !important;
  }
}
@media (max-width: 576px) {
}

@media only screen and (min-width: 768px) {
}

.album-item p{
  display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.object-fit-contain{
  object-fit: contain!important;
}

.owl-stage-outer{
  z-index:5;
}

.download-btn a{
  margin-top: 10px;
  background-color: rgb(110, 110, 191);
  color: white;
  padding: 12px 20px;
  border: rgb(110, 110, 191) solid 1px;
  border-radius: 25px;
  font-size: 24px;
}

.download-btn a:hover{
  margin-top: 10px;
  background-color: white;
  color: rgb(110, 110, 191);
  padding: 12px 20px;
  border-radius: 25px;
}


    .swiper-container {
      width: 100%;
      height: 300px;
      margin-left: auto;
      margin-right: auto;
    }
    .swiper-slide {
      background-color: red;
    }
    .gallery-top {
      height: 80%;
      width: 100%;
    }
    .gallery-thumbs {
      width: 300px;
      height: 20%;
      box-sizing: border-box;
      padding: 10px 0;
    }
    .gallery-thumbs .swiper-slide {
      width: 60px;
      height: 100%;
      opacity: 0.4;
    }
    .gallery-thumbs .swiper-slide-thumb-active {
      opacity: 1;
    }