/* =========================================================
   Power Pages – Header Title Hover Fix and hamburger toggle button
   Purpose: Remove strike-through / cross line on site title and hamburger toggle
   Scope: Header / Navbar only
   Safe for production
   ========================================================= */

/* Remove line-through on hover for site title */
.navbar-brand a,
.navbar-brand a:hover,
.navbar-brand a h1,
.navbar-brand a:hover h1,
h1.siteTitle,
h1.siteTitle:hover {
    text-decoration-line: none !important;
}

/* text-decoration: none !important; */


/* Hide Home | Search | Sign In menu */
#navbar.navbar-collapse .menu-bar {
    display: none !important;
}

/* Hide hamburger (navbar toggle) button */
button.navbar-toggler,
button.custom-navbar-toggler {
    display: none !important;
}


/* FOIA Instruction Banner */
.foia-instructions {
    position: relative;
    background-color: #fff8dc;
    border: 3px solid #f5c400;
    border-radius: 6px;
    padding: 20px 40px 20px 20px;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.6;
}

/* Close (X) button */
.foia-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    color: #005ea2;
    margin-top: -15px;
}

/* Hover effect */
.foia-close-btn:hover {
    color: #003b73;
}

/* Note text */
.foia-note {
    margin-top: 10px;
}


/* Base styling for entity form sections */

/* Entity form section card */
.crmEntityFormView fieldset {
    background-color: #f8f9fb;        /* Light shaded background */
    border: 1px solid #d9dee3;        /* Soft border */
    border-radius: 8px;               /* Rounded corners */
    padding: 16px 16px 20px;
    margin-bottom: 24px;

    box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* Subtle card shadow */
}

/* Section header styling */
.crmEntityFormView .section-title h3{
    background-color: #005EA2;   /* DMV blue */
    color: #ffffff !important;

    padding: 10px 16px;
    margin: -16px -16px 16px;    /* Pull header to card edges */

    border-radius: 6px 6px 0 0;
    border-bottom: none;

    font-weight: 600;
}

/* Reduce table harsh edges */
.crmEntityFormView table.section {
    background-color: transparent;
    border: none;
}

/* Improve field spacing */
.crmEntityFormView td {
    padding: 10px 12px;
}


/* Reduce vertical spacing above the FOIA form container */
.row.sectionBlockLayout .columnBlockLayout {
    margin-top: 10px !important;
    margin-bottom: 20px !important;
    padding-top: 0 !important;
}

/* Anchor wrapper */
.foia-instructions-wrapper {
    position: relative;
    margin-bottom: 16px;
    margin-right: 16px;
}

/* "+" restore button */
#foia-instructions-toggle {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 10;

    width: 36px;
    height: 36px;

    border-radius: 50%;
    border: none;

    background-color: #005EA2;
    color: #ffffff;

    font-size: 24px;
    font-weight: bold;
    line-height: 1;

    cursor: pointer;
}

/* Hover */
#foia-instructions-toggle:hover {
    background-color: #003f6f;
}

/* Tooltip */
#foia-instructions-toggle::after {
    content: "Read Instructions";
    position: absolute;
    right: 110%;
    top: 50%;
    transform: translateY(-50%);

    background: #000;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;

    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
}

#foia-instructions-toggle:hover::after {
    opacity: 1;
    visibility: visible;
}


/* Center the Submit button */
.crmEntityFormView .actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

/* Base button styling (optional but recommended for consistency) */
.crmEntityFormView .actions input[type="button"],
.crmEntityFormView .actions input[type="submit"] {
    min-width: 160px;
    background-color: #0b5fa5; /* DMV blue (adjust if needed) */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 10px 24px;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
}

/* Hover state – change background to black */
.crmEntityFormView .actions input[type="button"]:hover,
.crmEntityFormView .actions input[type="submit"]:hover {
    background-color: #000000;
    color: #ffffff;
}


/* Required field Validation below --------------------------------------------------------------------------------------------------------------------------------*/

/* Match CAPTCHA link style */
.validation-summary-errors a.validation-link {
    color: #8B0000;
    text-decoration: underline;
    cursor: pointer;
}

/* Field highlight when navigated */
.field-error-focus {
    outline: 3px solid #8B0000;
    background-color: #fff5f5;
}




/* Instruction Banner font the same as the inherited */

.statute-link {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
    text-decoration: underline; /* keeps it visibly clickable */
}

.statute-link:hover {
    color: inherit;
    text-decoration: underline;
}


/* Document upload padding */
 .custom-upload-wrapper {
    padding: 15px 0;
}


/*
.navbar-brand img {
    display: none !important;
}
*/