html {
  scroll-behavior: auto;
}

body {
  overflow-x: hidden;
}
:root {
  --main-color: #08244F;
  --main-color-dark-2: #061D3F;
  --primary-color-medium: #1A5CBF;
  --color-text: #383838;
  --font-size-text-large: 20px;
  --font-size-text-normal: 16px;
  --font-size-text-small: 14px;
}
/* Tùy chỉnh thanh cuộn */
::-webkit-scrollbar {
  width: 5px;
  /* Chiều rộng của thanh cuộn */
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  /* Màu nền của thanh cuộn */
}

::-webkit-scrollbar-thumb {
  background: #124797;
  /* Màu của nút cuộn */
  border-radius: 5px;
  /* Bo tròn nút cuộn */
}

::-webkit-scrollbar-thumb:hover {
  background: #124797;
  /* Màu của nút cuộn khi hover */
}

.linear-primary {
  background: -webkit-linear-gradient(87.8deg,
      #08244f -8.79%,
      #0d3d85 37.42%,
      #2557a6 81.7%,
      #113b80 102.62%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  padding-right: 0px;
  padding-left: 0px;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1px;
  color: #1a5cbf;
  text-transform: uppercase;
}
table, tr, td {
  border: 1px solid #ededed;
  padding: 10px;
}
/* Width */
.w-5 {
  width: 5%;
}

.w-45 {
  width: 45%;
}

.w-55 {
  width: 55%;
}

/* BACK TO TOP */
.roger-progress-parent {
  position: fixed;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px)
}

.roger-progress-parent {
  right: 30px;
  bottom: 30px;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  box-shadow: inset 0 0 0 2px rgba(0, 87, 226, .3);
  transition: .2s linear
}

.roger-progress-parent.roger-backto-top-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.roger-progress-parent::before {
  font-family: "Font Awesome 6 Free";
  color: #0057e2;
  position: absolute;
  content: "\f106";
  font-size: 24px;
  background: 0 0;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: .2s linear
}

.roger-progress-parent svg path {
  fill: none
}

.roger-progress-parent svg.roger-back-circle path {
  stroke: #0057e2;
  stroke-width: 4;
  box-sizing: border-box;
  transition: .2s linear
}

/* Spin bot */
.spinner {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1000;

  width: 48px;
  height: 48px;
  border-radius: 50%;
  animation: rotate 1s linear infinite
}

.spinner::before,
.spinner-custom-ct7::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  border: 5px solid var(--primary);
  animation: prixClipFix 2s linear infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg)
  }
}

@keyframes prixClipFix {
  0% {
    clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)
  }

  25% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)
  }

  50% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)
  }

  75% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)
  }

  100% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)
  }
}

#post-container.hidden {
  visibility: hidden;
}

/* PAGINATION GLOBAL */
.pagination-links {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 30px;
  margin: 10px 0;
}

.pagination-links .page-numbers {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding: 8px 7px;
  box-shadow: 0px 4px 4px 0px #0000000D;
  border-radius: 5px;
  color: #38383880;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.pagination-links .page-numbers.current {
  background: #08244F;
  color: #fff;
}

/* Css Wp caption của hình ảnh -> Nếu để caption trong hình ảnh nó render ra lỗi, code css để fix lại */
.wp-caption {
  max-width: 100% !important;
  text-align: center;
  margin: 0 auto;
}
/* Css tiêu đề hình ảnh trong các chi tiết bài viết */
.wp-caption-text {
  font-size: 13px;
  font-style: italic;
  text-align: center !important;
}
.ftwp-heading {
  margin-bottom: 15px;
}

/*===========================
  Start modal contact form 7
=============================*/
/* Ẩn message ct7 khi submit */
.wpcf7-response-output {
  display: none;
}
.form-main #your-message-id {
  padding-top: 10px;
}
/* Custom lại spin ct7 */
.wpcf7-spinner {
  display: inline-block;
  background-color: transparent !important;
  opacity: 1 !important;
  width: 48px !important;
  height: 48px !important;
  border: none;
  border-radius: none !important;
  padding: 0;
  margin: 0 !important;
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotate-spin-ct7 1s linear infinite !important;
}

.wpcf7-spinner::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  inset: 0px;
  border-radius: 50% !important;
  border: 5px solid var(--primary) !important;
  animation: prixClipFix 2s linear infinite !important;
  background-color: transparent !important;
  width: auto !important;
  height: auto !important;
  top: 0 !important;
  left: 0 !important;
}
@keyframes rotate-spin-ct7 {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Phần này class dành cho show popup kết quả cho plugin CT7 khi gửi form - Sweetalert  */
.sweetalert-animation-show {
  animation: fadeInDown 0.6s both;
}

.sweetalert-animation-hide {
  animation: fadeOutDown 0.6s both;
}

/* Recaptcha */
.recaptcha {
  margin-bottom: 20px;
}
/* Css popup message ct7 */
.swal2-popup {
  width: auto;
}
.popup-ct7-message {
  display: flex;
  align-items: center;
  flex-direction: column;
  row-gap: 15px;
}
.popup-ct7-message .fa-envelope-circle-check, .popup-ct7-message .fa-triangle-exclamation {
  color: #124797;
  font-size: 75px;
}
.popup-ct7-message  {
  text-align: left;
  padding-left: 15px;
}
.popup-ct7-message  h2 {
  color: #050505;
  font-size: 28px;
}
.popup-ct7-message  p {
  color: #050505;
  font-size: 14px;
}
.popup-ct7-message  p span {
  font-style: italic;
}
.swal2-actions .btn-primary {
  background-color: #124797 ;
  outline: none ;
}
.swal2-actions .btn-primary:focus {
  box-shadow: none;
}
.swal2-timer-progress-bar-container .swal2-timer-progress-bar {
  background:#124797 ;
}
/*===========================
  End modal contact form 7
=============================*/

.single-knowledge .owl-carousel .owl-stage-outer {
  padding: 20px 0;
}