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

/* 標題下方圖片 */
.titlebd { padding-bottom:20px; }
.titlebd img { width: 70px; }

/* ====== 共用樣式 ====== */
/* 人員 */
.staff .tit { color:#906d54; }
.staff .name { color:#000; }

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

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

.logo img { width:auto; }

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

/* topnb */
.topnb { position: fixed; top:0px; width:100%; z-index:10; background-color:#faf6e5; }
.topnb.active { background-color:rgba(255,255,255,0.9); }
.topnb .logo { position: absolute; z-index:5; padding:10px 0px; left:25px; }
.topnb .logo img { height:80px; width:auto; }
.topnb .navbar { padding:0px; }
.topnb .nb { width:100%; }
.topnb .nb #navbarMenu { justify-content: space-between; }
.topnb .submenu .subt a { display: inline-block; position:relative; padding:38px 0px; margin-right:30px; color:#262626; }
.topnb .submenu .dp_menu { display: none; background-color:#fff; }
.topnb .submenu .dp_menu ul { list-style-type: none; padding:0px; }
/* .topnb .submenu .dp_menu .items li { display: inline-block; padding:0px 15px; } */
.topnb .submenu .dp_menu .items li a { color:#474747; display: block; border-bottom:1px solid #e2e2e2; text-align:left; padding:10px 3px; }
.topnb .submenu .dp_menu .items li a .icon { float:right; font-size:0.875rem; padding:2px 0px; }
.topnb .submenu .subt .bd { display:none; background-color:#2a6218; position: absolute; height:4px; }
.topnb .submenu .subt .arrow { position: absolute; }

/* topbtn */
.topnb .topbtn { position: absolute; z-index:5; top:26px; right:20px; }
.topnb .topbtn button { display:inline-block; border:none; border-radius: 0px; background-color:#559c37; color:#fff; height:48px; border-radius: 50px; margin:0px 3px; font-size:0.875rem; }
.topnb .topbtn button.btnph { padding:0px 25px; }
.topnb .topbtn button.btnph .txt { font-size:1rem; }

/* toplan */
.topnb .toplan { display:none; position: absolute; width:100%; top:80px; left:0px; background-color:#fff; transition:all .3s ease; }
.topnb .toplan a { display: block; padding:20px 0px; margin:0px 30px; border-bottom:1px solid #f7f3f0; color:#000; font-size:1.5rem; }

.topnb .mask { position: fixed; width:100%; height:100vh; top:0; left:0; z-index:1; background-color:rgba(0,0,0,0.5); display: none; }

.biglink .add , .biglink .qa { flex:1; padding:65px 0px; font-size:2rem; color:#fff; }
.biglink .add:hover , .biglink .qa:hover { background-color:#f2cb05; }
.biglink .add { background-color:#32751c; }
.biglink .qa { background-color:#2a6218; }

/* footer */
.footer .ftop { padding:60px 0px; background-color:#559c37; }
.footer .fbottom { padding:30px 0px; background-color:#2a241a; }
.footer .area { display: flex; text-align:left; }
.footer .area > div { flex:1; }
.footer .area .name { color:#f2cb05; }
.footer .area .info { padding-top:10px; }
.footer .area .info a { color:#fff; }
.footer .area .info a:hover { border-bottom:1px solid #fff; }

.footer .area .link { text-align: right; }
.footer .area .link a { text-align: center; display: inline-block; width:350px; border:1px solid #fff; padding:20px; color:#fff; }
.footer .area .link a i { padding:4px 0px; }
.footer .area .link a:hover { background-color:#fff; color:#559c37; }
.footer .area .link a:hover i { color:#559c37; }

.footer .fbottom .icon_copy { display:flex; justify-content: space-between; align-items:center; }

.footer .fbottom .icon { display: inline-flex; justify-content: flex-start; flex-wrap: wrap; }
.footer .fbottom .icon a { height:32px; width:18px; color:#fff; font-size:1.125rem; padding:7px 0px; margin-right:20px; }
.footer .fbottom .icon a:hover { color:#98bf0a; border-bottom:none; }
.footer .fbottom .icon .lineImg { background:url("./images/icon_line-a.png") no-repeat center center; background-size:18px; }
.footer .fbottom .icon .lineImg:hover { background:url("./images/icon_line-b.png") no-repeat center center; background-size:18px; }

.footer .fbottom .copy { color:#fff; font-size:0.875rem; }
.footer .fbottom .copy a { color:#fff; }
.footer .fbottom .copy a:hover { color:#98bf0a; }


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

/* sidebar */
.sidebar { position:fixed; right:0px; top:50%;  z-index:2; transition: right 0.3s; transform: translate(0px,-50%); }
.sidebar > div { width:80px; height:80px; }
.sidebar .member { padding:19px 0px; }
.sidebar .icon { font-size:1.5rem; }
.sidebar .member .name { font-size:0.75rem; }
.sidebar .member.line .lineImg { background-size:24px; width:24px; height:24px; }
/* .sidebar > div:hover .num { background-color: #ff9f1c; color:#2d3a3a; } */

.sidebar .totop { padding:28px 0px; }
/* .sidebar .totop:hover { background-color: #ff9f1c; opacity: 0.8; color:#fff; } */
.sidebar .member .bd { width:20px; border-bottom:1px solid #d1d1d1; position: absolute; top:80px; left:30px; }

.sidebar , .bottombar > button { color:#559c37; background-color: #fff; opacity: 0.9; }
.sidebar > div:hover , .bottombar > button:hover { background-color: #98bf0a; cursor: pointer; color:#fff; }

/* .sidebar > div:hover .num , .bottombar > button:hover .num { background-color: #ff4500; color:#fff; } */
.sidebar .totop , .bottombar .totop { background-color:#f2d157; color:#fff; opacity: 0.8; }
.sidebar .totop:hover , .bottombar .totop:hover { background-color:#98bf0a; color:#fff; }
.sidebar .icon .lineImg , .bottombar .icon .lineImg { margin:0px auto; background:url("./images/icon_line-c.png")no-repeat center center; }
.sidebar .member.line:hover .lineImg { background:url("./images/icon_line-a.png")no-repeat center center; background-size:24px; }
.bottombar .line:hover .lineImg { background:url("./images/icon_line-a.png")no-repeat center center; background-size:16px; }

/* bottombar */
.ctlbar { transition: bottom .3s; }
.bottombar { position:fixed; bottom:0px; width:100%; display:flex; z-index:2; }
.bottombar > button { flex:1; padding:12px 0px 4px 0px; border:none; }
.bottombar .name { padding-top:2px; font-size:0.8rem; }
.bottombar .icon { font-size:1rem; }
.bottombar .totop { padding:21px 0; }
.bottombar .icon .lineImg { background-size:16px; width:16px; height:16px; }
/* .bottombar > button:hover .num { background-color:#ec4067; } */

/* modal */
.clickable { cursor: pointer; }
#searchModal .close , #loginModal .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:#2a6218; width:30px; text-align: right; border:none; background-color:transparent; padding:0px; }
#searchModal .modal-body .fa-search:hover  { color:#98bf0a; }


::-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 .nb { padding-right:350px; }

    .topnb .submenu .dp_menu { position: absolute; left:0px; right:0px; padding:60px 0px; }
    .topnb .submenu .dp_menu .items li { display: inline-block; }
    .topnb .submenu .dp_menu .items li a { display:block; margin:10px 0px; }
    .topnb .submenu .subt .arrow { width:10px; height:16px; left:50%; bottom:10px; transform: translate(-50%); font-size:0.875rem; }
    .topnb .submenu .subt .bd { bottom:0px; left:0; right:0; }
    /* topnb hover */
    .topnb .submenu .dp_menu .items li a:hover { color:#bf7e04; border-bottom:1px solid #98bf0a; }
    .topnb .submenu:hover .dp_menu, .topnb .submenu:hover .bd { display: block; }
    .topnb .submenu:hover .subt a { color:#98bf0a; }
    .topnb .topbtn button { padding:0px 17px; }
    .topnb .topbtn button:hover { background-color:#98bf0a; }

}

@media (max-width:1199.98px){
    .mtop { height:80px; }

    .sidebar { display: none; }
    /* .topnb #colBtn { background-color:#906d54; color:#fff; } */
    .topnb #colBtn.active { background-color:#2a6218; }
    
    .topnb { height:80px; border-bottom: none; }
    .topnb .logo img { height:60px; }
    .topnb .topbtn { top:10px; right:10px; }
    .topnb .topbtn button { height:60px; width:60px; font-size: 1.5rem; }

    .topnb .navbar { position: absolute; width:calc(100% - 80px); left:-100%; height:100vh; background-color:#faf6e5; z-index:5; transition:left .3s ease; }
    .topnb .nb #navbarMenu { display: block; width:100%; overflow:auto; }
    .topnb .nb #navbarMenu .navbar-nav { height:100vh; text-align:left; }

    .topnb .submenu .dp_menu .container { max-width:100%; }
    .topnb .submenu .dp_menu .items li { padding:20px 0px; padding-left:80px; padding-right:35px; }
    .topnb .submenu .dp_menu .items li:not(:last-child) { border-bottom:1px solid #e2e2e2; }
    .topnb .submenu .dp_menu .items li a { font-size:1.5rem; position: relative; color:#474747; padding:0px; border-bottom:none; }
    .topnb .submenu .dp_menu .items li a .icon { padding:11px 0px; color:#919191; }

    .topnb .submenu .subt { padding:20px 60px; border-bottom:1px solid #fff; position: relative; }
    .topnb .submenu .subt a { font-size:1.5rem; padding:0px; margin:0px; position:static; }
    .topnb .submenu .subt .arrow { width:15px; right:30px; top:30px; }
    .topnb .submenu .subt .bd { width:96px; bottom:-1px; }

}

@media (min-width:992px) and (max-width:1199.98px){
    
}

@media (min-width:768px) and (max-width:991.98px){
    .footer .area .link a { width:200px; }

    .biglink .add , .biglink .qa { padding:40px 0px; }
}

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

@media (max-width:767.98px){
    .mtop { height:60px; }

    .topnb { height:60px; }
    .topnb .logo { left:20px; }
    .topnb .logo img { height:40px; }
    

    .topnb .navbar { width:calc(100% - 60px); }
    .topnb .submenu .subt { padding:15px 30px; }
    .topnb .submenu .subt a { font-size:1.25rem; }
    .topnb .submenu .subt .arrow { right:20px; top:23px; }
    .topnb .submenu .subt .bd { width:64px; bottom:-1px; }
    
    .topnb .submenu .dp_menu .items li { padding:15px 0px; padding-left:40px; padding-right:25px; }
    .topnb .submenu .dp_menu .items li a { font-size:1.25rem; }
    .topnb .submenu .dp_menu .items li a .icon { padding:7px 0px; }

    .topnb .topbtn button { width:40px; height:40px; font-size:1rem; }

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

    .footer .fbottom .icon_copy { display: block; }
    .footer .fbottom .icon_copy .copy { padding-top:15px; }

    .footer .fbottom .design { display:block; padding-top:15px; }
}
