body {
  --bs-link-color: var(--portalThemeColor1);
  --bs-nav-link-font-size: 1rem;
  font-family: var(--font-family) !important;
  color: var(--portalThemeColor3);
  font-size: 16px;
  font-weight: 500;
}
body.fixed {
  height: 100vh;
  overflow: hidden;
}
body a {
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
  position: relative;
  text-decoration: none;
}
body a:hover {
  color: var(--portalThemeColor3);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--font-family) !important;
  color: unset;
}



/* For fix the rfe wrapper class */
body div[data-wrapper="true"] {
    font-family: unset !important; /* Resets to inherited font-family */
    font-size: unset !important;   /* Resets to inherited font-size */
}

:focus-visible {
  outline: none;
}

/* Optional: To make the hover effect more immediate */
.dropdown-hover .dropdown-menu {
  display: none; /* Hide by default */
}
.dropdown-hover:hover .dropdown-menu {
  display: block; /* Show on hover */
  margin-top: 0; /* Remove default margin for smoother transition */
}
/* Optional: Style for the link to look like a button */
.btn-link-as-button {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color); /* Inherit text color from Bootstrap variables */
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid var(--bs-btn-border-color); /* Inherit border color */
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  border-radius: var(--bs-btn-border-radius);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn-link-as-button:hover {
  color: var(--bs-btn-hover-color);
  background-color: var(--bs-btn-hover-bg);
  border-color: var(--bs-btn-hover-border-color);
}
/* You can apply specific button styles like btn-secondary to the link directly */
.dropdown-hover > .dropdown-toggle.btn-secondary {
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
  color: var(--bs-secondary-color);
}
.dropdown-hover > .dropdown-toggle.btn-secondary:hover {
  background-color: var(--bs-secondary-hover);
  border-color: var(--bs-secondary-hover);
}

.nav > li > a:hover,
.nav > li > a:focus {
  background-color: transparent !important;
}

.h1, h1 {
    font-size: calc(1.375rem + 1.5vw);
}
@media (min-width: 1200px) {
    .h1, h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 989px) {
  .private-mode-banner {
    display: none;
  }
}
