
/*Submenu functionality*/
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
    position: absolute;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* Footer strip */
.footer-bar {
  background-color: #e7d81f;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bar p {
  margin: 0;
  font-weight: bold;
}

.footer-bar a {
  color: #000;
  text-decoration: none;
}
.footer-bar a:hover {
  text-decoration: underline;
}

/* Navbar affix behavior */
.affix {
  top: 0;
  width: 100%;
  z-index: 9999 !important;
}

body {
  padding-top: 0px; /* Adjust if using fixed navbar */
}

/* Navbar */

#navbar-container {
  margin-bottom: 0;
  padding-bottom: 0;
}
.navbar {
  margin-bottom: 0 !important;
}

/* Sticky social media buttons */

.sticky-container {
  position: fixed;
  top: 200px;
  right: 0;
  z-index: 1000;
}

.sticky {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column; /* ✅ stack vertically */
  align-items: flex-end;   /* ✅ align to right edge */
}

.sticky li {
  background-color: #fff;
  margin-bottom: 5px;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 1px solid #ccc;
  transition: width 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  padding: 0 5px;
  box-sizing: border-box;
}

.sticky li:hover {
  width: 200px;
}

.sticky img {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.sticky p {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding-left: 8px;
}

.sticky li:hover p {
  opacity: 1;
}

.sticky a {
  text-decoration: none;
  color: #333;
}

.sticky a:hover {
  text-decoration: underline;
}

/* Carousel */
#myCarousel {
  margin-top: 0;
  padding-top: 0;
}

#myCarousel {
  margin-top: 0px;
}


.carousel-control {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.carousel-control.left {
  left: 0;
}

.carousel-control.right {
  right: 0;
}

.carousel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-icon svg {
  width: 24px !important;
  height: 24px !important;
  fill: white !important;
  pointer-events: none;
}

/* Vertical Marquee CSS */

.marquee-container {
  background-color: #e7d81f;
  height: 33px;
  overflow: hidden;
  border-top: 0px solid #ccc;
  border-bottom: 0px solid #ccc;
  padding-left: 10px;
  position: relative;
  z-index: 2;
}

.marquee-row {
  height: 33px;
}

.horizontal-container {
  white-space: nowrap;
  overflow: hidden;
  height: 33px;
  line-height: 33px;
}

.horizontal-content {
  display: inline-block;
  animation: scroll-left 30s linear infinite;
  animation-play-state: running;  
}

.horizontal-content.paused {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/*  */

.vertical-container {
  height: 200px; /* adjust as needed */
  overflow: hidden;
  position: relative;
}

.vertical-content {
  display: inline-block;
  animation: scroll-up 20s linear infinite;
  animation-play-state: running;
}

.vertical-content.paused {
  animation-play-state: paused;
}

@keyframes scroll-up {
  0% { transform: translateY(100%); }
  100% { transform: translateY(-100%); }
}

.green-sub-header {
  text-align: center;
  background-color: #15db95;
  font-weight: bold;
  padding: 5px 0;
  margin-bottom: 5px;
}

.dg-message {
  text-align: justify;
  background-color: white;
  border: none;
  padding: 2px;
}

#tbl1 {
  border: none;
  background-color: white;
  width: 100%;
}

.dg-name {
  font-size: 13px;
}

.dg-title {
  font-size: 12px;
}

.dg-text {
  font-size: 11px;
}


.vertical-section {
  padding-left: 2px;
  padding-right: 2px;
}

.vertical-box {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px;
  background-color: #fff;
}

.green-sub-header {
  text-align: center;
  background-color: #15db95;
  font-weight: bold;
  padding: 0px 0;
  margin-bottom: 5px;
  border-radius: 4px;
  height: 20px;
}

.vertical-container {
  height: 145px; /* adjust as needed */
  overflow: hidden;
  position: relative;
}

.vertical-content {
  display: inline-block;
  animation: scroll-up 20s linear infinite;
  animation-play-state: running;
}

.vertical-content.paused {
  animation-play-state: paused;
}

@keyframes scroll-up {
  0% { transform: translateY(100%); }
  100% { transform: translateY(-100%); }
}



#dgpc {
  border-radius: 10px; /* Adjust value for more or less rounding */
}

/* Reduce horizontal spacing between columns */
.vertical-section,
.dg-section {
  padding-left: 5px;
  padding-right: 5px;
}

/* Add light border to vertical scroll container */
.vertical-section .thumbnail,
.vertical-container {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px;
  background-color: #fff;
}

/* Add light border to DG content container */
.dg-section .thumbnail {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px;
  background-color: #fff;
}
.row {
  margin-bottom: 5px;
}

/* Division Cards */

.card-row {
  margin-top: 15px;
  margin-left: -6px;
  margin-right: -6px;
}

.card-row .col-sm-3 {
  padding-left: 6px;
  padding-right: 6px;
}

.card-box {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* text-align: center; */
  cursor: pointer;
  height: 100%;
  text-align: left; /* Default alignment for all content */  
}

.card-box:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.card-box img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.card-box a:hover {
  text-decoration: underline;
}
.card-box h5 {
  text-align: center; /* Override to center just the heading */
  font-size: 14px;
  font-weight: bold;
  color: #222;
  margin: 10px 0;
}

.card-box p,
.card-box a {
  margin-left: 0;
  margin-right: 0;
}


/* bottom carousel */

.yellow-banner {
  background-color: #e7d81f;
  min-height: 100px;
  width: 100%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .yellow-banner {
    min-height: auto;
    padding: 10px;
    flex-direction: column;
    text-align: center;
  }
}

.banner-row {
  height: 200px;
  background-color: #e7d81f;
width:100%;  
}

.carousel-inner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.footer-bar {
  background-color: #15db95;
}

.footer-row {
  height: 20px;
  background-color: #15db95;
}

.footer-bar table {
  width: 100%;
  border: 0;
}

.footer-bar td {
  vertical-align: middle;
}

.footer-bar td:first-child p {
  text-align: left;
  margin: 0;
}

.footer-bar td:last-child p {
  text-align: right;
  margin: 0;
}

.footer-bottom {
  background-color: #e7d81f; !important;
  text-align: center;
  padding: 5px 0;
  font-size: 13px;
  color: #333;
  border-top: 1px solid #ccc;
  height: 30px;
}
.footer-bottom {
  background-color: #e7d81f !important;
/*   border: 2px dashed red; /* temporary for debugging */ */
}

/* Horizontal Marquee */
/* Marquee container */
.marquee-container {
  background-color: #e7d81f;
  height: 33px;
  overflow: hidden;
  padding-left: 10px;
  position: relative;
  z-index: 2;
}

/* Row wrapper */
.marquee-row {
  height: 33px;
}

/* Scroll container */
.horizontal-container {
  white-space: nowrap;
  overflow: hidden;
  height: 33px;
  line-height: 33px;
}

/* Scrolling content */
.horizontal-content {
  display: inline-block;
  animation: scroll-left 20s linear infinite;
  animation-delay: 2s;
  animation-play-state: running;
  will-change: transform;
  visibility: visible;
}


/* Optional pause class */
.horizontal-content.paused {
  animation-play-state: paused;
}

/* Keyframes for scrolling */
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-1000px); }
}


/* Responsive speed adjustment */
@media (max-width: 768px) {
  .horizontal-content {
    animation: scroll-left 30s linear infinite;
  }
}

.horizontal-container:hover .horizontal-content {
  animation-play-state: paused;
}

.icon-spacing {
  margin-right: 30px;
}








