
@import url("../fonts/flaticon/flaticon.css");
@import url("revise.css");
@import url("header.css");
@import url("footer.css");
@import url("banner.css");


/*========================================================
                      	 標題設定
=========================================================*/

.h2-title {
	color: #000;
	font-size: 2rem;
    font-weight: bold;
	text-align: center;
    margin: 0;
}
.h2-title span:before, 
.h2-title span:after {
	content: '';
	display: inline-block;
    background-image: url(../img/index/news-title-line.png);
    background-repeat: no-repeat;
    background-position: center top;
	width: 12%;
	height: 2px;
	margin: 0 20px;
	position: relative;
	top: -8px;
}
.h2-title + p {
	color: #a81c09;
	font-size: 1.4rem;
    font-weight: bold;
	text-align: center;
    margin-bottom: 40px;
}
@media (max-width: 399px) {
    .h2-title {
        font-size: 1.4rem;
    }
    .h2-title + p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    .h2-title span:before, 
    .h2-title span:after {
        width: 10%;
    }
}
@media (min-width: 400px) and (max-width: 639px) {
    .h2-title {
        font-size: 1.6rem;
    }
    .h2-title + p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
    .h2-title span:before, 
    .h2-title span:after {
        width: 15%;
    }
}

/*========================================================
                         住民開店
=========================================================*/

.news-wrap {
    background: url("../img/index/news-bg.jpg") repeat center top;
    padding-top: 20px;
    padding-bottom: 60px;
}
.news-wrap .h2-title span:before, 
.news-wrap .h2-title span:after {
    background-image: url("../img/index/news-title-line.png");
}
.news-wrap .h2-title + p {
	color: #a81c09;
}

.news-box {
/*
    background-image: url("../img/index/news-list-bg1.jpg"), url("../img/index/news-list-bg2.jpg"), url("../img/index/news-list-bg3.jpg"), url("../img/index/news-list-bg4.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: top center, bottom center, top left, top right;
    background-size: 300% 16px, 300% 16px, 16px 100%, 16px 100%;
*/
    border: 8px solid #df1075;
    border-radius: 10px;
    background-color: #fff;
    position: relative;
    padding: 50px 40px;
}
.news-img1 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: none;
}
.news-img2 {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1; 
    display: none;
}
.news-img1 img, .news-img2 img {
    display: block;
    width: 100%;
}


