/*sunny css template START*/

@media (min-width: 1500px) {
    .container {
        width: 1280px;
    }
}
@media (min-width: 1800px) {
    .container {
        width: 1480px;
    }
}

body {
    color: black;
    letter-spacing: 0px
}

a {
    color: black;
    font-weight: 600
}

a:hover,
a:focus {
    text-decoration: none;
    color: black;
    opacity: 0.8
}

h2 {
    font-size: 40px;
    font-weight: 600
}

.ProfileBody {
    margin: 50px 0;
    display: block
}

.ProfileBody:after {
    content: "";
    clear: both;
    display: block
}

.navbar {
    z-index: 99;
    background-color:#f3f6f7;
}

.nav .container {
    width: 1300px
}
.navbar-header{
    position: relative;
    z-index: 2
}

.navbar-default .navbar-brand{
    display: block
}
.navbar-brand img {
    width: 190px
}

.navbar-toggle {
    margin-top: 14px
}

.navbar-toggle span {
    font-size: 24px;
    color: #14375f
}

/*調整手機版nav*/

@media screen and (max-width:1023px) {
    .navbar-brand img {
        margin-left: 30px;
    }
}

@media screen and (max-width:768px) {
    .category-wrapper .nav,
    .product-wrapper .nav {
        display: none
    }
    .category-wrapper .aside-title,
    .product-wrapper .aside-title {
        cursor: pointer;
        position: relative
    }
    .category-wrapper .aside-title:before,
    .product-wrapper .aside-title:before {
        content: "";
        display: block;
        background: url(../../images/plus.png);
        background-size: cover;
        width: 13px;
        height: 13px;
        position: absolute;
        right: 11px;
        top: 11px;
    }

    .
}

/*更正 bootstrap 按鈕陰影*/

.btn.active,
.btn:active,
.btn:active:focus {
    box-shadow: none;
    color: #828282
}

#gotop.gotop {
    background: #bfbfbf;
    padding: 4px 11px;
    transition: all .3s ease
}

#gotop.gotop:hover {
    opacity: 0.5
}
#line-button{
        position: fixed;
  right: 38px;
    bottom: 116px;
    cursor: pointer;
    z-index: 99;
}
#fb-button{
        position: fixed;
       right: 38px;
    bottom: 175px;
    cursor: pointer;
    z-index: 99;
    width: 50px
}
/*內頁aside hover顏色*/

aside .nav li a:hover,
aside .nav li a:focus {
    background-color: #efefef;
    color: black
}

/*nav*/

.navbar-default .navbar-nav > li > a {
    font-size: 17px;
    color: #141414;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-default .navbar-nav > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px; /* 線的高度 */
    width: 100%;
    background-color: #0d11ff;
    transform: scaleX(0); /* 初始寬度 0 */
    transform-origin: left; /* 從左邊開始縮放 */
    transition: transform 0.3s ease;
}

.navbar-default .navbar-nav > li > a:hover::after {
    transform: scaleX(1); /* 滑鼠移入時展開到全寬 */
}

.navbar-default .navbar-nav > li > a:hover {
    top: -5px;
    background: #dcdcdc !important;
    color: #0d11ff !important;
}

.nav > li > a:focus,
.nav > li > a:hover {
    background: none;
}

.navbar-nav {
    padding-top: 20px
}


@media screen and (max-width: 992px) {
    .navbar-default .navbar-nav {
        padding-top: 0;
    }
}

@media screen and (max-width:1023px) {
    .navbar .container {
        width: 100%
    }

}




.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
    background: #254a28;
    color: white;
    opacity: 0.8
}
.dropdown-menu > li > a{
    margin: 0;
    padding: 7px 20px;
}
.dropdown-menu > li > a:hover{
    color: black;
    background: #f3f6f7
}
.navbar-default .navbar-nav > li > a.dropdown-toggle:hover:before {
    width: 0
}

@media screen and (max-width:1200px) {
    .navbar .container,
    footer .container {
        width: 100%
    }
}

/*右上方nav欄位，不需要就刪掉*/

.nav-right {
    position: absolute;
    right: 15px;
    top: 20px;
}

.nav-right li {
    display: inline-block;
    margin-left: 10px;
}

