/* ---------------------------------------------

    reset

--------------------------------------------- */

html{
    font-size: 16px;
}

body{
    color: #323232;
    font-size: 100%;
    line-height: 20px;
    font-family: Helvetica, Sans-Serif, Arial,"微軟正黑體","蘋果儷中黑","儷黑 Pro","新細明體";
    margin: 0;
    padding: 0;
}

a, a:hover, a:focus{
    color: #313131;
    text-decoration: none;
}

h1,h2,h3,h4,h5{
    margin: 0;
}

.container{
    padding-left: 0;
    padding-right: 0;
}

/* ---------------------------------------------

    主框架

--------------------------------------------- */

.wrap_contain{
    position: relative;
    padding-top: 15px;
    background-color: #f6f6f6;
    /*-webkit-box-shadow:inset 0 3px 3px 0px rgba(190,190,190,0.2);
            box-shadow:inset 0 3px 3px 0px rgba(190,190,190,0.2);*/
}

.wrap_header,
.wrap_footer{
    position: relative;
    border-top: 3px solid #006bbd;
}

.wrap_header .color-border,
.wrap_footer .color-border{
    height: 3px;
    width: 211px;
    background-image: url(images/color.jpg);
    background-repeat: no-repeat;
    position: absolute;
    top: -3px;
    z-index: 200;
}

.wrap_contain.fixed{
    position: fixed;
    overflow: hidden;
    z-index: 2;
}

.wrap_footer.fixed{
    position: absolute;
    overflow: hidden;
    z-index: 1;
}

/* ---------------------------------------------

    頂端區

--------------------------------------------- */

.wrap_header .logo{
    margin-top: 1.345em;
    margin-bottom: 1.343em;
    padding-left: 0;
}

.wrap_header .logo a{
    display: block;
    color: #2d3e4e;
}

.wrap_header .link{
    font-size: 14px;
    margin-top: 45px;
    padding-right: 0;
}

.wrap_header .link a:first-child:after{
    content: " / ";
    cursor: default;
}

.fa-life-ring:before{
    font-size: 14px;
}

/* ---------------------------------------------

    主選單

--------------------------------------------- */

.wrap_menu{
    margin-top: 15px;
    background-color: #f7f7f7;
}

.wrap_menu .container{
    border-top: 1px solid #d6d6d6;
    border-bottom: 1px solid #d6d6d6;
}

.wrap_menu a{
    font-weight: bold;
}

.wrap_menu .list,
.wrap_menu .list ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

.wrap_menu .list ul{
    display: none;
}

.wrap_menu .list > li{
    background-color: #f7f7f7;
    border-right: 1px solid #d6d6d6;
    position: relative;
}

.wrap_menu .list > li:first-child{
    border-left: 1px solid #d6d6d6;
}

.wrap_menu .list a{
    display: block;
    text-align: center;
    padding: 14px 0;
}

.wrap_menu .list li > ul{
    display: none;
    background-color: #f8f8f8;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border: 1px solid #dcdcdc;
    box-shadow: 0 2px 1px 2px rgba(190, 190, 190, 0.1);
    position: absolute;
    left: -1px;
    right: -1px;
    z-index: 199;

    -webkit-box-shadow:inset 0 3px 3px 0px rgba(190,190,190,0.2);
            box-shadow:inset 0 3px 3px 0px rgba(190,190,190,0.2);

}

.wrap_menu .list > li.active ul{
    display: block;
}

.wrap_menu .list > li:hover{
    background-color: #0093e5;
}

.wrap_menu .list > li:hover ul li:hover{
    background-color: #333333;
}

.wrap_menu .list > li:hover > a{
    color: #fff;
    text-shadow: 0 1px rgba(0,0,0,0.2);
}

.wrap_menu .list > li:hover ul li:hover > a{
    color: #fff;
    border-top-color: #333;
    border-bottom-color: #333;
}

.wrap_menu .list ul a{
    margin: 0 15px;
    font-size: 14px;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #e2e2e2;
}

.wrap_menu .list ul li:first-child a{
    border-top: none;
}

.wrap_menu .list ul li:last-child a{
    border-bottom: none;
}


/* ---------------------------------------------

    廣告連結區 ad tags

--------------------------------------------- */

.wrap_tags{
    text-align: center;
    /*border: 1px solid #d6d6d6;
    box-shadow: 0 0 1px 2px rgba(190, 190, 190, 0.1);*/
    padding: 10px;
}

.wrap_tags a{
    text-decoration: underline;
}

