@charset "utf-8";

body {
  margin: 0px;
  font-size: 1.01em;
  line-height: 1.5em;
  letter-spacing: 0.05em;
  color: #333;
}

img {
  border: none;
}

table {
  border-collapse: separate;
  border-spacing: 0;
  *border-collapse: expression('separate', cellSpacing='0');
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none !important;
}

table tr td {
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
ol {
  margin: 0;
  padding: 0;
}

/*表單設定*/
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: 'Century Gothic', 'Microsoft JhengHei', 'Apple LiGothic Medium', 'Helvetica, Arial', "LiHei Pro", "微軟正黑體";
}

select {
  border: 1px solid #ccc;
  padding: 8px 12px;
  color: #666;
}

input {
  border: 1px solid #ccc;
  padding: 8px 15px;
  color: #666;
}

textarea {
  border: 1px solid #ccc;
  padding: 3px 12px;
  color: #666;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button {
  -webkit-appearance: none;
}

@media (min-width: 959px) {

  /*選單*/
  #navmenu {
    display: none;
  }

  #menu-btn {
    display: none;
  }

  #toolbarnav {
    display: none;
  }

  /*主內容*/
  #content {
    padding-top: 100px;
  }

  #pagebody {
    margin: 0;
  }

  #w {
    margin: 0;
  }
}

/*統一設定*/
.rel {
  position: relative;
}

.container {
  margin: 0 auto;
  padding: 10px;
  max-width: 1200px;
  width: auto !important;
  width: 980px;
}

.addtop0 {
  margin-top: 0 !important;
  padding: 0 !important;
}

.addtop25 {
  padding-top: 25px;
}

.addtop50 {
  margin-top: 50px !important;
}

.addtop100 {
  margin-top: 100px !important;
}

.addleft25 {
  margin-left: 25px;
}

.addbottom25 {
  margin-bottom: 25px;
}

.loader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 999999;
  background: url(../images/loader.gif) center no-repeat #fbfbfb;
}

.web {
  display: block;
}

.mobile {
  display: none;
}

/*全網站icon設定*/
.icon-home {
  background: url(../images/svg/home.svg) left top;
  background-repeat: no-repeat;
  -moz-background-size: 20px;
  -webkit-background-size: 20px;
  -o-background-size: 20px;
  background-size: 20px;
  padding-left: 25px;
}

.icon-arrow {
  background: url(../images/svg/arrow.svg) left top;
  background-repeat: no-repeat;
  -moz-background-size: 20px;
  -webkit-background-size: 20px;
  -o-background-size: 20px;
  background-size: 20px;
  padding-left: 25px;
}

.blue {
  color: #0589c5;
}

.red {
  color: #CD1B1E;
}

.green {
  color: #22ac38;
}

.white {
  color: #fff;
}

.black {
  color: #000;
}

.orange {
  color: #eb6100;
}

.gold {
  color: #bfb575;
}

.font-big {
  font-size: 120%;
}

.font-small {
  font-size: 80%;
}

.left {
  float: left;
}

.right {
  float: right;
}

/*--------------------------上資料專區--------------------------*/
/*圖文左右用*/
.left {
  float: left;
}

.right {
  float: right;
}

.w35 {
  width: 35%;
}

.w45 {
  width: 45%;
}

.w50 {
  width: 49%;
}

.w55 {
  width: 55%;
}

.w65 {
  width: 65%;
}

/*圖文排版用*/
.p25 {
  padding: 25px;
}

.p25top {
  padding-top: 25px;
}

