@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700&display=swap');

* {
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
}

body {
    background-color: var(--pbmit-light-color);
    overflow-x: hidden;
    height: 100%;
    margin: 0;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-size: 1rem;
    height: 100%;
    margin: 0;
}

/* 不跟著縮放的元素，可加 .no-scale */
.no-scale {
    font-size: 1rem !important;
}

a {
    text-decoration: none;
}

a:hover {
    color: #5A5656;
    text-decoration: none;
}

a:active {
    color: #5A5656;
    text-decoration: none;
}

hr {
    color: #868686;
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.multiline-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tripleline-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.fc-lightgreen {
    color: #D4FF9F;
}

.btn-link-white {
    --bs-btn-font-weight: 400;
    --bs-btn-color: #FFF;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #DDD;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-color: #DDD;
    --bs-btn-active-border-color: transparent;
    --bs-btn-disabled-color: #6c757d;
    --bs-btn-disabled-border-color: transparent;
    --bs-btn-box-shadow: 0 0 0 #000;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    text-decoration: none;
}

.btn-main {
    --bs-btn-color: #fff;
    --bs-btn-bg: #9DCD7B;
    --bs-btn-border-color: #9DCD7B;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #365420;
    --bs-btn-hover-border-color: #365420;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #365420;
    --bs-btn-active-border-color: #365420;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #9DCD7B;
    --bs-btn-disabled-border-color: #9DCD7B;
}

.btn-main-wh {
    --bs-btn-color: #404A3D;
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #FFF;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #9DCD7B;
    --bs-btn-hover-border-color: #9DCD7B;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #9DCD7B;
    --bs-btn-active-border-color: #9DCD7B;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #9DCD7B;
    --bs-btn-disabled-border-color: #9DCD7B;
}


/*----------------------------------------*/
/*  00 - Home
/*----------------------------------------*/
#page {
    overflow: hidden;
}

.pbmit-sticky-corner {
    width: 30px;
    height: 30px;
    position: absolute;
    transform: rotate(-90deg);
}

.pbmit-bottom-left-corner {
    bottom: -20%;
    left: 0px;
    transform: rotate(180deg);
}

.pbmit-sticky-corner svg path {
    fill: var(--pbmit-light-color);
}

.pbmit-top-right-corner {
    top: 0;
    right: -10%;
    transform: rotate(180deg);
}

.testimonial-arrow {
    position: absolute;
    right: 12px;
    bottom: 0;
}

.service-arrow {
    position: absolute;
    right: 12px;
    top: -65px;
}

/*----------------------------------------*/
/* 06 - Header
/*----------------------------------------*/
.pbmit-header-content {
    background-color: rgba(0, 0, 0, 0.1);
}

@media(max-width: 1200px) {
    .pbmit-header-content {
        background-color: unset;
    }
}

.site-header {
    position: relative;
}

