@charset "UTF-8";
/* CSS Document */

/* CSSTerm.com Simple Horizontal DropDown CSS menu */

html, body {
  overflow-x: hidden;
}



.drop_menu {
	background:#ffffff;
	display:inline;
	padding:0;
	margin:0;
	list-style-type:none;
	height:1.2em;
	position: relative;   /* required for z-index to apply */
    z-index: 9999;  

}

.drop_menu li { 
	float:left; 
}


.drop_menu li a {
	padding:1em 1em;
	display:inline-block;
	text-align:left;
	color:#0b5394;
	text-decoration:none;
	font: arial, verdana, sans-serif;
	font-weight:bolder;
}

/* Submenu */
.drop_menu ul {
	position:absolute;
	left:-9999px;
	top:-9999px;
	list-style-type:none;
	font-weight:500;

}

.drop_menu li ul a {
	font-weight: normal;

}

.drop_menu li:hover {
	position:relative;
}

.drop_menu li:hover ul {
	left:0px;
	top:30px;
	background:#fff;
	padding:0px;
	border-radius:6px;

}

.drop_menu li:hover ul li a {
	padding:.9em;
	display:block;
	width:12em;
	text-indent:1.5em;
	background-color:#fff;
	transition: all 0.4s ease 0s;
	border-radius:6px;

}

.horNavA .drop_menu li {
	/* [disabled]padding: 0em; */
	/* [disabled]list-style-type: disc; */
	/* [disabled]list-style-position: inside; */
}
.drop_menu li:hover ul li a:hover {
	/* [disabled]background:#339; */
	background-color: #BAD9F0;
	transition: all 0.4s ease 0s;

}




.navbar {
	background-color:transparent;
	color:#0b5394;
	font-family: 'Open Sans', Arial, sans-serif;
	width:inherit;
  display: flex;
  flex-wrap: wrap;       /* allows wrapping when needed */

}

.navbar a {
	color:#0B5394;
	text-align: center;
	padding: 1em 1.2em;
	text-decoration: none;
}

.dropdown {
	overflow: hidden;
	overflow-x: hidden;
}

.dropdown .dropbtn {
  border: none;
  outline: none;
  color: #0B5394;
  padding: 1em 1.2em;
  background-color: inherit;
  font-family: 'Open Sans', Arial, sans-serif;
  margin: 0;
  font-weight:bold;
  text-align:start;
  letter-spacing:.04em;
  font-variant:small-caps;
}

.navbar a:hover, .dropdown:hover .dropbtn, .dropbtn:focus {
	color: white;
  background-color:#0b5394;
    transition: all 0.4s ease 0s;
	border-radius:6px;

}

.dropbtn.active {
  background-color: #e0e0e0;
}

.dropdown-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  background-color: #fff;
  min-width: 12em;
  z-index: 999;
  transition: 
    max-height 0.3s ease-out,
    opacity 0.3s ease-out,
    padding-top 0.3s ease-out,
    transform 0.3s ease-out;
  transform: translateY(-5px);
  padding-top: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid #ddd;
  border-radius: 6px;
}

.dropdown-content a {
  float: none;
  color: #0b5394;
  padding: 1em 1em;
  text-decoration: none;
  display: block;
  text-align: left;
  transition: all 0.4s ease 0s;
  font-variant: small-caps;
}

.dropdown-content a:hover {
  color: white;
  background-color: #0b5394;
  transition: all 0.4s ease 0s;
}

.dropdown-content.show {
  max-height: 500px; /* adjust as needed */
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  padding-top: 0.5em;
}


.ddtitle {
	color:#0B5394;
}

#menu-toggle {
  font-size: 1.2em;
  padding: 0.7em 1em;
  background: #0b5394;
  color: white;
  border: none;
  width: 100%;
  text-align: left;
}

#mobileMenu {
  display: none;
  background: white;
  border-top: 1px solid #ccc;
}

#mobileMenu.show {
  display: block;
}

/* Optional: Add some spacing/padding to nav links inside */
#mobileMenu .dropdown,
#mobileMenu .moblinkmain {
  padding: 0.5em 1em;
}


/* MOBILE HEADER LINKS — subtle underline */
@media (max-width: 897px) {
  .navbar a,
  .dropdown .dropbtn {
    position: relative;
  }

  /* default underline */
  .navbar a::after,
  .dropdown .dropbtn::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.5em; /* adjust closer/farther from text */
    transform: translateX(-50%);
    width: 50%; /* controls underline width — tweak as desired */
    height: 2px;
    background-color: #0b5394;
    opacity: 0.55; /* tone down visibility */
    transition: 
      width 0.25s ease,
      opacity 0.2s ease,
      background-color 0.25s ease;
  }

  /* remove underline when active or clicked */
  .navbar a.active::after,
  .dropdown .dropbtn.active::after {
    width: 0;
    opacity: 0;
  }
}
  /* ✨ prevent underline on dropdown submenu items */
  .dropdown-content a::after {
    content: none !important;
  }


/* Horizontal scrollable mobile nav bar */

/*
@media(max-width: 675px) {
.navbar {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;  
    position: relative;
	 flex-wrap: nowrap;
  }



  .navbar::-webkit-scrollbar {
    display: none;  

  }

   Prevent items from wrapping 

  .navbar > *,
  .navbar a,
  .dropdown {
    flex: 0 0 auto;
    white-space: nowrap;

  }
*/


