/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: Astra is fast, fully customizable &amp; beautiful WordPress theme suitable for blog, personal portfolio, business website and WooCommerce storefront. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with Schema.org code integrated and is Native AMP ready so search engines will love your site. It offers special features and templates so it works perfectly with all page builders like Elementor, Beaver Builder, Visual Composer, SiteOrigin, Divi, etc. Some of the other features: # WooCommerce Ready # Responsive # RTL &amp; Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained &amp; Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and WooCommerce ready theme that you can use for building any kind of website!
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.8.1.1727773010
Updated: 2024-10-01 16:56:50

*/

/*** 載入本地媒體庫字體 ***/

/* Mariyam  */
@font-face {
    font-family: 'Mariyam'; /* 自訂字體名稱 */
    src: url('/wp-content/uploads/MariyamRegular.woff2') format('woff2'),
         url('/wp-content/uploads/MariyamRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
/* Noto Sans TC  */
@font-face {
  font-display: swap;
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/uploads/noto-sans-tc-v36-chinese-traditional_latin-regular.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 500;
  src: url('/wp-content/uploads/noto-sans-tc-v36-chinese-traditional_latin-500.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/uploads/noto-sans-tc-v36-chinese-traditional_latin-700.woff2') format('woff2'); 
}

/* Noto Serif TC  */
@font-face {
  font-display: swap; 
  font-family: 'Noto Serif TC';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/uploads/noto-serif-tc-v32-chinese-traditional_latin-regular.woff2') format('woff2'); 
}
@font-face {
  font-display: swap;
  font-family: 'Noto Serif TC';
  font-style: normal;
  font-weight: 500;
  src: url('/wp-content/uploads/noto-serif-tc-v32-chinese-traditional_latin-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Noto Serif TC';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/uploads/noto-serif-tc-v32-chinese-traditional_latin-700.woff2') format('woff2'); 
}

/* Playfair Display  */
@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/uploads/playfair-display-v37-latin-regular.woff2') format('woff2'); 
}
@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  src: url('/wp-content/uploads/playfair-display-v37-latin-500.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/uploads/playfair-display-v37-latin-700.woff2') format('woff2');
}

/*-- 去除超連結虛線 --*/
img,a,a:focus,a:active{
    outline:none !important;
}


/* Astra - Elementor Loop item 間距 */
.e-loop-item.ast-grid-common-col {
    padding: 0;
}
.ast-page-builder-template .e-loop-item.ast-article-post {
    margin-bottom: 0;
}
.elementor.e-loop-item.ast-width-md-3,.elementor.e-loop-item.ast-width-md-4 {
    width: 100%;
}

/* Astra mobile 下拉箭頭調整 */
.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
    top: 0px !important;
    width: 100%;
    text-align: right;
}



/* elementor 錨點小工具 - 位移fix */
body:not(.elementor-editor-active) .elementor-menu-anchor:before {
    content: "";
    display:block;
    height: 100px; 
    margin: -100px 0 0; 
    visibility: hidden;
    pointer-events: none;
}
@media(max-width:525px){
    body:not(.elementor-editor-active) .elementor-menu-anchor:before {
        content: "";
        display:block;
        height: 40px; 
        margin: -40px 0 0; 
        visibility: hidden;
        pointer-events: none;
    }
}
.elementor-widget-menu-anchor{
    visibility: hidden;
}

/* 頁首陰影 */
header#masthead {
    box-shadow: 0 2px 10px 0 rgba(36, 50, 66, .075);
}
 header#masthead {
    box-shadow: unset;
}

.ast-primary-header-bar.ast-primary-header.main-header-bar.site-header-focus-item {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 65%, rgba(0, 0, 0, 0) 90%);
}

/* 頁首選項設定 */
.main-navigation ul.sub-menu li.current_page_item {
    background: #AEA09B;
	border-radius:20px;
}
/* ul#ast-hf-menu-1 > li.current_page_item {
    background: #AEA09B;
    border-radius: 20px;
} */
ul#ast-hf-menu-1 span.dropdown-menu-toggle {
    display: none;
}

/* mobile menu  */
.page-id-70 svg.ast-mobile-svg.ast-menu-svg {
    fill: #fff !important;
}
.page-id-70 .ast-sticky-active svg.ast-mobile-svg.ast-menu-svg {
    fill: #594135 !important;
}
.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
    box-shadow: unset;
}
@media(max-width:525px){
	.ast-theme-transparent-header .ast-builder-menu .main-header-menu{
		color:#594135;
	}
}




