/*
Theme Name: Tân yên hospital
Theme URI: https://printcart.com/
Author: MTV
Author URI: https://printcart.com/
Description: MTV
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 5.6
Version: 1.7
*/

body {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  background-color: #f6f6f8;
}

a {
  text-decoration: none;
  text-decoration-thickness: 1px !important;
}

img {
  max-width: 100%;
  height: auto;
}

.post.single-post img {
  object-fit: contain;
  height: auto!important;
}

.topbar {
  height: 40px;
  background-color: #1fa0e7;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.topbar-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.topbar a {
  color: #ffffff;
  text-decoration: none;
  padding: 0 15px;
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  line-height: 40px;
  height: 100%;
}

.topbar a:hover {
  background: white;
  color: #1fa0e7;
}

.topbar .top-login {
  display: flex;
  align-items: center;
}

.topbar .topbar-right {
  display: flex;
  align-items: center;
}

.topbar .topbar-right a {
  text-wrap: nowrap;
}

.text-run {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: flex;
}

.text-run .time {
  color: #000;
  line-height: 32px;
  font-weight: bold;
  font-size: 13px;
  padding: 0 8px;
}

marquee {
  direction: right;
  font-weight: bold;
  font-size: 13px;
  line-height: 32px;
  color: #00557d;
}

/* Menu */
.intestine-collapse {
  width: 100%;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #dddddd;
}

/* Mobile */
.menu-toggle {
  display: none;
}

/* Mobile */

ul.navbar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  width: 100%;
  flex-direction: row;
  color: rgba(0, 0, 0, 0.88);
}

.item a {
  text-wrap: nowrap;
}

ul.navbar-nav li.item {
  padding: 0 16px;
}

ul.navbar-nav>li.item:hover>a,
ul.navbar-nav>li.item:hover>.item-inner>a {
  background-color: #f6f6f8 !important;
  color: #009d8f !important;
  border-bottom-color: #5566f9;
}

ul.navbar-nav>li.item:hover>a>span,
ul.navbar-nav>li.item:hover>a>i,
ul.navbar-nav>li.item:hover>.item-inner>a>span,
ul.navbar-nav>li.item:hover>.item-inner>a>i {
  color: #009d8f !important;
}

ul.navbar-nav li.item>a,
ul.navbar-nav li.item>.item-inner>a {
  text-decoration: none;
  line-height: 32px;
  display: inline-block;
}

ul.navbar-nav>li.item>a,
ul.navbar-nav>li.item>.item-inner>a {
  line-height: 46px;
  border-bottom: 2px solid rgba(255, 255, 255, 0);
}

ul.navbar-nav>li.item>.item-inner>a::after {
  color: #009d8f;
}

ul.navbar-nav li.item>a>i,
ul.navbar-nav li.item>.item-inner>a>i {
  margin-left: 4px;
}

ul.navbar-nav li.item>a>i,
ul.navbar-nav li.item>a>span,
ul.navbar-nav li.item>.item-inner>a>i,
ul.navbar-nav li.item>.item-inner>a>span {
  transition: opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), margin 0.3s,
    color 0.3s;
  color: #000000;
  font-size: 14px;
}

ul.navbar-nav>li.item>a>span,
ul.navbar-nav>li.item>.item-inner>a>span {
  font-weight: 700;
}

li.item.dropdown {
  position: relative;
}

ul.dropdown-menu {
  display: none;
  position: absolute !important;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 2px 1px;
  border-radius: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 1000;
  min-width: 200px;
  border: none;
}

ul.dropdown-menu li.item {
  padding: 4px 16px;
  border-radius: 4px;
  margin: 0;
}

ul.dropdown-menu li.item:hover {
  background-color: #d6d6d7;
}

.navbar-nav>li.item.dropdown:hover>ul.dropdown-menu {
  display: block;
  top: 100%;
  opacity: 1;
  left: 0;
  right: auto;
  height: auto;
  z-index: 1000;
  overflow: visible;
  transition: all 0.2s;
}

.navbar-nav>.item.dropdown .item.has-child>a,
.navbar-nav>.item.dropdown .item.has-child>.item-inner>a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-nav>.item.dropdown .item.has-child>a.dropdown-toggle::after,
.navbar-nav>.item.dropdown .item.has-child>.item-inner>a.dropdown-toggle::after {
  transform: rotate(270deg);
  width: 10px;
  height: 10px;
  position: absolute;
  right: 4px;
  color: #0ca294;
}

.mb-dropdown-toggle::after {
  display: none;
}

.item.dropdown:hover>ul.dropdown-menu {
  display: block;
  top: 0;
  opacity: 1;
  left: 100%;
  z-index: 1000;
  overflow: visible;
  transition: all 0.2s;
}

.item.dropdown>ul.dropdown-menu {
  position: absolute !important;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 2px 1px;
  border-radius: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 1000;
  min-width: 200px;
  border: none;
}

/* End Menu */

/* Doctor */
@media (min-width: 992px) {
  .col-lg-2-4.col-lg-2 {
    width: 20%;
  }
}


/* End Doctor */

/* Section */
.section .section-title {
  font-size: 18px;
  color: #fff;
  background: #0095e5;
  text-transform: uppercase;
  margin-bottom: 0;
  margin-top: 0;
  padding: 5px 10px;
  line-height: 1.3;
  border-radius: 4px 4px 0 0;
}

/* End Section */

/* Footer */
.footer-contact {
  background: #1fa0e7;
  padding: 20px;
  color: #fff;
  font-size: 14px;
  line-height: 2;
}

.footer-contact .title-footer {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;
}

