﻿body {
    font-size: 1rem;
    color: #212529;
    /*padding-top: 40px;*/
    background-image: url(/Images/0011.png), url(/Images/02.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    font-weight: 400;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}

.btn > i.fa, a > i.fa {
    margin-right: 5px;
}

/*a {
    color: #956134;
    text-decoration: none;
}*/

a:hover {
    /*color: #C9A063;*/
    color: #956134;
}

.btn-default {
    background-color: #956134;
    border-color: #956134;
    color: #fff;
}

    .btn-default:hover, .btn-default:focus {
        background-color: rgba(149, 97, 52, 0.8);
        border-color: rgba(149, 97, 52, 0.8);
        color: #fff;
    }

.btn.khedu {
    background-color: #007bff;
    border-color: #007bff;
    color: #ffffff;
}

.page-item.active .page-link {
    background-color: #956134;
    border-color: #956134;
}

.detail .pagination a {
    color: #956134;
}

ul.district {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

    ul.district li {
        flex-basis: 50%;
    }

a.more {
    display: inline-block;
    border-bottom: 2px solid rgba(149, 97, 52, 0);
    transition: all .5s ease;
}

    a.more:hover {
        border-bottom: 2px solid rgba(149, 97, 52, 1);
    }

        a.more:hover i {
            transform: translateX(5px);
            transition: transform 0.3s ease;
        }

header .dropdown-toggle::after {
    display: inline-block;
}

.header-container .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: url(/Images/01.jpg);
    background-repeat: no-repeat;
    background-position: -300px 0;
    width: 100%;
    background-color: transparent;
}

    .header-container .top .navbar-nav > li > a {
        display: block;
        padding: 0.3rem 0.5rem;
        color: #333;
        border-radius: 5px;
        border: 1px solid #333;
        margin-right: 15px;
        transition: all .3s ease;
        background-color: #fff;
    }

        .header-container .top .navbar-nav > li > a.dropdown-toggle::after {
            display: none;
        }

        .header-container .top .navbar-nav > li > a:hover {
            background-color: #956134;
            border-color: #956134;
            color: #fff;
        }

    .header-container .top .btn-toolbar {
        white-space: nowrap;
    }

        .header-container .top .btn-toolbar .text {
            display: inline-block;
        }

    .header-container .top .navbar-nav li .dropdown-menu {
        position: absolute;
        border: 1px solid rgba(0,0,0,.15);
        right: 15px;
    }

        .header-container .top .navbar-nav li .dropdown-menu li a {
            padding-left: 21px;
            padding-right: 21px;
            color: #7F4F21;
        }

            .header-container .top .navbar-nav li .dropdown-menu li a:hover {
                background-color: #C9A063;
                color: #fff;
            }

img.logo {
    height: 80px;
    max-height: 80px;
    padding: 10px 15px;
}

header.navbar {
    background-color: #956134;
    border: none;
}

.fixed-header-on .top {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1011;
}

.fixed-header-on header {
    position: fixed;
    width: 100%;
    top: 80px;
}

header .navbar-nav li > a {
    padding: 10px 0px;
    color: #fff;
    font-weight: 600;
    border-left: none;
    border-right: none;
}

    header .navbar-nav li > a:hover,
    header .navbar-nav li > a.active,
    header .navbar-nav li.show > a {
        background-color: #C9A063;
        color: #fff;
    }

header .navbar-nav .nav-item .dropdown-menu {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.15);
    margin-top: -1px;
    margin-left: -1px;
}

    /*header .navbar-nav .nav-item .dropdown-menu .nav-item {
        border-bottom: 1px solid #7F4F21;
    }*/

    header .navbar-nav .nav-item .dropdown-menu .nav-item .nav-link {
        color: #7F4F21;
        padding: 5px 8px;
        line-height: 2.2em;
    }

        header .navbar-nav .nav-item .dropdown-menu .nav-item .nav-link.active {
            color: #fff;
        }

        header .navbar-nav .nav-item .dropdown-menu .nav-item .nav-link:hover {
            background-color: #C9A063;
            color: #fff;
        }