/* 門診表 */
.sc_1st table {
    border-radius: 20px !important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, .1);
}
.sc_1st th {
    background: #AEA09B;
    color: #fff;
    font-weight: 700;
    padding: 12px;
}
.sc_1st td {
    padding: 0;
    vertical-align: top;
	min-width:124px;
}
/* .sc_1st .sc_date {
    text-align: right;
    background: #f1f1f1;
    padding: 4px 12px;
} */
.sc_1st .sc_date {
    text-align: center;
    padding: 4px 12px;
    border: 1px solid #AEA09B;
    max-width: 100px;
    margin: 8px auto 2px auto;
    border-radius: 20px;
}
.sc_1st .select_doc,.sc_1st .select_doc3 {
    display: flex;
    align-items: center;
}
.sc_1st .doctor_color {
    width: 10px;
    height: 10px;
    margin-right: 8px;
    border-radius: 99%;
}
.sc_1st .sc_doc ,.sc_1st .sc_nodata{
	padding: 12px;
    text-align:center;
}
.sc_1st .select_doc3 {
    padding: 2px 12px 12px 12px;
}
.sc_1st .select_doc,.sc_1st .select_doc3 {
    justify-content: center;
}
.sc_1st .sc_sp_time {
    color: #AEA09B;
 	margin-top: 12px ; 
	font-size:14px;
	text-align:center;
}
.page .sc_1st .sc_sp_time {
    margin-top: -4px;
}
.sc_1st th, .sc_1st td {
    border: 2px solid #fff;
}
.sc_1st tr>th:first-child {
    border-radius: 20px 0 0 0;
}
.sc_1st tr>th:last-child {
    border-radius: 0 20px  0 0;
}
.sc_1st tr:last-child td:first-child {
    border-radius: 0 0 0 20px ;
}
.sc_1st tr:last-child td:last-child {
    border-radius: 0 0 20px 0 ;
}

@media(max-width:525px){
	.sc_1st th{
		padding:8px;
	}
	.sc_1st .sc_date {
		padding: 4px 8px;
	}
	.sc_1st .sc_doc,.sc_1st .sc_nodata {
		padding: 8px;
	}
	.sc_1st .select_doc a{
		line-height:2em;
	}
}

/* 門診表div版本 */
.sc_week {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
/* .sc_week2 {
    width: 16.666666666%;
    text-align: center;
    background: #AEA09B;
    color: #fff;
    font-weight: 700;
    padding: 12px;
    border: 1px solid #fff;
} */

.sc_daylist {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.sc_day {
    width: 16.666666666%;
}
span.week_day {
    font-size: 14px;
    margin-left: 8px;
	display:none;
}
@media(max-width:525px){
	.sc_week{
		display:none;
	}
   .sc_day {
        width: 33.333333%;
    }
	span.week_day{
		display:unset;
	}
}
.select_doc_per .doctor_color {
    display: none;
}
.select_doc_per a {
    padding: 2px 12px;
    background: #e6d9d5;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 12px;
}
span.little_doc {
    font-size: 12px;
}
.sc_week2 {
    width: 16.666666666%;
    text-align: center;
    color: #AEA09B;
    font-weight: 700;
    padding: 0px 12px;
    border-right: 1px solid #AEA09B;
    font-size: 18px !important;
    margin: 12px 0;
}
.sc_week2:last-child {
    border: none;
}
.sc_daylist {
    margin-bottom: 30px;
}


/* 特殊英文字體 */
.font_pd .elementor-heading-title {
    font-family: 'Playfair Display' !important;
}
.font_hel .elementor-heading-title,.hel_btn a,.hel_btn span.elementor-button-text  {
    font-family: 'Helvetica' !important;
}
.font_serif  .elementor-heading-title{
	 font-family: 'Noto Serif TC' !important;
}

/* 特殊顏色字體 */
.sp_color_title{
    color: #594135;
}

/* 首頁輪播 */
img.img_homeslider {
    width: 100%;
    height: auto;
}

.home_2sc {
    position: relative;
    width: 100%;
    height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.img_homeslider {
    width: 100%;
    height: auto;
    max-height: 100%; /* 保持圖片在滑動區內縮放 */
    object-fit: cover; /* 圖片覆蓋整個區塊 */
}
.home_3rd {
    position: absolute;
    max-width: 1320px;
    width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
}

.home_title {
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
}


.home_title1 {
    color: #fff;
    font-family: Helvetica;
    font-size: 32px;
    font-weight: 300;
    line-height: 1.2em;
    letter-spacing: 5px;
    text-transform: uppercase;
}
.home_title2 {
    color: #fff;
    font-family: "Playfair Display";
    font-size: 120px;
    font-weight: 500;
    line-height: 1.2em;
    letter-spacing: 5px;
}
.home_title3 {
    color: #fff;
    text-align: right;
    font-family: Helvetica;
    font-size: 32px;
    font-weight: 300;
    line-height: 1.2em;
    letter-spacing: 5px;
    text-transform: uppercase;
}
.home_title4 {
    color: #fff;
    text-align: right;
    font-family: "Playfair Display";
    font-size: 120px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2em;
    letter-spacing: 5px;
}
.home_text {
    color: #fff;
    font-family: "Noto Serif TC";
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5em;
    letter-spacing: 5px;
	transform: translateY(100px); 
	animation: title_fade_c 1s ease forwards;
}
.home_title1,.home_title3 {
	transform: translateX(120px); 
  	animation: title_fade_a 1s ease forwards;
}
.home_title2,.home_title4 {
	transform: translateX(200px); 
  	animation: title_fade_b 1.5s ease forwards;
}
@keyframes title_fade_a
 {
  0% {
    opacity: 0;
    transform: translateX(120px); 
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes title_fade_b
 {
  0% {
    opacity: 0;
    transform: translateX(200px); 
  }
  100% {
    opacity: 1;
    transform: translateX(0); 
  }
}
@keyframes title_fade_c
 {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0); 
  }
}


@keyframes float {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-20px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}
a.home_link {
    text-align: center;
    font-size: 24px;
    font-weight: 700 !important;
    color: #594135;
    border-radius: 99%;
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(10px);
    display: flex;
    width: 120px;
    height: 120px;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
	position: absolute;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);
	z-index:9;
	animation: float 2s ease-in-out infinite;
	box-shadow:0px 2px 10px rgba(0,0,0,.14);
}
@media(max-width:525px){
	.home_3rd{
		top:40%;
	}
	.home_title1 {
	    font-size: 15px;
	    font-weight: 300;
	}
	.home_title2 {
	    font-size: 40px;
	    font-weight: 500;
	}
	.home_title3 {
	    font-size: 15px;
	    font-weight: 300;
		margin-top:24px;
	}
	.home_title4 {
	    font-size: 40px;
	    font-weight: 500;
	}
	.home_text{
		font-size: 15px;
	    font-weight: 700;
		margin-top:24px;
	}
	a.home_link {
	    font-size: 15px;
	    font-weight:500 !important;
	    width:75px;
	    height:75px;
		padding:12px;
		left:60px;
		bottom:30px;
	}
}


/* 首頁 IG輪播 */
.ig_1st{
    position: relative;
	align-items: stretch;
}
.ig_2sc {
    position: relative;
	padding-bottom:20px;
}
.ig_code {
    min-height: 672px;
    overflow: hidden;
	width:100% !important;
}

.ig_3rd {
	height: 100%;
    border: 1px solid #dbdbdb;
    border-radius: 0px 0px 16px 16px;
    box-shadow: 0px 5px 6px rgba(0,0,0,.1);
}
.ig_code iframe {
    min-width: 100% !important;
    border: 0 !important;
}
@media(max-width:525px){
	.ig_2sc {
		max-height: 530px;
/* 		border-radius:20px; */
	}
    .ig_code {
		height: 530px !important;
        min-height: 500px;
	}
}
.ig-pagination {
    text-align: center;
    margin-top: 40px;
}
.ig-pagination span.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #dbdbdb;
    opacity: 1;
    transition: .5s;
}
.ig-pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 12px;
    height: 12px;
    background: #AEA09B;
    transition: .5s;
}
@media(max-width:525px){
	.ig-pagination span.swiper-pagination-bullet {
		width: 5px;
		height: 5px;
	}
	.ig-pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active {
		width: 6px;
		height: 6px;
	}
	.ig-pagination{
		margin-top:24px;
	}
}

