/*
@Author: ThemeMascot
@URL: http://ThemeMascot.com

This is the file where you can add your custom styles to change the look of the
theme. But don't modify style-main.css file.

*/
/* Your custom css codes start here: */
/* * {
  outline: 1px solid red;
} */
html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    /* 標準屬性 */
    -webkit-text-size-adjust: 100%;
    /* Safari/Chrome */
    -moz-text-size-adjust: 100%;
    /* Firefox Android */
    -ms-text-size-adjust: 100%;
    /* 舊 IE/Edge */
}
html,
body {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    /* iOS、Android 禁止自動字體縮放 */
    /* background-color: #f6f8f5; */
    color: #000;
}
a{
    text-decoration: none;
    font-weight: normal;
    color: inherit;
    font-size: 14px!important;
}
a:hover{
    color: inherit;
}
p{
    font-size: 14px!important;
}
@media (min-width: 768px){
    p,a{
        font-size: 16px!important;
    }
}
/* ==================== 主題色 ==================== */
.text-darkgray{
    color: #333!important;
}
.text-darkgray-1{
    color: #4d4d4d!important;
}
.text-darkgray-2{
    color: #4a4a4a!important;
}
.text-theme-colored{
    color: #f2b705 !important;
}
.text-theme-colored-darker1{
    color: #f59600 !important;
}
.text-theme-colored-darked2{
    color: #ffb546 !important;
}
.bg-theme-colored{
    background-color: #fff7e8 !important;
}
.bg-theme-colored-darker1{
    background-color: #f7c75a!important;
}
.bg-theme-colored-darker2{
    background-color: #f2b705!important;
}
.bg-theme-colored-transparent{
    background-color: #f2b705 !important;
}
.btn-theme-colored{
    background-color: #fff;
    border-color: #fff;
    color: #000;
}
.btn-theme-colored:hover{
    background-color: #f2b705 ;
    border-color: #f2b705;
    color: #fff;
}
.btn-theme-colored-1{
    background-color: #fff;
    border-color: #ffb546;
    color: #ffb546;
}
.btn-theme-colored-1:hover{
    background-color: #ffb546;
    color: #fff;
}
.btn-read-more{
    color: #f2c549;
}
.btn-theme-colored-2{
    background-color: #f2b705;
    color: #fff;
}
.btn-theme-colored-2:hover{
    background-color: transparent;
    border-color: #f2b705;
    color: #f2b705;
}
/* ==================== 通用樣式 ==================== */
.row{
    margin: 0;
}
.img-fullwidth{
    width: 100% !important;
    height: auto !important;
    display: block;
}
@media (min-width: 991px){

    .btn{
        font-size: 16px!important;
        padding: 15px 25px!important;
    }
}
@media(min-width:992px){
    .img-fullwidth{
        max-width: 1000px !important;
        max-height: 100% !important;
    }
}
/* ==================== 側邊欄 side-panel ==================== */
#side-panel {
    width: 280px;
}
#side-panel .side-panel-wrap > a img{
    width: 80%;
    max-width: 200px;
}
#side-panel .widget.no-border ul li i{
    display: inline-block;
    width: 1.2em;
    text-align: center;
    margin-right: 5px;
}

/* ==================== header ==================== */
/* Section: home */
#header .header-top{
    padding: 0;
}
#header .container{
    padding: 0;
    /* padding-right: 15px; */
    margin: 0;
    width: 100%;
}
#header .container .row{
    margin: 0;
}
#header .container .row > div{
    padding: 0;
}
#header .widget.no-border ul.list-inline{
    margin-left: 0;
}
#header .widget.no-border ul.list-inline > div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
#header .widget.no-border ul.list-inline > div li{
    padding: 5px 0;
    font-size: 14px;
    white-space: nowrap;
}
#header .widget.no-border ul li{
    padding: 5px 0;
    font-size: 14px;
}
#header .widget.no-border ul li.sm-display-block{
    background-color: #f7c75a;
    transition: all 0.5s ease;
    border: 1px solid #f7c75a;
    
}
#header .widget.no-border ul li.sm-display-block a{
    font-size: 14px;
    background-color: transparent;
    color: #000;
    padding: 5px;
    transition: all 0.5s ease;
}
#header .widget.no-border ul li.sm-display-block:hover{
    background-color: transparent;
    border-color: #f2b705;
}
#header .widget.no-border ul li.sm-display-block:hover a{
    color: #f2b705;
}
.side-push-panel.has-side-panel .menuzord .showhide{
    display: none!important;
}
.menuzord{
    display: flex;
    justify-content: center;
    align-items: center;
}

