﻿/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.17.3
*/


body {
	font-size: 18px;
	font-family: PingFang TC, 黑體-繁, Noto Sans TC, 微軟正黑體, Microsoft JhengHei, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.nav li a {
	font-family: PingFang TC, 黑體-繁, Heiti TC, Noto Sans TC, 微軟正黑體, Microsoft JhengHei, sans-serif !important;
    text-wrap: inherit !important;
}

h1, h2, h3, h4, h5, h6{
	text-wrap: inherit !important;
}

h2 {
	font-size: 1.3em !important;
}

h3 {
	font-size: 1.1em !important;
}

a{
	color:#566f31;
}

/* 文章標題字體粗細 */
.post-title {
	font-weight: bold;
}

/* 隱藏首頁文章標題下方底線 */
.box-blog-post .is-divider {
	display: none;
}

/* 網站選單標題字體等大 */
.nav-dropdown .menu-item-has-children>a,
.nav-dropdown .title>a,
.nav-dropdown .nav-dropdown-col>a,
.nav>li>a,
.nav-vertical li li.menu-item-has-children>a {
	font-size: 1em;
}

/* 文章廣告間距調整 */
.entry-content {
	padding-bottom: 0;
}

/* 文章內文行高、字體大小、顏色*/
.entry-content.single-page {
	line-height: 2;
	font-size: 20px;
	color: #333333;
}

/* 文章內文圖片尺寸調整 */
.entry-content.single-page img,
.blocks-gallery-item img {
	width: 600px;
	max-width: 100%;
}

/* 文章內文精選圖固定比例裁切 */
.entry-image {
	height: 0;
	padding-bottom: 52.5%;
	overflow: hidden;
}

/* 文章內文引言樣式調整 */
blockquote {
	font-size: 1em;
	line-height: 2;
	font-style: normal;
	padding: 0 0 0 1em;
	border-left: 4px solid #587130;
}

blockquote p {
	padding: 0.5em 0;
	margin-bottom: 0;
}

/* 文章內文 h2 標題顏色、上下間距 */
.entry-content h2 {
	color: #3a7a3b;
	margin: 1em 0;
}

/* 文章內文 h3 標題顏色、上下間距 */
.entry-content h3 {
	color: #2B788B;
	margin: 1em 0;
}

/* 文章內文標題分隔線隱藏 */
.entry-divider {
	display: none;
}

/* 文章內文關鍵字高亮樣式 */
.entry-content a.glossary {
	color: #515154;
	cursor: pointer;
	border-bottom: 2px solid #90b94f;
}

/* 文章內文連結高亮樣式 */
.entry-content.single-page a:hover {
	color: #ff8033;
	border-bottom: 2px solid #ff8033;
}

/* 文章內文表格樣式  */
.entry-content.single-page table {
	margin: 1em auto 5px auto;
	width: 100%;
	table-layout: fixed;
}

.entry-content.single-page tbody td {
	padding: 1em;
	color: #333;
	border-color: #B5B5B5;
}

@media(max-width:520px) {
	.entry-content.single-page thead {
		font-size: 17px;
	}

	.entry-content.single-page tbody {
		font-size: 15px;
	}

	.entry-content.single-page tbody td {
		padding: 0.7em;
	}
}

.entry-content.single-page table tr:nth-child(2n+1):hover,
tr:hover {
	background: #F0F8E5;
}

.entry-content.single-page table tr:nth-child(2n+1) {
	background: #F5F5F5;
}

.entry-content.single-page table thead th {
	background: #587130;
	margin: 1em auto;
	padding: 1em;
	border-color: #2E3B19;
	color: #fff;
}

.entry-content.single-page td:last-child,
th:last-child {
	padding-right: 1em;
}

.entry-content.single-page td:first-child,
th:first-child {
	padding-left: 1em;
}

/* 文章區塊編輯器圖片置中 */
.wp-block-image {
	text-align: center;
}

/* 文章內文表格說明樣式 */
.entry-content figcaption {
	color: #555;
	font-size: 14px;
	text-align: center;
	margin-bottom: 1em;
}

.wp-block-table.is-style-stripes {
	border-bottom: none;
}

/* 電腦版文章內文表格隱藏scrollbar  */
@media (min-width:630px) {
	.table-scroll::-webkit-scrollbar {
		display: none;
	}
}

/* 文章內文表格超出範圍  */
.table-scroll {
	overflow: scroll;
}

.rwd-table-content:after {
	content: "往左滑看全部 >";
	display: none;
}

@media (max-width:630px) {
	.rwd-table-content:after {
		display: block;
	}
}

.lc-1 {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}

.lc-2 {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.lc-3 {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

/* 文章內文關鍵字高亮樣式 */
.entry-content a.glossary {
	color: #515154;
	cursor: pointer;
	border-bottom: 2px solid #90b94f;
}

/* 內文標題上方文章分類隱藏 */
.entry-header .entry-category {
	display: none;
}


/* 文章內文閱讀目錄樣式 */
.entry-content.single-page .wp-block-rank-math-toc-block {
	background-color: #f7f7f7;
	border-radius: 24px;
	padding: 5px 20px 5px 27px;
	max-width: 500px;
}

.entry-content.single-page .wp-block-rank-math-toc-block ul li {
	list-style: none;
}

.entry-content.single-page .wp-block-rank-math-toc-block ul li:before {
	display: block;
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 5px;
	background: #8AD06C;
	margin-right: 27px;
	margin-top: 11px;
	left: 58px;
	position: absolute;
}

.entry-content.single-page .wp-block-rank-math-toc-block ul li>ul li:before {
	display: block;
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 5px;
	background: #8AD06C;
	margin-right: 27px;
	margin-top: 11px;
	left: 80px;
	position: absolute;
}

.entry-content.single-page .wp-block-rank-math-toc-block ul li,
.entry-content.single-page .wp-block-rank-math-toc-block ol li {
	margin-bottom: 0px;
	font-size: 16px;
}

.entry-content.single-page .wp-block-rank-math-toc-block ul li>ul,
.entry-content.single-page .wp-block-rank-math-toc-block ol li>ol {
	margin: 0;
}

.entry-content.single-page .wp-block-rank-math-toc-block h2 ,
.entry-content.single-page .wp-block-rank-math-toc-block h3 {
	padding-left: 10px;
	margin: 0.7em 0px 0.3em 8px;
	color: #3a7a3b;
	font-size: 1.2em !important;
    line-height: 1.2;
}

.entry-content.single-page .wp-block-rank-math-toc-block h2:before,
.entry-content.single-page .wp-block-rank-math-toc-block h3:before{
	content: "";
	background-image: url('../image/1626853087.5242.png');
	background-size: contain;
	background-repeat: no-repeat;
	height: 22px;
	width: 30px;
	left: 49px;
	margin-top: 3.5px;
	position: absolute;
}

@media (max-width: 850px) {
	.entry-content.single-page .wp-block-rank-math-toc-block {
		padding: 5px 20px 5px 22px;
	}
	
	.entry-content.single-page .wp-block-rank-math-toc-block h2, 
	.entry-content.single-page .wp-block-rank-math-toc-block h3{
		margin: 0.7em 0px 0.3em 11px;
	}
	.entry-content.single-page .wp-block-rank-math-toc-block h2:before, 
	.entry-content.single-page .wp-block-rank-math-toc-block h3:before{
		left: 34px;
	}
	.entry-content.single-page .wp-block-rank-math-toc-block ul li:before{
		left:42px;
	}
	.entry-content.single-page .wp-block-rank-math-toc-block ul li>ul li:before{
		left:62px;
	}
}
	

@media (max-width: 768px) {
	.entry-content.single-page .wp-block-rank-math-toc-block h2:before,
    .entry-content.single-page .wp-block-rank-math-toc-block h3:before {
		left: 34px;
		margin-top:2px;
	}
}

/* 文章內文參考資料樣式 */
.entry-content.single-page .wp-block-pullquote {
	margin-top: 12px;
	font-size: 14px;
	border-top: 1px solid #e7e7e7;
	border-bottom: 1px solid #e7e7e7;
	padding: 0 0 4px 0;
	cursor: pointer;
}

.entry-content.single-page .wp-block-pullquote:before {
	content: "看本文參考資料";
	background-image: url(../image/1626853087.5242.png);
	background-size: contain;
	background-repeat: no-repeat;
	height: 15px;
	width: 142px;
	font-size: 16px;
	left: 50px;
	font-weight: 500;
	line-height: 17px;
	padding-left: 12px;
	margin-top: 10px;
	margin-bottom: 8px;
	display: block;
}

.entry-content.single-page .wp-block-pullquote blockquote {
	border-left: none;
	padding: 0;
	line-height: 1.6;
	margin: 0 0 0.2em;
	text-align: left;
}

.entry-content.single-page .wp-block-pullquote blockquote cite {
	font-style: normal;
}

/* 文章內文編號清單間距 */
.entry-content.single-page ol li {
	margin-bottom: 1em;
}

/* 文章內文問答樣式 */
.entry-content.single-page .schema-faq-question,.entry-content.single-page .rank-math-question {
	background: linear-gradient(transparent 55%, #deeeb6 20%);
	margin: 0 0 10px 0;
    color: #333;
    display: inline;
}

.entry-content.single-page .schema-faq-answer,.entry-content.single-page .rank-math-answer{
	padding-bottom: 10px;
	border-bottom: 1px dashed #b5b5b5 !important;
	margin-bottom: 0.7em;
}
.entry-content.single-page .rank-math-answer p{
	margin-bottom: 0;
}

.entry-content.single-page .schema-faq-section:last-child .schema-faq-answer,
.entry-content.single-page .rank-math-list-item:last-child .rank-math-answer{
	padding-bottom: auto;
	border-bottom: none !important;
}

.entry-content.single-page .schema-faq,.entry-content.single-page .rank-math-block {
	background-color: #f9f9f9;
	padding: 25px 25px 10px 25px;
	border-radius: 24px;
	margin-bottom: 20px;
}

/* 文章內文-整理文自我察覺區塊樣式 */
.blog-check-title {
	background-color: #566f31;
	color: #fff !important;
	border-radius: 12px 12px 0 0;
	padding: 10px 12px 8px 12px;
	margin-bottom: 0px !important;
	font-size: 18px !important;
}

.blog-check-box {
	background-color: #F9f9f9;
	padding: 15px;
	border: 2px solid #566f31;
	border-radius: 0 0 12px 12px;
}

.blog-check-box li ol {
	margin: 0.25rem 0 0.5rem 1.2rem;
}

.blog-check-box li ol>li,
.blog-check-box li ul>li {
	margin-bottom: 0rem !important;
}

/* 文章分類列表標題僅兩行 */
h5.post-title.is-large a{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	font-size: 1.02rem;
}

/* 文章分類列表內文僅三行 */
p.from_the_blog_excerpt {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

/* 分隔線綠色 */
.is-divider {
	background-color: #556f31;
}

/* 分隔線綠色 */
.section-title-normal span {
	border-bottom: 2px solid #556f31;
}

/* 文章側欄小工具對齊 */
#heho_ra_post-4,
#heho_ra_post-7 {
	margin-left: 15px;
}

/* 淺白色背景 */
bg-light {
	background-color: #f5f5f7;
}

/* 手機版首頁文章列表圖片在左 */
@media only screen and (max-width: 549px) {
	.image-on-left .box {
		display: flex;
		align-items: center;
	}

	.image-on-left .box-image {
		width: 32% !important;
	}

	.image-on-left .box-text {
		width: 68%;
		font-size: 14px;
		padding: 0 10px;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}

	/* 手機版搜尋字體樣式 */
	input[type='search'] {
		font-size: .8em;
	}
}

/* 文章列表日期樣式 */
.box-blog-post .box-text p{
	font-size:0.8em !important;
}
	
/* 文章列表描述 */
.box-blog-post .box-text .from_the_blog_excerpt{
	font-size:16px!important;
}

/* 首頁健康日曆標題不顯示 */
.health-calendar>.box-text {
	display: none;
}

/* 隱藏 reCAPTCHA 標籤 */
.grecaptcha-badge {
	visibility: hidden !important;
}

/* 停用主題英文標題大寫 */
.is-uppercase,
.uppercase {
	text-transform: capitalize !important;
}

.article-inner {
	padding-bottom: 0;
}

article.post {
	margin-bottom: 0;
}

/* 搜尋自動完成樣式 */
.autocomplete-suggestions {
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15);
	border-radius: 6px;
	margin-top: .2em;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	overflow-y: scroll;
}

.autocomplete-suggestion {
	padding: .5em 0.75em;
	border-bottom: 1px solid #f5f5f5;
	font-size: .8em;
	cursor: pointer;
}

.autocomplete-suggestion b {
	font-weight: bold;
	color: #587130;
}

.autocomplete-suggestions::-webkit-scrollbar {
	width: 6px;
	border-radius: 6px;
}

.autocomplete-suggestions::-webkit-scrollbar-track {
	background: #F0FBE9;
	border-radius: 12px;
}

.autocomplete-suggestions::-webkit-scrollbar-thumb {
	background-color: #8AB190;
	border-radius: 6px;
	border: 1px solid #878C88;
}

/* 電子報訂閱 Popup 訊息隱藏 */
.wpcf7-response-output {
	color: #566f31;
	/*display: none;*/
}

/* 導航側欄樣式 */
.scroll-to-bullets {
	background: #f5f5f7;
	border-radius: 15px;
	margin: 5px;
}

/* 隱藏 reCAPTCHA 標籤 */
.grecaptcha-badge {
	visibility: hidden !important;
}

.mfp-close-btn-in .mfp-close {
	color: #fff !important;
	opacity: 1 !important;
}

.wpcf7 form .wpcf7-response-output {
	margin: 0;
	border: none !important;
}

/* 分類頁面側欄 Heho Post 寬度 */
.widget.heho-hot .row {
	max-width: 355px;
	margin: 0 auto;
}

/* 分類頁面標題樣式 */
.archive-page-header .page-title span {
	padding: .2em;
	border-bottom: 3px solid #ff8033 !important;
	font-size: 1.5em;
}

.archive-page-header .page-title span a {
	color: #333;
}

/* 分類頁面圖片比例 */
.blog-archive .image-cover {
	padding-top: 52.5% !important;
}

/* 分類頁面標題間距 */
.blog-archive .post-title {
	margin-bottom: 0.5em;
}

/* 分類頁面頁碼外框顏色 */
.page-number {
	border-color: #f5f5f7 !important;
}

/* 內文圖片註解 */
.wp-caption {
	margin: 0 auto;
	margin-bottom: 2em;
	text-align: center;
}

.wp-caption .wp-caption-text {
	text-align: center;
	padding: 0;
	font-size: .5em;
	font-style: normal;
	max-width: 600px;
	margin: 0 auto;
}

/* 內文側欄 padding 調整 */
.post-sidebar {
	padding: 0 10px !important;
}

/* 訂閱電子報按鈕 */
.header-button .icon-envelop {
	display: none;
}

.button.icon i+span {
	padding-left: .5em;
}

@media only screen and (min-width: 550px) {

	/* 隱藏首頁圖解三欄第四個 */
	.nth-child-4 div:nth-child(4) {
		display: none;
	}

	/* 隱藏首頁圖解五欄第六個 */
	.nth-child-6 div:nth-child(6) {
		display: none;
	}
}

@media only screen and (max-width: 549px) {
	.ncov-button .mb-0 {
		margin-bottom: 15px !important;
	}
}

/* 選單項目更多標籤 */
.label-disease.menu-item>a:after {
	content: '查疾病';
	display: inline-block;
	font-size: 10px;
	line-height: 10px;
	letter-spacing: 0;
	margin-left: 5px;
	background-color: #D0021B;
	font-weight: 500;
	border-radius: 2px;
	color: #fff;
	padding: 5px;
	position: relative;
	top: -2px;
}

.label-symptom.menu-item>a:after {
	content: '查症狀';
	display: inline-block;
	font-size: 10px;
	line-height: 10px;
	letter-spacing: 0;
	margin-left: 5px;
	background-color: #D0021B;
	font-weight: 500;
	border-radius: 2px;
	color: #fff;
	padding: 5px;
	position: relative;
	top: -2px;
}

.label-topic.menu-item>a:after {
	content: '最新';
	display: inline-block;
	font-size: 10px;
	line-height: 10px;
	letter-spacing: 0;
	margin-left: 5px;
	background-color: #D0021B;
	font-weight: 500;
	border-radius: 2px;
	color: #fff;
	padding: 5px;
	position: relative;
	top: -2px;
}

/* 主選單電子報訂閱行高調整 */
.header-newsletter-item .header-button a {
	background: #f1f1f1;
	color: #515154;
	border: none;
	line-height: 36px
}

/* 調整閱讀更多文字大小 */
.section-title a {
	font-size: 14px;
}

.box-text {
	padding-top: .8em;
	padding-bottom: .8em;
}

/* 隱藏置底 footer */
.absolute-footer {
	display: none;
}

/* 十大學者專區捲動指標 */
.scroll-to-bullets a {
	border: 2px solid;
	box-shadow: none;
}

/* 按鈕間距對齊調整 */
.text-center .button:last-of-type {
	margin-right: 1em !important;
}

/* 嵌入 YT 影片下方間距 */
.epyt-video-wrapper {
	margin-bottom: 1em;
}

/* 文章側欄 CSS */
.widget_tag_cloud .tagcloud .tag-cloud-link:nth-child(even) {
	display: none !important;
}

.post-sidebar h3.widget-title,
.widget_tag_cloud .widget-title span {
	display: none;
}

.container-fluid span {
	font-size: 26px;
	color: #566f31;
}

.container-fluid {
	background-color: #fff;
	padding: 18px 0px 0px 0px !important;
}

#text-5 {
	margin-bottom: 12px;
}

.widget_tag_cloud {
	margin-bottom: 2.5em !important;
}

.widget {
	margin-bottom: 0.6em;
}

/* 熱門關鍵字 */

.tagcloud a:hover {
	border-color: #C0D5A2 !important;
	background-color: #C0D5A2 !important;
}

.widget .tagcloud a:hover {
	border-color: #C0D5A2 !important;
	background-color: #C0D5A2 !important;
}

/* 影音健康樣式調整 */
#heho_ra_hot-7 .container-fluid .col-md-12:first-child div {
	display: block;
}

#heho_ra_hot-7 .container-fluid .col-md-12:first-child .thumbnail {
	width: auto !important;
	display: table !important;
}

