﻿/* =========================================
   1. VARIABLES
========================================= */
:root {
    --pc: #1f8fa3; /* NEW primary (light teal) */
    --pc2: #176c7a; /* slightly darker for contrast */
    --pc3: #F2B73E; /* keep your gold */
    --pc4: #F4F7F9; /* keep light bg */
    --pc5: #3fb6c6; /* brighter accent teal */

    /* EXTRA HELPERS (NEW) */
    --accent-orange: #E98A2E;
    --light-blue: #8FD0DF;
    --mid-blue: #5FA0B5;
}


/* =========================================
   2. BASE / BODY / TYPOGRAPHY
========================================= */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; 
}


body {
    font-family: "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
    margin: 0;
    background-color: var(--pc4);
    font-size: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}



.main-content {
    flex: 1;
    padding-top: 120px;
    padding-bottom: 15px;

}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
    margin-top: 0; 
    font-family: 'Poppins', 'Nunito', sans-serif;
    font-weight: normal;
    color: #333;
}

h1 {
    font-size: 2em;
    font-weight: bold;

}

h2 {
    font-size: 1.5em;
    font-weight: bold;
}

h3 {
    font-size: 1.17em;
    font-weight: bold;
}

h4 {
    font-size: 1em;
    font-weight: bold;
}

h5 {
    font-size: .83em;
    font-weight: bold;
}

h6 {
    font-size: .67em;
    font-weight: bold;
}

/* textarea overrides */
textarea {
    font-family: inherit;
    font-size: inherit;
    padding: 1px 1px 1px 1px;
}
.bg-teal {
    background: linear-gradient(to right, var(--pc5), var(--pc));
    color: #fff;
}

