﻿/* .ECM = only english page use */

.ECM header .title {
    display: inline-block;
    font-size: 0;
    background: url(../img/logo-M.png) left center no-repeat;
    height: 57px;
    vertical-align: middle;
    width: 261px;
    background-size: contain
}

.ECM header nav > ul > li:nth-child(5), .ECM header nav > ul > li:nth-child(6), .ECM header nav > ul > li:nth-child(7), .ECM header nav > ul > li:nth-child(8), .ECM header nav > ul > li:nth-child(9) {
    width: calc( 10% - 1px );
}

.ECM header nav > ul > li:nth-child(1), .ECM header nav > ul > li:nth-child(2), .ECM header nav > ul > li:nth-child(3) {
    width: calc(13% - 1px);
}
.ECM header nav > ul > li:nth-child(4) {
    width: calc(8% - 1px);
}
.ECM header nav > ul > li:nth-child(5) {
    width: calc(12% - 1px);
}

    @media (max-width:768px) {
        .ECM header .title {
        display: inline-block;
        font-size: 0;
        background: url(../img/logo.png) left center no-repeat;
        height: 57px;
        vertical-align: middle;
        width: 261px;
        background-size: contain;
    }

    .ECM header nav > ul > li:nth-child(1), .ECM header nav > ul > li:nth-child(2), .ECM header nav > ul > li:nth-child(3), .ECM header nav > ul > li:nth-child(4), .ECM header nav > ul > li:nth-child(5), .ECM header nav > ul > li:nth-child(6), .ECM header nav > ul > li:nth-child(7), .ECM header nav > ul > li:nth-child(8), .ECM header nav > ul > li:nth-child(9) {
        width: 100%;
    }
}

.ECM .main-content * {
    letter-spacing: 0 !important;
}
/* --- nav start --- */ .ECM header nav ul li a {
    letter-spacing: 0px;
}

.ECM .nav > ul > li > a {
    padding: 21px 0px;
    font-size: 14px;
    text-align: center;
}

    .ECM .nav > ul > li > a i {
        /*right:50%;
	margin-right:-5px;
	top:65%;
	*/ right: 5px;
    }

@media (max-width:768px) {
    .ECM nav.nav > ul > li > a {
        text-align: left;
        padding: 11px 25px;
        word-break: keep-all;
    }
}
/*------quick link start---------*/

.ECM.index .QuickLinkBox > ul > li {
    vertical-align: top;
}

    .ECM.index .QuickLinkBox > ul > li > a {
        height: 62px;
        font-size: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

.ECM .QuickLinkBox > ul li a i {
    right: 8px;
    top: 10px;
}

.ECM .sideBar {
    width: 235px;
}

@media (max-width:768px) {
    .ECM .sideBar {
        width: 100%;
    }
}
/* --- sitemap start --- */

.ECM .itemListStyle:before {
    display: none;
}

.ECM .item.itemListStyle > a {
    padding-left: 0;
}

    .ECM .item.itemListStyle > a:after {
        left: 3px;
        display: none;
    }

.ECM .itemListStyle .item_1 {
    padding-left: 0.3em;
    margin-top: -15px;
    padding-top: 20px;
    margin-bottom: 10px;
}

    .ECM .itemListStyle .item_1:before {
        left: 0.3em;
        top: 18px;
    }

    .ECM .itemListStyle .item_1:after {
        /*height:8px;
	*/ width: 1em;
        left: -6px;
    }
/* --- sitemap end --- */ /*------------------------organization start*/ /* li.top 上方董監事會,主任室樣式*/

.ECM .HStyle li.top li a {
    width: 140px;
}

    .ECM .HStyle li.top li a:after {
        height: 25px;
    }

.ECM .HStyle li.top li.last div {
    padding-left: 61px;
    margin-left: 0;
}

.ECM .grid5List li {
    width: 49%;
}

.ECM .HStyle .top li.last div:after {
    left: auto;
    right: 13.1em;
}

.ECM #oldTable {
    width: 100%;
}

    .ECM #oldTable .mailLink {
        position: absolute;
        top: 0;
        right: 0;
    }

@media (max-width:767px) {
    .ECM .grid5List li {
        width: 100%;
    }
}

@media (min-width:1070px) {
    .ECM .HStyle ul.bottomList > li > a {
        font-size: 14px;
        min-height: 58px;
    }

    .ECM .HStyle ul.bottomList > li ul:before {
        height: 320px;
    }

    .ECM .HStyle ul.bottomList > li {
        padding: 0 2px 10px;
    }

    .ECM .HStyle ul.bottomList li ul li a {
        font-size: 13px;
        letter-spacing: 0;
    }

    .ECM .HStyle ul.bottomList li ul li:after {
        width: 8px;
        left: -9px;
    }
    /* EN fix */ .ECM .HStyle ul.bottomList > li.team-1 > a {
        line-height: 32px;
    }

    .ECM .HStyle ul.bottomList > li.team-1 ul:after, .ECM .HStyle ul.bottomList > li.team-2 ul:after, .ECM .HStyle ul.bottomList > li.team-3 ul:after {
        height: 23px;
        height: 24px\0;
    }
}

@media (min-width:1071px) {
    .ECM .HStyle li.top li div {
        margin-left: -157px;
    }

        .ECM .HStyle li.top li div:after {
            left: 6.5em;
        }

    .ECM .HStyle .top li.last div:after {
        right: 13em;
    }
}

@media (max-width:1071px) {
    .ECM .LStyle li.top li div {
        left: 70px;
    }

        .ECM .LStyle li.top li div:after {
            right: 7em;
        }

    .ECM .LStyle > ul {
        max-width: 420px;
    }

    .ECM .LStyle li.center:before {
        left: 70px;
    }

    .ECM .LStyle li.center:after {
        width: 13px;
        left: 70px;
    }

    .ECM .LStyle li.bottom:after {
        height: 16px;
    }

    .ECM .LStyle li.bottom > ul > li > a {
        width: auto;
    }

    .ECM .LStyle li.bottom > ul > li > ul:after {
        height: 16px;
    }

    .ECM .LStyle li.top li a:after {
        left: 70px;
    }
}

@media (max-width:650px) {
    .ECM .LStyle li.center:before {
        left: 15px;
    }

    .ECM .LStyle li.center:after {
        left: 15px;
    }

    .ECM .LStyle li.center:after {
        width: 20px;
    }

    .ECM .LStyle li.top li div {
        left: 13px;
    }

    .ECM .HStyle li.top li.last div {
        padding-left: 63px;
    }

    .ECM .LStyle li.bottom:after {
        height: 11px;
    }

    .ECM .LStyle li.top li div:after {
        right: 6.9em;
    }

    .ECM .HStyle .top li.last div:after {
        right: 13em;
    }

    .ECM .LStyle li.top li a:after {
        left: 15px;
    }
}

@media (max-width:375px) {
    .ECM .LStyle li.bottom:after {
        height: 29px;
    }
}

@media (max-width:360px) {
    .ECM .LStyle li.bottom > ul > li.team-2 > ul:after {
        height: 34px;
    }
}

@media (max-width:320px) {
    .ECM .LStyle li.bottom > ul > li.team-1 > ul:after, .ECM .LStyle li.bottom > ul > li.team-3 > ul:after {
        height: 34px;
    }
}
/*------------------------organization end*/ /*-------------Industrial start-----------------*/

.ECM .submenu3 li {
    width: 33%;
}

@media (max-waidth:576px) {
    .ECM .wrapper .submenu3 li {
        width: 100%;
    }
}
