
/* Navbar (Top Bar) */
.navbar {
  align-items: center;
  background-color: #003366;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.2em;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.3em;
}

.logo img {
  height: 1.2em;
  display: block;
}

.logo a {
	text-decoration: none;
	color: white;
}

.nav-links {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  border-bottom: 3px solid transparent;
  color: white;
  display: inline-block;
  font-size: 0.8125em;
  padding: 10px 5px;
  text-decoration: none;
  transition: border-color 0.2s;
}

.nav-links li a:hover {
  border-bottom: 3px solid #ff6600;
  color: #ff6600;
}

.nav-links li a:hover svg.size-6 {
  stroke: #ff6600;
}

.nav-links li a svg.size-6 {
  display: inline-block;
  fill: none;
  height: 1em;
  margin-right: 0.4em;
  stroke: white;
  vertical-align: middle;
  width: 1em;
}











/* Menu B (secondary menu) */

.desktop-nav {
	display: block;
}

.mobile-nav {
	display: none;
}


img.menu-logo {
	width: 1em;
	height: 1em;
}


.logo-title {
  align-items: center;
  display: flex;
}

.menu-header {
  position: relative;      
  top: 0px;
  left: 5px;
  width: 98vw;         
  height: 100vh; 
  background: #f3f5f9;
  border: 1px solid #9a9;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
  border-radius: 5px; 
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px; 
  overflow-y: auto; 
  z-index: 1;
}

.menu-inner {
  width: 210px;
  padding: 10px 0;
}

.menu-logo {
  height: 28px;
  margin-right: 10px;
  width: 28px;
}

.menu-title {
  font-size: 1.5em;
  font-weight: bold;
  vertical-align: middle;
}

/* Not used START*/

.menu-toggle {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: none;
  font-size: 2rem;
}

.menu-toggle-secondary {
  display: none;
}

/* Not used END */

.menu-wrapper {
  background-color: #f8f8f8;
  border-right: 1px solid #ccc;
  position: fixed;
  top: 115px;
  left: 0;
  bottom: 0;
  overflow-y: auto;
}


.secondary-menu-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
  list-style: none;
  padding: 0;
  flex: 1;
  margin: 0;
}