/* ---------------------------------------------

    中央BANNER區

--------------------------------------------- */

.wrap_contain .banner{
    margin-top: 5px;
    margin-bottom: 24px;
}

/* ---------------------------------------------

    中央麵包屑區

--------------------------------------------- */

.wrap_contain .path{
    color: #4f4f4f;
    font-size: 13px;
    margin-bottom: 24px;
}

/* ---------------------------------------------

    中央區 : 左右欄

--------------------------------------------- */

.wrap_contain .container{
    position: relative;
    padding-bottom: 55px;
}

.wrap_contain .panel-left{
    background-color: #fff;
    border: 1px solid #d3d3d3;
    border-radius: 2px;
    /* max-width: 750px; */
    padding: 0;
}

.wrap_contain .panel-right{
    max-width: 362px;
    margin-left: 28px;
    padding: 0;
	display: none;
}

/* ---------------------------------------------

    中央區 : 返回頂端鈕

--------------------------------------------- */

#toper{
    position: absolute;
    right: 0;
    bottom: -3px;
}

/* ---------------------------------------------

    中央左欄區 : 頁籤

--------------------------------------------- */

.panel-left .tabs{
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #f5f5f5;
    border-bottom: 1px solid #d3d3d3;
}

.panel-left .tabs:after{
    clear: both;
    display: table;
    content: " ";
}

.panel-left .tabs li{
    text-align: center;
    background-color: #f5f5f5;
    border-right: 1px solid #d3d3d3;
    padding-left: 0;
    padding-right: 0;
    cursor: pointer;
}

.panel-left .tabs li span{
    display: block;
    font-size: 0.9375em;
    font-weight: bold;
    line-height: 15px;
    padding: 11px 2px;
}

.panel-left .tabs li:nth-child(4){
    border-right: none;
}

.panel-left .tabs li.active{
    color: #005690;
    background-color: #fff;
    border-bottom-color: #fff;
}

/*下降1px壓線,行距少1px,避免文字位移*/
.panel-left .tabs li.active span{
    border-bottom: 1px solid #fff;
    line-height: 14px;
    position: relative;
    top: 1px;
}

/* ---------------------------------------------

    中央左欄區 : 本文

--------------------------------------------- */

.article:before{
    clear: both;
}

.article{
    line-height: 1.6em;
    padding: 2em;
}

.article .block{
    display: none;
}

.article .block.active{
    display: block;
}

 .article a:hover{
    text-decoration: underline;
} 

.article a.tel:hover{
    text-decoration: underline;
    cursor: default;
}


.article img{
    display: block;
    margin-left: auto;
    margin-right: auto; 
    max-width: 100%;
    height: auto;
}

.article .LOGOimg{
    display: block;
    margin-left: 0;    
    max-width: 100%;
    height: auto;
}


.article h2{
    font-size: 1.1875em;
    color: #0067b0;
    line-height: 20px;
    border-left: 4px solid #0067b0;
    padding-left: 11px;
    margin: 0 0 15px;
}

.article p{
    margin-bottom: 20px;
}

.article ul{
    margin: 0;
    padding: 0 0 0 1.2em;
}

.article .color{
    color: #0067b0;
}

.article .question{
    color: #0067b0;
    font-weight: 500;
    margin-bottom: 5px;
}

.article .table thead td,
.article .table thead th{
    background-color: #fafafa;
    border-bottom: none;
}

.article .table.noborder td{
    border-color: #fff;
}

.article .table.contract tr:nth-child(even){
    background-color: #fafafa;
}

.article .table.contract td{
    padding: 8px 4px;
}

/* ---------------------------------------------

    中央右欄區 : 新聞

--------------------------------------------- */

#news{
    padding: 20px 30px;
    background-color: #ffffff;
    border: 1px solid #d3d3d3;
    border-radius: 2px;
    margin-bottom: 30px;
    line-height: 1.5em;
    font-size: 0.9375em;
}

#news .tit{
    margin-bottom: 22px;
}

#news .txt .desc strong{
    color: #015293;
    font-size: 18px;
}

#news .txt .desc a{
    color: #015293;
    font-size: 15px;
}

#news .txt .list a{
    color: #015293;
    font-size: 15px;
    font-weight: bold;
}

#news .txt .list p{
    padding-bottom: 10px;
    border-bottom: 1px dotted #d5d5d5;
}

#news .txt .list p:first-child{
    padding-top: 10px;
    border-top: 1px dotted #d5d5d5;
}