#heho_ra_hot-7 .container-fluid .col-md-12:first-child .thumbnail img {
	width: 100% !important;
	margin-bottom: 15px;
}

#heho_ra_hot-7 .container-fluid .thumbnail img {
	border-radius: 8px;
}

#heho_ra_hot-7 .container-fluid .col-md-12 div {
	margin-left: 3px !important;
	top: -10px !important;
}

.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
	margin-bottom: 0.5em;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.processing:before {
	display: none;
}



/* 文章內文 重點分享 */
.entry-content.single-page kbd {
	background: #fff0dd;
}

.entry-content.single-page .highlightShare {
	position: relative;
	cursor: pointer;
}

/* Tooltip */
.entry-content.single-page .highlightShare .tooltiptext {
	opacity: 0;
	pointer-events: none;
	display: block;
	position: absolute;
	top: -12px;
	left: 50%;
	padding: 1px 10px;
	border-radius: 40px;
	font-size: 14px;
	text-align: center;
	font-weight: bold;
	text-transform: uppercase;
	transform: translate(-50%, -100%);
	transition: all 0.3s ease;
	z-index: 1;
	text-shadow: 0px 0px 3px #fa6b16;
	background: #ff8033;
	color: #fff;
	min-width: 80px;
}

.entry-content.single-page .highlightShare .tooltiptext:after {
	display: block;
	position: absolute;
	bottom: 1px;
	left: 50%;
	width: 0;
	height: 0;
	content: "";
	border: solid;
	border-width: 8px 8px 0 8px;
	border-color: transparent;
	transform: translate(-50%, 100%);
	border-top-color: #ff8033;
}