.nopadding {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.milktea {
  color: #d39f75;
}

hr {
  margin-top: 35px;
}

blockquote {
  border-left: 2px solid #ccc;
  padding: 5px 5px 5px 20px;
}

/*表格*/
table.surgery-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Noto Sans TC", sans-serif;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

table.surgery-table th,
table.surgery-table td {
  border: 1px solid #ddd;
  padding: 1rem;
  text-align: center;
  vertical-align: middle;
}

table.surgery-table th {
  background-color: #f7bfbf;
  color: #333;
  font-size: 1.1rem;
}

table.surgery-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

table.surgery-table caption {
  caption-side: top;
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

table.surgery-table b {
  font-family: "Noto Serif TC", serif;
  font-size: 1.2em;
}


/*上方*/
header {
  width: 100%;
  height: 100px;
  position: fixed;
  z-index: 250;
  top: 0;
  left: 0;
  z-index: 250;
  background: #fff;
  box-shadow: 0 15px 30px -2px rgba(0, 0, 0, 0.1);
}

header.fix {
  width: 100%;
  position: fixed;
  z-index: 250;
  top: 0;
  left: 0;
  height: 50px;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  border-bottom: none;
  background: #b0917a;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #f46b45, #bf782a);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #b83d2f, #b83d2f);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

#logo {
  position: absolute;
  top: 5px;
  left: 15px;
  background-image: url(../images/svg/logo.svg);
  background-position: left center;
  background-repeat: no-repeat;
  padding-left: 80px;
}

header.fix #logo {
  position: absolute;
  top: 5px;
  left: 10px;
  background-image: none;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  padding-left: 0;
}

#logo a {
  display: block;
  padding-top: 25px;
  color: #6d6d6d;
  font-weight: 500;
}

header.fix #logo a {
  display: block;
  padding-top: 0;
  color: #fff;
  font-size: 70%;
}

#logo div.big {
  font-size: 1.1em;
  margin-bottom: 10px;
}

header.fix #logo div.big {
  margin-bottom: 0;
}

#logo div.small {
  font-size: 0.5em;
  padding-left: 5px;
}

header.fix #logo div.small {
  padding-left: 0;
}

/*連結*/
nav {
  z-index: 250;
  position: absolute;
  top: 35px;
  right: 15px;
}

nav li {
  list-style-type: none;
}

nav li a {
  color: #6d6d6d;
}

header.fix nav {
  z-index: 250;
  height: 50px;
  position: absolute;
  top: 0;
  right: 5px;
}

header.fix nav li,
header.fix nav li a {
  color: #fff;
}

/*第一層*/
ul.navigation li {
  position: relative;
  list-style-type: none;
  z-index: 100;
  display: inline-block;
  color: #434343;
  text-align: center;
  font-size: 1.2em;
  line-height: 50px;
  padding: 0 15px;
}

ul.navigation li a {
  display: block;
  text-align: center;
  color: #434343;
}

ul.navigation li:hover a {
  color: #fff;
}

ul.navigation li:last-child {
  border-right: none;
}

ul.navigation li ul {
  width: 100%;
  display: none;
  /*隱藏*/
  position: absolute;
  left: 0;
}

ul.navigation li:hover>ul {
  display: block;
  /*出現*/
}

ul.navigation ul li {
  color: #fff;
  width: 100%;
  background: #433d3b;
  line-height: 25px;
  padding: 10px 0;
}

ul.navigation ul li:hover {
  background: #b8752d;
}

ul.navigation ul li:last-child {
  border-bottom: none;
}

/*連結高度*/
.addheight {
  text-align: center;
}

.addheight:hover {
  background: #433d3b;
  color: #fff;
}

.addheight ul li a {
  color: #fff;
  font-size: 0.8em;
}

.addheight ul li a:hover {}


/*menu連結-fb*/
a.icon-fb {
  background-image: url(../images/svg/facebook.svg);
  background-position: center center;
  background-repeat: no-repeat;
  display: block;
  width: 20px;
}

header.fix a.icon-fb {
  background-image: url(../images/svg/facebook02.svg);
}

header.fix a.icon-fb:hover {
  background-color: #3abcca;
}

/*首頁*/
#banner {
  background-image: url(../images/banner.jpg);
  background-repeat: no-repeat;
  background-position: center;
  height: 473px;
  padding-top: 150px;
}

#banner h2 {
  font-size: 2.1em;
  font-weight: 800;
  color: #b81c22;
  margin-bottom: 20px;
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #ffccff;
}