.pre-footer {
    background-image: url(/Images/bottom.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 270px;
    padding-top: 20px;
}

footer {
    background-image: url(/Images/footer.jpg);
    background-repeat: repeat;
    padding: 40px 0;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

    footer a {
        color: #fff;
    }

        footer a:hover {
            color: #fff;
            cursor: pointer;
        }

    footer ul {
        list-style: disc;
        padding-left: inherit;
        margin-bottom: inherit;
    }

/* nav-mobile */
#nav-mobile .header, #nav-mobile .body {
    background-color: #956134;
}

#nav-mobile .exit:before, #nav-mobile .exit:after {
    background-color: #bdc3c7;
}

#nav-mobile .body {
    border-top: 0;
    box-shadow: none;
}

    #nav-mobile .body a {
        color: #fff;
        border-bottom: transparent;
        font-size: 16px;
    }

    #nav-mobile .body ul > li > a:hover, #nav-mobile .body ul > li > a.active {
        background-color: #B28247;
        color: #fff;
    }

#nav-mobile ul > li > a:after {
    display: none;
}

#nav-mobile .body ul li ul li a {
    padding-left: 40px;
}

/* 分類 */
.sort-desktop {
    padding: 0.5rem 0;
}

    .sort-desktop nav.sort a.active, nav.sort a.active {
        color: #956134;
    }

#filter.feature-panel .header, #filter.feature-panel .body {
    background-color: #956134;
    color: #fff;
}

    #filter.feature-panel .header h2 {
        color: #fff;
    }

    #filter.feature-panel .header .exit:before, #filter.feature-panel .header .exit:after {
        background-color: #bdc3c7;
    }

#filter.feature-panel ul > li > a:hover, #filter.feature-panel ul > li > a.active {
    background-color: #B28247;
    border-bottom: none;
}

#filter.feature-panel ul > li > a {
    color: #ffffff;
    border-bottom: none;
    font-size: inherit;
}

.feature-panel ul > li > a:hover:after, .feature-panel ul > li > a.active:after {
    display: none;
}

.category-pills {
    display: none;
}

    .category-pills .nav-pills {
        justify-content: flex-end;
    }

.nav-pills li {
    border-bottom: 0;
}

    .nav-pills li a {
        color: #007bff;
        font-size: 1rem;
        font-weight: 400;
    }

.nav-pills > li > a.active {
    color: #007bff;
    border-bottom: 0;
}

.nav-pills li a:hover, .nav-pills li a.active:hover {
    background-color: #007bff;
    color: #fff;
    border-bottom: 0;
}

/* breadcrumb */
.breadcrumb li a {
    color: #666666;
}

    .breadcrumb li a:hover {
        color: #956134;
    }

.breadcrumb li.breadcrumb-item:last-child {
    color: #956134;
}

/* 首頁 */
.home-page {
    margin-top: 30px;
}