.news-img {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.news-list {
    list-style: none;
    margin: 0;
    padding: 15px 0 0 0;
    position: relative;
    z-index: 2;
}
.news-list li a {
    display: block;
    color: #545454;
    border-bottom: 1px solid #9eaf80;
    padding: 15px 10px 15px 40px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    position: relative;
}
.news-list li a i {
    position: absolute;
    left: 10px;
    top: 20px;
    z-index: 3;
    background-color: #b6c434;
    border: 1px solid #b6c434;
    color: #fff;
    width: 20px;
    height: 20px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.news-list li a:hover {
    color: #fff;
    background-color: #e08b2f;
}
.news-list li a:hover i {
    background-color: transparent;
    border: 1px solid #fff;

}

.news-btn {
    position: relative;
    z-index: 3;
    margin-top: 10px;
    text-align: right;
}
.news-btn i {
    display: inline-block;
    margin: 0 10px;
}
.news-btn a {
    display: inline-block;
    color: #db2128;
    padding: 2px 3px;
    font-weight: bold;
    border-radius: 5px;
}
.news-btn a:hover {
    background-color: #db2128;
    color: #fff;
}


.news-tabs .nav-tabs {
    border-bottom: 1px solid #5a5a5a;
}
.news-tabs .nav-tabs li {
	text-align: center;
    margin: 0 5px;
}
.news-tabs .nav-tabs li a {
	display: block;
	font-size: 1rem;
	border-radius: 5px 5px 0 0;
	color: #5a5a5a;
    padding: 5px 30px;
    text-align: center;
    font-weight: bold;
    background-color: #fff;
    border-color: #5a5a5a;
    border-style: solid;
    border-width: 1px 1px 0px 1px;
}
.news-wrap .nav-tabs li.active  {
	color: #fff;
}
.news-wrap .nav-tabs > li > a.active, 
.news-wrap .nav-tabs > li > a.active:hover, 
.news-wrap .nav-tabs > li > a.active:focus {
    border-color: #b6c434;
    border-style: solid;
    border-width: 1px 1px 0px 1px;
    color: #fff;
    background-color: #b6c434;
}
.news-wrap .nav-tabs > li > a {
    margin-right: -1px;
}
.news-wrap .nav > li > a:hover, 
.news-wrap .nav > li > a:focus {
    text-decoration: none;
    border-color: #b6c434;
    border-style: solid;
    border-width: 1px 1px 0px 1px;
    color: #fff;
    background-color: #b6c434;
}


/*  尺寸設定 */
@media (max-width: 767px) {
    .news-tabs .nav-tabs {
        border-bottom: none;
    }
    .news-tabs .nav-tabs li {
        width: 100%;
        margin-bottom: 10px;
    }
    .news-tabs .nav-tabs li a {
        padding: 5px 5px;
        border-radius: 5px;
        border-width: 1px;
    }
    .news-wrap .nav-tabs > li > a.active, 
    .news-wrap .nav-tabs > li > a.active:hover, 
    .news-wrap .nav-tabs > li > a.active:focus {
        border-width: 1px;
    }
    .news-wrap .nav > li > a:hover, 
    .news-wrap .nav > li > a:focus {
        border-width: 1px;
    }

    
}
@media (min-width: 640px) {
    .news-box {
        background-size: 200% 16px, 200% 16px, 16px 100%, 16px 100%;
    }
}
@media (min-width: 992px) {
    .news-box {
        background-size: 100% 16px, 100% 16px, 16px 100%, 16px 100%;
    }
    .news-box {
        padding: 50px 80px;
    }
    .news-img1 {
        display: block;
        top: -120px;
        left: -30px;
        width: 240px;
    }
    .news-img2 {
        display: block;
        right: -30px;
        bottom: -20px;
        width: 200px;
    }
}
@media (min-width: 1200px) {
    .news-wrap .tab-content .col-xl-5 {
        min-height: 410px;
    }
    .news-img1 {
        top: -80px;
        left: -30px;
    }
    .news-img2 {
        right: -50px;
        bottom: -20px;
        width: 240px;
    }
}

@media (min-width: 1600px) {
    .news-box {
        padding: 50px 150px;
    }
}







/*========================================================
                         住民開店
=========================================================*/

.shop-wrap {
    background: #eee0ca url("../img/index/shop-bg.jpg") no-repeat center top;
    background-size: 100% auto;
    padding-top: 60px;
    padding-bottom: 80px;
}
.shop-wrap .h2-title span:before, 
.shop-wrap .h2-title span:after {
    background-image: url("../img/index/shop-title-line.png");
}
.shop-wrap .h2-title + p {
	color: #a81c09;
}

.shop-item {
    position: relative;
    padding: 0 10px;
}
.shop-item-info {
    border: 1px solid #b6c434;
    border-radius: 5px;
    padding: 10px;
    background-color: #fff;
}
.shop-item-info .desc {
    padding: 20px 10px;
}
.shop-item-info .desc h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #cf1118;
    margin: 0 0 10px 0;
}
.shop-item-info .desc p {
    color: #565656;
    font-size: 0.9rem;
    line-height: 24px;
    margin: 0;
}
.shop-item-info .more {
    text-align: center;
}
.shop-item-info .more a {
    display: block;
    color: #fff;
    background-color: #db2128;
    border-radius: 5px;
    padding: 5px;
}

.shop-wrap .shop-item:nth-of-type(4n+1) .more a {
    background-color: #f79830;
}
.shop-wrap .shop-item:nth-of-type(4n+2) .more a {
    background-color: #b52b93;
}
.shop-wrap .shop-item:nth-of-type(4n+3) .more a {
    background-color: #2badb5;
}
.shop-wrap .shop-item:nth-of-type(4n+4) .more a {
    background-color: #a8b52b;
}
.shop-wrap .shop-item .more a:hover {
    background-color: #db2128;
}


@media (min-width: 768px) {
    .shop-wrap {
        padding-top: 80px;
    }
}
@media (min-width: 992px) {
    .shop-wrap {
        padding-top: 100px;
    }
}
@media (min-width: 1200px) {
    .shop-wrap {
        padding-top: 120px;
    }
}
@media (min-width: 1600px) {
    .shop-wrap {
        padding-top: 160px;
    }
}



/*========================================================
                         關於我們
=========================================================*/

.info-wrap {
    background-image: url("../img/index/about-bg2.jpg"), url("../img/index/about-bg2.jpg"), url("../img/index/about-bg1.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: bottom center, top center, bottom left;
    background-size: auto 30px, auto 30px, 300% auto;
    background-color: #e7e6e6;
    padding-top: 100px;
}

.about-wrap {

}
.about-wrap h3 {
    background-color: #b7c633;
    color: #000;
    border-radius: 20px;
    padding: 10px 20px;
}
.about-wrap h4 {
    color: #277013;
    font-size: 1.2rem;
    padding-left: 20px;
    margin-top: 0px;
}
.about-wrap p {
    color: #3c3c3c;
    padding: 20px;
    line-height: 36px;
}
.about-wrap .more {
    text-align: right;
    margin-right: 40px;
}
.about-wrap .more a {
    color: #000;
    font-size: 1.2rem;
}
.about-wrap .more a i {
    color: #599230;
    font-size: 1.4rem;
}


.service-wrap ul {
    list-style: none;
	margin: 20px 0 0 1em;
    padding: 0;
    color: #1c1c1c;
}
.service-wrap ul li {
	margin: 0 0 10px 0;	
}
.service-wrap ul li:first-letter {
    margin-left: -1em;
}	

@media (max-width: 1199px) {
    .service-wrap {
        margin: 40px 0 200px 0;
    }
    .service-wrap h3 {
        background-color: #b7c633;
        color: #000;
        border-radius: 20px;
        padding: 10px 20px;
    }
    .service-info {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media (min-width: 640px) and (max-width: 1199px) {
    .info-wrap {
        background-size: auto 30px, auto 30px, 300% auto;
        padding-top: 100px;
    }
    .service-wrap {
        margin: 40px 0 300px 0;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .info-wrap {
        background-size: auto 30px, auto 30px, 200% auto;
    }
}
@media (min-width: 1200px) {
    .info-wrap {
        background-image: url("../img/index/about-bg2.jpg"), url("../img/index/about-bg2.jpg"), url("../img/index/about-bg.jpg");
        background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
        background-position: bottom center, top center, bottom left;
        background-size: 100% 30px, 100% 30px, 100% auto;
    }
    .service-wrap h3:after {
        content: '';
        display: block;
        width: 100%;
        height: 2px;
        background-color: #b7c633;
        margin: 20px 0 30px;
    }
}
@media (min-width: 1200px) and (max-width: 1599px) {
    .info-wrap {
        background-size: 100% 30px, 100% 30px, 100% auto;
        min-height: 800px;
        padding-top: 120px;
    }
    .service-wrap {
        margin: 280px 100px 0 30px;
    }
    .service-wrap ul li:nth-of-type(-n+4) {
        display: inline-block;
        width: 49%;
    }
}
@media (min-width: 1600px) {
    .info-wrap {
        background-size: 100% 30px, 100% 30px, 100% auto;
        min-height: 900px;
        padding-top: 160px;
    }
    .service-wrap {
        margin: 280px 100px 0 50px;
    }
}
@media (min-width: 1800px) {
    .info-wrap {
        background-size: 100% 30px, 100% 30px, 100% 100%;
        min-height: 900px;
        padding-top: 160px;
    }
    .service-wrap {
        margin: 260px 100px 0 100px;
    }
}


/*========================================================
                         活動紀實
=========================================================*/

.event-wrap {
    background-image: url("../img/index/event-bg1.png"), url("../img/index/event-bg3.png"), url("../img/index/event-bg4.png");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: top center, top left, top right;
    background-size: auto 30px, auto 100px, auto 100px;    
/*    background-image: url("../img/index/event-bg1.png"), url("../img/index/event-bg2.png"), url("../img/index/event-bg3.png"), url("../img/index/event-bg4.png");
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: top center, bottom center, top left, top right;
    background-size: auto 30px, auto 30px, auto 100px, auto 100px;*/
    background-color: #e4ebd2;
    padding-top: 80px;
    padding-bottom: 60px;
}
.event-wrap .h2-title span:before, 
.event-wrap .h2-title span:after {
    background-image: url("../img/index/event-title-line.png");
}
.event-wrap .h2-title + p {
	color: #587118;
}

.event-item-img {
/*
    background-color: #fff;
    box-shadow: 0 0 10px #adadad;
    padding: 10px;
*/
    border-radius: 10px;
    overflow: hidden;
}
.event-item-desc {
    text-align: center;
    font-weight: bold;
    color: #000;
    margin: 10px 0 40px 0;
}


@media (min-width: 768px) {
    .event-wrap {
        background-size: auto 44px, auto 44px, auto 140px, auto 140px;
        padding-top: 100px;
    }
}
@media (min-width: 992px) {
    .event-wrap {
        background-size: auto 44px, auto 44px, auto 140px, auto 140px;
        padding-top: 100px;
    }
}
@media (min-width: 1200px) {
    .event-wrap {
        background-size: auto 44px, auto 44px, auto 160px, auto 160px;
        padding-top: 100px;
    }
}
@media (min-width: 1600px) {
    .event-wrap {
        background-size: auto 44px, auto 44px, auto 180px, auto 180px;
        padding-top: 120px;
    }
}



