/*all*/

* {
    padding: 0;
    margin: 0;
}

body {
    color: #5a5a5a;
    font-family: "Century Gothic", "微軟正黑體", ARIAL;

}

a{
    color: #333;
}


a:hover {
    -webkit-transition: 0.5s 0s;
    -o-transition: 0.5s 0s;
    transition: 0.5s 0s;
}

.content a:hover {
    text-decoration: none;
}

.btnn {
    color: #333;
}

.page-item.active .page-link{
    background-color: #9c252d !important;
    border: 1px solid #9c252d !important;
}

/*nav*/

.navbars {
    padding-top: 10px;
}

.site-navbar a {
    color: #fff;
}

.site-navbar a:hover {
    text-decoration: none;
}

.logo {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 10px;
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    color: #333;
    padding: 9px 20px;
    display: block;
}

.dropdown-menu {
    color: #fff;
}

.nav-item a {
    color: #fff;
}

.nav-item a:hover {
    color: #5a1216;
    text-decoration: none;
}

.dropdown-menu li:hover {
    background-color: #eee;
    color: #eee;
}

.site-navbar {
    background-color: #9c252d;
    background-image: url(../images/bg/bg-01.jpg);
    background-repeat: no-repeat;
    color: #fff;
}

.social-btn {
    display: none;
}

.social-btn a {
    color: #fff;
    text-decoration: none;
}

.social-btn a:hover {
    color: #5a1216;
    text-decoration: none;
}

@media (max-width: 960px) {
    .social-btn {
        display: block;
    }
}

#site-menu {
    font-size: 18px;
    line-height: 1.6em;
    box-sizing: border-box;
    z-index: 99999;
    border-top: 1px solid #971925;
    border-bottom: 1px solid #971925;
}


/*slider*/

.carousel-inner img {
    width: 100%;
    height: auto;
}


/*main*/

.breadcrumb a {
    color: #aaa;
}

.main-title {
    color: #9c252d;
    font-size: 24px;
    font-weight: normal;
}

.sub-menu {
    background-image: url(../images/bg/yellow.jpg) !important;
}

.sub-menu a {
    color: #333;
}

.sub-menu a:hover {
    color: #fff;
}

.content a {
    color: #333;
}

.main h2 {
    font-size: 24px;
}


main {
    background-image: url(../images/bg/bottom.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-color: #fcf8f7;
}

/*footer*/

footer,
footer h1 {
    background-color: #333;
    padding: 20px 0px;
    color: #dfdfdf;
    font-size: 16px;
}

footer p,
footer a {
    color: #737373;
}

footer a:hover {
    color: #f5f5f5;
}

footer ul li {
    list-style-type: none;
}

.copyright {
    background-color: #9c252d;
    background-image: url(../images/bg-01.jpg);
    background-repeat: no-repeat;
    color: #fff;
    padding: 20px 0px;
    font-size: 14px;
    border-top: 1px solid #971925;
}

.open {
    content: "\fla9";
    font-family: FontAwesome;
}


/*年度大記事*/

.main ul li {
    list-style-type: none;
}

/*周邊景點*/
.place-info:hover {
    background-color: #333;
    color: #fff !important;
}

.place a {
    color: #333;
    text-decoration: none;
    display: block;
}

.place a:hover {
    box-shadow: 0px 0px 10px 0px #e1e1e1;
}

/*主軸花絮*/
.photo-t {
    position: absolute;
    bottom: 0;
    text-align: center;
    color: #fff;
    width: 100%;
    background-image: url(../images/bg/photo.png);
    margin: 0;
    height: 50px;
    padding-top: 15px;

}

.photo-d {
    position: absolute;
    background-color: #9e1f2a;
    color: #fff;
    padding: 5px;
}

.photo-i {
    position: absolute;
    left: 40%;
    top: 30%;
    color: #fff;
    font-size: 36px;
    opacity: 0.5;
}

.photo-i:hover {

    color: #ff0000;

}



/*gotop*/

#gotop {
    display: none;
    position: fixed;
    border-radius: 10px;
    right: 20px;
    bottom: 30px;
    padding: 10px 16px;
    font-size: 25px;
    background: #fdc70b;
    color: #fff;
    cursor: pointer;
    z-index: 1000;
}

.card {
    transition: all .5s;
    overflow: hidden;
}

.card:hover {
    -webkit-box-shadow: 0 0 15px rgba(23, 23, 23, .25);
    -moz-box-shadow: 0 0 15px rgba(23, 23, 23, .25);
    box-shadow: 0 0 15px rgba(23, 23, 23, .25);
    -webkit-transition: .3s linear;
    -moz-transition: .3s linear;
    transition: .3s linear;
}

.card-link {
    transition: all .5s;
    overflow: hidden;
}

.card-link:hover {
    opacity: 0.4;
    transform: scale(1.05);
}


.text-item {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 20%;
    text-align: center;
}