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


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

.s-header {
    text-align: center;
    overflow: hidden;
    margin-bottom: 30px;
}
.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;
}

@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%;
    }
}



.purple .h2-title span:before, 
.purple .h2-title span:after {
    background-image: url("../img/title-line-purple.png");
}
.orange .h2-title span:before, 
.orange .h2-title span:after {
    background-image: url("../img/title-line-orange.png");
}
.blue .h2-title span:before, 
.blue .h2-title span:after {
    background-image: url("../img/title-line-blue.png");
}
.pink .h2-title span:before, 
.pink .h2-title span:after {
    background-image: url("../img/title-line-pink.png");
}
.green .h2-title span:before, 
.green .h2-title span:after {
    background-image: url("../img/title-line-red.png");
}
.red .h2-title span:before, 
.red .h2-title span:after {
    background-image: url("../img/title-line-red.png");
}

.h3-title {
    border-left: 7px solid #e71f19;
    padding-left: 10px;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: bold;
}



/*========================================================
                      	 內頁框架
=========================================================*/

.content-wrap {
    background-image: url("../img/index/news-list-bg1.jpg"), url("../img/index/news-list-bg2.jpg"), url("../img/content-bg2.png"), url("../img/content-bg.jpg");
    background-repeat: repeat-x, repeat-x, no-repeat, no-repeat;
    background-position: center top, center bottom, center bottom, center center;
    background-size: 100% 10px, 100% 10px, 240% auto, cover;
    padding-top: 70px;
    padding-bottom: 120px;
    background-color: #fff;
    animation: case-animation 120s linear infinite;    
}

/*
@keyframes case-animation {
    0% { background-position: 0 top, 3048px bottom, center bottom, center center; }
    100% { background-position: 3048px top, 0 bottom, center bottom, center center; }
}
*/



/* 麵包屑 */
.breadcrumbs {
    background-color: #1b9c63;
	text-align: left;
    font-size: 1rem;
    padding-top: 7px;
    padding-bottom: 7px;
    color: #fff;
}
.breadcrumbs a {
	display: inline-block;
	color: #fff;
}
.breadcrumbs a:hover {
	text-decoration: underline;
}
.breadcrumbs a.home i {
    display: inline-block;
    margin-right: 3px;
    color: #fff;
}
.breadcrumbs span {
	margin: 0 2px 0 4px;
	color: #fff;
	font-size: 1.4rem;
	font-weight: bold;
}

@media (min-width: 640px) {
    .content-wrap {
        background-size: 100% 10px, 100% 10px, 150% auto, cover;
        padding-bottom: 140px;
    }
}
@media (min-width: 992px) {
    .content-wrap {
        background-size: 100% 10px, 100% 10px, 100% auto, cover;
    }
}
@media (min-width: 1200px) {
    .content-wrap {
        padding-bottom: 160px;
    }
}
@media (min-width: 1600px) {
    .content-wrap {
        padding-bottom: 220px;
    }
}


/*========================================================
                      	次選單設定
=========================================================*/

.navsub {
	margin-bottom: 40px;
	text-align: center;
}
.navsub-main {
	font-size: 1rem;
	color: #fff;
    margin-bottom: 20px;
}
.navsub-main ul {
	list-style: none;
    margin: 0;
    padding: 0;
}
.navsub-main ul li {
	display: inline-block;
}
.navsub-main ul li a {
    display: inline-block;
	padding: 3px 20px;
    margin: 0 7px 15px;
    background-color: #ddd;
	color: #000;
}
.navsub-main ul li a:hover, .navsub-main ul li a.active {
    background-color: #132c46;
    color: #fff;
}


.navsub-sub {
	font-size: 1rem;
	color: #fff;
}
.navsub-sub ul {
	list-style: none;
    margin: 0;
    padding: 0;
}
.navsub-sub ul li {
	display: inline-block;
}
.navsub-sub ul li a {
    display: inline-block;
	padding: 0 15px;
    margin: 0;
	color: #000;
}
.navsub-sub ul li a:hover, .navsub-sub ul li a.active {
    background-color: #aac9eb;
}

@media (min-width: 1200px) {
    .navsub-main {
        font-size: 1.2rem;
    }
    .navsub-sub {
        font-size: 1.1rem;
    }
}


/*========================================================
                         回目錄頁
=========================================================*/

.btn-back {
	text-align: right;
	padding-top: 20px;
}
.btn-back a {
    background-color: #dc2128;
	padding: 5px 20px 7px;
	border-radius: 5px;
	color: #fff;
}
.btn-back a:hover {
    background-color: #343087;
	color: #fff;
	text-decoration: none;
}


/*========================================================
                         共同設定
=========================================================*/

.commonStyle {
    margin-bottom: 80px;
}
.commonStyle-img {
    margin-top: 30px;
    position: relative;
}