/* 服務項目swiper */
.service_1st,.service_2sc {
    position: relative;
}
.service_2sc {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    padding: 12px;
    align-content: end;
    border-radius: 15px;
    box-shadow: 0px 4px 10px 0px rgba(167, 139, 129, 0.40);
    margin-bottom:30px
}
.service_2sc a {
    border-radius: 15px;
}
.service_2sc a:after{
	content:"";
	background: linear-gradient(0deg, #594135 0%, rgba(191, 139, 114, 0.00) 100%) !important;
	opacity: .5;
	position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    border-radius: 15px;
	z-index:-1;
}
.service_2sc:after {
    content: "";
    background: url(/wp-content/uploads/BTN02.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: 32px;
    height: 32px;
    right: 12px;
    bottom: 12px;
	transition:.5s;
	z-index:-1;
}
.service_2sc:hover:after {
    content: "";
    background: url(/wp-content/uploads/BTN02-hover.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: 32px;
    height: 32px;
    right: 12px;
    bottom: 12px;
}
.service_2sc:hover a:after {
    opacity: .3;
    transition: .5s;
}
.service_2sc h3 {
    color: #fff !important;
    font-family: "Noto Serif TC";
    font-size: 24px;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 3px;
	margin-bottom:0;
	z-index:5;
}
.service_2sc p {
    color: #fff;
    font-family: "Noto Serif TC";
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 1px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom:0;
	z-index:5;
}
.swiper-pagination.service_list {
    position: relative;
    margin-top: 10px;
}
.text_block {
    padding-right: 40px;
}
.service_list {
    color: #594135ab;
    font-size: 20px;
}
.service_list span.swiper-pagination-current {
    color: #AEA09B;
    text-align: center;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2em;
    letter-spacing: 2px;
    margin-right:4px;
	position: relative;
    top: -6px;
}
.service_list span.swiper-pagination-total {
    color: #594135;
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2em;
    letter-spacing: 2px;
    margin-left:4px;
}

.service_list:before {
    content: '';
    background: #AEA09B;
    position: absolute;
    width: 100px;
    height: 0.5px;
    left: 34%;
    top: 60%;
    transform: translateY(-50%);
}
.service_list:after {
    content: '';
    background: #AEA09B;
    position: absolute;
    width: 100px;
    height: 0.5px;
    right: 34%;
    top: 60%;
    transform: translateY(-50%);
}
.swiper-pagination {
    left: 50% !important;
    transform: translateX(-50%) !important;
}


/* 首頁服務項目切換 */
.service_btn_click {
    font-family: "Noto Serif TC";
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2em;
    letter-spacing: 3px;
    margin: 12px 0px;
    color:#594135;
    opacity:.7;
	cursor:pointer;
	transition:.5s;
}
.service_btn_click.active {
    opacity:1;
	margin-left:1em;
}
.service_btn_click {
    position: relative;
}
.service_btn_click.active:before {
    content: "";
    background: url(/wp-content/uploads/service_btn.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: 16px;
    height: 16px;
    left: -1em;
    top: 50%;
    transform: translateY(-50%);
}
.home_service .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
}
@media(max-width:525px){
	.service_btn {
	    display: flex;
	    flex-wrap: wrap;
	    justify-content: space-between;
	}
	.service_btn_click {
	    font-size: 14px;
	    color: #1a1a1a;
	    letter-spacing:2px;
	}
	.service_btn_click:after {
	    content: "";
	    background: #AEA09B;
	    width: 70px;
	    height: 0.5px;
	    position: absolute;
	    left: 50%;
	    bottom: -10px;
	    transform: translateX(-50%);
	}
	.service_btn_click.active:after {
	    background: #594135;
	}
	.service_btn_click.active:before{
		display:none;
	}
	.service_btn_click.active{
		margin-left:0;
	}
	.service_list:before{
		left:12px;
	}
	.service_list:after{
		right:12px;
	}
}

/* 門診tab  */
.tab_taipei.active a,.tab_taichung.active a{
	background: #594135;
    color: #fff !important;
}
.block_taipei.show,.block_taichung.show{
	 display: block;
}
	
.block_taipei.hide,.block_taichung.hide{
	 display: none;
}
.single-post .sc_daylist {
    margin-bottom: 0;
}
.single-post .sc_nodata {
    display: none;
}

/* 內頁｜醫生團隊｜標籤 */
a.tags_link {
    color: #594135;
    font-size: 18px;
    border: 1px solid #594135;
    border-radius: 100px;
    padding: 6px 24px;
    margin: 12px;
}
.post_tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
@media(max-width:525px){
	.post_tags{
		justify-content: space-around;
	}
	a.tags_link {
		font-size:14px;
		padding: 4px 12px;
		margin: 8px;
		min-width: 150px;
    	text-align: center;
	}
}

/* 內頁｜醫生團隊｜經歷 */
ul.experience-list {
    margin: 0;
    border-left: 0.5px solid #AEA09B;
    padding-left: 2em;
	min-height: 150px;
}
ul.experience-list li {
    list-style: none;
    color: #1a1a1a;
    font-size: 18px;
    line-height: 1.5em;
    margin-bottom: 8px;
    font-weight: 500;
}
@media(max-width:525px){
	ul.experience-list li{
		font-size:14px;
	}
}

/* 列表頁｜醫生團隊 */
.archive ul.experience-list {
    border: navajowhite;
}
.archive ul.experience-list li {
    font-size: 18px;
    color: #594135;
    list-style: disc;
    margin: 12px 24px 12px 12px;
}
@media(max-width:525px){
	.archive ul.experience-list li{
		font-size:14px;
	}
	.archive ul.experience-list {
		padding: 0;
		margin-left:1em;
	}
	.archive ul.experience-list li {
		margin: 8px 8px 8px 12px;
	}
}

/* 目錄樣式 */
div#ez-toc-container {
    padding: 20px;
    border-radius: 20px;
    min-width: 320px;
}
.ez-toc-title-container {
    border-bottom: 1px solid #fff;
    padding-bottom: 4px;
    margin-bottom: 12px;
}

.ez-toc-title {
    color: #594135;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 2px;
}
ul.ez-toc-list li {
    margin-bottom:4px  !important;
}

ul.ez-toc-list li a {
    font-size: 16px;
    font-weight: 500 !important;
    letter-spacing: 2px;
    line-height: 1.5em;
}
@media(max-width:1024px){
    div#ez-toc-container {
        width:100%;
		min-width: 240px;
    }
}


/* google reviews style */
.wp-gr .rpi-dot.active{
	background-color:#AEA09B !important;
}

/* 下拉選單 */
.cat_select_1st select {
    color: #1a1a1a;
    font-size: 15px;
    letter-spacing: 2px;
    font-weight: 500;
    background: #e1dbd9;
    padding: 12px 24px;
    height: 52px;
    border-radius: 100px;
    border: none;
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	cursor:pointer;
}
.cat_select_1st:after {
    content: "";
    background: url(/wp-content/uploads/select_arrow.svg);
    position: absolute;
    width: 12px;
    height: 12px;
    background-repeat: no-repeat;
    background-size: contain;
    right: 24px;
    z-index: 999;
    top: 60%;
    transform: translateY(-50%);
    pointer-events: none;
    cursor:pointer;
}
.cat_select_1st select option{
	cursor:pointer;
}

/* 文章內頁tag */
.single_tag .post_tags {
    justify-content: start;
}
.single_tag .post_tags a {
    font-size: 14px;
    background: #fff;
    border-color: #fff;
    margin: 0 12px 12px 0;
    min-width: 50px;
    padding: 4px 12px;
}


/* 特別樣式 ex-toc */
.sp_toc div#ez-toc-container {
    border: 0;
    background: transparent;
    box-shadow:unset;
}
.sp_toc .ez-toc-title-container {
    border-color: #594135;
    padding-bottom: 12px;
}
.sp_toc ul.ez-toc-list.ez-toc-list-level-1 li {
    margin-bottom: 12px !important;
}

