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

/* 圖片cover */
.gbox { overflow: hidden; }
.gbox .wh { height:100%; width:auto; }
.gbox .ww { width:100%; height:auto; }

.mtop { height:80px; }
.mh3 { height:30px; }
.mh4 { height:40px; }
.mh6 { height:60px; }

.BaseBD { position: relative; width:100%; }
.Base169 { padding-top:56.25%; }
.Base11 { padding-top:100%; }
.Base83 { padding-top:37.5%; }
.BaseArea { position: absolute; top:0px; left:0px; bottom:0px; right:0px; overflow: hidden; }

.colBG { width:100%; height:100%; background-color:#fff; }

/* topnb */
.topnb { position: absolute; top:0px; height:80px; background-color:transparent; width:100%; z-index:10; }
.topnb .logo { padding-left:30px; padding-top:10px; text-align:left; }
.topnb .logo img { width:auto; height:50px; }
.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 .navbar #CloseBtn { position: absolute; right:30px; top:30px; font-size:1.5rem; }
.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 .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:#303030; padding:26px 0px; }


.topnb .topbtn { position: absolute; right:0px; top:0px; display: flex; z-index:10; }
.topnb .topbtn a { display: flex; justify-content: center; align-items:center; height:80px; }
.topnb .topbtn .phone { background-color:#00419b; color:#fff; font-size:0.875rem; padding:0px 50px; }
.topnb .topbtn .phone .tel { font-size:1rem; }
.topnb .topbtn .mbtn { background-color:rgba(255, 210, 0,0.4); color:#262626; }


/* footer */
.footer { text-align:left; background-color:#303030; color:#fff; }
.footer .ftop { display: flex; padding:60px 0px; border-bottom:1px solid #595959; }
.footer .ftop > div { flex:1; }
.footer .ftop .tit { font-size:2rem; }

.footer .ftop .subt , .footer .slash { color:#919191; }
.footer .ftop .subt { font-size:1.25rem; padding-top:18px; }
.footer .ftop .cont { padding-top:10px; }

.footer .bottom { padding:40px 0px; display:flex; font-size:0.875rem; justify-content: space-between; }
.footer .bs { display: inline-block; }

.footer .icon { display: inline-flex; justify-content: flex-start; width:100%; background-color:#303030; text-align:center; flex-wrap: wrap; }
.footer .icon a { width:32px; height:32px; color:#303030; font-size:1.125rem; margin:0px 5px; background-color:#fff; border-radius: 50px; padding:7px 0px; margin-bottom:5px; }
.footer .icon a:hover { color:#303030; background-color:#ffd200; border-bottom:none; }
.footer .icon .lineImg { background:url("./images/ico-line_x2.png") no-repeat center center; background-size:20px; background-color:#fff; }

.footer a { color:#fff; text-decoration: none; }
.footer a:hover { color:#ffd200; }



.fill { background-color: #181818; }

/* sidebar */
.sidebar { position:fixed; right:0px; top:60%; background-color: rgba(255,255,255,0.8); color:#303030; z-index:2; transition: right 0.3s; }
.sidebar > div { width:80px; height:80px; opacity: 0.8; }
.sidebar > div:hover { background-color: #00419b; color:#fff; opacity: 0.8; cursor: pointer; }

.sidebar .txty { padding:16px 0px; }
.sidebar .icon { font-size:1.5rem; padding-bottom: 8px;}
.sidebar .txty .name { font-size:0.8rem; font-weight: bold; }

.sidebar .totop { padding:28px 0px; background-color: #181818 ; opacity: 0.8; color:#fff; }
.sidebar .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:20px 0px; border:none; color:#303030; background-color: #fff; }
.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: #181818; color:#fff; padding:21px 0; }
.bottombar > button:hover { background-color: #00419b; color:#fff; opacity: 0.8; cursor: pointer; }


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

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

::-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 .logo { width:255px; }
    .topnb .menu .nb { width:100%; display:flex; }
    .topnb .menu .nav-item .dp_menu a:hover { color:#ffd200; }
    .topnb .submenu { position: relative; }
    .topnb .submenu .dp_menu { display: none; position: absolute; padding:20px 0px; top:80px; background-color:#00419b; color:#fff; left:52px; transform:translate(-50%); }
    .topnb .submenu .dp_menu .items li { 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 .menu .submenu .nav-link { position:relative; margin-left:20px; }
    .topnb .menu .submenu:hover .dp_menu { display: block; }
    .topnb .menu .submenu:hover .nav-link { color:#ff4500; }
    .topnb .menu .submenu:hover .nav-link .bd { background-color:#ff4500; }
    .topnb .menu .submenu .nav-link .bd { background-color:#919191; position: absolute; height:4px; width:4px; border-radius: 25px; bottom:15px; left:calc(50% - 2px); }

    .topnb .topbtn .mbtn { width:110px; }
    .topnb .topbtn a:hover { background-color:#ff4500; color:#fff; }
    /* .topnb .menu .submenu:hover .menui img { display: inline; } */
    /* .topnb .menu .submenu:hover .arrow { display: block; } */

    .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 ul { padding:0px; }
    .topnb .menu .nav-item:hover > .nav-link { color:#1d2088; }
    
}

@media (max-width:1199.98px){
    
    .mtop { height:60px; }
    .sidebar { display: none; }
    .topnb .logo { padding-top:5px; }
    /* .topnb .logo img {  height:50px; } */

    .topnb { height:60px; }
    /* .topnb .logo { left:30px; } */
    .topnb .mbtn { width:60px; height:60px; background-color:#fff; color:#303030; font-size:1.5rem; border:none; }
    .topnb .mbtn#topbtn { z-index:10; margin-right:30px; margin-left:20px; }
    .topnb #topbtn.active {  }
    .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:#00419b; 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:#303030; 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:#00419b; }
    .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 .topbtn a { width:60px; height:60px; }
    .topnb #MenuBtn { background-color:#00419b; color:#fff; border-radius: 0px; border:none; }

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

@media (max-width:991.98px){

}

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

@media (min-width:768px){
    .footer .ftop .item:first-of-type { margin-bottom:40px; }
}

@media (max-width:767.98px){
    
    .topnb { height:60px; }
    /* .topnb .nb { top:60px; } */
    /* .topnb .mbtn { margin-right:10px; } */
    .topnb .logo { padding-left:10px; }
    .topnb .logo img { height:40px; }
    .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; }

    .footer .ftop { display: block; padding:40px 0px; }
    .footer .ftop .tit { font-size:1.5rem; }
    .footer .ftop .item { margin-top:20px; }
    .footer .ftop .subt { font-size:1rem; }
    .footer .lan { padding:10px 0px; }

    .footer .bottom { display: block; text-align: center; padding:30px 0px; }
    .footer .bs { display: block; padding-top:5px; }

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

    
    
}