@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap');

.flex {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-start;
}

.news-list .items .news-list-50 p {
    width: auto;
    white-space: normal;
}

.news-list-50 {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}

.news-list-50 .row {
    margin: 0 -10px;
}

.news-list-50 .col-md-6 {
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 18px;
}
.news-list-left{
    flex-shrink: 0;
}
.news-list-right{
    overflow: hidden;
}
.news-list-right time {
    margin: 2px 0;
}

.news-list-right p {
    font-weight: normal;
    width: 95%;
    white-space: nowrap;
    text-overflow: initial;
}

.news-list-style {
    background-color: #F5F5F5;
    padding: 17px 5px;
    position: relative;
    border-bottom: 1px solid #E50012;
}

.news-list-style:after {
    position: absolute;
    content: "\f054";
    font-family: "FontAwesome";
    right: 10px;
    top: 50%;
    font-size: 12px;
    margin-top: -6px;
}

.news-list-50 .cate {
    margin-bottom: 0;
}

.marquee {
    background-color: #F5F5F5;
    border-radius: 40px;
    margin-bottom: 100px;
    /* display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    flex: auto; */
    overflow: hidden;
}

.marquee .cate {
    padding: 13px 30px;
    border-radius: 40px;
    background: #FFD93B;
    color: #343434;
    font-size: 13px;
    text-align: center;
    font-weight: normal;
    margin-right: 10px;
    float: left;
}

.marquee p {
    padding: 13px 0;
    font-size: 15px;
    font-weight: normal;
    overflow: hidden;
}

.marqueeText {
    display: block;
    margin-right: 20px;
    width: 70%;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F5F5F5;
    z-index: 1000;
}

