/* Others */
a:hover{
    text-decoration: none;
}

ul,li{
    margin:0;
    padding:0;
    list-style-type: none;
}

/* li:hover,
li.nav-item > div > a:hover{
    background-color: lightgray;
    color: black;
} */

a,button,select{
    cursor: pointer;
}
a > i{
    color:white;
}

*:focus{
    outline: 0!important;
}

html, body{
    scroll-behavior: smooth;
    font-family: "Roboto",'Roboto Condensed', "Noto Sans", "Noto Sans TC", "Noto Sans SC", sans-serif;
    font-size: 16px;
    height: 100%;
}

.report-img{
    max-width: 100%;
}

/* Sticky Footer */
.wrapper {
    position: relative;
    min-height: 100%;
    /* padding-bottom: 100px; */
    box-sizing: border-box;
}
.a-footer-container{
    width: 100%;
    background: #b6b6b6;
    color: white;
    /* position: absolute; */
    bottom: 0;
    padding: 20px;
}
.a-footer-inside{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    height: 100%;
}
.a-footer-text{
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar{
    z-index: 99999;
    /* padding: 1.5rem; */
}

.nav_container {
    height: 100%;
    overflow-y: auto;
    margin-top: 80px;
    position: relative;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.li-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-nav > li{
    cursor: pointer;
    margin: 20px;
}

.show{
    display: block!important;
}

.navbar-nav > li > a > b{
    color: white;
}

/* .navbar-nav > li:hover > .sub-nav{
    display: block;
} */

.sub-nav{
    margin-top: 10px;
    display: none;
}

.sub-nav > li{
    margin-bottom: 10px;
    border-bottom: 1px solid rgb(161, 161, 161);
}

.sub-nav > li div{
    padding: 10px 0;
}

.sub-nav > li:hover{
    border-bottom: 1px solid #ef8502;
}

.sub-nav > li:hover a span{
    color: #ef8502;
}

.a-navbar-collapse{
    position: absolute;
    top:0;
    right:0;
    z-index: 99999;
}

.a-lang {
    display: flex;
    justify-content: flex-end;
    position: absolute; 
    z-index: 100000;
    width: fit-content;
}

.a-expand-nav-bar {
    background-color: #666666!important;
    width: 100%;
    min-width: 300px;
    max-width: 400px;
    height: 100vh;
    padding: 15px;
}

.a-expand-nav-bar::-webkit-scrollbar {
    display: none;
}

.company-logo{
    width: 100%;
    max-width: 450px;
}

.a-header-110{
    height: 112px;
}

/* BACK TO TOP BUTTON */
#btnToTop {
    display: none;
    position: fixed;
    bottom: 25px;
    right: 30px;
    z-index: 9999;
    border: none;
    outline: none;
    background-color: white;
    opacity: 75%;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.55);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.55);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.55);
}

#btnToTop:hover {
    background-color: #555;
}

.sections{
    width: 100%;
}

.a-title-container{
    display: flex;
    flex-direction: row;
}


.a-large-title{
    width: 100%;
    font-weight: 900;
    letter-spacing: 5px;
    padding-left: 16px;
    margin: 0;
}

.a-paragraph-text{
    font-weight: 400;
    padding: 0 0 25px 0;
    font-size: 1.25rem;
    text-align: justify;
}

hr {
    height: .35rem;
    width: 100%;
    margin: 0;
    border: none;
}


/* Our Business */
.business-inner{
    margin-top:30px;
    width: fit-content;
    max-width: 750px;
    padding: 25px;
}


/* Contact Us */
.a-contact {
    margin: 15px 0;
    align-items: flex-start;
    display: flex;
    flex-direction: row;
}
.a-contact>span{
    font-size: 20px;
    width: 100%;
    max-width: 70px;
}

.a-contact-en>span{
    width: auto;
    max-width: initial;
}
.a-contact>p {
    text-align: start;
    margin:0;
}
.a-contact>span,
.a-contact>p,
.a-contact>a {
    padding-left: 10px;
}

/* Google Map */
.a-map-responsive{
    overflow:hidden;
    width: 100%;
    height: 100%;
    padding-bottom:55%;
    position:relative;
}

.a-map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

/* HOMEPAGE Section Background */
.about-section,  .business-section{
    position: relative;
    z-index: 999;
    height: 100%;
    width: 100%;
    padding: 10vw 15vw;
}
.ir-section, .corporate-info-section, .contact-section, .report-section{
    padding:5vw 15vw;
}