.menuzord-responsive .menuzord-brand {
    margin: 10px auto;
    display: inline-block;
}

#side-panel-trigger{
    margin-right: 15px;
}
.menuzord.blue .menuzord-menu > li.active > a, .menuzord.blue .menuzord-menu > li:hover > a, .menuzord.blue .menuzord-menu ul.dropdown li:hover > a{
    background-color: #f2b705;
    color: #fff;
}
.side-push-panel.fullwidth-page.side-panel-open #wrapper{
    right: 0;
}
#side-panel .side-panel-nav .nav li a:hover{
    color: #666666;
}
@media (min-width: 901px){
    #side-panel-trigger{
        display: none;
    }
    .menuzord{
        justify-content: space-around;
    }
    .menuzord-menu{
        display: flex;
        gap: 10px;
    }
    .menuzord-menu > li{
        margin: 0 10px;
    }
    .menuzord-responsive .menuzord-brand{
        margin: 10px 50px;
    }
}
@media (min-width: 991px){
    #header .container .row {
        padding: 10px 0;
    }
    #header .container .row .widget ul.list-inline {
        width: 100%;
        display: flex;
        gap: 20px;
        justify-content: space-around;
    }
    #header .container .row .widget ul.list-inline>div{
        padding-right: 10%;

    }
    #header .widget.no-border ul li.sm-display-block a{
        padding: 10px 30px;
    }
    #header .widget.no-border ul li ,#header .widget.no-border ul.list-inline > div li{
        font-size: 16px;
    }

}
@media (max-width: 950px){
    #side-panel-trigger{
        margin-top: 10px;
    }
}
/* ==================== 輪播大圖 ==================== */
/* main-content */
/* 預設都隱藏，交給 media query */
.desktop-slider,
.mobile-slider {
  display: none;
}

/* 桌機 */
@media (min-width: 1240px) {
  .desktop-slider {
    display: block;
  }
}

/* 手機 / 平板 */
@media (max-width: 1239px) {
  .mobile-slider {
    display: block;
  }
}


/* ====================  全方位照護/醫師親自評估/友善安心空間 ====================  */
/* Section: home-boxes */
@media (min-width: 992px){

    .section-content  .equal-height-inner > div{
        padding: 0;
    }
}
/* ==================== 診所簡介 ====================  */
/* Section: about */
.aboutSec .row .pic {
    padding: 0;
}
@media (min-width: 991px){
    .aboutSec .container{
        padding: 40px  0 0 20px;
    }
    .aboutSec .row .col-md-5{
        padding-bottom: 40px;
    }
    .aboutSec .row .pic{
        position: absolute;
        width: 80%;
        top: -130px;
        right: 0;
        z-index: -1;
        text-align: right;
    }
    .aboutSec .row .pic img{
        max-width: 130%;
    }
}
@media (min-width: 1200px){
    .aboutSec .row .pic{
        width: 60%;
    }
    .aboutSec .row .pic img{
        max-width: 121%;
    }
}
@media (min-width: 1300px){
    .aboutSec .row .col-md-5{
        padding-bottom: 70px;
    }
    .aboutSec .row .pic img{
        max-height: 650px;
    }
}
/* ==================== 治療項目 ==================== */
/* Section: Services */
.serviceSec .section-content .media-left{
    width: 55px;
    text-align: center;
    margin-right: 30px;
    padding-top: 10.5px;
    padding-left: 5px;
}
.serviceSec .section-content .icon-link .media-left img{
    max-width: 55px;
    height: auto;
    max-height: 50px;
}
.serviceSec .section-content .icon-link .media-body{
    padding-top: 10.5px;
}
.serviceSec .section-content .icon-link .media-body h5 ,.serviceSec .section-content .icon-link .media-body p{
    transition: color 0.5s ease;
}


.serviceSec .section-content .icon-link:hover .media-body h5,.icon-link:hover .media-body p{
    color: #f2b705;
}
@media (min-width: 768px) {
    .serviceSec .section-content .row{
       display: flex;
       flex-wrap: wrap;
    }
}