.secondary-menu-container ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.secondary-menu-container li a {
  border-left: 4px solid transparent;
  border-radius: 5px;
  color: #525b6a;
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.secondary-menu-container li a:hover, 
.secondary-menu-container li a:active,
.secondary-menu-container li a.active,
.concertina-submenu li a.active {
  background-color: #ffffff;
  border-left: 4px solid #ff6600;
}



.concertina-section {
  border-top: 1px solid #ccc;
}

/* Submenu list (default closed state) */
.concertina-submenu {
  list-style: none;
  margin: 0;
  padding-left: 1em;
  max-height: 0;                 /* collapsed by default */
  overflow: hidden;              /* hide content when closed */
  transition: max-height 0.3s ease; /* smooth slide animation */
}

/* Rotate chevron when section is open */
.concertina-section.open .chevron {
  transform: rotate(90deg);
}

/* Submenu links */
.concertina-submenu li a {
  align-items: center;
  border-left: 4px solid transparent;
  color: #333;
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  transition: background 0.2s;
  font-size: 0.8em;
}

.concertina-submenu li a:hover {
  background-color: #fff;
  border-left: 4px solid #ff6600;
}

.concertina-submenu li a.active {
  font-weight: bold;
}

.concertina-toggle {
  align-items: center;
  background: #f3f5f9;
  border: none;
  border-left: 4px solid transparent;
  color: #333;
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  justify-content: space-between;
  padding: 10px;
  text-align: left;
  transition: background 0.3s;
  width: 100%;
}

.concertina-toggle:hover {
  background: white;
  border-left: 4px solid #ff6600;
}

/* Chevron */
.concertina-toggle .chevron {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m5.25 4.5 7.5 7.5-7.5 7.5'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  display: inline-block;
  height: 1em;
  margin-left: 0.5em;
  transition: transform 0.3s ease;
  vertical-align: middle;
  width: 1em;
}





/* Optional: small icon sizing */
.size-6 {
  height: 20px;
  margin-right: 8px;
  width: 20px;
  vertical-align: middle;
}






.simple-menu {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.simple-menu li a {
  color: #333;
  display: block;
  padding: 8px 12px;
  text-align: left;
  text-decoration: none;
}

.simple-menu li a:hover {
  background: white;
  border-left: 4px solid #ff6600;
  color: #333;
}



/*Filter bar*/

.filter-bar {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: #f8f8f8;
  border-bottom: 1px solid #ddd;
  position: fixed;
  width: 100%;
}

.filter-pill {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: #00543c;
    color: white;
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
    font-size: 0.85rem;
}

.filter-pill a.filter-link {
    display: flex;
    align-items: center;
    gap: 0.35rem; /* same as .filter-pill */
    color: inherit; /* so text stays white */
    text-decoration: none;
}

.filter-pill:hover {
  background: #007a55;
}

.filter-x {
  font-weight: bold;
  font-size: 1rem;
  line-height: 1;
  margin-left: 0.25rem;
  cursor: pointer;
}

.filter-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-right: 0.3rem;
  vertical-align: middle;
}


.filter-bar img {
	height: 16px;
	width: 16px;
	border-radius: 50%;
	margin-top: 1px;
	margin-right: 1px;
	border: 1px solid white;
    background: radial-gradient(circle,
              rgba(255, 255, 255, 1) 0%,    /* bright white center */
              rgba(200, 200, 200, 1) 60%,   /* light grey */
              rgba(100, 100, 100, 1) 100%   /* darker edge */
            );
	display: block;
}

.filter-bar a, filter-bar a:active {
	text-decoration: none;
}



.tab-link {
	background: transparent;
	border: none;
	font-weight: 600;
	cursor: pointer;
	position: relative;
	outline: none;
}

.tab-link .active {
	color: white;
}

.tab-content {
	padding: 1rem 0;
	margin-top: 1rem;
	background: #F3F3F3;
}

.tab-link.active::after {
  content: "";
  position: absolute;
  bottom: -15px;      /* adjust distance below the text */
  left: 50%;
  transform: translateX(-50%);
  width: 15px;       /* circle diameter */
  height: 15px;
  border-radius: 50%;
}

.tab-link:hover::after {
  content: "";
  position: absolute;
  bottom: -15px;      /* adjust distance below the text */
  left: 50%;
  transform: translateX(-50%);
  width: 15px;       /* circle diameter */
  height: 15px;
  border-radius: 50%;
}






/* ---------------------------------------------
   7. MAIN CONTENT AREA
---------------------------------------------- */

.page-content {
  border-radius: 15px;
  height: 100%;
  margin-left: 250px;
  margin-top: 10px;
  position: absolute;
  top: 140px; 
  width: calc(97% - 250px);
  z-index: 10;
  overflow-y: auto;   /* allow vertical scrolling */
  overflow-x: hidden; /* prevent horizontal scrolling */
}



.contentData {
  background: #fff;
  display: block;
  height: auto;
  border: 1px solid #e3e3e5;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  max-width: calc(95vw - 210px);
  overflow: visible !important;
  padding: 0.7em;
  z-index: 10;
  margin-left: 20px
}


.flex-item {
  flex: 0 0 calc(33.333% - 10px); /* 3 per row with spacing */
  box-sizing: border-box;
  padding: 1rem;
}


/* Mobile HINT */

.mobile-hint {
    display: none;
    position: absolute;
    top: 60px;           /* adjust based on navbar height */
    left: 10px;         /* adjust based on your layout */
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    white-space: nowrap;
    animation: pulse 1.2s infinite;
}

.mobile-hint .arrow {
    display: block;
    text-align: left;
    font-size: 18px;
    margin-bottom: 2px;
}

/* Animation */
@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}



.filter-info-icon {
  display: none; /* hidden by default */
  width: 20px;
  height: 20px;
  background: #333;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  font-weight: normal;
  font-size: 0.75rem;
  cursor: pointer;
  position: relative; /* not needed for tooltip, just styles */
}



































