html {
  overflow-y: scroll;
}
a {
  color: #337ab7;
  text-decoration: none;
}

a {
  background-color: transparent;
  margin-links-bottom: 30px;
}
a:-webkit-any-link {
  cursor: pointer;
}
h2,
.h2 {
  font-size: 20px;
  color: #000000;
}
h4,
.h4 {
  font-size: 16px;
}
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  margin-top: 10px;
  margin-bottom: 10px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: inherit;
  font-weight: 500;
  line-height: 1.4;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.42857143;
  color: #cc0000;
  background-color: #fff;
}

.hidden {
  display: none;
}

.well {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 5%);
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 5%);
}

.dark-color {
  color: #333;
  margin-top: 0px;
}

.nav-link {
  color: #337ab7 !important;
}

.active-nav-link {
  color: #cc0000 !important;
}

.nav-link:hover,
ul.ifu-nav-link li a:hover {
  color: #cc0000 !important;
}
/* General Styles */
.title-text {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
}

.content-text {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

.sub-heading {
  color: #cc0000 !important;
  font-size: 1.2rem;
  color: #444;
}

.email-link {
  color: #0066cc;
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}

.download-link {
  color: #0066cc;
  font-weight: bold;
}

.download-link:hover {
  text-decoration: underline;
}

/* Card Styles */
/* .card {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
} */
.card {
  background: linear-gradient(
    to bottom,
    #ffffff,
    #f1f1f1
  ); /* Light grey gradient */
  border: 1px solid #f1f1f1;
  border-radius: 10px; /* Soft rounded corners */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
  padding: 20px;
}

.card:hover {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Link Styling */
.previous-revision-link {
  color: #0066cc;
  font-weight: bold;
}

.previous-revision-link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .title-text {
    font-size: 1.3rem;
  }

  .sub-heading {
    font-size: 1.1rem;
  }

  .content-text {
    font-size: 0.95rem;
  }

  .card {
    padding: 1.2rem;
  }
}

@media (max-width: 992px) {
  .title-text {
    font-size: 1.2rem;
  }

  .sub-heading {
    font-size: 1.1rem;
  }

  .content-text {
    font-size: 0.9rem;
  }

  .card {
    padding: 1rem;
  }

  /* Adjust links and layout */
  .nav-link {
    font-size: 0.95rem;
  }

  .col-12 {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .title-text {
    font-size: 1.5rem;
  }

  .sub-heading {
    font-size: 1rem;
  }

  .content-text {
    font-size: 0.9rem;
  }

  .card {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  /* Make sections wider and more mobile-friendly */
  .col-12 {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .nav-link {
    font-size: 1rem;
    margin: 5px 0;
  }
}

@media (max-width: 576px) {
  .title-text {
    font-size: 1.3rem;
  }

  .sub-heading {
    font-size: 1rem;
  }

  .content-text {
    font-size: 0.85rem;
  }

  .card {
    padding: 0.8rem;
  }

  /* Adjust column widths for mobile */
  .col-12 {
    width: 100%;
    padding: 0.5rem;
  }

  .nav-link {
    font-size: 0.95rem;
  }
}
/* Container styling */
.search-container {
  text-align: center;
}

.search-dropdown {
  display: none; /* Initially hidden */
  width: 100%;
  max-width: 500px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: white;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.search-dropdown.show {
  display: block;
}

.search-dropdown .row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.select-group {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  width: 100%;
}

.select-group select {
  flex: 1;
}

.search-input-group {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 5px;
}

.search-input-group input {
  flex: 1;
}

.search-input-group button {
  white-space: nowrap;
}

.reset-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.search-icon {
  cursor: pointer;
  font-size: 1.5rem;
  margin: 5px;
}

/* Tablet Screens (iPads, mid-sized devices) */
@media (max-width: 1024px) {
  .search-dropdown {
    width: 400px;
    max-width: 400px;
  }
}

/* Mobile Screens (phones, small tablets) */
@media (max-width: 768px) {
  .search-dropdown {
    width: 400px;
    max-width: 400px;
  }
}

/* Small Mobile Screens (very small phones) */
@media (max-width: 480px) {
  .search-dropdown {
    width: 100%;
    max-width: 100%;
  }
}

/* Search input */
.search-dropdown input {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.hover:hover {
  cursor: pointer;
}

.input-label {
  position: relative;
}

.input-label:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 105%; /* Position the tooltip to the right of the label */
  top: 0;
  background: #333;
  color: #fff;
  padding: 5px;
  border-radius: 4px;
  white-space: normal; /* Allow line wrapping */
  width: 200px; /* Set fixed width */
  font-size: 12px;
  text-align: left; /* Align the tooltip text to the left */
  z-index: 10;
}

.input-label:hover::before {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  margin-top: -5px; /* Center the arrow vertically */
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #333;
}

.hidden {
  display: none;
  visibility: none;
}

.highlight {
  background-color: yellow;
  padding: 2px;
  border-radius: 3px;
}

.eifu-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  overflow: auto;
  padding-top: 25vh;
}
.eifu-modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  text-align: center;
}
#eifu-close-modal {
  background-color: #005596;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
}
#eifu-close-modal:hover {
  background-color: #003a66;
}

#toggleMobileMenu ul li a {
  /* Your styles here */
  font-size: 13.5px !important;
}

.eifu-header-logo {
  width: 200px !important;
  margin-bottom: 10px !important;
  margin-top: 10px !important;
}

.eifu-header-bar {
  height: 25px !important;
  width: 1127px !important;
}

.header-bar-container {
  position: relative;
  display: inline-block;
  text-align: center;
}

.header-text {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 15px;
  letter-spacing: 1.3px;
}

.searchIcon_direction-container {
  display: inline-block;
  transition: transform 0.3s ease;
}

.rotated {
  transform: rotate(180deg) !important;
}
