@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100..900&display=swap');

:root {
    --main-color: #3590d9;
    --hover-color: #f68320;
    --text-black-color: #373737;
}

*:focus {
    outline: 0 !important;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 20px;
    font-weight: 400;
    font-family: "Roboto", sans-serif;
}

body {
    line-height: 1.5;
    color: var(--text-black-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

p {
    line-height: 1.5;
}

p:last-child {
    margin: 0;
    padding: 0;
}

button {
    border: none;
    background-color: transparent;
}

ul,
li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

a>em {
    color: white;
}

hr {
    height: .2rem;
    width: 100%;
    margin: 0;
    border: none;
}

h2 {
    font-weight: 700;
}

.float-right {
    float: right;
}

.a-inner-page-banner {
    height: 420px;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.a-inner-page-title {
    border-radius: 50px;
    padding: 15px 40px;
    background: linear-gradient(rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.5) 75%);
}

    .a-inner-page-title h1 {
        margin-bottom: 0;
        color: white;
    }

#BannerAboutus_Div {
    background-position: center 40%;
    background-image: url(../img/iStock-1051617224.jpg);
}

.wrapper {
    position: relative;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--text-black-color);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--hover-color);
}

/* Navbar */

.a-navbar-box {
    width: 100%;
    padding: 10px 20px;
    z-index: 10000;
    transition: all .3s ease-in-out;
    position: fixed;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.a-navbar-box.active {
    background-color: rgba(255, 255, 255, 0.65);
    position: fixed;
}

.a-navbar-box.active .company-logo {
    max-width: 180px;
    transition: all .3s ease-in-out;
}

    .a-navbar-box.active .a-lang span,
    .a-navbar-box.active .a-lang a {
        color: var(--text-black-color) !important;
    }

    .company-logo {
        width: 100%;
        max-width: 200px;
        transition: all .3s ease-in-out;
    }

body.menu-active {
    overflow-y: hidden;
}

.a-navbar-pop-up-top {
    padding: 30px 40px;
    width: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.a-navbar-pop-up-top img {
    max-width: 150px;
}

.a-navbar-pop-up-top .a-menu-button {
    margin: 0;
    padding: 0;
}

.a-navbar-pop-up-top .a-menu-button em {
    font-size: 32px;
    transform: rotate(45deg);
}

.a-navbar-pop-up-top .a-menu-button em:hover {
    color: var(--hover-color);
}

.a-navbar-pop-up {
    top: 0;
    right: 0;
    width: 100%;
    max-width: 460px;
    height: 100vh;
    z-index: 10000;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    background-color: white;
    display: none;
    flex-direction: column;
    align-items: flex-end;
    position: fixed;
}

.a-navbar-pop-up.active {
    display: flex;
}

.a-navbar-pop-up em {
    font-size: 24px;
    color: var(--text-black-color);
}

.a-navbar-pop-up>ul {
    width: 100%;
}

.a-navbar-pop-up>ul>li>a {
    padding: 20px 40px;
    width: 100%;
    border-bottom: 1px solid rgb(212, 212, 212);
    color: var(--text-black-color);
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.a-navbar-pop-up>ul>li>a:hover {
    border-bottom: 1px solid transparent;
    background-color: var(--hover-color);
}

.a-navbar-pop-up>ul>li>a:hover span {
    color: white;
}

.a-navbar-pop-up>ul>li>a:hover em {
    color: white;
}

.a-menu.active .a-sub-menu {
    display: flex;
    flex-direction: column;
}

.a-menu.active>a {
    background-color: var(--main-color);
}

.a-menu.active>a>span {
    color: white;
}

.a-menu.active>a>em {
    color: white;
}

.a-sub-menu {
    display: none;
    padding: 20px 0;
}

.a-sub-menu li {
    padding: 10px 40px;
}

.a-sub-menu a {
    color: var(--text-black-color);
}

.a-sub-menu a:hover {
    color: var(--hover-color);
}

.a-lang {
    display: flex;
    align-items: center;
}

.a-lang span {
    color: white;
}

.a-lang a {
    padding: 0 10px;
    color: white!important;
    cursor: pointer;
    font-family: "Noto Sans TC", "Noto Sans SC", sans-serif;
}

.a-lang a:hover {
    color: var(--hover-color);
}



.a-lang button {
    margin-left: 10px;
    padding: 10px 20px;
    background-color: var(--main-color);
    display: flex;
    align-items: center;
}

.a-lang button:hover {
    background-color: var(--hover-color);
}

.a-lang button em {
    color: white;
    font-size: 20px;
}

.a-textsize {
    font-size: 16px;
}

/* Navbar End */

.sections {
    width: 100%;
}

/* Google Map */
.a-map-responsive {
    overflow: hidden;
    width: 65%;
    padding-bottom: 35%;
    position: relative;
    height: 55%;
}

.a-map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}


/* Section Background */
.about-section,
.corporate-info-section,
.business-section,
.contact-section,
.report-section {
    position: relative;
    z-index: 999;
    height: 100%;
    width: 100%;
    padding: 100px 160px;
}

.ir-section {
    width: 100%;
    padding: 100px 0;
    position: relative;
}

.a-about-container,
.a-corporate-info-container,
.a-business-container,
.a-ir-container,
.a-contact-container,
.a-report-container,
.a-footer.container {
    width: 100%;
}

.bg-contact-us {
    background: url(../img/aboutus.jpg) no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.form-control {
    width: 120px;
    padding: 0 10px;
}

/* Auto Upload System TEXT*/
.aconnectSystem {
    width: 100%;
    text-align: right;
    font-size: 13px;
    padding-top: 20px;
}

/* Index */
.a-business-box {
    margin: 40px auto 0;
    display: flex;
    flex-direction: row;
    gap: 40px;
    width: 100%;
    max-width: 80%;
}

.business-item {
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.85);
}

.business-item:last-child {
    margin-bottom: 0;
}

.business-titie {
    font-weight: 600;
}

.business-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.business-content>div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.business-content img {
    margin-top: 40px;
    width: 100%;
}

.business-content a {
    padding: 10px 30px;
    transition: all .3s ease-in-out;
    background-color: var(--main-color);
    color: white;
    display: flex;
}

.business-content a:hover {
    transition: all .3s ease-in-out;
    background-color: var(--hover-color);
}

.ir-section .row {
    justify-content: space-evenly;
}

.report-swiper-container,
.a-announcement-container {
    margin-top: 40px;
    overflow: hidden;
}

.report-swiper-container h3 {
    font-size: 20px;
    margin-top: 10px;
}

.report-img {
    width: 100%;
    max-width: 260px;
}

.a-financial-container {
    position: relative;
}

.a-financial-container .swiper-slide {
    text-align: center;
}

.a-announcement-text li {
    margin-bottom: 20px;
}

.a-announcement-text li:last-child {
    margin-bottom: 0;
}

.a-announcement-text a {
    display: flex;
    flex-direction: column-reverse;
}

.a-announcement-text a:hover h3,
.a-announcement-text a:hover span {
    color: var(--hover-color);
}

.a-announcement-text a h3 {
    line-height: 1.5;
    font-size: 20px;
    color: var(--text-black-color);
}

.a-announcement-text a span {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-black-color);
}

.a-footer-container {
    padding: 30px 40px;
    width: 100%;
    background: #f7f7f7;
    color: white;
}

.a-footer-inside {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.a-footer-inside img {
    width: 100%;
    max-width: 150px;
}

.a-footer-text {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    padding: 0;
    color: var(--text-black-color);
}

.a-footer-text span {
    margin: 0 10px;
}

.a-footer-text a {
    color: var(--main-color);
}

.a-footer-text a:hover {
    color: var(--hover-color);
}

.a-inner-page-content {
    padding: 100px 160px;
}

.a-inner-page-content p b {
    text-decoration: underline;
}

.a-inner-page-content h2 {
    margin-bottom: 40px;
    padding-bottom: 20px;
}

.a-contact-inner {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.a-contact-item {
    margin-bottom: 20px;
}

.a-contact-item em {
    min-width: 20px;
    margin-right: 10px;
}

.a-contact-item a {
    color: var(--main-color);
}

.a-contact-item a:hover {
    color: var(--hover-color);
}

.a-ci-item {
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid lightgrey;
    display: flex;
    flex-direction: row;
}

.a-ci-label {
    width: 40%;
}

.a-ci-content {
    width: 60%;
}

.a-ci-content a {
    word-break: break-word;
    color: var(--main-color);
}

.a-ci-content a:hover {
    color: var(--hover-color);
}

.a-report-inner {
    display: flex;
    flex-direction: column;
}

#YearDiv {
    margin: 0 0 0 auto;
}

.report-box {
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.report-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.report-item img {
    margin-bottom: 10px;
    width: 100%;
    max-width: 280px;
}

.report-item span {
    font-weight: 500;
    color: var(--text-black-color);
}

.report-item:hover span {
    color: var(--hover-color);
}

#BackToTop_Div {
    bottom: 20px;
    right: 30px;
    z-index: 9999;
    background-color: var(--main-color);
    padding: 10px 20px;
    border-radius: 4px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    -moz-box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    display: none;
    border: none;
    outline: none;
    position: fixed;
    cursor: pointer;
}

#BackToTop_Div.active {
    display: flex;
}

#BackToTop_Div em {
    color: white;
}