#banner h3 {
  display: inline-block;
  font-size: 1.5em;
  font-weight: 700;
  color: #f5a100;
  margin: 0 auto;
  padding: 5px 18px;
}

#banner .btn a {
  display: inline-block;
  background: #f5a100;
  color: #fff;
  padding: 8px 15px;
  margin: 10px;
  font-size: 1.3em;
}

#banner .btn a.bg-y {
  background: #ce8b0a
}

/*首頁診所介紹*/
#index-clinic-services {
  margin: 50px 0;
}

#index-clinic-services img {
  width: 100%;
}

#index-clinic-services .left {
  width: 583px;
}

#index-clinic-services .right {
  width: calc(100% - 600px);
  padding: 50px 0 0 0;
  color: #676767;
}

#index-clinic-services .right a {
  font-weight: 600;
  color: #b81c22;
}

#index-contact {
  width: 940px;
  margin: 0 auto;
  position: relative;
}

#index-contact::after {
  content: '';
  position: absolute;
  left: 40%;
  top: 45px;
  width: 1px;
  height: 100px;
  background-color: #cfd0d1;
}

#index-contact p b {
  font-size: 1.2em;
  font-weight: 600;
  color: #a7805a;
  padding-left: 5px;
}

#index-contact p i {
  height: 40px;
  width: 40px;
  line-height: 40px;
  border-radius: 50%;
  font-size: 1em;
  background: #c58f6d;
  text-align: center;
  color: #fff;
}

#index-contact p a {
  color: #626262;
}

#index-contact p a.addleft45 {
  padding-left: 45px;
}

#index-contact span {
  color: #b0665d;
  font-size: 0.8em;
}

#index-contact ul {
  list-style-type: none;
}

#index-contact il {
  margin-left: 55px;
}

/*首頁洗腎中心*/
#index-dialysis-center {
  width: 940px;
  margin: 25px 0;
}

#index-dialysis-center .left {
  width: 60%;
  padding: 60px 25px 25px 25px;
}

#index-dialysis-center .right {
  width: 40%;
  padding: 25px;
}

#index-dialysis-center h2 {
  color: #735f50;
  font-size: 1.2em;
}

#index-dialysis-center a {
  color: #b81c22;
  font-weight: 600;
}

/*首頁自費檢查*/
#index-self-paid-checkup {
  width: 940px;
  margin-top: 25px;
}

#index-self-paid-checkup .left {
  width: 40%;
  padding: 25px;
}

#index-self-paid-checkup .right {
  width: 52%;
  padding: 50px 0 0 0;
}

#index-self-paid-checkup .right h2 {
  color: #735f50;
  font-size: 1.2em;
}

#index-dialysis-center .right a {
  color: #b81c22;
  font-weight: 600;
}


/*門診表*/
#schedule {
  overflow: auto;
}

#schedule #item {
  white-space: nowrap;
  width: 1920px;
}

#schedule-mobile {}

#schedule-mobile #item {
  width: 100%;
}

#schedule-mobile .item li .drtime {
  display: block;
  font-size: 0.6em;
}

/*門診表*/
#schedule {
  padding: 10px;
}

#schedule .title {
  background-image: url(../images/icon_schedule.jpg);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 40px;
  margin-bottom: 10px;
  color: #2f2f2f;
  height: 30px;
  line-height: 30px;
  font-size: 1.2em;
}

#schedule .title .en {
  color: #f4a6db;
  font-size: 80%;
}

/*仿table列表設定*/
#item {
  background: #fff;
  color: #98544c;
  border-right: 1px solid #eee;
  border-left: 1px solid #eee;
}

.item {
  font-size: 1.1em;
  display: table;
  width: 100%;
}

.item.th {
  color: #000;
  border-bottom: 10px solid #b0665d;
}

.item.th li {
  border-right: 1px solid #fff;
  background: #eee;
}