#PressDiv > div:last-child {
    border-bottom: 0!important;
}
@media screen and (max-width: 1200px) {
    .ir-section, .corporate-info-section, .contact-section, .report-section{
        padding:5vw 25px;
    }

    #PressDiv{
        padding: 0 1rem!important;
    }
}

.a-about-container, .a-corporate-info-container, .a-business-container, .a-ir-container, .a-contact-container, .a-report-container, .a-footer.container{
    width: 100%;
    height: fit-content;
}

.bg-contact-us{
    background: url(../img/aboutus.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.bg-corporate-info{
    background: url(../img/aboutus.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.bg-business {
    background:linear-gradient( rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6) ), url(../img/banner.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.bg-ir {
    background: url(../img/aboutus.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.bg-financial-reports{
    background: url(../img/aboutus.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

/* Corporate Information*/
.a-info{
    margin-top: 3rem;
    margin-bottom: 2.5rem;
}

/* Other Section */
.about-us-section{
    position: relative;
    z-index: 999;
    height: 100%;
    width: 100%;
    padding: 5vw 15vw;
}

/* Financial Reports Swiper */
.swiper-slide{
    text-align: center;
}
.report-swiper-container{
    width: 100%;
    height: 100%;
    overflow: hidden;
}
/* Financial Reports */
.a-financial-container,
.a-announcement-container{
    height: 100%; 
    min-height: 600px;
}

.a-financial-container img{ 
    width: 100%;
    max-width: 280px;
}
.a-announcement-text > li{
    padding: 15px 24px;
}

.hide {
    display: none;
}
.form-control{
    width: 80px;
    padding: 0 10px;
}
.a-reports{
    display: flex;
    flex-wrap: wrap;
}
.report{
    margin: 0 20px 20px 0;
    text-align: center;
    padding: 20px;
    width: fit-content;
    background-color: white;
    -webkit-box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.65);
    -moz-box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.65);
    box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.65);
    border: 3px solid white;
}
.report > img {
    min-width: 120px;
    width: 100%;
    max-width: 250px;
}


/* Announcement */
p.document-type{
    margin-bottom: 0.35rem;
}
.document-type{
    max-width: 650px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
.document-title > p{
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
    max-width: 650px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

/* Footer */
.a-footer-inside > a > img {
    margin-right: 10px;
}

/* Auto Upload System TEXT*/
.aconnectSystem {
    width: 100%;
    text-align: right;
    font-size: 13px;
    padding-top: 20px;
}

/*==============================================================================*/
/*==============================================================================*/
/*==============================================================================*/


/* Common Mobile Devices */
@media (max-width: 575.98px) {
    .company-logo{
        width: 100%;
        max-width: 250px;
    }
    
    .swiper-button-next {
        right: -25px!important;
    }
    .swiper-button-prev{
        left: -25px!important;
    }
    .navbar{
        height: 76px;
        padding: 0 0.75rem!important;
    }
    .content{
        margin-top: 76px;
    }

    .navbar-toggler{
        padding: .25rem .55rem;
    }
    .a-lang > a {
        padding: .25rem .55rem;
    }
    .a-header-110{
        height: 85px;
    }
    .a-title-container{
        margin-top: 10px;
    }

    .business-title{
        font-size: 1.25rem;
    }
    h1.a-large-title{
        font-size: 1.25rem;
        line-height: 2;
        padding-left: 18px;
    }
    .a-paragraph-text{
        font-size: 1rem;
        padding: 0 0 20px 0;
        margin: 0;
    }
    .report-swiper-container{
        padding: 15px;
    }
    .report-swiper-container > .swiper-wrapper > div.swiper-slide{
        padding: 0 20px;
    }
    .report-swiper-container > .swiper-wrapper > div.swiper-slide > h3{
        font-size: 1rem;
    }
    #btnToTop{
        padding: 8px!important;
        right: 25px;
    }
    .a-contact{
        display: flex;
        flex-direction: column;
    }
    .a-contact > span,
    .a-contact > p,
    .a-contact > a{
        padding-left: 0;
    }
    .report > h5{
        font-size: 1rem;
    }
    .a-map-responsive{
        overflow:hidden;
        width: 100%;
        padding-bottom:80%;
        position:relative;
    }
    .p-5{
        padding: 1.5rem!important;
    }
    .a-footer-text{
        font-size: 14px;
    }
    /* Section Background */
    .about-us-section, .corporate-info-section, .business-section, .ir-section, .contact-section, .report-section{
        padding:6vw;
    }
    .about-section{
        padding:10vw;
    }
    .a-financial-container,
    .a-announcement-container{
        min-height: auto;
    }
    
    .document-title > p,span {
        font-size: 1rem!important;
    }
    .business-inner {
        padding: 25px 0;
    }
    .a-more-container{
        display: flex;
        justify-content: center;
        text-align: center;
    }
    .bg-business {
        background:linear-gradient( rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6) ), url(../img/business.jpg) no-repeat;
        background-size: cover;
        background-position: center center;
        background-attachment: inherit;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) { 
    .navbar{
        padding: 0 1rem;
    }
    .a-header-110{
        height: 88px;
    }
    .nav_container{
        margin-top: 80px;
    }
    .a-contact > span, p, a{
        padding-left: 0;
    }
    .report-img{
        max-width: 80%!important;
    }
    .a-info {
        margin-top: 1.25rem;
        margin-bottom: 0.15rem;
    }
    .a-footer-inside > a > img {
        margin-right: 0;
        margin-bottom: 3px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) { 
    .a-financial-container{
        padding: 1rem!important;
    }
    div.a-financial-container > div.row{
        display: contents;
    }
    .a-large-title{
        font-size: 2rem;
    }
    .a-contact{
        line-height: 1.5;
    }
    .a-financial-container,
    .a-announcement-container{
        height: 100%; 
        min-height: auto;
    }
    .a-la{
        margin-top: 2rem;
    }
    .a-footer-text{
        margin: 10px 0 20px; 
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) { 
    .swiper-button-next {
        right: -50px;
    }
    .swiper-button-prev{
        left: -50px;
    }
}


/* Sticky Footer */
@media (max-width: 693.98px){
    .wrapper {
        position: relative;
        min-height: 100%;
        box-sizing: border-box;
    }
    .a-footer-container{
        width: 100%;
        color: white;
        bottom: 0;
        padding: 10px;
    }
}

/* NavScroll Landscape 414 */
@media (max-height: 568px){
    .nav_container{
        position: relative;
        height: 405px;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }
    .a-back-to-top{
        width:50px;
    }
}

/* NavScroll Landscape 414 */
@media (max-height: 414px){
    .nav_container{
        position: relative;
        height: 320px;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }
}
/* NavScroll Landscape 375 */
@media (max-height: 375px){
    .nav_container{
        position: relative;
        height: 265px;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }
}
/* NavScroll Landscape 320 */
@media (max-height: 320px){
    .nav_container{
        position: relative;
        height: 225px;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }
}


.qr-logo{
    cursor: pointer;
    max-width: 50px;
}

.qr-code{
    display: none;
    position:absolute;
    bottom: 90px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

#QRlogoDiv{
    z-index: 999;
}

#QRlogoDiv:hover .qr-code{
    display: block!important;
}


.qr-code img{
    max-width: 200px;
    z-index: 9999;
}


@media screen and (max-width: 640px) {
    .slogan-text{
        margin-bottom: 0!important;
    }   
}

.bg-about {
    background: linear-gradient( rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35) ), url(../img/about-banner.jpg) no-repeat;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 60vh;
}

.bg-mmtb{
    background: url('../img/about-banner.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.bg-dfeb{
    background: url('../img/dfeb-banner2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-mt{
    background: url('../img/mt-banner2.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.bg-ir{
    background: url('../img/ir-banner2.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.bg-press{
    background: url('../img/press-banner2.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.bg-contact{
    background: url('../img/contact-banner.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


.a-img-title{
    background-color: rgba(0,0,0,.4);
    margin: 0; 
    height: 60vh;
    width: 100%;
    font-size: 4rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

@media screen and (max-width: 991.98px) {
    .bg-about{
        height: 500px;
    }

    .a-img-title{
        height: 500px;
        font-size: 2.5rem;
    }

} 

@media screen and (max-width: 575.98px) {
    .bg-about{
        height: 300px;
    }

    .a-img-title{
        height: 300px;
        font-size: 1.25rem;
    }
} 

#PressDiv{
    padding: 0 3rem;
}

.year-box-container{
    display:flex;
    justify-content: flex-end;
    margin-bottom: 50px;
}

#DropDownYearBoxDiv{
    max-width: 120px;
}