
@import url(../fonts/font-awesome/font-awesome.min.css);
@import url(../fonts/flaticon/flaticon.css);
@import url(revise.css);
@import url(header.css);
@import url(footer.css);
@import url(hover.css);
@import url(banner.css);

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

.h2-title {
    background-image: url("../images/index/h2-bg1.png"),url("../images/index/h2-bg2.png"),url("../images/index/h2-bg3.png"),linear-gradient(to right,  #610202 0%,#6e1605 50%,#610202 100%);
    background-repeat: no-repeat, no-repeat, repeat-x, no-repeat;
    background-position: top left, top right, top left, center center;
    background-size: auto 60px, auto 60px, auto 60px, auto 60px;
    padding: 9px 7px 6px 7px;
    color: #ffd248;
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
.h2-title img.img1 {
    height: 50px;
    position: absolute;
	top: 50%;
	left: 3%;
	transform: translateY(-50%);
    z-index: 9;
    mix-blend-mode: soft-light;
}
.h2-title img.img2 {
    height: 50px;
    position: absolute;
	top: 50%;
	right: 3%;
	transform: translateY(-50%);
    z-index: 9;
    mix-blend-mode: soft-light;
}
.h3-title {
    background-image: url("../images/index/h3-bg1.png"),url("../images/index/h3-bg2.png"),url("../images/index/h3-bg3.png"),linear-gradient(to right,  #620302 0%,#80220a 50%,#620302 100%);
    background-repeat: no-repeat, no-repeat, repeat-x, no-repeat;
    background-position: top left, top right, top left, center center;
    background-size: auto 60px, auto 60px, auto 60px, auto 60px;
    line-height: 60px;
    color: #ffd248;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}
.h4-title {
    color: #ffd248;
    font-size: 1.6rem;
    font-weight: bold;
}



/*========================================================
                         訊息發佈
=========================================================*/

/*
.news-wrap {
    background-image: url("../images/index/news-bg1.jpg"),url("../images/index/news-bg2.jpg"),url("../images/index/news-bg3.jpg"),url("../images/index/news-bg4.jpg"),url("../images/index/news-bg5.jpg"),url("../images/index/news-bg6.jpg"),url("../images/index/news-bg7.jpg"),url("../images/index/news-bg8.jpg"),url("../images/index/news-bg9.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat-x, repeat-y, repeat-y, repeat-x, repeat;
    background-position: top left, top right, bottom left, bottom right, top center, left center, right center, bottom center, center center;
    background-size: 60px auto, 60px auto, 60px auto, 60px auto, auto 60px, 60px auto, 60px auto, auto 60px, auto 60px;
}
*/

.news-wrap {
	margin: 60px 5% 60px;
    border: 10px solid #e6bb16;
    outline: 2px solid #610303;
    padding: 10px;
	background: #610303 url("../images/index/news-bg1.jpg") no-repeat right center;
	background-size: auto 100%;    
}
.news-wrap h2 {
    border: 1px solid #e6bb16;
    text-align: center;
    color: #e1c421;
    padding: 5px;  
}
.news-wrap .slick-list {
    margin: 0;
}
.news-box {
    position: relative;
    color: #fff;
    border: 1px solid #e6bb16;
    padding: 20px 5px 50px;
    font-size: 1.4rem;
	background: url("../images/index/news-bg2.png") no-repeat right bottom;
	background-size: 150px auto;   
}
.news-box dl, .news-box dt, .news-box dd {
    margin: 0;
}
.news-box dl dt img {
    width: 100%;
    vertical-align: bottom;
}

/*  尺寸設定 */
@media (max-width: 639px) {
    .news-wrap {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}
@media (max-width: 991px) {
    .news-box {
        font-size: 1.2rem; 
    }
    .news-box dl dt img {
        margin-bottom: 20px;
    }
    .news-box dl dd {
        margin-bottom: 40px;
    }
}



/*========================================================
                         建宮沿史
=========================================================*/

.history-wrap {
	padding: 30px 5% 30px;
    color: #f4d487;
}
.history-wrap .row {
    margin-left: 0;
    margin-right: 0;
}
.history-wrap .info > div {
    background-image: url("../images/index/history-bg1.jpg"),url("../images/index/history-bg2.jpg"),url("../images/index/history-bg3.jpg"),url("../images/index/history-bg4.jpg"),url("../images/index/history-bg5.jpg"),url("../images/index/history-bg6.jpg"),url("../images/index/history-bg7.jpg"),url("../images/index/history-bg8.jpg"),url("../images/index/history-bg9.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat-x, repeat-y, repeat-y, repeat-x, repeat;
    background-position: top left, top right, bottom left, bottom right, top center, left center, right center, bottom center, center center;
    background-size: 50px auto, 50px auto, 50px auto, 50px auto, auto 50px, 50px auto, 50px auto, auto 50px, auto 50px;
    padding: 30px;
    margin-bottom: 20px;

}
.history-wrap .info > div img {
    border: 3px solid #f6c519;
}


/*  尺寸設定 */
@media (min-width: 992px) {
    .history-wrap .info > div {
        float: right;
        margin-right: 40px;
        margin-top: 8px;
    }
    .history-wrap .info > div img {
        width: 400px;
    }
}
@media (min-width: 1600px) {
    .history-wrap .info > div {
        padding: 40px;
    }
    .history-wrap .info > div img {
        width: 560px;
    }
}


/*========================================================
                         服務項目
=========================================================*/

.service-wrap {
	background-color: #610303;
    padding: 20px;
    text-align: center;
    margin-bottom: 50px;
}
.service-wrap > div {
    background-image: url("../images/index/service-bg1.jpg"),url("../images/index/service-bg2.jpg"),url("../images/index/service-bg3.jpg"),url("../images/index/service-bg4.jpg"),url("../images/index/service-bg5.jpg"),url("../images/index/service-bg6.jpg"),url("../images/index/service-bg7.jpg"),url("../images/index/service-bg8.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat-x, repeat-y, repeat-y, repeat-x;
    background-position: top left, top right, bottom left, bottom right, top center, left center, right center, bottom center;
    background-size: 90px auto, 90px auto, 90px auto, 90px auto, auto 90px, 90px auto, 90px auto, auto 90px;
    padding: 30px;
}
.service-wrap h2 span {
    background-image: url("../images/index/service-icon1.png"),url("../images/index/service-icon2.png");
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right center;
    background-size: auto 24px, auto 24px;
    padding: 0 40px;
    color: #ffd248;
    font-weight: bold;
    font-size: 1.6rem;
}
.service-wrap h2+p {
    color: #ecd9ac;
    font-weight: bold;
    margin-bottom: 30px;
    font-size: 1rem;
}
.service-wrap [class*="col-"] {
    position: relative;
}
.service-wrap [class*="col-"] img {
    width: 100%;
    vertical-align: bottom;
    border: 6px solid #f6c519;
    margin-bottom: 30px;
    height: 200px;
    object-fit: cover;
}
.service-wrap [class*="col-"] p {
    position: absolute;
    left: 40px;
    top: 30px;
    z-index: 9;
    color: #f6c519;
    font-weight: bold;
	text-shadow: 2px 2px 2px #000;
    font-size: 1.2rem;
}

/*  尺寸設定 */
@media (min-width: 640px) {
    .service-wrap > div {
        padding: 50px;
    }    
    .service-wrap h2 span {
        background-image: url("../images/index/service-icon1.png"),url("../images/index/service-icon2.png");
        background-repeat: no-repeat, no-repeat;
        background-position: left center, right center;
        background-size: auto 32px, auto 32px;
        padding: 0 60px;
        font-size: 2rem;
    }    
    .service-wrap h2+p {
        font-size: 1.2rem;
    }    
    .service-wrap [class*="col-"] img {
        height: 450px;
    }
    .service-wrap [class*="col-"] p {
        font-size: 1.6rem;
    }    
}
@media (min-width: 768px) {
    .service-wrap [class*="col-"] img {
        height: 300px;
    }
}
@media (min-width: 992px) {
    .service-wrap [class*="col-"] img {
        height: 240px;
    }
}
@media (min-width: 1200px) {
    .service-wrap [class*="col-"] img {
        height: 237px;
    }
}
@media (min-width: 1600px) {
    .service-wrap [class*="col-"] img {
        height: 330px;
    }
}
@media (min-width: 1800px) {
    .service-wrap [class*="col-"] img {
        height: 390px;
    }
}



/*========================================================
                         奉祀神尊
=========================================================*/

.god-wrap {
	padding: 30px 5% 30px;
    color: #f4d487;
}
.god-wrap [class*="col-"] img {
    border: 5px solid #f6c519;
}
.god-wrap [class*="col-"] img {
    border: 5px solid #f6c519;
}
.god-wrap .info [class*="col-"]{
    padding-left: 5px;
    padding-right: 5px;
}
.god-wrap .Img {
    margin-bottom: 30px;
}

/*  尺寸設定 */
@media (min-width: 992px) {
    .god-wrap .Img {
        object-fit: cover;
        height: 612px;
    }
}
@media (min-width: 1200px) {
    .god-wrap .Img {
        height: 574px;
    }
}
@media (min-width: 1600px) {
    .god-wrap .Img {
        height: 578px;
    }
}
@media (min-width: 1800px) {
    .god-wrap .Img {
        height: 514px;
    }
}


/*========================================================
                         神明介紹
=========================================================*/

.intro-wrap {
	padding: 30px 5% 30px;
    color: #f4d487;
}
.intro-wrap [class*="col-"] p {
	padding-top: 20px;
    padding-bottom: 40px;
}

/*  尺寸設定 */
@media (max-width: 639px) {
    .intro-wrap [class*="col-"] p {
        padding-top: 10px;
        padding-bottom: 20px;
    }
}


/*========================================================
                     交通資訊&聯絡資訊
=========================================================*/

.contact-wrap {
	padding: 0 5%;
    color: #f4d487;
}
.contact-wrap [class*="col-"] p {
	padding-top: 20px;
    padding-bottom: 40px;
}

.contact-info {
    border: 3px solid #e1c421;
    padding: 20px 20px 10px 20px;
    background-color: #610202;
    text-align: center;
}
.contact-info iframe {
    border: 10px solid #e1c421 !important;
}
.contact-info ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}


/*  尺寸設定 */
@media (max-width: 639px) {
    .contact-info iframe {
        height: 200px !important;
        border: 5px solid #e1c421 !important;
    }    
}
@media (min-width: 640px) {   
    .contact-info {
        padding: 40px 40px 20px 40px;
    }
}


/*========================================================
                         圖片效果
=========================================================*/

a.figure {
	display: block;
	position: relative;
	}
a.figure:hover:before {
    opacity: 0.3;
    -webkit-transform: scale(1);
    transform: scale(1);
}
a.figure:before {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    right: 6px;
    z-index: 10;
    content: '';
    display: inline-block;
    background-color: #fff;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s;
}

.image-box .image-pic {
	position: relative;
}
.image-box .image-pic > img {
	width: 100%;
	vertical-align: bottom;
}
.image-box .image-pic a {
	display: block;
	color: #fff;
}
.image-box .image-pic:hover .thumb-inner {
	display: block;
}
.image-box .image-pic:before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 5;
	width: 100%;
	height: 10%;
	opacity: 0;
	transition: all 0.3s;
}
.image-box .image-pic:hover:before {
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 1;
	height: 100%;
}
.thumb-inner {
	display: none;
	position: absolute;
	left: 0;
	top: 50%;
	z-index: 6;
	transform: translateY(-50%);
	width: 100%;
	text-align: center;

}
.thumb-inner span {
	display: inline-block;
	color: #fff;
	font-size: 1rem;
	padding: 1px 20px 3px;
	border: 1px solid #fff;
}