.section-list-container .container, .section-list-containerfluid .container {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

section h1 {
    text-align: left;
    font-size: 2rem;
}

section .card.outer {
    background-color: #fff;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    padding: 10px;
    margin-top: -30px;
}

section .card.inner {
    padding: 20px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    margin-top: -30px;
}

section .image-box {
    margin-bottom: 0.5rem;
}

.section-list-container h1 {
    text-align: left;
}

.section-list-container a.link, .section-news:not(.detail) a.link {
    color: #333;
}

.section-list-container a:hover h5, .section-news a:hover h3 {
    text-decoration: underline;
}

.section-news .item {
    padding: 0.5rem 0;
    margin-top: -1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.section-news .news-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-news ul.categorys {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

    .section-news ul.categorys li {
        display: inline-block;
        font-size: 0.85rem;
        color: #956134;
        font-weight: bold;
    }

        .section-news ul.categorys li + li {
            margin-left: 0.5rem;
        }

.section-news .date-wrapper {
    margin-top: 5px;
    margin-bottom: 0.5rem;
}

    .section-news .date-wrapper > div {
        align-items: center;
    }

    .section-news .date-wrapper .date {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 0.85rem;
    }


.section-album .card {
    background-image: url(/Images/04.jpg);
    background-position: right top;
    background-repeat: no-repeat;
    background-size: 20%;
}

.section-album .image-box {
    position: relative;
    width: 100%;
    overflow: hidden;
}

    .section-album .image-box img {
        border-radius: calc(.25rem - 1px);
        display: block;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
    }

    .section-album .image-box .title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2em;
        max-height: 2.5em;
        height: 25%;
    }

    .section-album .image-box .date, .section-album .image-box .count {
        position: absolute;
        background-color: rgba(0,0,0,0.5);
        color: #fff;
        padding: 5px;
        border-radius: 5px;
        z-index: 1;
        font-size: 0.875rem;
    }

.section-album .date {
    top: 5px;
    left: 10px;
}

.section-album .count {
    right: 10px;
    bottom: 5px;
}

#section-contents-12 .card.outer, #section-contents-17 .card.outer {
    background-image: url(/Images/history1.jpg);
    background-repeat: repeat;
    background-size: contain;
    background-position: 50%;
}

#section-contents-15 h1 {
    display: none;
}

#section-contents-16 .info {
    display: flex;
    padding-bottom: 15px;
}

#section-contents-16 .body {
    padding: 1rem;
}

#section-list-1003 .service {
    background-image: url(/Uploads/images/service.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    min-height: 100vh;
    width: 100%;
    padding: 20px 0;
    border-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 3px 5px 5px rgba(0, 0, 0, 0.3)
}

#section-list-1003 .service-item {
    padding: 10px 15px;
    border-top: 0;
    border-bottom: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 3px 5px 5px rgba(0, 0, 0, 0.3)
}

    #section-list-1003 .service-item h2 {
        padding-bottom: 10px;
        font-weight: bold;
    }

#section-list-1003 .service-title {
    display: inline-block;
    font-size: 14px;
    color: #fff;
    padding: 5px 10px;
    background: rgb(255, 102, 51);
    padding: 5px;
    margin-bottom: 5px;
}

#section-list-1003 .service-item .contact {
    display: inline-block;
    color: #fff;
    background-color: rgb(114, 148, 12);
    padding: 5px 10px;
    margin-bottom: 5px;
}

#section-list-1003 .service-item .title {
    width: 140px;
}

#section-list-1003 .service-item .district {
    display: flex;
    padding-left: 0;
    margin-bottom: 0;
    flex-wrap: wrap;
    list-style: none;
}

    #section-list-1003 .service-item .district li {
        flex-basis: 50%;
    }

#section-list-1011 .slick-slide {
    margin: 0 20px;
}

.section-contents .image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.section-contents .map-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    margin-bottom: 30px;
}

    .section-contents .map-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.section-news .card {
    margin-bottom: 20px;
    padding: 15px;
}

.section-news .search {
    margin: 20px 0 16px;
}

.section-news .date-wrapper {
    margin-top: 5px;
    margin-bottom: 0.5rem;
}

    .section-news .date-wrapper .date {
        color: #6c757d;
    }

.section-news .btn-submit, #section-list-1 .btn-submit {
    color: #606265;
    border-color: #e0e0e0;
}

    .section-news .btn-submit:hover, #section-list-1 .btn-submit:hover {
        background-color: #e0e0e0;
        color: #606265;
    }

.section-link .image-container {
    border: 1px solid rgba(0,0,0,.125);
    margin-bottom: 0;
}

    .section-link .image-container img {
        margin: 0 auto;
    }

.section-album img {
    border-radius: calc(.25rem - 1px);
    width: 100%;
    height: 150px;
}

    .section-album img:hover {
        cursor: zoom-in;
    }

.section-album h5.title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2em;
    max-height: 2.4em;
    height: auto;
    font-size: 1rem;
}

.section-album .overlay-container {
    border-radius: 15px;
}

.section-album.detail .img {
    margin-bottom: 0;
}