/* 尺寸設定 */
@media (max-width: 767px) {
    .commonStyle-img img {
        width: 49%;
        margin-bottom: 20px;
    }
}
@media (min-width: 768px) {
    .commonStyle-img {
        margin-top: 30px;
        position: relative;
        height: 340px;
        overflow: hidden;
    }
    .commonStyle-img img {
        width: 30%;
        clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
    }
    .commonStyle-img img:nth-of-type(1) { 
        clip-path: polygon(0 0, 100% 0%, 80% 100%, 0% 100%);
        position: absolute;
        left: -3%;
    }
    .commonStyle-img img:nth-of-type(2) { 
        position: absolute;
        left: 22%;
    }
    .commonStyle-img img:nth-of-type(3) { 
        position: absolute;
        left: 47%;
    }
    .commonStyle-img img:nth-of-type(4) {
        position: absolute;
        left: 72%;
        clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
    .commonStyle-img {
        height: 155px;
    }
}
@media (min-width: 992px) {
    .commonStyle-img {
        height: 210px;
    }
}
@media (min-width: 1200px) {
    .commonStyle-img {
        height: 250px;
    }
}
@media (min-width: 1600px) {
    .commonStyle-img {
        height: 300px;
    }
}



/*========================================================
                         中心簡介
=========================================================*/

.service-item {
    display: flex;
    align-items: center !important;
    box-shadow: 0 0 5px #adadad;
	margin: 0 0 20px 0;
	background-color: #fff;
	border-radius: 10px;
	padding: 20px;    
}
.service-item > div:first-of-type {
    margin-right: 20px;
}
.service-item h4 {
    font-size: 1.4rem;
	margin: 0;
	font-weight: bold;
}
.service-item p {
    margin: 0;
}


@media (min-width: 1200px) and (max-width: 1599px) {   
    .service-wrap [class*="col-"]:nth-of-type(n+5) .service-item {
        min-height: 122px;  
    }
}



/*========================================================
                         新聞中心
=========================================================*/

/* 年度選擇 */
.year-wrap {
    max-width: 540px;
    width: 100%;
    margin-left: auto;
    margin-bottom: 40px;
}
.year-wrap .input-group-prepend label {
    background-color: #f2843b;
    color: #fff;
    border-color: #f2843b;
}

/* 框架 */
.news-item {
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	transform: translateY(0);
	transition: .3s ease-out transform;
    box-shadow: 0 4px 21px -12px rgb(0 0 0 / 66%);
    overflow: hidden;
}
.news-item:hover {
	transform: translateY(-5px);
}
.news-item + .news-item {
	margin-top: 35px;
}
.news-item-img img {
    width: 100%;
}

/* 內容 */
.news-item-info {
	padding: 20px;
	background-color: #fff;
	transition: .3s ease-out box-shadow;
    position: relative;
}
.news-item-info > div {
	margin-top: 0;
/*	padding-top: 20px;
	border-top: 1px solid rgba(127, 127, 127, 0.2);*/
}
.news-item-info h4 {
    font-weight: bold;
}
.news-item-info p {
    margin: 0;
}

/*@media (min-width: 768px) {   
    .news-item-info:before {
        content: "";
        position: absolute;
        display: block;
        top: -20%;
        height: 130%;
        width: 30px; 
        background-color: #fff;
        z-index: 5;
        left: -12px !important;
        transform: rotate(4deg);
    }
}*/

/* 時間+外連 */
.news-wrap .news-item-info-row {
    display: flex;
    font-size: 1rem;
    color: #63636b;
    margin: 0 2px 6px 2px;
}
.news-wrap .news-item-info-row > div {
    margin-right: 20px;
}
.news-wrap .news-item-info-row a {
    color: #63636b;
}
.news-wrap .news-item-info-row a:hover {
    text-decoration: underline;
}
.news-wrap .news-item-info-row {
    line-height: 24px;
    margin-bottom: 14px;
}
.news-wrap .news-item-date {
    background-color: #c5880d;
    color: #fff;
    padding: 0 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-right: 20px;
}
.news-wrap .news-item-info-row i {
    margin-right: 5px;
}

/* 了解更多 */
.news-wrap .news-item-more {
    text-align: right;
}
.news-wrap .news-item-more a {
    font-weight: bold;
    color: #c5880d;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.95rem;
}
.news-wrap .news-item-more a:hover {
    color: #a81c09;
}
.news-wrap .news-item-more i {
    position: relative;
    left: -10px;
    opacity: 0;
	animation: btn-more 1.5s infinite;
}


/* 尺寸設定 */
@media (min-width: 768px) {
	.news-item {
		display: flex;
        align-items: center;
	}
	.news-item-img {
		display: flex;
		width: 200px;
        height: 240px;    
		flex-shrink: 0;
        justify-content: center;
	}    
	.news-item-img img {
		object-fit: cover;
        object-position: center center;
		width: auto;
		height: 240px !important;
	}
    .news-item-info {
        width: calc(100% - 200px);
        border-left: none;
    }
    .news-item-info > div {
        width: 100%;
    }
}
@media (min-width: 992px) {
	.news-item-img {
		width: 320px;
	}
	.news-item-info {
		display: flex;
		padding: 20px 20px 20px 0;
        width: calc(100% - 320px);
	}
	.news-item-info > div {
        padding-left: 40px;
        padding-right: 30px;
/*        padding: 30px 30px 0 40px;*/
		margin: 0;
		border-top: 0;
		border-left: 1px solid rgba(127, 127, 127, 0.2);
	}
	.news-item + .news-item {
		margin-top: 50px;
	}
}
@media (min-width: 1600px) {
    .news-item {
        max-height: 240px;
        overflow: hidden;
    }
}

/*========================================================
                   	新聞中心內頁
=========================================================*/


.news-detail {
	text-align: left;
}
.news-detail img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.news-detail-title {
	text-align: left;
	margin: 0 0 20px 0;
	color: #333;
	font-weight: bold;
    font-size: 1.8rem;
}
.news-detail-content {
    margin-bottom: 40px;
}
.news-detail-link {
    border-top: 2px dashed #adadad;
    border-bottom: 2px dashed #adadad;
    padding: 1rem;
    font-size: 0.9rem;
    background-color: #ededed;
}
.news-detail-link h4 {
    font-size: 1.1rem;
    font-weight: bold;
}
.news-detail-link a {
    display: inline-block;
    color: #333;
    text-decoration: underline;
    margin-left: 10px;
}
.news-detail-link a:hover {
    text-decoration: none;
}


/* 分類+外連 */
.news-detail-row {
    display: flex;
    font-size: 1rem;
    color: #63636b;
    margin: 0 2px 6px 2px;
}
.news-detail-row a {
    color: #63636b;
}
.news-detail-row a:hover {
    text-decoration: underline;
}
.news-detail-row {
    line-height: 24px;
    margin-bottom: 14px;
}
.news-detail-row .news-detail-sort {
    color: #fff;
    padding: 0 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}
.news-detail-row .news-detail-date {
    background-color: #c5880d;
    color: #fff;
    padding: 0 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}
.news-detail-row .news-detail-date i {
    margin-right: 6px;
}



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

/* 框架 */
.event-item {
	margin-left: auto;
	margin-right: auto;
	text-align: left;
/*
	transform: translateY(0);
	transition: .3s ease-out transform;
*/
	background-color: #ffffff;
	box-shadow: 0 0 16px rgba(0, 0, 0, 0.16);
    transition: .3s ease-out box-shadow;
}
.event-item:hover {
	transform: translateY(-5px);
    box-shadow: 0 0 22px rgba(0, 0, 0, 0.22);   
    transition: .3s ease-out;    
}

.event-item + .event-item {
	margin-top: 35px;
}

.event-item-img img {
    width: 100%;
}
    


/*.event-item-img {
    height: 240px;
}*/


/* 內容 */
.event-item-info {
	padding: 0 20px 20px 20px;
/*	background-color: #ffffff;
	box-shadow: 0 0 16px rgba(0, 0, 0, 0.16);
	transition: .3s ease-out box-shadow;*/
}
.event-item-content {
	margin-top: 10px;
/*	padding-top: 15px;
	border-top: 1px solid rgba(127, 127, 127, 0.2);*/
}
.event-item-content h4 {
    font-weight: bold;
}
.event-item-content p {
    margin: 0;
}

/* 時間 */
.event-item-time {
    font-family: 'Cormorant', serif;
    font-family: 'Playfair Display', serif;
	font-size: 3.6rem;
    line-height: 40px;
	color: #353744;
    font-weight: bold;
    padding-top: 20px;
}
.event-item-time time span {
	display: inline-block;
    margin-left: 10px;
	vertical-align: baseline;
	font-size: 1.3rem;
}

/* 分類+外連 */
.event-item-info-row {
    display: flex;
    font-size: 1rem;
    color: #63636b;
    margin: 0 2px 6px 2px;
}
.event-item-info-row > div {
    margin-right: 20px;
}
.event-item-info-row a {
    color: #63636b;
}
.event-item-info-row a:hover {
    text-decoration: underline;
}
.event-item-info-row {
    line-height: 24px;
    margin-bottom: 14px;
}
.event-item-sort {
    background-color: #333;
    color: #fff;
    padding: 0 10px;
    border-radius: 3px;
    font-size: 0.8rem;
}
.event-item-info-row i {
    margin-right: 5px;
}

/* 了解更多 */
.event-wrap .event-item-more {
    text-align: right;
}
.event-wrap .event-item-more a {
    font-weight: bold;
    color: #333;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.9rem;
}
.event-wrap .event-item-more a:hover {
    background-color: #333;    
    color: #fff;
}

.event-wrap .event-item-more i {
    position: relative;
    left: -10px;
    opacity: 0;
	animation: btn-more 1.5s infinite;
}


/* 尺寸設定 */
@media (min-width: 768px) {
	.event-item {
		display: flex;
        align-items: center;
	}
	.event-item-img {
		display: flex;
		width: 200px;
        height: 200px;
		flex-shrink: 0;
        justify-content: center;
	}
	.event-item-img img {
		object-fit: cover;
        object-position: center center;
        width: auto !important;
		height: 100% !important;
	}
    .event-item-info {
        width: calc(100% - 200px);
    }
    .event-item-content {
        width: 100%;
    }
}
@media (min-width: 992px) {
	.event-item-img {
		width: 270px;
	}  
	.event-item-info {
		display: flex;
		padding: 20px 20px 20px 0;
        width: calc(100% - 270px);
	}
	.event-item-content {
        padding: 10px 30px 0 40px;
		margin: 0;
		border-top: 0;
/*		border-left: 1px solid rgba(127, 127, 127, 0.2);*/
	}
	.event-item-time {
		position: relative;
		top: -10px;
		width: 136px;
		text-align: center;
		flex-shrink: 0;
        border-left: 1px solid rgba(127, 127, 127, 0.2);
        border-right: 1px solid rgba(127, 127, 127, 0.2);    
	}
	.event-item-time time span {
		display: block;
		margin-left: 0;
        margin-top: 10px;
	}
	.event-item + .event-item {
		margin-top: 50px;
	}
}


/*========================================================
                      活動紀實內頁設定
=========================================================*/

.event-detail { 
}
.event-detail-date span {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-right: 10px;
}
.event-detail-text {
    background-color: rgba(181, 196, 51, 0.2);
    padding: 40px;
    margin-bottom: 40px;
}
.event-detail-text h4 {
   font-weight: bold; 
}
.event-detail-text p {
   margin: 0; 
}

.event-detail-pic {
    text-align: center;
}
.event-detail-pic img {
    width: 100%;
	margin: 0 auto;
    padding: 10px;
/*	border: 10px solid #fff;
    box-shadow: 0 4px 21px -12px rgb(0 0 0 / 66%);*/
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
    max-width: 100%;    
}
.event-detail-pic a:hover img {
	transform: translateY(-10px);
}
.event-pic-row [class*="col-"] p {
    text-align: center;
    margin: 5px 0 20px;
}

@media (min-width: 768px) {
    .event-detail-pic img {
        width: auto;
        height: 250px;
    }
}
@media (min-width: 992px) {
	.event-detail-pic img {
		height: 220px;
	}
}
@media (min-width: 1200px) {
	.event-detail-pic img {
		height: 180px;
	}
}
@media (min-width: 1600px) {
	.event-detail-pic img {
		height: 258px;
	}
}


/*========================================================
                      新聞中心,顏色設定
=========================================================*/

.purple .input-group-prepend label {
    background-color: #343087;
    border-color: #343087;
}
.purple .picture-effect a:before {
    background-color: rgba(52, 48, 135, 0.4);
}
.purple .news-item-date,
.purple .news-detail-date,
.purple .event-item-sort,
.purple .event-detail-date span,
.purple.btn-back a {
    background-color: #343087;
}
.purple .news-item-more a,
.purple .event-item-more a {
    color: #343087;
}
.purple .news-item-more a:hover,
.purple .event-item-more a:hover {
    background-color: #343087;    
    color: #fff;
}
.purple .event-detail-text {
    background-color: rgba(52, 48, 135, 0.2);
}

.orange .input-group-prepend label {
    background-color: #f79830;
    border-color: #f79830;
}
.orange .picture-effect a:before {
    background-color: rgba(247, 152, 48, 0.4);
}
.orange .news-item-date,
.orange .news-detail-date,
.orange .event-item-sort,
.orange .event-detail-date span,
.orange.btn-back a {
    background-color: #f79830;
}
.orange .news-item-more a,
.orange .event-item-more a {
    color: #f79830;
}
.orange .news-item-more a:hover,
.orange .event-item-more a:hover {
    background-color: #f79830;    
    color: #fff;
}
.orange .event-detail-text {
    background-color: rgba(247, 152, 48, 0.2);
}

.blue .input-group-prepend label {
    background-color: #22b4e5;
    border-color: #22b4e5;
}
.blue .picture-effect a:before {
    background-color: rgba(34, 180, 229, 0.4);
}
.blue .news-item-date,
.blue .news-detail-date,
.blue .event-item-sort,
.blue .event-detail-date span,
.blue.btn-back a {
    background-color: #22b4e5;
}
.blue .news-item-more a,
.blue .event-item-more a {
    color: #22b4e5;
}
.blue .news-item-more a:hover,
.blue .event-item-more a:hover {
    background-color: #22b4e5;    
    color: #fff;
}
.blue .event-detail-text {
    background-color: rgba(34, 180, 229, 0.2);
}

.pink .input-group-prepend label {
    background-color: #df1176;
    border-color: #df1176;
}
.pink .picture-effect a:before {
    background-color: rgba(223, 17, 118, 0.4);
}
.pink .news-item-date,
.pink .news-detail-date,
.pink .event-item-sort,
.pink .event-detail-date span,
.pink.btn-back a {
    background-color: #df1176;
}
.pink .news-item-more a,
.pink .event-item-more a {
    color: #df1176;
}
.pink .news-item-more a:hover,
.pink .event-item-more a:hover {
    background-color: #df1176;   
    color: #fff;
}
.pink .event-detail-text {
    background-color: rgba(223, 17, 118, 0.2);
}

.green .input-group-prepend label {
    background-color: #8b9722;
    border-color: #8b9722;
}
.green .picture-effect a:before {
    background-color: rgba(181, 196, 51, 0.4);
}
.green .news-item-date,
.green .news-detail-date,
.green .event-item-sort,
.green .event-detail-date span,
.green.btn-back a {
    background-color: #8b9722;
}
.green .news-item-more a,
.green .event-item-more a {
    color: #8b9722;
}
.green .news-item-more a:hover,
.green .event-item-more a:hover {
    background-color: #8b9722;   
    color: #fff;
}
.green .event-detail-text {
    background-color: rgba(181, 196, 51, 0.2);
}

.purple.btn-back a:hover,
.orange.btn-back a:hover,
.blue.btn-back a:hover,
.pink.btn-back a:hover,
.green.btn-back a:hover {
    background-color: #dc2128;
}


/*========================================================
                        檔案下載
=========================================================*/

.download-wrap {
	margin-bottom: 40px;
}
.download-wrap a {
	color: #333;
}
.download-wrap dl {
	clear: both;
	overflow: hidden;
	margin: 0;
	padding: 20px 30px 16px;
	border-bottom: 1px dashed #adadad;
}
.download-wrap dl dt time {
	display: inline-block;
	background-color: #2aa0c7;
	color: #fff;
	text-align: center;
	padding: 0 10px;
	margin-bottom: 6px;
    border-radius: 5px;
}
.download-wrap dd {
	overflow: hidden;
	line-height: 30px;
    margin: 0;
    position: relative;
    padding-right: 100px;
}
.download-wrap dd span {
	position: absolute;
    right: 0;
    top: 0;
    z-index: 3;
    width: 80px;
}

.download-wrap dd span i {
	color: #b42181;
}
.download-wrap > a {
	display: block;
}
.download-wrap > a:nth-of-type(2n+2) {
	background-color: #f4f4f4;
}
.download-wrap > a:hover {
	background-color: #e0eef5;
}


/*
.download-wrap dl:nth-of-type(5n+1) dt time {
	background-color: #4c4992;
}
.download-wrap dl:nth-of-type(5n+1) dd span i {
	color: #4c4992;
}
.download-wrap dl:nth-of-type(5n+2) dt time {
	background-color: #f79830;
}
.download-wrap dl:nth-of-type(5n+2) dd span i {
	color: #f79830;
}
.download-wrap dl:nth-of-type(5n+3) dt time {
	background-color: #2baad5;
}
.download-wrap dl:nth-of-type(5n+3) dd span i {
	color: #2baad5;
}
.download-wrap dl:nth-of-type(5n+4) dt time {
	background-color: #d6227a;
}
.download-wrap dl:nth-of-type(5n+4) dd span i {
	color: #d6227a;
}
.download-wrap dl:nth-of-type(5n+5) dt time {
	background-color: #a3af3a;
}
.download-wrap dl:nth-of-type(5n+5) dd span i {
	color: #a3af3a;
}
*/


/* 尺寸設定 */
@media (min-width: 640px) {
	.download-wrap dl dt {
		float: left;
		margin-right: 10px;
	}
}





/*========================================================
                         商店介紹
=========================================================*/

.shop-wrap [class*="col-"] {
    margin-bottom: 40px;
}
.shop-item {
    position: relative;
}
.shop-item-info {
    border: 1px solid #a85342;
    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 [class*="col-"]:nth-of-type(4n+1) .more a {
    background-color: #f79830;
}
.shop-wrap [class*="col-"]:nth-of-type(4n+2) .more a {
    background-color: #b52b93;
}
.shop-wrap [class*="col-"]:nth-of-type(4n+3) .more a {
    background-color: #2badb5;
}
.shop-wrap [class*="col-"]:nth-of-type(4n+4) .more a {
    background-color: #a8b52b;
}
.shop-wrap .shop-item .more a:hover {
    background-color: #db2128;
}


/*========================================================
                      商店介紹內頁
=========================================================*/

.shop-detail {
	padding-bottom: 40px;
	text-align: left; 
}

/*標題*/
.shop-detail .shop-detail-title {
    margin-bottom: 20px;
}
.shop-detail .shop-detail-title h3 {
    font-weight: bold;
    font-size: 1.6rem;
    position: relative;
    color: #dc2128;
    margin-top: 5px;
}


/*圖片*/
.shop-detail .slider-for > div {
	position: relative;
	margin: 5px 5px 20px 5px;
}
.shop-detail .slider-for > div a:after {
	content: '';
	position: absolute;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
}
.shop-detail .slider-for > div img {
	max-width: 100%;
	vertical-align: bottom;
    margin: 0 auto;
    max-height: 251px;
    border: 1px solid #ddd;
    border-radius: 10px;
}
.shop-detail .slider-nav {
	margin-bottom: 30px;
}
.shop-detail .slider-nav .slick-slide {
	margin: 0 5px 0 5px;
    border: 1px solid #ccc;
    height: 54px;
    background-color: #ededed;
    border-radius: 5px;    
}

.shop-detail .slider-nav > div img {
    vertical-align: bottom;
    cursor: pointer;
    margin: 0 auto; 
    height: 54px;
}

.shop-detail .slider-nav .slick-prev {
    left: 0;
}
.shop-detail .slider-nav .slick-next {
    right: 0;
}



/*店家說明*/
.shop-detail .shop-detail-feature {
    margin-bottom: 30px;
}

.shop-detail .shop-detail-plan ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.shop-detail .shop-detail-plan ul li {
    position: relative;
    padding: 9px 4px 9px 120px;
    border-bottom: 1px dashed #ccc;
}
.shop-detail .shop-detail-plan ul li b {
    position: absolute;
    left: 0;
    top: 9px;
    z-index: 3;
    width: 104px;
    font-weight: bold;
    margin-left: 4px;
    background-color: #edccce;
    text-align: center;
    border-radius: 5px;
}
.shop-detail .shop-detail-plan ul li a {
    color: #dc2128;
}
.shop-detail .shop-detail-plan ul li span {
    display: none;
}



/* 尺寸設定 */
@media (min-width: 400px) {
    .shop-detail .slider-for > div img {
        max-height: 278px;
    }
    .shop-detail .slider-nav .slick-slide, .shop-detail .slider-nav > div img {
        height: 60px;
    }
}
@media (min-width: 540px) {
    .shop-detail .slider-for > div img {
        max-height: 375px;
    }
    .shop-detail .slider-nav .slick-slide, .shop-detail .slider-nav > div img {
        height: 83px;
    }
}
@media (min-width: 768px) {
    .shop-detail .slider-for > div img {
        max-height: 510px;
    }
    .shop-detail .slider-nav .slick-slide, .shop-detail .slider-nav > div img {
        height: 122px;
    }
}
@media (min-width: 992px) {
	.shop-detail .slider-nav .slick-slide {
		margin: 0 5px 10px 5px;
	}
    .shop-detail .slider-for > div img {
        max-height: 450px;
    }
    .shop-detail .slider-nav .slick-slide, .shop-detail .slider-nav > div img {
        height: 107px;
    }
}
@media (min-width: 1200px) {
    .shop-detail .slider-for > div img {
        max-height: 326px;
    }
    .shop-detail .slider-nav .slick-slide, .shop-detail .slider-nav > div img {
        height: 71px;
    }
}
@media (min-width: 1600px) {
    .shop-detail .slider-for > div img {
        max-height: 451px;
    }   
    .shop-detail .slider-nav .slick-slide, .shop-detail .slider-nav > div img {
        height: 100px;
    }
}


/*========================================================
                         線上刊物
=========================================================*/


.postcard {
    flex-wrap: wrap;
    display: flex;
    box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
    border-radius: 10px;
    margin: 0 0 2rem 0;
    overflow: hidden;
    position: relative;
    color: #18151f;
    background-color: #fff;
}
.postcard > a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    color: inherit;
}
.postcard .small {
    font-size: 80%;
}
.postcard .postcard-info h3 {
    font-size: 1.75rem;
}
.postcard .postcard-img {
    max-height: 240px;
    width: 100%;
    object-fit: cover;
    position: relative;
}

.postcard .postcard-bar {
    width: 50px;
    height: 10px;
    margin: 10px 0;
    border-radius: 5px;
    background-color: #424242;
    transition: width 0.2s ease;
}
.postcard .postcard-info {
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}
.postcard .postcard-txt {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
    height: 100%;
    margin-bottom: 10px;
}
.postcard .postcard-btn span {
    background-color: #666;
    color: #fff;
    padding: 4px 10px;
    border-radius: 5px;
}




.postcard-wrap .postcard:nth-of-type(5n+1) .postcard-bar,
.postcard-wrap .postcard:nth-of-type(5n+1) .postcard-btn span {
    background-color: #343087;
}
.postcard-wrap .postcard:nth-of-type(5n+2) .postcard-bar,
.postcard-wrap .postcard:nth-of-type(5n+2) .postcard-btn span {
    background-color: #e08b30;
}
.postcard-wrap .postcard:nth-of-type(5n+3) .postcard-bar,
.postcard-wrap .postcard:nth-of-type(5n+3) .postcard-btn span {
    background-color: #22b4e5;
}
.postcard-wrap .postcard:nth-of-type(5n+4) .postcard-bar,
.postcard-wrap .postcard:nth-of-type(5n+4) .postcard-btn span {
    background-color: #b42181;
}
.postcard-wrap .postcard:nth-of-type(5n+5) .postcard-bar,
.postcard-wrap .postcard:nth-of-type(5n+5) .postcard-btn span {
    background-color: #b5c433;
}

.postcard-wrap .postcard:hover .postcard-info h3 {
    color: #dc2128;
}
.postcard-wrap .postcard:hover .postcard-bar {
    width: 100px;
    background-color: #dc2128;
}
.postcard-wrap .postcard:hover .postcard-btn span {
    background-color: #dc2128;
}


@media (min-width: 768px) {
    .postcard {
        flex-wrap: inherit;
    }
    .postcard .postcard-info h3 {
        font-size: 1.8rem;
    }

    .postcard .postcard-img {
        max-width: 300px;
        max-height: 100%;
        transition: transform 0.3s ease;
    }
    .postcard .postcard-info {
        padding: 3rem;
        width: 100%;
    }
    .postcard:hover .postcard-img {
        transform: scale(1.05);
    }
/*
    .postcard:nth-child(2n+1) .postcard-info::before {
        left: -12px !important;
        transform: rotate(4deg);
    }
    .postcard:nth-child(2n+2) .postcard-info::before {
        right: -12px !important;
        transform: rotate(-4deg);
    }
*/
    
    /* 圖片左右交叉出現 */
    .postcard:nth-child(2n+1) {
        flex-direction: row;
    }
    .postcard:nth-child(2n+0) {
        flex-direction: row-reverse;
    }
    
}
@media screen and (min-width: 992px) {
    .postcard-info {
        padding: 2rem 3.5rem;
    }
/*
    .postcard-info:before {
        content: "";
        position: absolute;
        display: block;
        top: -20%;
        height: 130%;
        width: 55px;
    }
    .postcard .postcard-info:before {
        background: #fff;
    }
*/
}

/*========================================================
                        服務據點
=========================================================*/

.service-point dl {
    overflow: hidden;
    display: flex !important; 
    min-height: 100px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #adadad;
}
.service-point dl dt {
    align-self: center !important;
}
.service-point dl dt span {
    width: 100px !important;
    height: 100px !important;
    line-height: 90px;
    text-align: center;
    font-size: 1.3rem;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    border: 4px solid #5db47c;
/*     background-color: #f79830;*/
    float: left;
    margin-right: 20px;
    background-image: linear-gradient(180deg, #a0d3b5 0%, #5db47c 100%);
}

.service-point dl dd {
    overflow: hidden;
    align-self: center !important;
    margin-bottom: 0;
}
.service-point dl dd p {
    margin: 0;
    padding: 0 0 0 16px;
    position: relative;
}
.service-point dl dd p:before {
    font-family: 'Font Awesome 5 free';
    content: "\f0da";
    font-weight: 900;
    display: block;
    position: absolute;
    top: 1px;
    left: 0;
    z-index: 4;
    color: #333;
    font-size: 1.2rem;
}



/*========================================================
                        相關連結
=========================================================*/

.links-wrap {
    margin-bottom: 40px;
}
.links-wrap ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.links-wrap ul li a {
    display: block;
	color: #333;
	padding: 16px 10px 12px 50px;
	border-bottom: 1px dashed #adadad;   
    background: url(../img/icon-links.png) no-repeat 10px 14px;
}
/*.links-wrap ul li:nth-of-type(2n+1) a {
	background-color: #f4f4f4;
}*/
.links-wrap ul li a:hover {
	background-color: #e0eef5;
}

@media (min-width: 640px) {
	.links-wrap dl dt {
		float: left;
		margin-right: 10px;
	}
}




/*========================================================
                         聯絡我們
=========================================================*/

.contact-info {
    
}
.contact-info ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.contact-info ul li {
	list-style: none;
/*	padding: 5px 0 5px 60px;*/
	position: relative;
	margin-bottom: 10px;
}
.contact-info ul li i {
    display: inline-block;
    width: 20px;
    text-align: center;
	margin: 0 5px;
	padding: 5px 0;
}
.contact-info ul li:nth-of-type(1) i {
    color: #e71c30;
}
.contact-info ul li:nth-of-type(2) i {
    color: #028ad3;
}
.contact-info ul li:nth-of-type(3) i {
    color: #2e9876;
}
.contact-info ul li:nth-of-type(4) i {
    color: #cd7f0c;
}

.contact-info ul li [class^="flaticon-"]:before, 
.contact-info ul li [class*=" flaticon-"]:before, 
.contact-info ul li [class^="flaticon-"]:after, 
.contact-info ul li [class*=" flaticon-"]:after {
    margin-right: 0px;
}



/*========================================================
                         各類表單
=========================================================*/

/* 表單設定 */
.form-horizontal {
	margin-bottom: 40px;
}
.form-horizontal label {
	margin-bottom: 0;
    font-weight: bold;
    color: #666;
}
.form-horizontal label:before {
    font-family: 'Font Awesome 5 free';
    content: "\f044";
    font-weight: 900;
    display: inline-block;
    margin-right: 5px;
    color: #111;
}
.form-horizontal .form-control {
	border: 1px solid #ededed;
	background-color: #ececec;
}

.form-control::-moz-placeholder {
	color: #666;
	opacity: 1;
	font-size: 16px;
	font-weight: bold;
}
.form-control:-ms-input-placeholder {
	  color: #666;
}
.form-control::-webkit-input-placeholder {
	  color: #666;
}

/* 意見表單 */
.contact-form {
	margin-bottom: 20px;
}
.contact-form [class *= col-] {
	position: relative;
	margin-bottom: 10px;
}


.form-group {
	padding: 10px 15px;
	margin-bottom: 0 !important;
}
.form-group:nth-of-type(2n+2) {
	background-color: #ededed;
}
.form-group b {
	display: block;
	font-size: 15px;
}
.input {
	text-decoration: none;
	border: 1px solid #c7c7c7;
	width: 100%;
	padding: 2px 2px;
}

/* 尺寸設定 */
@media (min-width: 768px) {
	.form-info {
		padding: 20px 20px 20px 70px;
		background: #f7f7f7 url(../images/warning2.png) no-repeat 20px center;
	}
	.form-info {
		margin-right: 15px;
	}
	.input {
		width: 40%;
	}
	.form-group b {
		display: inline-block;
	}
}



/*========================================================
                           表格
=========================================================*/

.table1 {
	border-collapse: collapse;
	text-align: left;
	margin: 0 0 20px 0;
	font-size: 15px;
	border: 1px solid #c0bebe;
}
.table1 tr:nth-child(2n+1) {
	background-color: #F3F3F3;
}

.table1 th {
	background-color: #3a7da5;
	color: #fff;
    font-size: 1.1rem;
	font-weight: bold;
	padding: 10px 10px !important;
	text-align: center;	
	border-top: 0 !important;
	border-bottom: 1px solid #c0bebe;
    border-right: 1px solid #fff;
}
.table1 th:last-of-type {
    border-right: 1px solid #c0bebe;
}
.table1 td {
	padding: 5px 5px !important;
	border: 1px solid #c0bebe;
}
.table1 tr.subtitle td {
    background-color: #c8dae7;
    font-weight: bold;
}

.table2 td:nth-of-type(2){
	text-align: center;
}



/*========================================================
                         ul設定
=========================================================*/

.ul-s1 {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}
.ul-s1 > li {
    padding: 3px 3px 15px 40px;
    margin-bottom: 14px;
    position: relative;
    border-bottom: 1px dashed #adadad;
}
.ul-s1 > li span {
	width: 24px;
	height: 24px;
	border-radius: 12px;
	font-size: 1rem;
    font-weight: bold;
	line-height: 26px;
	text-align: center;
    background-color: #343087;
	color: #fff;    
/*
	color: #343087;
	background-color: #fff;
*/
    position: absolute; 
    left: 5px; 
    top: 5px; 
    z-index: 3; 
}


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

a.figure {
	display: block;
	position: relative;
}
a.figure:hover:before {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
a.figure:before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    content: '';
    display: inline-block;
    background: rgba(255,255,255,0.15) url(../img/magnifier.png) no-repeat center center;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s;
}


.picture-effect {
	position: relative;
	overflow: hidden;
	z-index: 1;
    border-radius: 10px 0 0 10px;    
}
.picture-effect img {
	transform: scale(1);
	transition: .3s ease-out all;

}
.picture-effect a {
	display: inline-block;
	position: relative;
}
.picture-effect a:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(252, 200, 58, 0.4);
	pointer-events: none;
	z-index: 1;
	opacity: 0;
	transition: .3s ease-out all;
}
.picture-effect a:hover:before {
	opacity: 1;
}
.picture-effect a:hover img {
	transform: scale(1.1);
}



/*========================================================
                         動畫效果
=========================================================*/

@-webkit-keyframes btn-more {
    0% {left: -10px; opacity: 0;}
    100% {left: 0px; opacity: 1;}
}
@-o-keyframes btn-more {
    0% {left: -10px; opacity: 0;}
    100% {left: 0px; opacity: 1;}
}
@-moz-keyframes btn-more {
    0% {left: -10px; opacity: 0;}
    100% {left: 0px; opacity: 1;}
}
@keyframes btn-more {
    0% {left: -10px; opacity: 0;}
    100% {left: 0px; opacity: 1;}
}

@-webkit-keyframes ani-down {
    0% {top: -3px;}
    100% {top: 3px;}
}
@-o-keyframes ani-down {
    0% {top: -3px;}
    100% {top: 3px;}
}
@-moz-keyframes ani-down {
    0% {top: -3px;}
    100% {top: 3px;}
}
@keyframes ani-down {
    0% {top: -3px;}
    100% {top: 3px;}
}

