body { font-size:16px; text-align: center; font-family: "Arial","微軟正黑體","Microsoft JhengHei", serif; background: #FFF; }
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 ,
.RecBase .RecArea  { position: absolute; top:0px; left:0px; bottom:0px; right:0px; overflow: hidden; } 

.RecBase { position: relative; width:100%; padding-top:46.85%; }

/* topnb */
.topnb { position:fixed; top:0px; height:80px; background-color:#fff; width:100%; z-index:10; transition: top 0.3s; }
.topnb .logo { position: absolute; z-index:100; 
    background:url("./images/bg_logo.png") no-repeat top center; background-size:contain; transition: top .5s; }

.topnb .logo { height:160px; width:160px; left:120px; padding:25px; }
/* .topnb .logo img { width:100%; } */

/* .topnb.inside { background-color:#474747; } */
/* .topnb .logo { position: absolute; left:120px; height:60px; margin:10px 0px; width:auto; z-index:5; display: none; } */
.topnb.inside .logo { display: block; }
.topnb .menu { position: relative; }
.topnb .menubd { position: absolute; width:100%; height:1px; background-color:#c6c6c6; bottom:0; z-index:5; }
.topnb .mlan { position: absolute; background-color:#e2e2e2; display: none; }
.topnb .mlan .lan { display:block; padding:10px 20px; color:#262626; text-decoration: none; font-size:0.875rem; }
/* .topnb .mlan .lan:hover { background-color:#262626; color:#474747; } */

/* dropdown menu */
.topnb .menu .nav-item .dp_menu { display:none; position: absolute; text-align:left; background-color:#342f2f; min-width:3rem; padding:0px; }
.topnb .menu .nav-item .dp_menu li { list-style-type: none; padding:10px 15px; }
.topnb .menu .nav-item .dp_menu a { text-decoration: none; color:#303030; cursor: pointer; }


.topnb .menu .topbtn { float:left; padding:0px; margin:0px; width:80px; height:80px; display: none; }
.topnb .menu .submenu .nav-link { color:#262626; padding:28px 15px; }
.topnb .menu .submenu .nav-link:hover { color:#011866; }
.topnb .menu .dropdown .dropdown-toggle::after { display:none; } /* delete dropdown arrow */

.topnb .mbtns { position: absolute; top:0px; right:0px; z-index:5; }
.topnb .mbtns .mbtn.inside { background-color:#474747; }
.topnb .mbtns .mbtn:hover { color:#262626; }
.topnb .mbtns .dropdown .dropdown-menu { margin:0; padding:0; border-radius: 0; background-color:#342f2f; border:none; box-shadow:0 4px 8px 0 rgba(0,0,0,0.2); min-width:3rem; }
.topnb .mbtns .dropdown .dropdown-menu .dropdown-item { padding:10px 15px; color:#474747; }
.topnb .mbtns .dropdown .dropdown-menu .dropdown-item:hover { background-color: #8a7457; }
.topnb .mbtns .dropdown:hover { background-color: #919191; }
.topnb .mbtns .mbtn,
.topnb .mbtns .dropdown { float:left; color:#474747; border:none; width:50px; height:80px; padding:0px; margin:0px; background-color:transparent; }

.topnb .mbtns .mbtn .num { position: absolute; top:22px; left:24px; width:16px; height:16px; line-height:16px; border-radius: 50%; color:#fff; background-color:#94776e; font-size:0.75rem; }

/* footer */
.footer { background-color:#fff; padding:40px 0px; }
.footer .name { color:#000; text-align:left; font-size:1.25rem; margin-bottom:20px; }
.footer .name img{ width: 237px; }
.footer .cont { display:flex; font-size:0.875rem; color:#474747; }
.footer .cont > div { flex:1; }
.footer .cont > div div { margin-bottom:10px; }
.footer .cont .notice { text-align: left; }
.footer .cont .notice a:hover { border-bottom:1px solid #fff; }
.footer .cont .notice .num { font-family: "Helvetica"; color:#474747; text-decoration: none; }
.footer .cont .notice .num.tel:hover { color:#919191; }
.footer .cont .design { text-align: right; }
.footer .cont .design a { color:#474747; text-decoration: none; border-bottom:1px solid #474747; }
.footer .cont .design .isun { border-bottom: none; }
.footer .cont .design a:hover { color:#919191; border-bottom:1px solid #919191; }
.footer .cont .design .isun:hover { border-bottom:none; }

.footer .icon { display: flex; justify-content: center; }
.footer .icon a { width:32px; height:32px; border-radius: 50px; background-color:#011866; color:#fff; padding:8px 0px; font-size:1rem; margin:0px 5px; }
.footer .icon a:hover { background-color:#092EA8; color:#fff; }
.footer .icon .lineImg { background:url("./images/icon_line.png") no-repeat center center; background-size:16px; background-color:#011866; }
.footer .icon .lineImg:hover { background:url("./images/icon_line.png") no-repeat center center; background-size:16px; background-color:#092EA8; }

/* .fill { background-color: #66493d; } */

/* sidebar */
.sidebar { position:fixed; right:0px; top:50%; background-color: rgba(255,255,255,0.8); color:#000; z-index:2; transition: right 0.3s; }
.sidebar > div { width:80px; height:80px; }
.sidebar > div:hover { background-color: #474747; opacity: 0.8; cursor: pointer; color:#fff; }
/* .sidebar .buycar:hover { color:#262626; } */
.sidebar > div:hover .num { background-color: #c0a89d; }
.sidebar .member { padding:16px 0px; }
.sidebar .icon { font-size:1.5rem; }
.sidebar .name { font-size:0.8rem; font-weight: bold; }
.sidebar .buycar { position: relative; }
.sidebar .buycar,.sidebar .totop { padding:28px 0px; }
.sidebar .totop { background-color: #000; opacity: 0.8; color:#fff; }
.sidebar .member .bd { width:20px; border-bottom:1px solid #d1d1d1; 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:#000; 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:#fff; background-color:#94776e; font-size:0.7rem; font-weight:normal; }
.bottombar .totop { background-color:#000; color:#fff; padding:21px 0; }
.bottombar > button:hover { background-color: #474747; opacity: 0.8; cursor: pointer; color:#fff; }
.bottombar .buycar:hover { color:#fff; }
.bottombar > button:hover .num { background-color:#c0a89d; }

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

/* buy car modal */
#buyCarModal .modal-dialog { width:300px; position: absolute; right:0; height:100%; margin:0; border-radius: 0; }
#buyCarModal .modal-header { background-color: #000; 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:#262626; 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:#262626; color:#fff; padding:10px 0px; }
button.send:hover { background-color:#474747; 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; }
.product .pd a img { transition: all .2s ease-out; }
.product .pd a:hover img { transform: scale(1.1);  }


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

    .topnb { height:80px; }
    .topnb .logo { left:80px; }
    
    .topnb .mbtns .mbtn { width:80px; height:80px; border-radius: 0px; background-color:#fff; color:#474747; font-size:1.5rem; }
    
    .topnb .mbtns .mbtn .num { left:45px; }

    .topnb .menu { -ms-overflow-style: none; }
    .topnb .container { max-width:100%; padding:0px; }
    .topnb .nb { display:none; position: absolute; width:100%; height:100vh; left:0px; top:0px; background-color:#fff; }
    .topnb .menu .navbarItems { position: absolute; left:0px; width:100%; height:100vh; padding-bottom:60px;  transition-property:left,right; transition-duration:.3s; overflow-y:auto; overflow-x:hidden; }
    .topnb .menu .navbarItems .nav-link { padding:0px; display: inline-block; }
    .topnb .menu .navbarItems .nav-item { font-size:1.5rem; padding:22px 0px; margin:0px 60px; border-bottom:1px solid #cccccc; text-align:left;  }
    .topnb .menu .navbarItems .nav-item .dp_menu { display:block; position: absolute; top:0px; width:100%; height:90vh; background-color:#fff; z-index:1; overflow-x:hidden; padding-bottom:100px; }
    .topnb .menu .navbarItems .nav-item .dp_menu ul { padding:0px; }
    .topnb .menu .navbarItems .nav-item .dp_menu li:not(.bk) { font-size:1.5rem; margin:0px 60px; padding:22px 0px; border-bottom:1px solid #cccccc; text-align:left; }
    .topnb .menu .navbarItems .nav-item .dp_menu .bk { font-size:1.5rem; margin:0px 60px; padding:22px 0px; }
    .topnb .menu .navbarItems .nav-item .dp_menu .bk:hover { cursor: pointer; }
    .topnb .menu .navbarItems .nav-item .dp_menu .bk .back a { color:#ababab; }
    /* .topnb .menu .navbarItems .nav-item .dp_menu li a { display:block; }  */

    .topnb .mlan { top:80px; left:0; right:0px; }
    .topnb .mlan .lan { padding:20px; font-size:1rem; }

    .topnb .menu .submenu .icon { float:right; font-size:2rem; padding-right:30px; }
    .topnb .menu .submenu .icon:hover { cursor: pointer; }
    .topnb .menu .submenu .name { color:#8a7457; font-size:1.7rem; }
    .topnb .menu .submenu .pn { font-family:"Helvetica"; }
    .topnb .menu .submenu .date { color:#ababab; font-size:1.2rem; }
}

@media (max-width:991.98px){

}

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

    .topnb .logo { left:15px; padding:17px; height:100px; width:100px; }
    .topnb .mbtns .mbtn .num { top:10px; left:35px; }

    .topnb .menu .topbtn { height:60px; width:60px; }
    .topnb .mbtns .mbtn,
    .topnb .mbtns .dropdown { height:60px; width:60px; font-size:1.5rem; }

    .topnb .mlan { top:60px; }

    .topnb .menu .submenu .icon { font-size:1.5rem; padding:3px 0px; padding-right:15px; }
    .topnb .menu .submenu .name { font-size:1rem; }
    .topnb .menu .submenu .date { font-size:1rem; }
    .topnb .menu .navbarItems { padding-bottom:60px; }
    .topnb .menu .navbarItems .nav-item { font-size:1.25rem; padding:15px 0px; margin:0px 30px;  }
    /* .topnb .menu .navbarItems .nav-item .dp_menu { top:-60px; } */
    .topnb .menu .navbarItems .nav-item .dp_menu li:not(.bk) { font-size:1.25rem; margin:0px 30px; padding:15px 0px; }
    .topnb .menu .navbarItems .nav-item .dp_menu .bk { height:60px; font-size:1rem; margin:0px 30px; padding:18px 0px; }

    .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 { padding:30px 0px; }
    .footer .name { text-align:center; margin-bottom:20px; }
    .footer .name img{ width: 200px; }
    .footer .cont { display:block; }
    .footer .cont .design { text-align: center; }
    .footer .cont .notice { text-align: center; }
    .footer .cont > div:not(:last-child) { margin-bottom:20px; }
}

@media (min-width:768px){
    .footer .content .design { text-align: right; margin-right:60px; }
}

@media (min-width:992px){
    
}

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

    .topnb .mbtns { right:120px; }
    .topnb .mbtns .btnlan:hover { background:url("./images/img_lan.png") no-repeat center bottom; }
    .topnb .mbtns .btnlan:hover > .mlan { display: block; }
    .topnb .menu .nb { width:100%; display:block; }
    .topnb .menu .dropdown:hover .dropdown-menu { display:block; }
    .topnb .menu .nav-item ul { padding:0px; }
    /* .topnb .menu .navbar-nav > .nav-item:hover > .dp_menu { display:block; } */
    .topnb .menu .nav-item .dp_menu .dp_menu { white-space: nowrap; left:100%; top:0; }
    .topnb .menu .nav-item .dp_menu li:hover { background-color: #8a7457; }
    .topnb .menu .nav-item:hover > .nav-link { color:#262626; }
    .topnb .mbtns .menuno { display: none; }

    .topnb .mlan { right:125px; top:80px; transform:translate(+50%); }
    .topnb .mlan .lan { display:block; padding:10px 20px; color:#262626; text-decoration: none; font-size:0.875rem; }
    .topnb .mlan .lan:hover { background-color:#262626; color:#474747; }
}

@media (min-width:768px) and (max-width:991.98px){
    .topnb .logo { left:50px; }
    .topnb .logo { height:120px; width:120px; }
    /* .topnb .menu .submenu .nav-link { padding:28px 10px;  } */
    .footer .cont .notice > div { padding-right:20px; }
}