* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: 'Poppins', sans-serif; */
  font-style: normal;
}

input:focus {
  outline: none;
}

/* ===== Color ===== */

.rh-primary {
  color: #01428e;
}

.rh-primary-shade {
  color: #263071;
}

.rh-primary-tint {
  color: #273171;
}

.rh-secondary {
  color: #0353cb;
}

.rh-secondary-tint {
  color: #4093cf;
}

.rh-warning {
  color: #ffeb3b;
}

.rh-dark {
  color: #373839;
}

.rh-dark-tint {
  color: #9a9c9d;
}

.rh-danger {
  color: #fb4b4b;
}

.rh-text-gradient {
  background: linear-gradient(92.32deg, #4093cf 5.69%, #252c6d 93.71%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* ====background==== */
.rh-bg-light {
  background-color: #e6f9fd;
}

.rh-bg-primary {
  background-color: #c3f4fd;
}

.rh-bg-primary2 {
  background-color: #85ecff;
}

.rh-bg-primary3 {
  background-color: #01428e;
}

.rh-bg-secondary {
  background-color: #38a8f4;
}

.rh-bg-warning {
  background-color: #ffeb3b;
}

.rh-bg-secondary-tint {
  background-color: #c3f4fd;
}

.rh-bg-secondary-tint-1 {
  background-color: #e6f9fd;
}

.rh-bg-danger {
  background-color: #fb4b4b;
}

/* ===== Text ===== */

@media (min-width: 768px) and (max-width: 991px) {
  .rh-fs-md-32 {
    font-size: 32px !important;
  }

  .rh-fs-md-40 {
    font-size: 40px !important;
  }

  .rh-fs-md-24 {
    font-size: 24px !important;
  }

  .rh-fs-md-18 {
    font-size: 18px !important;
  }

  .rh-fs-md-16 {
    font-size: 16px !important;
  }

  .rh-border-md-none {
    border: none !important;
  }

  .rh-md-width-500 {
    width: 500px !important;
  }

  .rh-md-height-500 {
    height: 500px !important;
  }

  .rh-md-height-135 {
    height: 135px !important;
  }
}

@media screen and (max-width: 640px) {
  .rh-fs-sm-12 {
    font-size: 12px !important;
  }

  .rh-fs-sm-14 {
    font-size: 14px !important;
  }

  .rh-fs-sm-16 {
    font-size: 16px !important;
  }

  .rh-fs-sm-20 {
    font-size: 20px !important;
  }

  .rh-fs-sm-24 {
    font-size: 24px !important;
  }

  .rh-sm-height-500 {
    height: 500px !important;
  }

  .rh-sm-width-300 {
    width: 300px !important;
  }

  .rh-bg-sm-white {
    background-color: #ffffff !important;
  }

  .rh-height-sm-40 {
    height: 40px !important;
  }

  .rh-height-sm-110 {
    height: 110px !important;
  }
}

.rh-fs-12 {
  font-size: 12px;
}

.rh-fs-14 {
  font-size: 14px;
}

.rh-fs-16 {
  font-size: 16px;
}

.rh-fs-18 {
  font-size: 18px;
}

.rh-fs-20 {
  font-size: 20px;
}

.rh-fs-22 {
  font-size: 16px;
}

.rh-fs-26 {
  font-size: 26px;
}

.rh-fs-30 {
  font-size: 30px;
}

.rh-fs-35 {
  font-size: 35px;
}

.rh-fs-38 {
  font-size: 38px;
}

.rh-fs-44 {
  font-size: 44px;
}

.rh-fs-48 {
  font-size: 48px;
}

.rh-fs-50 {
  font-size: 50px;
}

.rh-fs-60 {
  font-size: 60px;
}

.rh-fs-80 {
  font-size: 80px;
}

.rh-fw-400 {
  font-weight: 400;
}

.rh-fw-500 {
  font-weight: 500;
}

.rh-fw-600 {
  font-weight: 600;
}

.rh-fw-700 {
  font-weight: 700;
}

.rh-fw-800 {
  font-weight: 800;
}

/* ===== Button ===== */

/* những chỗ nào cần btn 100 chon màn mobile thì thêm class này */
.btn-w-100 {
  width: auto;
}

.rh-btn-primary {
  background-color: #01428e;
  color: #ffffff !important;
  font-weight: 700;
  text-align: center;
  border-radius: 39px;
  padding: 20px 40px;
}

.rh-btn-primary:hover {
  background-color: #3894df;
}

.rh-btn-primary:active {
  background-color: #001975;
}

.rh-btn-primary:disabled {
  background-color: #e3e4e5;
}

.rh-btn-white {
  background: #ffffff;
  border: 1px solid #4093cf;
  color: #4093cf !important;
  font-weight: 700;
  text-align: center;
  border-radius: 39px;
  padding: 20px 40px;
}

.rh-btn-white:hover {
  border: 1px solid #38a8f4;
  color: #38a8f4;
}

.rh-btn-white:active {
  border: 1px solid #001975;
  color: #001975;
}

.rh-btn-white:disabled {
  border: 1px solid #e3e4e5;
  color: #e3e4e5;
}

.rh-btn-circle {
  background-color: #01428e;
  color: #ffffff !important;
  font-weight: 700;
  text-align: center;
  border-radius: 100%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rh-btn-circle:hover {
  background-color: #3894df;
}

.rh-btn-circle:active {
  background-color: #001975;
}

.rh-btn-circle:disabled {
  background-color: #e3e4e5;
}

.rh-btn-primary-home {
  background: #01428e;
  color: #ffffff;
  font-weight: 700;
  border: 2px solid #01428e;
  padding: 20px 40px;
  text-align: center;
}

.rh-btn-primary-home:hover {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.rh-radius-40 {
  border-radius: 40px;
}

/* ----Header---- */
.navbar .show {
  width: 100%;
  /* padding: 20px;
  border-radius: 20px; */
  /* background-color: #dfdfdf !important; */
}

.logo-link img {
  width: 184px;
}

.navbar .navbar-btn-rounded {
  width: 48px;
  height: 48px;
  border-radius: 100%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar .form-control {
  width: auto;
}

.notification {
  width: 15px;
  height: 15px;
  border-radius: 100%;
  background-color: #fb4b4b;
  color: #ffffff;
  font-size: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
}

header .modal.show .modal-dialog {
  transform: none;
  margin: 0;
  position: absolute;
  width: 100%;
  right: 0;
  height: 100% !important;
}

header .modal.show .modal-dialog .modal-content {
  height: 100%;
}

.modal-menu-mobile .active {
  background-color: #c3f4fd !important;
}

.modal-menu-mobile .navbar-toggler {
  border: none;
  font-size: 35px;
}

.modal-backdrop.show {
  z-index: 999;
}

.modal-menu-mobile button:focus:not(:focus-visible) {
  color: transparent;
}

@media (max-width: 576px) {
  .modal-menu-mobile .modal {
    width: 90%;
    left: auto;
    right: 0;
    transform: translateX(0);
  }
}

/* ----card live chat---- */
.card-live-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  box-shadow: 0px 10px 15px rgba(1, 115, 153, 0.2);
  border: 2px solid #4093cf;
  border-radius: 15px;
  width: 256px;
  height: 70px;
  z-index: 9;
}

.card-live-chat-img {
  width: 50px;
  height: 50px;
  border: none;
}

/* ----- card save-podcase----- */

.card-save-podcast {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 100%;
  border-radius: 20px;
  width: 100%;
  height: 100%;
  background-image: url("/v3/assest/image/img/rh_image9.png");
}

.card-save-podcast__action {
  height: 190px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-save-podcast__action-btn {
  opacity: 0;
  cursor: pointer;
  width: 135px;
  display: flex;
  justify-content: space-between;
}

.card-save-podcast:hover .card-save-podcast__action-btn {
  opacity: 100;
}

/* ---Footer--- */
footer {
  background-color: #c3f4fd;
}

.footer-top .accordion-button::after {
  width: auto;
  height: auto;
  font-family: FontAwesome;
  content: "\f068";
  font-weight: 900;
  background-image: none;
  color: black;
}

.footer-top .collapsed::after {
  width: auto;
  height: auto;
  font-family: FontAwesome;
  content: "\2b";
  background-image: none;
  color: black;
}

.footer-top .accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: none;
}

.footer-top .accordion-button:not(.collapsed) {
  background-color: transparent;
}

/* Home page */

.blogs-slider .slick-arrow {
  width: 50px;
  height: 50px;
  border: 1px solid black;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 100%;
  left: 50%;
}

.blogs-slider .slick-prev {
  transform: translateX(-125%);
}

.blogs-slider .slick-next {
  transform: translateX(25%);
}

.blogs-slider .slick-arrow:active,
.blogs-slider .slick-arrow:hover {
  background-color: #01428e !important;
  color: #ffffff;
}

/* ---- common css ----- */

.rh-comma {
  font-size: 96px;
  line-height: 0px;
  font-family: "Work Sans", "Helvetica Neue", "Helvetica", Helvetica, Arial,
    sans-serif;
  font-style: normal;
}

.preserve-text {
  white-space: pre;
}

.cursor-pointer {
  cursor: pointer;
}

.text-ellipsis-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  /* Số dòng tối đa muốn hiển thị */
  /* Căn chỉnh, phông chữ và kích thước phù hợp */
  /* max-height: 3.6em; */
  /* Số dòng tối đa * chiều cao dòng */
  /* line-height: 1.8em; */
  /* Chiều cao dòng */
}

.text-ellipsis-4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
  /* Số dòng tối đa muốn hiển thị */
  /* Căn chỉnh, phông chữ và kích thước phù hợp */
  /* max-height: 3.6em; */
  /* Số dòng tối đa * chiều cao dòng */
  /* line-height: 1.8em; */
  /* Chiều cao dòng */
}

/* =======Media===== */

/* ------ 992 ------- */
@media screen and (max-width: 992px) {
  .rh-banner button {
    width: 100%;
    margin-bottom: 20px;
  }

  .card-live-chat {
    width: 48px;
    height: 48px;
    border-radius: 100%;
    border: none;
  }

  .card-live-chat-img {
    width: 24px;
    height: 24px;
  }
}

/* ------ 640 ------- */
@media screen and (max-width: 640px) {
  .modal-menu-mobile .navbar-toggler {
    font-size: 20px;
  }

  .navbar .logo-link img {
    width: 128px;
  }
}

/* ------ 425 ------- */
@media screen and (max-width: 425px) {
  .rh-btn-primary-home {
    padding: 10px 20px;
  }

  .footer-bottom div .rh-fs-16 {
    font-size: 14px;
  }

  .rh-comma {
    font-size: 50px;
  }

  .btn-w-100 {
    width: 100%;
    display: inline-block;
  }

  .rh-btn-primary {
    padding: 10px 20px;
  }
  #rh-footer-mobile img.mx-3 {
    margin-right: 2px !important;
    margin-left: 2px !important;
  }
  #rh-footer-mobile img.ms-3 {
    margin-left: 2px !important;
  }
}
