body {
    margin: 0;
    padding: 0;
    background: #005b80;
    background-image: url(DRXBG.jpg?t=1782097139683);
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

@media screen and (max-width:768px) {

    body {
        background-image: url(DRXBGm.jpg?t=1782097139683);
        background-size: cover;
        background-repeat: repeat-y;
        background-attachment: fixed;

    }
}

@media screen and (min-width:768px) {


    /* PCscrollbar樣式 */
    ::-webkit-scrollbar-thumb {
        background: #ffffff63;
    }

    ::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 10px;
        height: 5px;
        background: linear-gradient(rgb(0, 0, 0) 0%, rgb(0, 0, 0) 100%);
    }
}




.DRXsafeText {
    /* 安全字樣式 */
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
    font-family: futurastdmedium, noto sans tc, Arial, 微軟正黑體, microsoft jhenghei, sans-serif;
}

.row {
    /*fixed flexbox stretch images*/
    align-items: center !important;
}

.col-6 a:hover {
    cursor: pointer;
}

.DRXtransformScale {
    transform: scale(1);
    transition-duration: .3s;
}

.DRXtransformScale:hover {
    transform: scale(0.98);
    cursor: pointer;
}

.DRXcategorytitle {
    /*分類大標樣式*/
    /* pointer-events: none; */
    cursor: default;
    /* 白底黑字用大標陰影 */
    /* filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.8));
    -webkit-filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.8)); */
}

.DRXcategorytitle span {
    /* 安全字 */
    font-size: 36px;
}

html {
    /* user-select: none; */
    /* color: black; */
    color: #fff;
    text-align: center;
    /* scroll-behavior: smooth; */
}

.lip {
    width: 100%;
    display: flex;
    justify-content: center;
}

.DRXtransformScale {
    transform: scale(1);
    transition-duration: .3s;
}

.DRXtransformScale:hover {
    transform: scale(0.98);
    cursor: pointer;
}

.DRXtransformPosition {
    /* 滿額贈hover動態  */
    transform: translate(0, 0);
    transition-duration: .3s;
}

.DRXtransformPosition:hover {
    transform: translate(0, -8px);
}

.Area_DRXnavbar {
    color: #ffffff;

    margin-bottom: 0 !important;
    /* justify-content: flex-start !important; */
    background-color: #004b98;
}

.DRXnavbar a {
    color: #ffffff;
    font-family: futurastdmedium, noto sans tc, Arial, 微軟正黑體, microsoft jhenghei, sans-serif;
    font-weight: 400;
    font-size: 1.08rem;
    line-height: 2em;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;

}

/* 選單hover動態 */
.DRXnavbar a:hover {
    background-color: #035eb8;
    color: #ffffff;
    opacity: 1;
}

.DRXnavbar .dropdown-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.DRXnavbar .dropdown-menu {
    min-width: 13rem;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #00000000;
    background-clip: padding-box;
    border: none;
    border-radius: 0;
}

.DRXnavbar .dropdown-menu .dropdown-item {
    background-color: #ffffffdd;
    border: none;
    border-radius: 0;
    padding: 3px;
    color: #000;

}

.DRXnavbar .dropdown-menu .dropdown-item:hover {
    border: none;
    border-radius: 0;
    color: #004b98;
    font-weight: 800;


}
.DRXnavbar .dropdown {
    overflow: hidden;
}

.DRXnavbar .dropdown .dropdown-menu {
    -webkit-transition: all .6s;
    transition: all .6s;
    max-height: 0;
    display: block;
    overflow: hidden;
    opacity: 0;
    /* 補上預設透明度0，讓漸入動畫更順暢 */
}
.DRXnavbar  .dropdown>a{
    color: #fff !important;
}
/* --- PC 版 (寬度 768px 以上)：維持 Hover 展開 --- */
@media screen and (min-width: 768px) {
    .DRXnavbar .dropdown:hover {
        overflow: visible;
    }

    .DRXnavbar .dropdown:hover .dropdown-menu {
        max-height: 500px;
        opacity: 1;
    }
}

/* --- MB 版 (寬度 767px 以下)：改用點擊展開 (Bootstrap 點擊會觸發 .show) --- */
@media screen and (max-width: 767px) {
    .DRXnavbar .show {
        overflow: visible;
    }

    .DRXnavbar .show .dropdown-menu {
        max-height: 500px;
        opacity: 1;

    }

    /* 1. 取消父層的相對定位，讓子選單以整條 Navbar 為對齊基準 */
    .DRXnavbar .dropdown {
        position: static !important;
    }

    /* 2. 讓下拉選單 100% 滿版，貼齊左右邊緣 */
    .DRXnavbar .dropdown-menu {
        width: 100%;
        left: 0 !important;
        right: 0 !important;
        text-align: center;
        /* 滿版時文字置中通常比較好看，也可依需求保持 left */
    }
}

@media screen and (max-width: 768px) {

    .Area_DRXnavbar {
        margin-bottom: 0 !important;
        /* justify-content: flex-start !important; */
    }

    .DRXnavbar li {
        border: none;
    }

    .DRXnavbar li:nth-child(odd) {
        border: none;

    }
}

@media screen and (max-width: 768px) {

    .VDrow {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        scroll-snap-type: x mandatory;
    }

    .VDrow .col-4 {
        flex: 0 0 60%;
        max-width: 60%;
        scroll-snap-align: start;
        pointer-events: auto;

    }
}

.DRXoverlay:hover {
    /* filter: drop-shadow(0px 0px 0px #000000aa) brightness(1.01);
    -webkit-filter: drop-shadow(0px 0px 0px #000000aa) brightness(1.01); */
}

@media screen and (max-width: 768px) {

    .DRXtransformScale:hover,
    .DRXtransformPosition:hover,
    .DRXpromoteSetLight:hover {
        -webkit-filter: none;
        filter: none;
        transform: none;


    }


}


#DRXScrolltoTopBtn {
    width: 60px;
    position: fixed;
    right: 1%;
    bottom: 3%;
    height: auto;
    opacity: 0;
    transition-duration: .3s;
    z-index: 99;
}

#DRXScrolltoTopBtn:hover {
    cursor: pointer;
    opacity: 1;
}

.SecSwiper,
.SecSwiper .swiper-wrapper {
    overflow: visible !important;
}

/* Swiper樣式區域 */
.FstSwiper,
.SecSwiper {
    --swiper-theme-color: #23a3d2;
    --swiper-navigation-color: #fff;
    --swiper-navigation-size: 30px;
}

.swiper-pagination {
    width: 100%;
    left: 0%;
    bottom: 8%;
    /* --swiper-pagination-color: #cf0000; */
}

@media screen and (max-width: 768px) {
    .swiper-pagination {
        bottom: 2%;
    }
}