/* ex-toc 按鈕 */
span.ez-toc-icon-toggle-span svg {
    display: none;
}
span.ez-toc-icon-toggle-span {
    content: url(/wp-content/uploads/toc_arrow.svg);
    width: 16px;
    height: 16px;
    margin-top: 6px;
}
span.ez-toc-js-icon-con {
    border: 0 !important;
}

/*** 表格 ***/
/* .table_scroll{
        overflow-X:scroll;
} */
.table_scroll {
  overflow-x: auto;
}
@media(min-width:1066px){
	.table_scroll::-webkit-scrollbar {
	  height: 4px; 
	}
}
/* 
 .table_scroll::-webkit-scrollbar-track {
  background: #E8E1DF; 
  border-radius: 10px;
}

.table_scroll::-webkit-scrollbar-thumb {
  background: #E8E1DF; 
  border-radius: 10px;
}
.table_scroll::-webkit-scrollbar-thumb:hover {
  background: #E8E1DF; 
}  */

/* 療程比較 */
.tablepress th, .tablepress td {
	text-align: center !important;
	padding:16px !important;
	align-content:center;
}
.tablepress th {
    font-size: 18px;
    letter-spacing: 2px;
	font-weight:500;
}
.tablepress t4 {
    font-size: 16px;
    letter-spacing: 1px;
	font-weight:500;
}

