/*
Theme Name:		 FitWP-childtheme
Theme URI:		 https://www.ctkpro.com/
Description:	 FitWP-childtheme theme
Author:			 ctkpro
Author URI:		 https://www.ctkpro.com/
Template:		 FitWP
Version:		 1.0.0
Text Domain:	 FitWP-child
-------------------------------------------------------------- */

/* =Theme customization starts here
------------------------------------------------------- */
body {
    background: #fff;
    overflow-x: hidden !important;
}
/*body *{font-family: 'Arial',"Noto Sans TC","Microsoft Jhenghei", "微軟正黑體", sans-serif!important;}*/
a {
    text-decoration: none;
}

/* layout */
body #carousel .flex-viewport,
body .pageContentWrapper,
body .pageWidgetModule,
body .widgetModuleWrapper {
    background: #fff;
}
.container .eight.columns {
    width: calc(50% - 20px);
}
.container .one-third.column {
    width: calc(33.3% - 20px);
}
.container .two-thirds.column {
    width: calc(66.6% - 20px);
}
.container .eleven.columns {
    width: calc(68% - 20px);
}
.container .five.columns {
    width: calc(32% - 20px);
}
/* ––––––––––––––––––––––––––––––––––––––––––––––––––
2018-10-修改
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.pageContentWrapper {
    padding: 30px 0 0;
}
.container {
    width: 1180px;
}
.clearfix:after,
.pageContent:after {
    content: '';
    display: block;
    clear: both;
}
.m-hide {
    display: block;
}
.mobile {
    display: none;
}
.foot-fixed li:hover,.btn-reservation.reservation-tc:hover,.singleMeta .title a:hover/*,.post-carousel-title:hover*/ {
    opacity: 0.8;
}

/* font */
.widget .team-list-grid .postTitle h1,
.widget .new-grid .postTitle h1 {
    color: #333;
    font-size: 24px;
}
.pageContent p,
body .widget .postDetails p {
    font-size: 16px;
}
.singleInfo h1 {
    line-height: 1.2;
}
body .button-small,
body .button-small-theme {
    padding: 0;
    font-size: 16px;
    position: relative;
}

/* –––––––––––
header
–––––––––––––– */
header {
    background-color: #fff;
    padding-top: 20px;
    box-shadow: 1px 3px 8px rgba(0, 0, 0, 0.1);
}
.logo img {
    width: 180px;
}
.m-hide-logo {
    display: inline-block;
}
/* –––––––––––
pageInfo
–––––––––––––– */
body .pageInfo {
    background: none !important;
    border-bottom: 1px solid #e9e9e9;
    padding-bottom: 20px;
}
body .container .pageTitle {
    margin: 0 30px 0 0;
}
body .pageTitle::before {
    height: 35px;
    width: 35px;
    position: relative;
    top: -2px;
    margin-right: 10px;
}
.pageInfo .container h1 {
    color: #000;
    font-size: 24px;
}
.pageInfo .container .pageTitle,
.pageInfo .container .breadcrumb {
    width: auto;
    text-align: left;
}
.breadcrumb a,
.breadcrumb span {
    color: #999;
    background-color: transparent;
}
.breadcrumb a {
    background-position: right center;
}
.breadcrumb a:hover {
    color: #333;
}
/* .breadcrumb{} */
body .breadcrumb > a:first-child::before {
    width: 15px;
    height: 15px;
}
/* top-toolbar */
.d_top-toolbar {
    text-align: right;
    position: absolute;
    right: 0;
    top: 0;
}
.d_top-toolbar > * {
    display: inline-block;
}
.d_lang_switch,
.topSearch {
    position: relative;
}
.d_lang_switch {
    padding-top: 8px;
}
.d_lang_switch .wpml-ls-legacy-dropdown {
    width: auto;
    min-width: 60px;
    position: relative;
    z-index: 2;
}
.d_lang_switch .wpml-ls-legacy-dropdown a,
.d_lang_switch .wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
    border: 0;
    text-align: left;
    color: #666;
    background-color: transparent;
}
.d_lang_switch .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after,
.sf-sub-indicator {
    display: none;
}
.d_lang_switch .wpml-ls-legacy-dropdown a:hover,
.wpml-ls-legacy-dropdown a:hover,
.wpml-ls-legacy-dropdown a:focus,
.wpml-ls-legacy-dropdown .wpml-ls-current-language:hover > a {
    background: none;
}
.d_lang_switch .wpml-ls-legacy-dropdown a:hover {
    color: #000;
}
.d_arrow {
    display: inline-block;
    position: absolute;
    width: 8px;
    height: 8px;
    background: transparent;
    text-indent: -9999px;
    border-top: 2px solid #bfbfbf;
    border-left: 2px solid #bfbfbf;
    transition: all 250ms ease-in-out;
    text-decoration: none;
    color: transparent;
    z-index: 1;
}
.d_arrow:before {
    display: block;
    height: 200%;
    width: 200%;
    margin-left: -50%;
    margin-top: -50%;
    content: '';
    transform: rotate(45deg);
}
.d_arrow.d_down {
    transform: rotate(-135deg);
    right: 5px;
    top: 13px;
}
.topSearch {
    border-radius: 100px;
    padding: 5px 0;
    width: 0;
    transition: width 0.3s ease-in-out 0s;
    margin-right: 10px;
}
.topSearch .searchform {
    margin: 0;
}
.topSearch .searchform input[type='submit'] {
    display: none;
}
.topSearch .searchform input {
    background-color: transparent;
}
.topSearch .searchform input[type='submit'],
.topSearch .searchform label:after,
.topSearch.open .searchform:after {
    content: '';
    width: 20px;
    height: 25px;
    background-image: url(img/icon-search.svg);
    background-size: 100%;
    background-color: transparent;
    font-size: 0;
    position: absolute;
    right: 10px;
    top: 6px;
    background-repeat: no-repeat;
    padding: 0;
}
.topSearch .searchform label:after,
.topSearch.open .searchform:after {
    top: 2px;
    right: auto;
}
.topSearch.open .searchform:after {
    left: 10px;
    top: 6px;
}
.topSearch .searchform input[type='text'] {
    border: 0;
    margin: 0;
    padding: 3px 0 3px 20px;
    width: 100%;
}
.topSearch .searchform label {
    position: absolute;
    font-size: 0;
    right: 20px;
    cursor: pointer;
}
.topSearch.open {
    width: 180px;
    border: 1px solid #78a800;
    padding: 5px 20px;
}
.topSearch.open .searchform label {
    right: 28px;
}
.topSearch.open .searchform label:after {
    background-image: url(img/icon-cancel.svg);
    width: 12px;
    height: 12px;
    top: 5px;
}
input[type='text']:focus {
    outline: none !important;
    border-color: transparent;
    box-shadow: none;
}

