﻿body {
    font-family: 微軟正黑體;
    color: #111111;
    word-wrap: break-word;
    word-break: break-all;
    width: 100%;
}

a {
    color: #111111;
    text-decoration: none;
}

    a:hover {
        color: #2e9547;
        position: relative;
        top: 1px;
        left: 1px;
        text-decoration: underline;
    }

    a:visited {
        color: #0b5c0b;
    }

    a:link {
        color: #303030;
    }

.ContentBodyStyle {
    padding-left:2.9411rem; 
    /*background-color: #e2f3cb;*/
    margin:0.882rem;
    border:#d6d8db;
    border-radius:0.294rem;
}

/* 首頁上方-跳到主要畫面 */
.skipnav {
    text-align: right;
}

    .skipnav a {
        position: absolute;
        left: -1000px;
        width: 1px;
        height: 0px;
        overflow: hidden;
    }

        .skipnav a:focus, .skipnav a:active {
            position: absolute;
            top: 0;
            left:10px;
            width: auto;
            height: auto;
            overflow: visible;
            padding-right: 10px;
            padding-left: 10px;
            border-radius: 8px;
            background-color: transparent;
            box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2), 6px 6px 10px 0 rgba(0,0,0,0.19);
            /*text-decoration: underline;*/
        }

.link {
}

    .link ul {
        list-style: none;
        vertical-align: middle;
        padding: 5px;
        min-height: 4rem;
    }

    .link li {
        float: left;
        padding: 10px 15px;
    }

    .link img {
        width: 138px;
        height: 30px;
        border: 1pt solid #ccc;
    }

.nav-item a:link {
    color: #0b5c0b;
}

.HotSearch {
   font-size:0.8rem; 
   height: 0.75rem;
}

.banner {
    background-image: url('../images/bg3.jpg');
    background-repeat: repeat-x;
    /*綠葉版 */
    /*background-image: url('../images/bg2.jpg');
    background-position: left -920px;*/
    /*黃綠葉版*/
    /*background-image: url('../images/bg.png');
        background-position: left -460px;*/
    /*background-size: cover;
    width: 100%;*/
}


.bannerBg {
    background-color: rgba(100%, 100%, 100%, 0.5);
}

.img-width {
    width: 100%;
}

.h2-ahri {
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.h3-ahri {
   /* margin: 0.2rem;*/
    padding: 0;
    font-size: 1rem;
}

.card-body {
    padding: 0.9rem 0.9rem 0.9rem 0.9rem;
}

/* Header */

#Header .Sky {
    background-position: right top;
    background-image: url('../images/Header/Sky.jpg');
    background-repeat: repeat-x;
}

#Header .House {
    background-position: 1% 20px;
    background-image: url('../images/Header/House.png');
    background-repeat: no-repeat;
}

#Header .Grass {
    background-position: center 10px;
    background-image: url('../images/Header/Grass.png');
    background-repeat: repeat-x;
}

#Header .Animal {
    background-position: 15% 100px;
    background-image: url('../images/Header/Animal.png');
    background-repeat: no-repeat;
    height: 180px;
}


/* logo & menu */
.menu {
    padding: 15px 0 0 0;
    line-height: 1rem;
   /* font-size:0.75rem;*/
}

    .menu a, .menu a:link, .menu a:active, .menu a:visited {
        color: #111111;
    }

.logo {
    max-width: 260px;
    padding:10px 0 0 0;
}

.logo-align {
    text-align: right;
}

.logo, .menu {
    width: 100%;
}

@media (max-width:1650px) {

    #Header {
        background-color: #90b619;
    }

        #Header .House {
            background-position: 1% 40px;
        }

        
    #Header .Grass {
        background-position: center 20px;
    }

    #Header .Animal {
        background-position: 15% 100px;
    }

    .logo {
        /*padding: 10px 0 0 15px;*/
}

.logo-align {
    text-align: right;
}

.menu {
    padding-top: 10px;
}

}

@media (max-width:1173px) {

    #Header {
        background-color: #90b619;
    }

        #Header .House {
            background-position: 1% 40px;
        }

    .logo {
        /*padding: 10px 0 0 15px;*/
    }

    .logo-align {
        text-align: right;
    }

    .menu {
        padding-top: 5px;
    }
}