.footer-contact p {
  margin-bottom: 8px;
}

/* End Footer */

/* Slide */

.slide-header .carousel-nav .carousel-cell {
  padding: 15px 10px;
  display: inline-block;
  width: 100%;
  color: #1fa0e7;
  line-height: 1.5;
  position: relative;
  cursor: pointer;
}

.slide-header .carousel-nav .carousel-cell.active {
  background: #ebebeb;
  font-weight: bold;
  color: #0095e5;
}

.slide-caption a {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  color: #fff;
}

.slide-caption a:hover {
  text-decoration: underline;
}

.slide-caption {
  position: absolute;
  top: auto;
  right: 0;
  left: 0;
  bottom: 0;
  width: auto;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px;
}

.carousel-cell.option-service {}

.service-option-image {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  text-align: center;
  width: 100%;
}

.service-option-image .img-icon {
  width: 100%;
}

.service-option-image .title {}

/* End Slide */

.sidebar-section {
  margin-bottom: 20px;
}

/* Card */
.card {
  border: none;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 4px 0px,
    rgba(0, 0, 0, 0.2) 0px 0px 4px 0px;
}

.card-header {
  background: #0095e5;
  color: #fff;
}

.card-header a {
  color: #fff;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.3;
}

/* End Card */

.card-title>a {
  color: #000;
}

.card-title>a:hover {
  text-decoration: underline;
}

/* End Card */
.title-wrapper i {
  font-weight: 900;
  font-style: normal;
  text-decoration: inherit;
  color: #000;
  font-size: 16px;
  padding-right: 0.5em;
}

.sidebar-section .title-wrapper a {
  color: #333;
}

.title-wrapper {
  display: flex;
  justify-content: start;
}

.main .post-item a {
  color: #0095e5;
}

.post-item:hover a {
  text-decoration: underline;
}

.title-new h5.title-wrapper a {
  font-weight: bold;
  line-height: 20px;
  font-size: 15px;
}

.section-breadcrumb a {
  color: #333;
}

.truncate-3-lines {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.single-post .post-title {
  text-align: justify;
  color: #000;
}

.single-post .content-label {
  margin-top: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 18px;
  color: #1fa0e7;
}

.single-post blockquote {
  padding: 10px 20px;
  margin: 0 0 20px;
  font-size: 17.5px;
  border-left: 5px solid #eee;
}

/* Login */
.section-login {
  background: #fff;
}

.section-login::before {
  content: "";
  background-image: url("https://bvdktinhbacgiang.vn/Content/Layout/images/Login/background-login.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  height: 100%;
  z-index: 0;
}

.section-login .login-form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 40px;
  color: #333;
  max-width: 100%;
  width: 70%;
  margin: 0;
  z-index: 2;
  background: #fff;
  justify-content: space-around;
  min-height: 610px;
}


@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    cursor: pointer;
  }

  .mb-dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
  }

  .dropdown-toggle::after {
    display: none;
  }

  .item .item-inner {
    display: flex !important;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }

  ul.navbar-nav {
    display: none;
    flex-direction: column;
  }

  ul.navbar-nav.active {
    display: flex;
  }

  ul.navbar-nav .dropdown-menu {
    position: static;
    box-shadow: none;
  }

  ul.navbar-nav .item {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  ul.navbar-nav .item {
    width: 100%;
  }

  ul.navbar-nav .item a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
  }

  /* Hover effect */
  ul.navbar-nav .item a:hover {
    background-color: #f8f9fa;
    color: #007bff;
  }

  /* Active menu item */
  ul.navbar-nav .item.active a {
    background-color: #007bff;
    color: #fff;
  }

  /* Dropdown menu styles */
  ul.navbar-nav .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  ul.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
  }

  ul.navbar-nav .dropdown-menu .item {
    padding: 0;
  }

  ul.navbar-nav .dropdown-menu .item a {
    padding: 10px 20px;
  }
}

.wrap-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
}

.wrap-image>img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.text-truncate-3 {
  display: block;
  display: -webkit-box;
  max-width: 100%;
  height: 4.5em;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.5;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-image-footer {
  height: 150px;
  width: auto;
}

.icon-image-footer {
  height: 100px;
  width: auto;
}

/*Post*/
.post-content table {
  max-width: 100%;
  border: 1px solid #ddd;
  background-color: rgba(0,0,0,0);
}
.post-content table thead tr,
.post-content table tbody tr:first-child {
  background-color: rgb(31, 160, 231)!important;
  color: #fff;
}
.post-content table thead>tr>th, .post-content thead>tr>td {
  border-bottom-width: 2px;
}
.post-content table caption+thead>tr:first-child>th,
.post-content table caption+thead>tr:first-child>td,
.post-content table colgroup+thead>tr:first-child>th,
.post-content table colgroup+thead>tr:first-child>td,
.post-content table thead:first-child>tr:first-child>th,
.post-content table thead:first-child>tr:first-child>td {
  border-top: 0;
}
.post-content table thead>tr>th,
.post-content table thead>tr>td,
.post-content table tbody>tr>th,
.post-content table tbody>tr>td,
.post-content table tfoot>tr>th,
.post-content table tfoot>tr>td {
  border: 1px solid #ddd;
}
.post-content table tbody>tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}
.post-content table thead>tr>th,
.post-content table thead>tr>td,
.post-content table tbody>tr>th,
.post-content table tbody>tr>td,
.post-content table tfoot>tr>th,
.post-content table tfoot>tr>td {
    padding: 8px;
    line-height: 1.428571429;
    vertical-align: top;
    border-top: 1px solid #ddd;
}