/*menu*/
.container.d_header {
    margin: 0;
}
.container .d_header,
.logo,
.mainNav,
.mainNav li a {
    text-align: center;
    border: 0;
}
.mainNav {
    width: 75%;
    padding: 40px 0 30px;
    position: relative;
    margin-top: 60px;
}
.sf-menu > li {
    width: 14.28%;
}
body .mainNav li a {
    display: inline-block;
    padding: 0;
    color: #000;
    width: 100%;
    text-align: right;
    font-weight: normal;
    font-size: 16px;
}
#menu-menu-1 li {
    width: 20%;
}
body .mainNav li a:hover {
    background: none !important;
    color: #999;
    border: 0;
}
.sf-menu li {
    position: static;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul,
.sf-menu .sub-menu {
    top: 88px;
    left: -12.5%;
}
.sf-menu .sub-menu {
    background-color: #878b6e;
    width: 100%;
    box-shadow: none;
    text-align: center;
    z-index: 2;
    display: none;
}
.sf-menu li li,
.mainNav li ul li {
    background: none;
    padding-right: 0;
    border: 0 !important;
    display: inline-block;
    float: none;
}
.sub-menu .sub-menu,
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
    top: 58px;
    left: 0;
    background-color: #373c19;
}
.mainNav li ul li a,
.sf-menu li li,
.mainNav li ul li,
.mainNav li ul li a:hover,
.mainNav .current_page_item ul a {
    width: auto;
    color: #fff;
}
.mainNav li ul li a {
    border-right: 1px solid #fff !important;
    padding: 0 20px;
}
.mainNav li ul li:last-child > a {
    border-right: 0 !important;
}
.sf-menu li li {
    padding: 20px 0;
}
.sub-menu::after,
.sub-menu .sub-menu::after,
.foot-fixed-menu::after {
    z-index: -1;
    content: '';
    display: block;
    height: 63px;
    position: absolute;
    background: #878b6e;
    top: 0;
    width: 100%;
}
@media (min-width: 769px) {
    .sub-menu::after,
    .sub-menu .sub-menu::after,
    .foot-fixed-menu::after {
        width: 300%;
        left: -100%;
    }
}
.sub-menu .sub-menu::after {
    background-color: #373c19;
    top: 0;
}
.mainNav > ul > li.current-menu-parent > a,
.mainNav > ul > li.current_page_ancestor > a,
.mainNav > ul > li.current_page_item > a {
    color: #999;
}
body .mainNav .current-menu-item a {
    background: transparent !important;
}
/*foot-fixed-menu*/
.foot-fixed-menu {
    padding: 0;
    z-index: 2;
}
.foot-fixed-menu:after {
    background-color: #878b6e;
    visibility: visible;
    height: 100%;
}
.foot-fixed,
.foot-fixed li {
    margin-bottom: 0;
}
.foot-fixed li {
    float: left;
    width: 25%;
    background: #373719;
    text-align: center;
    transition: 0.5s;
}
.foot-fixed li:nth-child(3) {
    background: #787850;
}
.foot-fixed li:nth-child(2) {
    background: #877f64; /*background:#c3b996*/
}
.foot-fixed li:nth-child(1) {
    background: #6b6b54; /*background: #b4b496;*/
}
.foot-fixed li a {
    color: #fff;
    text-decoration: none;
    font-size: 28px;
    display: inline-block;
    line-height: 140px;
    letter-spacing: 0.1em;
    position: relative;
    padding-top: 10px;
}
.foot-fixed li a span {
    color: #fff;
}
.foot-fixed li.item-booking,
.foot-fixed li.item-phonebooking,
.foot-fixed li.item-location {
    display: none;
}
.foot-fixed li a:before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    top: -10px;
    margin-right: 10px;
    left: -10px;
}
.foot-fixed li.item-exam a:before {
    background-image: url(img/icon-page-user-o.png);
}
.foot-fixed li.item-internation a:before {
    background-image: url(img/icon-白色盾牌.png);
}
.foot-fixed li.item-service a:before {
    background-image: url(img/icon-worlwide.png);
}
.foot-fixed li.item-team a:before {
    background-image: url(img/icon-page-doctors.png);
}
.foot-fixed li.item-schedule a:before {
    background-image: url(img/icon-page-calendar.png);
}
/* 英文版換icon */
/* .foot-fixed li.item-schedule-en a:before{background-image: url(img/icon-location.png);} */
/* .foot-fixed li.item-schedule-en a{width:100%;} */
.foot-fixed li.item-booking a:before {
    background-image: url(img/icon-page-doctor-o.png);
}
.foot-fixed li.item-phonebooking a:before {
    background-image: url(img/icon-page-phone.png);
}
.foot-fixed li.item-location a:before {
    background-image: url(img/icon-location.png);
}
.foot-fixed li > a:after {
    font-size: 13px;
    position: absolute;
    left: 62px;
    top: -30px;
}
.foot-fixed li.item-exam a:after {
    content: '全方位健康管理';
}
.foot-fixed li.item-internation a:after {
    content: '客製化療程服務';
}
.foot-fixed li.item-service a:after {
    content: '零距離貼心服務';
}
.foot-fixed li.item-team a:after {
    content: '最堅強名醫團隊';
}
.foot-fixed li.item-schedule a:after {
    content: '最新門診時刻表';
}