/* ==================== 自費點滴療程項目/點滴療程完成/輕急症處置案例/累積服務人次 ==================== */
/* Divider: Funfact */
.divider.parallax h2.plus::after {
  content: "+";
  margin-left: 4px;
  font-size: 0.8em; /* 可依需求調整 */
  font-weight: 500;
}
.divider.parallax{
    background-image: url(../img/parallax-bg.jpg);
    background-position: center!important;
}
.divider.parallax.layer-overlay::before{
    background: none;
}
.funfact img{
    width: auto;
    max-height: 50px;
}
/* ==================== 衛教園區 ====================*/
/* Section: Departments */
.blogSec .section-content h4{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}
.blogSec .section-content p{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.blogSec .section-content .col-xs-12 img{
    transition: transform 1s ease;
}
.blogSec .section-content .col-xs-12:hover img, .blogSec .section-content .col-xs-12:focus-within img{
    filter: brightness(0.85);
    transform: translate(-50%, -50%) scale(1.2);
}
.blogSec .section-content .col-xs-12:hover .btn-read-more::after{
    transform: translateX(5px);
}
/* ==================== 醫療之外，更給你安心與陪伴 ==================== */
/* Section: Pricing */
.pricing-table.style1 .pricing-icon .icon-box-1 {
  border: 8px solid #eeeeee;
  border-radius: 50%;
  color: #fff;
  font-size: 50px;
  height: 100px;
  left: 0;
  line-height: 1.7;
  margin: 0 auto; 
  position: absolute;
  right: 0;
  top: 20px;
  width: 100px;
  background-color: #ffd28f;
  display: flex;
  align-items: center;
}
.pricing-table.style1 .pricing-icon .icon-box-1 img{
    width: 60px;
    height: auto;
    margin: auto;
}
.pricing-table.style1 p{
    text-align: center;
}
@media (min-width: 768px){
    .pricing-table.style1 p{
        text-align: left
    }
    .pricingSec .row{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
}
@media (min-width: 991px){
    .pricingSec {
        padding-bottom: 30px;
    }
    .pricingSec .row{
        flex-direction: row;
        align-items: stretch;
    }
    .pricing-table.style1{
        margin-bottom: 0;
        height: 100%;
    }
}
/* ==================== 亮點設施 ==================== */
/* Section: gallery */
.divider.parallax.gallerySec{
    background-image: url(../img/gallery-bg.jpg);
    background-position: center!important;
}
/* .line-bottom::after{
    content: none;
} */
.testimonial.style1 .comment{
    background-color: #fff7e8!important;
}
.testimonial.style1 .comment::after{
    color: #f7c75a;
}
.gallerySec .title img{
    width: 30px;
    height: auto;
    margin-right: 10px;
}
.icon-theme-colored.icon-dark a{
    background-color: #f2b705;
}
.icon-theme-colored.icon-dark:hover a{
    background-color: #f59600;
}
.testimonial.style1 .comment p{
    color: #000;
    font-style: normal;
}
.testimonial.style1 .content{
    padding-right: 10px;
}
.testimonial.style1 .thumb {
  width: 75px; 
}
.testimonial.style1 .thumb .boximg1x1{
    border-radius: 50%;
}
.testimonial.style1  .patient-details h6{
    font-size: 14px;
    color: #000;
    font-weight: normal;
}
/* ==================== 最新消息 ==================== */
/* Section: blog  */
.blogSec .entry-content {
    height: 100%;
}
.blogSec .entry-content h4{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    font-weight: normal;
}
.blogSec .entry-content p{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}
.blogSec .item .boximg3x2 img{
    transition: transform 1s ease;
}
.blogSec .item:hover .boximg3x2 img{
    filter: brightness(0.85);
    transform: translate(-50%, -50%) scale(1.2);
}
/* ==================== Footer ====================  */
footer .container{
    width: 100%;
    max-width: 1500px;
}
footer .widget.logo{
    text-align: center;
}
footer .widget.logo img{
    width: 40%;
    max-width: 200px;
    margin-bottom: 10px;
}
footer .widget .post-right h5.post-title a{
    color: #000;
    padding-left: 10px;
}
footer  iframe{
    border-radius: 20px;
    width: 100%;
    height: 300px;
    margin-bottom: 30px;
}
footer .widget .list-border li.noborderbottom{
    border-bottom: none;
}
footer .widget .list-border li.noborderbottom a{
    color: #fff;
}
footer .widget .list-border li.noborderbottom .btn{
    padding: 10px!important;
}
footer .widget .list-border li.noborderbottom .btn:hover{
    color: #f2b705;
}
footer .copyright{
    background-color: #4a4a4a;
    color: #fff;
}
footer .copyright p{
    margin: 0;
    padding: 10px 5px;
    text-align: center;
}
@media (min-width:768px){
    footer .row{
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;

    }
}
@media (min-width:1200px){
    footer .row .map{
        padding-left: 0;
        padding-right: 30px;
    }
}

/* ==================== 側邊欄 ==================== */
aside {
  display: flex;
  position: fixed;
  flex-direction: column;
  right: 0;
  bottom: 15px;
  text-align: center;
  align-items: center;
  overflow: hidden;
  padding: 0.5em 0;
  width: 50px;
  border-radius: 10px;
  transform: scale(0.8);
  z-index: 999;
}
aside a {
  width: 100%;
  height: 100%;
  text-decoration: none;
  display: block;
  cursor: pointer;
  margin: 10px 0;
}
aside .asideBottom {
  margin-top: 5px;
  transition: opacity 0.3s ease;
  opacity: 1;
}
aside .asideBottom a {
  display: flex;
  align-items: center;
  margin: 0;
  justify-content: center;
}
aside .asideBottom.hidden {
  opacity: 0;
  pointer-events: none;
}
@media (min-width:768px){
    aside {
        right: 10px;
        transform: scale(1);
    }
}
/* ==================== 分頁 ==================== */
/* inner-header */
.inner-header.divider.parallax{
    background-image: url(../img/top-pic.jpg);
    background-position: center!important;
}
.breadcrumb>li+li:before{
    color: #333;
}
.breadcrumb li,.breadcrumb li a{
    font-size: 16px;
}
.inner-header .title{
    font-size: 22px;
}
.pagination>li>a{
    color: #f59600;
}
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover{
    background-color: #f59600;
}
.pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover{
    background-color: #f59600;

}
.pagination-box{
    text-align: center;
}
@media (min-width:768px){
    .inner-header .title{
        font-size: 26px;
    }
}
/* ==================== 最新消息 ==================== */
.newPage .blog-posts .post .entry-title{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-weight: normal;
}
.newPage .blog-posts .post p{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}
.newPage .blog-posts .post .boximg3x2 img{
    transition: transform 1s ease;
}
.newPage .blog-posts .post:hover .boximg3x2 img{
    filter: brightness(0.85);
    transform: translate(-50%, -50%) scale(1.2);
}
@media (max-width:768px){
    .newPage .blog-posts .post .entry-title{
        font-size: 18px;
    }
}
@media (min-width:1200px){

    .multi-row-clearfix .col-md-4:nth-child(3n + 4){
        clear: left;
    }
}
/* ==================== 最新消息/亮點診所新增「氫氣治療」療程，歡迎諮詢預約 ==================== */
/* Section: Blog */
.newdetailPage .date-title{
    border: 1px solid #f2b705;
    padding: 0 10px;
    margin-bottom: 20px;
}

.newdetailPage .single-post article .entry-title{
    padding-top: 0;
    font-weight: normal;
}
.newdetailPage img{
    width: 100% !important;
    height: auto !important;
    display: block;
}
.newdetailPage iframe{
    width: 100% !important;
    height: 100% !important;
}
@media (max-width:768px){
    .newdetailPage .single-post article .entry-title{
        font-size: 16px;
    }
}
@media (min-width:992px){
    .newdetailPage .container {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 900px;
    }
    .newdetailPage img{
        max-width: 900px !important;
        max-height: 100% !important;
    }
    
}

/* ==================== 治療項目/亮點點滴+衛教園區 ==================== */
.servicePage blockquote{
    border-color: #f2b705;
}
.servicePage .post blockquote h5 ,.servicePage .sidebar li a{
    font-weight: normal;
    transition: color 0.5s ease;
}


.servicePage .post:hover h5 , .servicePage .sidebar li:hover a,.servicePage .sidebar li a.active{
    color: #f59600;
    font-weight: 700;
    
}

.servicePage .line-bottom::after, .servicePage .widget .line-bottom::after{
    position: absolute;
    border: 1px solid #f2b705;
    background-color: #f2b705;
}

.servicedetailPage .post:hover h5 {
    color: #000;
}
.servicedetailPage img{
    width: 100% !important;
    height: auto !important;
    display: block;
}
.servicedetailPage iframe{
    width: 100% !important;
    height: 100% !important;
}
@media (min-width:992px){
    .servicedetailPage .row{
        display: flex;
        flex-direction: row-reverse;
    }
    .servicedetailPage img{
        max-width: 1000px !important;
        max-height: 100% !important;
    }
}
/* ==================== 衛教園區 ==================== */
.blogPage .gallery-item .entry-content .entry-title{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}
.blogPage .gallery-item .entry-content p{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.blogPage .gallery-isotope.grid-4 .gallery-item{
    padding-right: 15px;
}
.blogPage .gallery-isotope.grid-4 .gallery-item  .boximg1x1 img{
    transition: transform 1s ease;
}
.blogPage .gallery-isotope.grid-4 .gallery-item:hover  .boximg1x1 img{
    filter: brightness(0.85);
    transform: translate(-50%, -50%) scale(1.2);
}
.blogPage .gallery-isotope.grid-4 .gallery-item:hover .btn-read-more::after{
   transform: translateX(5px);
}
.blogPage .gallery-isotope.grid-4 .gallery-item .btn-read-more:hover{
    color: #f2c549;
}

@media (min-width:1200px){
    .blogPage .container{
        width: 1400px;
    }
}
/* ==================== 聯絡我們 ==================== */
.contactPage .section-content .col-sm-12{
    padding: 20px;
    transition: box-shadow 0.8s ease;
}
.contactPage .section-content .col-sm-12:hover{
    box-shadow: 0 0 15px gray;
}

/* ==================== 關於亮點/門診時間 ==================== */
.scheduleSec {
  padding: 30px 25px 40px;
}
.scheduleSec .content {
  overflow-x: auto;
  /* 允許水平滾動 */
  margin-top: 20px;
}
.scheduleSec .content table {
  width: 100%;
  min-width: 800px;
  /* 設定最小寬度，避免表格太窄 */
  border-collapse: separate;
  /* 必須用 separate 才能看到圓角 */
  border-spacing: 0;
  /* 去掉格子間距 */
  border-radius: 10px;
  overflow: hidden;
  /* 防止內容溢出圓角 */
  background-color: #fff;
  text-align: center;
  border: 2px solid #f2b705;
  margin: 20px 0;
  /* 讓最右邊格子不再畫右邊框 */
}
.scheduleSec .content table th {
  background-color: #f2b705;
  color: white;
  text-align: center;
  font-size: 16px;
}
.scheduleSec .content table td {
  font-weight: 600;
  color: #4a4a4a;
  font-size: 14px;
}
.scheduleSec .content table th,
.scheduleSec .content table td {
  padding: 15px;
  border-right: 1px solid #f2b705;
  /* 右邊框 */
  border-bottom: 1px solid #f2b705;
  /* 下邊框 */
}
.scheduleSec .content table td:first-child,
.scheduleSec .content table th:first-child {
  width: 180px;
  /* 可自行調整 */
  white-space: nowrap;
  /* 不換行，保持緊湊 */
}
.scheduleSec .content table td:last-child,
.scheduleSec .content table th:last-child {
  border-right: none;
}
.scheduleSec .content table tfoot td {
  text-align: center;
  padding: 12px;
  border: none;
  border-bottom-left-radius: 12px;
  /* 左下圓角 */
  border-bottom-right-radius: 12px;
  /* 右下圓角 */
  color: #666666;
}
@media (min-width:992px){
    .scheduleSec .content {
        margin: 30px auto;
    }
    .scheduleSec .content table th{
        font-size: 18px;
    }
    .scheduleSec .content table td{
        font-size: 17px;
    }
    .scheduleSec .content table tfoot td {
        font-size: 16px;
    }
}
/* ==================== 關於亮點/醫師介紹 ==================== */
.about2Page .team .boximg4x5 img{
    transition: transform 1s ease;
}
.about2Page .team:hover .boximg4x5 img{
    filter: brightness(0.85);
    transform: translate(-50%, -50%) scale(1.2);
}

/* ==================== 關於亮點/核心理念 ==================== */
.aboutPage ul.list{
    border-left: 3px solid #f2b705;
    padding-left: 30px;
}
.aboutPage ul.list li:before{
    color: #f2b705;
}
.aboutPage .job-overview{
    border-width: 5px;
}
.aboutPage .dl-horizontal dt{
    float: left;
}
.aboutPage .dl-horizontal dd p{
    text-decoration: none;
}