/* 顯示提示框 */
.entry-content.single-page .highlightShare:hover .tooltiptext {
	opacity: 1;
}

.entry-content.single-page .highlightShare:hover {
	font-weight: 500;
	border-bottom: 1px solid #ffbb52;
}

.widget_custom_html {
	padding: 1em;
}


/* 文章內文短影音樣式 */
.entry-content.single-page .shorts-video-box{
	max-width:400px !important;
	margin:0 auto;
}

.entry-content.single-page .shorts-title{
	padding:5px 20px;
	background-color: #566f31;
	position: relative;
	border-radius: 8px 8px 0 0;
}

.entry-content.single-page .shorts-title h3{
	margin:0;
	color:#fff;
}

.entry-content.single-page .shorts-title p{
	margin-bottom:0px;
}

.entry-content.single-page .shorts-title img{
	position:absolute;
	right:20px;
	top:0px;
	width:56px !important;
	z-index:9;
}

.entry-content.single-page .shorts-video-box iframe{
	object-fit:contain;
	aspect-ratio: 9/16;
	border-radius: 0 0 12px 12px;
	padding:25px 20px 20px 20px;
	z-index: 1;
	position: relative;
	background-color:#f5f5f5;
}

/* 文章內文短影音樣式 運動站用*/
.entry-content.single-page .sport-shorts .shorts-title{
		background:linear-gradient(120deg, #0693e3 0%, #0693e3 40%, #43b1ef 100%);
}


/* 電腦版搜尋框下關鍵字樣式 */
.search-hot-keyword{
	font-size:13px;margin:8px 0  0 8px;
}
.search-hot-keyword a{
	color:#fff;padding:5px;border-radius:5px;
}
.search-hot-keyword a:hover{
	background:#90b94f;
}
