*{
    font-family: "微軟正黑體";
}
:root {
    --maincolor--: #1E7B82;
    --p-grey--:#CAD1D0  ;
    --p-green--:#22A290;
    --p-orange--:#D87620;
    --p-red--:#D14F4F;
}
html{ height:100%; }
body{
    position:relative;
    min-height:100vh;
    font-size:1.2em;
    display: flex;
    flex-direction: column;
}
.max-1400{
    max-width: 1400px !important;
}
.fs14{
    font-size:1.4em;
}
a{
   color:#2270c5; 
}
.green{
    color:var(--p-green--) !important;
}
.orange {
    color: #ffbe00;
}
.red{
    color:var(--p-red--) !important;
}
.green:hover,.orange:hover,.red:hover{
    filter: brightness(90%);
}
header{
    position: sticky;
    z-index: 1044;
    top: 0;
}

.form-group{
    margin-bottom:0.5rem;
}
.form-group label{
    text-align: right;
    padding-right: 0;
}
.custom-hover-bg:hover{
    background-color: #f1f1f1;
}

/*** nav  ***/
nav .navbar-brand {
    color: #456473 !important
}
nav .navbar-collapse ul:nth-child(1){
    font-size: 1.15em;
    font-weight: bold;
}
nav .navbar-collapse ul:nth-child(1) li a{
    color:#333;
}
nav .navbar-collapse ul:nth-child(1) li a:hover{
    color:#1E7B82;
}
nav .navbar-collapse ul:nth-child(2){
    font-size:1em;
}
nav .navbar-brand{
    color:var(--maincolor--);
    line-height: 1.2;
    
}
nav .navbar-brand h1{
    font-size:1.1em !important;
    margin-bottom: 0;
}
nav .navbar-brand img{
    height:2.2em;
}
nav .navbar-nav li a i{
    color:var(--maincolor--);
}

