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

/* 圖片cover */
.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%; }
.BasePic { padding-top:46.9%; }
.BaseArea { position: absolute; top:0px; left:0px; bottom:0px; right:0px; overflow: hidden; } 

/* topnb */
.topnb { position:fixed; top:0px; left:0; right:0; z-index:10; transition: top 0.3s; }
.topnb.active { background-color:#1b1b1b; }
.topnb .logo { position: absolute; top:10px; z-index:100; }
.topnb .logo img {  max-height:60px; width:auto; }

.topnb .menu { position: relative; border-bottom:1px solid #fff; height:80px; }
.topnb.active .menu { border-bottom:none; }
.topnb .menu .nb { width:100%; }
.topnb .menu .nav-item a { position:relative; padding:28px 0px; color:#fff; display: inline-block; text-decoration: none; }
.topnb .menu .nav-item a .hover-block { display: none; position: absolute; left:0; right:0; bottom:0; height:4px; background-color:#e8c691; }
.topnb .menu .nav-item a:hover { color:#e8c691; }


.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:#e8c691; }
.topnb .mbtns #topbtn.active { background-color:#1b1b1b; }

.mtop { height:80px; }
.mh4 { height:40px; }
.mh3 { height:30px; }
.mh2 { height:20px; }

/* footer */
.footer { background-color:#1b1b1b; padding:40px 0px; }
.footer .menu { display: flex; justify-content: center; margin-bottom:40px; }
.footer .menu a { margin:0px 16px; color:#fff; }
.footer .menu a:hover { color:#e8c691; }
.footer img { max-width:240px; margin-bottom:40px; }

.footer .info { color:#919191; font-size:0.875rem; }
.footer .info a { color:#919191; }
.footer .info a:hover { color:#e8c691; }
.footer .info .copy { margin-bottom:30px; }
.footer .info .icon { margin-bottom:30px; display: flex; justify-content: center; }
.footer .info .icon a { width:24px; height:24px; border-radius: 50px; background-color:#919191; color:#1b1b1b; padding:3px 0px; font-size:1.125rem; margin:0px 5px; }
.footer .info .icon a:hover { background-color:#e8c691; }
.footer .info .icon .lineImg { background:url("./images/ico-line-2.png") no-repeat center center; background-size:18px; background-color:#919191; }


.fill { background-color: #1b1b1b; }

/* sidebar */
.sidebar { position:fixed; right:0px; top:50%; background-color: rgba(255,255,255,0.8); color:#66493d; z-index:2; transition: right 0.3s; }
.sidebar > div { width:80px; height:80px; }
.sidebar > div:hover { background-color: #eed4ad; cursor: pointer; color:#ffffff; }
.sidebar .icon { font-size:1.5rem; }
.sidebar .totop { padding:28px 0px; }
.sidebar .totop { background-color: #525252; 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; background-color:#000; color:#fff; padding:12px 0px 4px 0px; border:none; }
.bottombar .name { padding-top:2px; font-size:0.8rem; }
.bottombar .icon { font-size:1rem; }
.bottombar .totop { padding:21px 0; }

/* 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:#66493d; 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: #66493d; 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:#8a7457; 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:#8a7457; color:#ffffff; padding:10px 0px; }
button.send:hover { background-color:#bd9f77; }

::-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 { padding:0px 120px; }
    .topnb .menu .navbarItems .dp_menu { display: none; }

    .topnb .menu .nav-item a { margin:0px 15px; }
    .topnb .menu .nav-item a:hover > .hover-block { display: block; }
}

@media (max-width:1199.98px){
    .sidebar { display: none; }
    .mtop { height:60px; }
    
    .topnb .logo { left:15px; }
    .topnb .logo img {  height:40px; }
    .topnb .container { max-width:100%; padding:0px; }
    .topnb .menu { height:60px; }
    .topnb .menu .navbarItems { position: absolute; width:100%; top:60px; background-color:#1b1b1b; 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:#8a7457; font-size:1.5rem; }
    .topnb .menu .nav-item .date { color:#ababab; font-size:1.125rem; }

    .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; border-radius: 0px; }
    
}

@media (min-width:992px) and (max-width:1199.98px){

}

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

}

@media (min-width:768px){

}

@media (max-width:767.98px){
    .lg_top { display:none; }

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

@media (max-width:767.98px) {
    .mtop { height:60px; }
    
    .topnb { height:60px; }
    .topnb .nb { top:60px; }

    .bottombar > div { padding:15px 0px; }
    .bottombar .icon { font-size:1rem; }
    .bottombar .name { font-size:0.7rem; }
    .bottombar .totop { padding:12px 0px; }

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

    .footer .menu { display: none; }
    .footer img { max-width:150px; margin-bottom:15px; }
    .footer .info .copy { margin-bottom:15px; }
    .footer .info .link { display: inline-block; margin-bottom:15px; }
}