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

/* mh 共用高度 */
.mh2 { height:24px; }

/* topnb */
.topnb { position:fixed; top:0; width:100%; z-index:100; background-color: #261e1b; }

.topnb .logo img { float:left; width:auto; margin:14px 0px; }
.topnb .menu { position: relative; z-index:5; }
.topnb .menu .navbar { position: absolute; right:100px; }
.topnb .menu .nav-item { padding:32px 0px; padding-right:30px; }
.topnb .menu .nav-item .nav-link { color:#f2dbcc; padding:0; }
.topnb .menu .nav-item .nav-link:hover { color:#ff9a94; }
.topnb .topbtn { float:right; }
.topnb .topbtn button { border:none; background:transparent; color:#f2dbcc; width:50px; padding:36px 0px; }
.topnb .topbtn button:hover { color:#ff9a94; }
.topnb .topbtn .barbtn.active { background-color:#3b2c20; }

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


.information { background: url("./images/img_infbg.png") repeat-x center bottom; padding:40px 0px; }
.information .container { display: flex; }
.information .container > div { flex:1; }
.information .label { color:#e09c5b; font-size:0.875rem; }
.information .value { color:#000; }
.information .value a { color:#000; }
.information .link .label { padding-bottom:6px; }
.information .link .fg { padding-right:20px; }
.information .intro .gm a { color:#20645b; font-size:0.875rem; text-decoration: none; border-bottom:1px solid #20645b; }
.information .intro .gm a:hover { color:#ff9a94; border-bottom:1px solid #ff9a94; }
.information .intro .date { color:#919191; font-size:0.875rem; }
.information .container .link { order: 2; }

/* footer */
.footer { background-color:#e7d8c9; color:#474747; padding:20px 0px; width:100%; }
.footer .cont { display:flex; font-size:0.875rem; }
.footer .cont > div { flex:1; }
.footer .cont a { color:#474747; text-decoration: none; }
.footer .cont .notice { text-align: left; }
.footer .cont .notice a:hover { border-bottom:1px solid #474747; }
.footer .cont .design { text-align: right; }
.footer .cont .design a:hover { border-bottom:1px solid #474747; }

.fill { background-color: #e7d8c9; }


/* sidebar */
.totop { position: fixed; right: 2rem; bottom: 4rem; z-index: 1; background: url("./images/img_top.png") no-repeat center center; background-size:cover; height:64px; width:64px; }
.totop:hover { background: url("./images/img_topb.png") no-repeat center center; background-size:cover; }


/* 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:992px) and (max-width:1199.98px){
    /* .topnb .toparea .logo { height:40px; margin:24px 0px; } */
    .information .value { padding-right:20px; }
}

@media (max-width:1199.98px){
    .topnb .container { max-width: 100%; padding:0px; }
    .topnb .logo img { padding-left:20px; }
    /* .topnb .menu { border-radius: 0px; padding:25px 0px; padding-left:15px; overflow: visible; } */
    .topnb .menu .navbar { position: absolute; width:calc(100% - 80px); height:100vh; overflow-y:auto; top:0; left:0; right:0; left:-100%; background-color:#f2dbcc; transition:left 0.3s; align-items: flex-start; }
    .topnb .menu .nb { width:100%; }
    .topnb .menu .navbar .submenu { padding:30px 60px; border-bottom:1px solid #fff; }
    .topnb .menu .nav-item { text-align: center; font-size:1.25rem; padding:0px; }
    .topnb .menu .nav-item .nav-link { color:#261e1b; padding:20px; border-bottom:1px solid #fff3ea; }

    .topnb .topbtn button { width:80px; }

}

@media (max-width:991.98px){
    .information .container > div.intro { flex:none; }
}

@media (min-width:768px) and (max-width:991.98px){
    .topnb .topbtn button { font-size:1.5rem; padding:32px 0px; }
    .topnb .menu .nav-item .nav-link { font-size:1.5rem; padding:30px; }

    .information .container { flex-wrap: wrap; }
    .information .container .link { order: 0; flex:50%; }

    .footer .contact td .num { font-size:1.3rem; }
    .footer .bottom .pos .pic { margin-right:3px; }
}

@media (min-width:768px){

}

@media (max-width:767.98px){
    
    .topnb .logo img { height:40px; margin:10px 0px; padding-left:10px; }
    .topnb .topbtn button { width:40px; font-size:1rem; padding:22px 0px; }
    .topnb .menu .navbar { width:calc(100% - 40px); }

    .information .container { display: block; }
    .information .link .fg { padding-right:0px; }
    /* footer */
    .footer .cont { display:block; }
    .footer .cont .design { text-align: center; }

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

    

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

    .totop { right: 1rem; height:40px; width:40px; }
}