/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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 {
    background-image: url(../images/bg.jpg);
    background-position: top center;
    background-size: 2400px;
} */

body:before {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: url(../images/bg.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}


@media screen and (max-width: 1930px) {
    body:before {
        -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/bg-mb.jpg) no-repeat center center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
}


main {
    background-image: url(../images/topBn_bgrepeat.webp);
    background-size: 100% 100%;
    overflow: hidden;
    background-position: top center;
    position: relative;
    background-repeat: repeat-x;
}


/* 按鈕顏色 */
.btnset a {
    color: #1f89fd;
    border: 3px solid #1f89fd;
    background-color: #fff;
    box-shadow: 3px 5px #116fd6;
    line-height: 1.2;
}

/*來去逛逛*/

.btnset a:hover {
    /*    color: rgb(44, 40, 1);*/
    color: #fff;
    border: 3px solid #116fd6;
    background-color: #1f89fd;
    box-shadow: 3px 5px #084d97;
}

/*來去逛逛滑鼠移入*/

.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 */
@media screen and (max-width: 767px) {
    .dMdNone {
        display: none;
    }
}


/* kv */
.kv-img {
    /* justify-content: center; */
    align-items: end;
}

#kvTopBN .swiper-container-horizontal>.swiper-pagination-bullets{
    bottom: -5px;
}

/* news1 */
.news1-tag {
    flex-wrap: nowrap;
}

/* news2 */
button.btn_1 {
    width: 100%;
    color: #ef8200;
    background-color: #fff;
    height: 60px;
    display: flex;
    align-items: center;
}

button.btn_1:hover,
button.btn_1:focus,
button.btn_1:active {
    color: #fff;
    background-color: #ef8200;
    text-decoration: none;
}

button.btn_2 {
    width: 100%;
    color: #ff0000;
    background-color: #fff;
    height: 60px;
    display: flex;
    line-height: 40px;
    align-items: center;
}

button.btn_2:hover,
button.btn_2:focus,
button.btn_2:active {
    color: #fff;
    background-color: #ff0000;
    text-decoration: none;
}

button.btn_3 {
    width: 100%;
    color: #23b6bc;
    background-color: #fff;
    height: 60px;
    display: flex;
    line-height: 40px;
    align-items: center;
}

button.btn_3:hover,
button.btn_3:focus,
button.btn_3:active {
    color: #fff;
    background-color: #23b6bc;
    text-decoration: none;
}

button.btn_4 {
    width: 100%;
    color: #e61c8d;
    background-color: #fff;
    height: 60px;
    display: flex;
    line-height: 40px;
    align-items: center;
}

button.btn_4:hover,
button.btn_4:focus,
button.btn_4:active {
    color: #fff;
    background-color: #e61c8d;
    text-decoration: none;
}

button[class*="btn_"]>i {
    width: 40px;
    height: 40px;
    margin-right: 5%;
    padding-left: 11%;
    padding-right: 34px;
    border: none;
}

button[class*="btn_"].active:after {
    color: #fff;
}

button[class*="btn_"]:after {
    content: "▶";
    font-family: "FontAwesome";
    color: #a4a4a4;
    position: absolute;
    right: 50px;
    font-size: 10px;
}

button.btn_1>i:before {
    content: url(../images/icon_a.svg);
}

button.btn_2>i:before {
    content: url(../images/icon_b.svg);
}

button.btn_3>i:before {
    content: url(../images/icon_d.svg);
}

button.btn_4>i:before {
    content: url(../images/icon_e.svg);
}

button.btn_4:focus>i:before,
button.btn_4:hover>i:before {
    content: url(../images/icon_e_hover.svg);
}



.boxbox h2.hot1 {
    color: #ef8200;
}

.boxbox h2.hot2 {
    color: #ff0000;
}

.boxbox h2.hot3 {
    color: #23b6bc;
}

.boxbox h2.hot4 {
    color: #e61c8d;
}

.boxbox span.text-blue {
    color: #007dc8;
}

.boxbox h4 {
    font-size: 18px;
}

.boxbox {
    border-radius: 0.25rem;
}

.news2-bg {
    border-radius: 7px;
    overflow: hidden;
}


/* sec01 */
.bg-card {
    background-color: white;
    border: 4px #ffbc00 solid;
    border-radius: 15px;
    overflow: hidden;
    padding: 2px;
}

/* bottom */
.bg_caution {
    background-color: #e6e6e5;
}


/* sec03 */
.sec03-tag{
    background-color: rgba(255, 255, 255, 0.5);
}

/* method */
#method{
    color: white;
    text-shadow: rgb(0, 0, 0) 1px 1px 3px;
    
    background-color: rgba(117, 117, 117, 0.315);
}


/* 斷點區 */

@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) {}

/* 動畫 */
.wobble-hor-bottom-2 {
    -webkit-animation: wobble-hor-bottom-2 5s cubic-bezier(.25, .46, .45, .94) infinite both;
    animation: wobble-hor-bottom-2 5s cubic-bezier(.25, .46, .45, .94) infinite both
}

@-webkit-keyframes wobble-hor-bottom-2 {

    0%,
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%
    }

    15% {
        -webkit-transform: translateX(-30px) rotate(-6deg);
        transform: translateX(-30px) rotate(-6deg)
    }

    30% {
        -webkit-transform: translateX(15px) rotate(6deg);
        transform: translateX(15px) rotate(6deg)
    }

    45% {
        -webkit-transform: translateX(-15px) rotate(-3.6deg);
        transform: translateX(-15px) rotate(-3.6deg)
    }

    60% {
        -webkit-transform: translateX(9px) rotate(2.4deg);
        transform: translateX(9px) rotate(2.4deg)
    }

    75% {
        -webkit-transform: translateX(-6px) rotate(-1.2deg);
        transform: translateX(-6px) rotate(-1.2deg)
    }
}

@keyframes wobble-hor-bottom-2 {

    0%,
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%
    }

    15% {
        -webkit-transform: translateX(-30px) rotate(-6deg);
        transform: translateX(-30px) rotate(-6deg)
    }

    30% {
        -webkit-transform: translateX(15px) rotate(6deg);
        transform: translateX(15px) rotate(6deg)
    }

    45% {
        -webkit-transform: translateX(-15px) rotate(-3.6deg);
        transform: translateX(-15px) rotate(-3.6deg)
    }

    60% {
        -webkit-transform: translateX(9px) rotate(2.4deg);
        transform: translateX(9px) rotate(2.4deg)
    }

    75% {
        -webkit-transform: translateX(-6px) rotate(-1.2deg);
        transform: translateX(-6px) rotate(-1.2deg)
    }
}