/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加class名稱
例如：

在HTML裡：
<div class="abc">我要增加背景</div> 

在css裡：
.abc{
    background-image: url(../images/body_bg.webp);  <------圖檔位置
    background-position: center; <-----圖片在區塊/方塊裡的定位
    background-size: cover;  <-----圖片在區塊/方塊裡的大小
}

 */

/* 補充 
    學習資料
    https://ithelp.ithome.com.tw/articles/10223887
    https://ithelp.ithome.com.tw/articles/10224214
*/



/* 全站背景 */
body:before {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: url(../images/bg1.jpg) no-repeat top center;
    -webkit-background-size: 2400px;
    -moz-background-size: 2400px;
    -o-background-size: 2400px;
    background-size: 2400px;
}

@media screen and (max-width: 767px) {
    body:before {
        content: "";
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: -10;
        background: url(../images/bg2-mb.png) repeat top center, url(../images/bg1.jpg) no-repeat top center;
        -webkit-background-size: contain, 2400px;
        -moz-background-size: contain, 2400px;
        -o-background-size: contain, 2400px;
        background-size: contain, 2400px;
    }
}


main {
    background-image: url(../images/bg2.png);
    background-size: 2400px;
    background-position: top center;

}


@media screen and (max-width: 767px) {
    main {
        background: none;
    }
}





.nocarslideinnBox01 {
    background-color: #084B7D;
    padding: 10px;
}

/* 原價特價折疊控制 打開變1列 關掉變2列 */
.productSetprice .priceBox {
    flex-direction: row !important;
}

/* logo區圖片大小控制 */
.logooutbox .logoinn {
    flex-basis: 11%;
}

.swiperCover .swiper-slide-next,
.swiperCover .swiper-slide-last {
    opacity: .5;
}

/* .swiper-container-3d .swiper-slide-shadow-left, .swiper-container-3d .swiper-slide-shadow-right{
    background-image: none;
} */

/* 其他東西自己寫這↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ */


.squarepppinfoinn-box.pppinfobox {
    background: #075F9E;
    text-decoration: none;
    color: #fff;
}



/* all */
.cardBox {
    background: linear-gradient(to bottom, #e2457c, #dc2261,#dc2261, #e2457c);
    border: 6px solid white;
    border-radius: 30px;
    padding: 20px 35px;
    margin-top: -30px;

}

@media screen and (max-width: 991px) {
    .cardBox {
        border-radius: 30px;
        padding: 20px 20px;
        margin-top: -20px;
        border: 4px solid white;
    }

    .dLgNone {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .cardBox {
        border-radius: 30px;
        padding: 20px 10px;
        margin-top: -20px;
        border: 4px solid white;
    }

    .dMdNone {
        display: none;
    }
}

/* kv */
#kvTopBN {
    background-image: url(../images/kv-bg.png);
    background-size: cover;
    background-position: top center;
}


@media screen and (max-width: 767px) {
    #kvTopBN {
        background: none;
    }
}

/* method */
section#method{
    text-shadow:1px 0px 4px white;
}
section#method a {
    padding: 0 3px;
    color: #e8418b;
}

section#method a:hover {
    color: white;
    background-color: #e8418b;
    text-shadow: none;
}


/* 斷點區 */

@media screen and (max-width: 1659px) {}

@media screen and (max-width: 1399px) {}

@media screen and (max-width: 1199px) {}

@media screen and (max-width: 991px) {}

@media screen and (max-width: 767px) {
    .actablebox {
        font-size: 14px;
    }

    .actablebox th.table-title {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 640px) {
    .logooutbox .logoinn {
        flex-basis: 24%;
    }
}

@media screen and (max-width: 480px) {}



/* 閃光 */
@keyframes flashLight2 {
    0% {
        filter: brightness(1);
    }

    18% {
        filter: brightness(1);
    }

    19% {
        filter: brightness(2);
    }

    20% {
        filter: brightness(1);
    }

    21% {
        filter: brightness(2);
    }

    22% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1);
    }

    51% {
        filter: brightness(2);
    }

    52% {
        filter: brightness(1);
    }

    53% {
        filter: brightness(2);
    }

    54% {
        filter: brightness(1);
    }

    78% {
        filter: brightness(1);
    }

    80% {
        filter: brightness(2);
    }

    82% {
        filter: brightness(1);
    }

    99% {
        filter: brightness(1);
    }

}

.flashLight {
    /* mix-blend-mode: hard-light; */
    animation: flashLight2 8s infinite ease-in-out;
}