/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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/com_bg.jpg);
    background-color: #8bbe2f;
    background-position: center;
    background-size: 2000px;
    background-attachment: fixed;
}

main {
    background-image: url(../images/topBn_bgrepeat.webp);
    background-size: 100% 100%;
    overflow: hidden;
    background-position: top center;
    position: relative;
    background-repeat: repeat-x;
}

.visualBox{
    background-image: url(../images/kv_bg.png);
    background-position: top center;
    background-repeat: no-repeat;
}


/* 按鈕顏色 */
.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;
}

.slider-bg{
    background-image: url(../images/slider-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 20px;
}
.carsboxbg{
    background-color: transparent;
}
.swiper-pagination.qq.swiper-pagination-clickable.swiper-pagination-bullets{
    bottom: 26px;
}
.bus{
      background-image: url(../images/kv_bus.png);
      animation: busmove 3s linear infinite;
      width: 270px;
      height: 200px;
      position: absolute;
    }
 
       @keyframes busmove{
  
      0% {
        opacity: 0;
        bottom: 20%;
        left: -10%;
      }
  
      40% {
        opacity: 1;
        bottom: 20%;
        left: -10%;
      }
     
      100% {
        left: 0%;
        bottom: 30%;
        opacity: 0;
      }
    } 
    .flower{
      background-position: top center ;
      background-repeat: no-repeat;
      position: fixed;
      left: 0;
      top: 0;
      right: 0;
      bottom: 0;
      background-position: top center;
      background-image: url(../images/kv_flower_bg2.png);
      /* background-image: url('../images/kv_flower_bg.png'), url('../images/kv_flower_bg2.png'); */
      animation: snow 2s linear infinite;
    }
  
     @keyframes snow{
  
      0% {
        opacity: 0;
        /* background-position: 0 0, 0 0; */
      }
  
      50% {
  
        opacity: 1;
      }    
      100% {
        /* background-position: 500px 250px, 0px 0px; */
        opacity: 0;
      }
    }
  
    .flower2{
      background-position: top center ;
      background-repeat: no-repeat;
      position: fixed;
      left: 0;
      top: 0;
      right: 0;
      bottom: 0;
      background-position: top center;
      background-image: url(../images/kv_flower_bg4.png);
      animation: snow2 2s linear infinite;
    }
  
     @keyframes snow2{
  
      0% {
        opacity: 1;
        /* background-position: 0 500px, 250px 0; */
      }
  
      25% {
  
        opacity: 0;
      } 
  
      65% {
        opacity: 1;
      }
  
      80% {
  
        opacity: 0;
      }     
      100% {
        /* background-position: 500px 0, 500px 0px; */
        opacity: 1;
      }
    }


/* 斷點區 */

@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){
    body {
        background-image: url(../images/com_bg.png);
        background-size: contain;
    }
    .actablebox{
        font-size: 14px;
    }
    .actablebox th.table-title{
        font-size: 1.2rem;
    }
    footer {
        padding-bottom: 15px;
    }
    .visualBox{
    background-image: url(../images/bg_kv_mo.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    }
    .mo-less{
        margin-top: -20px;
    }
    .slider-bg{
        margin-top: 0;
        background-size: contain;
    }

}

@media screen and (max-width: 640px){
    .logooutbox .logoinn{
        flex-basis: 24%;
    }
}

@media screen and (max-width: 480px){

}