/* –––––––––––
首頁內容
–––––––––––––– */
/*slide*/
.sliderWrapper .slidesDescription {
    border: 0;
    background-color: transparent;
    background: none;
    bottom: 5%;
}
.slidesDescription span,
.slidesDescription h2 {
    line-height: 100%;
    font-size: 44px;
    font-style: normal;
    color: #fff;
    margin-bottom: 20px;
    display: block;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.55);
}

/*中間廣告*/
.container .columns.homeHorizontalWidget {
    width: 100%;
    float: none;
}
.site-tabs a.btn-fliter-box.is-checked::after,
.site-tabs a.btn-fliter-box.is-checked::after,
.site-tabs a.btn-fliter-box.is-checked::after,
.site-tabs a.btn-fliter-box.is-checked::after {
    background: #3c4a00;
}
.index-ad-banner {
    padding-top: 30px;
}
.index-ad-banner li:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
}
.index-ad-banner li,
.index-ad-banner .banner-cover,
.index-ad-banner .banner-info {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all 0.1s ease-in-out 0s;
    margin: 0;
}
.index-ad-banner li a {
    display: block;
    position: relative;
    z-index: 3;
}
.index-ad-banner li a,
.index-ad-banner .banner-info {
    height: 395px;
}
.index-ad-banner h3 {
    color: #373719;
    font-size: 36px;
    margin-bottom: 30px;
}
.index-ad-banner p {
    color: #878b6e;
    font-size: 20px;
}
.index-ad-banner h3,
.index-ad-banner p {
    line-height: 120%;
}
.index-ad-banner .banner-info {
    margin-left: 50%;
}
.banner-info-inner {
    padding: 60px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.banner-info-inner:after {
    content: '';
    display: block;
    height: 1px;
    width: 0;
    background-color: #878b6e;
    opacity: 0.5;
    transition: width 0.5s ease-in-out 0s;
}
.index-ad-banner li:hover .banner-info {
    background-color: #373719;
}
.index-ad-banner li:hover .banner-cover {
    opacity: 0.8;
}
.index-ad-banner li:hover .banner-info-inner > * {
    color: #fff;
}
.index-ad-banner li:hover .banner-info-inner:after {
    width: 100%;
}
.index-ad-banner li .banner-info,
.index-ad-banner li .banner-cover {
    float: left;
    width: 50%;
}
.index-ad-banner li .banner-cover {
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.index-ad-banner li:nth-child(even) .banner-info {
    margin-left: 0;
    text-align: right;
}
.index-ad-banner li:nth-child(even) .banner-cover {
    right: 0;
    left: auto;
}

/*最新文章*/
.index-latest-post {
    padding: 50px 0;
}
.site-tabs-container {
    position: relative;
}
.inactive {
    height: 0;
    overflow: hidden;
}
.index-latest-post .site-tabs {
    position: absolute;
    right: 0;
    top: 60px;
}
.site-tabs li {
    display: inline-block;
}
.site-tabs li:last-child a {
    margin-right: 0;
}
.site-tabs-container-header {
    display: inline-block;
    min-width: 300px;
}
.wcp-post-contents:before {
    content: '';
    display: block;
    height: 1px;
    width: 99%;
    background: rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}
.wcp-carousel-main-wrap .post-style-2 .wcp-content-wrap h3,
.wcp-carousel-main-wrap .post-style-3 .wcp-content-wrap h3 {
    line-height: 120%;
    height: 52px;
    overflow: hidden;
}
.wcp-post-author,
.wcp-post-meta i {
    display: none;
}
.wcp-carousel-main-wrap .post-style-3 .wcp-post-meta {
    margin-left: 4px !important;
}
.wcp-carousel-main-wrap .slick-prev::before,
.wcp-carousel-main-wrap .slick-next::before {
    font-size: 50px;
}
.wcp-carousel-main-wrap .slick-prev,
.wcp-carousel-main-wrap .slick-next {
    width: 50px;
    height: 50px;
    opacity: 0.5;
}
.wcp-carousel-main-wrap .slick-slide:hover,
.newsPostList .singleInfo:hover {
    background: #eee;
}
.wcp-carousel-main-wrap .slick-next {
    right: -50px;
}
.wcp-carousel-main-wrap .slick-prev {
    left: -50px;
}
.newsPostList .singleInfo .singleThumb {
    padding-top: 20px;
}
.wcp-carousel-main-wrap .post-style-2 .wcp-content-wrap h3:hover,
.wcp-carousel-main-wrap .post-style-3 .wcp-content-wrap h3:hover,
.singleMeta .title a:hover {
    text-decoration: underline;
}

/* –––––––––––
footer
–––––––––––––– */
body footer,
body .smallFooter {
    background-image: none;
    background-color: #878b6e;
}
footer .container .one-third.column {
    width: 25%;
    margin: 0;
}
footer .moduleLabel {
    display: none;
}
.footerModule .moduleDescription {
    float: none;
    font-style: normal;
}
body .footerModule h3,
body .footerModule h2 {
    background-color: transparent !important;
    border: 0 !important;
    padding: 0;
}
body .footerModule h3 {
    line-height: 180%;
}
body footer .widget,
#menu-foot-menu li a {
    font-size: 16px;
}
footer *,
body footer .widget,
#menu-foot-menu li a,
body .footerModule .moduleDescription,
body .footerModule a {
    color: rgba(255, 255, 255, 0.9) !important;
}
body .widget a:hover,
body .widgetModuleWrapper a:hover {
    opacity: 0.7;
}
body footer li > a:hover {
    text-decoration: underline;
}
footer .widget_nav_menu {
    padding-top: 5px;
}
footer .widget_nav_menu li {
    margin-bottom: 15px;
}
body .smallFooter {
    color: #fff;
    font-style: normal;
    border: 0;
}
body .smallFooter .columns {
    color: #fff;
    margin: 0;
    opacity: 0.8;
}
.smallFooter .contentRight {
    float: right;
}
ul.foot-social-nav {
    margin-bottom: 20px;
}
.foot-social-nav li {
    float: left;
    margin-right: 8px;
}
.foot-social-nav li a {
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;
    text-align: center;
    font-size: 0;
    width: 45px;
    height: 45px;
    background-color: #fff;
    border-radius: 100px;
    display: inline-block;
}
.foot-social-mail a {
    background-image: url(img/icon-mail.png);
}
.foot-social-line a {
    background-image: url(img/icon-line.png);
}
.foot-social-facebook a {
    background-image: url(img/icon-fb.png);
}
.foot-social-youtube a {
    background-image: url(img/icon-yt.png);
}
.foot-social-whatsapp a {
    background-image: url(img/icon-whatsapp.png);
}
a.d_btn_w,
a.d_btn_w:hover {
    background-color: #fff;
    border-radius: 5px;
    color: #878b6e !important;
    padding: 10px 15px;
}
/*浮動預約*/
.btn-reservation.reservation-tc {
    background: none;
    background: #373c19;
    color: #fff;
    width: 95px;
    height: auto;
    text-align: center;
    font-size: 18px;
    padding: 8px 0;
}
.fixed-right-bottom.btn-reservation:before {
    background-size: 48px;
    content: '';
    background-image: url(img/icon-signup.png);
    background-repeat: no-repeat;
    width: 95px;
    height: 60px;
    background-position: center;
    display: inline-block;
}

/* –––––––––––
醫療團隊與內頁樣板
–––––––––––––– */
.container .team-list-grid.column {
    width: calc(25% - 20px);
}
.postThumb img {
    margin: 0 auto;
}
.widget .team-list-grid .postTitle h1,
.widget .new-grid .postTitle h1,
.team-list-grid .postDetails,
.new-grid .postDetails {
    text-align: center;
    padding-right: 0;
}
/*.new-grid:hover .postDetails, .team-list-grid:hover .postDetails,body .team-list-grid:hover .postDetails h1,body .team-list-grid:hover .postDetails p,
.new-grid:hover .postDetails,body .new-grid:hover .postDetails h1,body .new-grid:hover .postDetails p{background-color: #373C19;color: #fff!important;;border:0;}
.new-grid:hover .postThumb img, .team-list-grid:hover .postThumb img{opacity: .8;}*/
body.page-template-template-trainers-3 .pageTitle::before,
body.page-template-template-trainers-4 .pageTitle::before {
    background-image: url('img/icon-page-doctor.png');
}
.single-post_trainers .pageContent,
.single-post_trainers .singleInfo {
    padding: 0;
}
.single-post_trainers .pageContent p {
    margin-bottom: 3px;
}
.single-post_trainers .pageContent {
    padding-bottom: 30px;
}
.single-post_trainers .singleThumb img {
    margin: 0 auto;
    width: 60%;
    min-width: 250px;
}
.single-post_trainers .singleMeta,
.single-post_trainers .singleQuote {
    padding: 0;
    margin: 0;
}
.single-post_trainers .singleQuote {
    margin-bottom: 30px;
}
.single-post_trainers .singleMeta h1 {
    font-size: 30px;
    color: #373719;
    margin-bottom: 0;
}
.btn-m-middle {
    min-width: 100px;
}

/* –––––––––––
文章列表和樣板設定
–––––––––––––– */
.container .sixteen.columns {
    width: 100%;
}
.page blockquote,
.page blockquote p,
.single blockquote,
.single blockquote p {
    border: 0;
    font-style: normal;
    background: transparent;
    font-size: 20px;
    padding: 0;
}
.archive .singleInfo,
.single .singleInfo,
.page-template .singleInfo,
.search .singleInfo {
    background: none;
    padding-top: 0 !important;
}
.archive .singleInfo h1,
.single .singleInfo h1,
.page-template .singleInfo h1,
.search .singleInfo h1 {
    color: #000;
}
.archive .singleInfo .singleMeta,
.single .singleInfo .singleMeta,
.page-template .singleMeta,
.search .singleMeta {
    padding-left: 0;
}
.archive .singleInfo .singleMeta span a,
.single .singleInfo .singleMeta span a,
.page-template .singleInfo .singleMeta span a,
.search .singleInfo .singleMeta span a {
    color: #666;
}
.archive .singleInfo .excerpt,
.single .singleInfo .excerpt,
.page-template .singleInfo .excerpt,
.search .singleInfo .excerpt {
    color: #333;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 16px;
}
.archive .singleInfo .singleThumb img,
.postThumb,
.single .singleInfo .singleThumb img,
.page-template .singleInfo .singleThumb img,
.search .singleInfo .singleThumb img {
    border-bottom: 0;
}
.pageContent {
    border: 0;
    padding: 20px;
}
body .button-small:hover,
body .button-small-theme:hover {
    color: #3c4a00 !important;
}
.button-small-theme {
    color: #78a800 !important;
    background: none !important;
}
body .postDetails .button-small:hover,
body .postDetails .button-small-theme:hover {
    color: #78a800 !important;
    box-shadow: none;
}
body .button-default {
    background-color: #78a800 !important;
    color: #fff !important;
    padding: 5px 20px;
}
body .button-default:hover {
    color: #fff !important;
    opacity: 0.8;
}
body .sidebar .widget_categories ul,
body .sidebar .widget_nav_menu ul,
.page-cutting-edge-equipment .widget_black_studio_tinymce .textwidget ul,
.page-cutting-edge-equipment .widget_black_studio_tinymce .textwidget {
    background-color: transparent;
    border: 0;
    background: none;
}
body .sidebar .widget_categories ul li,
body .sidebar .widget_nav_menu ul li,
.page-cutting-edge-equipment .widget_black_studio_tinymce .textwidget ul li {
    border-bottom: 1px solid #cdced0;
}
body .sidebar .widget_categories a,
body .sidebar .widget_nav_menu a,
.page-cutting-edge-equipment .widget_black_studio_tinymce .textwidget ul li a {
    color: #333;
    font-size: 20px;
}
.page-cutting-edge-equipment .widget_black_studio_tinymce ul li:last-child {
    padding-bottom: 13px;
}
.widget .postTitle h1 {
    font-size: 18px;
    color: #000;
    margin-bottom: 0;
}
.widget .postTitle h1,
.newsPost .postDetails {
    border: 0;
}
.widget ul.newsPost li {
    margin-bottom: 0;
}
.pagination {
    text-align: right;
}
.pagination li {
    display: inline-block;
    float: none;
}
.pagination li > * {
    width: 30px;
    height: 30px;
    border-radius: 0 !important;
    line-height: 30px;
    border: 1px solid #ddd;
    background-color: transparent;
    color: #000 !important;
}
.pagination .current,
.pagination li > *:hover {
    background-color: #373c19 !important;
    color: #fff !important;
    border-color: #373c19;
}
.pagination .current {
    pointer-events: none;
}

/*地理位置*/
.contact-map {
    float: left;
    width: 65%;
}
.contact-direction {
    float: right;
    width: 30%;
}
.contact-gmap {
    padding: 10px 0 30px;
}
.location-info {
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}
.location-info li {
    float: left;
    width: 33.3%;
    background-repeat: no-repeat;
    background-size: 50px;
    background-position: 20px 5px;
}
.location-info li h4 {
    font-weight: normal;
    margin-bottom: 15px;
}
.location-info li p,
.location-info li a {
    margin: 0;
    color: #666;
    font-size: 18px;
    line-height: 150%;
}
.location-info li h4,
.location-info li p {
    padding-left: 100px;
}
.location-info li.add {
    background-image: url(img/icon-localizer.png);
}
.location-info li.tel {
    background-image: url(img/icon-phone-call.png);
}
.location-info li.openinghours {
    background-image: url(img/icon-clock.png);
}

/*季刊下載*/
.pageContent a.button-dl,
a.button-big,
.booking-container input[type='submit'] {
    border: 2px solid #ddd;
    padding: 10px 20px;
    color: #78a800 !important;
    font-size: 15px;
    border-radius: 0;
    background-color: transparent;
}
.pageContent a.button-dl:hover,
a.button-big:hover,
.booking-container input[type='submit']:hover {
    background-color: #78a800;
    color: #fff !important;
    border: 2px solid #78a800;
}
/*fliter*/
.page-template .fliter-box-container {
    padding: 0 5px;
    margin-bottom: 8px;
}
.page-template a.btn-fliter-box,
.site-tabs a {
    position: relative;
    cursor: pointer;
    display: inline-block;
    padding: 5px 0;
    margin: 0 20px 10px 0;
    font-size: 16px;
    text-decoration: none;
    border-bottom: 1px solid #9e9da2;
}
.page-template a.btn-fliter-box:hover,
.site-tabs a:hover {
    color: #3c4a00;
}
.page-template a.btn-fliter-box:after,
.site-tabs a:after {
    display: inline-block;
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    height: 3px;
    width: 100%;
    background: transparent;
}
.page-template a.btn-fliter-box.is-checked:after,
.site-tabs .active a:after,
body a.btn-fliter-box.active:after,
.site-tabs .current-menu-item a:after {
    background: #3c4a00;
}
a.btn-fliter-box,
.site-tabs a {
    color: #444;
}

/*環境介紹*/
.introPost .excerpt {
    border-color: rgba(0, 0, 0, 0.1);
}
/*注意事項內頁*/
.single-post_rocess .singleMeta span,
.single-post_service .singleMeta span,
.single-post_notice .singleMeta span {
    display: none;
}
/*新聞內頁*/
.widget_dd_news_widget .postThumb {
    display: none;
}
.widgetModuleWrapper .container .one-third.column {
    width: calc(50% - 20px);
}

/*表單－線上預約*/
.booking-info .wpcf7 input {
    font-size: 15px;
}
.booking-info,
.s-notice-box h6 {
    color: #9e9da2;
}
.booking-info p {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 150%;
}
.s-notice-box {
    padding: 20px 30px;
    margin: 30px 0 20px;
    border: 1px solid #dedede;
    font-size: 14px;
}
.s-notice-box ul {
    margin-bottom: 0;
}
.s-notice-box h6 {
    margin-bottom: 10px;
}
.s-notice-box ul li {
    list-style: inside decimal;
    margin-bottom: 5px;
}
.s-notice-box ul li:last-child {
    margin-bottom: 0;
}
.booking-info h4 {
    font-weight: 400;
}
.booking-type-select {
    padding: 30px 0 20px;
    font-size: 18px;
}
.booking-container,
.table-select-list .sub-title-box th h4 {
    font-size: 18px;
}
.pageContent .wpcf7 table.table-select-list td {
    font-size: 16px;
}
.booking-container .pageContent {
    padding: 0;
}
.booking-container .site-tabs li a {
    min-width: 120px;
    text-align: center;
    background-color: #dedede;
    padding: 10px;
    color: #000;
    border-bottom: 0;
}
.booking-container .site-tabs li.active a,
.booking-container .site-tabs li a:hover {
    background-color: #3c4a00;
    color: #fff;
}
.booking-container .site-tabs li a span {
    transition: 0.5s;
}
.booking-container .site-tabs li a:hover span {
    color: #fff;
}
.booking-container .wpcf7 .form-box {
    margin-bottom: 50px;
}
.wpcf7-textarea,
.booking-container .wpcf7-select {
    padding: 10px 20px;
}
.booking-container .booking-main-select .wpcf7-select {
    width: 100%;
    border: 1px solid #dedede;
    padding-right: 45px;
    font-size: 18px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url(img/arrow-down.svg);
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: 95% center;
}
.table-select-list .sub-title-box th {
    padding: 10px 0 0 0;
}
.table-select-list .sub-title-box th,
.table-select-list h4 {
    text-align: left;
    color: #333;
}
.table-select-list .table-detail-box td:last-child {
    text-align: right;
}
.table-select-list-booking .table-detail-box td:last-child {
    text-align: left;
}
.table-select-list-booking .table-detail.table-detail-box {
    width: 50%;
    display: inline-block;
    float: left;
}
.table-select-list td {
    border-bottom: 1px dotted #ddd;
    padding-bottom: 8px;
}
.booking-container .wpcf7 label span.label-hint {
    font-size: 13px;
    padding-left: 10px;
}
.booking-container .wpcf7 textarea {
    height: 50px;
    width: calc(100% - 40px);
}
.pageContent .wpcf7 label > span.label-title {
    width: 15%;
}
.pageContent .wpcf7 label > .label-title-full,
.pageContent .wpcf7 label > span.label-title {
    color: #333;
}
.pageContent .wpcf7 label > .label-title-full {
    float: none;
}
.pageContent .wpcf7 input.auto-w,
.pageContent .wpcf7 input.auto-f {
    width: auto;
}
.pageContent .wpcf7 input.auto-f {
    width: 100%;
}
.booking-container .text-f .wpcf7-form-control-wrap {
    width: 80%;
}
.form-profile .must .label-title:after {
    content: '*';
    color: red;
    padding-left: 2px;
}
.form-profile input[type='email'] {
    margin-bottom: 0;
}
.booking-container input[type='submit'] {
    min-width: 150px;
    display: inline-block;
}
.booking-container .btn-group {
    text-align: center;
}
div.wpcf7-validation-errors {
    color: red;
}
div.wpcf7-validation-errors,
div.wpcf7-mail-sent-ok {
    border: 0;
    text-align: center;
    font-size: 18px;
}
div.wpcf7-mail-sent-ok {
    color: #373719;
}
input[type='text'],
input[type='password'],
input[type='email'],
textarea,
select {
    color: #333;
}
.pageContent .wpcf7 table.table-select-list td {
    color: #666;
}
.ui-datepicker .ui-widget-header .ui-icon {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
}
.ui-datepicker .ui-datepicker-header .ui-datepicker-next .ui-icon {
    background-image: url(img/icon-right-o.png);
}
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev .ui-icon {
    background-image: url(img/icon-left-o.png);
}
.pageContent .wpcf7 .ui-datepicker .ui-datepicker-next,
.pageContent .wpcf7 .ui-datepicker .ui-datepicker-prev {
    top: 0;
}

/*accordion*/
body .accordion-title::after {
    background: url('img/icon-add.svg') no-repeat;
}
body .accordion-title.open::after {
    background: url('img/icon-minus.svg') no-repeat;
    transform: none;
}

@media screen and (max-width: 1180px) {
    .container {
        width: calc(100% - 40px);
    }
    /*.container .one-third.column{width: calc(50% - 20px);}*/
    /*foot-fixed-menu*/
    .foot-fixed li a {
        font-size: 24px;
    }
    .foot-fixed li a:before {
        width: 48px;
        height: 48px;
    }
    .foot-fixed li a::before {
        top: 15px;
    }
}

@media screen and (max-width: 1024px) {
    /*foot-fixed-menu*/
    .foot-fixed li a {
        font-size: 20px;
    }
    /* –––––––––––
醫療團隊
–––––––––––––– */
    .container .team-list-grid.column {
        width: calc(33.3% - 20px);
    }
}

@media screen and (max-width: 959px) {
    .container {
        width: 750px;
    }
    /*menu*/
    .mainNav {
        width: 100%;
        margin-top: 0;
    }
    body .mainNav li a {
        text-align: center;
    }
    .sf-menu li:hover > ul,
    .sf-menu li.sfHover > ul,
    .sf-menu .sub-menu {
        left: 0;
    }
    /*地理位置*/
    .contact-map,
    .contact-direction,
    .location-info li {
        float: none;
        width: 100%;
    }
    .location-info li {
        margin-bottom: 20px;
        background-size: 40px;
        background-position: left top;
    }
    .location-info li h4,
    .location-info li p {
        padding-left: 60px;
        margin-bottom: 0;
    }
    .location-info li p,
    .location-info li a {
        font-size: 15px;
    }
    /*中間廣告*/
    .index-ad-banner li a,
    .index-ad-banner .banner-info {
        height: 350px;
    }
    .banner-info-inner {
        padding: 30px;
    }
    /*線上預約*/
    .booking-container .site-tabs li {
        width: 49%;
    }
    .booking-container .site-tabs li a {
        width: 100%;
        padding: 10px 0;
        margin: 0;
    }
    .page-template-template-booking .tab_container .pageContent {
        padding: 0;
    }
    .pageContent .wpcf7 label > span.label-title {
        width: 100%;
        margin-bottom: 0;
    }
    .form-profile > p,
    .booking-container .wpcf7 label span.label-hint {
        padding: 0;
    }
    .pageContent .wpcf7 .wpcf7-list-item,
    .pageContent .wpcf7 .wpcf7-list-item-label,
    .pageContent .wpcf7 label,
    .pageContent .wpcf7 label span,
    .pageContent .wpcf7 p {
        font-size: 18px;
    }
    .booking-container .booking-main-select .wpcf7-select,
    .booking-container .wpcf7 span.wpcf7-form-control span {
        font-size: 16px;
    }
    .pageContent .wpcf7 .user-availability .wpcf7-form-control > span {
        float: none;
        display: block;
    }
    .booking-container .booking-main-select .wpcf7-select {
        padding-left: 10px;
    }
}

@media screen and (max-width: 767px) {
    .container {
        width: calc(100% - 40px);
    }
    .mobile,
    .topSearch .searchform input[type='submit'] {
        display: block;
    }
    .m-hide,
    .topSearch .searchform label,
    .m-hide-logo {
        display: none;
    }
    /*font*/
    .singleInfo h1,
    .m-header {
        font-size: 30px;
    }
    .single-post .pageContent,
    .pageContent p,
    .m-p p,
    .index-latest-post .wcp-content-wrap h3 a {
        font-size: 20px !important;
        line-height: 1.6em;
    }
    .pageContent .openinghours > p {
        font-size: 15px !important;
    }
    .pageContent p > span {
        line-height: 1.4em;
    }
    body .button-small,
    body .button-small-theme,
    .m-sub,
    .m-sub p,
    .page-template a.btn-fliter-box,
    .site-tabs a {
        font-size: 18px;
    }
    .index-latest-post .wcp-carousel-main-wrap .wcp-post-contents.rpc-content {
        font-size: 16px;
        font-weight: 300;
    }
    .newsPostList .singleInfo,
    .single-post .singleInfo,
    .single-post .pageContent,
    .pageContent {
        padding: 0;
    }

    /* –––––––––––
header
–––––––––––––– */
    header {
        padding-bottom: 55px;
    }
    header .container,
    .container .eight.columns,
    .container .one-third.column,
    .container .two-thirds.column,
    .container .eleven.columns,
    .container .five.columns {
        width: 100%;
    }
    body .logo {
        margin: 0;
    }
    .logo img,
    .animateIt .logo img {
        width: auto;
        height: 50px;
        margin: 0 auto;
    }
    .d_top-toolbar {
        bottom: -60px;
        width: 100%;
        top: auto;
        background: #eee;
    }
    .topSearch {
        width: 100%;
        padding: 10px 0;
    }
    .topSearch .searchform input[type='text'] {
        width: 80%;
    }
    .topSearch .searchform input[type='submit'] {
        top: 10px;
    }
    /*menu*/
    .mainNav {
        position: absolute;
        left: 20px;
        top: 12px;
        width: auto;
        margin-top: 0;
    }
    .mainNav,
    .mobileNav,
    .mobileNav .sixteen.columns,
    .animateIt .mainNav {
        width: auto;
        padding: 0;
    }
    .select-wrapper {
        position: absolute;
    }
    .select-wrapper:after {
        content: '';
        background-image: url(img/icon-menu.svg);
        width: 30px;
        height: 30px;
        background-size: contain;
        display: block;
    }
    .select-container,
    .container .breadcrumb {
        display: none;
    }
    .mobileNav {
        width: 30px;
        height: 30px;
    }
    /*.nav{display: block;}
.mainNav li,.sf-menu .sub-menu li{width: 100%;float: none;display: block;border:0;padding: 0;}
body .mainNav li a,.sf-menu .sub-menu li a{padding: 20px 0;font-size: 20px;}
.sf-menu .sub-menu{position: relative;}.sf-menu li:hover > ul, .sf-menu li.sfHover > ul,.sf-menu .sub-menu,.sub-menu .sub-menu,ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul{top: 0;}
*/
    /*foot-fixed-menu*/
    .foot-fixed li.item-service,
    .foot-fixed li.item-team,
    .foot-fixed li a:after {
        display: none;
    }
    .foot-fixed li.item-schedule-en {
        display: none;
    }
    .foot-fixed li.item-internation-en {
        display: none;
    }
    .foot-fixed li.item-booking,
    .foot-fixed li.item-phonebooking,
    .foot-fixed li.item-location {
        display: block;
    }
    .foot-fixed-menu {
        display: none;
        position: fixed;
        bottom: 0;
        width: 100%;
        padding: 0;
        z-index: 99;
    }
    .foot-fixed li {
        width: 25%;
        margin: 0 !important;
        background: #373c19 !important;
    }
    .foot-fixed li a {
        font-size: 13px;
        text-align: center;
        line-height: 150%;
        padding: 5px 0;
    }
    .foot-fixed li a:before {
        width: 24px;
        height: 24px;
        display: block;
        margin: 0 auto;
        top: auto;
        margin-bottom: 3px;
        left: 0;
    }
    /*footer*/
    footer > ul.container {
        padding: 30px 20px;
    }
    footer > ul.container > * {
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
        padding-bottom: 10px;
    }
    footer > ul.container > *:last-child {
        border: 0;
    }
    footer .container .one-third.column {
        width: 100%;
        margin-bottom: 10px !important;
    }
    /* –––––––––––
醫療團隊與內頁樣板
–––––––––––––– */
    .container .team-list-grid.column {
        width: calc(50% - 20px);
    }
    .single-post_trainers .singleMeta,
    .single-post_trainers .singleQuote {
        text-align: center;
    }
    .btn-m-middle {
        display: block;
        width: 80%;
        margin: 0 auto;
    }
    /* –––––––––––
最新文章carousel
–––––––––––––– */
    .site-tabs-container-header {
        width: 100%;
    }
    .index-latest-post {
        padding: 30px 0;
    }
    .index-latest-post .site-tabs {
        position: relative;
        top: auto;
        text-align: center;
        margin-bottom: 0;
    }
    .wcp-carousel-main-wrap .slick-next {
        right: -30px;
    }
    .wcp-carousel-main-wrap .slick-prev {
        left: -30px;
    }
    .wcp-carousel-main-wrap .post-style-2 .wcp-content-wrap h3,
    .wcp-carousel-main-wrap .post-style-3 .wcp-content-wrap h3 {
        height: auto;
    }
    /*中間廣告*/
    .banner-info-inner {
        transform: none;
        text-align: center;
    }
    .banner-info h3 {
        margin-bottom: 10px;
    }
    .index-ad-banner li .banner-info,
    .index-ad-banner li .banner-cover {
        float: none;
        width: 100%;
        margin: 0;
    }
    .index-ad-banner li a,
    .index-ad-banner .banner-info {
        height: auto;
    }
    .index-ad-banner li .banner-cover {
        height: 300px;
        position: relative;
    }
    .index-ad-banner h3 {
        font-size: 24px;
    }
    .index-ad-banner p {
        font-size: 16px;
    }
    /*文章列表*/
    .wcp-carousel-main-wrap .slick-slide:hover,
    .newsPostList .singleInfo:hover {
        background: none;
    }
    .singleInfo {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 640px) {
    body.down.logged-in header.animateIt {
        top: 0;
    }
    .logo img,
    .animateIt .logo img {
        height: 35px;
    }
    .mainNav {
        top: 3px;
    }
    /* –––––––––––
醫療團隊
–––––––––––––– */
    .container .team-list-grid.column {
        width: calc(100% - 20px);
    }
}
@media screen and (max-width: 360px) {
    /*中間廣告*/
    .index-ad-banner li .banner-cover {
        height: 275px;
    }
    /*線上預約*/
    .table-select-list-booking .table-detail.table-detail-box {
        width: 100%;
    }
}
