body { 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:120px; }

/* topnb */
.topnb { position:fixed; top:40px; height:80px; left:0; right:0; transition: top 0.3s; z-index:5; }
/* .topnb .logo { position: absolute; height:60px; top:10px; z-index:100; } */
.topnb .menu { position: relative; z-index:10; text-align:left; padding:10px 0px; padding-left:10px;  overflow: hidden; background-color:#fff; border-radius: 10px; box-shadow: 5px 5px 10px rgba(138,116,87,0.5); }
.topnb .menu img {  max-height:60px; width:auto; }
.topnb .mask { position: absolute; width:100%; height:100vh; top:0; left:0; z-index:5; background-color:rgba(0,0,0,0.5); display: none; }
/* .topnb .menu { position: relative; } */

.topnb .menu .topbtn { position: absolute; top:0; right:0; width:140px; }
.topnb .menu .topbtn button { float:left; border:none; width:70px; height:80px; color:#ffffff;  border-radius: 0px; background-color: #be9368; }
.topnb .menu .topbtn .icon { font-size:1.2rem; }

.topnb .menu .navbar .nav-link { padding:0; padding-right:25px; }
.topnb .menu .navbar .sub1 { color:#474747; }
.topnb .menu .navbar .sub2 { color:#ababab; font-size:0.7rem; }
.topnb .menu .navbar .nav-link:hover > .sub1,
.topnb .menu .navbar .nav-link:hover > .sub2 { color: #bc2922 ; }
/* 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:#ffffff; cursor: pointer; }



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


/* .topnb .mbtns { position: absolute; top:0px; right:0px; }
.topnb .mbtns .mbtn:hover { background-color:#342f2f; }
.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:#ffffff; }
.topnb .mbtns .dropdown .dropdown-menu .dropdown-item:hover { background-color: #8a7457; }
.topnb .mbtns .dropdown:hover { background-color: #342f2f; }
.topnb .mbtns .mbtn,
.topnb .mbtns .dropdown { float:left; color:#ffffff; border:none; width:60px; height:80px; padding:0px; margin:0px; background-color:transparent; } */

/* footer */
.footer { background-color:#474747; 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: left; }
.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: #474747; }

/* sidebar */
.sidebar { position:fixed; right:-80px; top:50%; transform: translate(0,-50%); background-color: rgba(255,255,255,0.8); color:#bc2922; z-index:2; transition: right 0.3s; }
.sidebar > div:not(.link) { width:80px; height:80px; }
.sidebar > div:hover { background-color: #bc2922; opacity: 0.7;  cursor: pointer; color:#ffffff; }
.sidebar > div:hover .num { color:#fff; background-color: #000; }
.sidebar .member { padding:16px 0px; }
.sidebar .icon { font-size:1.5rem; }
.sidebar .member .name { font-size:0.8rem; font-weight: bold; }
.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:#000; font-size:0.8rem; }
.sidebar .buycar,.sidebar .totop { padding:28px 0px; }
.sidebar .totop { background-color: #bc2922; opacity: 0.7; color:#ffffff; }
.sidebar .totop:hover { background-color:#303030; color:#ffffff; opacity: 0.7; }
.sidebar .bd { width:20px; border-bottom:1px solid #d1d1d1; position: absolute; top:80px; left:30px; }

.sidebar .link { padding: 20px 0px; }
.sidebar .link .icon { height: 24px; }
.sidebar .link.down .icon { background: url("./images/sbline.png") no-repeat center center; background-size:contain; }
.sidebar .link.down:hover > .icon { background: url("./images/sbline2.png") no-repeat center center; }
/* .sidebar .link.down { padding-top: 10px; padding-bottom:20px; } */

/* 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:#bc2922; 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:#000; font-size:0.7rem; font-weight:normal; }
.bottombar .totop { background-color:#bc2922; opacity: 0.7; color:#ffffff; padding:21px 0; }
.bottombar .totop:hover { background-color:#303030; color:#fff; opacity: 0.7; }
.bottombar > button:hover { background-color: #bc2922; cursor: pointer; color:#ffffff; }
.bottombar > button:hover .num { color:#fff; background-color:#303030; }

/* 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:#bc2922; 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 #f5ece3; }
#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:#bc2922; 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:#303030; color:#ffffff; padding:10px 0px; }
button.send:hover { background-color:#bc2922; }

::-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 .navbar { position: absolute; right:140px; top:20px; }
    .topnb .menu .topbtn button:hover > .icon { color:#303030; }
}
@media (max-width:1199.98px){
    .mtop { height:80px; }

    .sidebar { display: none; }
    .topnb { top:0px; height:110px; }
    .topnb .container { max-width: 100%; padding:0px; }
    .topnb .menu { border-radius: 0px; padding-left:15px; overflow: visible; }
    .topnb .menu .nb { width:100%; }
    .topnb .menu .navbar { position: absolute; width:calc(100% - 80px); height:100vh; overflow-y:auto; left:-100%; top:0; background-color:#faf5f2; transition:left 0.3s; align-items: flex-start; }
    .topnb .menu .navbar .submenu { padding:20px; border-bottom:1px solid #fff; font-size:1.5rem; }
    .topnb .menu .topbtn { width:160px; }
    .topnb .menu .topbtn .nbbtn { width:80px; height:80px; background-color:#be9368; color:#fff; }
    .topnb .menu .topbtn .nbbtn.active { background-color:#392c1f; }
    .topnb .menu .topbtn button:not(.nbbtn) { padding:20px 15px; width:80px; height:80px; color:#474747; background-color: #fff; }
    .topnb .menu .topbtn button .icon { font-size:2rem; }
}

@media (min-width:992px) and (max-width:1199.98px){
    /* .topnb .logo img {  max-height:54px; margin:3px 0px; } */
    /* .topnb .menu .navbar .nav-link { padding-right:15px; } */
}

@media (min-width:768px) and (max-width:991.98px){
    /* .topnb .container { max-width: 750px; } */
    /* .topnb .menu img { max-height:40px; margin:10px 0px; } */
    /* .topnb .menu .navbar .nav-link { padding-right:10px; } */
    /* .topnb .menu .navbar .sub1 { font-size:0.9rem; } */

    /* .topnb .menu .navbar { right:120px; } */
    /* .topnb .menu .topbtn { width:120px; } */
    /* .topnb .menu .topbtn button { width:60px; height:80px; } */
}

@media (min-width:768px){
    
    
    /* .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 { background-color:#342f2f; } */

    
}

@media (max-width:767.98px){

    .topnb { top:0px; height:110px; }
    .topnb .container { max-width: 100%; padding:0px; }
    .topnb .menu { border-radius: 0px; padding:25px 0px; padding-left:15px; overflow: visible; }
    .topnb .menu .nb { width:100%; }
    .topnb .menu .navbar { position: absolute; width:calc(100% - 110px); height:100vh; overflow-y:auto; left:-100%; top:0; background-color:#faf5f2; transition:left 0.3s; align-items: flex-start; }
    .topnb .menu .navbar .submenu { padding:30px 60px; border-bottom:1px solid #fff; }
    .topnb .menu .topbtn { width:210px; }
    .topnb .menu .topbtn .nbbtn { width:110px; height:110px; background-color:#be9368; color:#fff; }
    .topnb .menu .topbtn button:not(.nbbtn) { padding:35px 30px; width:100px; height:110px; color:#474747; background-color: #fff; }
    .topnb .menu .topbtn button .icon { font-size:2.5rem; }

    
    /* 

    .topnb .container { max-width:100%; padding:0px; }
    .topnb .logo { left:50%; top:50%; transform:translate(-50%,-50%); }
    
    .topnb .menu { -ms-overflow-style: none; }

    .topnb .nb { display:none; position: absolute; width:100%; height:100vh; left:0px; top:110px; background-color:#303030; }
    .topnb .menu .navbarItems { position: absolute; left:0px; width:100%; height:90vh; padding:100px 0px;  transition-property:left,right; transition-duration:.3s; overflow-y:auto; overflow-x:hidden; }
    .topnb .menu .navbarItems .nav-link { padding:0px; }
    .topnb .menu .navbarItems .nav-item { font-size:2.8rem; padding:25px 0px; margin:0px 60px; border-top:1px solid #262626; text-align:left;  }
    .topnb .menu .navbarItems .nav-item .dp_menu { display:block; position: absolute; top:0px; width:100%; height:90vh; background-color:#303030; 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:2.8rem; font-weight:bold; margin:0px 60px; padding:25px 0px; border-top:1px solid #262626; text-align:left; }
    .topnb .menu .navbarItems .nav-item .dp_menu .bk { height:100px; font-size:1.6rem; margin:0px 60px; padding:32px 0px; }
    .topnb .menu .navbarItems .nav-item .dp_menu .bk .back { color:#ababab; }
    .topnb .menu .navbarItems .nav-item .dp_menu li a { display:block; } 

    .topnb .menu .submenu .icon { float:right; font-size:2rem; padding:20px 0px; padding-right:30px; }
    .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.6rem; }

    .topnb .menu .topbtn { display:block; background-color:#000000; border-radius: 0px; }
    .topnb .mbtns .mbtn,
    .topnb .mbtns .dropdown { height:110px; width:90px; font-size:2rem; }

    .footer { padding:50px 0px; }
    .footer .content .notice { position:static; margin:15px 0px; }
     */
    

    .footer .cont { display:block; }
    .footer .cont .notice,
    .footer .cont .design { text-align: center; }
}

/* @media (max-width:767.98px) and (min-width:576px){

    .topnb .menu .navbar .sub1 { font-size:2rem; }

    .footer { padding:60px 0px;  }
    .footer .cont { font-size:1.3rem; }
    .footer .cont > div:not(:last-child) { margin-bottom:15px; }

    .bottombar .name { font-size:1rem; }
    .bottombar .icon { font-size:2rem; }
    .bottombar .buycar .num { width:24px; height:24px; line-height:24px; font-size:1rem; }
    .bottombar .totop { padding:28px 0; }

    .modal .modal-dialog { max-width:540px; }
} */

@media (max-width:767.98px) {
    .mtop { height:60px; }
    
    .topnb { height:60px; }
    .topnb .container { max-width: 100%; padding:0px; }
    .topnb .menu { border-radius: 0px; padding:10px 0px; padding-left:15px; }
    .topnb .menu img {  max-height:40px; }

    .topnb .menu .navbar { width:calc(100% - 60px); }
    .topnb .menu .navbar .submenu { padding:15px 30px; }
    .topnb .menu .navbar .sub1 { font-size:1.25rem; }

    .topnb .menu .topbtn { width:110px; }
    .topnb .menu .topbtn .nbbtn { width:60px; height:60px; }
    .topnb .menu .topbtn button:not(.nbbtn) { padding:20px 15px; width:50px; height:60px; }
    .topnb .menu .topbtn button .icon { font-size:1.2rem; }

    .footer { padding:30px 0px; }
    .footer .cont > div:not(:last-child) { margin-bottom:5px; }

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

}