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:160px; }

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

/* topnb */
.topnb { position: absolute; top:0px; height:80px; color:#303030; background-color:rgba(255,255,255,0.5); width:100%; z-index:10; transition: top 0.3s; }
.topnb .logo { position: absolute; top:0px; left:50px; transform: translate(-50%); padding:10px 0px; z-index:10; }
.topnb .logo img { width:auto; height:80px; }
.topnb .logo2 { position: absolute; top:30px; left:125px; transform: translate(-50%); padding:10px 0px; z-index:10; }
.topnb .logo2 img { width:auto; height:50px; }
.topnb .logo3 { position: absolute; top:40px; left:210px; transform: translate(-50%); padding:10px 0px; z-index:10; }
.topnb .logo3 img { width:auto; height:40px; }

.topnb .mlan { position: absolute; background-color: #fef5cd; display: none; transition: right 0.3s; }
.topnb .mlan .lan { display:block; border-bottom:1px solid #cec7bc; padding:15px 40px; color:#000; text-decoration: none; font-size:1.25rem; text-align:left; }
.topnb .mlan .closearea { text-align:right; padding:20px; }
.topnb .mlan .lanbtn { color:#5e5e5e; font-size:1.5rem; border:none; background-color:transparent; }
.topnb .mask { position: absolute; width:100%; height:100vh; top:0; left:0; z-index:5; background-color:rgba(255,255,255,0.5); display: none; }


.topnb .menu .nav-item .dp_menu li { list-style-type: none; }
.topnb .menu .nav-item .dp_menu a { text-decoration: none; color:#4b9007; 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:#303030; padding:5px 0px; margin:0px 15px; }

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

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

.topnb .mbtns .mbtn,
.topnb .mbtns .dropdown { float:left; color:#303030; border:none; height:60px; padding:0px 20px; margin:0px; background-color:transparent; }
.topnb .mbtns .icon { font-size:1.125rem; }

/* footer */
.footer { background-color:#fff; color:#919191; }
.footer .logo { flex:1; display: flex; justify-content: center; align-items: center; background-color:#fef5cd; }
.footer .logo img { height:90px; width:auto; }
.footer .content { flex:2; padding:80px; }
.footer .content .data { text-align:left; }
.footer .content .data i { color:#366607; }
.footer .content .data td { padding-bottom:20px; vertical-align: baseline; font-size:1rem; }
.footer .content .data td:last-child { padding-bottom:0px; }

.footer .icon { display: inline-flex; justify-content: flex-end; flex-wrap: wrap; width: 100%; margin-bottom:30px; }
.footer .icon a { width:16px; height:32px; color:#366607; padding:7px 0px; font-size:1.125rem; margin-left:20px; }
.footer .icon a:hover { color:#4B9007; }
.footer .icon .lineImg { background:url("./images/ico-line-a.png") no-repeat center center; background-size:16px; }
.footer .icon .lineImg:hover { background:url("./images/ico-line-o.png") no-repeat center center; background-size:16px; }
.footer .content .link { color:#919191; text-decoration: none; }
.footer .content .link:hover { color:#366607; }

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

/* sidebar */
.sidebar { position:fixed; right:0px; top:50%; background-color: rgba(255,255,255,0.8); color:#5e5e5e; z-index:2; transition: right 0.3s; }
.sidebar > div { width:80px; height:80px; }
.sidebar > div:hover { background-color: #4B9007; opacity: 0.8; cursor: pointer; color:#000; }
/* .sidebar .buycar:hover { color:#1d2088; } */
.sidebar > div:hover .num { background-color: #fff; }
.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:#000; background-color:#fcca46; font-size:0.8rem; }
.sidebar .buycar,.sidebar .totop { padding:28px 0px; }
.sidebar .totop { background-color: #ababab; 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; bottom:0px; width:100%; display:flex; z-index:2; }
.bottombar > button { flex:1; padding:12px 0px 4px 0px; border:none; color:#5e5e5e; background-color: rgba(255,255,255,0.8); }
.bottombar .name { padding-top:2px; font-size:0.8rem; }
.bottombar .icon { font-size:1rem; }
.bottombar .icon .lineImg { width:18px; height:18px; background:url("./images/ico-line-b.png")no-repeat center center; background-size:18px; margin:0px auto; transition: all .3s; }
.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:#000; background-color:#fcca46; font-size:0.7rem; font-weight:normal; }
.bottombar .totop { background-color:#ababab; color:#fff; padding:21px 0; }
.bottombar > button:hover { background-color: #fcca46; opacity: 0.8; cursor: pointer; color:#000; }
/* .bottombar .buycar:hover { color:#fdd000; } */
.bottombar > button:hover .num { background-color:#fff; }

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

/* buy car modal */
#buyCarModal .modal-dialog { width:300px; position: absolute; right:0; height:100%; margin:0; border-radius: 0; }
#buyCarModal .modal-header { background-color: #262626; 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:#366607; 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; }


::-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 0s; }
.product .pd a:hover img { transform: scale(1.1);  }


@media (max-width:1199.98px){
    .mtop { height:120px; }
    .sidebar { display: none; }
    /* .topnb .logo img {  height:40px; margin:10px 0px; } */

    .topnb { height:60px; }
    .topnb .logo { left:50px; }
    .topnb .logo img { height:60px; }
    .topnb .logo2 { left:110px; top:18px; }
    .topnb .logo2 img { height:40px; }
    .topnb .logo3 { left:180px; top:25px; }
    .topnb .logo3 img { height:32px; }

    .topnb .mbtns { display: flex; justify-content: flex-end; width:100%; }
    .topnb .mbtns .mbtn { width:60px; height:60px; border-radius: 0px; color:#5e5e5e; font-size:1.25rem; }

    .topnb .menu { padding:0px; }
    .topnb .menu .submenu .nav-link { position: relative; color:#fff; padding:18px 15px; margin:0px; }
    .topnb .menu { -ms-overflow-style: none; }
    .topnb .container { max-width:100%; padding:0px; }
    .topnb .nb {  position: absolute; width:100%; height:100vh; left:0px; top:0px; background-color:#fef5cd; z-index:10; display: none; }
    .topnb .menu .navbarItems { position: absolute; left:0px; width:100%; height:100vh; padding-bottom:60px; transition: all .3s ease; overflow-y:auto; overflow-x:hidden; }
    .topnb .menu .navbarItems .nav-link { padding:20px 0px; display: inline-block; color:#000; font-size:1.5rem; }
    .topnb .menu .navbarItems .nav-item { border-bottom:1px solid #cec7bc; }
    .topnb .menu .navbarItems .nav-item .dp_menu { display:none; z-index:1; overflow-x:hidden; }
    .topnb .menu .navbarItems .nav-item .dp_menu.container { max-width:100%; }
    .topnb .menu .navbarItems 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:20px 60px; text-align:center; background-color:#fffae4; text-align:left; }
    .topnb .menu .navbarItems .nav-item .dp_menu .bk { color: #919191; font-size:1.25rem; padding:22px 0px; border-bottom:1px solid #f1f1f1; 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; } 

    .topnb .menu .navbarItems .nbclose { padding:20px; text-align: right; }
    .topnb .menu .navbarItems .nbbtn { font-size:1.5rem; color:#5e5e5e; border:none; background:transparent; }

    .topnb .mlan { top:0px; left:0px; right:0px; height:100vh; z-index:10; }
    .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; padding:0px 60px; text-align: left; }
    .topnb .menu .submenu .icon { position: absolute; right:0px; top:0px; color: #919191; font-size:1.25rem; padding:28px 30px 28px 0px; }
    .topnb .menu .submenu .icon:hover { cursor: pointer; }

    .footer .logo { padding:80px 0px; }
    .footer .content .copy { text-align:left; }
    .footer .icon { justify-content: flex-start; margin-top:40px; margin-bottom:10px; }
    .footer .icon a { margin:0px; margin-right:24px; }
}

@media (max-width:991.98px){

}

@media (max-width:767.98px) {
    
    .topnb { height:60px; }
    .topnb .logo img { padding-top:0px; }
    .topnb .menu .topbtn { height:60px; width:60px; }
    .topnb .mbtns .mbtn,
    .topnb .mbtns .dropdown { height:60px; width:60px; font-size:1.5rem; }
    .topnb .menu .submenu .subt { padding:0px 30px; }
    .topnb .menu .submenu .icon { padding:28px 20px 28px 0px; }
    .topnb .menu .submenu .name { font-size:1rem; }
    .topnb .menu .submenu .date { font-size:1rem; }
    .topnb .menu .navbarItems .nav-item { font-size:1.25rem; }
    .topnb .menu .navbarItems .nav-item .dp_menu li:not(.bk) { font-size:1.25rem; padding:20px 30px; }
    .topnb .menu .navbarItems .nav-item .dp_menu .bk { height:60px; font-size:1rem; color:#919191; padding:18px 0px; }

    .footer .logo { padding:60px 0px; }
    .footer .logo img { height:50px; }
    .footer .content { padding:60px 40px; }
    .footer .content .copy { text-align: center; }
    .footer .content .icon { justify-content: center; margin-bottom:20px; }
    .footer .content .icon a { margin:0px 8px; }
    .footer .content .data td { padding-bottom:10px; }
    
    .modal .modal-dialog { margin:8rem auto; max-width:540px; width:90%; }

    .footer .cont1 > div:not(:last-child) { margin-bottom:20px; }
    .footer .cont2 > div { margin-bottom:10px; }

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

@media (min-width:768px){

}

@media (min-width:992px){

}

@media (min-width:1200px){
    .bottombar { display: none; }

    /* .topnb .mbtns { right:100px; } */
    .topnb { padding:0px 100px; }
    .topnb .menu { position: relative; display: flex; justify-content: flex-end; padding:10px 0px; }
    .topnb .menu .nb { width:100%; display:block; background-color:transparent; }
    /* .topnb .menu .nav-item .dp_menu a:hover { color:#ff729f; border-bottom:1px solid #ff729f; } */
    .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:#ffe8ef; padding:25px; border-radius:5px; }
    .topnb .submenu .dp_menu .items li { padding:5px 0px; }
    
    .topnb .menu .submenu:hover .nav-link { color:#366607; border-bottom:1px solid #366607; }
    .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; }

    .topnb .mlan { top:0; right:0; height:100vh; width:470px; z-index:10; }
    .topnb .mlan .lanbtn:hover { color:#366607; }
    .topnb .mlan .lan:hover { color:#366607; }

    .footer { display: flex; }
    .footer .content .copy { text-align:right; }
}