@media (max-width:768px) {
    #Header .House {
        background-position: 1% 20px;
    }

    #Header .Grass {
        background-position: center 10px;
    }

    #Header .Animal {
        background-position: 15% 90px;
        height:280px;
    }

    .logo {
        padding-top: 3px;
        /*padding: 3px 15px 0 0;*/
    }

    .menu {
        padding-top: 110px;
    }

        .menu a, .menu a:link, .menu a:active {
            color: white;
        }
}

@media (max-width:500px) {
    #Header .House {
        background-position: 0% 45px;
    }

    #Header .Grass {
        background-position: center 25px;
    }

    #Header .Animal {
        background-position: 15% 90px;
        height:400px;
    }

    .logo {
        /*padding: 0 15px 0 0;*/
    }

    .logo-align {
        text-align: center;
    }

    .menu {
        padding: 120px 10px 0 10px;
    }

        .menu a, .menu a:link, .menu a:active {
            color: white;
        }
}

@media (max-width:320px) {
    #Header .House {
        background-position: 0% 55px;
    }

    #Header .Grass {
        background-position: center 40px;
    }

    #Header .Animal {
        background-position: 15% 90px;
        height: 450px;
    }

    .logo {
        padding: 0.5rem;
    }

    .logo-align {
        text-align: center;
    }

    .menu {
        padding: 120px 0.5rem 0 0.5rem;
    }

        .menu a, .menu a:link, .menu a:active {
            color: white;
        }
}

.line-box {
    border-radius: 10px;
    margin: 20px auto;
}

.line-box-text {
    width:7rem;
    padding: 0 5px;
}

.tbStyle {
    width: 100%;
}


.marquee marquee {
    width: 100%;
    height: 35px;
    line-height: 2rem;
}

.marquee a {
    color: #2e9547;
}

.bg-ahri {
    background-color: #78b922;
    color: #123622;
}
    .bg-ahri a {
    }

.bg-ahri2 {
    background-color: #def3c0;
}

.bg-ahri3 {
    background-color: #a6d568;
}

.text-ahri {
    color: black!important;
}
    .text-ahri a {
        color: black !important;
    }

    .text-ahri a:link {
        color: #78b922;
    }

    .text-ahri a:hover {
        color: #78b922;
    }

    .text-ahri a:visited {
        color: #78b922;
    }

.text-ahria:active {
    color: #78b922;
}

.text-keyword {
    color: #111111;
}
#ahead accesskey a {
    color: #a6d568;
}

#sitemap accesskey a {
}

#foot accesskey a {
}

.GeneralSearch {
    width: 130px;
    text-align: center
}

.container-fluid-all {
    padding-left: 0;
    padding-right: 0;
}



/* 最新消息 & 影音 */

#news ul {
    list-style: none;
    margin-bottom: 14px;
    padding: 0 0;
    margin-left: 0;
}

#news li {
    margin: 0 0 0 0;
    border-bottom: 1pt solid #8EBD40;
}

    #news li a {
        display: block;
        background: url(data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAcCAYAAACQ0cTtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAcVJREFUSEvtVtFNxDAM7QiMwAiMwAiMwAhs4PZSic8bgRFuhI5wI3QERjjyYjuJrnaagoSExElRT4njZzvPLxmG/99vVIBofhrHcB6neYnjM46bfBfME4XnH8cBJwIA5zoAqKOaD+u3QSUTdjaGD6LTixU95rGeg4mZHsqybO6PNpV6ClcNrguQpjBylOFKRA9dm8QI9hVgO0OOjg/fA6LT/IqA8LXLWgCbZ6hkaBlVhFm8rIVYCNq2IXp/lKxcJ3DeAyZ2F/hDtTZB0TS/pUWnPLqhFyyxFP5iyTdgykBk2CKFBeadr1spdWIB1cy8B1MGOvtW89zaYKUVarCa6jYYK822jCxBN2eTyBKaVhqX7RMJGvugowYYC63JHpCm0sZaJ9N/i1ScdQrksmWjOAQrzWZ1AE22RQcaoOmvRBJWt1mzlMkNEAXYsy0C4bA709/JLjWrKnwDSHsMtm4bSXY41KiNRuer4DYaX/RVfLR7dshR7QDaIpyEPN3ke0qU99fs8whwDyZydwxInUiG8t4Iq/XWgLozSFzXq2lHW5tnKJepgOZ3yKbX+Omwc0Yt0a3XkKkAQzWSDKVLFPMHb/RezL9l9wWuQAy9JbrovAAAAABJRU5ErkJggg==) 97% center no-repeat;
        padding: 10px 0 4px 15px;
        text-decoration: none;
    }

        #news li a:hover {
            background-color: #e2f3cb;
        }