#news a.url{
    color: #737373;
    display: block;
    padding: 10px 0;
    margin-top: 15px;
    text-align: center;
    background-color: #f6f6f6;
}

/* ---------------------------------------------

    中央右欄區 : 氣象

--------------------------------------------- */

#weather{
    height: 168px;
    padding: 20px 30px;
    background-color: #ffffff;
    border: 1px solid #d3d3d3;
    border-radius: 2px;
    margin-bottom: 30px;
    position: relative;
}

#weather .tit{
    margin-bottom: 22px;
}

#weather .txt .city{
    height: 70px;
}

#weather .txt .city strong{
    color: #015293;
}

#weather .txt .city div{
    margin-bottom: 4px;
    font-size: 15px;
}

/* ---------------------------------------------

    中央右欄區 : 廣告

--------------------------------------------- */

.commercial{
    padding: 23px 28px 20px;
    background-color: #ffffff;
    border: 1px solid #d3d3d3;
    border-radius: 2px;
    margin-bottom: 30px;
}

/*fixed IE scrollbar*/
.commercial iframe{
    overflow: hidden;
    width: 320px;
    height: 260px;
}

/* ---------------------------------------------

    底部宣告區

--------------------------------------------- */

.wrap_footer .container{
    min-height: 90px;
    padding: 30px 0 30px;
    position: relative;
}

.wrap_footer,
.wrap_footer a{
    font-size: 13px;
    font-weight: bold;
}

.wrap_footer .contact{
    display: inline-block;
    font-weight: bold;
    padding: 10px 12px 10px 55px;
    background-image: url(images/icon-phone.png);
    background-repeat: no-repeat;
    background-position: 10px center;
    border: 1px solid #bebebe;
    border-radius: 5px;
    position: absolute;
    top: 10px;
    right: 0;
}

.wrap_footer .logo{
    position: absolute;
    top: 24px;
}

.wrap_footer .contact span{
    display: block;
}

.wrap_footer .contact a{
    color: #015293;
    font-size: 18px;
}

.wrap_footer .contact a:first-child:after{
    content: "  ";
    cursor: default;
}

.wrap_footer .address{
    padding-bottom: 1em;
    position: absolute;
    left: 270px;
}

/* ---------------------------------------------

    自適應微調

--------------------------------------------- */

/*
    desktop
    tablet landscape

*/

@media (min-width: 992px){

    .article{
        min-height: 914px;
    }

}


@media (min-width: 1200px){

    .container{
        width: 1140px;
    }

    .article{
        min-height: 902px;
    }

    .article.notabs{
        min-height: 940px;
    }

}


@media (max-width: 1199px){

    .commercial{
        padding: 11px 11px 9px;
    }

    .wrap_contain .panel-left{
        width: 63.57%;
    }

    .wrap_footer .address{
        position: absolute;
        left: 190px;
    }

}


