﻿
/* ===== 基礎頁面設置 ===== */
* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* 修改這裡：移除 html 的 overflow: hidden */
html {
    height: 100%;
    /* 移除 overflow: hidden; */
    overflow-x: hidden; /* 只限制水平滾動 */
}

body {
    min-height: 100vh;
    height: auto;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* 謹慎使用 overscroll-behavior，Chrome 可能有問題 */
    /* overscroll-behavior-y: contain; */
}

html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul, dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span, strong, sub, sup, tt, legend, fieldset, menu {
    margin: 0;
    padding: 0;
}
 

/* 手機設備 */
@media (min-device-width : 375px) and (max-device-width : 667px) and (-webkit-min-device-pixel-ratio : 2) {

    body {
        width: 100%;
        min-height: 100vh;
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }
      
    .logo_font_size_24_white {
        font-size: 24px;
        font-weight: 700;
        color: #FFFFFF;
    }

    .AttAndDevice_SloganP1 {
        font-size: 36px;
        color: #FFFFFF;
        margin-top: 60px;
        height: 90px;
    }
    .AttAndDevice_SloganP1_EN {
        font-family: 'Arial','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
        font-size: 28px;
        color: #FFFFFF;
        margin-top: 30px;
        height: 90px;
    }
    .AttAndDevice_SloganP2 {
        font-size: 24px;
        color: #FFFFFF;
        margin-top: 20px;
        height: 200px;
    }
    .AttAndDevice_SloganP2_EN {
        font-family: 'Arial','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
        font-size: 16px;
        color: #FFFFFF;
        margin-top: 30px;
        height: 200px;
    }
  
    .AdMain_SloganP1_EN {
        font-family: 'Arial','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
        font-size: 28px;
        color: #FFFFFF;
        margin-top: 40px;
        height: 110px;
    }
   
    .compare_title{
        font-size:16px;
        font-weight:bold;
    }

    .span_h1_black_w900 {
        font-weight: 900 !important;
        font-size: 36px !important;
        color: black;
    }

    .span_h2_black_w900 {
        font-weight: 900 !important;
        font-size: 24px !important;
        color: black;
    }

    .span_h3_black_w900 {
        font-weight: 900 !important;
        font-size: 22px !important;
        color: black;
    }
     
    .b-big-page-divider {
        width: 100%;
        height: 1rem;
        background-color: #0000001a;
        border: solid rgba(0, 0, 0, 0.15);
        border-width: 1px 0;
        box-shadow: inset 0 0.5em 1.5em #0000001a, inset 0 0.125em 0.5em #00000026;
    }

    .why_choice_us_title {
        font-size: 36px;
        font-weight: 900 !important;
        font-family: 'Arial','Microsoft YaHei UI';
    }

    .footer_li_item_max_width {
        max-width: 130px;
    }
}