.orange {
    border-left: 5px solid #F5876E;
}

.blue {
    border-left: 5px solid #61A8DC;
}

.green {
    border-left: 10px solid #8EBD40;
}

.purple {
    border-left: 5px solid #988CC3;
}

.gold {
    border-left: 5px solid #D8C86E;
}

.news p {
    padding-left: 0.3rem;
    margin-bottom: 0.5rem;
}

.news hr {
    padding: 0;
    margin-bottom: 0.5rem;
    margin-top: 0;
}


@media (max-width:990px) {
    .news p {
        margin-bottom: 0.8rem;
    }

    .news hr {
        padding: initial;
        margin-bottom: 0.5rem;
        margin-top: initial;
    }
}

/* common styles */
.list {    
    /*border-top: 1px solid #ccc;*/
    color: #333;
    margin: 0.45rem 0;
    list-style: none;
    padding-left: 0;
}

    .list p {
        padding-left: 0rem;
        margin-bottom: 0.5rem;
    }

.list-data {
    color: #ac2000;
}

.list li {
    padding-left: 0;
    margin-left: 0;
    border-bottom: 1px solid #ccc;
}


/* list item */
.list-item {
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-box-align: center;
    box-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    line-height: 50px;
    min-height: 50px;
    overflow: hidden;
    /*padding: 5px 8px;*/
    position: relative;
}

    .list-item:not(:last-child),
    .list-wrap:not(:last-child) .list-item {
        border-bottom: 1px solid #ccc;
    }

/* list arrow */
.list-arrow {
    padding-right: 24px;
    position: relative;
}

    .list-arrow::after {
        content: '';
        border-right: 2px solid #ccc;
        border-top: 2px solid #ccc;
        display: inline-block;
        height: 8px;
        margin: -4px 0 0;
        position: absolute;
        right: 10px;
        top: 50%;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        width: 8px;
    }

/* list link */
.list-link {
    color: #333;
    display: block;
    text-decoration: none;
}

    .list-link:hover {
        background: #eee;
    }

/* list main */
.list-main {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -o-box-flex: 1;
    -ms-box-flex: 1;
    box-flex: 1;
}

/* list title */
.list-item-title {
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* list value */
.list-value {
    margin-top: -0.5em;
    max-width: 5em;
    line-height: 1;
    overflow: hidden;
    position: absolute;
    right: 24px;
    text-align: right;
    top: 50%;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* sub text */
.list-subtext {
    color: #555555;
    font-size: 0.8em;
}

/* detail list */
.list-detaillist {
    line-height: 1;
}

    .list-detaillist .list-main {
        position: absolute;
    }


/*youtube影片隨螢幕縮放*/

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    top: 0px;
    left: 0px;
}

    .video-container iframe, .video-container object, .video-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }


#fatfooter {
}

    #fatfooter ul {
        list-style: none;
        vertical-align: middle;
        padding: 5px;
    }

    #fatfooter li {
        float: left;
        border-right: 1px solid #bcbcbc;
        padding: 0 8px;
    }

    #fatfooter th {
        font-size:small;
        padding-right:10px;
    }



#footer {
    padding:0.5rem;
    background-color: gainsboro;
}

    #footer a {
        color: #2e9547;
        text-decoration: none;
    }

        #footer a:hover {
            color: #2e9547;
            position: relative;
            top: 1px;
            left: 1px;
            text-decoration: underline;
        }

a:visited {
    color: #669999;
}

#footer a:link {
    color: #2e9547;
}