.preloader .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -50px;
    margin-left: -135px;
}
.services-box .photo{
    padding-bottom: 15%;
}
.gallery a{
    position: relative;
    display: block;
    padding-bottom: 75%;
    overflow: hidden;
}
.gallery a img{
    position: absolute;
    left: 0;
    top: 0;
}
.services-box h3{
    line-height: 1.3;
    min-height: 53px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.grid .all p{
    min-height: 43px;
    padding-top: 5px;
    overflow: hidden;
}
.content-right .detail p.esgfont{
    line-height: 1.8;
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 400;
    color: #767575;
}
.menu-esg a, .top-esg h3{
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 400;
}
.top-esg h3{
    line-height: 1.8;
    font-size: 2.7rem;
    font-weight: 500;
}

.mb-3{
    margin-bottom: 60px;
}

.esg-body h4{
    font-size: 22px;
    color: #8DC540;
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 2;
    font-weight: 500;
}
.esg-body table thead tr{
    background-color: #0079D1;
    text-align: left;
    color: #fff;
}
.esg-body table thead tr td{
    color: #fff;
}
.esg-body table{
    width: 100%;
}
.esg-body table tbody tr{
    background-color: #F4F5F4;
}
.esg-body table tbody tr:nth-child(even){
    background-color: #FAFAFA;
}
.esg-body table thead tr td:nth-child(1){
    padding-left: 20px;
    padding-right: 10px;
    width: 15%;
}
.esg-body table tr td:nth-child(2){
    width: 50%;
    padding-right: 20px;
    padding-left: 20px;
}
.esg-body table thead tr td:nth-child(3){
    padding-right: 20px;
}
.esg-body table tbody tr td:nth-child(1){
    padding-left: 20px;
    color: #23A4B4;
}
.esg-body table tbody tr td:nth-child(3){
    padding-right: 20px;
}
.esg-body table td{
    line-height: 1.8;
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #767575;
    padding-top: 10px;
    padding-bottom: 10px;
    vertical-align: top;
}
.esg-body table td img{
    width: 80px;
    margin: 0 auto;
}
.article{
    padding-bottom: 100px;
}
.article-right{
    padding-right: 20px;
    padding-left: 20px;
    margin-right: -30px;
    width: calc(100% - 27% - 1%);
}
.article .wrapper:after {
    content: "";
    display: table;
    clear: both; 
}
.article h3{
    font-size: 2.4rem;
}
.article p{
    line-height: 1.7;
    margin-bottom: 30px;
    color: #585858;
}
.article-esg img{
    margin-bottom: 5px;
}
.row-del{
    margin-right: -20px;
    margin-left: -20px;
}
@media screen and (max-width: 1200px) {
    .article-right{
        margin-right: auto;
        width: calc(100% - 27% - 3%);
    }
}
@media screen and (max-width: 640px) {
    .flex {
        flex-direction: column;
    }
    .news-list-right{
        width: 92%;
        margin: 15px auto 0;
    }
    .news-list-style:after{
        display: none;
    }
    .news-list-50 time {
        text-align: left;
    }
    .news-list-50 .cate {
        margin: 0 10px;
    }
    .services-box h3{
        min-height: 30px;
    }
    .content-right .detail p.esgfont{
        font-size: 1.7rem;
    }
    .article-right{
        width: 100%;
    }
}

/* 20251217 Search box */
    .swiper {
        width: 100%;
        height: 100%;
    }

    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #444;
        display: flex;
        justify-content: center;
        align-items: center;
        }

    .swiper-slide a, .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .search-box {
        float: right;
        display: flex;
        padding: 25px 0 0 0;
        position: relative;
        margin-left: 10px;
    }
    /* 輸入框 */
    .search-box input {
        flex-grow: 1;
        padding: 13px 10px 8px 25px;
        width: 180px;
        font-size: 16px;
        outline: none;
        transition: 0.3s;
        border: none;
        border-bottom: 1px solid #ddd;
    }
    .search-box input:focus {
        border-color: #007BFF;
        background-color: #fff;
    }
    /* 搜尋按鈕 */
    .search-box .search-icon {
        color: #0079D1;
        border: none;
        font-size: 16px;
        cursor: pointer;
        transition: 0.3s;
        background-color: #fff;
        position: absolute;
        left: 0;
        top: 38px;
    }
    .sidebar-search-box {
        position: relative;
        padding: 0 1px;
    }
    .sidebar-search-box input {
        flex-grow: 1;
        padding: 13px 10px 8px 25px;
        width: 100%;
        font-size: 16px;
        outline: none;
        transition: 0.3s;
        border: none;
        border-bottom: 1px solid #ddd;
    }
    .sidebar-search-box .search-icon {
        color: #0079D1;
        border: none;
        font-size: 16px;
        cursor: pointer;
        transition: 0.3s;
        background-color: #fff;
        position: absolute;
        left: 5px;
        top: 12px;
    }
    .banner{
        top: 0px;
        padding-left: 0%;
    }
    .banner-bg{
        padding-top: 55.5%;
        width: 100%;
    }
    .wrapper-full{
        width: 100%;
        padding: 0 30px;
    }

    .search-top .pages-title h2, .search-top .pages-title h3{
        color: #0079D1
    }
    .search-main .news-list .cate{
        background-color: #0079D1;
        color: #fff;
    }
    .search-main .news-list p{
        width: 70%;
    }
    .search-page {
        display: flex;
        margin-bottom: 30px;
        max-width: 100%;
        float: right;
    }
    .breadcrumb{
        margin-bottom: 0px;
    }

    /* 輸入框 */
    .search-page input {
        flex-grow: 1;
        padding: 17px;
        border: 2px solid #ddd;
        font-size: 16px;
        outline: none;
        transition: 0.3s;
    }

    .search-page input:focus {
        border-color: #007BFF;
    }

    /* 搜尋按鈕 */
    .search-page button {
        padding: 10px 25px;
        background-color: #0079D1;
        color: white;
        border: none;
        font-size: 16px;
        cursor: pointer;
        transition: 0.3s;
    }

    .search-page button:hover {
        background-color: #0056b3;
        color: #ecf408;
    }

    @media screen and (max-width: 768px) {
        .search-box {
            display: none;
        }
    }