a {
  text-decoration: none !important;
}
.limited-content-4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
}
.limited-content-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-slide {
  text-decoration: none !important;
}
.home-slide:hover {
  color: #7ab730 !important;
}

.advise-title {
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 24px;
  color: #7ab730;
}

.advise-box {
  border-radius: 5px;
  padding: 30px;
}

.zalo-icon {
  height: 25px;
  width: 25px;
}
.post-content {
  padding: 30px;
}
.post-content input {
  width: 100%;
}
.post-content-image img {
  max-width: 100%;
  object-fit: contain;
  height: auto;
}

.aside-img {
  height: 100px;
  width: 100px;
  min-width: 100px;
  object-fit: fill;
}

.menu-category {
  display: flex;
  /* padding-bottom: 5px; */
  margin-bottom: 50px;
}
.menu-category form {
  min-width: 200px;
}
.under-line {
  border-bottom: 1px solid #bbbbbb;
  width: 80%;
}
.menu-category a {
  text-decoration: none;
}
.menu-category-item {
  font-size: 16px;
  border-radius: 15px;
  padding: 10px 20px;
  background-color: #dddddd;
  color: black;
  margin-right: 10px;
  letter-spacing: 1px;
}

.menu-category-item:hover {
  background-color: #0073e6;
  color: white;
  cursor: pointer;
  text-decoration: none;
}

.menu-category-item.active {
  background-color: #0073e6;
  color: white;
  cursor: default;
}
.booking {
  display: none;
}

/* Tổng quan về container */
.container-advise-form {
  position: relative;
}

/* Nút Đăng ký */
/* #asideFormToggleButton {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: #7AB730;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px 0 0 5px;
    z-index: 1000;
    transition: right 0.4s;
    border: none
} */
#asideFormToggleButton:focus {
  outline: none;
}
#asideFormToggleButton.open {
  right: 370px;
}

.btn-close {
  background-color: #0073e6;
  color: white;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px 0 0 5px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0px;
}
#registrationFormAdvise.show .btn-close {
  left: -40px;
}

/* Form đăng ký */
#registrationFormAdvise {
  position: fixed;
  top: 50%;
  right: -350px;
  transform: translateY(-50%);
  width: 350px;
  background-color: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  /* padding: 20px; */
  border-radius: 5px;
  transition: right 0.4s;
  z-index: 1001;
}

#registrationFormAdvise.show {
  right: 20px;
}
#registrationFormAdvise h2 {
  padding: 20px;
  background-color: #0073e6;
  color: white;
  text-align: center;
}
/* Các trường trong form */
#registrationFormAdvise .form-group {
  margin-bottom: 15px;
}

#registrationFormAdvise .form-control {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

#registrationFormAdvise .submit-btn {
  width: 100%;
  padding: 10px;
  background-color: #0073e6;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
}
#registrationFormAdvise .advise-form {
  padding: 0 25px 25px 25px;
}
#registrationFormAdvise .advise-label {
  width: 100%;
}

.category-page .pagination li {
  margin: 3px;
}

.category-page .pagination .active {
  background-color: #0073e6;
  color: white;
}

.menu-item {
  white-space: nowrap;
}
.back-to-top {
  right: 50%;
  transform: translateX(50%);
  bottom: 15px;
  opacity: 0;
}
.back-to-top.show {
  display: block;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.change-lang {
  color: black;
}

.change-lang img {
  height: 25px;
  width: 25px;
  object-fit: cover;
  border-radius: 100%;
  border: 1px #fff solid;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.lang-mobile {
  display: none;
  margin-right: 5px;
}

.toggler-box {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.banner-category {
  min-height: 600px;
}

.home-advertisement {
  position: relative;
}
.home-advertisement img {
  width: 100%;
  object-fit: cover;
}
.purdah {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 1001;
  top: 0;
  opacity: 0.2;
  transition: opacity 0.3s ease-in-out;
}

.purdah:hover {
  opacity: 0;
}
.category-banner {
  margin-top: -45px;
}

.category-banner img {
  width: 100%;
  max-height: 600px;
  /* object-fit: cover; */
  /* object-position: top; */
  margin-top: 45px;
}
.breadcrumb-box .breadcrumb-post {
  color: black;
}

.breadcrumb-post:hover {
  color: #0073e6 !important;
}

.baoviet-label-image {
  position: absolute;
  top: 50%;
  left: -25%;
  transform: translate(-50%, -50%);
  margin-left: 10px;
}
.baoviet-label-image img {
  margin-right: 10px;
  width: calc(100vw / 12);
  height: auto;
}

.logo-box {
  font-size: 2rem;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  margin-left: calc(10px + 100vw / 12) !important;
  position: relative;
  align-items: center;
}
.logo-box span:nth-last-child(2) {
  margin-left: 17px;
}
.box-img-post {
  display: flex;
  justify-content: center;
}
.img-post {
  height: 220px;
  /* object-fit: cover; */
  width: 100%;
}

.h100 {
  height: 100%;
}
.blog-date h6 {
  color: white;
}

.footer-logo {
  font-size: 2.5rem;
  font-weight: 700;
  /* text-transform: uppercase; */
  /* letter-spacing: 2px; */
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.h5-css {
  font-size: 1.25rem;
  font-weight: 500 !important;
  line-height: 1.2;
}

.letter-spacing-5px {
  letter-spacing: 5px;
}

.object-fit-cover {
  object-fit: cover;
}
.text-align-center {
  text-align: center;
}
.avatar-writer {
  width: 100px;
}
.info-text {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
}
.title-category-product {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: black;
}

.carousel-caption-item {
  max-width: 900px;
}

.carousel-item img {
  height: 100%;
  object-fit: fill;
}

.advise-box-input {
  min-height: 60px;
}
.button-submit-advise {
  height: 47px;
  margin-top: -2px;
}
.button-submit-search {
  border: unset;
  background: #0073e6;
  color: white;
}

.outstranding-product-name {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff !important;
}

.view-detail-text {
  color: #dddddd;
}

.view-detail-text:hover {
  color: #fff;
}

.margin-0-auto {
  margin: 0 auto;
}

@media (min-width: 1300px) {
  .baoviet-label-image {
    left: -35%;
  }

  .contact-bar {
    padding-bottom: 1.15% !important;
  }
}
@media (max-width: 992px) {
  .lang-mobile {
    display: block;
  }
  .banner-category {
    min-height: 400px;
  }
  .category-banner {
    margin-top: 0px;
  }
  .baoviet-label-image {
    left: -13%;
  }
  .menu-bar {
    padding-left: 20px !important;
    /* margin-top: 50px!important; */
  }
  .logo-box {
    flex-direction: row;
  }
  .logo-box span:first-child {
    margin-left: 15px;
  }
  .logo-box span:nth-last-child(2) {
    margin-left: 7.5px;
  }
  .category-banner img {
    margin-top: 0;
  }
  .carousel-inner {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .advise-title {
    text-align: center;
  }
  .booking {
    display: block;
  }
  /* #toggleButton, #asideFormToggleButton {
        display: none;
    } */
  #registrationFormAdvise {
    width: auto;
    right: -375px;
  }
  .banner-mobile-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .banner-mobile-description {
    display: none;
  }
  .baoviet-label-image img {
    margin-right: 0px;
  }
  .carousel-inner {
    height: 300px;
  }
}

@media (max-width: 444px) {
  .logo-box span {
    /* display: none; */
    font-size: 18px;
  }
  .menu-bar .navbar-brand,
  .menu-bar .toggler-box {
    margin-right: 0px;
  }
  .contact-bar {
    display: none;
  }
  .carousel-inner {
    height: 250px;
  }
}