/* 首頁客製 */
.card-blue {
    background-color: #e7f0fa;
}

.card-green {
    background-color: #e8f5e9;
}

.gradient-background {
    background: linear-gradient(90deg,#fff,#a4d6a4);
    color: #333;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
}

.gradient1 {
    background: linear-gradient(90deg,#7abcfa,#fff);
}

.gradient2 {
    background: linear-gradient(90deg,#fff,#c2a4d6)
}

.gradient3 {
    background: linear-gradient(90deg,#edff89,#fff);
}

.gradient4 {
    background: linear-gradient(90deg,#fff,#d6a4cb);
}

/* 中心沿革 */
.main-timeline {
    position: relative;
}

    .main-timeline:before {
        content: "";
        display: block;
        width: 2px;
        height: 100%;
        background: #c6c6c6;
        margin: 0 auto;
        position: absolute;
        top: 0;
        left: 0;
        right: 0
    }

    .main-timeline .timeline {
        margin-bottom: 40px;
        position: relative
    }

        .main-timeline .timeline:after {
            content: "";
            display: block;
            clear: both
        }

    .main-timeline .icon {
        width: 18px;
        height: 18px;
        line-height: 18px;
        margin: auto;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0
    }

        .main-timeline .icon:after, .main-timeline .icon:before {
            content: "";
            width: 100%;
            height: 100%;
            border-radius: 50%;
            position: absolute;
            top: 0;
            left: 0;
            -webkit-transition: all .33s ease-out 0s;
            transition: all .33s ease-out 0s
        }

        .main-timeline .icon:before {
            background: #fff;
            border: 2px solid #232323;
            left: -3px
        }

        .main-timeline .icon:after {
            border: 2px solid #c6c6c6;
            left: 3px
        }

    .main-timeline .timeline:hover .icon:before {
        left: 3px
    }

    .main-timeline .timeline:hover .icon:after {
        left: -3px
    }

    .main-timeline .date-content {
        width: 50%;
        float: left;
        margin-top: 22px;
        position: relative
    }

        .main-timeline .date-content:before {
            content: "";
            width: 36.5%;
            height: 2px;
            background: #c6c6c6;
            margin: auto 0;
            position: absolute;
            top: 0;
            right: 10px;
            bottom: 0
        }

    .main-timeline .date-outer {
        width: 125px;
        height: 125px;
        font-size: 16px;
        text-align: center;
        margin: auto;
        z-index: 1
    }

        .main-timeline .date-outer:after, .main-timeline .date-outer:before {
            content: "";
            width: 125px;
            height: 125px;
            margin: 0 auto;
            border-radius: 50%;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            -webkit-transition: all .33s ease-out 0s;
            transition: all .33s ease-out 0s
        }

        .main-timeline .date-outer:before {
            background: #fff;
            border: 2px solid #232323;
            left: -6px
        }

        .main-timeline .date-outer:after {
            border: 2px solid #c6c6c6;
            left: 6px
        }

    .main-timeline .timeline:hover .date-outer:before {
        left: 6px
    }

    .main-timeline .timeline:hover .date-outer:after {
        left: -6px
    }

    .main-timeline .date {
        width: 100%;
        margin: auto;
        position: absolute;
        top: 27%;
        left: 0
    }

    .main-timeline .month {
        font-size: 18px;
        font-weight: 700
    }

    .main-timeline .year {
        display: block;
        font-size: 30px;
        font-weight: 700;
        color: #232323;
        line-height: 36px
    }

    .main-timeline .timeline-content {
        width: 50%;
        padding: 20px 0 20px 50px;
        float: right
    }

    .main-timeline .title {
        font-size: 19px;
        font-weight: 700;
        line-height: 24px;
        margin: 0 0 15px 0
    }

    .main-timeline .description {
        margin-bottom: 0
    }

    .main-timeline .timeline:nth-child(2n) .date-content {
        float: right
    }

        .main-timeline .timeline:nth-child(2n) .date-content:before {
            left: 10px
        }

    .main-timeline .timeline:nth-child(2n) .timeline-content {
        padding: 20px 50px 20px 0;
        text-align: right
    }

.process-chart {
    width: 80%;
    max-width: 500px;
    margin: 20px auto;
    padding-bottom: 50px;
}

    .process-chart .icon {
        display: inline-block;
        width: 20px;
        height: 20px;
        background-color: #bbb;
        border-radius: 50%;
        margin-right: 5px;
        vertical-align: middle;
    }

    .process-chart .title {
        color: #333;
        padding: 10px;
        margin-bottom: 30px;
        font-size: 18px;
    }

    .process-chart .process-step {
        border: 2px solid #956134;
        background-color: #fde3c1;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,.2);
        padding: 20px;
        margin-bottom: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        position: relative;
        z-index: 1;
        font-weight: 400;
    }

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    border-style: solid;
    border-width: 20px 20px 0 20px;
    border-color: #956134 transparent transparent transparent;
}

@media(max-width: 576px) {
    img.logo {
        height: 60px;
        max-height: 60px;
    }
}

@media only screen and (max-width: 767px) {
    .main-timeline:before {
        margin: 0;
        left: 7px
    }

    .main-timeline .timeline {
        margin-bottom: 20px
    }

        .main-timeline .timeline:last-child {
            margin-bottom: 0
        }

    .main-timeline .icon {
        margin: auto 0
    }

    .main-timeline .date-content {
        width: 95%;
        float: right;
        margin-top: 0
    }

        .main-timeline .date-content:before {
            display: none
        }

    .main-timeline .date-outer, .main-timeline .date-outer:after, .main-timeline .date-outer:before {
        width: 110px;
        height: 110px
    }

    .main-timeline .date {
        top: 30%
    }

    .main-timeline .year {
        font-size: 24px
    }

    .main-timeline .timeline-content, .main-timeline .timeline:nth-child(2n) .timeline-content {
        width: 95%;
        text-align: center;
        padding: 10px 0
    }

    .main-timeline .title {
        margin-bottom: 10px
    }
}

@media only screen and (max-width: 991px) {
    .main-timeline .date-content {
        margin-top: 35px
    }

        .main-timeline .date-content:before {
            width: 22.5%
        }

    .main-timeline .timeline-content {
        padding: 10px 0 10px 30px
    }

    .main-timeline .title {
        font-size: 17px
    }

    .main-timeline .timeline:nth-child(2n) .timeline-content {
        padding: 10px 30px 10px 0
    }
}

@media(min-width: 768px) {
    img.logo {
        max-height: 100px;
    }

    /*footer ul{
        display:flex;
        flex-wrap: wrap;
    }*/

    footer ul li {
        /*flex-basis: 50%;*/
        margin-bottom: 0.5rem;
    }

    section .card.outer {
        padding: 15px 10px;
    }
}

@media(min-width: 992px) {
    header .navbar-expand .navbar-nav .nav-link,
    header .navbar-nav .nav-item .dropdown-menu .nav-item .nav-link {
        padding-right: 21px;
        padding-left: 21px;
    }

    section .card.outer {
        padding: 30px 20px;
    }

    #filter.feature-panel .header {
        padding: 15px 0;
        background-color: #fff;
    }

        #filter.feature-panel .header h2 {
            color: #6c757d;
        }

    #filter.feature-panel .header, #filter.feature-panel .body {
        background-color: #fff;
    }

        #filter.feature-panel .body a {
            color: #666666;
        }

    #filter.feature-panel ul > li > a:hover, #filter.feature-panel ul > li > a.active {
        color: #956134;
        background-color: transparent;
        border-bottom: none;
    }
}

@media(min-width: 1200px) {
    header .navbar-expand .navbar-nav .nav-link,
    header .navbar-nav .nav-item .dropdown-menu .nav-item .nav-link {
        padding-right: 31px;
        padding-left: 31px;
    }
}

@media(min-width: 1600px) {
    .header-container .top {
        background-position: right top;
    }
}