.treatment_table td, .treatment_table th {
    text-align: center !important;
    align-content: center !important;
	padding:16px !important;
}

.treatment_table th.column-1 {
    color: #fff;
    background: #aea19b;
	border-top-left-radius: 20px;
    border-top-right-radius: 20px;
	box-shadow: 4px 0px 10px rgba(0, 0, 0, .1);
}
.treatment_table th.column-2 {
    background: transparent;
}
.treatment_table th.column-3 {
    color: #fff;
    background: #594135;
	border-top-left-radius: 20px;
    border-top-right-radius: 20px;
	box-shadow: 4px 0px 10px rgba(0, 0, 0, .1);
}
.treatment_table tbody td.column-1 {
    box-shadow: 4px 0px 9px rgba(0, 0, 0, .1);
	border:1px solid #aea19b;
	font-weight:700;
	color:#594135;
}
.treatment_table tbody td.column-3 {
    box-shadow: 4px 0px 9px rgba(0, 0, 0, .1);
	border:1px solid #594135;
	font-weight:700;
}
.treatment_table tbody td.column-2 {
    border:0 !important;
	background: #aea19b;
	color:#fff;
	font-weight:700;
	font-size:18px;
	min-width: 60px;
}
.treatment_table td.column-1, .treatment_table td.column-3 {
    width: 43%;
}

@media(max-width:525px){
	.tablepress th, .tablepress td {
		padding:12px !important;
	}
	.tablepress th {
		font-size: 16px;
	}
	.tablepress t4 {
		font-size: 15px;
	}
	.treatment_table tbody td.column-2{
		font-size:15px;
	}
	.treatment_table td.column-1, .treatment_table td.column-3 {
		width: 40%;
	}
}

/* 3V1 table */
.three_col_tble td, .three_col_tble th {
    text-align: center !important;
    align-content: center !important;
    padding:16px !important;
}
.three_col_tble th.column-1 {
    color: #fff;
    background: #aea19b;
    border-top-left-radius: 20px;
    box-shadow: 4px 0px 10px rgba(0, 0, 0, .1);
}
.three_col_tble th.column-2 {
    color: #fff;
    background: #aea19b;
    box-shadow: 4px 0px 10px rgba(0, 0, 0, .1);
}
.three_col_tble th.column-3 {
    color: #fff;
    background: #aea19b;
    border-top-right-radius: 20px;
    box-shadow: 4px 0px 10px rgba(0, 0, 0, .1);
}
.three_col_tble th.column-4 {
    background: transparent;
}
.three_col_tble th.column-5 {
    color: #fff;
    background: #594135;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 4px 0px 10px rgba(0, 0, 0, .1);
}
.three_col_tble tbody td.column-1,.three_col_tble tbody td.column-2,.three_col_tble tbody td.column-3 {
    box-shadow: 4px 0px 9px rgba(0, 0, 0, .1);
    border:1px solid #aea19b;
    font-weight:700;
    color:#594135;
}
.three_col_tble tbody td.column-5 {
    box-shadow: 4px 0px 9px rgba(0, 0, 0, .1);
    border:1px solid #594135;
    font-weight:700;
}
.three_col_tble tbody td.column-4 {
    border:0 !important;
    background: #aea19b;
    color:#fff;
    font-weight:700;
    font-size:18px;
    min-width: 60px;
}
.three_col_tble tbody td.column-1, .three_col_tble tbody td.column-2, .three_col_tble tbody td.column-3, .three_col_tble tbody td.column-5 {
    width: 23%;
}
/* .three_col_tble td.column-1, .three_col_tble td.column-3 {
    width: 43%;
} */
@media(max-width:525px){
	.three_col_tble tbody td.column-2{
		font-size:15px;
	}
	.three_col_tble td.column-1,.three_col_tble td.column-2,.three_col_tble td.column-3, .three_col_tble td.column-5 {
		min-width: 145px;
	}
}



