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

.mtop { height:120px; }
.mh3 { height:30px; }
.mh6 { height:60px; }

/* 共用 */
.gbox { overflow: hidden; }
.gbox .wh { height:100% !important; width:auto !important; }
.gbox .ww { width:100% !important; height:auto !important; }

/* 自訂比例區塊 */
.BaseBD { position: relative; width:100%; }
.Base11 { padding-top:100%; }
.Base169 { padding-top:56.25%; }
.BasePb { padding-top:46.85%; }
.Base43 { padding-top: 79%; }
.BaseArea { position: absolute; top:0px; left:0px; bottom:0px; right:0px; overflow: hidden; } 

/* topnb */
.topnb { position: absolute; top:0px; width:100%; z-index:10; }
.topnb.active { position: fixed; top:0px; }
.topnb.active .menu { background-color:rgba(255,255,255,0.9); }
.topnb .menu .logo { float:left; width:240px; padding:10px 0px; }

.topnb .menu .nav-item .nav-link { padding:28px 15px;  font-size:1rem; white-space: nowrap; }
.topnb .menu .nav-item .nav-link a { color:#474747; text-decoration: none; }
.topnb .mask { position: absolute; width:100%; height:calc(100vh - 60px); top:60px; left:0; z-index:5; background-color:rgba(0,0,0,0.5); display: none; }

.topnb .menu .navbar .submenu ul {  list-style-type: none; padding:0; }
.topnb .menu .navbar .submenu a { text-decoration: none; color:#fff; }

.topnb .topbtn { background-color:#474747; }
.topnb .topbtn .mbtn { width:40px; padding:12px 0px; }
.topnb .topbtn a { color:#e2e2e2; }
.topnb .topbtn .btnphone { padding:8px 0px; }
.topnb .topbtn .btnphone i { font-size:0.875rem; }
.topnb .mbtns { display: flex; justify-content: space-between; height:40px; }
.topnb .mbtns #btnMenu.active { background-color:#262626; color:#fff; }

/* footer */
.footer { background-color:#303030; padding:60px 0px; font-size:0.875rem; color:#ababab; line-height:25px; }
.footer .tit { font-size:1rem; }
.footer a { color:#ababab; }
.footer a:hover { color:#fff; }
.footer .txt a { text-decoration: underline; }

.footer .icon { display: inline-flex; justify-content: center; width:100%; justify-content: flex-end; padding-bottom:30px; flex-wrap: wrap; }
.footer .icon a { display:inline-block; text-align:center; border-radius:5px; height:30px; width:30px; color:#fff; font-size:1.125rem; margin-left:8px; margin-bottom:5px; padding:6px 0px; }
.footer .icon .lineImg { background:url("./images/ico-line-2.png") no-repeat center center; background-size:18px; }

/* icon color */
.footer .icon a.fbImg { background-color:#1877F2; }
.footer .icon a.igImg { background-color:#FF2076; }
.footer .icon a.lineImg { background-color:#00C300; }
.footer .icon a.ytImg { background-color:#FF0000; }
.footer .icon a.ttImg { background-color:#1DA1F2; }
.footer .icon a.wcImg { background-color:#2DC100; }
.footer .icon a.wbImg { background-color:#D32F2F; }
.footer .icon a.liImg { background-color:#0074b1; }

/* icon color */
.footer .icon a.fbImg:hover { background-color:#000; }
.footer .icon a.igImg:hover { background-color:#000; }
.footer .icon a.lineImg:hover { background-color:#000; }
.footer .icon a.ytImg:hover { background-color:#000; }
.footer .icon a.ttImg:hover { background-color:#000; }
.footer .icon a.wcImg:hover { background-color:#000; }
.footer .icon a.wbImg:hover { background-color:#000; }
.footer .icon a.liImg:hover { background-color:#000; }


.footer .info { color:#ababab; }
.footer .info a { color:#ababab; }
.footer .info a:hover { text-decoration: underline; }

/* .footer .items > div:not(:first-of-type) { padding-top:5px; } */
/* .footer .iconbg { background-color:#919191; padding:14px 0px; }
.footer .txt { color:#fff; margin-right:15px; }
 */



.fill { background-color: #303030; }

/* sidebar */
.sidebar { position:fixed; right:0px; top:70%; background-color: rgba(255,255,255,0.8); color:#14213d; z-index:2; transition: right 0.3s; }
.sidebar > div { width:80px; height:80px; }
.sidebar > div:hover { background-color: #c3a087; opacity: 0.8; cursor: pointer; color:#fff; }
.sidebar .icon { font-size:1.5rem; }
.sidebar .totop { padding:28px 0px; }
.sidebar .totop { background-color: #cd2831; opacity: 0.8; color:#fff; }

/* 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; border:none; color:#cd2831; background-color: rgba(255,255,255,0.8); }
.bottombar .name { padding-top:2px; font-size:0.8rem; }
.bottombar .icon { font-size:1rem; }
.bottombar .totop { background-color:#cd2831; color:#fff; padding:21px 0px; }
.bottombar > button:hover { background-color: #c3a087; opacity: 0.8; cursor: pointer; color:#fff; }


/* 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:#14213d; width:30px; text-align: right; border:none; background-color:transparent; padding:0px; }
#searchModal .modal-body .fa-search:hover  { color:#cd2831; }

/* buy car modal */
#buyCarModal .modal-dialog { width:300px; position: absolute; right:0; height:100%; margin:0; border-radius: 0; }
#buyCarModal .modal-header { background-color: #49413b; 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.875rem; padding-top:15px; }
#buyCarModal .bcdes .pSum { font-size:0.75rem; line-height:24px; padding-top:20px; font-family: "Helvetica"; }
#buyCarModal .pPrice { color:#ff729f; font-size:0.75rem; 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:#14213d; color:#fff; padding:10px 0px; }
button.send:hover { background-color:#cd2831; color:#fff; }

::-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; max-height:350px; } */
.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 .nb { margin-left:30px; }
    .topnb .menu .navbar .arr { position: absolute; font-size:0.5rem; left:50%; transform:translate(-50%,0px); bottom:15px; }
    .topnb .menu .nav-item .submenu .nav-link { padding:0px; border: none; display: flex; font-size:1rem; justify-content: space-between; }
    .topnb .menu .navbar-nav > .nav-item { position: relative; }
    .topnb .menu .navbar .submenu { text-align:left; background-color: #031f51; color:#fff; }
    
    .topnb .menu .navbar .nav-item .submenu .icon { padding:5px 0px; padding-left:20px; color:rgba(255,255,255,0.4); font-size:0.75rem; }
    .topnb .menu .navbar .nav-item .submenu { display: none; position: absolute; left:0; }
    .topnb .menu .navbar .nav-item .submenu1 { background-color: #262626;  }
    .topnb .menu .navbar .nav-item .submenu2 { left:100%; top:0; background-color:#97110f; }
    /* .topnb .menu .navbar .nav-item .submenu3 { left:100%; top:0; background-color:#256ac4; } */

    .topnb .menu .navbar .nav-item:hover > .submenu { display: block; }
    .topnb .menu .navbar .marea .nav-item > .submenu { display: block; }
    .topnb .menu .navbar .nav-item:hover > .bdb { display: block; }
    .topnb .menu .navbar .submenu li { min-width:185px; padding:10px 20px;  }
    .topnb .menu .navbar .submenu1 li { border-bottom:1px solid #515151; }
    .topnb .menu .navbar .submenu2 li { border-bottom:1px solid #ac413f; }

    .topnb .menu .navbar li:hover { cursor: pointer; }
    .topnb .menu .navbar-nav > li:hover > .nav-link { background-color:#262626; }
    .topnb .menu .navbar li:hover > .nav-link > a , 
    .topnb .menu .navbar li:hover > .nav-link > .arr { color:#fff; }
    .topnb .menu .navbar .submenu li:hover { background-color:#97110f; border-bottom:1px solid #97110f; }
    .topnb .menu .navbar .submenu li:hover .icon { color:#fff; }
    .topnb .menu .navbar .submenu.submenu2 li:hover { background-color:#cd2831; border-bottom:1px solid #cd2831; }

    .topnb .topbtn a:hover { color:#fff; text-decoration: none; }
}

@media (max-width:1199.98px){
    .mtop { height:60px; }

    .sidebar { display: none; }
    .topnb .nb { width:100%; }
    .topnb .menu .navbar { position: absolute; width: 100%; left:0; background-color:#262626; z-index:10; }
    .topnb .menu .navbar .navbar-nav { text-align:left; overflow-y:auto; height:calc(100vh - 60px); }
    .topnb .menu .navbar .nav-link { padding:30px 0px; font-size:2.5rem; border:none; }
    .topnb .menu .nav-item .nav-link a { color:#fff; }
    .topnb .menu .navbar .icon { color:#fff; margin-right:25px; }
    .topnb .menu .navbar .submenu { display: none; }
    .topnb .menu .nav-item { flex:none; }
    .topnb .menu .navbar .nav-item .nav-link { padding:20px 0px; margin:0px 60px; font-size:1.5rem; border-bottom:1px solid #515151; display:flex; justify-content: space-between; align-items: center; }
    .topnb .menu .navbar .nav-item .nav-link a:hover { color:#ffe100; }
    .topnb .menu .navbar .nav-item .nav-link.active { border-bottom:none; }
    .topnb .menu .navbar .submenu1 {  background-color:#97110f; }
    .topnb .menu .navbar .submenu2 { background-color:#97110f; }
    

    .topnb .menu .logo { position: absolute; top:0px; left:50%; transform:translate(-50%,0px); }
    .topnb .menu .logo img { height:40px; width:auto; }
    .topnb .container { max-width:100%; padding:0px; }
    .topnb .topbtn { background-color:#fff; }
    .topnb .topbtn .mbtns { height:60px; }
    .topnb .topbtn a { color:#262626; font-size:1.5rem; padding:17px 0px; width:60px; border-radius:0px; }
    .topnb .topbtn .mbtn { width:60px; padding:18px 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){
    .footer .cont .qrcode { margin-top:20px; }
}

@media (min-width:768px){

}

@media (max-width:767.98px) {
    
    .topnb { height:60px; }
    .topnb .logo { left:15px; }
    .topnb .logo img { height:40px; }
    .topnb .menu .topbtn { height:60px; width:60px; }
    .topnb .mbtns .mbtn,
    .topnb .mbtns .dropdown { height:60px; width:60px; font-size:1.5rem; }

    .topnb .menu .navbar .nav-item .nav-link { margin:0px 30px; padding:15px 0px; font-size:1.25rem; }
    .topnb .menu .navbar .icon { margin-right:15px; }

    .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; }

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

    .footer .icon { justify-content: center; }
    .footer .icon a { margin:0px 10px; margin-top:5px; }
    /* .footer .icon { display: flex; justify-content: center; }
    .footer .icon .lineImg { background-size:25px; }
    .footer .icon .lineImg:hover { background-size:25px; } */

}