.item.th02 {
  color: #fff;
  background: #b0665d;
  border-bottom: 10px solid #b0665d;
}

.item ul {
  display: table-row;
}

.item li {
  padding: 10px;
  display: inline-block;
  float: left;
  text-align: center;
  list-style-type: none;
  /*border-right:1px solid #eee;*/
  white-space: normal;
  text-align: center;
}

.item li:last-child {
  border-right: none;
}

.item li a {
  color: #333;
}

.itemlist {
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
}

.itemlist:nth-child(odd) {
  background: #f9f9f9;
}

/*仿table列表_額外*/
.three-out {}

.three {
  width: calc(100% / 3);
  padding: 0;
  float: left;
  font-size: 0.8em;
  letter-spacing: 0.01em;
  word-wrap: break-word;
  border-right: 1px solid #eee;
}

.three:nth-child(3) {
  border-right: none;
}

.item li .drname {
  font-weight: 900;
}

.item li .drtime {
  font-size: 11px;
  padding: 3px;
}

.other-color {
  color: #171010;
  font-weight: 800 !important;
}

/*門診表元素*/
.bggray {
  background: #f9f9f9;
}

.item li .drname {
  color: #98544c;
  display: block;
  cursor: pointer;
}

.item li .drtime {
  color: #d64d3d;
  cursor: pointer;
}

/*仿table列表_標題+寬度等額外元素*/
.h90 {
  height: 90px;
  line-height: 90px;
}

.h80 {
  line-height: 80px;
}

.h40 {
  height: 40px;
  line-height: 40px;
}

.w100 {
  width: 100%
}

.w90 {
  width: 90%
}

.w80 {
  width: 80%
}

.w70 {
  width: 70%
}

.w60 {
  width: 60%
}

.w50 {
  width: 50%
}

.w40 {
  width: 40%
}

.w30 {
  width: 30%
}

.w25 {
  width: 25%
}

.w20 {
  width: 20%
}

.w15 {
  width: 15%
}

.w12 {
  width: 12.5%
}

.w10 {
  width: 10%
}

#schedule-bottom {
  text-align: center;
  padding: 25px 0;
  color: #b0665d;
  font-weight: 600;
}

/*內頁上方*/
#bannerin {
  padding-top: 25px;
}

#bannerin h1 {
  color: #626262;
  text-align: center;
  font-weight: 500;
}

#bannerin h2 {
  color: #626262;
  text-align: center;
  font-weight: 500;
  margin-top: 25px;
}

/*內頁編輯器*/
.ckediter {
  padding: 10px;
}

.ckediter img {
  max-width: 100%;
  height: auto !important;
}

/* 排除掉 .ckediter 裡的內容，讓編輯器恢復預設 */
.ckediter h1,
.ckediter h2,
.ckediter h3,
.ckediter h4,
.ckediter h5,
.ckediter h6,
.ckediter ul,
.ckediter ol,
.ckediter li {
  margin: revert;
  padding: revert;
}

.ckediter-date {
  padding-left: 10px;
  color: #00a0e9;
}

/*回上頁*/
#back {
  width: 105px;
  margin: 50px auto;
  text-align: center;
  cursor: pointer;
}

#back a {
  display: block;
  background-image: url(../images/svg/arrowleft.svg);
  background-repeat: no-repeat;
  background-position: left center;
  -moz-background-size: 20px;
  -webkit-background-size: 20px;
  -o-background-size: 20px;
  background-size: 20px;
  width: 105px;
  -mox-opacity: 0.5;
  filter: alpha(opacity=50);
  opacity: 0.5;
}

#back a:hover {
  -mox-opacity: 1;
  filter: alpha(opacity=100);
  opacity: 1;
  -moz-transition: ease-in-out 0.3s;
  -o-transition: ease-in-out 0.3s;
  -webkit-transition: ease-in-out 0.3s;
  transition: ease-in-out 0.3s;
}

/*麵包屑*/
#sitemap {}

#sitemap ul {
  text-align: right;
  padding: 15px 15px 5px 0;
}

