.text-right-wp {
  float: right;
  margin: 0.5em 0 0.5em 1em;
}

.text-center-wp {
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-left-wp {
  float: left;
  margin: 0.5em 1em 0.5em 0;
}

.layout-post {
  margin: 0 auto;
  position: relative;
}

main .layout-post ul {
  display: block;
  list-style-type: disc;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: 0;
  margin-right: 0;
  padding-left: 40px;
}

main .layout-post li {
  display: list-item;
}

main .layout-post h1 {
  display: block;
  font-size: 2em;
  margin-top: 0.32em;
  margin-bottom: 0.32em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

main .layout-post img {
  border-radius: 20px;
  display: inline-block;
}

main .layout-post h2 {
  display: block;
  font-size: 1.5em;
  margin-top: 0.41em;
  margin-bottom: 0.41em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

main .layout-post h3 {
  display: block;
  font-size: 1.17em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

main .layout-post h4 {
  display: block;
  margin-top: 0.7em;
  margin-bottom: 0.7em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

main .layout-post h5 {
  display: block;
  font-size: 0.83em;
  margin-top: 0.8em;
  margin-bottom: 0.8em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

main .layout-post h6 {
  display: block;
  font-size: 0.67em;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

.doctor-detail {
  background-image: url("../images/bg-detail-doctor-banner.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

.group:hover .child {
  border: 6px solid #41c0f5;
}

.custom-list {
  padding-left: 46px;
}

.custom-list li {
  position: relative;
  padding-left: 1.25rem;
}

.tab-link {
  transition: all 0.3s linear;
  position: relative;
}

.tab-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5%;
  border-radius: 12px;
  width: 70%;
  height: 6px;
  background: #fff;
  transition: 0.3s ease-in-out;
  transform: scale(0);
}

.tab-link:hover::after,
.tab-link.active::after {
  transform: scale(1);
  background: #ed1c24;
}

.tab-link.active {
  font-weight: 500;
}

.tab-content {
  opacity: 0;
  display: none;
  transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
  position: relative;
}

.tab-content table {
  overflow-x: scroll;
}

.tab-content.active {
  opacity: 1;
  display: block;
  transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
}

.dropdown-content {
  display: none;
}

.accordion-content {
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.swiper {
  width: 100%;
  height: 521px;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
} */
.swiper-button-next,
.swiper-button-prev {
  width: 60px !important;
  height: 60px !important;
}

.swiper-button-prev {
  left: 30px !important;
}

.swiper-button-next::after,
.swiper-rtl .swiper-button-prev::after {
  content: "" !important;
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("/wp-content/themes/medical-theme/assets/images/arrow-right-circle.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.swiper-button-prev::after,
.swiper-rtl .swiper-button-next::after {
  content: "" !important;
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("/wp-content/themes/medical-theme/assets/images/arrow-leftcircle.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.dropdown-content {
  display: none;
}

.card-news {
  opacity: 0;
}

.focus::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15%;
  border-radius: 12px;
  width: 30%;
  height: 6px;
  background: #41c0f5;
  transition: 0.3s ease-in-out;
  transform: scale(1);
}

@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
  }

  .swiper-button-prev {
    transform: translateX(-20px);
  }
}

main .layout-post table {
  display: table;
  border-collapse: separate;
  border-spacing: 2px;
  border-color: gray;
  border: 1px solid black;
}

main .layout-post tbody {
  display: table-row-group;
  vertical-align: middle;
  border-color: inherit;
}

main .layout-post td {
  display: table-cell;
  vertical-align: inherit;
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

main .layout-post th {
  display: table-cell;
  vertical-align: inherit;
  font-weight: bold;
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

main .layout-post thead {
  display: table-header-group;
  vertical-align: middle;
  border-color: inherit;
}
/* Css default */
main .layout-post img.alignright {
  float: right;
  margin: 0 0 1em 1em;
}

main .layout-post img.alignleft {
  float: left;
  margin: 0 1em 1em 0;
}

main .layout-post img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

main .layout-post a img.alignright {
  float: right;
  margin: 0 0 1em 1em;
}

main .layout-post a img.alignleft {
  float: left;
  margin: 0 1em 1em 0;
}

main .layout-post a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 576px) {
  .swiper-button-next {
    right: 5px !important;
  }
}
