/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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/body_bg.webp); */
    background-color: #8f0f2d;
    background-position: center;
    background-size: 2400px;
}

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: #CA9F37;
    border: 3px solid #BE0602;
    background-color: #fff;
    box-shadow: 3px 5px #880f0f;
    line-height: 1.2;
}/*來去逛逛*/

.btnset a:hover {
/*    color: rgb(44, 40, 1);*/
    color:#fff;
    border: 3px solid #ffd392;
    background-color: #CA141D;
    box-shadow: 3px 5px #8d6e40;
}/*來去逛逛滑鼠移入*/

.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;
}

.carsboxbg{
    padding-left: 10px;
}

.swiper-pagination-bullet-active{
    background-color: #006dac;
}


/* 斷點區 */

@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){

}

/* main */
#main {
    background-image: url(../images/main-bg.jpg);
    background-position: top center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

/* kv */

#kvTopBN{
    background-image: url(../images/kv/kv-bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#kvTopBN .swiper-container{
    background-image: url(../images/kv/kv-pd-bg.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

#kvTopBN .kv-pd-stack{
    width: 650px;
}

#kvTopBN .topbgBox{
    align-items: flex-end;
}

#kvTopBN .kv-deco{
    right: -40%;
    top: 20%;
}

#kvTopBN .shine{
    pointer-events: none;
}

@media screen and (max-width:1199px) {
    #kvTopBN .kv-deco{
        top: 0;
        width: 80%;
    }
}

@media screen and (max-width: 991px){
    #kvTopBN .kv-pd-stack{
        width: 100%;
    }
}

/* ksp */
#ksp{
    background-image: url(../images/ksp/ksp-bg.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

#ksp .ksp-title{
    filter: drop-shadow(0 0 10px rgb(58, 0, 0));
}

#ksp .ksp-wrapper{
    background-image: -moz-linear-gradient( 90deg, rgb(235,179,91) 0%, rgb(253,226,183) 40%, rgb(252,215,154) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(235,179,91) 0%, rgb(253,226,183) 40%, rgb(252,215,154) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(235,179,91) 0%, rgb(253,226,183) 40%, rgb(252,215,154) 100%);
    border-radius: 40px;
    gap: 30px;
}



#ksp .ksp-box{
    margin-top: -20px;
    position: relative;
}

#ksp .ksp-box::after{
    position: absolute;
    content: '';
    background-color: #0000001f;
    width: 2px;
    height: 60%;
    top: 50%;
    transform: translateY(-50%);
    right: -15px;
}

#ksp .ksp-box:last-child::after{
    display: none;
}

@media screen and (max-width: 767px){
    #ksp .d-flex{
        flex-wrap: wrap;
    }

    #ksp .ksp-wrapper{
        gap: 10px;
    }

    #ksp .ksp-box{
        max-width: 45%;       
    }

    #ksp .ksp-box::after{
        right: -6px;
    }
    #ksp .ksp-box:nth-child(2)::after{
        display: none;
    }
}

/* onliineOffer */
#onlineOffer{
    background-image: url(../images/onlineOffer/online-offer-bg.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

#onlineOffer .online-offer-deco{
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 800px;
    pointer-events: none;
}

/* add */
#add .add-box{
    flex-wrap: wrap;
}

/* method */

#method{
    color: #fff;
}

#method a{
    color: yellow !important;
}

#method a:hover{
    color: red !important;
}