.site-header .site-branding img {
    max-width: 100%;
    height: auto;
    max-height: 45px;
    display: inline-block;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

.site-navigation ul.navigation>li>a {
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0px;
    color: var(--pbmit-blackish-color);
}

.site-navigation ul.navigation>li>a:hover:after {
    color: rgba(255, 255, 255, .8);
}

.main-menu .navigation>li>ul a {
    position: relative;
    display: table-cell;
    font-weight: 500;
    font-size: 1rem;
    line-height: 22px;
    letter-spacing: 0px;
    text-transform: uppercase;
    font-style: normal;
    color: var(--pbmit-blackish-color);
    font-family: var(--pbmit-heading-typography-font-family);
}

.main-menu .navigation>li>ul a:after {
    display: none;
}

.site-navigation ul.navigation a {
    font-family: var(--pbmit-heading-typography-font-family);
    font-weight: normal;
    font-size: 1rem;
    font-style: normal;
}

.main-menu .navigation>li {
    position: relative;
    float: left;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.main-menu .navigation>li>ul>li>ul {
    left: 100%;
    top: 0;
}

.main-menu .navigation>li.dropdown:hover>ul,
.main-menu .navigation>li>ul>li.dropdown:hover>ul {
    visibility: visible;
    opacity: 1;
    transform: translate(0, -5px);
    z-index: 999;
}

.header-button .pbmit-btn {
    padding: 15px 24px;
}

.header-button .pbmit-btn i {
    font-size: 20px;
}

.site-header .search-btn {
    margin-right: 15px;
    font-size: 17px;
}

.site-header .social-icons li>a {
    height: 50px;
    line-height: 50px;
}

.pbmit-link li {
    margin: 0 10px;
}

.closepanel,
.pbmit-mobile-menu-bg,
.site-header .righticon {
    display: none;
}

/** sticky-header **/
.sticky-header {
    position: fixed !important;
    top: 0px;
    width: 100%;
    background-color: #fff;
    z-index: 999;
    margin: 0;
    box-shadow: 0 2px 5px rgb(0 0 0 / 8%);
    transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -webkit-transition: all 200ms ease;
}

.site-header-menu.sticky-header .logo-img.stickylogo {
    display: inline-block;
}

/*----------------------------------------*/
/* 08 - Swiper 
/*----------------------------------------*/
.swiper-slider {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.swiper-pagination-bullet {
    background-color: var(--pbmit-blackish-color);
    outline: none;
    height: 10px;
    width: 10px;
    opacity: 1;
    vertical-align: middle;
    border-radius: 50%;
    margin: 0 9px !important;
    display: inline-block;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 5px;
    left: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slider[data-dots="true"] {
    padding-bottom: 50px;
}

.swiper-pagination-bullet-active {
    outline: 1px solid var(--pbmit-global-color);
    outline-offset: 4px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    content: "\f105";
    font-family: "Font Awesome Kit";
    font: var(--fa-font-solid);
    font-size: 1.1rem;
    line-height: normal;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
    transform: rotate(180deg);
    background-color: var(--pbmit-secondary-color);
}

.swiper-button-next,
.swiper-button-prev {
    position: static;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    width: 60px;
    height: 50px;
    line-height: 50px;
    border-radius: 5px;
    background-color: transparent;
    border: 1px solid var(--pbmit-blackish-color);
    color: var(--pbmit-blackish-color);
    transition: all 500ms ease;
    z-index: 1;
}

.swiper-button-next {
    margin-left: 10px;
}

.swiper-button-prev {
    left: auto;
}

.swiper-button-prev.swiper-button-disabled {
    opacity: 1;
    cursor: pointer;
    pointer-events: auto;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--pbmit-white-color);
    background-color: var(--pbmit-blackish-color);
}

.swiper-slider.marquee .swiper-slide {
    display: flex;
    width: auto !important;
}

.swiper-slider.marquee .swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

/*=======首頁標題=======*/

.section-title {
    font-weight: 700;
    letter-spacing: .08em;
    position: relative;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 15px;
    color: #3A3837;
}

.section-title span {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FF8800;
    font-size: 0.9rem;
}

.section-description {
    font-size: 1rem;
    color: #6B6B6B;
    text-align: center;
    margin-bottom: 40px;
}


/*----- 最新消息 -----*/
.news-section {
    padding: 3rem 0rem;
}

@media (max-width: 1536px) {
    .news-section {
        padding: 3rem 5rem;
    }
}

@media (max-width: 1440px) {
    .news-section {
        padding: 3rem 5rem;
    }
}

@media (max-width: 996px) {
    .news-section {
        padding: 3rem 2rem;
    }
}

@media (max-width: 576px) {
    .news-section {
        padding: 3rem 0rem;
    }
}

.news-card {
    position: relative;
}

.news-card .mail {
    position: absolute;
    left: -10px;
    top: 0;
    z-index: 1;
}

.news-card .card {
    border: 0;
    background-color: #FFF;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 40px;
}

.news-card .card-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: #1A1311;
}

.news-card .card-text {
    font-size: 1rem;
    color: #1A1311;
}

.news-card .card-top {
    padding: 5px 30px;
    display: flex;
    align-items: center;
}

.news-card .card-date {
    font-size: 1rem;
    color: #b6b6b6;
    margin-right: 10px;
}

.news-card .card-tag {
    font-size: 0.9rem;
    color: #3C3C3C;
    border: 1px solid #E2CA0F;
    border-radius: var(--bs-border-radius-pill);
    padding: 4px 12px;
}

.news-card .card-body {
    padding: 10px 30px;
}

.news-card .card-img-top {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    height: 300px;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .news-card .card-img-top {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .news-card .card-img-top {
        height: 200px;
    }
}

.news-list .news-list-item a {
    color: #1A1311;
}

.news-list .news-list-item a:hover {
    text-decoration: underline;
}

.news-list .news-list-item {
    padding: 12px;
    border-bottom: 1px solid #BDBDBD40;
}

.news-list .news-list-item:last-child {
    border-bottom: none;
}

#newsSlider .swiper-wrapper {
    padding-bottom: 30px;
}

#newsSlider .swiper-pagination-bullet {
    background-color: #404A3D;
    outline: none;
    height: 10px;
    width: 10px;
    opacity: 1;
    vertical-align: middle;
    border-radius: 50%;
    margin: 0 9px !important;
    display: inline-block;
}

#newsSlider .swiper-pagination-bullet-active {
    height: 20px;
    width: 20px;
    background-color: #8DD2EA;
}

