body {
	background-image: url(/images/backpage.jpg);
	background-repeat: repeat;

}

@media (max-width: 1200px) {
  .x-topbar {
    display: none;
  }
  .header-wrapper:not(:has(.mod-finder, .mod-search)) .search-box {
    display: none;
}

.container-header .navbar, 
.container-header .navbar-collapse {
  background-color: #002244 !important; /* Dark blue background */
}

.container-header .mod-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 15px; /* Adjusts the space between menu items */
}

.container-header {
  background-color: #002244; /* Dark blue background */
  background-image: none;    /* Removes default Joomla gradient */
}

.container-header .mod-menu a, 
.container-header .navbar-nav .nav-link {
  color: #ffffff !important; /* White menu links */
  font-weight: 700 !important; /* Bold text */
}

.container-header .mod-menu a:hover, 
.container-header .navbar-nav .nav-link:hover {
  color: #dddddd !important; /* Light gray color on hover */
}
 .container-header .mod-menu,
.container-header .navbar-nav {
  justify-content: center !important; /* Centers horizontal items */
  width: 100% !important;              /* Forces full-width alignment */
  text-align: center !important;       /* Centers vertical text backup */
}

.container-header .mod-menu,
.container-header .navbar-nav,
.container-header .navbar-collapse {
  margin: 0 auto !important;   /* Removes default left/right margins */
  padding-left: 0 !important;  /* Removes default left padding causing the tilt */
  justify-content: center !important;
}

.container-header .navbar {
  width: 100% !important;
  justify-content: center !important;
}

.container-header .header-inner {
  grid-template-columns: 1fr !important; /* Removes the multi-column layout layout */
  display: block !important;             /* Allows full centering across the width */
}

/* =================================
   Remove all table borders
================================= */

table,
table th,
table td {
    border: none !important;
}

/* Remove Bootstrap table borders */
.table,
.table th,
.table td {
    border: none !important;
}

/* Remove inner borders */
.table-bordered,
.table-bordered th,
.table-bordered td {
    border: none !important;
}

/* Remove row dividers */
.table > :not(caption) > * > * {
    border-bottom: none !important; 
}

/*.container-header .mod-search,
.container-header .mod-finder 
/* display: block !important;
/*    visibility: visible !important;
/*    opacity: 1 !important;

}
.table, th, td {
    border: none !important;
}

table {
    border-collapse: collapse;
}
/* =================================
   JOOMLA 5 CASSIOPEIA LAYOUT
   Logo centered
   Menu centered
   Smart Search right
================================= */

}
/* Ensure navbar is flexible */
.container-header .navbar {
    display: flex;
    align-items: center;
    position: relative;
}

/* Center the logo */
.navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);