/* 首頁列表 */
/*---------------------
Footer News & Banner Section
-----------------------*/
.news-banner-section {
	position: relative;
	z-index: 2;
	background-color: #8dbcce;
	padding: 2em;
}

.news-banner-section > * {
	background-color: #FFF;
	border-radius: 8vw;
	color: #282A4F;
	padding: 2em;
}

.news-banner-section h2 {
	font-family: 'Rubik', arial, sans-serif;
	color: #8dbcce;
	font-size: 5em;
	letter-spacing: 0.25em;
}

.news-banner-section .button { font-size: 1.5em; line-height: 1.5em; }

.news-banner-section .btn-line .icons { width: 1em; height: 1em; }
.news-banner-section .btn-line .icons svg > * { fill: #FFF; }
.news-banner-section .btn-line:hover .icons svg > * { fill: #06C755; }

.news-banner-section a.section-title {
	/*width: 24.4%;*/
	text-align: center;
	color: #010101;
	line-height: 1em;
	font-size: 1.75em;
	padding: 0.5em;
	letter-spacing: 0.1em;
	border-radius: 50px;
	border: 1px solid #fff;
	margin-bottom: 10px;
	background: transparent;
}
.news-banner-section a.section-title.active, .news-banner-section a.section-title:hover {
	background: #FFB25C;
	color: #fff;
}
.news-banner-section .nav-tabs {
	border-bottom: 0;
}

.news-banner-section a, .news-banner-section a:hover { color: inherit; }


.news-banner-section .list-group-item {
	position: relative;
	z-index: 1;
	border-bottom: 1px dashed #8dbcce;
	font-size: 1.325em;
	background: transparent;
	padding: 0.75em 0;
	color: #282A4F;
	cursor: pointer;
}

.news-banner-section .list-group-item > a {
	text-align: justify;
}
.news-banner-section .list-group-item > div {
	width: 5em;
	margin-right: 5vw;
}

.news-banner-section .list-group-item > a.btn-highlight {
	border-bottom: none;
}

.news-banner-section .list-group-item > a.btn-highlight:after {
	background-color: #FFD77C;
}

.news-banner-section .list-group-item .right-date {
	line-height: 1em;
}
.news-banner-section .list-group-item .right-date span {
	font-size: 0.75em;
}


.news-section, .banner-section {
	position: relative;
	padding-top: 10px;
	padding-bottom: 10px;
}

.news-section { background: #FFF; border-radius: 20px; }
.news-section span, .banner-section span {
	font-family: monospace;
	letter-spacing: 0.1em;
	color: #FFD77C;
	vertical-align: text-top;
}
.news-section a span, .banner-section a span {
	color: #FFD77C;
	vertical-align: middle;
	font-weight: 700;
	position: absolute;
	right: 0;
	top: 25%;
}
.news-section a:hover span, .banner-section a:hover span {
	color: #c0d2ad;
}
.news-section a span [class^="ti-"], .banner-section a span [class^="ti-"] {
	font-size: 12px;
}

.banner-section-content .banner img {
	border-radius: 20px;
	margin: 15px auto;
	max-width: 90%;
}
.banner-section-content .banner h4 {
	text-align: center;
	padding-bottom: 10px;
	font-weight: 600;
}


.banner-section-content .carousel-indicators {
	padding-bottom: 40px;
}
.banner-section-content .carousel-indicators li {
	background-color: #f5f5f5;
}



@media only screen and (min-width: 768px) {
	.news-banner-section > * {
		width: 85vw;
	}

	.news-banner-section .list-group-item > a {
		max-width: calc( 100% - 9.5em);
	}
}



@media only screen and (max-width: 767px) {
	.news-banner-section .list-group-item > * {
		width: 100% !important;
		margin: 0 !important;
	}
	.news-banner-section .list-group-item .right-date {
		line-height: 1.75em;
	}
}

@media only screen and (max-width: 414px) {
	.news-banner-section .list-group-item {
		font-size: 1.5em;
	}
}




/* 最新消息總覽頁 */
.news {
	position: relative;
	overflow: hidden;
	margin-top: 5%;
	padding-top: 8%;
	/* padding: 4% 8%; */
	font-size: 1rem;
}
.news::before {
	background-color: #8DBCCE;
	border-top-right-radius: 10vw;
	content: "";
	display: block;
	height: 100%;
	position: absolute;
	right: var(--header-width-em);
	top: 0;
	width: 53.3125%;
	z-index: 0;
}

.news .news-block {
	position: relative;
	z-index: 1;
	width: 75%;
	min-height: 60vh;
	margin: auto;
	padding: 5%;
	padding-right: 2.5%;
}

.news .news-block::before {
	background-color: #FFF;
	border-top-left-radius: 10vw;
	content: "";
	display: block;
	height: 100%;
	right: calc(-50vw - -50%);
	position: absolute;
	top: 0;
	width: calc(50vw + 53.84615%);
	z-index: 0;
}

.news .news-block .news-list {
	position: relative;
	z-index: 1;
}

.news .news-list li {
	font-size: 1.125em;
	border-bottom: 1px dashed #8DBCCE;
	padding: 1.5em 0;
	min-height: 4em;
}

.news .news-list li > a {
	display: block;
	color: #194866;
	vertical-align: middle;
}
.news .news-list li > a:hover { color: #8DBCCE; }

.news .news-list li > a > * { width: 100%; }

.news-date span {
	display: inline-block;
	font-size: 0.75em;
	min-width: 7em;
	text-align: center;
	background-color: #e6f9ff;
	color: #8DBCCE;
	padding: 0.25em 0.5em;
}

.news .news-list li .news-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	letter-spacing: 0.1em;
}

.news .news-list li .button {
	font-size: 1em;
}

/*視窗寬度576以上切換*/
@media only screen and (min-width: 576px) {
	.news .news-block { width: 66.66667%; }
	.news .news-list li > a > * { width: auto; }
}




/* 每則最新消息 */
.news-article {
	font-size: 0.875rem;
	margin: 5%;
}

.news-article .news-title {
	font-size: 2em;
	font-weight: bold;
	letter-spacing: 0.05em;
	text-align: justify;
}

.news-article .news-date span {
	display: inline-block;
	font-size: 0.875em;
	min-width: 7em;
	text-align: center;
	background-color: #E4EEF3;
	color: #8DBCCE;
	padding: 0.25em 0.5em;
}

.news-article .news-content {
	border-top: 1px solid #8DBCCE;
	font-size: 1.125em;
	line-height: 2em;
}

.news-article .news-content p { text-align: justify; }

.news-article .news-content img {
	width: 100%;
	max-width: 100%;
	border-radius: 0.5em;
	margin: 0.5em auto;
}

.news-article .news-content a {
	position: relative;
	display: inline-block;
	color: #8DBCCE;
	border-bottom: 1px solid #FFD77C;
	line-height: 1.25em;
}
.news-article .news-content a::after {
	content: "";
	display: block;
	position: absolute;
	z-index: -1;
	background-color: #FFD77C;
	left: 0;
	bottom: 0;
	width: 0;
	height: 8px;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	-ms-transition: all 0.25s ease;
	-o-transition: all 0.25s ease;
	transition: all 0.25s ease;
}
.news-article .news-content a:hover::after {
	width: 100%;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	-ms-transition: all 0.25s ease;
	-o-transition: all 0.25s ease;
	transition: all 0.25s ease;
}

.news-article .news-social-icons > a.btn-icon {
	display: inline-block;
	height: 37px;
	width: 37px;
	background-color: transparent;
	color: #3DC7C9;
	line-height: 37px;
	margin-right: 5px;
	border: 1px solid;
	text-decoration: none;
	padding: 1px;
}

.news-article .news-social-icons .line {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
	font-family: 'Nunito';
}
.news-article .news-social-icons .line:hover {
	background: #06C755;
	color: #FFF;
}

.news-article .news-social-icons .facebook:hover {
	background: #4267B2;
	color: #FFF;
}

.news-article .news-file {
	background-color: #fff;
	border: 1px solid #8DBCCE;
	padding: 1em 2em;
	margin-bottom: 3em;
	border-radius: 0.5em;
}

/*視窗寬度576以上切換*/
@media only screen and (min-width: 576px) {
	.news-article { font-size: 1rem; }
	.news-article .news-title { font-size: 2.5em; }
}