.tab-pills {
    border-radius: 999px;
}

.news-section .nav-link {
    background-color: #FFF;
    color: #1A1311;
    padding: 8px 25px;
}

.news-section .nav-item:first-child .nav-link {
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
}

.news-section .nav-item:last-child .nav-link {
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
}

.news-section .nav-pills .nav-link.active,
.news-section .nav-pills .show>.nav-link {
    color: #FFF;
    background-color: #9DCD7B;
}

/*-----中間廣告專區 輪播-----*/
section.duo {
    padding: 64px 0 64px;
    position: relative;
}

@media (max-width: 1440px) {
    section.duo {
        padding: 64px 5rem 64px;
    }
}

@media (max-width: 996px) {
    section.duo {
        padding: 64px 2rem 64px;
    }
}

@media (max-width: 576px) {
    section.duo {
        padding: 64px 0rem 64px;
    }
}

.rocket {
    position: absolute;
    top: 30px;
    right: 75px;
    z-index: 2;
}

@media (max-width: 1536px) {
    .rocket {
        top: 0%;
        right: 45px;
        width: 15%;
    }
}

@media (max-width: 1200px) {
    .rocket {
        top: 0%;
        right: 45px;
        width: 18%;
    }
}

@media (max-width: 768px) {
    .rocket {
        top: 50%;
        right: 45px;
        width: 18%;
    }
}

.duo .mini {
    background: #8DD2EA;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

.duo .text-panel {
    height: 400px;
}

.img-ph {
    background: #ffd0c9;
    border-radius: 14px;
    width: 90%;
    height: 300px;
    overflow: hidden;
    margin: 0 auto;
}

.img-ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#duo-img .carousel-item {
    background-color: #FFF;
    border-radius: 14px;
    padding: 50px;
}

.duo .carousel-item.-text {
    background-color: transparent;
    border-radius: 14px;
    padding: 50px;
}

#duo-text .tag {
    background-color: #FFF;
    padding: 4px 10px 4px 50px;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #404A3D;
    position: relative;
}

#duo-text .tag:before {
    content: "";
    background-image: url(../img/icon/check.png);
    background-repeat: no-repeat;
    position: absolute;
    top: -24px;
    left: 8px;
    width: 40px;
    height: 50px;
}

