body { background-color:#f7f7f7; font-size:16px; text-align: center; font-family: "Arial","微軟正黑體","Microsoft JhengHei", serif; }
img { width:100%; }
html * { max-height: 9999999px; }

/* 圖片cover */
.gbox { overflow: hidden; }
.gbox .wh { height:100% !important; width:auto !important; }
.gbox .ww { width:100% !important; height:auto !important; }

/* 正方形區塊 */
.SquareBase { position: relative; width:100%; padding-top:100%; }
.SquareBase .SquareArea { position: absolute; top:0px; left:0px; bottom:0px; right:0px; overflow: hidden; } 

.mtop { height:80px; }

/* topnb */
.topnb { position:fixed; top:0px; height:80px; background-color:#005e95; width:100%; z-index:10; transition: top 0.3s; }
.topnb .logo { position: absolute; height:60px; top:10px; z-index:100; }
.topnb .logo img {  max-height:60px; width:auto; }
/* .topnb .menu { position: relative; } */

.topnb { height:80px; position: fixed; width:100%; background-color:#005e95; }
.topnb .menu { position: relative; }
.topnb .menu .nb { width:100%; display:block; }
.topnb .menu .nav-item a { padding:28px 15px; color:#fff; display: inline-block; text-decoration: none; }
.topnb .menu .nav-item a:hover { color:#f2c063; }

.topnb .mbtns { position: absolute; top:0px; right:0px; }
.topnb .mbtns .mbtn { border:none; background-color:transparent; width:60px; height:80px;  color:#fff; }
.topnb .mbtns .mbtn:hover { color:#f2c063; }
.topnb .mbtns #topbtn.active { background-color:#303030; }


/* footer */
.footer { background-color:#262626; color:#fff; padding:20px 0px; }
.footer .cont { display:flex; font-size:0.9rem; }
.footer .cont > div { flex:1; }
.footer .cont a { color:#fff; text-decoration: none; }
.footer .cont .notice { text-align: right; }
.footer .cont .notice a:hover { border-bottom:1px solid #fff; }
.footer .cont .design { text-align: right; }
.footer .cont .design a:hover { border-bottom:1px solid #fff; }

.fill { background-color: #005e95; }

/* sidebar */
.sidebar { position:fixed; right:0px; top:50%; background-color: rgba(255,255,255,0.8); color:#005e95; z-index:2; transition: right 0.3s; }
.sidebar > div { width:80px; height:80px; }
.sidebar > div:hover { background-color: #feaf73; cursor: pointer; color:#ffffff; }
.sidebar > div:hover .num { color:#0088cf; background-color: #ffffff; }
.sidebar .member,.sidebar .buycar { padding:16px 0px; }
.sidebar .icon { font-size:1.5rem; }
.sidebar .icon .lineImg { width:24px; height:24px; background:url("./images/icon_line-a.png")no-repeat center center; background-size:24px; margin:0px auto; }
.sidebar > div:hover .lineImg { background:url("./images/icon_line.png")no-repeat center center; background-size:24px; }
.sidebar .member .name { font-size:0.8rem; }
.sidebar .buycar { position: relative; }
.sidebar .buycar .num { position: absolute; top:13px; right:15px; width:24px; height:24px; line-height:24px; border-radius: 50%; color:#ffffff; background-color:#0088cf; font-size:0.8rem; }
.sidebar .totop { padding:28px 0px; }
.sidebar .totop { background-color: rgb(38,38,38); opacity: 0.7; color:#ffffff; }
.sidebar .member .bd { width:20px; border-bottom:1px solid #e9ecef; position: absolute; top:80px; left:30px; }

/* bottombar */
.ctlbar { transition: bottom .3s; /*transition-delay: .5s;*/ }
.bottombar { position:fixed; bottom:0px; width:100%; display:flex; z-index:2; }
.bottombar > button { flex:1; padding:12px 0px 4px 0px; border:none; color:#005e95; background-color: rgba(255,255,255,0.8); }
.bottombar .name { padding-top:2px; font-size:0.8rem; }
.bottombar .icon { font-size:1rem; }
.bottombar .buycar .icon span { position: relative; }
.bottombar .buycar .num { position: absolute; top:-10px; right:-10px; width:16px; height:16px; line-height:16px; border-radius: 50%; color:#ffffff; background-color:#0088cf; font-size:0.9rem; font-weight:normal; }
.bottombar .totop { background-color:rgb(38,38,38); opacity: 0.9; color:#fff; padding:21px 0; }
.bottombar > button:hover { background-color: #0088cf; cursor: pointer; color:#ffffff; }
.bottombar .buycar:hover { color:#005e95; }
.bottombar > button:hover .num { color:#0088cf; background-color:#ffffff; }

/* modal */
.clickable { cursor: pointer; }
#searchModal .close { position: absolute; right:0px; top:-50px; color:#ffffff; text-shadow:none; opacity: 1; }
#searchModal .modal-dialog { margin:8rem auto; max-width:730px; }
#searchModal .modal-content { border-radius: 0; text-align: left; }
/* .modal .modal-body { padding:14px; } */
#searchModal .modal-body input { border:none; width:calc(100% - 40px); border-right:1px solid #c6c6c6; }
#searchModal .modal-body .fa-search { color:#005e95; width:30px; text-align: right; border:none; background-color:transparent; padding:0px; }
#searchModal .modal-body .fa-search:hover { color:#50d4f2; width:30px; text-align: right; border:none; background-color:transparent; padding:0px; }

/* buy car modal */
#buyCarModal .modal-dialog { width:300px; position: absolute; right:0; height:100%; margin:0; border-radius: 0; }
#buyCarModal .modal-header { background-color: #005e95; border-top-left-radius: 0; border-top-right-radius: 0; }
#buyCarModal .modal-header .mTitle { margin:0 auto; color:#ffffff; }
#buyCarModal .closebc { position: absolute; left:-50px; color:#ffffff; border:none; background-color:transparent; font-size:0.8rem; }
#buyCarModal .closebc span { font-size:1.3rem; }
#buyCarModal .modal-content { height:100%; border-radius: 0; }
#buyCarModal .modal-body { position: relative; overflow-y:auto; }
#buyCarModal .bclist { padding:20px 0px; border-bottom:1px solid #f7f0e7; }
#buyCarModal .bcimg { height:100%; float:left; }
#buyCarModal .bcimg img { height:64px; width:64px; }
#buyCarModal .bcdes { float:right; width:calc(100% - 64px); padding-left:10px; text-align: left; }
#buyCarModal .bcdes .pType { color:#aeaeae; font-size:0.9rem; padding-top:15px; }
#buyCarModal .bcdes .pSum { font-size:0.8rem; line-height:24px; padding-top:20px; font-family: "Helvetica"; }
#buyCarModal .pPrice { color:#005e95; font-size:0.8rem; font-family: "Helvetica";  }
#buyCarModal .num { font-size:1rem; }
#buyCarModal .total { text-align:left; padding-top:20px; color:#898989; }
#buyCarModal .modal-footer { border-top:none; }
#buyCarModal .nolist { padding-top:20px; }
button.send { width:100%; border:none; border-radius: 5px; background-color:#005e95; color:#ffffff; padding:10px 0px; }
button.send:hover { background-color:#0088cf; }

::-webkit-input-placeholder{ color:#777777; }
/* scrollbar */
.topnb .menu *::-webkit-scrollbar{ display:none; }
.top .topmenu .subject::-webkit-scrollbar { display:none; }

/* product */
.product .pd a { display: block; overflow: hidden; }
.product .pd a img { transition: all .2s ease-out; }
.product .pd a:hover img { transform: scale(1.1);  }



@media (min-width:1200px){
    .bottombar { display: none; }

    .topnb .menu .navbarItems .dp_menu { display: none; }
}

@media (max-width:1199.98px){
    .mtop { height:60px; }
    .sidebar { display: none; }
    .topnb .logo img {  height:40px; margin:10px 0px; }

    .topnb { height:60px; }
    /* .topnb .menu .topbtn { width:60px; height:60px; background-color:#000000; border-radius: 0px; } */

    .topnb .logo { left:50%; top:50%; transform:translate(-50%,-50%); }

    .topnb { height:60px; }
    .topnb .container { max-width:100%; padding:0px; }
    .topnb .menu .navbarItems { position: absolute; width:100%; top:60px; background-color:#303030; transition:all .3s ease-out; }
    .topnb .menu .navbarItems ul { list-style-type: none; position: absolute; padding:0px; width:100%; transition: all .3s ease-out; }
    .topnb .menu .navbarItems .nav-item,
    .topnb .menu .navbarItems .bk { padding:15px 0px; margin:0px 60px; font-size:1.5rem; border-top:1px solid #262626; list-style-type: none; text-align:left; }
    .topnb .menu .navbarItems .bk { border-top:none; }

    .topnb .menu .navbarItems > div { padding:60px 0px; height:calc(100vh - 60px); }
    .topnb .menu .navbarItems a { color:#fff; text-decoration: none; }
    .topnb .menu .navbarItems .icon { float:right; padding:2px 0px; padding-right:15px; font-size:2rem; color:#fff; }

    .topnb .menu .nav-item a { padding:0px; }
    .topnb .menu .nav-item .name { color:#d97652; font-size:1.5rem; padding-bottom: 4px; }
    .topnb .menu .nav-item .date { color:#ababab; font-size:1.25rem; }

    .topnb .menu .dp_menu { display:none; position: absolute; top:0px; width:100%; transition: all .3s ease-out; }
    .topnb .menu .dp_menu .bk a { color:#ababab; }

    .topnb .mbtns .mbtn { width:60px; height:60px; background-color:#000; border-radius: 0px; }
    
}

@media (min-width:992px) and (max-width:1199.98px){
    /* .topnb .logo img {  max-height:54px; margin:3px 0px; } */
}

@media (min-width:768px) and (max-width:991.98px){

}

@media (min-width:768px){
    

    /* .footer .content .design { display:none; } */
    .footer .content .design { text-align: right; margin-right:60px; }
}

@media (max-width:767.98px){
    .lg_top { display:none; }
    
    .topnb { height:60px; }
    .topnb .logo { padding:15px; }
    .topnb .logo img { height:30px; margin:0px; }

    .topnb .menu .navbarItems .nav-item,
    .topnb .menu .navbarItems .bk { padding:15px 0px; margin:0px 30px; font-size:1.25rem; }
    .topnb .menu .navbarItems .icon { font-size:1.5rem; padding:3px 0px; padding-right:15px; }

    .topnb .menu .nav-item .name { font-size:1rem; }
    .topnb .menu .nav-item .date { font-size:1rem; }

    .bottombar > div { padding:15px 0px; }
    .bottombar .icon { font-size:1rem; }
    .bottombar .name { font-size:0.7rem; }
    .bottombar .totop { padding:12px 0px; }
    .bottombar .buycar .num { top:-8px; right:-8px; width:16px; height:16px; line-height:16px; font-size:0.6rem; }

    .footer { padding:30px 0px; }
    .footer .cont { display:block; }
    .footer .cont .notice,
    .footer .cont .design { text-align: center; }
    .footer .cont > div:not(:last-child) { margin-bottom:5px; }

    .modal .modal-dialog { margin:8rem auto; max-width:540px; width:90%; }
    
}