/* Softer grey navbar */
.navbar-softgray {
  background-color: #6c757d;
}

/* Floating menu panel (overlay) */
.menu-panel {
  --sb-nav-height: 56px;
  position: fixed;
  top: calc(var(--sb-nav-height) + 8px);
  right: 12px;
  width: 280px;
  max-height: 80vh;
  overflow: auto;
  background: #e9ecef;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  z-index: 1055;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.menu-panel.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.menu-panel .list-group-item {
  background: #eef1f4;
  border: 0;
  padding: 0.8rem 1rem;
}

.menu-panel .list-group-item + .list-group-item {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.menu-panel .list-group-item:active,
.menu-panel .list-group-item:hover {
  background: #6c757d;
  color: #fff;
}

.hombtn {
  min-width: 270px !important;
  max-width: 270px !important;
}

.mg-brand-textouter {
  text-align: center;
}

.mg-brand-textouter strong {
  font-size: 1.1rem;
}

.mg-brand-textouter .mg-brand-tagline {
  font-size: 0.85rem;
  color: #6c757d;
}

#headerlogobox {
  border-radius: 10px;
  background: #f9f8f8;
  box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
}

.mg-brand-textinner {
  margin-left: 20px;
}

.mg-brand-textinner strong {
  font-size: 1.8rem;
  color: #010c02;
}

.mg-brand-textinner .mg-brand-tagline {
  font-size: 1.2rem;
  color: #081109;
}

input[type="color"].form-control,
input[type="color"].form-control-color {
  width: 80px !important;
  height: 40px !important;
  padding: 0 !important;
  border: none !important;
  cursor: pointer;
}

@media (min-width: 768.98px) {
#headerlogobox img{
    max-width: 180px !important;
    max-height: 90px !important;
    height: auto;
}

}

@media (max-width: 768.98px) {

    #headerlogobox img{
    max-width: 60px !important;
    max-height: 60px !important;
    height: auto;
    }
  .mg-brand-textinner {
    margin-left: 10px !important;
  }

  .mg-brand-textinner strong {
    font-size: 1.1rem !important;
    color: #010c02;
  }

  .mg-brand-textinner .mg-brand-tagline {
    font-size: 0.7rem !important;
    color: #081109;
  }
}

.navbar-toggler {
    background-color: #4a564a !important
}

#footerText{
    text-align:center; padding:0px !important; font-size:0.9rem; color: #010c02;
}
.footer-note{
        background: #82a36e !important;
         position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 50px;
  z-index: 1000;
}
