body { font-size:16px; text-align: center; font-family: "Arial","微軟正黑體","Microsoft JhengHei"; background: url("./images/bg.gif") repeat center left; }
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; } 

/* topnb */
.topnb { position:fixed; top:0; width:100%; }
.topnb .toparea { height:88px; text-align:left; background-color: #fff; position: relative; z-index:100; }
.topnb .toparea .logo { width:auto; margin:18px 0px; }
.topnb .toparea .btns > div { display: inline-block; }
.topnb .toparea .btns .icon { color:#ababab; padding-right:8px; }
.topnb .toparea .btns .content { color:#093f9b; }
.topnb .toparea .btns .lan { margin-left:45px; }
.topnb .toparea .btns .lan a { text-decoration: none; color:#fff; }
.topnb .toparea .btns .lan li:hover a { color: #0e2d8c;}
.topnb .toparea .btns .lan .content { font-size:0.875rem; }
.topnb .toparea .btns .lan .submenu { display:none; position: absolute; list-style-type: none; padding:0; }
.topnb .toparea .btns .lan img { width:auto; padding-left:5px; }
.topnb .toparea .btns .tel { margin-left:30px; }
.topnb .toparea .btns .tel .loc { color:#ababab; font-size:0.875rem; }
.topnb .toparea .btns .tel .content { font-family: "Helvetica"; font-size:1.1rem; text-decoration: none; }
.topnb .toparea .pattern { float:right; margin:28px 0px; }
.topnb .toparea .pattern i { width:32px; height:32px; background-color:#0e2d8c; border-radius: 25px; color:#fff; font-size:0.8rem; text-align: center; vertical-align: middle; padding:10px 0px; margin-left: 10px; }
.topnb .toparea .pattern i:hover { background-color: #ffe100; color:#0e2d8c; cursor: pointer; }

.topnb .menu { height:60px; background:url("./images/bg_menu.png") no-repeat center center; background-size:cover; }
.topnb .menu .nb { width:100%; display:block; }
.topnb .menu .navbar-nav { width:100%; border-left:1px solid #031f51; border-right:1px solid #256ac4; }
.topnb .menu .nav-item { flex:1; }
.topnb .menu .nav-item .nav-link { padding:16px 0px 17px 0px; color:#fff;  font-size:1.125rem; border-left:1px solid #256ac4; border-right:1px solid #031f51; white-space: nowrap; }
.topnb .menu .nav-item .nav-link a { color:#fff; text-decoration: none; }
.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 .mbtns { position: absolute; top:0px; right:0px; }
.topnb .mbtns button { width:88px; height:88px; font-size:1.5rem; border:none; padding:0px; background-color: transparent; border-radius: 0px; float:left; }
.topnb .mbtns .topbtn { background-color:#093f9b; color:#fff; }
.topnb .mbtns .topbtn.active { background-color:#031f51; }
.topnb .mbtns .mbtn { color:#ababab; width:100px; }

.topnb .menu .navbar .submenu ul {  list-style-type: none; padding:0; }
.topnb .menu .navbar .submenu a { text-decoration: none; color:#fff; }


/* footer */
.footer .fbg { height:80px; background:#093f9b url("./images/bg_foot.jpg") no-repeat center center; color:#fff; font-size:1.1rem; padding:28px 0px; }
.footer .contact { display: flex; padding:40px 15px; }
.footer .contact > div { flex:1; }
.footer .contact .icon { width:40px; height:40px; background-color:#093f9b; border-radius: 25px; color:#fff; text-align: center; vertical-align: middle; padding:12px 0px; }
.footer .contact td { vertical-align: top; text-align: left; }
.footer .contact td .loc,.footer .contact td .num { color:#474747; padding-left:20px; }
.footer .contact td .loc { font-size:0.875rem; }
.footer .contact td .num { font-size:1.5rem; font-family: "Helvetica"; display: block; text-decoration: none; }
.footer .contact .telno td .num:hover { color:#54bdf2; }
.footer .contact td .num1 { padding-bottom:20px; }
.footer .contact .email button { width:100%; border:none; background-color:#093f9b; border-radius: 40px; padding:10px 0px; color:#fff; }
.footer .contact .email button:hover { background-color: #ffe100; color:#093f9b; }
.footer .contact .email div { color:#474747; }

.footer .bottombg { background-color:#474747; }
.footer .bottom { display: flex; padding:40px 15px; }
.footer .bottom > div { flex:1; color:#fff;  }
.footer .bottom > div a { color:#fff; text-decoration: none; }
.footer .bottom .pos { text-align: left; }
.footer .bottom .pos .loc { font-size:1.1rem; margin-bottom:10px; }
.footer .bottom .pos .addr { font-size:0.875rem; margin-bottom:10px; }
.footer .bottom .pos .pic { width:24px; height:24px; color:#474747; background-color:#fff; padding:5px 0px; margin-right:5px; text-align: center; border-radius:50px; font-size:0.875rem; }
.footer .bottom .pos .pic:hover { background-color: #ffe100; color:#093f9b; }
.footer .bottom .doc { text-align: right; font-size:0.875rem; }
.footer .bottom .doc > div { margin-bottom:5px; }
.footer .bottom .doc a { color:#fff; text-decoration: none; }
.footer .bottom .doc a:hover { color:#ffe100; }

/* .footer { background-color:#66493d; font-size:0.875rem; color:#ffffff; padding:20px 0px; }
.footer .content { position: relative; }
.footer .content .design a { color:#ffffff; text-decoration: none; }
.footer .notice { position: absolute; top:0px; right:60px; }
.footer .notice a { color: #ffffff; text-decoration: none; }
.footer .content a:hover { color:#bd9f77; cursor: pointer; } */

/* sidebar */
.sidebar { position:fixed; right:-80px; top:70%; background-color: rgba(255,255,255,0.8); color:#66493d; z-index:2; transition: right 0.3s; }
.sidebar > div { width:60px; height:60px; }
.sidebar > div:hover { background-color: #ffe100; cursor: pointer; color:#0e2d8c; }
/* .sidebar .buycar:hover { color:#66493d; } */
/* .sidebar > div:hover .num { color:#bd9f77; background-color: #ffffff; } */
.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:#ffffff; background-color:#bd9f77; font-size:0.8rem; } */
.sidebar .buycar,.sidebar .totop { padding:18px 0px; }
.sidebar .totop { background-color: #de1f25; opacity: 0.8; color:#ffffff; }

/* 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:8px 0px 6px 0px; border:none; color:#093f9b; background-color: rgba(255,255,255,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:24px; height:24px; line-height:24px; border-radius: 50%; color:#ffffff; background-color:#bd9f77; font-size:1rem; font-weight:normal; } */
.bottombar .totop { background-color:#de1f25; opacity: 0.8; color:#ffffff; padding:21px 0px; }
.bottombar > button:hover { background-color: #ffe100; cursor: pointer; color:#093f9b; }
.bottombar .totop:hover { color:#0e2d8c; }
/* .bottombar .buycar:hover { color:#66493d; } */
/* .bottombar > button:hover .num { color:#bd9f77; background-color:#ffffff; } */

/* modal */
#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:#093f9b; width:30px; text-align: right; border:none; background-color:transparent; padding:0px; }

::-webkit-input-placeholder{ color:#777777; }
/* scrollbar */
.topnb .menu *::-webkit-scrollbar{ display:none; }
.top .topmenu .subject::-webkit-scrollbar { display:none; }


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

    .topnb .toparea .btns .content:hover { color:#54bdf2; cursor: pointer; }
    .topnb .toparea .btns .lan:hover > .submenu { display:block; }
    .topnb .toparea .btns .lan .submenu { background-color: #031f51; color:#fff; z-index:1; text-align:center; }
    .topnb .toparea .btns .lan .submenu li { padding:10px 30px; border-bottom:1px solid #093f9b; }
    .topnb .toparea .btns .lan .submenu li:hover { background-color:#ffe100; color:#1c3993; border-bottom:none; cursor: pointer; }

    .topnb .menu .nav-item .submenu .nav-link { padding:0px; border: none; display: flex; font-size:1rem; justify-content: space-between; }
    .topnb .menu .navbar-nav > .nav-item { position: relative; }
    .topnb .menu .navbar .submenu { text-align:left; background-color: #031f51; color:#fff; }
    
    .topnb .menu .navbar .nav-item .submenu .icon { padding:5px 0px; padding-left:20px; color:rgba(255,255,255,0.4); font-size:0.75rem; }
    .topnb .menu .navbar .nav-item .submenu { display: none; position: absolute; left:0; }
    .topnb .menu .navbar .nav-item .submenu1 { background-color: #031f51; }
    .topnb .menu .navbar .nav-item .submenu2 { left:100%; top:0; background-color:#093f9b; }
    .topnb .menu .navbar .nav-item .submenu3 { left:100%; top:0; background-color:#256ac4; }

    .topnb .menu .navbar .bdb { display: none; position: absolute; left:0; right:0; bottom:0px; height:3px; background-color:#54bdf2; z-index:2; }
    .topnb .menu .navbar .nav-item:hover > .submenu { display: block; }
    .topnb .menu .navbar .marea .nav-item > .submenu { display: block; }
    .topnb .menu .navbar .nav-item:hover > .bdb { display: block; }
    .topnb .menu .navbar .submenu li { min-width:185px; padding:10px 20px; border-bottom:1px solid #093f9b; }

    .topnb .menu .navbar li:hover { cursor: pointer; }
    .topnb .menu .navbar li:hover > .nav-link > a { color:#ffe100; text-decoration: underline; }
    .topnb .menu .navbar .submenu li:hover { background-color:#093f9b; border-bottom:1px solid #093f9b; cursor: pointer; }
    .topnb .menu .navbar .submenu.submenu2 li:hover { background-color:#256ac4; border-bottom:1px solid #256ac4; }
}

@media (max-width:1199.98px){
    .sidebar { display: none; }
    .topnb .menu { background:transparent; height:0; }
    .topnb .toparea .logo { height:40px; margin:24px 0px; position: absolute; left:30px; }
    .topnb .mbtns button { width:88px; height:88px; font-size:1.5rem; }
    .topnb .mbtns .mbtn { width:80px; font-size:1.5rem; }
    .topnb .menu .navbar { position: absolute; width: 100%; left:0; background-color:#031f51; z-index:10; }
    .topnb .menu .navbar .navbar-nav { text-align:left; padding-bottom:40px; overflow-y:auto; height:calc(100vh - 88px); }
    .topnb .menu .navbar .nav-link { padding:30px 0px; font-size:2.5rem; border:none; }
    .topnb .menu .navbar .icon { margin-right:25px; padding:10px 0px; }
    .topnb .menu .navbar .submenu { display: none; }
    .topnb .menu .nav-item { flex:none; }
    .topnb .menu .navbar .nav-item .nav-link { padding:20px 0px; margin:0px 60px; font-size:1.5rem; border-bottom:1px solid #093f9b; display:flex; justify-content: space-between; align-items: center; }
    .topnb .menu .navbar .nav-item .nav-link a:hover { color:#ffe100; }
    .topnb .menu .navbar .nav-item .nav-link.active { border-bottom:none; }
    .topnb .menu .navbar .submenu1 {  background-color:#093f9b; }
    .topnb .menu .navbar .submenu2 { background-color:#256ac4; }
    .topnb .menu .navbar .submenu3 li { padding:0px 20px; }
    
    .topnb .mnav { display:none; position: absolute; background-color:#031f51; width:100%; padding:60px 30px; text-align: left; }
    .topnb .mtel .tel { font-size:1.5rem; background-color: #093f9b; padding:10px 15px; border-radius:40px; }
    .topnb .mtel .tel:first-child { margin-bottom:40px; }
    .topnb .mtel .tel .icon,.topnb .mtel .tel .loc { color:#ffe100; }
    .topnb .mtel .tel .icon { padding-right:10px; }
    .topnb .mtel .tel .content { color:#fff; font-family: "Helvetica"; }

    .topnb .toparea .btns .lan .submenu { display:block; }
    .topnb .toparea .btns .lan .submenu { background-color: #031f51; color:#fff; z-index:1; text-align:center; }
    .topnb .toparea .btns .lan .submenu li { padding:10px 30px; border-bottom:1px solid #093f9b; }
    .topnb .toparea .btns .lan .submenu li:hover { background-color:#ffe100; color:#1c3993; border-bottom:none; cursor: pointer; }

    .topnb .mlan .lan { display: block; color:#fff; padding:15px 0px; font-size:1.5rem; border-bottom: 1px solid #093f9b; text-decoration: none; }
}


@media (min-width:992px) and (max-width:1199.98px){
    /* .topnb .toparea .logo { height:40px; margin:24px 0px; }; */
}

@media (min-width:768px) and (max-width:991.98px){
    /* .topnb .toparea .logo { height:30px; margin:29px 0px; }
    .topnb .toparea .btns .lan,.topnb .toparea .btns .tel { margin-left:10px; }
    .topnb .toparea .btns .icon { font-size:0.875rem; }
    .topnb .toparea .btns .tel .loc { font-size:0.8rem; }
    .topnb .toparea .btns .tel .content { font-size:0.875rem; }
    .topnb .menu .nb .nav-item .nav-link { font-size:0.875rem; padding:19.5px 0px; } */

    .footer .contact td .num { font-size:1.25rem; }
    .footer .contact td .loc,.footer .contact td .num { padding-left:20px; padding-right:20px; }
    .footer .contact .telno,.footer .contact .faxno { flex:3; }
    .footer .contact .email { flex:2; }

    .footer .bottom .pos { padding-right:20px; }
    .footer .bottom .pos .pic { margin-right:3px; }
}

@media (min-width:768px){
    /* .topnb .menu .nb { width:100%; display:block; }
    .topnb .menu .dropdown:hover .dropdown-menu { display:block; }
    .topnb .menu .nav-item ul { padding:0px; }
    .topnb .menu .navbar-nav > .nav-item:hover > .dp_menu { display:block; }
    .topnb .menu .nav-item .dp_menu .dp_menu { white-space: nowrap; left:100%; top:0; }
    .topnb .menu .nav-item .dp_menu li:hover { background-color: #8a7457; }
    .topnb .menu .nav-item:hover { background-color:#342f2f; }
    .topnb .md_top { display:none; } */
    /* .topnb .toparea .btns { position: absolute; top:50%; left:50%; transform:translate(-50%-50%); } */
    

    /* .footer .content .design { display:none; } */
    /* .footer .content .design { text-align: right; margin-right:60px; } */
    
}

@media (max-width:767.98px){

    body { background: url("./images/bg_phone.png") repeat center left; }
    
    .topnb .menu .navbar { position: absolute; width: 100%; left:0; background-color:#031f51; z-index:10; }
    .topnb .menu .navbar .navbar-nav { text-align:left; padding-bottom:80px; overflow-y:auto; height:calc(100vh - 60px); }
    .topnb .menu .navbar .nav-link { padding:30px 0px; font-size:2.5rem; border:none; }
    .topnb .menu .navbar .icon { margin-right:25px; padding:10px 0px; float:right; }
    .topnb .menu .navbar .nav-item .nav-link { padding:20px 0px; margin:0px 60px; font-size:2.5rem; border-bottom:1px solid #093f9b; }
    .topnb .menu .navbar .submenu3 li { padding:0px 20px; }
    

    .topnb .mnav { display:none; position: absolute; background-color:#031f51; width:100%; padding:120px 60px; text-align: left; }
    .topnb .mtel .tel { font-size:2rem; background-color: #093f9b; padding:20px 30px; border-radius:40px; }
    .topnb .mtel .tel:first-child { margin-bottom:40px; }
    .topnb .mtel .tel .icon,.topnb .mtel .tel .loc { color:#ffe100; }
    .topnb .mtel .tel .icon { padding-right:10px; }
    .topnb .mtel .tel .content { color:#fff; font-family: "Helvetica"; }

    .topnb .mlan .lan { display: block; color:#fff; padding:30px 0px; font-size:2rem; border-bottom: 1px solid #093f9b; text-decoration: none; }
    
    .footer .contact, .footer .bottom { display: block; }
    .footer .bottom  div { text-align: center; }

    .topnb .toparea .btns .lan .submenu { display:block; }
    .topnb .toparea .btns .lan .submenu { background-color: #031f51; color:#fff; z-index:1; text-align:center; }
    .topnb .toparea .btns .lan .submenu li { padding:10px 30px; border-bottom:1px solid #093f9b; }
    .topnb .toparea .btns .lan .submenu li:hover { background-color:#ffe100; color:#1c3993; border-bottom:none; cursor: pointer; }

    
}

/* @media (max-width:767.98px) and (min-width:576px){
    .topnb .toparea { height: 120px; }
    
    .topnb .toparea .logo { height:50px; margin:35px 0px; }
    .topnb .mbtns button { width:120px; height:120px; font-size:2.5rem; }
    .topnb .mbtns .mbtn { width:100px; font-size:2.5rem; }

    .footer .fbg { font-size:1.5rem; padding:22px 0px; }
    .footer .contact { padding:80px 15px; }
    .footer .contact .icon { width:60px; height:60px; border-radius:40px; font-size:1.5rem; padding:18px 0px; }
    .footer .contact td .loc,.footer .contact td .num { padding-left:30px; }
    .footer .contact td .loc { font-size:1.5rem; }
    .footer .contact td .num { font-size:2.3rem; }
    .footer .contact .telno,.footer .contact .faxno { margin-bottom:60px; }
    .footer .contact .email button { padding:15px 0px; font-size:1.5rem; }
    .footer .bottom .pos .pic { font-size:2.5rem; width:60px; height:60px; font-size:2rem; padding:14px 0px; }

    .footer .bottom .pos,.footer .bottom .doc { margin-top:40px; }
    .footer .bottom .pos .loc { font-size:1.5rem; }
    .footer .bottom .pos .addr { font-size:1.4rem; margin-bottom:20px; }
    .footer .bottom .doc { font-size:1.2rem; }

    .modal .modal-dialog { max-width:540px; }

    .bottombar .totop { padding:28px 0px; }
    .bottombar .icon { font-size:2rem; }
    .bottombar .name { font-size:1rem; }
} */

@media (max-width:767.98px){
    
    .topnb .toparea { height:60px; }
    .topnb .toparea .logo { height:24px; margin:18px 0px; left:8px; }
    .topnb .mbtns button { width:60px; height:60px; font-size:1.2rem; }
    .topnb .mbtns .mbtn { width:60px; }
    .topnb .menu .navbar .navbar-nav { padding-bottom:40px; }
    /* .topnb .menu .navbar .nav-item { margin:0px 30px; } */
    .topnb .menu .navbar .nav-link { padding:20px 0px; font-size:1.25rem; }
    /* .topnb .menu .navbar .submenu li { padding:20px 0px; font-size:1.25rem; } */

    .topnb .menu .navbar .icon { margin-right:10px; padding:4.5px 0px; }
    .topnb .menu .navbar .submenu { display: none; }
    /* .topnb .menu .navbar .submenu li { font-size:2.5rem;  } */
    /* .topnb .menu .navbar .submenu a { color:#ffe100; } */
    .topnb .menu .navbar .nav-item .nav-link { display: block; padding:20px 0px; margin:0px 30px; font-size:1.25rem; border-bottom:1px solid #093f9b;  }
    .topnb .menu .navbar .submenu3 li { padding:0px 20px; }

    
    .topnb .mnav { padding:30px 15px; }
    .topnb .mtel .tel { font-size:1rem; padding:10px 15px; }
    .topnb .mlan .lan { padding:15px 0px; font-size:1rem; }

    .footer .contact .telno,.footer .contact .faxno { margin-bottom:30px; }
    .footer .bottom .pic { font-size:1.5rem;  }
    .footer .bottom .pic:not(.last) { margin-right:10px; }
    .footer .bottom .pos { margin-bottom:40px; }
    /* .footer .bottom .pos,.footer .bottom .doc { margin-top:20px; } */
    /* .footer .bottom .pos .loc { font-size:1.5rem; }
    .footer .bottom .pos .addr { font-size:1.4rem; }
    .footer .bottom .doc { font-size:1.2rem; } */

    .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:-10px; right:-10px; width:18px; height:18px; line-height:18px; font-size:0.7rem; }

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