#sitemap li {
  display: inline-block;
  font-size: 0.9em;
  color: #666666;
  padding: 0 5px;
  margin-left: -5px;
  line-height: 1em;
}

#sitemap li:after {
  content: ' / ';
  margin-left: 5px;
  color: #dbad89;
}

#sitemap li:last-child:after {
  display: none;
}

#sitemap li:last-child {
  border-right: none;
  color: #bd9474;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  vertical-align: middle;
}

#sitemap li a {
  color: #666666;
}

#sitemap li a:hover {
  color: #b7794a;
}

/*分頁數字*/
#page {
  margin: 0;
  margin-bottom: 50px;
}

#page ul {
  text-align: center;
}

#page li {
  display: inline-block;
  margin: 0 5px;
  font-size: 13px;
  color: #000;
}

#page li a {
  color: #999;
}

#page li a:hover {
  color: #000;
}

/*最新消息*/
.news {
  width: 100%;
  position: relative;
  border-bottom: 1px solid #dcdcdc;
  margin: 15px 0;
  padding: 15px 0;
}

.newsin {
  width: calc(100% - 80px);
}

.newsin h1,
.newsin a h4 {
  color: #626262;
  font-size: 1.2em;
}

.newsin p {
  margin: 0;
  display: none;
}

.newsin p a {
  color: #7c7c7c;
  font-size: 1.em;
}

.newsdate {
  width: 130px;
  position: absolute;
  top: 0;
  right: 0;
  text-align: right;
}

.newsdate .date {
  font-size: 1.6em;
  color: #b5b5b5;
  padding-bottom: 3px;
}

.newsdate .year {
  font-size: 1em;
  color: #b5b5b5;
}

/*最新消息內頁*/
#main {
  width: 800px;
  margin: 0 auto;
}

#main img {
  width: 100% !important;
}

/*衛教園地分類+按鈕*/
.sublink-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1em;
  flex-wrap: wrap;
}

.sublink-left {
  flex: 1;
}

.sublink-right {
  flex: 1;
  text-align: right;
}

.sublink-right select {
  border: 1px solid #bfbfbf;
  padding: 8px 40px 8px 16px;
  border-radius: 6px;
  font-size: 1em;
  /*移除箭頭樣式*/
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  /*改變右邊箭頭樣式*/
  background-image: url(../images/arrow-down.png);
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.sublink-right select:focus,
.sublink-right option:focus {
  outline: none;
}


/*醫療團隊*/
#list-dr {
  margin-top: 25px;
}

.list-dr {
  display: flex;
  flex-direction: row;
  /*橫向往右*/
  flex-wrap: wrap;
  /*nowrap不換行、wrap換行、wrap-reverse換行換方向*/
  border-top: 5px solid #ecdfcb;
  padding: 25px 0;
}

.list-dr .list {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  width: 50%;
}

.list-dr .list .img {
  padding: 5px;
  width: 40%;
}

.list-dr .list .txt {
  padding: 5px;
  width: 60%;
}

.list-dr .list .txt h5 {
  color: #bf782a;
  font-size: 0.9em;
}

.list-dr .list .txt h4 {
  color: #bf782a;
  font-size: 1.4em;
  font-weight: 600;
  padding: 8px 0;
}

.list-dr .list .txt li {
  list-style-type: none;
  color: #737373;
}

.list-dr a.dr-register {
  display: block;
  width: 150px;
  text-align: center;
  padding: 3px 5px;
  margin: 5px 0 0 0;
  background: #a3683e;
  color: #fff;
}

.list-dr a.dr-register:hover {
  background: #673e1c;
}

/*醫療團隊-其他*/
#list-other {
  display: block;
}

#list-other1 {
  display: none;
}

.list-other {
  display: flex;
  flex-direction: row;
  /*橫向往右*/
  flex-wrap: wrap;
  /*nowrap不換行、wrap換行、wrap-reverse換行換方向*/
  border-top: 5px solid #ecdfcb;
  padding: 10px;
}