/* Mobile only: hide menu by default */
@media (max-width: 768px) {
	
	
    .mobile-hint {
        display: block;
    }	
	


 /*Top Menu */
  .desktop-nav {
  	display: none;
  }
  
  .navbar {  	
    align-items: center;
    background-color: #003366;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    z-index: 2000;
    width: 100%;
  }

  .nav-links {
    background-color: #003366;
    display: none;
    flex-direction: column;
    left: 0;
    position: absolute;
    top: 60px;
    width: 100%;
  }

  .nav-links.active {
    display: flex;
  }
 
  .navbar .nav-links li {
  	border-bottom: 1px solid #d3d3d3;
  }
    
  .nav-links li a {
	  display: flex;
	  align-items: center;
	  width: 100%;
	  padding: 10px 15px;
	  text-decoration: none;
	  color: inherit;
	}

  .navbar .nav-links li a:hover {
  	border-left: 4px solid #FF6600;
  	border-bottom: 0;
  } 
   
 



/*Menu Wrapper => mobile-menu-wrapper => mobile-menu => mobile-nav => menu-header => secondary menu container*/

/*Menu Wrapper */
  .menu-wrapper {
    display: block !important;
    position: relative;
    width: 95vw;
    top: 45px;
    box-shadow: none;
    overflow-y: unset;
  }
  
  
  
/*mobile-menu-wrapper*/

	.mobile-menu-wrapper {
	  transition: width 0.3s ease;
	  position: fixed;
	  top: 45px;
	  left: 0;
	  width: 0;
	  height: 100vh;
	  z-index: 1000;
	  overflow: hidden;		
	}

	.mobile-nav {
		display: block;
	}
	

	/* Slide in */
	.mobile-menu-wrapper.active, .mobile-menu-wrapper.open{
	  width: 100vw;
	}  


    	
  	/*This is the key style*/
  	.menu-header {
	    position: absolute;
	    top: 60px;
	    width: 95vw;
	    height: inherit;
	    background: #f3f5f9;
	    border: 1px solid #9a9;
	    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
	    border-radius: 5px;
	    padding: 15px 20px;
	    display: flex;
	    flex-direction: column;
	    gap: 20px;
	    overflow-y: auto;
	    z-index: 1200;    
	}

/*Page Content*/

	
  .page-content {
    margin-left: 0;
    width: 100%;
    top: 95px;
  }


  .contentData {
    max-width: 95vw;
    margin-left: auto;
    margin-right: auto;
  }
	
  .menu-inner {
		width: 90vw;
	}

  .menu-toggle {
    display: block;
  }
  .menu-toggle-secondary {
    display: block;
    position: fixed;
    z-index: 1100;
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    color: #333;
    top: 55px;
    left: 10px;
  }	



 /* Filter Bar */ 
  .filter-bar {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    padding-left: 0.4rem;
    background: #f8f8f8;
    border-bottom: 1px solid #ddd;
    position: fixed;
    width: 100%;
    margin-top: 60px;
    z-index: 999;
	}

	
  .filter-pill {
  	font-size: 0.65rem;
  }

.filter-info-icon { display: inline-block; }


.filter-info-icon {
  	display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: 0.5rem;
}

  
/* Tooltip styling */
.mobile-tooltip {
  display: none;
  position: absolute;
  background: #333;
  color: #fff;
  padding: 8px 10px;
  border-radius: 4px;
  max-width: 200px;
  z-index: 99999;
}

.mobile-tooltip.active {
  display: block;
}




/*Secondary Menu */

  .secondary-menu {
    display: none;
    flex-direction: row;
    height: auto;
    justify-content: space-around;
    position: static;
    width: 100%;
  }

  .secondary-menu.active {
    display: flex;
  }

  .secondary-menu li {
    flex: 1;
    text-align: center;
  }

  .secondary-menu li a {
    border-bottom: none;
    border-right: 1px solid #333;
  }

  .secondary-menu li:last-child a {
    border-right: none;
  }
  
  .secondary-menu-container {
    position: static;
  }


	.menu-close {
	    position: absolute;
	    top: 10px;
	    right: 15px;
	    font-size: 1.5rem;
	    background: none;
	    border: none;
	    color: #333;
	    cursor: pointer;
	    z-index: 1001;
	}

}