/*** content ***/
.step_title{
    background-color: #DEE8EF;
    color: #1F56A2;
    margin:auto;
    min-width: 800px;
}
.step_box_wraper{
    background-color: #fff;
    min-width: 800px;
    transition: .5s all;
}
.step_box_wraper:hover{
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}
.step_box_wraper .step_box_header img{
    height:50px;
}
.step_box_wraper .step_box_header .step_box_header_title{
    color:#164458;
    font-size:1.35em;
    word-break: keep-all;
}
.step_box_wraper .step_box_header .step_box_header_number{
    font-size:1.5em;
    color: #636363;
}
.step_box_wraper .step_box_body .step_box_body_number,.step_box_wraper .step_box_body .step_box_body_title{
    color:#3A495B;
}
.step_box_header_number,.step_box_body_number{
    font-family: Arial, Helvetica, sans-serif;
}
.step_box_body .green.off, .step_box_body .orange.off, .step_box_body .red.off{
    visibility: hidden;
}
.step_box_body a i::before{
    transition: .25s all;
}
.step_box_body a:hover i::before{
    transform: scale(1.2);
}
.advice{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    
}
.advice span{
    line-height: 1.2;
    font-size:0.9em;
    font-weight: bold;
    color:var(--p-red--);
}
.nav-pills .nav-link{
    color:#665D5D;
    background: #ECECEC;
    margin:0.2rem;
    height: 100%;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link{
    color: #fff;
  background-color: var(--maincolor--);
}
.title-bg{
    position: relative;
    padding:60px 0;
}
.title-bg::after{
    position: absolute;
    content: "";
    background-image: url(../img/title-bg.jpg);
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: bottom;
    bottom: 0;
    z-index: 0;
}
.title-bg h3{
    color: #fff;
    position: relative;
    font-size: 1.8em;
    letter-spacing: 4px;
    font-weight: bold;
    z-index: 1;
    background:linear-gradient(90deg,rgba(0, 0, 0, 0) 0%, rgba(49, 60, 79, 0.81) 50%, rgba(0, 0, 0, 0) 100%);
    padding:0.3em 1.6em;
}
.second-title{
    font-size:1.8rem;
    display: inline-flex;
    padding-bottom: 8px;
    border-bottom:2px solid var(--maincolor--);
}
.search-content{
    background-color: #DCE6E8;
    position: relative;
    padding:28px 0 20px;
    border-bottom: 2px solid #9bc1cc;
}

.search-wrap{
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.search-wrap h2{
    position: relative;
    display: inline-block;
    color:#375251;
    font-size: 1.6em;
}
.search-box .input-group input{
    border-top-left-radius: 5em;
  border-bottom-left-radius: 5em;
}
.search-box .input-group button{
    border-top-right-radius: 5em;
    border-bottom-right-radius: 5em;
}
.search-box ul li{
    margin-right: 4px;
    
}
.search-box ul li a{
    font-size: 0.9em;
    display: block;
    padding:6px 20px;
    text-decoration: none;
    background-color: #EFF2F6;
    color:#252525;
    border-radius: 5em;
}
.search-box ul li a i{
    color:#177980;
}
.search-box ul li.active a{
    background-color: #1C6C77 !important;
    color:#fff;
}
.search-box ul li a:hover{
    background-color: #fff;
}
.search-box ul li.active a i{
    color:#fff;
}

.result-content .list-group-item{
    margin-bottom:10px;
    background-color: #f9fafc;
    color:#000;
    border-color: #497A98 !important;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.list-group-item:hover{
    background-color:#e8ebef;
}
.list-group-item.active{
    background-color:#497A98;
    color:#fff;
}
.result-sticky{
    position: sticky;
    top:5.5em;
}
.light-explain{
    font-size: 0.97em;
}

.light-explain.collapse.show,.light-explain.collapsing{
    display: flex;
}

.light-explain-text{
    min-width: 5em;
}
.custom-table-head .main{
    border-top-right-radius: 0 !important;
}
.custom-table-body .main:hover{
    box-shadow: 0 0 12px rgba(0,0,0,0.25) !important;
    border-color:#bdbdbd !important;
}
.custom-table-body .day span:nth-child(1){
    min-width: 3em;
}
.custom-table-body .advice:hover button{
    border-color: #999;
}
footer{
    margin-top:auto;
    padding:16px 8px;
    background-color: #f1f3f5;
    width: 100%;
}
footer .information ul li{
    font-size:0.9em;
}
/** btn-custom**/
.btn-custom {
    color:#fff;
    background-color:#177980;
    border-color:#177980
  }
  .btn-custom:hover {
    color:#fff;
    background-color:#055a57;
    border-color:#0c4c4a
  }
  .btn-custom.focus,
  .btn-custom:focus {
    color:#fff;
    background-color:#055a57;
    border-color:#0c4c4a;
    box-shadow:0 0 0 .2rem rgba(23, 158, 168, 0.5)
  }
  .btn-custom.disabled,
  .btn-custom:disabled {
    color:#fff;
    background-color:#177980;
    border-color:#177980
  }
  .btn-custom:not(:disabled):not(.disabled).active,
  .btn-custom:not(:disabled):not(.disabled):active,
  .show>.btn-custom.dropdown-toggle {
    color:#fff;
    background-color:#0c4c4a;
    border-color:#005cbf
  }
/******* table ********/
.general-wrapper{
    padding:4px 0;
    background-color: #fff;
    position: sticky;
    top:0;
    z-index: 9;
}
.table-overflow-rwd {
    min-width: 1000px;
}
.access_table_statistic{
    font-size: 0.85em;
}
.access_table_statistic thead{
    position: sticky;
    top:var(--nav-height);
}
.access_table_statistic thead tr th{
    background-color: #fff;
    outline: 1px solid #ccc;
}
.access_table_statistic tbody tr:nth-child(even){
    border-bottom:1px solid #aaa;
}
.access_table_statistic tbody tr td{
    padding:.5rem .25rem;
}
.details-layout{
    border-radius:  4px;
    border-top:  2px solid #88a1b7;
}

.details-layout-box{
    height: 100%;
    min-height:100px;
    padding: 12px 8px;
    border-bottom: 1px solid #ccc;
}

.details-layout-box .title{
    letter-spacing: 2px;
    font-size: 0.9em;
    font-weight: bold;
    color: #656c91;
    line-height: 1.2;
}
.details-layout-box .content{
    font-size:1.2em;
}
.details-layout-box .content .add{
    font-size: 0.85em;
    margin:4px 0 8px;
    color: #332d2d;
    line-height: 1.3;
    background-color: #f9ecec94;
    font-weight: bold;
    border-color: var(--p-red--) !important;
    border-radius: 0.2em;
}

.hidden-td{
    padding:0 !important;
}
.q-list{
    counter-reset: q-counter;
    list-style: none;
    font-size: 1.1em;
    margin-bottom:80px;
}
ol.q-list li {
    counter-increment: q-counter;
    position: relative;
    margin-bottom: 0em;
    border-bottom:1px solid #ccc;
  }
ol.q-list li::before {
    font-family: Arial, Helvetica, sans-serif;
    content: "Q" counter(q-counter) ". ";
    font-weight: bold;
    position: absolute;
    left: -2rem;
    top: 1.65rem;
    color: #e0784f;
  }
  ol.q-list li a{
    color: #40485b;
    font-weight: bold;
  }
  .answer > div{
    font-size: 0.9em;
    padding:0px 24px 20px; 
    color: #445066;  
  }
  .Illegal-table tbody tr td:nth-child(1),.Illegal-table thead tr th,.Illegal-table tfoot tr td{
    color: #000;
    background: #f4f7f9;
  }

@media (max-width:1199.98px){

}
@media (max-width:991.98px){
    .title-bg h3{
        font-size:1.4em;
    }
    .result-wrap > div{
        flex-direction: column;
    }
    .left-section,.right-section{
        width: 100% !important;
    }
    .right-section{
        padding:4px !important;
    }
    .step_box_wraper{
        width: 100%;
        min-width: auto;
        padding: 16px 10px !important;
    }
    .step_box_header{
        margin-right:8px !important;
    }
    .step_box_header img{
        display: none;
    }
    .step_title {
        width: 100% !important;
        min-width: auto !important;
    }
    .light-explain-text{
        font-size: 0.8em;
    }
    .light-explain i{
        font-size: 0.8em;
    }
    .light-explain .d-block{
        margin: 0 2px 0 0 !important;
    }
    nav .navbar-collapse ul:nth-child(2){
        flex-direction: row;
    }
    nav .navbar-collapse ul:nth-child(2) li{
        margin-right:8px;
    }
    .nav-pills .nav-link{
        padding: 7px !important;
        flex-direction: column;
    }
    footer .container-fluid > div{
        flex-direction:column-reverse;
        align-items: baseline !important;
        gap: 8px;
    }
}

@media (max-width: 767.98px) { 

    nav .navbar-brand h1{
        font-size: 1em !important;
    }
    nav .navbar-brand img {
        height: 2em;
    }
    .custom-table-head .main,.custom-table-body .main{
        padding: 8px 4px !important;
    }
    .custom-table-head .main div:first-child,.custom-table-body .main div:first-child{
        text-align: center;
        margin-bottom:8px;
    }
    .custom-table-body .day:not(:last-child){
        border-right:1px dashed;
    }
    .search-box ul li a{
        padding: 8px 12px;
    }
    .search-wrap{
        width:88%;
    }
 }
 @media (min-width:992px){

}