.list-other:nth-child(even) {
  background: #fbf7f1;
}

.list-other .list {
  display: inline-flex;
  align-items: center;
  padding: 1px 15px;
  width: 20%;
  border-right: 1px solid #ecdfcb;
}

.list-other .list:last-child {
  border-right: none;
}

.list-other1 .list {
  padding: 10px;
}

.list-other .list .title,
.list-other1 .list .title {
  color: #6b6b6b;
}

.list-other .list .name,
.list-other1 .list .title {
  color: #98544c;
  font-size: 1.2em;
}

/*診所服務*/
#clinic-services-top {
  margin: 25px 0;
}

#clinic-services-top .left {
  width: 50%;
}

#clinic-services-top img,
#clinic-services-bottom img {
  width: 100%;
}

#clinic-services-top .right {
  width: 50%;
  padding: 50px 25px 0 25px;
}

#clinic-services-top h2,
#clinic-services-bottom h2 {
  color: #c58f6d;
  font-size: 1.3em;
}

#clinic-services-top i {
  color: #c58f6d;
}

#clinic-services-bottom {
  margin: 50px 0;
}

#clinic-services-bottom .left {
  width: 50%;
  padding: 25px;
}

#clinic-services-bottom .right {
  width: 50%;
}

/*洗腎中心*/
#dialysis-center-top {
  margin: 25px 0;
}

#dialysis-center-top .left {
  width: 50%;
}

#dialysis-center-top .right {
  width: 50%;
  padding-left: 12px;
}

#dialysis-center-top .right img {
  width: 100%;
}

#dialysis-center-top h2,
#dialysis-center-bottom h2 {
  color: #c58f6d;
  font-size: 1.3em;
  padding-bottom: 10px;
}

#dialysis-center-top ul,
#dialysis-center-bottom ul {
  margin-left: 20px;
  margin-bottom: 25px;
}

#dialysis-center-top li,
#dialysis-center-bottom li {
  list-style-type: none;
  position: relative;
}

#dialysis-center-top li::before,
#dialysis-center-bottom li::before {
  content: ' ‧ ';
  position: absolute;
  left: -15px;
}

#dialysis-center-bottom .left {
  width: 50%;
  padding-right: 12px;
  padding-bottom: 25px;
}

#dialysis-center-bottom .right {
  width: 50%;
  padding-left: 12px;
  padding-bottom: 25px;
}

#dialysis-center-bottom img {
  width: 100%;
}

/*衛教園地*/
.qa-list {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.qa-item {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: background 0.3s;
}

.qa-item:hover {
  background: #f9f9f9;
}

.qa-item dl {
  margin: 0;
}

.qa-item dt {
  font-weight: bold;
  color: #222;
}

.qa-item dd {
  margin: 0.5em 0 0;
  color: #666;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* 限制最多顯示3行 */
  -webkit-box-orient: vertical;
}

/*衛教園地分類+按鈕*/
.sublink-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1em;
  flex-wrap: wrap;
}

.sublink-left {
  flex: 1;
}

.sublink-right {
  flex: 1;
  text-align: right;
  padding-bottom: 10px;
}

.sublink-right select {
  border: 1px solid #bfbfbf;
  padding: 8px 40px 8px 16px;
  border-radius: 6px;
  font-size: 1em;
  /*移除箭頭樣式*/
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  /*改變右邊箭頭樣式*/
  background-image: url(../images/arrow-down.png);
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.sublink-right select:focus,
.sublink-right option:focus {
  outline: none;
}

.ask-btn {
  display: inline-block;
  padding: 0.5em 1em;
  background-color: #bd9474;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.ask-btn:hover {
  background-color: #a47759;
}

/*衛教園地內頁*/
#bannerin h2.title-qa {
  color: #c69772;
  font-weight: 700;
  font-size: 2.5em;
  margin-top: 50px;
  line-height: 50px;
  margin-bottom: 10px;
  text-align: center;
}

