﻿@charset "UTF-8";
.h2 {
  position: relative;
  font-size: 2rem;
  text-align: center;
}
@media (min-width: 768px) {
  .h2 {
    font-size: 2.25rem;
  }
}
.h2 .txt-en {
  font-size: 1rem;
  color: var(--colorMain);
}
.h2.h1_tit {
  margin-bottom: 1.25em;
}
.h2.h1_tit .txt-tw {
  z-index: 10;
  position: relative;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}
.breadcrumb li:first-child a {
  background: url(../Images/Templates/NewsTemplates/TH001/bread_01.svg) no-repeat left center;
  text-indent: -9999px;
  display: block;
  width: 17px;
  height: 15px;
  background-size: cover;
}

/*body .btn-primary:hover {
    background-color: #007d00;
}

body .btn-primary {
    background-color: #e86e24;
    border: none;
}*/
/*.page-box {
    border-top: 1px solid #cfcfcf;
    padding-top: 23px;
    margin-top: 20px;

    ul li {
        padding: 0 1px;

        a {
            border: none;
            border-radius: 50%;
            padding: 5px 13px;
            color: #000;
            transition: .3s;

            &:hover {
                background-color: #007d00;
                color: #fff !important;
            }

            &:focus {
                box-shadow: unset;
            }
        }

        &.active a {
            background-color: #007d00;
            color: #fff !important;
        }

        &:first-child a,
        &:nth-child(2) a,
        &:last-child a,
        &:nth-last-child(2) a {
            padding: 5px 10px;
        }

        &:nth-child(2) {
            padding-right: 20px;
        }

        &:nth-last-child(2) a {
            padding-left: 20px;
        }

        &:first-child a:hover,
        &:nth-child(2) a:hover,
        &:last-child a:hover,
        &:nth-last-child(2) a:hover {
            background-color: unset;
            color: #007d00 !important;
        }
    }
    ///內頁 返回 ///
    &.page-box_show ul li a {
        position: relative;
        color: #fff !important;
        margin: 0 auto 0;
        display: table;
        font-size: 18px;
        background-color: #e86e24;
        padding: 13px 35px;
        border-radius: 5px;

        &:hover {
            background-color: #007d00;
            color: #fff !important;
        }
    }
}*/
@media (max-width: 767px) {
  .h2.h1_tit {
    margin-bottom: 1em;
  }
}
.page-box ul.nav li.page-item a {
  background-color: #238d30;
  color: #fff;
  padding: 7px 20px;
  border-radius: 7px;
  transition: all 0.3s;
}

.page-box ul.nav li.page-item a:hover {
  background-color: #ff7517;
}

body.news .mainSection .container .subject-sec h1 {
  font-size: 25px;
  margin: 15px 0 0 !important;
}

body.pages .breadcrumb li:nth-child(3):nth-last-child(1),
body.pages .breadcrumb li:nth-child(3):nth-last-child(2) {
  display: none;
}

@media (max-width: 992px) {
  .side .navbar .navbar-nav {
    background-color: #f1f1f1 !important;
    border-radius: 5px;
  }
}

.side .navbar .navbar-toggler {
  font-size: 16px;
}