/* 手機設備 */
@media (max-width: 767px) {

    body {
        width: 100%;
        min-height: 100vh;
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }

    .logo_font_size_24_white {
        font-size: 24px;
        font-weight: 700;
        color: #FFFFFF;
    }

    /*col-xs*/
    .AttAndDevice_SloganP1 {
        font-size: 36px;
        color: #FFFFFF;
        margin-top: 60px;
        height: 90px;
    }

    .AttAndDevice_SloganP1_EN {
        font-family: 'Arial','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
        font-size: 28px;
        color: #FFFFFF;
        margin-top: 30px;
        height: 90px;
    }

    .AttAndDevice_SloganP2 {
        font-size: 24px;
        color: #FFFFFF;
        margin-top: 20px;
        height: 200px;
    }

    .AttAndDevice_SloganP2_EN {
        font-family: 'Arial','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
        font-size: 16px;
        color: #FFFFFF;
        margin-top: 30px;
        height: 200px;
    }
   
    .AdMain_SloganP1_EN {
        font-family: 'Arial','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
        font-size: 28px;
        color: #FFFFFF;
        margin-top: 40px;
        height: 110px;
    }

    .compare_title {
        font-size: 16px;
        font-weight: bold;
    }
     
    .dgx_develop_ad_banner_container {
        margin-right: 0px;
        margin-left: 0px;
        padding-left: 10px;
        padding-right: 10px;
        height: auto; /* 1000px; */
        background: linear-gradient(to right, #152236 10%, #6b7f9d 56%,#8ba5cc,95%, #6b7f9d 100%);
    }

    .span_h1_black_w900 {
        font-weight: 900 !important;
        font-size: 36px !important;
        color: black;
    }

    .span_h2_black_w900 {
        font-weight: 900 !important;
        font-size: 24px !important;
        color: black;
    }

    .span_h3_black_w900 {
        font-weight: 900 !important;
        font-size: 22px !important;
        color: black;
    }

    .b-big-page-divider {
        width: 100%;
        height: 1rem;
        background-color: #0000001a;
        border: solid rgba(0, 0, 0, 0.15);
        border-width: 1px 0;
        box-shadow: inset 0 0.5em 1.5em #0000001a, inset 0 0.125em 0.5em #00000026;
    }

    .why_choice_us_title {
        font-size: 36px;
        font-weight: 900 !important;
        font-family: 'Arial','Microsoft YaHei UI';
    }

    .footer_li_item_max_width {
        max-width: 130px;
    }

    .carousel-image {
        max-height: 300px;
    }
}

@media(min-width:768px) {

    .logo_font_size_24_white {
        font-size: 24px;
        font-weight: 700;
        color: #FFFFFF;
    }

    .InfoListUnit-max-height {
        max-height: 120px;
        min-height: 90px;
        overflow-y: hidden;
        overflow: hidden;
    }

    .AttAndDevice_SloganP1 {
        font-size: 66px;
        color: #FFFFFF;
        margin-top: 70px;
        height: 110px;
    }

    .AttAndDevice_SloganP1_EN {
        font-family: 'Arial','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
        font-size: 36px;
        color: #FFFFFF;
        margin-top: 80px;
        height: 90px;
    }

    .AttAndDevice_SloganP2 {
        font-size: 24px;
        color: #FFFFFF;
        margin-top: 10px;
        height: 180px;
    }

    .AttAndDevice_SloganP2_EN {
        font-family: 'Arial','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
        font-size: 24px;
        color: #FFFFFF;
        margin-top: 10px;
        height: 120px;
    }

    .AdMain_SloganP1_EN {
        font-family: 'Arial','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
        font-size: 46px;
        color: #FFFFFF;
        margin-top: 80px;
        height: 110px;
    }

    .compare_title {
        font-size: 22px;
        font-weight: bold;
    }

    .box_block_area_strong_title {
        font-size: 24px;
        font-weight: 600;
    }

    .span_h1_black_w900 {
        font-weight: 900 !important;
        font-size: 36px !important;
        color: black;
    }

    .span_h2_black_w900 {
        font-weight: 900 !important;
        font-size: 24px !important;
        color: black;
    }

    .span_h3_black_w900 {
        font-weight: 900 !important;
        font-size: 22px !important;
        color: black;
    }

    .b-big-page-divider {
        width: 100%;
        height: 1rem;
        background-color: #0000001a;
        border: solid rgba(0, 0, 0, 0.15);
        border-width: 1px 0;
        box-shadow: inset 0 0.5em 1.5em #0000001a, inset 0 0.125em 0.5em #00000026;
    }

    .footer_li_item_max_width {
        max-width: 130px;
    }
}
 
@media (min-width: 768px) and (max-width: 991px) {

    .logo_font_size_24_white {
        font-size: 24px;
        font-weight: 700;
        color: #FFFFFF;
    }

    /*col-sm*/
    .AttAndDevice_SloganP1 {
        font-size: 36px;
        color: #FFFFFF;
        margin-top: 60px;
        height: 90px;
    }

    .AttAndDevice_SloganP1_EN {
        font-family: 'Arial','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
        font-size: 28px;
        color: #FFFFFF;
        margin-top: 30px;
        height: 90px;
    }

    .AttAndDevice_SloganP2 {
        font-size: 24px;
        color: #FFFFFF;
        margin-top: 20px;
        height: 200px;
    }

    .AttAndDevice_SloganP2_EN {
        font-family: 'Arial','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
        font-size: 16px;
        color: #FFFFFF;
        margin-top: 30px;
        height: 200px;
    }
     
    .AdMain_SloganP1_EN {
        font-family: 'Arial','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
        font-size: 28px;
        color: #FFFFFF;
        margin-top: 40px;
        height: 110px;
    }

    .compare_title {
        font-size: 16px;
        font-weight: bold;
    }
     
    .dgx_develop_ad_banner_container {
        margin-right: 0px;
        margin-left: 0px;
        padding-left: 10px;
        padding-right: 10px;
        height: auto; /* 1000px; */
        background: linear-gradient(to right, #152236 10%, #6b7f9d 56%,#8ba5cc,95%, #6b7f9d 100%);
    }

    .span_h1_black_w900 {
        font-weight: 900 !important;
        font-size: 36px !important;
        color: black;
    }

    .span_h2_black_w900 {
        font-weight: 900 !important;
        font-size: 24px !important;
        color: black;
    }

    .span_h3_black_w900 {
        font-weight: 900 !important;
        font-size: 22px !important;
        color: black;
    }

    .b-big-page-divider {
        width: 100%;
        height: 1rem;
        background-color: #0000001a;
        border: solid rgba(0, 0, 0, 0.15);
        border-width: 1px 0;
        box-shadow: inset 0 0.5em 1.5em #0000001a, inset 0 0.125em 0.5em #00000026;
    }

    .why_choice_us_title {
        font-size: 60px;
        font-weight: 900 !important;
        font-family: 'Arial','Microsoft YaHei UI';
    }

    .footer_li_item_max_width {
        max-width: 190px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {

    .logo_font_size_24_white {
        font-size: 24px;
        font-weight: 700;
        color: #FFFFFF;
    }

    /*col-md*/
    .InfoListUnit-max-height {
        max-height: 120px;
        min-height: 120px;
        overflow-y: hidden;
        overflow: hidden;
    }

    .AttAndDevice_SloganP1 {
        font-size: 66px;
        color: #FFFFFF;
        margin-top: 70px;
        height: 110px;
    }

    .AttAndDevice_SloganP1_EN {
        font-family: 'Arial','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
        font-size: 36px;
        color: #FFFFFF;
        margin-top: 80px;
        height: 90px;
    }

    .AttAndDevice_SloganP2 {
        font-size: 24px;
        color: #FFFFFF;
        margin-top: 10px;
        height: 180px;
    }

    .AttAndDevice_SloganP2_EN {
        font-family: 'Arial','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
        font-size: 24px;
        color: #FFFFFF;
        margin-top: 10px;
        height: 120px;
    }
     
    

    .AdMain_SloganP1_EN {
        font-family: 'Arial','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
        font-size: 46px;
        color: #FFFFFF;
        margin-top: 80px;
        height: 110px;
    }

    .compare_title {
        font-size: 22px;
        font-weight: bold;
    }
     
    .dgx_develop_ad_banner_container {
        margin-right: 0px;
        margin-left: 0px;
        padding-left: 10px;
        padding-right: 10px;
        height: auto; /* 560px; */
        background: linear-gradient(to right, #152236 10%, #6b7f9d 56%,#8ba5cc,95%, #6b7f9d 100%);
    }

    .span_h2_black_w900 {
        font-weight: 900 !important;
        font-size: 24px !important;
        color: black;
    }

    .span_h3_black_w900 {
        font-weight: 900 !important;
        font-size: 22px !important;
        color: black;
    }

    .dgx_develop_ad_banner_container {
        margin-right: 0px;
        margin-left: 0px;
        padding-left: 10px;
        padding-right: 10px;
        height: auto; /* 560px; */
        background: linear-gradient(to right, #152236 10%, #6b7f9d 56%,#8ba5cc,95%, #6b7f9d 100%);
    }

    .b-big-page-divider {
        width: 100%;
        height: 1rem;
        background-color: #0000001a;
        border: solid rgba(0, 0, 0, 0.15);
        border-width: 1px 0;
        box-shadow: inset 0 0.5em 1.5em #0000001a, inset 0 0.125em 0.5em #00000026;
    }

    .why_choice_us_title {
        font-size: 60px;
        font-weight: 900 !important;
        font-family: 'Arial','Microsoft YaHei UI';
    }

    .footer_li_item_max_width {
        max-width: 190px;
    }
}

@media (min-width: 1200px) {

    .logo_font_size_24_white {
        font-size: 24px;
        font-weight:700;
        color: #FFFFFF;
    }

    /*col-lg*/
    .InfoListUnit-max-height {
        max-height: 120px;
        min-height: 120px;
        overflow-y: hidden;
        overflow: hidden;
    }

    .AttAndDevice_SloganP1 {
        font-size: 66px;
        color: #FFFFFF;
        margin-top: 70px;
        height: 110px;
    }

    .AttAndDevice_SloganP1_EN {
        font-family: 'Arial','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
        font-size: 36px;
        color: #FFFFFF;
        margin-top: 80px;
        height: 90px;
    }

    .AttAndDevice_SloganP2 {
        font-size: 24px;
        color: #FFFFFF;
        margin-top: 10px;
        height: 180px;
    }

    .AttAndDevice_SloganP2_EN {
        font-family: 'Arial','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
        font-size: 24px;
        color: #FFFFFF;
        margin-top: 10px;
        height: 120px;
    }
  
    .AdMain_SloganP1_EN {
        font-family: 'Arial','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', 'sans-serif';
        font-size: 46px;
        color: #FFFFFF;
        margin-top: 80px;
        height: 110px;
    }

    .compare_title {
        font-size: 22px;
        font-weight: bold;
    }
     
    .dgx_develop_ad_banner_container {
        margin-right: 0px;
        margin-left: 0px;
        padding-left: 10px;
        padding-right: 10px;
        height: auto; /* 560px; */
        background: linear-gradient(to right, #152236 10%, #6b7f9d 56%,#8ba5cc,95%, #6b7f9d 100%);
    }
    .span_h2_black_w900 {
        font-weight: 900 !important;
        font-size: 24px !important;
        color: black;
    }

    .span_h3_black_w900 {
        font-weight: 900 !important;
        font-size: 22px !important;
        color: black;
    }

    .b-big-page-divider {
        width: 100%;
        height: 3rem;
        background-color: #0000001a;
        border: solid rgba(0, 0, 0, 0.15);
        border-width: 1px 0;
        box-shadow: inset 0 0.5em 1.5em #0000001a, inset 0 0.125em 0.5em #00000026;
    }

    .why_choice_us_title {
        font-size: 60px;
        font-weight: 900 !important;
        font-family: 'Arial','Microsoft YaHei UI';
    }

    .footer_li_item_max_width {
        max-width: 190px;
    }

    .carousel-image {
        max-height: 500px;
    }
}

@font-face {
    font-family: Microsoft YaHei, simhei,Verdana, Arial, Helvetica, sans-serif;
}
  

a {
    text-decoration: none; 
    color:#2e2e2e;
}

label,span{
     font-weight:500;
     font-size:1em; 
     font-family: Microsoft YaHei, simhei,Verdana, Arial, Helvetica, sans-serif;
} 


input[type="radio"] {margin: 3px 3px 0px 5px;display: none;}

/* global bg gradient sky blue*/
.dgx_hrms_ad_banner_container {
    margin-right: 0px;
    margin-left: 0px;
    padding-left: 10px;
    padding-right: 10px;
    height: auto;
    background: linear-gradient(to right, #152236 10%, #6b7f9d 56%,#8ba5cc,95%, #6b7f9d 100%);
}

.dropdawn_txtbox{
    background-color:white;
    border-color:white;
    border-width:0px;
    color:#ffffff;width:90px;
}

.treemenucls{
    width:100%;
    height:auto;
    max-width:280px;
    overflow-y:scroll;
    font-size:1em;
}
.footer-fixed-bottom {
    position: fixed;
    bottom: 0;
} 
 
/* Site.css */  
/* Set padding to keep content from hitting the edges */
.body-content { 
    padding-left: 0px;
    padding-right: 0px;
}
 
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select
{
    max-width: 280px;
}
 /*Info Module*/
.text-omit
{  
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.text-omit-defined
{
            overflow : hidden;
            text-overflow: ellipsis;  /*display: -webkit-box;*/ 
            display:block; 
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;/*for IE edge*/
}

.iph-infolist-img1 {
    display: block !important;
    z-index: 0;
    top: 0px;
    opacity: 1;
    width: 100%;
    position: relative;
    margin: 3px;
    padding-bottom: 3px;
    background-color: transparent !important; 
} 
/* 圖片容器保持適當大小 */
.iph-infolist-img1 {
    flex-shrink: 0;
    width: 100%;
    max-width: 120px; /* 限制最大寬度 */
}

.iph-infolist-img1 img{
    vertical-align:top;  
}

.iph-Cartlist-img1 {
    display: block !important;
    z-index: 0;
    top: 0px;
    opacity: 1;
    width: 100%;
    position: relative;
    margin: 3px;
    padding-bottom: 3px;
    background-color: transparent !important;
} 
.iph-Cartlist-img1 img {
        vertical-align: top;
}
.text-primary{
     color:#666; 
     line-height:1.1em;
}

/* 標題容器處理溢出 */
.iph-text-omit2 {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制最多2行 */
    -webkit-box-orient: vertical;
}

/* 此样式没有使用,有bug */
.iph-text-omit3 { 
            /*background: -webkit-linear-gradient(left, transparent, #faf9e9 70%);
            background: -o-linear-gradient(right, transparent, #faf9e9 70%);
            background: -moz-linear-gradient(right, transparent, #faf9e9 70%);
            background: linear-gradient(to right, transparent, #faf9e9 70%);*/
	        word-break:break-all;
	        display:-webkit-box;
	        -webkit-line-clamp:2;
	        -webkit-box-orient:vertical;
	        text-overflow:ellipsis;
            line-height:1.3em;
            font-size:12px;
            font-family: 'Microsoft YaHei','Microsoft JhengHei UI';
            overflow:hidden; 
            padding:5px 0 0 0;
            margin:0px 0 0 0;
            }
.wrapper-info-unit { 
  position:relative;
  overflow: hidden;
} 
.iph-infobox
{  
    padding:0px;
    margin:0px; 
}
.iph-infobox-unit 
{  
    position:relative;
    display: inline-block;  
    background-color:transparent !important; 
    border-bottom:1px solid #e5e5e5;
}

.iph-Cartbox-unit {
    position: relative;
    display: inline-block;
    background-color: transparent !important;
    border-bottom: 1px solid #e5e5e5;
}
.BtmFunLayer { 
    max-width: 450px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    align-content: center;
    padding-top:6px;
    padding-bottom:6px;
}
.BtmFunLayerMyShoppingCart {
    max-width:240px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    align-content: center;
    padding-top: 6px;
    padding-bottom: 6px;
}
.floatFooter {
    left: 0;
    position: fixed;
    bottom: 8px;
    width: 100%;
    z-index: 0;
    text-align: center;
    float:none;
}
.footer {
    width: 100%;
    text-align: center;
}


.margin-top5 {
    margin-top: 5px;
}
.margin-top10 {
    margin-top: 10px;
}
.margin-top15 {
    margin-top: 15px;
}

.margin-left3 {
    margin-left: 3px;
}
.margin-left5 {
    margin-left: 5px;
}
.margin-left10 {
    margin-left: 10px;
}
.margin-left15 {
    margin-left: 15px;
}

.margin-right3 {
    margin-right: 3px;
}
.margin-right5 {
    margin-right: 5px;
}

.margin-right5 {
    margin-right: 5px;
}
.margin-right10 {
    margin-right: 10px;
}
.margin-right15 {
    margin-right: 15px;
}

.margin-bottom-5 {
    margin-bottom: 5px;
}
.margin-bottom-10 {
    margin-bottom: 10px;
}
.margin-bottom-15 {
    margin-bottom: 15px;
}

.padding-top5 {
    padding-top: 5px;
}
.padding-top10{
    padding-top:10px;
}

.padding-bottom5 {
    padding-bottom: 5px;
}
.padding-bottom10 {
    padding-bottom: 10px;
}

.padding-left5 {
    padding-left: 5px;
}
.padding-left10 {
    padding-left: 10px;
}
.padding-left15 {
    padding-left: 15px;
}

.padding-right5 {
    padding-right: 5px;
}

.padding-3 {
    padding: 3px;
}
.padding-5 {
    padding: 5px;
}
.padding-10 {
    padding: 10px;
}
.padding-15 {
    padding: 15px;
}


.radius3 {
    border-radius: 3px;
}

.radius5{
    border-radius:5px;
}

/* 設置title 提示顯示在下方*/
.title_tooltip_bottom_notWork [data-toggle="tooltip"]::after {
    bottom: -25px; /* 調整提示框距離元素底部的距離 */
    top: auto; /* 確保提示框在下方顯示 */
}

.deleted {
    text-decoration: line-through;
}

/*footer Module*/ 
#footer { padding-top: 15px; padding-bottom: 10px; color: #fff; background: #2e2e2e; border-top:5px solid #ed1b23; font-size:0.725em;}
#footer a {  color: #fff;}
#footer a:hover { color: #c52d2f;}
#footer ul { list-style: none; padding: 0; margin: 0;}
#footer ul > li { overflow:hidden; margin-bottom:3px;}
#footer ul > li.copyright{ border-bottom:1px solid #4d4d4d; padding-bottom:10px;}
#footer ul > li h3{ font-size:1.5em;}
#footer ul > li h5{ padding-top:5px;padding-bottom:5px;}
#footer ul > li a{ white-space:nowrap; padding:0 5px; line-height:1.1em;}
#footer .zwm{ max-width:14%; text-align:center; line-height:18px; float:right;}
#footer .zwm img{ margin-bottom:12px; }       

/* 圖片斷鏈處理 START */  

/* 隐藏失效图片 */
img.broken-image {
    display: none;
}

/* 可选：如果需要显示自定义占位符而不是完全隐藏 */
img.broken-image {
    visibility: hidden;
    position: relative;
} 

img.broken-image::before {
    content: 'Image cannot be loaded';
    visibility: visible;
    display: block;
    width: 600px;
    height: 300px;
    background: #f1f1f1;
    border: 1px dashed #ccc;
    text-align: center;
    line-height: 300px;
    color: #999;
} 
/* 圖片斷鏈處理 END */

.span_h4_white_w400 {
    font-weight: 400 !important;
    font-size: 16px !important;
    color: white;
}

.span_h4_orange_w400 {
    font-weight: 400 !important;
    font-size: 16px !important;
    color: #ffc107;
}

/* 具體還有media全局尺寸的場景定義 */
.carousel-image {
    max-height: 50vh; /* 視口高度的50% */
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}


/* backend entry */
.admin-backend-link {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-shrink: 0 !important;
}




/* ===== Chrome 移動端滾動修復 ===== */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    /* Chrome/Edge/Safari 專用修復 */
    html {
        overflow-y: auto; /* 允許 html 滾動作為備份 */
        -webkit-overflow-scrolling: touch;
    }

    body {
        /* 確保 body 可以滾動 */
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

/* iPhone Chrome 特定修復 */
@supports (-webkit-touch-callout: none) {
    /* 檢測 iOS 設備 */
    body {
        /* 確保最小高度足夠 */
        min-height: -webkit-fill-available !important;
    }

    html, body {
        /* 在 iOS 上使用更可靠的滾動方式 */
        height: auto !important;
        min-height: 100vh !important;
    }
}