/* id:2 table style */
.treatment_table2 {
    border-collapse: separate !important;
}
/* .treatment_table2 tr:first-child td:first-child{
    border-top-left-radius: 20px;
}
.treatment_table2 tr:first-child td:last-child{
    border-top-right-radius: 20px;
}
.treatment_table2 tr:last-child td:first-child{
    border-bottom-left-radius: 20px;
}
.treatment_table2 tr:last-child td:last-child{
    border-bottom-right-radius: 20px;
} */
.treatment_table2 td {
    border: 1px solid #aea19b4a !important;
	background: #fff !important;
	min-width: 130px;
}
.treatment_table2 td.column-1 {
    background: #AEA19B  !important;
    color: #fff;
    min-width: 100px;
    border-bottom:1px solid #fff !important;
}
/* .treatment_table2 tbody > tr:last-child > td:first-child{
    border: 1px solid #AEA19B !important;
} */
.treatment_table2 img {
    max-width: 120px !important;
}
.treatment_table2 {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, .15);
    border-radius: 20px;
}
@media(max-width:525px){
/*     .treatment_table2 tr > td:first-child {
        position: sticky;
        left: -2px;
		z-index: 3;
    }
	.treatment_table2 tr.row-2 > td:first-child {
		position: relative;
		z-index: 1;
	} */

}

/* 文章｜特色區塊 */
.tese_block .elementor-image-box-content{
   position: relative;
}
.tese_block .elementor-image-box-content:after{
    content:'';
    border:1px solid #594135;
    position: absolute;
    width: 130px;
    height: 130px;
    background: rgba(255,255,255,0);
    left: 50%;
    top:50%;
    transform: translate(-50%,-50%);
    z-index: -1;
    border-radius: 99%;
}
.tese_block .elementor-image-box-title{
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
}
.tese_block .elementor-image-box-title:after{
    content:'';
    border:1px solid #EEEAE9;
    position: absolute;
    width: 50px;
    height: 50px;
    background: #EEEAE9;
    left: 50%;
    top:50%;
    transform: translate(-50%,-50%);
    z-index: -1;
    border-radius: 99%;
}
.tese_block .elementor-image-box-description{
    min-height: 75px;
    align-content:center;
}


@media(max-width:768px){
    .tese_block .elementor-image-box-content:after{
        width:110px;
        height:110px;
    }
    .tese_block .elementor-image-box-title{
         top: -35px;
    }
}

@media(max-width:525px){
    .tese_block .elementor-image-box-content:after{
        width:120px;
        height:120px;
    }
    .tese_block .elementor-image-box-title{
         top: -40px;
    }
}

/* 文章後星星 */
.after_star{
    position: relative;
}
.after_star:after{
    content:url(/wp-content/uploads/star-icon.svg);
    width: 30px;
    height: 30px;
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
}

/* 文章｜區塊｜描述 */
.img_block_c2 img{
    max-width: 180px !important;
    box-shadow: 0px 4px 10px rgba(0,0,0,.15) !important;
}
.img_block_c2 figure.elementor-image-box-img img {
    margin: 0 auto;
}
@media(max-width:1024px){
    .img_block_c2 img{
        max-width: 100px !important;
    }	
}
@media(max-width:525px){
    .img_block_c2 img{
        max-width: 140px !important;
    }
	.img_block_c2.col3 img{
		max-width: 100px !important;
	}
}



