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

.mtop { height:60px; }

/* 圖片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; } 

.BaseBD { position:relative; width:100%; }
.Base46 { padding-top:46.3%; }
.BaseArea { position: absolute; top:0px; left:0px; bottom:0px; right:0px; overflow: hidden; }

/* topnb */
.topnb { position:fixed; top:0px; height:60px; background-color:#474747; width:100%; z-index:10; transition: top 0.3s; }
.topnb .menu { position: relative; }
.topnb .logo { position: absolute; top:0px; left:80px; padding:10px 0px; z-index:5; }
.topnb .logo img { height:40px; width:auto; }


.topnb .mlan { position: absolute; background-color:#e2e2e2; display: none; }
.topnb .mlan .lan { display:block; padding:10px 20px; color:#1d2088; text-decoration: none; font-size:0.875rem; }


/* .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:0px; }
.topnb .menu .nav-item .dp_menu a { text-decoration: none; color:#fff; cursor: pointer; }



.topnb .menu .topbtn { float:left; padding:0px; margin:0px; width:80px; height:80px; display: none; }
.topnb .menu .submenu .nav-link { position: relative; color:#fff; padding:20px 12px 16px 12px; }


.topnb .submenu .arrow { display: none; position: absolute; left:50%; transform: translate(-50%); top:62px; color:#262626; }
.topnb .submenu .arrow img { width:auto; }


.topnb .mbtns { position: absolute; top:0px; right:0px; z-index:5; }
.topnb .mbtns .mbtn:hover { color:#f9b839; }

.topnb .mbtns .mbtn { float:left; color:#fff; border:none; width:50px; height:60px; padding:22px 0px; margin:0px; background-color:transparent; }

/* footer */
.footer { color:#fff; }
.footer .iconbg { background-color:#919191; padding:14px 0px; }
.footer .txt { color:#fff; margin-right:15px; }
.footer .icon { display: inline-flex; justify-content: center; }
.footer .icon a { width:32px; height:32px; border-radius: 50px; background-color:#fff; color:#d91815; padding:8px 0px; font-size:1rem; margin:0px 5px; }
.footer .icon a:hover { background-color:#d91815; color:#fff; }
.footer .icon .lineImg { background:url("./images/ico-line.png") no-repeat center center; background-size:16px; background-color:#fff; }
.footer .icon .lineImg:hover { background:url("./images/ico-line-2.png") no-repeat center center; background-size:16px; background-color:#d91815; }

.footer .content { background-color:#c6c6c6; }
.footer .cont .name { color:#000; text-align:left; font-size:1.25rem; margin-bottom:20px; }
.footer .cont .opt { color:#474747; text-align:left; font-size:1rem; }
.footer .cont .opt a { color:#474747; text-decoration: none; }
.footer .cont .dl .opt > div { margin-bottom:10px; }
.footer .cont .opt a:hover { color:#fff; }
.footer .cont .opt .none {display: inline-block; width:calc(1rem * 4); height:1px; background-color:#919191; margin:10px 0px; }
.footer .cont .opt .gm { font-size:0.7rem; color:#919191; border-radius: 5px; border:1px solid #919191; margin-left:10px; padding:0px 6px; display: inline-block; }
.footer .cont .opt .gm:hover { border:1px solid #fff; background-color:#fff; }
.footer .cont .opt .gm:hover > a { color:#919191; }
.footer .cont .qrcode img { width:auto; }
.footer .cont .qrcode .opt .area { margin-top:10px; display: inline-block; padding:30px; background-color:#fff; }
/* .footer .cont .qrcode img:hover { opacity: 0.6; } */
.footer .cont .data table td { padding-bottom:10px; vertical-align: baseline; color:#474747; }
.footer .cont { font-size:0.875rem; }
.footer .cont.cont1 { padding:40px 0px; border-bottom:1px solid #919191; }

.footer .cont.cont2 { padding:30px 0px; color:#474747; }
.footer .cont2 { display: flex; }
.footer .cont2 > div { flex:1; }
/* .footer .cont1 > div div { margin-bottom:10px; } */

.footer .cont2 a { color:#474747; text-decoration: none; }
.footer .cont2 a:hover { color:#fff; }
.footer .cont2 .notice .num { font-family: "Helvetica"; color:#474747; text-decoration: none; }
.footer .cont2 .notice .num.tel:hover { color:#1d2088; }
.footer .cont2 .design { text-align: right; }
/* .footer .cont2 .design a { color:#474747; text-decoration: none; border-bottom:1px solid #474747; } */
.footer .cont2 .design .isun { border-bottom: none; }
/* .footer .cont2 .design a:hover { color:#1d2088; border-bottom:1px solid #1d2088; } */
.footer .cont2 .design .isun:hover { border-bottom:none; }



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

/* sidebar */
.sidebar { position:fixed; right:0px; top:50%; background-color: rgba(255,255,255,0.8); color:#393e46; z-index:2; transition: right 0.3s; }
.sidebar > div { width:80px; height:80px; }
.sidebar > div:hover { background-color: #f9b839; opacity: 0.8; cursor: pointer; color:#393e46; }
/* .sidebar .buycar:hover { color:#1d2088; } */
.sidebar > div:hover .num { background-color: #d91815; }
.sidebar .member { display: flex; flex-direction: column; justify-content: center; }
.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:#fff; background-color:#d91815; font-size:0.8rem; }
.sidebar .buycar,.sidebar .totop { padding:28px 0px; }
.sidebar .totop { background-color: #393e46; 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; right:12px; bottom:24px; }
.bottombar .totop { border-radius: 50px; width:60px; height:60px; background-color:#474747; color:#fff; font-size:1.75rem; padding:16px 0px; }


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

/* 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:#d91815; 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:#d91815; color:#fff; padding:10px 0px; }
button.send:hover { background-color:#f9b839; 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 (min-width:1200px){
    .bottombar { display: none; }

    .topnb .mbtns { right:100px; }

    .topnb .menu .nb { width:100%; display:block; background-color:#474747; }
    .topnb .menu .navbarItems > div { width:100%; }
    .topnb .menu .nav-item .dp_menu a:hover { color:#f9b839; border-bottom:1px solid #f9b839; }
    .topnb .submenu .dp_menu { display:none; position: absolute; left:0px; right:0px; top:60px; }
    /* .topnb .submenu .dp_menu .subt { background-color:#ffe8ef; padding:25px; border-radius:5px; } */
    .topnb .submenu .dp_menu .items { background-color:#262626; padding:25px; border-radius:5px; }
    .topnb .submenu .dp_menu .items li { padding:5px 0px; }
    
    .topnb .menu .submenu:hover .nav-link { color:#f9b839; }
    .topnb .menu .submenu:hover .arrow { display: block; }
    .topnb .menu .submenu:hover .dp_menu { display: block; }

    .topnb .menu .nav-item ul { padding:0px; }
    .topnb .menu .nav-item:hover > .nav-link { color:#1d2088; }
    .topnb .mbtns .menuno { display: none; }

    
}

@media (max-width:1199.98px){
    .mtop { height:120px; }
    .sidebar { display: none; }

    .topnb { background-color:#474747; height:60px; }
    .topnb .mbtns { display: flex; left:0px; }
    .topnb .mbtns > a { flex:1; }
    .topnb .mbtns #topbtn { background-color:transparent; }
    .topnb .mbtns #topbtn.active { background-color:#d91815; }
    .topnb .mbtns .mbtn { width:60px; height:60px; border-radius: 0px; padding:20px 0px; background-color:transparent; color:#fff; font-size:1.25rem; }
    .topnb .mbtns .mbtn .icon { position: relative; }
    .topnb .mbtns .mbtn .num { position: absolute; top:-10px; right:-10px; width:16px; height:16px; line-height:16px; border-radius: 50%; color:#fff; background-color:#d91815; font-size:0.75rem; }

    .tlogo { position: absolute; top:60px; left:0px; right:0px; background-color:#fff; padding:10px 0px; z-index:5; }
    .tlogo img { height:40px; width:auto; }
    .topnb .container { max-width:100%; padding:0px; }
    
    .topnb .menu .navbarItems { position: absolute; width:100%; max-height:calc(100vh - 60px); top:60px; left:0px; background-color:#fff; transition:all .3s ease-out; overflow-y:auto; }
    .topnb .menu .navbarItems .navbar-nav { list-style-type: none; position: absolute; left:0px; width:100%; transition: all .3s ease-out; }
    .topnb .menu .navbarItems .navbar-nav ul { padding-left:0px; background-color:#919191; }

    .topnb .menu .navbarItems > div { height:calc(100vh - 60px); }
    .topnb .menu .navbarItems .row { margin:0px; }
    .topnb .menu .navbarItems .nav-link { padding:0px; display: inline-block; color:#474747; }
    .topnb .menu .navbarItems .nav-item { position:static; font-size:1.5rem;  }
    .topnb .menu .navbarItems .nav-item .dp_menu { display: none; top:0px; width:100%; background-color:#fff; }
    .topnb .menu .navbarItems .nav-item .dp_menu.container { max-width:100%; }

    .topnb .menu .nav-item .dp_menu li:last-child .subt { border-bottom:none; }
    .topnb .menu .nav-item .dp_menu a { color:#fff; }

    .topnb .menu .submenu .subt { position:relative; padding:22px 0px; margin:0px 30px; border-bottom:1px solid #ababab; }
    .topnb .menu .submenu .icon { position: absolute; right:0px; top:0px; color: #919191; font-size:1.25rem; padding:30px 0px; padding-right:30px; }
    .topnb .menu .submenu .icon:hover { cursor: pointer; }
    
    .bottombar .totop { width:48px; height:48px; font-size:1rem; }
}

@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){
    

    /* .footer .content .design { display:none; } */
    .footer .cont .notice { text-align: left; }
    .footer .content .design { text-align: right; }
}

@media (max-width:767.98px) {
    
    .topnb { height:60px; }
    .topnb .nb { top:60px; }
    .topnb .logo { left:10px; }
    /* .topnb .logo img { height:50px; padding-top:0px; } */
    .topnb .menu .topbtn { height:60px; width:60px; }
    .topnb .mbtns .mbtn { height:60px; width:60px; font-size:1.25rem; }

    .topnb .mlan { top:60px; }

    .topnb .menu .submenu .icon { font-size:0.875rem; color: #919191; padding:24px 0px; padding-right:15px; }
    .topnb .menu .submenu .subt { padding:15px 0px; }

    .topnb .menu .navbarItems .navbar-nav {  }
    .topnb .menu .navbarItems .nav-item { font-size:1.25rem; }
    
    .topnb .menu .navbarItems .nav-item .dp_menu li { font-size:1.25rem; padding:0px; }

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

    .footer .iconbg .txt { margin:0px; margin-bottom:10px; display: block; }
    .footer .icon { display: flex; }
    .footer .name { margin-bottom:10px; }
    .footer .cont { display:block; }
    .footer .cont .design { text-align: center; }
    .footer .cont1 > div:not(:last-child) { margin-bottom:20px; }
    .footer .cont2 > div { margin-bottom:10px; }
}