@charset "utf-8";
/*  ===== 基本覆寫 ===== */
*{font-family:Verdana,微軟正黑體, Microsoft JhengHei, Arial, Helvetica, sans-serif;}
html,body{height:100%; margin:0; padding:0; overflow-x: hidden; font-size: 1.05em;}

/* 覆寫套件 */
/* superfish menu */
.superfishmenu ul a {
    padding: 0.6em 1em;
    text-decoration: none;
    color: #1c1c1c;
    transition: all ease-in-out 0.2s;
}
.superfishmenu  ul  li:hover a,.superfishmenu  ul  li.sfHover a{
    background: #dfdfd9;
    color:#000;
}
.superfishmenu  ul  li  ul  li{
    background: #dfdfdf;
    border-bottom:1px solid #c5c5c5;
}
.superfishmenu  ul  li  ul  li:last-child{border-bottom:0;}

.superfishmenu  ul  li  ul  li a:hover,
.superfishmenu  ul  li  ul  li.sfHover a:hover,
.superfishmenu ul li ul li ul li,
.superfishmenu ul li ul li.sfHover ul li a{


}
.superfishmenu ul li ul li.sfHover ul li a:hover{

}
.superfishmenu > ul li.activemenu {

}

/* BS5 客製 */
.d-flexOchi{display: flex;}
.container-ochi{margin-left: auto; margin-right: auto; }
.w-large-ochi{width: 100%; max-width: 1400px;}
.w-middle-ochi{width: 100%; max-width: 1000px;}
/* 本系統專用 */
#basecontentwrapper{min-height: 100vh;}
#mainheaderwrapper{position: sticky; top: 0; z-index: 999;}
.mainheaderstyle{background: #ffffff;box-shadow: 0px 0px 15px rgba(0,0,0,.1);}
.headerlogo{height: 42px;}
.menubarstyle{background-image: linear-gradient(to bottom, #e9e9e3, #f6f6f0); width: 100%; height: 50px;}
#mainfooter{position: sticky; bottom:0; z-index:995;padding: 5px 0; font-size: 0.9rem;background: #5c4a3c;}
.backtotop{background: rgba(0,0,0,0.2); padding: 4px 5px 4px 10px; color: rgba(255,255,255,0.8); border-radius: 20px 0 0 20px;transition: all ease-in-out 0.2s;}
.backtotop:hover{background: rgba(0,0,0,0.4);color: rgba(255,255,255,1);}
.filetitle{border-bottom:2px solid #96c66c; padding-bottom:5px;  display:inline-block; margin-bottom:-6px;}
.filetitlewrapper{border-bottom:1px solid #bababa; padding:5px 0;}
.filetitlewrapper .itemright{float: right; padding-top: 15px;}
.filetitlewrapper .btnright{float: right; padding-top: 5px;}
.headingStyA{position: relative; padding-left: 10px;}
.headingStyA:after{
    background-image: linear-gradient(to right top, #1855de, #007af1, #0099fb, #00b7fe, #53d2ff);
    position: absolute;
    content: "";
    left: 0;
    top: 6px;
    bottom: 4px;
    width: 5px;
    border-radius: 5px;
}
.headingStyA .ico{font-size: 0.9rem;}
td.clearpadding{padding:0;}
.overhA{max-height: 400px; overflow-y: auto;}
textarea.limittextarea ~ span{
    display: block;
    font-size: small;
}
.stickytablefix{border-collapse: separate; border-spacing: 0;}
/*  ===== RWD處理:系統自訂 ===== */
/* 小於576px的螢幕:手機直 */
@media (max-width: 767px) {
    .stickytableheader{top:140px;}
    .indexbtnt1{padding-top: 0px;}
    .indexbtnt2{padding-top: 0px;}
}
/* 介於768~992px的螢幕:平板橫 */
@media (min-width: 768px) {
    .stickytableheader{top:140px;}
}
/* 大於992px的螢幕 */
@media (min-width: 992px) {
    .stickytableheader{top:110px;}
    .indexbtnt1{padding-top: 80px;}
    .indexbtnt2{padding-top: 160px;}
}
@media (min-width: 1400px) {
}

/* index */
.indexbg{background: url("../images/indexbg.jpg") repeat-x center top #fbfbf5;}
.indexhow{background: url("../images/tmpindexhow.jpg") repeat-x center top; min-height: 450px;}
.indexfooter{background: url("../images/tmpfooter.jpg") repeat-x center top; min-height: 750px;}


/* 內容字級調整 */
.ContentFontLarge{font-size:120%;}
.ContentFontNormal{font-size:105%;}
.ContentFontSmall{font-size:80%;}
#adjustfontsize a{border:1px dashed; padding:2px 4px; border-radius:2px; display:inline-block; margin-right:5px;}
#adjustfontsize a:hover{border:1px solid;}
#adjustfontsize a.actived{border:1px solid #000; color:#000;}
#jumptocontent{color:rgba(0, 0, 0, 0); position: absolute;}
#jumptocontent:focus{border:1px solid #09F;color:rgba(0, 0, 0, 1);}
a:focus{display: inline-block;}
a:hover{background: #fffcba;}
.noJSalert{background: #ffffde; border-bottom: 1px solid #d0d1a2; padding: 5px; color: #606053;}
.sr-only {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}
.mxhA{max-height: 250px;}
.tdtriangle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 15px 0 0;
    border-color: #078381 transparent transparent transparent;
}
.tdtriangle{position: relative;}
.tree ul {
    margin-left: 20px;
}

.tree li {
    list-style-type: none;
    margin: 10px;
    position: relative;
}

.tree li::before {
    content: "";
    position: absolute;
    top: -7px;
    left: -20px;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-radius: 0 0 0 0px;
    width: 20px;
    height: 15px;
}

.tree li::after {
    position: absolute;
    content: "";
    top: 8px;
    left: -20px;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-radius: 0px 0 0 0;
    width: 20px;
    height: 100%;
}

.tree li:last-child::after {
    display: none;
}

.tree li:last-child:before {
    border-radius: 0 0 0 5px;
}

ul.tree > li:first-child::before {
    display: none;
}

ul.tree > li:first-child::after {
    border-radius: 5px 0 0 0;
}

.tree li a {
    border: 1px #ccc solid;
    border-radius: 5px;
    padding: 2px 5px;
    color: #fff;
}

.tree li a:hover, .tree li a:hover + ul li a,
.tree li a:focus, .tree li a:focus + ul li a {
    background: #ccc;
    color: #000;
    border: 1px solid #000;
}

.tree li a:hover + ul li::after, .tree li a:focus + ul li::after,
.tree li a:hover + ul li::before, .tree li a:focus + ul li::before
.tree li a:hover + ul::before, .tree li a:focus + ul::before
.tree li a:hover + ul ul::before, .tree li a:focus + ul ul::before {
    border-color: #000; /*connector color on hover*/
}