/* 文章內表單 */
.post_form_1st {
    position: relative;
    display: flex;
    flex-wrap: wrap;
	justify-content: space-between;
}
.post_form_2sc1 {
	position: relative;
    margin: 12px 4px;
	width:47%;
	align-content:center;
}
.post_form_2sc2{
	margin: 12px 4px;
	width:100%;
}
.post_form_2sc1 span.form_re,.post_form_2sc2 span.form_re {
    color: #594135;
}
.post_form_2sc1 label input,.post_form_1st .post_form_2sc2 label input
,.post_form_1st .post_form_2sc2 label textarea,.post_form_1st .post_form_2sc1 label select {
    border-color: #E1E1E1;
    border-radius: 0 !important;
}
.post_form_1st span.wpcf7-list-item-label {
    font-size: 14px !important;
    color: #594135 !important;
}
.post_form_1st input[type="radio"] {
    accent-color: #594135;
    font-size: 14px;
    margin-right: 0 !important;
}
.post_form_1st input.wpcf7-form-control.wpcf7-text,.post_form_1st input.wpcf7-form-control.wpcf7-date{
    padding: 8px 12px 10px 60px !important;
    border-radius: 10px !important;
}
.post_form_1st textarea.wpcf7-form-control.wpcf7-textarea {
    padding: 48px 24px 10px 12px !important;
    border-radius: 10px !important;
}
.post_form_1st span.wpcf7-form-control.wpcf7-radio {
    padding: 12px 24px 12px 60px !important;
}
.post_form_1st input.wpcf7-form-control.wpcf7-email{
    padding: 8px 12px 10px 86px !important;
    border-radius: 10px !important;
}
.post_form_1st select.wpcf7-form-control.wpcf7-select{
    padding: 8px 12px 10px 100px !important;
    border-radius: 10px !important;
}
.post_form_1st span.label_inside {
	color: #AEA09B;
    font-size: 15px !important;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
}
.post_form_1st .label_checkbox span.wpcf7-form-control-wrap {
    background: #fff;
    padding: 52px 24px 12px 24px;
	border-radius:10px;
}
@media(max-width:525px){
	.post_form_1st {
		display: block;
	}
	.post_form_2sc1,.post_form_2sc2{
		margin:0;
		padding:12px;
		width:100%;
	}
	.post_form_1st span.label_inside{
		left:24px;
	}
	.post_form_1st select.wpcf7-form-control.wpcf7-select{
		text-indent:7em;
	}
	.post_form_1st input.wpcf7-form-control.wpcf7-date{
		text-indent:7em;
		background:#fff !important;
		width:100% !important;
		min-width:320px !important;
	}
}

/*  checkbox 樣式 */
.post_form_1st .label_checkbox {
    position: relative;
}
.post_form_1st .label_checkbox span.label_inside {
    top: 42px;
    color: #AEA09B;
    font-size: 15px !important;
    position: absolute;
    z-index: 1;
    left: 12px;
	width:170px;
}
@media(max-width:525px){
	.post_form_1st .label_checkbox span.label_inside {
		top:30px;
		left: 12px;
	}
}
.post_form_1st .label_checkbox .wpcf7-checkbox label {
	position: relative;
	cursor: pointer;
	}
.post_form_1st .label_checkbox .wpcf7-checkbox input[type=checkbox] {
	position: absolute;
	visibility: hidden;
	width: 30px;
	height: 30px;
	top: 0;
	left: 0;
	}
.post_form_1st .label_checkbox .wpcf7-checkbox input[type=checkbox] + span:before {
		display: block;
		position: absolute;
		content: '';
		height: 17px;
		width: 17px;
		top: 0px;
		left: 0px;
		border: 1px solid #594135;
		border-radius: 100px;
	}
.post_form_1st .label_checkbox .wpcf7-checkbox input[type=checkbox] + span:after {
	display: block;
	position: absolute;
	content: "\25CF";
	height: 12px;
	width: 12px;
	top: 3px;
	left: 2px;
	visibility: hidden;
	font-size: 12px;
	text-align: center;
	line-height: 10px;
	}
.post_form_1st .label_checkbox .wpcf7-checkbox input[type=checkbox]:checked + span:before {
	background: transparent;
	}
.post_form_1st .label_checkbox .wpcf7-checkbox input[type=checkbox]:checked + span:after {
	visibility: visible;
	}
.post_form_1st .label_checkbox .wpcf7-list-item-label {
	margin-left: 24px;
	display: inline-block;
	}
.post_form_1st .label_checkbox span.wpcf7-list-item {
    width: 20%;
    margin: 4px 0;
}
@media(max-width:525px){
	.post_form_1st .label_checkbox span.wpcf7-list-item {
		width: 33%;
	}
}
/* textarea 樣式 */
.post_form_1st .label_textarea {
    position: relative;
}
.post_form_1st .label_textarea span.label_inside {
    top: 42px;
    color: #AEA09B;
    font-size: 15px !important;
    position: absolute;
    z-index: 1;
    left: 12px;
	width:80px;
}
.post_form_1st span.wpcf7-not-valid-tip {
    position: absolute;
    bottom: -20px;
    left: 20px;
}
@media(max-width:525px){
	.post_form_1st .label_textarea span.label_inside {
		top: 30px;
	}
}
input.wpcf7-form-control.wpcf7-text, textarea.wpcf7-form-control.wpcf7-textarea, select.wpcf7-form-control.wpcf7-select, input.wpcf7-form-control.wpcf7-date {
    font-family: 'noto sans tc';
    font-size: 15px;
    color: #333;
}

.post_form_1st input.wpcf7-form-control.wpcf7-submit {
    font-size: 16px;
    padding: 12px 24px;
    letter-spacing: 2px;
	border:1px solid #594135;
}
.post_form_1st input.wpcf7-form-control.wpcf7-submit:hover{
	background:#fff;
	color:#594135;
	border-color:#594135;
}
.post_form_btn {
    margin: 0 auto;
	text-align:center;
}
span.wpcf7-spinner {
    display: none;
}
/* 滿意度調查表 */

.post_form_1st.sur_form span.wpcf7-form-control.wpcf7-radio{
	padding:0 !important;
}
.post_form_1st.sur_form .label_checkbox .wpcf7-list-item-label{
	margin-left:4px !important;
}
.post_form_1st .label_checkbox.fenyuan span.wpcf7-form-control-wrap{
	padding:42px 24px 12px 24px !important;
}
.post_form_1st .label_textarea span.label_inside.liaocheng{
	width:110px !important;
}
.post_form_1st .serpeo input.wpcf7-form-control.wpcf7-text {
    padding: 8px 12px 10px 90px !important;
}