.navbar-collapse {
    position: relative
}
.navbar-collapse table{
    position: absolute
}

.nav-right .shopcart {
    width: 30px
}

.badge {
    
    border-radius: 10px;
    background-color: #2743ad;
}

.fa-search {
    font-size: 18px;
    color: #11355d;
}

.top-search .fa-search {
    color: white
}

@media screen and (max-width:1023px) {
    .nav-right {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 20px
    }
}



section.newinfo {
    min-height: 300px;
    padding: 30px 0 30px;
}
section.newinfo .card-category {
    display: none;
}
.tab-buttons { display:flex; gap:8px; margin-bottom:12px; }
.tab-btn {
  padding:6px 12px;
  border-radius:4px;
  color:#333;
  text-decoration:none;
  cursor:pointer;
}
.tab-btn.active {
    background: #acbdff30;
    border: 1px solid #a0cff0;
    border-bottom: 2px solid;
    border-radius: 15px;
} 

.tab-panels { 
    position: relative;
    width: 100%;
    min-height: 280px;
    overflow: hidden;
 }
 @media screen and (max-width:767px){
    .tab-panels { 
      min-height: 450px;  
    }
 }
.tab-panel {
  position:absolute; top:0; left:0;
  width:100%; height:100%;
  padding:10px; box-sizing:border-box;
  display:none;
  opacity:0;
  transition: opacity 0.4s;
}
.tab-panel.is-active { display:block; opacity:1; }








/*內頁*/

.page-banner {
    padding-top: 300px;
    background-image: url(/hipershop/rwd1844/store/F1/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative
}

.page-banner h2 {
    text-align: center;
    margin: 0 auto;
    font-size: 24px;
    color: white;
    font-weight: 600;
    position: absolute;
    top: 130px;
    left: 0;
    right: 0;
    text-shadow: 2px 2px 2px #3e3e3e;
}

/*
.contact-wrapper {
    min-height: 610px
}
*/

.thumbnail-list li {
    margin-left: -4px
}

.margin_top {
    margin: 30px auto
}

/*sunny css template END*/

/*產品項目*/

.sec2 {
    background: url(../../images/sec2.jpg);
    background-size: cover
}

.main_title {
    padding: 20px 0;
    position: relative;
    padding-left: 55px
}

.main_title:before {
    content: "";
    position: absolute;
    height: 70px;
    width: 5px;
    transform: skewX(-20deg);
    left: 20px;
    top: 20px;
    display: block;
    background: #1e4781;
}

.sec2 .container {
    padding-top: 30px;
    padding-bottom: 100px
}

.iD_CS_14 .itemBox {
    position: relative;
}

.iD_CS_14 a {
    display: block;
    width: 100%;
    height: 100%;
    color: white
}

.iD_CS_14 .text {
    position: absolute;
    background-color: #02163a;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.3s ease;
}

.iD_CS_14 .text:hover {
    opacity: 0.7;
}

.iD_CS_14 .item_num {
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    font-size: 21px;
    color: white;
    transition: all 0.3s ease;
}

.iD_CS_14 .item_name {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    color: white;
    text-align: center;
    width: 100%
}

.iD_CS_14 .text:hover .item_num {
    top: 45%;
}

.iD_CS_14 img {
    max-width: 100%;
    width: 100%;
}

@media screen and (min-width:992px) and ( max-width:1199px) {
    .iD_CS_14 .item_num {
        top: 33%;
    }
    .iD_CS_14 .text:hover .item_num {
        top: 39%;
    }

}

@media screen and (min-width:767px) and ( max-width:991px) {
    .iD_CS_14 .item_num {
        top: 33%;
    }
    .iD_CS_14 .text:hover .item_num {
        top: 36%;
    }

}

@media screen and ( max-width:766px) {
    .iD_CS_14 .item_num {
        top: 30%;
        font-size: 16px;
    }
    .iD_CS_14 .text:hover .item_num {
        top: 34%;
    }


}

.iD_CS_14 .col-xs-4 {
    width: 20%
}

/*籃底按鈕區域*/


.service .container {
    padding: 30px 0
}

.service .container:before {
    content: "";
    clear: both
}

.service a {
    display: block;
    float: left;
    width: 20%;
    text-align: center;
    position: relative;
          padding: 30px 0;
    
         background-color:white;
    transition: all .3s ease

}
.service a:hover {
  
         background-color: #f6f6f6;
   
}
.service h5 {
    color:#11355d;
    text-decoration: none;
    font-weight: 600;
        font-size: 22px;
    margin-top: 30px;
    line-height: 1.2;
    font-family: 'Arial';
}

.service a img {
    transition: all .5s ease;
    width: 110px
}

.service a:hover img {
    transform: rotateY(360deg)
}

.service a:nth-child(2):before {
    content: "";
    width: 100%;
    height: 50%;
    top: 20%;
    display: block;
    position: absolute;
    border-left: solid 1px white;
    border-right: solid 1px white
}


.adevent{
    padding:30px 0 60px;
    overflow: hidden;
}
.adevent h3{
    padding:15px 0;
    color:#1e4781;
    letter-spacing: 1px;
    font-weight: bold;
}
.adevent img{
  width:100%;
  margin-bottom:30px;
}

footer {
    background: #313131;
    padding: 30px 0;
}

footer p {
    line-height: 24px;
    color:#fff;
}


.footer-text {
    border-left:1px solid  #777;
}
.footer-text a{
    color:#FFF;
}

/*RWD*/

@media screen and (max-width:1360px) {
    .container {
        width: 100%
    }
}

@media screen and (max-width:1024px) {
    .search:before,
    .dropdown:before {
        display: none
    }
    .iD_CS_14 .item_name {
        font-size: 20px;
    }
    #nav_new .nav a:hover:before {
        opacity: 0
    }
    #nav_new {
        position: relative
    }
    .navbar-collapse table{
    position: relative
}
}
@media screen and (max-width:768px){
    .service a img{
        width: 60px;
    }
    .service h5{
        font-size: 18px
    }
    .service .container{
        padding: 50px 0
    }
}
@media screen and (max-width:480px){
     .service h5{
        font-size: 16px
    }
    h2 {
        font-size: 20px
    }
    .iD_CS_14 .col-xs-4{
        width: 50%
    }
    .iD_CS_14 .col-xs-4:last-child{
        width: 100%
    }
       .service a:nth-child(1),.service a:nth-child(2) {
        width: 50%;
    }
      .service a:nth-child(3),.service a:nth-child(4),.service a:nth-child(5) {
        width: 33.3%;
    }
    .service .container{
        padding: 50px 0
    }
    .navbar-brand img {
    width: 160px;
    margin-left: 10px;
    }
    .navbar-toggle {
    margin-top: 10px
    }
}