/*
    mobile
    tablet portrait

*/
@media (max-width: 992px){

    /*overlayer*/

    .wrap_overlay{
        background: url(images/overlay-black.png);
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 199;
        display: none;
    }

    .wrap_overlay.open{
        display: block;
    }

    .wrap_overlay i.close{
        display: block;
        width: 40px;
        height: 40px;
        background-image: url(images/icon-close-circle-white.svg);
        background-size: cover;
        position: absolute;
        opacity: 1;
        right: 15px;
        top: 15px;
    }

    /*header*/

    .wrap_header{
        height: 50px;
        overflow: hidden;
        background-color: #fff;
        border-bottom: 1px solid #ddd;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 198;

        border-top: none;
        padding-top: 3px;
        background-image: url(images/color.jpg);
        background-repeat: no-repeat;
    }

    .wrap_header .container{
        width: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .wrap_header .button{
        display: block;
        font-size: 24px;
        position: absolute;
        padding: 11px 12px;
        border-right: 1px solid #ddd;
    }

    .wrap_header .link{
        margin: 0;
        padding-left: 0;
        position: absolute;
        right: 15px;
        top: 14px;
    }

    .wrap_header .link a{
        font-size: 14px;
    }

    .wrap_header .logo{
        margin: 0;
        position: absolute;
        left: 47px;
    }

    .wrap_header .logo a{
        height: 50px;
        padding: 4px 10px 0;
    }

    .wrap_header .logo img{
        max-height: 38px;
    }

    .wrap_header .color-border{
        position: fixed;
        top: 0;
        z-index: 1000;
    }


    /*menu*/

    .wrap_menu{
        margin: 0;
        max-width: 40%;
        background-color: #fff;
        border-right: 1px solid #bfc3c6;
        overflow-y: auto;
        position: fixed;
        left: -41%;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 200;

        -webkit-transition: left 0.2s ease-in-out;
           -moz-transition: left 0.2s ease-in-out;
             -o-transition: left 0.2s ease-in-out;
            -ms-transition: left 0.2s ease-in-out;
                transition: left 0.2s ease-in-out;
    }

    .wrap_menu.open{
        left: 0;
    }

    .wrap_menu a{
        font-size: 100%;
    }

    .wrap_menu .container,
    .wrap_menu .list li{
        width: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .wrap_menu .logo{
        padding: 26px 15px;
    }

    .wrap_menu .logo .img-responsive{
        margin: 0 auto;
    }

    .wrap_menu .list > li{
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .wrap_menu .list > li:first-child{
        border-left: none;
        border-top: 1px solid #e0e0e0;
    }

    .wrap_menu .list > li.has-sub > a{
        background-image: url(images/icon-arrow-down-gray.svg);
        background-repeat: no-repeat;
        background-size: 16px 12px;
        background-position: 97% center;
    }

    .wrap_menu .list > li:hover > a,
    .wrap_menu .list > li.has-sub.active > a{
        background-image: url(images/icon-arrow-down-white.svg);
    }

    .wrap_menu .list li > ul{
        position: static;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        background-color: #e5e5e5;
    }

    .wrap_menu .list ul a{
        margin: 0;
    }

    .wrap_menu .list ul li:last-child a{
        border-bottom: none;
    }

    /*contain*/

    .wrap_contain{
        padding-top: 60px;
    }

    .wrap_contain .panel-left{
        width: 100%;
    }

    .article{
        padding: 1em;
    }

    .article a:hover{
        text-decoration: none;
    }

    .article .table thead{
        display: none;
    }

    .article .table td{
        display: block;
        border: none;
    }

    .article .table td:first-child{
        padding-bottom: 0;
    }

    .article .table tr{
        border: 1px solid #ddd;
    }

    .article .table.contract td:first-child{
        font-weight: bold;
    }

    #toper{
        right: 15px;
    }

    /*footer*/

    .wrap_footer .logo{
        top: 16px;
    }

    .wrap_footer .contact{
        right: auto;
        left: 200px;
        display: inline-block;
    }

    .wrap_footer .contact span{
        display: inline;
    }

    .wrap_footer .contact a{
        position: relative;
        top: 2px;
    }

    .wrap_footer .address{
        left: 160px;
        top: 66px;
    }

    .wrap_footer .address a:first-child{
        margin-left: 20px;
    }

}

/*
    tablet portrait

*/

@media (max-width: 768px){

    .container{
        padding-left: 10px;
        padding-right: 10px;
    }

}

/*
    mobile smaller

*/

@media (max-width: 767px){

    .wrap_menu{
        max-width: 50%;
        left: -51%;
    }

    .wrap_footer .container{
        padding-bottom: 20px;
    }

    .wrap_footer .contact{
        position: static;
        display: block;
        max-width: 325px;
        margin: 0 auto 1em;
    }

    .wrap_footer .contact span{
        display: block;
    }

    .wrap_footer .address{
        position: static;
    }

    .wrap_footer .address a:first-child{
        margin-left: 0;
    }

}


@media (max-width: 414px){

    .wrap_header .logo{
        width: 46%;
    }

    .wrap_header .logo a{
        border-right: 1px solid #ddd;
    }

    .wrap_header .link{
        top: 15px;
        right: 10px;
    }

    .wrap_footer .address i:nth-child(1),
    .wrap_footer .address i:nth-child(5){
        display: none;
    }

}

@media (max-width: 410px){

    .wrap_footer .address a{
        display: block;
    }

    .wrap_footer .address i:nth-child(3){
        display: none;
    }

}


@media (max-width: 375px){

    .wrap_header .logo{
        width: 50%;
    }

    .wrap_header .link .fa{
        display: none;
    }

    .wrap_menu{
        max-width: 60%;
        left: -61%;
    }

}


@media (max-width: 320px){

    .wrap_header .logo{
        width: 46%;
    }

    .wrap_header .logo a{
        padding-left: 2px;
        padding-right: 2px;
        padding-top: 7px;
    }

    .wrap_header .link{
        right: 5px;
    }

    .wrap_footer .container{
        padding-left: 10px;
        padding-right: 10px;
    }

    .wrap_footer .contact a{
        font-size: 16px;
    }

    .wrap_footer .address span{
        display: block;
    }

}