#duo-text .title {
    margin-top: 20px;
    font-size: 2rem;
    color: #404A3D;
    font-weight: 700;
}

#duo-text .content {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #606060;
}

#duo-img .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233c3c3c'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#duo-img .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233c3c3c'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

#duo-img .carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    margin-right: 6px;
    margin-left: 6px;
    margin-top: auto;
    margin-bottom: auto;
    text-indent: -999px;
    cursor: pointer;
    background-color: #404A3D;
    background-clip: padding-box;
    border: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: 1;
    transition: opacity .6s ease;
}

#duo-img .carousel-indicators .active {
    opacity: 1;
    background-color: #EDDD5E;
    width: 15px;
    height: 15px;
}

/*----- 熱門推薦 -----*/

.recommend-section {
    margin-top: -300px;
    padding: 18rem 0rem 5rem 0rem;
    background: url(../img/re-bg.png) no-repeat;
    background-size: cover;
}

@media (max-width: 1440px) {
    .recommend-section {
        padding: 18rem 5rem 5rem 5rem;
    }
}


@media (max-width: 996px) {
    .recommend-section {
        padding: 18rem 2rem 5rem 2rem;
    }
}

@media (max-width: 576px) {
    .recommend-section {
        padding: 18rem 0rem 5rem 0rem;
    }
}

.recommend-section a {
    color: #1A1311;
}

.star {
    position: absolute;
    top: 0;
    left: -10%;
}

@media (max-width: 1024px) {
    .star {
        top: -80%;
        left: -16%;
    }
}

@media (max-width: 576px) {
    .star {
        opacity: 0.5;
    }
}


/*----- FOOTER -----*/

.pbmit-footer-overlay-area {
    background-image: url(../img/info-bg.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
}

@media (max-width: 576px) {
    .pbmit-footer-overlay-area {
        background-position: center center;
    }
}

.pbmit-footer-widget-area {
    padding: 50px 0 50px 0;
}

.pbmit-social-links li {
    display: inline-block;
    margin: 0 6px 0 0;
    padding-bottom: 0px !important;
    margin-bottom: 8px;
    margin-top: 8px;
    transform: unset;
}

.pbmit-social-links li a {
    font-size: 15px;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: var(--pbmit-secondary-color);
    background-color: var(--pbmit-light-color);
    border-radius: 50%;
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}

.pbmit-social-links li a:hover {
    color: var(--pbmit-white-color);
    background-color: var(--pbmit-secondary-color);
}
.pagination ul > li:first-child > a {
    border-left-width: 1px;
}

.pagination ul > li > a:hover, .pagination ul > li > a:focus, .pagination ul > li > a:active, .pagination ul > li > a.active {
    color: #303030;
    background-color: #f5f5f5;
}

.pagination ul > li > a:hover, .pagination ul > li > a:focus, .pagination ul > li > a:active, .pagination ul > li > a.active, .control-bar > .bar-item {
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.pagination ul > li > a {
    text-decoration: none;
}

.pagination ul > li > a, .pagination ul > li > span {
    color: #777777;
    float: left;
    padding: 4px 8px;
    line-height: 20px;
    background-color: #FFFFFF;
    border: 1px solid #cccccc;
    border-left-width: 0px;
}


.sitemap-item > a {
    color: white;
}

table > tbody > tr:nth-of-type(even) > * {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    color: var(--bs-table-striped-color);
}


table > :not(caption) > * > * {
    padding: .5rem .5rem;
    background-color: var(--bs-table-bg);
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

tbody, td, tfoot, th, thead, tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

table > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: #FFF;
    color: #000;
}

table > tbody > tr:first-child > * {
    color: #FFF;
    --bs-table-accent-bg: #AE354E;
}

.map {
    width: 100%;
    height: 650px;
    overflow: hidden;
    border: 1px solid rgb(211, 211, 211);
    border-radius: 3px;
}

.body-content {
    margin-top:150px;
}