﻿
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

hr {
    height: 5px;
    background-color: #F84B4A;
    margin-bottom: 50px;
    border: none;
}

.white {
    color: #fff !important;
}

/* 訊息說明 */
.sort {
    padding: 6px 15px;
    border: 1px dotted #E3BE6F;
    background: #FFFFE8;
}

.TextUnderline {
    height: 17px;
    border: 0;
    width: calc(100% - 2px);
    margin-left: 1px;
    box-shadow: -8px 10px 0px -7px #515151, 8px 10px 0px -7px #515151;
    -webkit-transition: box-shadow 0.3s;
    transition: box-shadow 0.3s;
    color: #F84B4A;
    text-align: center;
}

    .TextUnderline:focus {
        outline: none;
        box-shadow: -8px 10px 0px -7px #4EA6EA, 8px 10px 0px -7px #4EA6EA;
    }

.boxinline {
    display: inline-block;
    margin-left: 5px;
    margin-top: 5px;
    vertical-align: middle;
}

body {
    font-family: 微軟正黑體, Arial, Helvetica, sans-serif;
    padding-top: 0px;
    padding-bottom: 2px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}


#main-footer {
    position: relative;
    background: #161c28;
    padding: 20px 0px;
}


.go-top {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 35px;
    text-align: center;
    font-size: 30px;
    position: fixed;
    bottom: -40px;
    right: 20px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
    background-color: #404040;
    color: #FFFFFF;
    text-decoration: none;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

    .go-top.show {
        bottom: 20px;
    }

    .go-top:hover {
        background-color: #5DBA9D;
        color: #FFFFFF;
    }

/* 顯示區隔線*/
ul.alt {
    list-style: none;
    padding-left: 0;
}

    ul.alt li {
        border-top: solid 1px rgba(144, 144, 144, 0.25);
        padding: 0.5em 0;
    }

        ul.alt li:first-child {
            border-top: 0;
            padding-top: 0;
        }

/* Logo圖 固定大小 */
.imgLogobox {
    position: relative;
    overflow: hidden;
    margin: 0px;
    width:300px;
    padding:10px;
}
@media (max-width:376px) {
    .imgLogobox {
        width:290px;
    }
}
    .imgLogobox:after {
        padding-top: 25%;
        content: "";
        display: block;
    }

.imgLogo {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    max-width: 90%;
    margin: auto;
}



/* 上方註冊 登入訊息*/
.menutop {
    width: 100%;
    height: 25px;
    font-size: 15px;
    color: #000000;
    padding-top: 2px;
}

    .menutop ul {
        margin: 0;
        padding: 0;
        float: right;
    }

        .menutop ul li {
            display: inline;
            padding-left: 10px;
            padding-right: 10px;
            border-right: 1px dashed #dddddd;
        }

/*******************************
    上方選單
******************************/
#main-header .navbar-default {
    padding: 5px 0px;
}

.navbar-nav > li > a {
    padding: inherit;
    padding: 5px 8px;
    margin-right: 10px;
    font-size: 18px;
}

.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
    background-color: #384D59;
    color: #fff;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
    background-color: #384D59;
    color: #fff;
}


/*******************************
    上方選單 End
******************************/
/* 內容顯示*/

.content {
    padding: 15px;
    font-size: 15px;
    display: block;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}

.inContent h2 {
    font-size: 26px;
    font-weight: normal;
    color: #28558e;
    line-height: 26px;
    margin: 15px 0 0 0;
    font-weight: bold;
    text-transform: none;
}

.inContent .heading1 {
    border-bottom: 2px solid #aaa;
}


/*資料建構中*/
.border-wrap {
    position: relative;
    margin-bottom: 20px;
    padding: 30px 10px;
    background-color: #eee;
}

    .border-wrap:before,
    .border-wrap:after {
        pointer-events: none;
        content: "";
        position: absolute;
    }

    .border-wrap:before {
        top: 5px;
        left: 5px;
        width: calc(100% - 10px);
        height: calc(100% - 10px);
        border: 1px solid #e0e0e0;
    }

    .border-wrap:after {
        top: 6px;
        left: 6px;
        width: calc(100% - 12px);
        height: calc(100% - 12px);
        border: 1px solid #fafafa;
    }

    .border-wrap .main-content {
        margin: 0 auto;
        max-width: 990px;
    }

    .border-wrap .top-desc {
        position: relative;
        margin: 0 20px;
        padding: 10px 0 10px 20px;
    }

        .border-wrap .top-desc:before,
        .border-wrap .top-desc:after {
            pointer-events: none;
            content: "";
            position: absolute;
        }

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    background-color: #f8b218;
}

/*改版 20171115*/
.margin-top-20{
    margin-top:20px;
}
.bg-fatfotoer {
    background: #ffffdf;
    border-top: solid 1px #eee;
    border-bottom: solid 1px #eee;
}

.bg-tail {
    background: #ab812c;
    border-top: solid 1px #eee;
    border-bottom: solid 1px #eee;
}


.FooterMenu {
    padding-left: 50px;
}
.bg-fatfotoer .word{
    color:#515151;
    font-size:1rem;
}

    .FooterMenu .FooterMenu_Item {
        display: block;
        width: 25%;
        float: left;
        margin-top: 25px;
    }

        /*.FooterMenu .FooterMenu_Item a:link {
            color: #60834f
        }

        .FooterMenu .FooterMenu_Item a:visited {
            color: #60834f
        }*/

        .FooterMenu .FooterMenu_Item a:hover {
            color: #ff715b;
        }

        .FooterMenu .FooterMenu_Item a {
            font-weight: normal;
            font-size: 1.2rem;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .FooterMenu .FooterMenu_Item ul {
            /*list-style:none;*/
            margin: 0px 0;
            padding: 0;
        }

            .FooterMenu .FooterMenu_Item ul li {
                font-size: 0.9rem;
                line-height: 1.6rem;
                margin-left: 20px;
            }

                .FooterMenu .FooterMenu_Item ul li a {
                    padding: 2px 0 2px 1px;
                    font-size: 0.9rem;
                    color: #60834f;
                }

@media (min-width:240px) and (max-width:854px) {
    .FooterMenu {
        display: none;
    }
}