#BackToTop_Div:hover {
    background-color: var(--hover-color);
}

.a-cg-item {
    margin-bottom: 40px;
    padding: 40px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

    .a-cg-label {
        color:var(--main-color);
    }

    .a-cg-item:hover {
        background-color: var(--main-color);
    }

        .a-cg-item:hover .a-cg-label,
        .a-cg-item:hover em,
        .a-cg-item:hover span {
            color: white;
        }

        .a-cg-pdf-button span,
        .a-cg-pdf-button em {
            color: var(--main-color);
        }

.a-press-item {
    margin-bottom: 40px;
    padding: 40px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.a-press-date, 
.a-press-title {
    color: var(--text-black-color);
}

    .a-press-title{
        padding-right: 40px;
    }

    .a-press-item:hover {
        background-color: var(--main-color);
    }

        .a-press-item:hover .a-press-date,
        .a-press-item:hover .a-press-title,
        .a-press-item:hover em,
        .a-press-item:hover span {
            color: white;
        }

        .a-press-left {
            display: flex;
            flex-direction: column;
        }

.a-press-item em,
.a-press-item span{
    color: var(--main-color);
}

.a-press-date {
    font-size: 18px;
}

.a-press-pdf-button {
    cursor: pointer;
}

@media screen and (max-width: 1600px) {
    .a-business-box {
        max-width: 100%;
    }
}

@media screen and (max-width: 1400px) {
    .a-ci-item {
        flex-direction: column;
    }

    .a-ci-label {
        width: 100%;
        margin-bottom: 5px;
        font-weight: 500;
    }

    .a-ci-content {
        width: 100%;
    }
}

@media screen and (max-width: 1199px) {
    .swiper-bg {
        height: 360px;
    }

    p {
        font-size: 18px;
    }

    .about-section,
    .corporate-info-section,
    .business-section,
    .contact-section,
    .report-section {
        padding: 60px;
    }

    .a-inner-page-content {
        padding: 60px;
    }

    .business-titie {
        margin-bottom: 40px;
        text-align: center;
    }

    .business-content {
        flex-direction: column-reverse;
    }

    .business-content>div {
        margin-top: 40px;
        padding-right: 0;
        align-items: center;
    }

    .ir-section {
        padding: 100px 60px;
    }

    .a-financial-container {
        margin-bottom: 100px;
    }

    .a-announcement-text li{
        margin-bottom: 0;
    }

    .a-announcement-text li a {
        padding: 20px;
    }

    .a-announcement-text li:nth-child(odd) {
        background-color: rgb(243, 243, 243);
    }

    .a-announcement-text a h3 {
        margin-bottom: 0;
    }

    .a-footer-text {
        text-align: center;
    }
}

@media screen and (max-width: 991px) {
    .a-business-box {
        flex-direction: column;
    }
}

@media screen and (max-width: 640px) {

    p {
        font-size: 16px;
        text-align: justify;
    }

    .a-navbar-box {
        padding: 20px;
    }

    .a-lang > a {
        font-size: 16px;
    }

    .a-textsize {
        display: none;
    }

    .company-logo{
        max-width: 120px;
    }

    .a-navbar-box.active .company-logo {
        max-width: 140px;
    }

    .a-inner-page-content {
        padding: 40px 30px;
    }

    .a-inner-page-content h2 {
        padding-bottom: 0;
    }

    .about-section,
    .corporate-info-section,
    .business-section,
    .contact-section,
    .report-section {
        padding: 40px 30px;
    }

    .ir-section {
        padding: 40px 30px;
    }

    .ir-section h2 {
        font-size: 24px;
    }

    .a-financial-container {
        margin-bottom: 40px;
    }

    .a-inner-page-banner {
        height: 280px;
    }

    .swiper-bg {
        height: 280px;
        background-position: center 50%;
    }

    .sections > h2 {
        font-size: 24px;
        text-align: center;
    }
    
    .business-titie {
        font-size: 24px;
    }

    .business-item {
        padding: 30px;
    }

    .business-content a {
        font-size: 16px;
    }

    .business-content img {
        max-width: initial;
    }

    .a-announcement-text a h3{
        font-size: 16px;
    }

    .report-img {
        max-width: 180px;
    }

    .a-inner-page-content h2 {
        font-size: 24px;
        text-align: center;
    }

    .a-ci-label {
        font-size: 18px;
    }
    
    .a-ci-content {
        font-size: 16px;
    }
}

@media screen and (max-width: 414px) {
    .company-logo{
        max-width: 100px;
    }

    .a-navbar-box.active .company-logo {
        max-width: 120px;
    }

    .a-lang button {
        padding: 5px 10px;
    }

    .a-sub-menu li,
    .a-navbar-pop-up>ul>li>a {
        padding: 10px 20px;
    }
}
