body {
  position: relative;
}

.btn-xs {
  font-size: 0.6rem;
  padding: 0.25rem 0.5rem;
}

/* Header */
.fa-magnifying-glass {
  color: #fff;
  background: #000;
  border-radius: 15%;
  height: 2em;
  width: 2em;
  line-height: 20px;
  text-align: center;
  vertical-align: baseline;
}

.navbar-brand img {
  height: 38px;
  float: left;
  /* margin-right: 7px; */
}

.navbar-nav .nav-link {
  font-weight: bold;
  font-size: 11px;
  padding: 10px 15px;
  color: #000000;
  white-space: nowrap;
 }

.navbar-toggler {     
  background-color: #000000 !important;
} 

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 255)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Optional custom styling for better visual effect */
.hover-container {
  top: 50px;
  left: 0;
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease-in-out;
  position: absolute;
  background-color: #ffffff;
  padding: 10px;
  padding-top: 50px;
  width: 100%;
  z-index: 10;
}

.menu-item:hover .hover-container {
  display: block;
  visibility: visible;
  opacity: 1;
}

/* Custom styles for side navigation */
.sidenav {
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.sidenav a {
  padding: 10px 15px;
  text-decoration: none !important;
  font-size: 12px !important;
  color: #000;
  display: block;
  border-bottom: 1px solid #ddd;
}

.sidenav a:hover {
  background-color: #ddd;
  text-decoration: none !important;
}

.sidenav .nav-link.active {
  background-color: #ddd;
}

.content {
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.content .content-section {
  display: none;
}

.content .content-section.active {
  display: block;
}

.content .content-section p {
  font-size: 11px;
}

.sidenav-image-container {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding-left: 10px;
}

.sidenav-image-container img {
  width: 100%;
  max-width: 100%;
  height: 160px; 
  object-fit: cover;
  border-radius: 5px;
}

/* .content .content-section ul {
  list-style-type: disc;
  color: black;
  margin-bottom: 12px;
}

.content .content-section ul li {
  font-size: 11px;
}
*/
.content .content-section ul li a {
  font-size: 12px;
}

/* Initial state for the dropdown menu */
/* .dropdown-menu {
  width: 99vw;
  height: 360px;
  border-radius: 0;
  left: 50%;
  transform: translate(-0.1%, -100%);
  opacity: 0;
  overflow: hidden;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
} */

/* Triggered state (when the dropdown is visible) */
/* .dropdown-menu.show {
  transform: translate(-0.1%, 0);
  opacity: 1;
} */

/* Footer */
.footer {
  color: #ffffff;
  background-color: #000000;
}

.footer .logo-img {
  max-width: 250px;
  display: block;
}

.footer ul {
  margin-left: 0;
  padding-left: 0;
}

.footer ul li {
  margin-left: 14px;
}

.footer ul a {
  color: #ffffff;
}

.footer ul a:hover {
  color: #ffffff;
}

.footer .address {
  list-style-type: none; 
}

.footer .social-icons {
  list-style-type: none; 
  display: flex;
  padding: 0;
  margin: 0;
}

.footer .social-icons li {
  margin-right: 12px; 
}

.footer .social-icons a {
  display: block;
}

.footer .policy-links {
  list-style-type: none; 
  display: flex;
  padding: 0;
  margin: 0;
}

.footer .policy-links li {
  margin-left: 0;
}

/* Main dropdown trigger styling */
ul.rwsidenav {
  display: none;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  position: absolute;
  z-index: 1000;
  background-color: #fff;
  list-style: none;
  padding-left: 0;
}

ul.rwsidenav a {
  padding: 10px 15px;
  text-decoration: none !important;
  font-size: 12px !important;
  color: #000;
  display: block;
  border-bottom: 1px solid #ddd;
}

ul.rwsidenav a:hover {
  background-color: #ddd;
  text-decoration: none !important;
}

ul.rwsidenav .nav-link.active {
  background-color: #ddd;
}

.menu-item:hover ul.rwsidenav {
  display: block;
  visibility: visible;
  opacity: 1;
}

/* Mobile Screen Styles */
@media (max-width: 768px) {
  .navbar-nav .nav-item .nav-link {
    width: 100% !important;
    white-space: nowrap !important;
  }

  .footer .address {
    margin-left: 3px;
  }

  .footer .copyright {
    margin-left: 13px;
  }

  .footer .policy-links li {
    margin-left: 11px;
  }
}