/* CSS Document */

header {
	height: 200px;
	background: linear-gradient(to bottom, #876AAF 60%, #000000 60%);
	border-radius:1em;
	Width: 100%;
	padding: 10px;
	color: white;
	font-size: 15px;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
}

#header_grid {
  	display: grid;
  	grid-template-rows: 60%;
  	grid-template-columns: 15% 35% 25% 25%;
 	width: 100%;
}

.header_logo {
	float: left;
}

#footer {
	height: 200px;
	background: linear-gradient(to bottom, #876AAF 60%, #000000 60%);
	border-radius:1em;
	Width: 100%;
	padding: 10px;
	color: white;
	font-size: 15px;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
}

#footer_grid {
  	display: grid;
  	grid-template-rows: 70% 20% 10%;
  	grid-template-columns: 33.33% 33.33% 33.33%;
 	width: 100%;
}

.item4 {text-align: center}
.item5 {text-align: center}
.item6 {text-align: center}

.footer_logo {float: right}

.address-table {
  	float: left;
	width: 100%;
  	max-width: 400px;
  	border-collapse: collapse;
  	margin: 0px 0;
  	font-family: Arial, sans-serif;
}
.address-table th {
  color: white;
  width: 45%;
}
.address-table td {
  	border: 0px solid #ccc;
  	padding: 0px;
	color: white;
}



/* Bootstrap Override */
.nav-tabs {
  	margin-top: 20px;
	border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-link {
  border: none;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  color: white;
  border-bottom: 3px solid transparent;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: #007bff;
  background: transparent;
  border-bottom-color: #007bff;
}

.nav-tabs .dropdown-menu {
	border-radius: 0.5rem;
}

/* Make dropdown items more compact */
.dropdown-menu .dropdown-item {
  padding: 0.1rem 0.75rem; /* vertical horizontal */
  line-height: 0.5;         /* tighten text line spacing */
  font-size: 0.9rem;        /* optional: slightly smaller text */
}

/* Make sure nested submenu positions relative to its parent */
.dropdown-submenu { position: relative; }

/* Align submenu next to the parent row (tweak as needed) */
.dropdown-submenu > .dropdown-menu {
  margin-top: -0.25rem;  /* nudges the submenu up to align with the row */
  margin-left: 0.1rem;   /* small gap to the right */
}

/* Force a right-pointing caret for the split toggle inside menus */
.dropdown-submenu .dropdown-toggle::after {
  /* Build a CSS caret that points RIGHT */
  display: inline-block;
  content: "";
  margin-left: .255em;
  vertical-align: .255em;

  border-top: .3em solid transparent;
  border-right: 0;
  border-bottom: .3em solid transparent;
  border-left: .3em solid currentColor;
}

/* Make dropright submenu items same size as main menu items */
.dropdown-submenu > .dropdown-menu .dropdown-item {
  padding: 0.25rem 0.75rem;   /* ← match your main item padding */
  font-size: inherit;         /* ← inherit from main menu */
  line-height: inherit;       /* ← match main menu spacing */
  min-height: inherit;        /* ← ensures rows match height */
}

/* Optional: make the row feel cohesive on hover/focus */
.dropdown-submenu > .dropdown-item:hover,
.dropdown-submenu > .dropdown-item:focus-within {
  background-color: rgba(0,0,0,.05);
}

/* (Optional) Hover-to-open on desktop */
@media (hover: hover) and (pointer: fine) {
  .dropdown-submenu:hover > .dropdown-menu {
    display: block; /* let it appear on hover */
  }
}