/**
 * 注意：此檔案包含自定義樣式，請勿在系統更新時覆蓋
 * Note: This file contains custom styles, do not overwrite during system updates
 * 最後更新 / Last updated: 2025-04-16
 */
/* 全局|gdpr|位置變更 */
@media screen and (min-width:991px) {
    .advbox{
        max-width: 80%;
        left: 50%;
        bottom: 25px;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .advbox .btnset{
        padding: 9px 40px 10px 30px !important;
        margin-bottom: 2px;
        &:before {
            background-color: #ccc;
        }
    }
}

/* 全局|header|箭頭樣式 */
.nav__btn::after{
    font-family: "icomoon";
    content: "\f105";
    font-size: 20px;
    color: #fff;
    transform: rotate(90deg);
}

.nav__layer .nav__btn::after{
    font-family: "icomoon";
    content: "\f105";
    font-size: 20px;
    transform: rotate(0deg);
}

@media screen and (max-width:991px) {
    .nav__btn::after{
        font-family: "icomoon";
        content: "\f105";
        font-size: 20px;
        transform: rotate(0deg);
    }
    .header--unfixed {
        .nav__layer {
            .nav__btn::after {
                color: #fff !important;
            }
        }
    }
}
.nav__btn-icon{
    display: none;
}

/* 全局|按鈕|按鈕樣式 */
.btnset {
    padding: 10px 30px 10px 20px !important;
    border: none;
    border-radius: 6px;
    clip-path: polygon(0 0, 100% 0%, 90% 100%, 0% 100%);
    /*background-color: #999999;*/
    position: relative;
    &:before {
        position: absolute;
        right: 0;
        top: 0;
        width: 20%;
        height: 100%;
        background-color: #6868b1fa;
        clip-path: polygon(55% 0, 100% 0%, 55% 100%, 0% 100%);
        content: "";
        z-index: 1;
        transition: all 500ms ease-in-out;
    }
    &:hover {
        &:before {
            right: -10px;
            background-color: #d0d0d0;
        }
    }
}
/* 首頁|列表標題|字體粗度 */
section .title.title--lg{
    font-weight: bold;
}

/* 首頁|banner|文字區塊 */
.ind-banner .ind-banner__text {
    max-width: 600px;
    overflow: hidden;
    .title, p {
        text-align: left;
    }
    p {
        margin: 20px 0 10px;
    }
    &:after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 40%;
        height: 100%;
        clip-path: polygon(50% 0, 95% 0, 70% 100%, 20% 100%);
        background-color: rgba(41, 42, 133, 0.65) !important;
        z-index: -1;
        transition: all 500ms ease-in-out;
    }
    .btnbox {
        display: flex !important;
    }
    &:hover {
        &:after {
            transform: translateX(50%);
        }
    }
}

@media (max-width: 991px) {
    .ind-banner .ind-banner__text {
        max-width: none;
    }
}

/* 首頁|banner|左右鍵 */
.ind-banner .swiper-button-next::after, .ind-banner .swiper-button-prev::after {
    content: "\e912";
    transform: rotate(90deg);
}
.ind-banner .swiper-button-next::after {
    transform: rotate(-90deg);
}

/* 首頁|banner|bullet */
.ind-banner .swiper-pagination .swiper-pagination-bullet{
    width: 30px;
    height: 6px;
    border-radius: 10px;
    transition: all 500ms ease-in-out;
}
.ind-banner .swiper-pagination .swiper-pagination-bullet-active {
    width: 12px;
    height: 12px;
    border-radius: 20px;
}


/* 首頁|列表|圖片導圓角 */
.product__item, .news__item {
    .img {
        border-radius: 8px;
        overflow: hidden;
    }
}
.index-list-effect-3 .news__item .info {
    border-radius: 8px;
}

/* 全局|header|nav| */
.nav__layer {
    width: max-content;
    min-width: 200px;
    .nav__item {
        .nav__name {
            &:hover {
                padding-left: 25px;
                font-weight: normal;
            }
        }
    }
}
@media (max-width: 991px) {
    .nav__layer {
        width: 100%;
    }
}

/* 全局|header|header-template20 */
.header-template20 {
    &.header--unfixed {
        background: linear-gradient(to bottom,  rgba(41,42,133.2) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    }
    .header__inner {
        .nav__name {
            &.active {
                color: #64b8ff;
                &:before {
                    background: #64b8ff;
                }
                &:after {
                    background-color: #64b8ff;
                }
                &:hover {
                    color: #64b8ff;
                    opacity: 1;
                    &:after {
                        background-color: #64b8ff;
                    }
                }
            }
            &:hover {
                color: #fff;
                opacity: 1;
                &:after {
                    background-color: #FFFFFF;
                }
            }
        }
    }
}
@media (max-width: 991px) {
    .header-template20 {
        .header__inner {
            .nav__box {
                background: #292a85;
            }
        }
    }
}

/* other */
.inner > .title {
    span {
        padding-left: 65px;
        background-image: url(../images/title-icon.svg);
        background-size: 45px auto;
        background-repeat: no-repeat;
        background-position: 8px 14px;
        &::before {
            display: none;
        }
    }
}
@media (max-width: 480px) {
    .inner > .title {
        span {
            background-position: 8px 7px;
        }
    }
}
.index-editor-template39 {
    .inner {
        .text {
            align-content: center;
            .title {
                font-weight: 700;
            }
        }
    }
}
.ind-below {
    background-attachment: fixed;
}
.index-editor-template41 {
    .wrapper {
        .inner__div {
            .title {
                line-height: 24px;
            }
            p {
                line-height: 22px;
            }
        }
    }
}
@media (max-width: 991px) {
    .index-editor-template41 {
        .wrapper {
            padding: 0 30px !important;
        }
    }
}
@media (max-width: 768px) {
    .index-editor-template41 {
        .wrapper {
            .inner__div {
                margin-bottom: 30px;
                &:last-child {
                    margin-bottom: 0;
                }
            }
        }
    }
}
@media (max-width: 480px) {
    .index-editor-template41 {
        .wrapper {
            padding: 0 15px !important;
        }
    }
}
.footer-common-editor1-template1 {
    .footer__social, .footer__info {
        .title {
            font-weight: 700;
        }
    }
}

@media only screen and (max-width: 768px) {
    .download__item .file-name {
        width: 75%;
    }
    .download__item .btnset {
        width: 25%;
    }
}
@media only screen and (max-width: 480px) {
    .download__item .file-name {
        width: 100%;
    }
    .download__item .btnset {
        width: 50%;
        margin: auto;
    }
}