/*大家的最上面空著給nav*/

.margin-top{
    margin-top: 120px
}
@media screen and (max-width:1024px){
    .margin-top{
    margin-top: 0
}
}
.margin-bottom{
    margin-bottom:80px
}
/*產品介紹頁修正*/
.category-wrapper .container{
    min-height:600px
}


#category_descr{
     
    padding-top: 30px;
}

#category_descr ol{
     padding-left: 15px;
}
#category_descr li{
        font-size: 18px;
    line-height: 1.8;
}
#category_descr h3{
        margin: 0;
    margin-bottom: 30px;
    font-weight: 600;
    margin-left: -15px;
}
#category_descr {
font-family: 'Arial','微軟正黑體';
}
.demo{
    margin: 30px 0
}
.demo p,.demo li{
     font-size: 18px;
    line-height: 1.8;
}
.demo ul{
    list-style: disc
}
.demo h3{
    font-weight: 600;
    line-height: 1.8
}
.demo ul{
        margin-left: 30px;
    margin-top: 10px
}
.demo img{
    max-width: 100%
}
.demo a{
    word-break: break-all;
}
.demo:after{
    content: "";
    clear: both;
    display: block;
}
/*分類文 */
.category-wrapper img{max-width: 100%;}


div#rwdnews_list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
div#rwdnews_list ul {
    width: 25%;
    padding: 8px;
}
@media screen and (max-width:767px){
    div#rwdnews_list ul {
        width: 50%;

    }
}
div#panel3 img {
    max-width: 100%;
    margin-bottom:30px;
}

.prod-category-3 {
    margin-top: 30px;
}