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

/* 高度設定 */
.mh6,.mhpgn { height:60px; }
.mh2 { height:20px; }
.mh3 { height:30px; }
.mh4 { height:40px; }

/* 圖片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:#004ea1; width:100%; z-index:10; transition: top 0.3s; border-bottom:none; }
.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:150px; width:170px; left:120px; padding:25px; }
.topnb .logo img { width:95%; }

/* .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; bottom:0; z-index:5; }
.topnb .mlan { position: absolute; background-color:#fff; 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 .icono { display: none; }
.topnb .menu .nav-item .dp_menu { display: none; position: absolute; text-align:left; background-color:#fff; padding:0px; }
.topnb .menu .nav-item .dp_menu li { list-style-type: none; white-space: wrap; overflow: hidden; }
.topnb .menu .nav-item .dp_menu a { color:#004ea1; cursor: pointer; }


.topnb .menu .topbtn { float:left; padding:0px; margin:0px; width:80px; height:80px; display: none; }
.topnb .menu .submenu .nav-link { color:#fff; padding:28px 15px; }
.topnb .menu .submenu .nav-link:hover { color:#fccf00; }

.topnb .mbtns { position: absolute; top:0px; right:0px; z-index:5; }
/* .topnb .mbtns .mbtn.inside { background-color:#474747; } */
.topnb .mbtns .mbtn:hover { color:#fccf00; }
.topnb .mbtns .mbtn { float:left; color:#fff; border:none; width:auto; height:80px; padding:0px 15px; margin:0px; background-color:transparent; }
.topnb .mbtns .mbtn.lan { font-size:0.875rem; padding:30px 15px; color:#f1f1f1; }
.topnb .mbtns .mbtn.lan a { color:#fff; }
.topnb .mbtns .mbtn.lan a:hover { color:#fccf00; }
.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:#00b1d6; text-align:left; font-size:1.25rem; margin-bottom:20px; }
.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:#004ea1; text-decoration: none; border-bottom:1px solid #004ea1; }
.footer .cont .design .isun { border-bottom: none; }
.footer .cont .design a:hover { color:#fca031; border-bottom:1px solid #fca031; }
.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:#004ea1; color:#fff; padding:8px 0px; font-size:1rem; margin:0px 5px; }
.footer .icon a:hover { background-color:#0086d4; color:#fff; }
.footer .icon .lineImg { background:url("./images/ico-line.png") no-repeat center center; background-size:16px; background-color:#004ea1; }
.footer .icon .lineImg:hover { background:url("./images/ico-line.png") no-repeat center center; background-size:16px; background-color:#0086d4; }

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

/* sidebar */
.sidebar { position:fixed; right:0px; top:50%; transform: translate(0px , -50%); background-color: rgba(255,255,255,0.8); color:#000; z-index:2; transition: right 0.3s; }
.sidebar > div { width:80px; height:80px; padding:16px 0px; color:#fff; }
.sidebar > div:hover { background-color: #004ea1; opacity: 0.8; cursor: pointer; color:#fff; }
/* .sidebar .buycar:hover { color:#262626; } */
.sidebar > div:hover .num { background-color: #fccf00; }
.sidebar .member,
.sidebar .buycar { background-color:rgba(229, 49, 40, 0.8); }
.sidebar .messenger,.bottombar .messenger { background-color:#3a8dfd; }
.sidebar .icon { font-size:1.5rem; }
.sidebar .name { font-size:0.75rem; padding-top:5px; }
.sidebar .buycar { position: relative; }
.sidebar .buycar .num { position: absolute; top:5px; right:15px; width:24px; height:24px; line-height:24px; border-radius: 50%; color:#262626; background-color:#fccf00; font-size:0.8rem; }
.sidebar .totop { padding:28px 0px; }
.sidebar .totop { background-color: #454357; opacity: 0.8; color:#fff; }
.sidebar .member .bd { width:20px; border-bottom:1px solid #d1d1d1; position: absolute; top:80px; left:30px; }
.sidebar .line,.bottombar .line { background-color:#3ad03e; }
.sidebar .line .icon { height:24px; }
.bottombar .line .icon { height:16px; }
.sidebar .line .icon,.bottombar .line .icon { background:url("./images/ico-line.png")no-repeat center center; background-size:contain; }

/* 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:#fff; background-color: rgba(230, 49, 38, 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:#454357; 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:#004ea1; width:30px; text-align: right; border:none; background-color:transparent; padding:0px; }
#searchModal .modal-body .fa-search:hover  { color:#00b1d6; }

/* 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:#e63126; 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:#004ea1; color:#fff; padding:10px 0px; }
button.send:hover { background-color:#0086d4; 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:60px; }
    .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 { position: relative; }
    .topnb .menu .nav-item ul { padding:30px; display: flex; flex-direction: column; flex-wrap: wrap; border:1px solid #004ea1; border-top:none; }
    .topnb .menu .navbar-nav > .nav-item:hover > .dp_menu { display:block; }
    .topnb .menu .navbar-nav > .nav-item:hover > .icono { display: block; }
    .topnb .menu .nav-item .icono { position: absolute; top:60px; left:50%; transform:translate(-50%,0px); color:#fff; font-size:1.75rem; }
    .topnb .menu .nav-item .dp_menu { top:70px; left:-20px; }
    .topnb .menu .nav-item .dp_menu li { padding:8px; width:150px; }
    .topnb .menu .nav-item .dp_menu a:hover { color:#e63126; }
    /* .topnb .menu .nav-item .nav-link:hover { color:#e63126; } */
    .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 (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:#004ea1; color:#fff; 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:80px; 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; color:#303030; }
    .topnb .menu .nav-item .dp_menu a { color:#303030; }
    .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; border-bottom:1px solid #cccccc; }
    .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 (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){
    .topnb .logo { left:50px; }
    .topnb .logo { height:140px; width:140px; padding:20px; }
    /* .topnb .menu .submenu .nav-link { padding:28px 10px;  } */
    .footer .cont .notice > div { padding-right:20px; }
}

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

@media (max-width:767.98px) {
    .topnb { height:60px; }
    .topnb .logo { left:15px; padding:15px; height:105px; width:120px; }
    .topnb .menu .topbtn { height:60px; width:60px; }
    .topnb .mbtns .mbtn { height:60px; width:60px; font-size:1.5rem; }
    .topnb .mbtns .mbtn .num { top:10px; left:35px; }

    .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 .nb { top:60px; }
    .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:10px; }
    .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; }
}