.bg-white {
    background: #fff;
}
.brand-text {
    display: flex;
    align-items: center;
    gap: 0; /* no spacing between words */
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.brand-dapper,
.brand-ducky {
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 4px rgba(0,0,0,0.2);
    font-family: 'Poppins', 'Nunito', sans-serif;
}

.brand-dapper {
    color: #F4F7F9; /*  lighter blue */
    margin-right: -2px; /*  joins words tightly */
}

.brand-ducky {
    color: #F2B73E; /*  gold */
}


/* HEADER VERSION (synced to navbar style) */
.brand-dapper-h,
.brand-ducky-h,
.brand-cleaning-h {
    text-shadow: -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000, -1.5px 1.5px 0 #000, 1.5px 1.5px 0 #000, 0 4px 8px rgba(0,0,0,0.25);
    font-family: 'Poppins', 'Nunito', sans-serif;
    font-weight: 900;
}

/* existing colors */
.brand-dapper-h {
    color: #F4F7F9;
}

.brand-ducky-h {
    color: #F2B73E;
}

/* new Cleaning text */
.brand-cleaning-h {
    color: #000;
    letter-spacing: 0.15em;
    text-shadow: -1.5px -1.5px 0 #F2B73E, 1.5px -1.5px 0 #F2B73E, -1.5px 1.5px 0 #F2B73E, 1.5px 1.5px 0 #F2B73E, 0 4px 8px rgba(0,0,0,0.25);
}

/* =========================================
   3. LAYOUT
========================================= */
.row.align-items-stretch {
    align-items: stretch !important;
}

.col-lg-6 .flex-grow-1 > div {
    flex: 1;
}

.about-image-wrapper {
    max-width: 400px; /* controls size */
    margin: 0 auto;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: #f8f9fa;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

    .about-image-wrapper img {
        width: 100%;
        height: auto;
        display: block;
    }



.bin-image-wrapper {
    height: 100%;
    width: 100%;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

    .bin-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* feature list */
.feature-item {
    font-weight: 500;
    color: #333;
}

    .feature-item i {
        color: var(--pc3); /* gold checkmarks */
    }
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 42px;
    height: 42px;
    background-color: var(--pc);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-size: 1rem;
    cursor: pointer;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

    .back-to-top:hover {
        background-color: var(--pc3); /* gold */
        color: #000;
    }
    .back-to-top.show {
        opacity: 1;
        visibility: visible;
    }


.footer {
    background-color: var(--pc2); /* darker teal for contrast */
    color: #fff;
    padding-top: 20px;
    box-shadow: 0 -6px 12px rgba(0,0,0,0.15);
    position: relative; /* NOT fixed */
    width: 100%;
    border-top: 1px solid rgba(0,0,0,0.2);
    margin-bottom: 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
    background: linear-gradient(to right, var(--pc5), var(--pc));
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
}
.footer-icon {
    color: #fff;
    font-size: 1.1rem;
    margin-left: 12px;
    transition: color 0.2s ease;
}

    .footer-icon:hover {
        color: var(--pc3);
    }
footer hr {
    border-top: 2px solid var(--pc3);
    width: 60px;
    opacity: 1;
}

.footer a {
    color: #fff;
    text-decoration: none;
    font-weight:500;
}

    .footer a:hover {
        color: var(--pc3);
    }

.footer h6 {
    margin-bottom: 8px;
}

.footer p {
    margin-bottom: 8px;
}

.footer-bottom {
    background-color: rgba(0,0,0,0.25);
    padding: 10px;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 24px;
    background: linear-gradient(to right, #F2B73E, #e3a92f);
    color: #000;
    /*  IMPORTANT: creates separation from footer body */
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    position: relative; /* ensures shadow renders cleanly */
    z-index: 1;
}
.footer-social-text {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #000;
}
.footer-social .btn-square {
    background-color: #000; /*  contrast on gold */
    color: #fff;
}


    .footer-social .btn-square:hover {
        background-color: #333;
        color: var(--pc3);
    }
.footer-social:hover {
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}
.clear {
    clear: both;
}

.pathCrumbs {
    margin-top: 0;
    margin-bottom: 10px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #F2B73E, #e3a92f);
    color: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    display: block; 
    width:100%;
    position: relative;
    overflow: hidden;
}
    .pathCrumbs::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
        border-radius: 6px;
    }
.siteMapPath {
    font-size: 0.9rem;
    color: #fff;
}

    /* Links */
    .siteMapPath a {
        color: #fff;
        text-decoration: none;
        font-weight: 600;
    }

        .siteMapPath a:hover {
            color: #000;
            text-decoration: underline;
        }

/* separator */
.pathSeparatorStyle {
    margin: 0 8px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

/* current page */
.currentNodeStyle {
    color: #000;
    font-weight: 700;
}

/* optional node/root styles */
.nodeStyle {
    color: #fff;
}

.rootNodeStyle {
    color: #fff;
    font-weight: 700;
}

/* =========================================
   4. TEXT UTILITIES
========================================= */
.smaller-text {
    font-size: .83em;
}

.bold-text {
    font-weight: bold;
}

.blue-text {
    color: darkblue;
}

.date-text {
    color: #999;
    font-size: .7rem;
}

.hidden {
    visibility: hidden;
    display: none;
}

a.white-link {
    color: #fff;
}

.grid-nodata-text {
    font-family: "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
    font-weight: bold;
    color: #999;
    font-size: 22px;
    text-align: center;
}

.hr-dl {
    border-top: 3px double #8c8b8b;
}

.hr-line {
    border-top: 2px solid #000;
}

/* =========================================
   5. NAVBAR
========================================= */
.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 40px;
    z-index: 1030;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    font-size: 0.9rem;
}
.topbar-inner {
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
}
.topbar-left {
    white-space: nowrap;
}

/* links */
.topbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

        .topbar a:hover {
            color: var(--pc3);
        }

/* simple icon (no box) */
.topbar-icon {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

    .topbar-icon:hover {
        color: var(--pc3);
    }

    .topbar i {
        color: var(--pc3); /* gold icons */
    }
      


    .topbar .text-end {
        padding-right: 2rem !important;
    }

    .topbar small {
        font-size: 0.85rem;
        margin-right: 15px;
    }

.custom-navbar {
    background-color: #ffffff; /*  solid white */
    border-bottom: 1px solid #e5e5e5; /*  clean divider */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); /*  subtle depth */
}
.nav-minor {
    font-size: 0.9rem;
    color: #888 !important;
}

    .nav-minor:hover {
        color: var(--pc) !important;
    }

.navbar.fixed-top {
    top: 40px; /* pushes navbar BELOW topbar */
}
.navbar-nav {
    gap: 12px; /*  space BETWEEN items */
}
.navbar .nav-link {
    padding: 8px 18px; /*  fixed spacing */
    border-radius: 6px;
    font-weight: 600;
    color: var(--pc);
    transition: color 0.15s ease, background-color 0.15s ease;
}

    .navbar .nav-link,
    .navbar .nav-link:visited,
    .navbar .nav-link:hover,
    .navbar .nav-link:focus,
    .navbar .nav-link:active {
        color: var(--pc) !important;
    }


.navbar-brand.brand-text {
    font-size: 1.5rem; /* take control back */
    padding-top: 0; /* remove vertical padding */
    padding-bottom: 0;
    margin-right: 2rem;
    display: flex;
    align-items: center;
    transform: translateY(-1px);
}

.navbar-dark {
    background-color: var(--pc);
    background-image: linear-gradient(var(--pc5), var(--pc));
    border-bottom: 3px solid var(--pc3);
}

    .navbar-dark .navbar-nav .nav-link {
        color: #E5E5E5;
    }

        .navbar-dark .navbar-nav .nav-link:hover,
        .navbar-dark .navbar-nav .nav-link:focus {
            color: var(--pc3);
        }

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    background-color: rgba(31, 143, 163, 0.1);
    color: var(--pc2);
    border-radius: 6px;
}

.navbar .nav-link.active {
    color: var(--pc2);
    font-weight: 700; /*  bolder for active */
    position: relative;
}

    .navbar .nav-link.active::after {
        content: "";
        position: absolute;
        bottom: 3px;
        left: 18px;
        right: 18px;
        height: 2px;
        background: var(--pc3);
        border-radius: 2px;
    }
/* dropdown */
.dropdown {
    font-family: inherit;
    margin: 0;
}

.dropdown-menu {
    border-radius: 10px;
    border: none;
    padding: 8px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    animation: fadeIn 0.15s ease;
}

.dropdown-item {
    padding: 8px 16px;
    transition: all 0.15s ease;
}

    .dropdown-item:hover {
        background-color: rgba(31, 143, 163, 0.1);
        color: var(--pc);
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

    .dropdown-menu > a:hover {
        background-color: var(--mid-blue);
        color: var(--pc);
    }


.dropdown:hover .dropdown-menu {
    display: block;
}

button.navbar-toggler.navbar-toggler-right {
    border-color: yellow;
}

.btn-cta {
    background: linear-gradient(135deg, var(--pc3), #ffd36b);
    color: #000;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 999px;
    transition: all 0.2s ease;
    border: none;
}

    .btn-cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        color: #000;
    }
/* =========================================
   6. BUTTONS
========================================= */

.btn {
    border-radius: 4px;
}

    .btn:hover,
    .btn:focus,
    .btn:active {
        border-radius: 4px;
    }


.btn-primary {
    color: #fff;
    background-color: var(--pc2);
    border-color: var(--pc2);
    font-weight:bold;

}

    .btn-primary:hover {
        color: #fff;
        background-color: var(--accent-orange);
        border-color: var(--accent-orange);
    }


.btn-light {
    color: #fff;
    background-color: #03254C;
    border-color: #03254C;
}

    .btn-light:hover {
        color: #fff;
        background-color: #187BCD;
        border-color: #187BCD;
    }

    .btn-light:focus, .btn-light.focus {
        color: #fff;
        background-color: #187BCD;
        border-color: #187BCD;
        box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
    }

    .btn-light.disabled, .btn-light:disabled {
        color: #fff;
        background-color: #007bff;
        border-color: #007bff;
    }

    .btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active,
    .show > .btn-light.dropdown-toggle {
        color: #fff;
        background-color: #0062cc;
        border-color: #005cbf;
    }

        .btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus,
        .show > .btn-light.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
        }
.btn-square {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: var(--pc);
    border-radius: 4px;
    transition: all 0.2s ease;
}

    .btn-square:hover {
        background-color: var(--pc3);
        color: #fff;
    }


/* =========================================
   7. LIST GROUP (ORIGINAL BLOCK)
========================================= */
/* Header */
.list-group-item-head,
.list-group-item-head-inner {
    position: relative;
    font-weight: 700;
    letter-spacing: 0.3px;
    background: linear-gradient( to bottom, #e0f2fe 0%, #93c5fd 50%, #60a5fa 100% );
    color: #0b2545;
    padding: 7px 12px;
    border-bottom: 1px solid #93c5fd;
    border-left: 5px solid #1d4ed8;
    border-radius: 4px 4px 0 0;
    text-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 1px 2px rgba(0,0,0,0.08);
}
/* Items */
.list-group-item {
    background: transparent !important;
    border: none !important;
    padding: 6px 10px;
    border-left: 2px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

    /* Divider */
    .list-group-item:not(:last-child) {
        border-bottom: 1px solid #e5e7eb !important;
    }

    /* Link layout */
    .list-group-item a {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #2563eb;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    /* Icons */
    .list-group-item i {
        width: 16px;
        text-align: center;
        color: var(--pc2);
        transition: color 0.2s ease;
    }

    /*  Smooth Hover (no movement) */
    .list-group-item:hover {
        background-color: #f1f5f9 !important; /* slightly more noticeable than before */
        border-left: 2px solid #3b82f6; /* softer blue transition */
    }

        .list-group-item:hover a {
            color: #1f2937; /* softer than full black */
        }

        .list-group-item:hover i {
            color: #3b82f6;
        }

    /*  Active (slightly stronger but not harsh) */
    .list-group-item.active {
        background-color: #e0edff !important; /* more presence than eff6ff */
        border-left: 2px solid #1d4ed8;
    }

        .list-group-item.active a {
            color: #1d4ed8;
        }

        .list-group-item.active i {
            color: #1d4ed8;
        }
/* =========================================
   8. HELP TOOLTIP (FIRST INSTANCE)
========================================= */
.help-icon {
    display: inline-flex;
    margin-left: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 14px;
    color: #64748b;
    cursor: help;
    position: relative;
    z-index: 50;
}






    .help-icon:hover {
        color: #334155;
    }

    .help-icon .tooltip {
        position: absolute;
        left: 50%;
        bottom: 125%;
        transform: translateX(-50%);
        background: #111827;
        color: #ffffff;
        padding: 8px 10px;
        border-radius: 6px;
        font-size: 12px;
        white-space: nowrap;
        box-shadow: 0 6px 16px rgba(0,0,0,0.25);
        z-index: 999999 !important;
        opacity: 0;
        pointer-events: none;
        transition: opacity .15s ease, transform .15s ease;
    }

    .help-icon:hover .tooltip {
        opacity: 1;
        transform: translateX(-50%) translateY(-2px);
    }

    .help-icon .tooltip::after {
        border-top-color: #111827;
    }
/* =========================================
   9. MISC / GLOBAL
========================================= */

/*Override all.css*/
.fa-ul2 {
    list-style-type: none;
    margin-left: .5em;
    padding-left: 0;
}

.fa-1-5x {
    font-size: 1.75em;
}
.fawhite {
    color: #fff;
}


.hidden-textbox {
    background: transparent;
    border: none;
    outline: none;
    color: transparent;
    cursor: default;
    width: 0px;
    height: 0px;
    opacity: 0;
}

.modal-open {
    overflow: inherit;
}
/* =========================================
   10. SIDEBAR / CONTENT MODULES
========================================= */
.sidebar-module {
    padding: 15px;
    margin: 0 -15px 15px;
}

.sidebar-module-inset {
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
}

    .sidebar-module-inset p:last-child,
    .sidebar-module-inset ul:last-child,
    .sidebar-module-inset ol:last-child {
        margin-bottom: 0;
    }



/* =========================================
   11. ERROR DISPLAY
========================================= */
.error-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px 30px;
    background: #FFF;
    border-radius: 8px;
    border: 1px solid #000;
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
    text-align: center;
}

.error-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.error-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 10px;
}

.error-code {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 15px;
    color: #333;
}

.error-img {
    max-width: 100%;
    border-radius: 8px;
    border: 3px solid #444;
    margin-bottom: 25px;
}

.error-message {
    font-size: 1.25rem;
    margin-bottom: 25px;
}

.error-btn {
    padding: 12px 28px;
    font-size: 1.1rem;
    border-radius: 6px;
}

.error-stack {
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.85rem;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 400px;
    overflow: auto;
    padding: 1rem;
    background-color: #f8f9fa;
    border-top: 1px solid #ddd;
}

/* =========================================
   12. PAGINATION
========================================= */

div.pager {
    margin: 2px;
    text-align: left;
    font-size: .8rem;
}

.pager > li > a {
    width: 140px;
    padding: 10px 20px;
    text-align: center;
    border-radius: 30px;
}

.PagerNormal {
    font-size: .8rem;
    color: #FFF;
    border: solid 1px #000;
    padding: 4px 6px;
    text-decoration: none;
    background-color: #1167B1;
    min-width: 20px;
}

.PagerCurrent {
    font-size: .8rem;
    color: #FFF;
    border: solid 1px #000;
    padding: 4px 6px;
    text-decoration: none;
    background-color: #03254C;
    min-width: 20px;
}
/* =========================================
   13. BLOG / POSTS
========================================= */
.wicd-post {
    margin-bottom: 60px;
}

.wicd-post-title {
    margin-bottom: 5px;
    font-size: 40px;
}

.wicd-post-meta {
    margin-bottom: 20px;
    color: #999;
}

/* =========================================
   14. PROGRESS / OVERLAY
========================================= */
.Updatewrapper {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    min-height: 100%;
    min-width: 100%;
    z-index: 2000;
}

.TransparentGrayBackground {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000;
    filter: opacity(75%);
    opacity: 0.75;
    height: 100%;
    width: 100%;
    min-height: 100%;
    min-width: 100%;
    z-index: 2001;
}

.UpdateProgress {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    min-height: 100%;
    min-width: 100%;
    z-index: 2003;
 
}

/* =========================================
   15. GRID SYSTEM (MAIN)
========================================= */

/* GV Normal */
.gridview {
    background-color: #fff;
    border: solid 1px #000;
    border-collapse: collapse;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

    .gridview td {
        padding: 2px 2px 2px 5px;
        border: solid 1px #000;
        color: #000;
    }

    .gridview th {
        padding: 2px 2px 2px 5px;
        color: #fff;
        background-color: #333;
        border: solid 1px #000;
    }

        .gridview th a {
            color: #fff;
        }

            .gridview th a:active {
                color: #ff0;
            }

    .gridview .grid-row {
        background-color: #FFF;
    }

    .gridview .grid-alt {
        background-color: #CCC;
    }

    .gridview .grid-pgr {
        background-color: #999;
        height: 22px;
    }

        .gridview .grid-pgr table {
            margin: 5px 0;
        }

        .gridview .grid-pgr td {
            color: #000;
        }

.gridviewwrap {
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-all;
    overflow: hidden;
}

/* GV Small */
.gridviewsmall {
    background-color: #fff;
    border: solid 1px #000;
    border-collapse: collapse;
    margin-bottom: 0px;
    margin-right: 0px;
    font-size: 10px;
}

    .gridviewsmall td {
        padding: 2px 2px 2px 5px;
        border: solid 1px #000;
        color: #000;
    }

    .gridviewsmall th {
        padding: 2px 2px 2px 5px;
        color: #fff;
        background-color: #333;
        border: solid 1px #000;
    }

        .gridviewsmall th a {
            color: #fff;
        }

            .gridviewsmall th a:active {
                color: #ff0;
            }

    .gridviewsmall .grid-row {
        background-color: #FFF;
    }

    .gridviewsmall .grid-alt {
        background-color: #CCC;
    }

    .gridviewsmall .grid-pgr {
        background-color: #999;
        height: 22px;
    }

        .gridviewsmall .grid-pgr table {
            margin: 5px 0;
        }

        .gridviewsmall .grid-pgr td {
            color: #000;
        }

/* =========================================
   16. VALIDATION / ALERTS
========================================= */
.alert-margin {
    margin: 0.5rem;
}

.valtext {
    color: red;
}

.valgotext {
    color: green;
}

/* =========================================
   17. POPUP SYSTEM
========================================= */
.overlay {
    background: #000;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    filter: opacity(80%);
    opacity: .80;
    z-index: 100;
}

.hideme {
    visibility: hidden;
    display: none;
}

.showme {
    visibility: visible;
}

.popup_block {
    background: #fff;
    padding: 5px;
    border: 10px solid var(--pc2);
    width: 550px;
    position: fixed;
    top: 40%; /* was calc(50% - 10%) */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 150;
    border-radius: 5px;
    box-shadow: 0 15px 10px rgba(0,0,0,0.7);
}

    .popup_block .close {
        position: absolute;
        top: -10px;
        right: -10px;
        width: 38px;
        height: 38px;
        background-color: var(--pc2); /* dark background */
        color: #fff; /* white X */

        border-radius: 50%;
        font-size: 22px;
        font-weight: bold;
        line-height: 38px;
        text-align: center;
        cursor: pointer;
        text-decoration: none;
        box-shadow: 0 4px 10px rgba(0,0,0,0.45);
        transition: background-color 0.2s ease, transform 0.2s ease;
        z-index: 200;
    }

        .popup_block .close:hover {
            background-color: red; /* slightly lighter/different dark */
        }

        .popup_block .close:hover {
            color: var(--pc3);
        }

    .popup_block h3 {
        padding: 6px;
        color: #333;
    }

.popup {
    background-color: #fff;
    padding: 8px;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 100px;
}

/* =========================================
   18. FORMS / INPUTS
========================================= */
form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-group {
    margin-bottom: 15px !important;
}

.form-inline .form-control {
    display: inline-block;
    width: 100%;
    vertical-align: middle;
}

.data {
    visibility: hidden;
    display: none;
}

.form-control {
    border-color: #000;
}

.form-select {
    border-color: #000;
}

/* =========================================
   19. UPLOAD / FILE
========================================= */
.MyUpload .ajax__fileupload_selectFileContainer {
    float: right;
}

.MyUpload .ajax__fileupload_dropzone {
    visibility: hidden;
    height: 3px;
}

.MyUpload .ajax__fileupload_selectFileButton {
    color: #000;
    background-color: #CCC;
}

/* =========================================
   20. ICONS / LISTS
========================================= */
ul.icons {
    cursor: default;
    list-style: none;
    padding-left: 0;
}

    ul.icons li {
        display: inline-block;
        padding: 0 1em 0 0;
    }

        ul.icons li:last-child {
            padding-right: 0;
        }

        ul.icons li .icon:before {
            font-size: 2em;
        }
/* =========================================
   21. APPLICATION UI (PRIMARY SYSTEM)
========================================= */
.applicationheadrnd {
    position: relative;
    font-size: 1.2rem;
    color: #F8FBFC;
    border-radius: 5px;
    background-image: linear-gradient( to bottom, #3fb6c6 0%, var(--pc) 50%, var(--pc2) 100% );
    padding: 4px 6px 4px 10px;
    margin-left: 25px;
    margin-top: 5px;
    margin-bottom: -18px;
    font-variant: small-caps;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-left: 8px solid var(--pc3);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    z-index: 2;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5), 0 2px 3px rgba(0,0,0,0.3);
}

    .applicationheadrnd::before {
        content: "";
        position: absolute;
        top: 0;
        left: 8px;
        right: 0;
        height: 45%;
        background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
        border-radius: 5px 5px 0 0;
        pointer-events: none;
    }

.applicationboxrnd {
    position: relative;
    border: 1px solid rgba(0,0,0,0.1);
    background-color: #fff;
    padding: 10px;
    padding-top: 28px;
    min-height: 50px;
    border-radius: 5px;
    margin-bottom: 15px;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
/* Boxes */
.applicationhead,
.applicationheader {
    background-image: linear-gradient( to bottom, #3fb6c6, var(--pc), var(--pc2) );
    color: #F8FBFC;
    padding: 8px 12px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    border-left: 6px solid var(--pc3);
    border-radius: 5px 5px 0 0;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 2px 3px rgba(0,0,0,0.3);
}

    .applicationhead.outside {
        margin-left: 1px;
        margin-right: 1px;
        margin-bottom: -2px;
    }

.applicationinst {
    background-color: var(--pc4);
    border-left: 4px solid var(--pc);
    border: 1px solid #000;
    padding: 7px 12px;
    font-size: .85rem;
}


.applicationtask {
    background-color: var(--pc4);
    border: 1px solid #000;
    padding: 8px;
    font-size: .85rem;
}


.applicationinsttop,
.applicationinstbtm {
    background-color: var(--pc4);
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 5px;
    font-size: 0.8rem;
}

.applicationpath {
    background-color: var(--pc4);
    border: 1px solid rgba(0,0,0,0.06);
    color: var(--pc2);
    padding: 6px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
}



.applicationsubhead {
    background-image: linear-gradient( to bottom, var(--pc5), var(--pc) );
    color: #F8FBFC;
    padding: 6px 12px;
    font-size: 1rem;
    font-weight: 600;
    border-left: 6px solid var(--pc3);
}




    /* Restore padding inside accordion headers */
    .applicationsubhead .accordion-button {
        padding: 6px 12px 6px 15px; /* match applicationsubhead */
        background: transparent;
        color: inherit;
        font-weight: inherit;
        text-shadow: inherit;
        border: none;
        box-shadow: none;
        width: 100%;
        text-align: left;
    }

        /* Keep caret aligned right */
        .applicationsubhead .accordion-button::after {
            margin-left: auto;
            filter: brightness(0) invert(1);
        }

        /* Remove focus outline without harming accessibility */
        .applicationsubhead .accordion-button:focus {
            box-shadow: none;
        }

        /* Optional hover feedback */
        .applicationsubhead .accordion-button:hover {
            background-color: rgba(255, 255, 255, 0.06);
        }

.applicationbuttons {
    background-color: #dbe9ff;
}

.applicationbox {
    border: solid 1px #03254C;
    background-color: #fff;
    padding: 8px;
    overflow: hidden;
}

.applicationfoot,
.applicationfootsq {
    background-image: linear-gradient( to bottom, var(--pc2), #0F3A44 );
    color: #F8FBFC;
    padding: 8px;
    font-size: 0.85rem;
    border-top: 1px solid rgba(0,0,0,0.2);
    border-radius: 0 0 5px 5px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.3), 0 2px 3px rgba(0,0,0,0.3);
}

/* =========================================
   22. ROWS / CHECKBOXES / FORM UI
========================================= */
.app-row {
    padding: 10px 10px;
    border-top: 1px solid #dee2e6;
    align-items: flex-start;
    border-bottom: 1px solid #000;
}

    .app-row:last-child {
        border-bottom: none; /* remove line on last row */
    }

    .app-row:first-child {
        border-top: none;
    }

    .app-row.alt {
        background-color: #f8f9fa;
        border-bottom: 1px solid #000;
    }

    .app-row.buttons {
        background-color: #dbe9ff;
        margin-bottom: -8px; /* cancels container padding */
    }

.row2 {
    margin: 0px -23px;
}

.cbox {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background-color: transparent;
}

    .cbox input[type="checkbox"],
    .cbox input[type="radio"] {
        margin: 0;
        margin-right: 6px;
        transform: scale(1.1);
    }

    .cbox label {
        margin: 0;
        font-weight: 600;
        line-height: 1;
    }

    .cbox input[type="checkbox"]:disabled,
    .cbox input[type="radio"]:disabled {
        opacity: 1 !important;
        accent-color: #084298;
        transform: scale(1.15);
        filter: contrast(1.4);
        background-color: #fff;
        cursor: default;
    }

.no-click {
    pointer-events: none; /* acts disabled */
    opacity: 1; /* stay fully visible */
}

.form-check-input:disabled {
    opacity: 1;
    accent-color: #0d6efd;
}

.cbox.form-check-input:disabled {
    border: 2px solid #0d6efd;
}


/* =========================================
   23. GRID EXTENSIONS
========================================= */
.grid-head {
    background-color: #696969;
    border: solid 1px #000;
    color: #fff;
    font-weight: bold;
    font-size: .75rem;
    padding: 2px 0; /* reduce vertical padding */
    line-height: 1; /* tighten inside height */
}

    .grid-head > div,
    .grid-row > div,
    .grid-alt > div,
    .grid-grid-del > div,
    .grid-total > div {
        padding: 0.25rem 0.25rem; /* top/bottom 0.25rem, left/right 0.5rem */
    }

    .grid-head a {
        color: #fff;
        text-decoration: underline;
    }

.grid-row {
    background-color: #FFF;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    font-size: .75rem;
    overflow: hidden;
}

.grid-alt {
    background-color: #D8D8D8;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    font-size: .75rem;
    overflow: hidden;
}

.grid-total {
    background-color: #000;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    font-size: .75rem;
    overflow: hidden;
    color: #FFF;
}

.grid-del {
    background-color: #FF0000;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    font-size: .8rem;
    overflow: hidden;
}

.col-box {
    border-right: 1px solid #000;
}

.col-box-center {
    text-align: center;
}

/* =========================================
   24. CALENDAR
========================================= */
.MyCalendar {
    font-size: .85rem;
    overflow: visible !important;
}

.ajax__calendar {
    position: fixed !important;
}

.MyCalendar .ajax__calendar_container {
    border: 1px solid #000;
    padding: 5px;
    z-index: 10000 !important;
    display: inline-block;
    min-width: 180px;
}

.MyCalendar table {
    border-collapse: collapse;
}

.MyCalendar .ajax__calendar_header {
    background-color: #2c3e50;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.MyCalendar .ajax__calendar_body,
.MyCalendar .ajax__calendar_days {
    background-color: #FFF;
}

.MyCalendar .ajax__calendar_day {
    width: 24px;
    height: 22px;
    text-align: center;
    padding: 2px;
    background-color: #FFF;
    color: #333;
}

.MyCalendar .ajax__calendar_other {
    background-color: #f5f5f5;
    color: #aaa;
}

.MyCalendar .ajax__calendar_day:hover {
    background-color: #3498db;
    color: #fff;
}

.MyCalendar .ajax__calendar_active_day {
    background-color: #2980b9;
    color: #fff;
    font-weight: bold;
}

.MyCalendar .ajax__calendar_today {
    background-color: #d6eaf8;
    font-weight: bold;
}

.MyCalendar .ajax__calendar_header {
    background-color: #2c3e50;
    color: #fff;
    font-weight: bold;
    text-align: center;
    position: relative;
}

    .MyCalendar .ajax__calendar_header a {
        color: #fff !important;
        text-decoration: none;
        font-weight: bold;
    }

.MyCalendar .ajax__calendar_prev {
    float: left;
    padding-left: 5px;
}

.MyCalendar .ajax__calendar_next {
    float: right;
    padding-right: 5px;
}

.MyCalendar .ajax__calendar_prev,
.MyCalendar .ajax__calendar_next {
    filter: invert(1);
    width: 20px;
    height: 20px;
    cursor: pointer;
}


.MyCalendar .ajax__calendar_header a:hover {
    color: #3498db !important;
}

.MyCalendar .ajax__calendar_other {
    visibility: hidden;
}

/* =========================================
   25. BUTTON EXTENSIONS
========================================= */
.btn-gly {
    font-size: 32px;
    color: #191970;
}

.input-group-text {
    border-color: #000;
    background-color: var(--pc2);
    color: #fff;
}

/* =========================================
   26. TABS
========================================= */
.tab {
    padding: 10px;
}

    .tab .nav-tabs {
        padding: 0 4px;
        margin: 0;
        border: none;
        border-bottom: 3px solid #000;
    }

        .tab .nav-tabs li a {
            border-style: none;
            border-color: inherit;
            border-width: medium;
            color: #fff;
            background: linear-gradient(var(--pc5),var(--pc2));
            font-size: .7REM;
            font-weight: 500;
            text-align: center;
            text-transform: capitalize;
            padding: 8px 20px 10px;
            margin: 5px 10px 0 0;
            border: none;
            border-radius: 10px 10px 0 0;
            overflow: hidden;
            position: relative;
            z-index: 1;
            transition: all 0.3s ease 0.15s;
            top: 0px;
            left: 0px;
        }

            .tab .nav-tabs li.active a,
            .tab .nav-tabs li a:hover,
            .tab .nav-tabs li.active a:hover {
                color: #000;
                background: linear-gradient(var(--pc),var(--pc3));
                border: none;
                box-shadow: 0 -3px 7px rgba(0,0,0,0.15);
            }

            .tab .nav-tabs li a:before {
                content: "";
                background: var(--pc3);
                height: 100%;
                width: 100%;
                border-radius: 8px 8px 0 0;
                position: absolute;
                top: 100%;
                left: 0;
                z-index: -1;
                transition: all 0.3s ease-out 0s;
            }

            .tab .nav-tabs li.active a:before,
            .tab .nav-tabs li a:hover:before {
                top: 0;
            }

.tabbox {
    background: #fff;
    padding: 8px 8px 8px 8px;
    margin: 0;
    border-top: solid 5px #000;
    border-bottom: solid 1px #000;
    border-left: solid 1px #000;
    border-right: solid 1px #000;
    width: 100%;
    min-height: 250px;
    box-shadow: 3px 3px 5px #333;
    -moz-box-shadow: #333 2px 2px 3px;
    -webkit-box-shadow: #333 2px 2px 3px;
    margin-top: -13px;
}

.tabbox_top {
    background: #fff;
    padding: 0;
    margin: 0;
    border-top: solid 5px #000;
    width: 100%;
    min-height: 100px;
    box-shadow: 3px 3px 5px #333;
    -moz-box-shadow: #333 2px 2px 3px;
    -webkit-box-shadow: #333 2px 2px 3px;
}

/* =========================================
   27. VISUAL COMPONENTS
========================================= */
.HoverBox {
    background: #f5f5f5;
}

.HoverBox2 {
    background: #f5f5f5;
}

.HoverBox3 {
    background: #f8f9fa;
    border-radius: 5px;
}

.watermark {
    opacity: 0.5;
    color: red;
}

/* =========================================
   🔴 28. FINAL OVERRIDE LAYER (CRITICAL)
   DO NOT MOVE BELOW THIS LINE
========================================= */



/* Cards */
card {
    border-color: #000;
    background-color: #000;
}

.card-header {
    background-image: linear-gradient(var(--pc), var(--pc5));
    border-left: solid 6px var(--pc3);
    color: #fff;
}

.card-body {
    background-color: #fff;
    border: 1px solid #000;
}

.card-footer {
    background-image: linear-gradient(#187BCD, #03254C);
}
/* Big Cal*/

.current-day {
    background: linear-gradient(135deg, #fff8e1, #ffe082); /* Soft golden gradient */
    border: 2px solid #ffca28; /* Warm amber border */
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(255, 202, 40, 0.4); /* Subtle glow */
    padding: 4px;
    position: relative;
    z-index: 1;
}

    .current-day .day-number {
        color: #d17b00; /* Deep amber for contrast */
        font-weight: bold;
    }

.day-number {
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 1.2rem;
}

.appointment-box {
    position: relative;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 4px;
    margin-top: 5px;
    margin-bottom: 10px;
    border-radius: 3px;
    font-size: 0.75rem;
    white-space: normal;
    word-wrap: break-word;
    color: #000;
}

.status-label {
    position: relative;
    top: 4px;
    right: 6px;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 2px 6px;
    font-size: 0.75em;
    margin-bottom: 2px;
    border-radius: 3px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Status-specific background colors */
.status-scheduled {
    background-color: #d4edda;
    border: 2px solid #28a745;
}

.status-complete {
    background-color: #d1ecf1;
    border: 2px solid #17a2b8;
}

.status-cancelled {
    background-color: #f8d7da;
    border: 2px solid #dc3545;
}

.status-confirmed {
    background-color: #CCFFCC;
    border: 2px solid #dc3545;
}

.status-pending {
    background-color: #FFE5B4;
    border: 2px solid #dc3545;
}

.status-default {
    background-color: #f0f0f0;
    border: 2px solid #ccc;
}


.status-birthday {
    background: #e6fcf5; /* soft mint */
    border: 1px solid #000; /* mint border #96f2d7*/
}

    .status-birthday .status-label {
        color: #000; /* teal label text */
    }

/* Optional: birthday card styling tweaks for clarity */
.cal-birthday-name {
    color: #0b5345;
    font-size: 1.6REM; /* darker teal for contractor name */
    font-weight: bold;
}

.cal-birthday-title {
    color: #0b5345;
    font-size: 1.2REM; /* darker teal for contractor name */
    font-weight: bold;
    padding-top: 5px;
}



.bgcal {
    border-collapse: collapse;
    margin-bottom: 0px;
    font-size: 1rem;
}

    .bgcal td {
        padding: 2px 2px 2px 5px;
        /*      border: solid 1px #000;*/
    }

.cal-link {
    font-size: .8rem;
    line-height: 0px;
    color: black;
    /*   color: var(--pc2);*/
}

    .cal-link a:hover {
        color: var(--pc);
    }

    .cal-link b {
        color: var(--pc);
    }