body { color: #474747; 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; } 

input.send,
button.send { width:100%; border:none; border-radius: 5px; background-color:#8a7457; color:#ffffff; padding:10px 0px; }
button.send:hover { background-color:#bd9f77; }
button.back { float:right; padding:10px 20px; background-color:#646464; color:#fff; border-radius:5px; width:160px; border:none; }
button.back:hover { background-color:#777; color:#fff; }
button.back i { font-size:1.5rem; float:left; } 

/* topnb */
.topnb { position: absolute; top:0px; height:80px; width:100%; z-index:10; }
.topnb .logo { position: absolute; top:0px; left:0px; margin:15px 0px; z-index:5; padding-left:20px; }
.topnb .logo img { max-height:50px; 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 .mlan { display: none; position: absolute; background-color:#14213d; top:80px; }
.topnb .mlan .lan { display:block; padding:10px 20px; color:#fff; text-decoration: none; font-size:0.875rem; }

.topnb .menu .navbar { padding:0px; }
.topnb .menu .nav-item .dp_menu li { list-style-type: none; white-space: nowrap; }
.topnb .menu .nav-item .dp_menu a { text-decoration: none; color:#474747; cursor: pointer; }

.topnb .menu .rmenu { display: flex; align-items: center; justify-content: flex-end; height:80px; padding-right:40px; }

.topnb .menu .topbtn { float:left; padding:0px; margin:0px; width:80px; height:80px; display: none; }
.topnb .menu .menui { height:0px; margin-bottom:4px; }
.topnb .menu .menui img { display:none; width:auto; }
.topnb .menu .submenu .nav-link { color:#000; padding:26px 0px; }

.topnb .menu .arrow { display: none; position: absolute; width: auto; bottom:0px; left:50%; transform: translate(-50%); }
/* .topnb .submenu .arrow { display: none; position: absolute; left:50%; transform: translate(-50%); top:64px; } */
/* .topnb .submenu .arrow img { width:auto; } */


.demo { padding:0px 30px; }
.demo .pd { margin:15px 0px; }
.demo .pd .ran { position: relative; }
.demo .pd .mask { animation:showout .2s; position: absolute; left:0px; right:0px; top:0px; bottom:0px; background-color:#000; opacity: 0; }
.demo .pd .tit { animation:ttshowout .2s; position: absolute; top:10%; left:10%; right:10%; bottom:10%; text-align:left; color:#fff; font-size:2rem; opacity: 0; }
.demo .pd a { text-decoration: none; }
.demo .pd .ran:hover { cursor: pointer; }
.demo .pd .ran:hover .mask { animation:showin .2s; opacity: 0.5; }
.demo .pd .ran:hover .tit { animation:ttshowin .2s; opacity: 1; }


/* footer */
.footer { font-size:0.875rem; color:#919191; padding:20px 0px; }
.footer a { color:#919191; }
.footer .copy { margin-bottom:20px; }


.fill { background-color: #fff; }

.totop { display:inline-block; color:#262626; }
.totop:hover { color:#777; }
.totop:hover { cursor: pointer; }

/* 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:20px 0px; border:none; color:#fff; background-color: rgb(100, 100, 100, 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:#49413b; font-size:0.7rem; font-weight:normal; }
.bottombar .totop { background-color:rgb(100, 100, 100, 0.8); color:#fff; padding:21px 0; }
.bottombar > button:hover { background-color: #777; opacity: 1; cursor: pointer; }
/* .bottombar .buycar:hover { color:#fdd000; } */
.bottombar > button:hover .num { background-color:#fff; color:#14213d; }

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

/* 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:#000; color:#fff; padding:10px 0px; }
button.send:hover { background-color:#474747; }

::-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){
    .mtop { height:120px; }
    .bottombar { display: none; }
    .topnb { height:120px; padding:20px 0px; }
    .topnb .menu .logo { top:20px; }
    .topnb .menu .navbar { padding-right:25px; }
    .topnb .menu .nb { width:100%; display:block; }
    .topnb .menu .nav-item .dp_menu a:hover { color:#fcca46; }
    .topnb .submenu .dp_menu { display:none; position: absolute; padding:20px 0px; top:80px; background-color:#000; left:-20px; }
    .topnb .submenu .dp_menu .items li { display: inline-block; padding:0px 30px; }
    .topnb .submenu .dp_menu .items li a { display:block; padding:10px 0px; color:#fff; }
    /* .topnb .submenu .dp_menu .items li:hover { color:#fcca46; } */
    .topnb .mbtn .mlan a:hover { background-color:#fdd000; color:#14213d; }

    .topnb .menu .submenu .nav-link { position:relative; margin-right:20px; }
    .topnb .menu .submenu:hover .nav-link { color:#777; }

    .topnb .mbtn { color:#000; border:none; padding:0px; padding-right:20px; margin:0px; background-color:transparent; white-space: nowrap; }
    .topnb .mbtn:hover { color:#777777; }
    .topnb .phone { color:#000; text-decoration: none; border:2px solid #000; border-radius: 50px; padding:5px 34px 5px 34px; white-space: nowrap; }
    .topnb .phone:hover { background-color:#000; border:2px solid #000; color:#fff; }

    .topnb .menu .submenu .dp_menu .bd { position: absolute; height:15px; width:1px; right:0px; top:50%; background-color:rgba(255,255,255,0.5); transform:translate(0,-50%); }
    .topnb .menu .nav-item { position: relative; }
    .topnb .menu .nav-item ul { padding:0px; }
    .topnb .menu .nav-item:hover > .nav-link { color:#1d2088; }
    .topnb .menu .nav-item:hover > .dp_menu { display: block; }

}

@media (max-width:1199.98px){
    
    .mtop { height:80px; }
    .sidebar { display: none; }
    .topnb .logo { margin:15px 0px; padding-left:20px; }
    /* .topnb .logo img {  height:50px; } */

    /* .topnb { height:60px; } */
    /* .topnb .logo { left:30px; } */
    .topnb .mbtn { width:60px; height:60px; border-radius: 50px; background-color:#fff; color:#303030; font-size:1.5rem; border:none; margin:10px 0px; }
    .topnb .mbtn#topbtn { z-index:10; margin-right:30px; margin-left:20px; }
    .topnb .menu .menui { display: none; }
    
    .topnb .menu .navbar { justify-content: flex-end; }
    .topnb .menu .submenu .nav-link { position: relative; color:#fff; padding:18px 15px; }
    .topnb .menu .submenu .nav-link .bd { display:none; background-color:#fff; position: absolute; height:4px; bottom:0px; left:0; right:0; }
    .topnb .menu { -ms-overflow-style: none; }
    .topnb .container { max-width:100%; padding:0px; }
    .topnb .nb { position: absolute; width:100%; left:0px; top:0px; z-index:10; }
    .topnb .menu .navbarItems { position: absolute; top:-100vh; left:0px; width:100%; max-height:100vh; overflow:auto; transition: all .3s ease; }
    .topnb .menu .navbarItems .nav-link { padding:0px; display: inline-block; color:#000; padding:20px 0px; }
    .topnb .menu .navbarItems .nav-item { font-size:1.5rem; }
    .topnb .menu .navbarItems .nav-item .dp_menu { display:none; top:0px; width:100%; z-index:1; overflow-x:hidden; }
    .topnb .menu .navbarItems .nav-item .dp_menu.container { max-width:100%; }
    .topnb .menu .navbarItems ul { padding-top:80px; background-color:#fff; }
    .topnb .menu .navbarItems .submenu ul { padding:0px; }
    .topnb .menu .navbarItems ul .row { margin:0px; }
    .topnb .menu .navbarItems .nav-item .dp_menu li:not(.bk) { font-size:1.5rem; padding:22px 0px; text-align:center; background-color:#000; }
    .topnb .menu .navbarItems .nav-item .dp_menu .bk { color: #919191; font-size:1.25rem; padding:22px 0px; border-bottom:1px solid #e6be06; text-align:left; }
    .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; color:#fff; } 

    .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 .subt { position:relative; margin:0px 60px; border-top:1px solid #e6e6e6; }
    .topnb .menu .submenu .icon { position: absolute; right:0px; top:18px; padding:8px 0px; color: #d6d6d6; font-size:1.25rem; 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; } */
    .footer { font-size:0.8rem; }
}

@media (max-width:991.98px){
    .footer .cont .copy .tit { font-size:1.125rem; display: none; }
}

@media (min-width:768px) and (max-width:991.98px){
    
    .footer .cont .suntzy,.footer .cont .copy { margin-top:40px; }
    /* .footer .cont .qrcode { margin-top:20px; } */
}

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

@media (max-width:767.98px){
    .mtop { height:60px; }
    .topnb { height:60px; }
    /* .topnb .nb { top:60px; } */
    /* .topnb .mbtn { margin-right:10px; } */
    .topnb .logo { padding-left:10px; margin:15px 0px; }
    .topnb .logo img { height:30px; }
    .topnb .menu .mbtn { height:40px; width:40px; font-size:1.25rem; }
    .topnb .mbtn#topbtn { margin-right:15px; margin-left:10px; padding:0px; }

    /* .topnb .menu .submenu .icon { font-size:0.875rem; color: #919191; padding:8px 0px; padding-right:15px; } */
    .topnb .menu .submenu .subt { margin:0px 30px; }
    .topnb .menu .submenu .name { font-size:1rem; }
    .topnb .menu .submenu .date { font-size:1rem; }
    /* .topnb .menu .navbarItems ul { padding:20px 30px 50px; } */
    /* .topnb .menu .navbarItems ul { margin:0px 30px; } */
    .topnb .menu .navbarItems .nav-item { font-size:1.25rem; }
    /* .topnb .menu .navbarItems .nav-item .dp_menu { top:-60px; } */
    .topnb .menu .navbarItems .nav-item .dp_menu li:not(.bk) { font-size:1.25rem; padding:15px 0px; }
    .topnb .menu .navbarItems .nav-item .dp_menu .bk { height:60px; font-size:1rem; color:#919191; padding:18px 0px; }

    .bottombar > div { padding:15px 0px; }
    .bottombar .icon { font-size:0.75rem; }
    .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%; }

    
    
}