/* img_hover_box */
.img_hover_box{
    overflow: hidden;
    border-radius: 20px;
}
.img_hover_box:hover img{
    transform: scale(1.1);
}
.img_hover_box img{
    transition: .5s;
}
.img_hover_box2{
    overflow: hidden;
    border-radius: 40px;
	border:1px solid #594135;
}
.img_hover_box2:hover img{
    transform: scale(1.1);
}
.img_hover_box2 img{
    transition: .5s;
}
.img_hover_box3{
    overflow: hidden;
}
.img_hover_box3:hover img{
    transform: scale(1.1);
}
.img_hover_box3 img{
    transition: .5s;
}

/**/
.img_box_content .elementor-image-box-description{
    text-align: justify;
}

.auto_capital {
    text-transform: uppercase;
}

/* Megamenu */
.ast-desktop .ast-mega-menu-enabled .astra-full-megamenu-wrapper .astra-megamenu.sub-menu {
    padding: 0 !important;
}
.ast-desktop .ast-mega-menu-enabled .astra-megamenu-li:hover .astra-megamenu .sub-menu {
    display: none ;
}
.main-navigation ul.sub-menu {
    padding: 12px;
}
.main-navigation ul.sub-menu a {
    padding: 2px 4px !important;
    text-align: center;
    margin: 4px 2px;
	border-radius: 20px !important;
}
.ast-desktop .ast-mega-menu-enabled .ast-hide-menu-item+.ast-mm-custom-content {
/*     margin-top: 32px !important;
	 */
}
/* .ast-desktop .main-header-menu.ast-menu-shadow .astra-full-megamenu-wrapper .sub-menu{
	background:transparent !important;
} */
.mega_nav ul.elementor-nav-menu li.menu-item:hover .sub-menu {
    display: block !important;
}
.ast-desktop .ast-mega-menu-enabled .astra-megamenu-li .astra-full-megamenu-wrapper .astra-mega-menu-width-full-stretched .ast-mm-template-content{
	margin: 0 !important;
}
.mega_nav ul.elementor-nav-menu li.menu-item .sub-menu {
    display: none !important;
    position: absolute !important;
    z-index: 999 !important;
    top: 4px;
    left: 80px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, .15) !important;
    padding: 4px 12px 16px 12px !important;
    transition: .5s;
	min-width: 240px !important;
	background:#72594d !important;
}
.main-header-menu .mega_nav .menu-item .sub-menu .menu-item.current-menu-item > .menu-link
,.main-header-menu .mega_nav .menu-item .sub-menu .menu-item:hover > .menu-link{
    background: transparent !important;
}
.astra-full-megamenu-wrapper {
    margin-top: 20px !important;
}
ul#ast-hf-menu-1 > li.current-menu-item, ul#ast-hf-menu-1 > li:hover {
    background: #f8f7f6;
    border-radius: 20px;
    color:#594135 !important;
}
.ast-builder-menu-1 .main-header-menu .mega_nav .menu-item .sub-menu .menu-item:hover > .menu-link{
	background:#AEA09B !important;
}


ul.astra-megamenu.sub-menu.astra-mega-menu-width-menu-container{
    box-shadow:none !important;
    background: transparent !important;
}
[CLASS*="-sticky-header-active"] .ast-builder-menu-1 .main-header-menu .menu-item .sub-menu .menu-link {
    background: transparent !important;
}
/* Mobile Menu */
.ast-mobile-popup-inner {
    background: url(/wp-content/uploads/mobile_menu_bg-scaled.jpg) !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
}
ul#ast-hf-mobile-menu li {
    text-align: center !important;
}

ul#ast-hf-mobile-menu li span.ast-icon.icon-arrow {
    content: url(/wp-content/uploads/arr02_right2.svg);
    width: 12px;
    height: 12px;
    margin-bottom: 2px !important;
    margin-right: 32px !important;
}
ul#ast-hf-mobile-menu li.ast-submenu-expanded span.ast-icon.icon-arrow {
    transform: rotate(90deg);
    transition: .25s;
    margin-bottom: -2px !important;
}

@media(max-width:525px){
	.ast-mobile-popup-drawer.active .ast-mobile-popup-inner {
		max-width: 62% !important;
		}
}


.ast-mobile-popup-header button#menu-toggle-close {
    width: 24px;
    padding: 0 !IMPORTANT;
    margin: 0 !important;
    line-height: 0 !important;
    height: 24px;
    margin-top: 12px !important;
    margin-right: 12px !important;
}
.ast-mobile-popup-header .ahfb-svg-iconset svg {
    width: 24px;
    height: 24px;
    transition: none;
}

/* 沈醫師 門診表 */
.postid-965 .select_doc_per {
    margin-top: 12px;
}

.treatment_table tr.row-1 td.column-2 {
    background: #ffffff00 !important;
}


.postid-15623 .mobile_toc{
	display:none;
}