/* ==========================================================================
   Quick1099 Header / Navbar / Footer (additive)
   Recolors the existing Bootstrap 3 header/footer markup to match the
   source site's navy/blue palette. Structure, breakpoints and JS-driven
   behavior (affix, collapse) are untouched.
   Load AFTER q-tokens.css / q-base.css / q-components.css.
   ========================================================================== */

/* ---- Header / Navbar ---- */
.header-home-one .navbar {
  background: var(--q-white);
  box-shadow: var(--q-shadow-sm);
}

.header-home-one .navbar a,
.header-home-one .navbar-nav > li > a {
  color: var(--q-ink-900);
}

.header-home-one .navbar-nav > li.active > a {
  background: var(--q-blue-600);
  color: var(--q-white);
}

.header-home-one .dropdown-menu li a:hover {
  color: var(--q-blue-600);
}

/* ---- Footer ---- */
.footer-home-one {
  background: var(--q-navy-900) !important; /* overrides legacy `!important` teal background */
}

.footer-home-one .footer-line-one {
  background: var(--q-blue-500);
}

.footer-home-one ul.social-link-h-one li a {
  color: var(--q-navy-900);
}

.footer-home-one ul.social-link-h-one li a:hover {
  background: var(--q-blue-600);
  color: var(--q-white);
}

.footer-home-one .footer-link-pages li:hover a,
.footer-home-one .footer-link-pages li:hover,
.footer-home-one .footer-link-pages li:hover:before {
  color: var(--q-blue-100);
}

.footer-home-one .footer-home-one-newsletter input[type="submit"] {
  background-color: var(--q-blue-600);
}

.FooterContent {
  color: var(--q-white);
}

#footer {
    position: fixed;
    padding: 6px;
    bottom: 0;
    width: 100%;
    background: #2F1741;
}

/* ---- Nav toggle SVG icon (replaces legacy icon-bar spans) ---- */
.navbar-toggle .q-nav-toggle-icon {
  display: inline-block;
  vertical-align: middle;
  color: var(--q-ink-900);
}

/* ---- Footer content grid (brand / columns / social / bottom bar) ---- */
.q-footer-grid {
  padding-bottom: var(--q-space-6, 32px);
}

.q-footer-brand .q-footer-logo {
  display: inline-block;
  margin-bottom: var(--q-space-3, 12px);
}

.q-footer-tagline {
  color: var(--q-blue-100);
  opacity: 0.85;
  margin-bottom: var(--q-space-4, 16px);
}

.q-footer-social {
  display: flex;
  gap: 0.6rem;
}

.q-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--q-radius-full, 50%);
  background: rgba(255, 255, 255, 0.1);
  color: var(--q-white);
  transition: background var(--q-dur, 0.2s) var(--q-ease, ease);
}

.q-footer-social a:hover {
  background: var(--q-blue-600);
  color: var(--q-white);
}

.q-footer-col h4 {
  color: var(--q-white);
  margin-bottom: var(--q-space-3, 12px);
}

.q-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.q-footer-col ul li {
  margin-bottom: 0.5rem;
}

.q-footer-col ul li a {
  color: var(--q-blue-100);
  opacity: 0.85;
}

.q-footer-col ul li a:hover {
  color: var(--q-white);
  opacity: 1;
}

.q-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--q-space-4, 16px);
  margin-top: var(--q-space-4, 16px);
  color: var(--q-blue-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.q-footer-legal a {
  color: var(--q-blue-100);
  margin-left: 1rem;
}

.q-footer-legal a:first-child {
  margin-left: 0;
}

.q-footer-legal a:hover {
  color: var(--q-white);
}

/* ---- Responsive parity (mobile nav dropdown), matches existing 767px breakpoint ---- */
@media (max-width: 767px) {
  .header-home-one .navbar-nav {
    background: var(--q-cream);
  }

  .header-home-one .navbar a {
    color: var(--q-ink-900);
  }
}

.footer-home-one {
    background: #162b59 !important;
    width: 100%;
    display: flex;
    align-items: center;
    color: #cdd7ea;
    font-size: 13px;
    font-weight: 400;
    height: 70px;
}

.footer-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 130px;
}

.footer-left {
    flex: 0 0 auto;
    color: #d5deef;
    white-space: nowrap;
}

.footer-right {
    flex: 1;
    max-width: 760px;
    color: #d5deef;
    line-height: 1.6;
    text-align: left;
}

.footer-right {
    max-width: 700px;
    text-align: left;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .footer-home-one {
        padding: 20px 24px;
        min-height: auto;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-left,
    .footer-right {
        max-width: 100%;
        white-space: normal;
    }
}

@media (max-width: 576px) {
    .footer-home-one {
        padding: 18px 16px;
        font-size: 13px;
    }

    .footer-right {
        line-height: 1.6;
    }
}

.quick1099-table table {
    width: 100% !important;
    max-width: 100%;
}

.quick1099-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

#gridTable {
    width: 100% !important;
    max-width: 100% !important;
}

/* Only hide scrollbar on large desktop screens */
@media (min-width: 1400px) {
    .quick1099-table {
        overflow-x: hidden !important;
    }
}

@media (min-width: 1200px) {
    #gridTable {
        width: 100% !important;
        max-width: 100% !important;
    }

        #gridTable th,
        #gridTable td {
            box-sizing: border-box;
        }
}
/* Large desktop - no scrollbar when sidebar is collapsed */
@media (min-width: 1400px) {
    body.dashboard-body.sidebar-collapsed .quick1099-table {
        overflow-x: hidden !important;
    }

    /* Sidebar opened */
    body.dashboard-body:not(.sidebar-collapsed) .quick1099-table {
        overflow-x: auto !important;
    }
}

/* =========================================================
   Desktop: 1400px - 1599px
   ========================================================= */

@media (min-width: 1400px) and (max-width: 1599px) {

    .footer-home-one {
        height: 70px;
        padding: 0 40px;
    }

    .footer-content {
        max-width: 1500px;
        gap: 120px;
    }

    .footer-left {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .footer-right {
        flex: 1;
        max-width: 850px;
    }
}


/* =========================================================
   Large Desktop: 1600px - 1919px
   ========================================================= */

@media (min-width: 1600px) and (max-width: 1919px) {

    .footer-home-one {
        height: 72px;
        padding: 0 50px;
    }

    .footer-content {
        max-width: 1700px;
        gap: 160px;
    }

    .footer-left {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .footer-right {
        flex: 1;
        max-width: 950px;
    }
}


/* =========================================================
   Full HD / 1920px+
   ========================================================= */

@media (min-width: 1920px) {

    .footer-home-one {
        height: 74px;
        padding: 0 60px;
    }

    .footer-content {
        max-width: 1800px;
        gap: 180px;
    }

    .footer-left {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .footer-right {
        flex: 1;
        max-width: 1100px;
    }
}


/* =========================================================
   2K / QHD: 2560px+
   ========================================================= */

@media (min-width: 2560px) {

    .footer-home-one {
        height: 76px;
        padding: 0 80px;
    }

    .footer-content {
        max-width: 2200px;
        gap: 220px;
    }

    .footer-left {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .footer-right {
        flex: 1;
        max-width: 1250px;
    }
}


/* =========================================================
   4K: 3840px+
   ========================================================= */

@media (min-width: 3840px) {

    .footer-home-one {
        height: 80px;
        padding: 0 100px;
    }

    .footer-content {
        max-width: 3200px;
        gap: 300px;
    }

    .footer-left {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .footer-right {
        flex: 1;
        max-width: 1500px;
    }
}