.qa-article {
  max-width: 800px;
  margin: 30px auto 0 auto;
  background: #fff;
  padding: 35px 25px 10px 25px;
}

.question-title {
  font-size: 1.6em;
  line-height: 1.3em;
  margin-bottom: 0.5em;
  color: #222;
}

.meta {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 1.5em;
}

.answer {}

.answer-body p {
  line-height: 1.6;
  margin-bottom: 1em;
}

.answer-body img {
  max-width: 100%;
  margin-top: 1em;
  border-radius: 6px;
}

.doctor-info {
  background: #f9f9f9;
  padding: 1em;
  margin-top: 2em;
  border-left: 4px solid #ccc;
}

.center-red {
  text-align: center;
  color: #C91E21;
  font-size: 0.8em;
}

/*自費檢查列表頁*/
#inter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px;
}

.inter-item {
  flex: 1 1 calc(50% - 20px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 60px;
  position: relative;
}

.inter-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.inter-item h3 {
  margin: 0;
  background: #f8f9fa;
  border-left: 5px solid #b0665d;
  padding: 15px;
  font-size: 1.4em;
  color: #333;
}

.inter-item p {
  padding: 15px;
  color: #666;
  line-height: 1.6;
  font-size: 1em;
  margin: 0;
}

.btn-group {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  gap: 10px;
}

.btn-group a {
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.9em;
  transition: opacity 0.2s;
}

.btn-detail {
  background: #f0f0f0;
  color: #555;
}

.btn-booking {
  background: #b0665d;
  color: #fff;
}

.btn-group a:hover {
  opacity: 0.8;
}

/*自費檢查內頁*/
/* 主標題樣式 */
.page-title {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.sub-title {
  font-size: 1.4rem;
  color: #b0665d;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 25px 0 15px 0;
}

.sub-title i {
  font-size: 1.2rem;
}

.desc-text p {
  line-height: 1.8;
  color: #555;
  background: #fdf8f7;
  padding: 20px;
  border-radius: 8px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 10px 15px;
  border-left: 4px solid #e0e0e0;
  background: #f9f9f9;
  margin-bottom: 10px;
  transition: border-color 0.3s;
}

.feature-list li:hover {
  border-left-color: #b0665d;
}

.feature-list li span {
  font-weight: bold;
  color: #333;
}

/* --- 重要：美化 CKEditor 產出的內容 --- */
.ckeditor-content {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px dashed #ccc;
}

.ckeditor-content table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 20px 0;
}

.ckeditor-content th {
  background: #b0665d;
  color: white;
  padding: 12px;
  text-align: left;
}

.ckeditor-content td {
  border: 1px solid #eee;
  padding: 12px;
  color: #444;
}

.ckeditor-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/*尾部*/
footer {
  padding: 10px 0 0 0;
  background: #f6f6f6;
}

footer .column-left {
  float: left;
}

footer .column-right {
  float: right;
  padding: 45px 25px 5px 5px;
}

#footernav li {
  list-style-type: none;
  margin-top: 15px;
  margin-left: 15px;
}

#footernav02 li {
  font-size: 0.9em;
  list-style-type: none;
  color: #1b1b1b;
  padding-bottom: 2px;
}

#footernav02 li a {
  color: #1b1b1b;
}

#footernav li#footerlogo {
  background-image: url(../images/svg/logo.svg);
  background-position: left center;
  background-repeat: no-repeat;
  padding-left: 120px;
  padding-top: 25px;
  color: #6d6d6d;
}

#footernav li#footerlogo div.big {
  font-size: 2.3em;
  margin-bottom: 10px;
}

#footernav li#footerlogo div.small {
  font-size: 1em;
  padding-left: 5px;
}

#footernav li#copyright {
  font-size: 0.8em;
  color: #1b1b1b;
  padding-left: 5px;
}

#bottom {
  width: 100%;
  background: #626262;
  padding: 10px;
  color: #eeeeee;
  text-align: center;
  font-size: 0.8em;
  margin-top: 25px;
}