html, body {
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Noto Sans TC', sans-serif;
    max-width: 100%;
    font-size: 16px;
    color: #222222;
    margin: 0;
    line-height: normal;
    background: #ffffff;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    transition: all 0.3s ease 0s;
}

a:hover {
    opacity: 0.5;
    text-decoration: none;
    color: #FFFFFF;
    cursor: pointer;
}


/* For swiper*/
.swiper-slide {
    font-size: 18px;
    /*display: flex;*/
    /*align-items: end;*/
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.desk-swiper {
    width: 70%;
    height: auto;
    cursor: grab;
}

.re-swiper {
    width: 100%;
    height: 100%;
    cursor: grab;
}

.re-swiper .swiper-wrapper .swiper-slide {
    height: 100%;
}

.swiper-button-prev {
    display:block;
    color: #451E5D;
    left: 20px;
}

.swiper-button-prev.re-prev {
    display:block;
    left: 0 !important;
    color: #FFFFFF;
}

.swiper-button-next {
    display:block;
    color: #451E5D;
    right: 20px;
}

.swiper-button-next.re-next {
    display:block;
    right: 0 !important;
    color: #FFFFFF;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 30px;
    line-height: 30px;
}

.header {
    box-shadow: 0 3px 9px #ddd;
}

.brand-details-header {
    box-shadow: 0 3px 9px #ddd;
    padding: 13px 20px;
}

.logo-area, .section-area, .social-area {
    display: flex;
    align-items: center;
}

.logo-area {
    padding-right: 20px;
    border-right: 3px solid #C17AC0;
}

.section-area {
    height: 70px;
    padding-right: 17px;
    border-right: 3px solid #C17AC0;
}

.section-items a.item {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    font-size: 17px;
    margin-left: 1em;
    margin-right: 1em;
}

.head-title h5 {
    font-weight: bold !important;
}

.subpage-banner {
    width: 100%;
    height: 180px;
    color: #FFFFFF;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.subpage-banner .container, .subpage-banner .row {
    height: 100%;
}

.subpage-area {
    color: #000000;
    background-color: #EFEFEF;
}

.current-link a {
    color: #000000;
}

.current-link .link-arrow {
    margin: 0 5px;
    vertical-align: middle;
}

.about-us-box {
    margin-top: 10px;
    margin-bottom: 10px;
}

.aboutus-main {
    background-color: #FFFFFF;
    padding: 20px;
}

.aboutus-main .main-content {
    text-align: center;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.aboutus-main .main-content p {
    padding: 2em 0;
}

.about-us-type-area h4 {
    color: #2C0E3E;
}

.about-us-type-area .know-more-btn, .news-url .know-more-btn {
    color: #C17AC0;
    border: 1px solid #C17AC0;
    border-radius: 5px;
    padding: 7px 30px;
    font-weight: bold;
}

.back-home-btn {
    font-weight: bold;
    background-color: #CE304F;
    border-radius: 7px;
    padding: 9px 25px;
    color: #FFFFFF;
    box-shadow: 0 3px 9px #ddd;
}

.lang-btn {
    font-weight: bold;
    background-color: #C17AC0;
    border-radius: 7px;
    padding: 7px 11px;
    color: #FFFFFF;
    opacity: 0.5;
    box-shadow: 0 3px 9px #ddd;
}

.lang-btn.active {
    opacity: 1;
}

.slider-caption {
    background-color: #451E5D;
}

.menu-items a.item {
    color: #000000;
    font-weight: bold;
    padding: 10px 15px;
    cursor: pointer;
}

.menu-items a.item.active {
    color: #FFFFFF;
    background-color: #C17AC0;
}


.home-part-slider, .home-part-about-us, .home-part-news {
    color: #FFFFFF;
    background-color: #eee;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.card.news-box {
    border-radius: 0 !important;
    border: 0 !important;
}

.card .card-body {
    color: #000000;
}

.card .card-footer a.news-detail {
    color: #CE304F;
    text-decoration: underline;
}

.card .card-footer a.news-detail:hover {
    opacity: 0.5;
}

.card-text.news-box-content {
    max-height: 120px;
    min-height:100px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-img-top {
    border-radius: 0 !important;
}

.know-more-btn {
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    padding: 7px 30px;
    font-weight: bold;
}

.footer {
    background-color: #2C0E3E;
}

.footer-copyright {

    padding: 5px 0;
    background-color: #FFFFFF;
    color: #000000;
}

.footer-copyright.purple {
    background-color: #2B0E3E;
    color: #FFFFFF;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    color: #FFFFFF;
    padding: 2px 0;
}

.home-img-box {
    position: relative;
    width: auto;
    height: 390px;
}

.container-md {
    margin-top: auto;
    margin-bottom: auto;
    max-width: 1500px !important;
}

.bottom-description-box {
    width: 100%;
    padding: 5px 20px;

    background-color: rgba(69, 30, 93, 0.7);
    text-align: left;

    position: absolute;
    bottom: 0;
}

.bottom-description-box .description-content {
    color: #FFFFFF;
    font-size: 14px;
    opacity: 1;
    font-weight: bold;
}

.grid-slide-box {
    position: relative;
}

.grid-slide-box img {
    width: 100%;
    height: 100%;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 220px);
    grid-template-rows: repeat(2, 190px);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    justify-content: center;
}

.A {
    grid-area: 1 / 1 / 2 / 2;
}

.B {
    grid-area: 1 / 2 / 2 / 3;
}

.C {
    grid-area: 2 / 1 / 3 / 2;
}

.D {
    grid-area: 2 / 2 / 3 / 3;
}

.E {
    grid-area: 1 / 3 / 3 / 5;
}


.latestnews-box {
    background-color: #FFFFFF;
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: start;
}

.latestnews-box .box-content {
    max-width: 800px;
}

.latestnews-box .box-content .news-content {
    margin-bottom: 20px;
}

.latestnews-box .box-content .news-title h4 {
    font-weight: bolder;
    color: #2C0E3E;
}

.news-content.truncated-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-detail-box {
    padding: 20px 30px 20px 20px;
    background-color: #FFFFFF;
}

.news-detail-box .news-title h4 {
    font-weight: bolder;
    color: #2C0E3E;
}

.news-detail-box .news-content {

}

.news-detail-box .back-last a.back-last-btn {
    color: #C17AC0;
    text-decoration: underline;
}

.subpage-left-menu ul {
    list-style: none;
    margin-left: -35px;
}

.subpage-left-menu ul li {
    opacity: 0.4;
    background-color: #FFFFFF;
    background-image: url("../images/subpage_left_menu_arrow.png");
    background-position: bottom 50% right 20px;
    background-repeat: no-repeat;
    background-size: 20px auto;
}

.subpage-left-menu ul li {
    color: #2C0E3E;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    padding: 15px 50px 15px 15px;
}

.subpage-left-menu ul li:hover {
    cursor: pointer;
}

.subpage-left-menu ul li:not(:last-child) {
    margin-bottom: 9px;
}

.subpage-left-menu ul li.active {
    opacity: 1;
}

.subpage-left-menu ul li.active a:hover {
    opacity: 1;
}

.subpage-title-bar h4 {
    color: #2C0E3E;
    font-weight: bold;
}


.clients-box {
    padding: 30px 30px 20px 20px;
    background-color: #FFFFFF;
}

.clients-box .client-title h5 {
    text-align: center;
    color: #2C0E3E;
    font-weight: bolder;
}

.clients-box hr {
    color: #2B0E3E;
    border-top: 2px solid #2B0E3E;
}

.client-logo {

}


.right-hand-area {
    background-color: #FFFFFF;
    padding: 20px;
}

.purple-hr {
    border-top: 2px solid #2C0E3E;
}

.short-purple-hr {
    height: 5px;
    width: 60px;
    background-color: #C17AC0;
    border: none;
    margin: 10px 0;
}

.cs-area {
    color: #14527E;
}

.cs-area iframe {
    width: 100%;
    height: 540px;
    margin-top: 25px;
}

.cs-area a {
    color: #2C0E3E !important;
    text-decoration: none;
}

.cs-area ul {
    list-style: none;
    margin-top: 25px;
}

.cs-area ul li {
    margin-left: -40px;
    padding: 10px 0 10px 50px;
    background-size: 40px auto;
    background-position: left;
    background-repeat: no-repeat;
    margin-top: 5px;
    margin-bottom: 5px;
    color: #2C0E3E;
}

.cs-area ul li.cs-icon-01 {
    background-image: url("../images/cs_icon_01.png");
}

.cs-area ul li.cs-icon-02 {
    background-image: url("../images/cs_icon_02.png");
}

.cs-area ul li.cs-icon-03 {
    background-image: url("../images/cs_icon_03.png");
}

.cs-area ul li.cs-icon-04 {
    background-image: url("../images/cs_icon_04.png");
}


.mobile-subpage-menu {
    position: relative;
    z-index: 500;
    margin-bottom: 35px;
}

.mobile-subpage-menu-title {
    width: 100%;
    padding: 5px 15px;
    border: solid 2px #2C0E3E;
    color: #2C0E3E;
    margin-top: -25px;
    margin-bottom: 0;
    border-radius: 5px;
    outline: none;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url("../images/left_menu_arrow.png");
    background-size: 18px auto;
    background-position: top 40% right 20px;
    background-repeat: no-repeat;
}

.mobile-subpage-menu-items {
    position: absolute;
    z-index: 600;
    left: 0;
    top: 10px;
    width: 100%;
    display: none;
}

.mobile-subpage-menu-items ul {
    background: #fff;
    list-style: none;
    border: solid 2px #2C0E3E;
    border-radius: 5px;
    padding: 0;
}

.mobile-subpage-menu-title:hover, .mobile-subpage-menu-items ul:hover {
    user-select: none;
    cursor: pointer;
}

.mobile-subpage-menu-items ul li {
    padding-left: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.mobile-subpage-menu-items ul li:hover {
    text-decoration: none;
    color: #FFFFFF;
    background-color: #2C0E3E;
}


.news_paginator .page-item.active .page-link {
    color: #FFFFFF;
    background-color: #2C0E3E !important;
}

.news_paginator .page-link:hover {
    color: #FFFFFF !important;
    background-color: #2C0E3E !important;
}

.news_paginator .page-link {
    border: 0;
    margin-left: 10px;
    padding: 7px 10px;
    color: #451E5D;
}

.tab-content {
    display: none;

}

.tab-content.active {
    display: block;
    animation: transition ease-in 0.5s;
}

@keyframes transition {
    from {
        opacity: 0.3;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0%);
    }
}


.section-box .section-header{
    border-top: 2px solid #C17AC0;
    border-bottom: 2px solid #C17AC0;
}
.section-box .section-header h4{
    margin:0;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    color: #C17AC0;
    font-weight: bold;
}


.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding:0;
}

.image-gallery li {
    list-style: none;
    flex-basis: 370px;
}

.image-gallery li img {
    object-fit: cover;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}


.image-gallery-scroll {
    display:none;
    overflow: auto;
    white-space: nowrap;
    padding: 10px;
}

.image-gallery-scroll img {
    padding: 10px;
}
.section-content iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}
.section-content p{
    margin-bottom: 0;
}
.ourbrand-box {
    display:flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-size: cover ;
    background-repeat: no-repeat;
    min-height:250px;
}
.ourbrand-box:not(:last-child){
    margin-bottom: 2em;
}

.ourbrand-box h2{
    text-align: center;
    font-weight: bold;
    color:#FFFFFF;
}

.head-title h4{
    margin-bottom: 0;
}
.head-title .fit-top{
    font-size: 12px;
    font-weight: bold;
}
