/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.dt-container .dt-layout-cell.dt-layout-start {
  display: none;
}
.dt-container .dt-layout-cell.dt-layout-end {
  display: none;
}
caption {
  display: none;
}
.dt-column-order {
  display: none;
}

.row-1 {
  background-color: #39271d !important;
  color: #fff;
  text-align: center;

  vertical-align: middle;
}
.row-1 th {
  border-right: #fff 1px solid;
  padding-right: unset !important;
  padding-left: unset !important;
  font-size: 20px !important;
}
.row-1 td {
  border-right: #fff 1px solid;
}
.tablepress > :where(thead, tfoot) > tr > * {
  background-color: unset;
  font-family: "Noto Serif TC" !important;
  font-size: 20px !important;

  color: unset;
}
.clinichour tbody .row-2 td,
.row-4 td,
.row-6 td {
  border-right: #39271d 1px solid;

  border-bottom: #39271d 1px solid;
}
.clinichour tbody .row-5 td {
  border-right: unset;
}
.rehabilitation tbody .row-2 td,
.row-4 td,
.row-5 td,
.row-6 td {
  border-right: #39271d 1px solid;

  border-bottom: #39271d 1px solid;
}
.row-3 td {
  border-bottom: #39271d 1px solid;
}
.tablepress
  > :where(tbody.row-striping)
  > :nth-child(odd of :where(:not(.child, .dtrg-group)))
  > * {
  text-align: center;
}
.tablepress thead .dt-orderable-asc,
.tablepress thead .dt-orderable-desc {
  text-align: center;
}
.tablepress
  > :where(tbody.row-striping)
  > :nth-child(even of :where(:not(.child, .dtrg-group)))
  > * {
  font-family: "Noto Serif TC" !important;

  text-align: center;
}
.clinichour tbody .row-3 .column-7 {
  border-left: #39271d 1px solid;
  border-right: #39271d 1px solid;
}
.clinichour tbody .row-5 .column-7 {
  border-left: #39271d 1px solid;
  border-right: #39271d 1px solid;
}

.rehabilitation tbody .row-3 .column-7,
.row-2 .column-8 {
  border-right: #39271d 1px solid;

  border-bottom: #39271d 1px solid;
}
.rehabilitation tbody .row-3 .column-7 {
  border-left: #39271d 1px solid;
}
.rehabilitation tbody .row-2 .column-1,
.row-3 .column-1,
.row-4 .column-1,
.row-5 .column-1,
.row-6 .column-1,
.row-7 .column-1,
.row-8 .column-1 {
  background-color: #39271d !important;
  color: #fff;
  font-family: "Noto Serif TC" !important;
  border-bottom: #ffffff 1px solid;
  font-size: 20px !important;
}
.clinichour tbody .row-2 .column-1,
.row-3 .column-1,
.row-4 .column-1,
.row-5 .column-1,
.row-6 .column-1,
.row-7 .column-1,
.row-8 .column-1 {
  background-color: #39271d !important;
  border-bottom: #ffffff 1px solid;

  color: #fff !important;
  font-family: "Noto Serif TC" !important;
  font-size: 20px !important;
}

.tablepress thead .dt-orderable-asc:hover,
.tablepress thead .dt-orderable-desc:hover,
.tablepress thead .dt-ordering-asc,
.tablepress thead .dt-ordering-desc {
  background-color: unset !important;
  color: unset !important;
  cursor: unset !important;
}

.clinichour tbody .row-2 .column-1:hover,
.clinichour tbody .row-3 .column-1:hover {
  background-color: #39271d !important;
  color: #fff !important;
  cursor: unset !important;
}

.rehabilitation tbody .row-2 .column-1:hover,
.rehabilitation tbody .row-3 .column-1:hover,
.rehabilitation tbody .row-4 .column-1:hover {
  background-color: #39271d !important;
  color: #fff;
  font-family: "Noto Serif TC" !important;
  border-bottom: #ffffff 1px solid;
  font-size: 20px !important;
}

.elementor-widget-n-carousel.elementor-element
  :is(.swiper, .swiper-container)
  ~ .elementor-swiper-button-next {
  right: -30px;
}
.elementor-widget-n-carousel.elementor-element
  :is(.swiper, .swiper-container)
  ~ .elementor-swiper-button-prev {
  left: -30px;
}
.elementor-widget-n-carousel
  .elementor-swiper-button.elementor-swiper-button-next:hover
  svg,
.elementor-widget-n-carousel
  .elementor-swiper-button.elementor-swiper-button-prev:hover
  svg {
  fill: #000 !important;
}

@media (max-width: 767px) {
  .slick-arrow {
    display: none !important;
  }
  .elementor-widget-n-carousel.elementor-element
    :is(.swiper, .swiper-container)
    ~ .elementor-swiper-button-next {
    right: -10px;
  }
  .elementor-widget-n-carousel.elementor-element
    :is(.swiper, .swiper-container)
    ~ .elementor-swiper-button-prev {
    left: -10px;
  }
}

/* 移除 TablePress row-hover 效果 */
.tablepress tbody tr.row-hover:hover td,
.tablepress tbody tr.row-hover:hover th {
  background: none !important;
  color: inherit !important;
}
.koc_serif {
  font-family: "Noto Serif TC";
}
