/*CustomB5_v122.css */


/* General Navbar Styling */
#navbar {
    height: auto;
}

/* Logo Styling (Mobile) */
a.logo {
    position: absolute;
    top: 0;
    left: 15px;
    width: 65px;
    z-index: 2000;
    margin-top: 67px;
}

a.logo img {
    max-width: 100%;
}

/* Responsive Styles for Desktop */
@media (min-width: 768px) {
    header {
        height: 110px;
        position: relative;
    }

    header::before {
        display: block;
        content: "";
        border-top: 60px solid #055758;
        width: 100%;
        margin-top: -16px;
    }

    a.logo {
        position: absolute;
        top: -65px;
        left: 15px;
        width: 100px;
        z-index: 2000;
    }

    .navbar-right.top {
        position: absolute;
        top: -105px;
        right: 0;
    }

    /* Navbar Styling */
    .navbar-inverse {
        background-color: #ffffff;
        border: none;
        border-top: 1px solid #055758;
        border-bottom: 1px solid #055758;
    }

    .navbar-inverse .navbar-nav.top > li > a {
        color: #ffffff;
    }

    .navbar .navbar-nav > li > a {
        padding: 5px;
        font-size: 14px;
        margin: 3px;
    }

    .dropdown-menu > li > a {
        padding: 3px 10px;
        font-size: 14px;
    }

    .dropdown-menu > li > a:hover,
    .dropdown-menu > li > a:focus {
        color: #ffffff;
        background-color: #055758;
    }

    .navbar {
        position: relative;
        margin-bottom: 0;
    }

    .dropdown-menu {
        left: 0;
        right: auto;
    }

    /* Footer Styling */
    .footer .bottomrow {
        background-color: #e7e7e8;
        padding: 30px 0;
    }
}

/* Optional: Custom Bootstrap Utility Extension */
.border-teal {
    border-color: #055758 !important;
}
header.header,
nav.navbar {
  border-bottom: 1px solid #055758 !important;
}
nav.navbar {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    margin-bottom: 0 !important;
    line-height: 1 !important;
}
.home-icon {
    font-size: 14px;
    color: #333;             
    text-decoration: none;
    margin-right: 12px;     /* spacing between icon and first menu item */
    display: flex;
    align-items: center;
}

.home-icon:hover {
    color: #055758;         
}

/* Application Introduction Title */
h2, .h2 {
    font-size: 34px;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    margin-top: 22px;
    margin-bottom: 11px;
    font-family: "Raleway","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: bold;
    line-height: 1.1;
    color: #333333;
}

/* Page Title - Migration platform */
body {
    font-family: Georgia,"Times New Roman",Times,serif;
    font-size: 16px;
    line-height: 1.42857143;
    color: #333333;
    background-color: #ffffff
}

.navbar-nav>li>a {
    margin: 12px 6px;
    padding: 8px 12px;
    border-radius: 4px
}

a.dropdown-toggle {
    margin-right: 20px !important; /* move label away from right edge */
}

.nav>li>a:hover,
.nav>li>a:focus {
    text-decoration: none;
    background-color: #eeeeee
}

.username,
.username:hover,
.ms-auto .nav-link.dropdown-toggle {
    color: #238C3B !important;
}

header .ms-auto .dropdown-toggle {
    margin-top: 50px;   /* adjust the value until it looks perfect */
    display: inline-block;
}

input,button,select,textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit
}

a {
    color: #238c3b;
    text-decoration: none
}

a:hover,a:focus {
    color: #19662b;
    text-decoration: underline
}

.pull-left {
    float: left !important;
    background-color: white;
}

.address {
    font-size: 9px;
    padding: 2px;
    text-align: center;

    /* make it sit at the very bottom, full width */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;   /* stay on top of other content */
}

/* Page -comment-new form is Hide */
.post-comment-new-form,
.page-metadata.clearfix,
div.child-navigation.content-panel.card,
#external-login-heading,
a.nav-link[href="/Register?returnUrl=%2F"]{
    display: none !important;
}

a[href="/SignIn?returnUrl=%2F"] {
    color: #238c3b !important;
}

a.nav-link[href="/SignIn?returnUrl=%2FSignIn%3FreturnUrl%3D%252F"] {
    color: #238c3b !important;
}

/* Shorten the green strip */
header#header.header.bg-white.py-3 {
    position: relative;
}

header#header.header.bg-white.py-3::before {
    content: "";
    position: absolute;
    left: 0;
    top: -15px;
    width: 100%;
    height: 60px; /* desired height */
}

/* Move ONLY the second navbar (Survey / Applications / etc.) */
header#header .navbar + .navbar {
    margin-top: 60px !important;
}

#privateModeText.private-mode-banner {
    height: 30px !important;
    width: 100%;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 auto !important;   /* center horizontally */
}

.logo img {
    width: 100px !important;
    height: 100px !important;
    object-fit: contain;
}


.bannerText.container.pull-left {
    max-width: 1170px;   /* exact width from your first screenshot */
    margin: 0 auto;         /* center the content */
    padding: 2px 25px 30px; /* right & bottom spacing like Image 1 */
    box-sizing: border-box; /* ensures padding doesn't exceed width */
}

a.nav-link[href="/SignIn?returnUrl=%2F"] {
    margin-top: 50px !important;   /* adjust value as needed */
}

#header {
    margin-top: -10px !important; /* adjust the value as needed */
}

a.nav-link[href="/Account/Login/Register?returnUrl=%2F"],
a.nav-link[href="/Account/Login/Register?returnUrl=%2F"]:hover {
    color: #238c3b !important;
}

a.nav-link[href="/Register?returnUrl=%2F"] {
    display: none !important;
}

#external-login-heading {
    display: none !important;
}


#submit-signin-local {
    background-color: #238c3b !important;
    border-color: #238c3b !important;
    color: #ffffff !important;
}

#submit-signin-local:hover {
    color: #ffffff !important;
    background-color: #1863e6 !important;
    border-color: #175fdd !important;
}

a.btn.btn-default[href="/Account/Login/ForgotPassword"] {
    color: #333333 !important;
    background-color: #ffffff !important;
    border-color: #dddddd !important;
}

a.btn.btn-default[href="/Account/Login/ForgotPassword"]:hover {
    color: #333333 !important;
    background-color: #e6e6e6 !important;
    border-color: #bebebe !important;
}

button.btn.btn-default.btn-entitylist-filter-submit {
    font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    color: #333333 !important;
    background-color: #ffffff !important;
    border-color: #dddddd !important;
}

button.btn.btn-default.btn-entitylist-filter-submit:hover {
    font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    color: #333333 !important;
    background-color: #e6e6e6 !important;
    border-color: #bebebe !important;
}

input.query.form-control[placeholder="Search"] {
    width: 202px !important;
    height: 40px !important;
    font-size: 16px !important;
    padding: 8px 12px !important;
    box-sizing: border-box !important;
    border: 1px solid #dddddd !important;
}

.page-metadata.clearfix {
    display: none !important;
}

div.child-navigation.content-panel.card {
    display: none !important;
}

/* Force the Application Introduction block to 1413.33 × 560.833 */
.bannerText.container.float-start {
    max-width: 1413px !important;
    width: 100% !important;
    height: 560.833px !important;

    /* override Bootstrap .container max-width */
    max-width: 90% !important;
}

/* Entire navbar font settings */
.navbar {
    font-family: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 16px !important;
    height: 67.03px !important;
}

/* Menu link styling */
.navbar-nav .nav-link {
    font-size: 14px !important;
    margin: 3px !important;
    padding: 5px !important;
    color: #333333 !important;
}

/* Dropdown items styling */
.dropdown-menu .dropdown-item {
    color: #333333 !important;
    font-size: 14px !important;
}

/* Navbar top margin fix */
#navbar {
    margin-top: -25px !important;
}

/* Active dropdown item highlight */
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    color: #ffffff;
    text-decoration: none;
    outline: 0;
    background-color: #238c3b;
}

/* Included rule */
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
    color: #333333;
    background-color: transparent;
}

/* Desktop menu padding + sizing */
@media (min-width: 768px) {
    .navbar .navbar-nav > li > a {
        padding: 5px;
        font-size: 14px;
    }
}

/* Hover border effect */
.navbar-nav > li > a:hover {
    border: 1px solid #ddd;
}

/* Remove underline everywhere */
.navbar a,
.navbar-nav .nav-link,
.navbar-nav > li > a,
.dropdown-menu .dropdown-item {
    text-decoration: none !important;
}

.navbar a:hover,
.navbar a:focus,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    text-decoration: none !important;

}
/* Make dropdown option text turn white on hover */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    color: #ffffff !important;        /* white text */
    background-color: #055758 !important;  /* optional — same highlight as active */
}


/* Your newly added rule */
.nav > li > a:hover,
.nav > li > a:focus {
    text-decoration: none !important;
}

#navbar {
    margin-top: -25px !important;   /* adjust the value as needed */
}

.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus {
    color: #ffffff;
    text-decoration: none;
    outline: 0;
    background-color: #238c3b;
}

/* Font for all buttons */
.btn {
    font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* Normal state */
.entitylist-download.btn-info {
    color: #ffffff !important;
    background-color: #5bc0de !important;
    border-color: #5bc0de !important;
}

/* Hover state */
.entitylist-download.btn-info:hover {
    color: #ffffff !important;
    background-color: #31b0d5 !important;
    border-color: #2aabd2 !important;
}

/* Search button styling */
.input-group-btn .btn.btn-default {
    width: 38.8px !important;
    height: 38px !important;
    padding: 8px 12px !important;

    border-radius: 0px 6px 6px 0px !important;   /* TL TR BR BL */
    background-color: #ffffff !important;
    border: 1px solid #dddddd !important;
    color: #333333 !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    margin-top: 0.7px !important;   /*added: move button slightly downward */
}

/* Smaller magnifying glass icon */
.input-group-btn .btn.btn-default .fa-search {
    font-size: 13px !important;
    line-height: 1 !important;
}


/* Hover effect */
.input-group-btn .btn.btn-default:hover {
    background-color: #e6e6e6 !important;
    border-color: #bebebe !important;
    color: #333333 !important;
}

/* Remove bold from dropdown parent labels in all menus */
.dropdown-menu .dropdown-item.fw-bold {
    font-weight: normal !important;
}

.alert.alert-danger,
.alert-danger {
    background-color: transparent !important;
    border-color: transparent !important;   /* optional: remove red border */
    color: #333333 !important;              /* keep the text color */
}


.breadcrumb {
    padding: 8px 15px;
    margin-bottom: 22px;
    list-style: none;
    background-color: #f5f5f5;
    border-radius: 4px;
}

/* Small square button */
.dropdown.action .btn.btn-default.btn-md {
    width: 25px !important;
    height: 25px !important;
    padding: 0 !important;
    border: 1px solid #d0d0d0 !important; /* light grey border */
    background-color: #ffffff !important; /* white background */
    border-radius: 4px !important;
    box-shadow: none !important;
}

/* Chevron icon: small + thick */
.dropdown.action .btn .fa-chevron-down {
    font-size: 16px !important;
    font-weight: 900 !important;   /* thick/bold arrow */
    color: #000000 !important;     /* dark icon */
    line-height: 3px !important;
}

/* Hover state: light grey background */
.dropdown.action .btn.btn-default.btn-md:hover {
    background-color: #f2f2f2 !important;  /* light grey on hover */
    border-color: #bfbfbf !important;
}

/* Remove bootstrap blue focus outline */
.dropdown.action .btn.btn-default.btn-md:focus {
    outline: none !important;
    box-shadow: none !important;
}


.alert-info {
    background-color: #5bc0de;
    border-color: #5bc0de;
    color: #ffffff;
}

/* Default (non-hover) colors: everyone dark */
ul.dropdown-menu.show > li > a.dropdown-item {
    color: #222 !important;
    -webkit-text-fill-color: #222 !important;
}

/* FIRST ITEM stays white always (because it is active) */
ul.dropdown-menu.show > li:first-child > a.dropdown-item,
ul.dropdown-menu.show > li.active > a.dropdown-item {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* OTHER ITEMS (not first) become white ON HOVER ONLY */
ul.dropdown-menu.show > li:not(:first-child) > a.dropdown-item:hover,
ul.dropdown-menu.show > li:not(.active) > a.dropdown-item:hover {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* make inner spans/icons inherit */
ul.dropdown-menu.show > li > a.dropdown-item * {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

.alert.alert-block.alert-warning {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.navbar-fixed-bottom,
.navbar-fixed-bottom .address {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.navbar-fixed-bottom a {
    color: #000000 !important;
}
.navbar-fixed-bottom .address {
    background-color: #e7e7e8 !important;
    color: #000000 !important;
    font-size: 9px;
}

/* FIRST ITEM stays white always (because it is active) */
ul.dropdown-menu.show > li:first-child > a.dropdown-item,
ul.dropdown-menu.show > li.active > a.dropdown-item {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

/* Page font */
body {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-size: 16px;
    line-height: 1.42857143;
}

/* "Home" link in the breadcrumb – normal + visited */
.breadcrumb a,
.breadcrumb a:visited {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    color: #19662b !important;
    text-decoration: none;
}

/* Hover / focus */
.breadcrumb a:hover,
.breadcrumb a:focus {
    color: #19662b !important;
    text-decoration: underline;
    outline: 0;
}

/* Active breadcrumb item text */
.breadcrumb .breadcrumb-item.active {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    color: #b3b3b3 !important;
}

/* 1. Move the navbar (red area) up by the same amount */
#header + nav.navbar {
    margin-top: -18px !important;   /* same value as before */
    border-top: 1px solid #000000;  /* restores the black line */
}

/* 2. (Optional) slightly reduce padding inside header so the gap is tighter */
#header .container-fluid {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

#userDropdown {
    padding-top: 10px !important;   /* was 4px */
    padding-bottom: 10px !important;
    line-height: 1.2;
    margin-top: 30px;              /* moves it UP */
}

.bannerText p {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
    line-height: 1.42857143;
    color: #333333;
}

a.nav-link[href*="SignIn"] {
    transform: translateY(-12px);
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
}


/* Base tooltip style for all top nav links */
#navbar .navbar-nav .nav-link {
    position: relative;
}

/* Hidden tooltip by default */
#navbar .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -2.2rem;              /* distance below the menu text – adjust if needed */
    
    background: #ffffff;
    color: #000000;               /* font colour inside tooltip */
    border: 1px solid rgba(0,0,0,0.25);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease-in-out;
    z-index: 1000;
}

/* Show tooltip on hover or keyboard focus */
#navbar .navbar-nav .nav-link:hover::before,
#navbar .navbar-nav .nav-link:focus::before {
    opacity: 1;
}

/* ------- Text for each option (no HTML change needed) ------- */

/* Dropdowns – use existing ids */
#navbar #dropdown2::before { content: 'Survey'; }
#navbar #dropdown4::before { content: 'Applications'; }
#navbar #dropdown5::before { content: 'Projects'; }
#navbar #dropdown6::before { content: 'Payment Requests'; }
#navbar #dropdown7::before { content: 'Contracting & Compliance'; }

/* Normal links – use href to identify them */
#navbar .nav-link[href="/ias/"]::before       { content: 'Individual Applications'; }
#navbar .nav-link[href="/uploads/"]::before   { content: 'Uploaded Documents'; }
#navbar .nav-link[href="/hbuilder/"]::before  { content: 'My Home'; }
#navbar .nav-link[href="/support/"]::before   { content: 'Help'; }

p {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 15px;
    line-height: 1.42857143;
    color: #333333;
    background-color: #ffffff;
}

div[style*="background:#eee"] {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-size: 15px !important;
    line-height: 1.42857143 !important;
    color: #333333 !important;
    background-color: #eeeee !important;
    white-space: nowrap;
}

h3 strong {
    font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    line-height: 1.1;
    color: inherit;
    font-size: 28px;
}

a {

    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
    line-height: 1.42857143;
}

/* SECOND PAGE SIGN-IN (nested SignIn → SignIn) */
a.nav-link[href*="returnUrl=%2FSignIn%3FreturnUrl"] {
    display: inline-block !important;
    margin-top: 40px !important;
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-size: 16px !important;
    color: #238c3b !important;
}

/* SIGNOUT PAGE SIGN-IN (nested SignIn → SignIn → SignOut) */
/* === GLOBAL: style every Sign In / Sign Up link, regardless of page or query params === */
/* match any anchor that has "SignIn" or "signin" or "returnUrl=" in its href */
:is(a.nav-link)[href*="SignIn" i],
:is(a.nav-link)[href*="signin" i],
:is(a.nav-link)[href*="returnUrl=" i] {
    display: inline-block !important;
    vertical-align: middle !important;
    /* pick your spacing — tweak margin-top if you need slightly different vertical alignment */
    margin-top: 48px !important;
    padding-top: 6px !important;     /* stabilizes position if surrounding items vanish */
    line-height: 1.2 !important;
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #238c3b !important;       /* your green */
    text-decoration: none !important;
}

/* === make navbar stable so Sign In doesn't jump when user menu disappears === */
.navbar, .navbar .navbar-collapse, .navbar-nav {
    align-items: center !important;   /* keep items vertically centered */
    min-height: 56px;                 /* choose a stable minimum height matching your header */
}

/* ensure nav links occupy consistent vertical space */
.navbar .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

/* Extra safeguard: if Power Pages injects inline styles or different classes */
a.nav-link[onclick], a.nav-link[role="button"] {
    color: #238c3b !important;
}

/* Restore proper paragraph spacing inside the grey info box */
div[style*="background:#eee"][style*="border:1px"] p {
    margin: 0 0 1rem 0 !important;     /* restore spacing between paragraphs */
    background: transparent !important;
    line-height: 1.6 !important;       /* restore readable line height */
    display: block !important;         /* ensure proper block layout */
    white-space: normal !important;    /* ensure wrapping */
    word-break: normal !important;
}

/* Remove top + left + right borders only */
.entitylist,
.entity-grid {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* Make entity list column header links bold */
.entitylist thead th a {
    font-weight: 700; /* same visual weight as old portal */
}

/* Normal state – green */
a.btn.btn-primary.create-action {
    color: #ffffff;
    background-color: #238c3b;
    border-color: #238c3b;
}

/* Hover / focus / active – blue */
a.btn.btn-primary.create-action:hover,
a.btn.btn-primary.create-action:focus,
a.btn.btn-primary.create-action:active,
a.btn.btn-primary.create-action:active:focus {
    color: #ffffff !important;
    background-color: #0d6efd !important;  /* blue */
    border-color: #0d6efd !important;
}

/* Default state – GREEN */
input#UpdateButton.btn.btn-primary {
    color: #ffffff;
    background-color: #238c3b;
    border-color: #238c3b;
}

/* Hover / focus / active – BLUE */
input#UpdateButton.btn.btn-primary:hover,
input#UpdateButton.btn.btn-primary:focus,
input#UpdateButton.btn.btn-primary:active {
    color: #ffffff !important;
    background-color: #0d6efd !important;  /* blue */
    border-color: #0d6efd !important;
}

/* Default state – GREEN */
button.btn.btn-primary {
    color: #ffffff;
    background-color: #238c3b;
    border-color: #238c3b;
}

/* Hover / focus / active – BLUE */
button.btn.btn-primary:hover,
button.btn.btn-primary:focus,
button.btn.btn-primary:active {
    color: #ffffff !important;
    background-color: #0d6efd !important; /* blue */
    border-color: #0d6efd !important;
}

/* ONLY Cancel button */
button.btn.btn-default.cancel {
    color: #333333;
    background-color: #ffffff;
    border-color: #dddddd;
}

/* Hover / focus – light grey */
button.btn.btn-default.cancel:hover,
button.btn.btn-default.cancel:focus,
button.btn.btn-default.cancel:active {
    color: #333333 !important;
    background-color: #e6e6e6 !important; /* grey like screenshot */
    border-color: #cccccc !important;
}

/* Progress indicator – ACTIVE step (GREEN) */
#WebFormControl_ProgressIndicator 
ol.progress.list-group.top 
li.list-group-item.active {
    background-color: #238c3b !important;  /* green */
    border-color: #238c3b !important;
    color: #ffffff !important;
}

/* Progress indicator – COMPLETED steps */
#WebFormControl_ProgressIndicator
ol.progress.list-group.top
li.list-group-item-success {
    color: #3fad46 !important;
    background-color: #dff0d8 !important;
    border-color: #c3e6cb;
}

/* ONLY Previous button */
input#PreviousButton.btn.btn-default.previous-btn {
    color: #333333;
    background-color: #ffffff;
    border-color: #dddddd;
}

/* Hover / focus / active – light grey */
input#PreviousButton.btn.btn-default.previous-btn:hover,
input#PreviousButton.btn.btn-default.previous-btn:focus,
input#PreviousButton.btn.btn-default.previous-btn:active {
    color: #333333 !important;
    background-color: #e6e6e6 !important;  /* grey like Cancel */
    border-color: #cccccc !important;
}

/* ONLY Next button – GREEN */
input#NextButton.btn.btn-primary.submit-btn {
    color: #ffffff;
    background-color: #238c3b;
    border-color: #238c3b;
}

/* Hover / focus / active – BLUE */
input#NextButton.btn.btn-primary.submit-btn:hover,
input#NextButton.btn.btn-primary.submit-btn:focus,
input#NextButton.btn.btn-primary.submit-btn:active {
    color: #ffffff !important;
    background-color: #0d6efd !important;  /* blue */
    border-color: #0d6efd !important;
}

/* Space between pagination boxes */
.jquery-bootstrap-pagination .page-item {
    margin: 0 4px;
}

/* Base page box style */
.jquery-bootstrap-pagination .page-link {
    color: #0d6efd;                 /* blue numbers */
    border: 1px solid #dee2e6;
    min-width: 38px;
    text-align: center;
    box-shadow: none;
}

/* Hover – GREEN */
.jquery-bootstrap-pagination .page-link:hover {
    color: #ffffff !important;
    background-color: #238c3b !important;  /* green */
    border-color: #238c3b !important;
}

/* Active page – BLUE */
.jquery-bootstrap-pagination .page-item.active .page-link {
    color: #ffffff !important;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    box-shadow: none !important;
}

/* Remove border / outline on click & focus */
.jquery-bootstrap-pagination .page-link:focus,
.jquery-bootstrap-pagination .page-link:active,
.jquery-bootstrap-pagination .page-link:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Disabled pages (< >) */
.jquery-bootstrap-pagination .page-item.disabled .page-link {
    color: #adb5bd;
    background-color: #ffffff;
    opacity: 0.6;
    cursor: not-allowed !important;
}

/* Create / Insert button – GREEN */
input#InsertButton.btn.btn-primary.submit-btn {
    color: #ffffff;
    background-color: #238c3b;   /* green */
    border-color: #238c3b;
}

/* Hover / focus / active – BLUE */
input#InsertButton.btn.btn-primary.submit-btn:hover,
input#InsertButton.btn.btn-primary.submit-btn:focus,
input#InsertButton.btn.btn-primary.submit-btn:active {
    color: #ffffff !important;
    background-color: #0d6efd !important;  /* blue */
    border-color: #0d6efd !important;
}

/* Remove all outer borders around the form container */
#EntityFormPanel,
#EntityFormPanel .crmEntityFormView,
#EntityFormPanel .entity-form,
#EntityFormPanel .tab,
#EntityFormPanel .tab-column > div {
    border: none !important;
    box-shadow: none !important;
}

/* Remove fieldset outer border */
#EntityFormPanel fieldset {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Remove table outer border but keep inner horizontal lines */
#EntityFormPanel table.section {
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Remove td side borders but DO NOT remove section horizontal dividers */
#EntityFormPanel table.section td {
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    /* DO NOT REMOVE bottom border — keep horizontal lines */
}

/* Remove the gray rectangle that was wrapping the form */
#EntityFormPanel .tab-column {
    border: none !important;
    box-shadow: none !important;
}

/* Remove thin box around validation summary */
#EntityFormPanel .validation-summary {
    border: none !important;
    box-shadow: none !important;
}

/* Ensure headings keep their horizontal divider */
#EntityFormPanel .section-title.show-bar,
#EntityFormPanel legend.section-title.show-bar {
    border-bottom: 1px solid #e0e0e0 !important;  /* kept */
}

/* When user clicks / selects a dropdown item */
.navbar-nav .dropdown-menu .dropdown-item.active,
.navbar-nav .dropdown-menu .dropdown-item:active,
.navbar-nav .dropdown-menu .dropdown-item.selected {
    background-color: #2e8b57 !important; /* green */
    color: #fff !important;
}

/* Optional: hover stays normal */
.navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: #f0f0f0;
    color: #000;
}

/* NORMAL STATE – GREEN */
input#SubmitButton.btn.btn-primary {
    color: #ffffff !important;
    background-color: #238c3b !important;
    border-color: #238c3b !important;
}

/* HOVER, FOCUS, ACTIVE – BLUE */
input#SubmitButton.btn.btn-primary:hover,
input#SubmitButton.btn.btn-primary:focus,
input#SubmitButton.btn.btn-primary:active {
    color: #ffffff !important;
    background-color: #0d6efd !important; /* blue */
    border-color: #0d6efd !important;
}

/* Move the REGISTER link upward */
a.nav-link[href*="/Account/Login/Register"] {
    margin-top: -0.1px !important;   /* adjust this value (-5 to -20px) as needed */
    display: inline-block !important;
}

input.form-control.lookup[readonly],
input.form-control.lookup[aria-readonly="true"] {
    background-color: #eeeeee !important;
    color: #555555;
    cursor: not-allowed;
}

input.form-control[readonly],
input.form-control[aria-readonly="true"] {
    background-color: #eeeeee !important;
    color: #555555;
    cursor: not-allowed;
}

/* Disable ONLY these specific dropdowns */
#cdr_en_applicant_jurisdictiontype,
#cdr_en_applicant_cog,
#cdr_en_applicant_county {
    pointer-events: none;
    background-color: #eeeeee !important;
    color: #555555;
    cursor: not-allowed;
}


/* Remove outer form box */
#WebFormPanel,
.crmEntityFormView,
.entity-form {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Remove section/table borders */
.entity-form table.section {
    border: none !important;
}

/* Remove cell borders */
.entity-form table.section td,
.entity-form table.section th {
    border: none !important;
}

/* Remove field container borders */
.entity-form .cell,
.entity-form .form-control-cell {
    border: none !important;
    box-shadow: none !important;
}

a.create-action {
    display: inline-flex;
    align-items: center;
    padding-left: 5px; /* space for icon */
}

/* White circular + icon */
a.create-action::before {
    content: "+";
    width: 15px;
    height: 15px;
    align-items: center;
    justify-content: center;

    margin-right: 2px;

    background-color: #ffffff;
    color: #238c3b;

    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

input.query::placeholder {
    color: #999999 !important;   /* grey placeholder */
    opacity: 1;                  /* required for Firefox */
}

.alert.alert-danger.alert-block {
    background-color: #f9f1f1 !important;
    border: 1px solid #f9f1f1 !important;
    color: #000000;

    padding: 16px 20px;          /* rectangle height */
    border-radius: 6px;          /* rounded corners */
    margin: 12px 0;              /* spacing around */
    
    font-size: 16px;
    line-height: 1.4;
}

#MessagePanel .btn-close {
    position: absolute;
    top: 16px;
    right: 25px;

    background: none !important;
    color: #ffffff !important;
    opacity: 1;

    font-size: 18px;
    font-weight: bold;
    line-height: 1;

    border: none !important;
    box-shadow: none !important;
}

/* Remove Bootstrap default */
.nav-tabs {
    border-bottom: 1px solid #dddddd;
}

/* Base tab */
.nav-tabs > li > a {
    border: 1px solid transparent;
    border-bottom: none;
    padding: 10px 16px;
    color: #238c3b;
    background: transparent;
}

/* Active tab – SINGLE continuous shape */
.nav-tabs > li.active > a {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-bottom: 1px solid #ffffff; /* hides bottom border */
    border-radius: 8px 8px 0 0;
    position: relative;
    top: 1px; /* aligns perfectly with line */
}

/* Hover tab – same shape, grey fill */
.nav-tabs > li:not(.active) > a:hover {
    background: #f2f2f2;
    border-bottom: 1px solid #dddddd;
    border-radius: 8px 8px 0 0;
}

/* Default – GREEN */
#EditApplicant.btn.btn-primary {
    background-color: #238c3b !important;
    border-color: #238c3b !important;
    color: #ffffff !important;
}

/* Hover / focus / active – BLUE */
#EditApplicant.btn.btn-primary:hover,
#EditApplicant.btn.btn-primary:focus,
#EditApplicant.btn.btn-primary:active {
    background-color: #0d6efd !important;  /* blue */
    border-color: #0d6efd !important;
    color: #ffffff !important;
}

/* Hide lookup (search) buttons only inside entity form */
/*.crmEntityFormView .launchentitylookup {
    display: none !important;
}*/

a[role="button"] .fa-arrow-up,
a[role="button"] {
    font-weight: 700 !important;
}

.entity-form 
button.clearlookupfield,
.entity-form 
button.launchentitylookup {
    border: 1px solid #dddddd !important;
    font-weight: 400 !important;
}


.entity-form 
button.clearlookupfield:hover,
.entity-form 
button.launchentitylookup:hover,
.entity-form 
button.clearlookupfield:focus,
.entity-form 
button.launchentitylookup:hover {
    background-color: #eeeeee !important;
    color: #333333 !important;
    border-color: #cccccc !important;
    box-shadow: none !important;
}

#UploadButton {
    border-color: #cccccc !important;
    font-weight: 100 !important;
}

#UploadButton:hover {
    background-color: #cccccc !important;  /* light grey */
    border-color: #cccccc !important;
    color: #333333 !important;             /* readable text */
    font-weight: 100 !important;
}

input.btn.btn-default.btn-cancel {
    border-color: #cccccc !important;
    font-weight: 100 !important;
}

input.btn.btn-default.btn-cancel:hover {
    background-color: #cccccc !important;  /* light grey */
    border-color: #cccccc !important;
    color: #333333 !important;             /* readable text */
    font-weight: 100 !important;
}

/* lcpappedit ONLY – remove forced 50% width */
form[action*="prliedit"]
.entity-form table.section td.form-control-cell {
    width: auto !important;
}



/* Hide spacer cells */
.entity-form.form-readonly td.zero-cell {
    display: none !important;
}
/* Remove the + icon */ 
.fa-plus-circle {
    display: none !important;
}

#new_name {
    width: 320px !important;
}
/* Keep Primary Contact label in one straight line */
#new_primarycontactid_name,
#new_primarycontactid_label {
    white-space: nowrap;
    display: inline-block;
    position: relative;
    left: 1px;   /* adjust value as needed */
    maxwidth: 180px;
}

/* Keep Contact E-mail in one straight line */
#new_contactemail_label {
    white-space: nowrap;
    display: inline-block;
    position: relative;
    left: 1px;
    maxwidth: 180px;
}

#new_contactemail {
    position: relative;
    left: 1px;
    top: -0.5px;   /* adjust to -2px / -6px if needed */
    maxwidth: 180px;
}

#new_dunsnumber_label {
    position: relative;
    top: 14px;   /* increase to 6px if needed */
}

#new_dunsnumber {
    position: relative;
    top: 16px;   /* adjust to 2px / 6px if needed */
}

#cdr_cagecode_label {
    position: relative;
    left: 1px;
    top: 14px;   /* same value used for DUNS Number */
}

#cdr_cagecode {
    position: relative;
    left: 1px;
    top: 16px;   /* use same value as labels for consistency */
}

#new_annualrevenue_label {
    position: relative;
    top: 25px;   /* adjust to 2px / 6px if needed */
}

#new_annualrevenue {
    position: relative;
    top: 25px;   /* same value you used for other fields */
}

#new_productsandservicedescription_label,
#new_productsandservicedescription {
    position: relative;
    top: 30px;   /* adjust to 2px / 6px if needed */
}

#new_paymentterms_label {
    position: relative;
    left: 1px;
    top: 25px;   /* same value used for other labels */
}

#new_paymentterms {
    position: relative;
    left: 1px;
    top: 25px;          /* keeps vertical alignment */
    maxwidth: 180px; !important;  /* reduce width slightly */
}

#new_siccode_label {
    position: relative;
    left: 1px;
    top: 25px;   /* adjust to 2px or 6px if needed */
}

#new_siccode {
    position: relative;
    left: 1px;
    top: 25px;   /* same value used for other fields */
}

#new_industry_label {
    position: relative;
    left: 1px;
    top: 14px;   /* adjust to 2px or 6px if needed */
}

#new_industry {
    position: relative;
    left: 1px;
    top: 16px;   /* same value used for other fields */
}

#new_street1_label {
    position: relative;
    top: -4px;
    white-space: nowrap;
}

#new_street2_label {
    position: relative;
    top: 14px;
    white-space: nowrap;
}
#new_street2 {
    position: relative;
    top: 14px;
    maxwidth: 250px !important;
}

#new_street1 {
    position: relative;
    maxwidth: 250px !important;
}

#new_city_label {
    position: relative;
    top: 20px;
    white-space: nowrap;
}
#new_city {
    position: relative;
    top: 20px;
    maxwidth: 250px !important;
}

#new_state_label {
    position: relative;
    top: 25px;
    white-space: nowrap;
}
#new_state {
    position: relative;
    top: 28px;
    maxwidth: 250px !important;
}

#new_zipcode_label {
    position: relative;
    top: 35px;
    white-space: nowrap;
}
#new_zipcode {
    position: relative;
    top: 38px;
    maxwidth: 250px !important;
}
#new_mainphone_label {
    position: relative;
    top: -4px;
    left: 1px;
    white-space: nowrap;
}
#new_mainphone {
    position: relative;
    left: 1px;
    maxwidth: 250px !important;
}

#new_otherphone_label {
    position: relative;
    top: 10px;
    left: 1px;
    white-space: nowrap;
}
#new_otherphone {
    position: relative;
    top: 12px;
    left: 1px;
    maxwidth: 250px !important;
}

#new_country_label {
    position: relative;
    top: 18px;
    left: 1px;
    white-space: nowrap;
}
#new_country {
    position: relative;
    top: 20px;
    left: 1px;
    maxwidth: 250px !important;
}

#new_plus4_label {
    position: relative;
    top: 20px;
    left: 1px;
    white-space: nowrap;
}
#new_plus4 {
    position: relative;
    top: 25px;
    left: 1px;
    maxwidth: 250px !important;r
}

body[data-sitemap-state*="201819appstart"] td.cell.zero-cell {
    display: none !important;
}

body[data-sitemap-state*="24darpcreate"] td.cell.zero-cell {
    display: none !important;
}

/* UPDATE button – default GREEN */
#ContentContainer_MainContent_MainContent_ContentBottom_SubmitButton {
    background-color: #238c3b;   /* green */
    border-color: #238c3b;
    color: #ffffff;
}

/* Hover / focus / active – BLUE */
#ContentContainer_MainContent_MainContent_ContentBottom_SubmitButton:hover,
#ContentContainer_MainContent_MainContent_ContentBottom_SubmitButton:focus,
#ContentContainer_MainContent_MainContent_ContentBottom_SubmitButton:active {
    background-color: #0d6efd;   /* blue */
    border-color: #0d6efd;
    color: #ffffff;
    outline: none;
    box-shadow: none;
}

#firstname.form-control,
#adx_publicprofilecopy.form-control {
    background-color: #eeeeee !important;
    color: #333333;
}


/* Remove + icon ONLY on 2018–19 app start page */
body a[href^="/201819appstart/"].create-action::before,
body a[href^="/201819appstart/"].create-action span.fa,
body a[href^="/201819appstart/"].create-action i {
    display: none !important;
    content: none !important;
}

/* Remove + icon ONLY on Add New Vendor page */
body a[href="#"].create-action::before,
body a[href="#"].create-action span.fa,
body a[href="#"].create-action i {
    display: none !important;
    content: none !important;
}

#cdr_actualcompletioninspectiondate_label {
    white-space: nowrap !important;
}
#cdr_progressinspectiondate_label {
    white-space: nowrap !important;   /* no wrap */
    margin-left: 1px !important;    /* move left */
    display: inline-block;
}
#cdr_progressinspectiondate {
    width: 280px !important;          /* increase width */
    margin-left: -110px !important;   /* move left */
}
#cdr_pctspent_label {
    white-space: nowrap !important;   /* prevent wrap */
    margin-left: 1px !important;    /* move left */
    display: inline-block;
}
#cdr_pctspent {
    width: 100% !important;          /* increase width */
    max-width: 100% !important;
    margin-left: 1px !important;   /* move left */

    /* remove readonly background */
    background-color: transparent !important;
}
#new_name {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}
 
/* Save and Return to Main Menu – GREEN */
input#ReturnButton.btn.btn-primary {
    color: #ffffff !important;
    background-color: #238c3b !important;   /* green */
    border-color: #238c3b !important;
}

/* Hover / focus / active – BLUE */
input#ReturnButton.btn.btn-primary:hover,
input#ReturnButton.btn.btn-primary:focus,
input#ReturnButton.btn.btn-primary:active {
    color: #ffffff !important;
    background-color: #0d6efd !important;   /* blue */
    border-color: #0d6efd !important;
}

/* Remove focus outline / shadow (optional, Power Pages friendly) */
input#ReturnButton.btn.btn-primary:focus {
    box-shadow: none !important;
}


/* Grant Administrator – remove grey background */
/* #cdr_grantadministrator_name {
    background-color: transparent !important;   
    background-image: none !important;
    color: #212529 !important;                  
    opacity: 1 !important;                      
    cursor: default;
} */

/* Cancel button – GREEN */
input#btnCancel.btn.btn-primary {
    color: #ffffff !important;
    background-color: #238c3b !important;   /* green */
    border-color: #238c3b !important;
}

/* Hover / focus / active – BLUE */
input#btnCancel.btn.btn-primary:hover,
input#btnCancel.btn.btn-primary:focus,
input#btnCancel.btn.btn-primary:active {
    color: #ffffff !important;
    background-color: #0d6efd !important;   /* blue */
    border-color: #0d6efd !important;
}

/* Optional – remove focus outline */
input#btnCancel.btn.btn-primary:focus {
    box-shadow: none !important;
}

/* Save Account Details – GREEN */
input#btnNewSave.btn.btn-primary {
    color: #ffffff !important;
    background-color: #238c3b !important;   /* green */
    border-color: #238c3b !important;
}

/* Hover / focus / active – BLUE */
input#btnNewSave.btn.btn-primary:hover,
input#btnNewSave.btn.btn-primary:focus,
input#btnNewSave.btn.btn-primary:active {
    color: #ffffff !important;
    background-color: #0d6efd !important;   /* blue */
    border-color: #0d6efd !important;
}

/* Optional – remove focus outline */
input#btnNewSave.btn.btn-primary:focus {
    box-shadow: none !important;
}

button.clearlookupfield[title="Chief Elected Official Clear lookup field"] {
    display: none !important;
}

button.clearlookupfield[title="Grant Administrator Clear lookup field"] {
    display: none !important;
}

button.clearlookupfield[title="Engineer Clear lookup field"] {
    display: none !important;
}

/* lcpaccountedit page – hide Authorized Representative lookup button */
body[data-sitemap-state*="lcpaccountedit"]
button.launchentitylookup[aria-label="Authorized Representative Launch lookup modal"] {
    display: none !important;
}


/* ===============================
   lcpaccountedit ONLY
   Specific lookup & clear buttons
   =============================== */

body[data-sitemap-state*="lcpaccountedit"]
button.clearlookupfield[title="Primary Contact Clear lookup field"],
body[data-sitemap-state*="lcpaccountedit"]
button.clearlookupfield[title="Authorized Representative Clear lookup field"]{
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body[data-sitemap-state*="lcpaccountedit"]
button.launchentitylookup[aria-label="Chief Elected Official Launch lookup modal"],
body[data-sitemap-state*="lcpaccountedit"]
button.launchentitylookup[aria-label="Primary Contact Launch lookup modal"],
body[data-sitemap-state*="lcpaccountedit"]
button.launchentitylookup[aria-label="Grant Administrator Launch lookup modal"],
body[data-sitemap-state*="lcpaccountedit"]
button.launchentitylookup[aria-label="Authorized Representative Launch lookup modal"],
body[data-sitemap-state*="lcpaccountedit"]
button.launchentitylookup[aria-label="Engineer Launch lookup modal"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Only on the 24darpedit page */
form[action*="24darpedit"] 
#cdr_grantadministrator_name {
    position: relative;
    background-color: #eeeeee !important;
}

/* Only on the lcpappedit page */
form[action*="lcpappedit"] 
#cdr_grantadministrator_name {
    position: relative;
    background-color: #eeeeee !important;
}

form[action*="24darpedit"] 
#cdr_en_account_uscongressionaldistrict_label {
    position: relative;
    white-space: nowrap;
}

form[action*="lcpappedit"] 
#cdr_en_account_uscongressionaldistrict_label {
    position: relative;
    white-space: nowrap;
}

/* lcpappedit ONLY – Elected Official label */
form[action*="lcpappedit"]
#cdr_electedofficial_label {
    position: relative;
    white-space: nowrap;
    left: 15px;
}

/* lcpappedit ONLY – Elected Official label */
form[action*="lcpappedit"]
#cdr_electedofficial_name {
    position: relative;
    white-space: nowrap;
    left: 15px;
}

body[data-sitemap-state*="lcpappedit"]
button.clearlookupfield[aria-label="Authorized Representative Clear lookup field"] {
    position: relative;
    left: 15px;
}

body[data-sitemap-state*="lcpappedit"]
button.launchentitylookup[aria-label="Authorized Representative Launch lookup modal"] {
    position: relative;
    left: 15px;
}

/* Only on the 24darpedit page */
form[action*="24darpedit"] 
#cdr_electedofficial_label {
    position: relative;
    left: 15px;         
}

/* Only on the 24darpedit page */
form[action*="24darpedit"] 
#cdr_electedofficial_name {
    position: relative;
    left: 15px;         
}

form[action*="24darpedit"]
button.launchentitylookup[aria-label="Authorized Representative Launch lookup modal"] {
    left: 15px !important;
}

body[data-sitemap-state*="24darpedit"]
button.clearlookupfield[aria-label="Authorized Representative Clear lookup field"] {
    position: relative;
    left: 15px;
}

/* 24darpedit ONLY – cdr_en_applicant_county_label */
form[action*="24darpedit"]
#cdr_en_applicant_county_label {
    position: relative;
    white-space: nowrap;
    left: 15px;
}
form[action*="24darpedit"]
#cdr_en_applicant_county {
    position: relative;
    white-space: nowrap;
    left: 15px;
}

/* 24darpedit ONLY – Engineer label */
form[action*="24darpedit"]
#cdr_en_applicant_engineer_label {
    position: relative;
    white-space: nowrap;
    left: 15px;
}

form[action*="24darpedit"]
#cdr_en_applicant_engineer_name {
    position: relative;
    white-space: nowrap;
    left: 15px;
}

body[data-sitemap-state*="24darpedit"]
button.launchentitylookup[aria-label="Engineer Launch lookup modal"] {
    position: relative;
    left: 15px;
}

/* lcpappedit ONLY – cdr_en_applicant_county_label */
form[action*="lcpappedit"]
#cdr_en_applicant_county_label {
    position: relative;
    white-space: nowrap;
    left: 15px;
}
form[action*="lcpappedit"]
#cdr_en_applicant_county {
    position: relative;
    white-space: nowrap;
    left: 15px;
}

/* lcpappedit ONLY – Engineer label */
form[action*="lcpappedit"]
#cdr_en_applicant_engineer_label {
    position: relative;
    white-space: nowrap;
    left: 15px;
}

form[action*="lcpappedit"]
#cdr_en_applicant_engineer_name {
    position: relative;
    white-space: nowrap;
    left: 15px;
}

body[data-sitemap-state*="lcpappedit"]
button.launchentitylookup[aria-label="Engineer Launch lookup modal"] {
    position: relative;
    left: 15px;
}

/* Program field – force remove disabled background */
input#cdr_program_name:disabled {
    background-color: #ffffff !important;
    background-image: none !important;
    opacity: 1 !important;
    color: #212529 !important;
}

/* Site Number – readonly field */
input#cdr_sitenumber[readonly] {
    background-color: #ffffff !important;
    background-image: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
}

/* Collapse the empty cell without breaking table */
td.cell.zero-cell {
    width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

form[action*="lcpappedit"]
#cdr_fromstreet_label,
form[action*="lcpappedit"]
#cdr_fromstreet {
    position: relative;
    left: -110px;
}

button.launchentitylookup[aria-label="Cong. Rep Launch lookup modal"] {
    position: relative;
    left: -0.5px;
}

button.launchentitylookup[aria-label="State Senator Launch lookup modal"] {
    position: relative;
    left: -0.5px;
}

/* 24darpedit – Fix label wrap & alignment in modal */
form[action*="24darpedit"]
td:has(#cdr_arp_whatisthetotalsiteacreageofthepropose_label) {
    width: 100% !important;
    padding-left: 20px !important;
}

form[action*="24darpedit"]
#cdr_arp_whatisthetotalsiteacreageofthepropose_label {
    white-space: nowrap !important;
    display: inline-block !important;
    font-weight: 600;
}


/* Move DUNS label 110px to the left */
#cdr_en_applicant_duns_number_label {
    position: relative;
}

/* Move DUNS input field to the left */
#cdr_en_applicant_duns_number {
    position: relative;
}

/* Remove the dash placeholder */
.text-muted[aria-hidden="true"] {
    display: none !important;
}

/* Only on the 24darpedit page */
form[action*="subrecaccountARP"] 
#cdr_en_account_uscongressionaldistrict {
    position: relative;
    left: -1px;
}

form[action*="subrecaccountARP"] 
#cdr_en_account_uscongressionaldistrict_label {
    position: relative;
    white-space: nowrap;
    left: -1px;
}

/* Only on the 24darpedit page */
form[action*="subrecaccountARP"] 
#cdr_grantadministrator_name {
    position: relative;
    background-color: #eeeeee !important;
    left: -1px;
}

form[action*="subrecaccountARP"] 
#cdr_grantadministrator_label {
    position: relative;
    white-space: nowrap;
    left: -1px;
}

/* Only on the 24darpedit page */
form[action*="subrecaccountARP"] 
#cdr_en_account_texassenatedistrict {
    position: relative;
    left: -1px;
}

form[action*="subrecaccountARP"] 
#cdr_en_account_texassenatedistrict_label {
    position: relative;
    white-space: nowrap;
    left: -1px;
}

/* subrecaccountARP Edit page – Fiscal Year End Date label */
form[action*="subrecaccountARP"]
#cdr_fyenddates_label {
    position: relative;
    left: -1px;
}

form[action*="subrecaccountARP"]
#cdr_fyenddates {
    position: relative;
    left: -1px;
}

/* Move Authorized Rep lookup button left -12jan*/
/*button.launchentitylookup[aria-label*="Authorized Rep"] {
    position: relative;
    left: 110px;   /* adjust as needed 
}*/

/* 24darpedit – Move Site Attributes label + dropdown right */
form[action*="24darpedit"]
td:has(#cdr_arp_siteattributes_label) {
    padding-left: 20px !important; /* move right */
}

/* Prevent label wrapping */
form[action*="24darpedit"]
#cdr_arp_siteattributes_label {
    white-space: nowrap !important;
    display: inline-block !important;
    font-weight: 600;
}

/* Ensure dropdown stays aligned */
form[action*="24darpedit"]
#cdr_arp_siteattributes {
    width: 100%;
}


#cdr_longitudenum_label {
    margin-left: 110px;
}

#cdr_longitudenum {
    margin-left: 110px;
}

/* Only on the saema page */
form[action*="saema"] 
#cdr_grantadministrator_name {
    position: relative;
    background-color: #eeeeee !important;
   
}

/*form[action*="saema"] 
#cdr_grantadministrator_label {
    position: relative;
    white-space: nowrap;
    left: 155px;
}
*/
/* Only on the saema page */
/*form[action*="saema"] 
#cdr_electedofficial_name {
    position: relative;
    background-color: #eeeeee !important;
    left: 140px;
}*/

/*form[action*="saema"] 
#cdr_electedofficial_label {
    position: relative;
    white-space: nowrap;
    left: 140px;
}*/

/* Only on the saema page */
/*form[action*="saema"] 
#cdr_contact_label {
    position: relative;
    left: 110px;
}*/

/*form[action*="saema"] 
#cdr_contact_name {
    position: relative;
    white-space: nowrap;
    left: 110px;
}*/

/* Only on the saema page – move clear lookup button */
form[action*="saema"]
button.clearlookupfield[title="Contact Clear lookup field"] {
    position: relative;
    left: 1px;
}
/* Only on the saema page – move lookup search button */
form[action*="saema"]
button.launchentitylookup[title="Contact Launch lookup modal"] {
    position: relative;
    left: 1px;
}
/* Hide "Remove value" button only in lookup modal */
.modal.show .modal-footer .remove-value {
    display: none !important;
}

/* drrpedit page – Fiscal Year End Date label */
/*form[action*="drrpappedit"]
#cdr_fyenddates_label {
    position: relative;
    left: -110px;
}*/

form[action*="drrpappedit"]
/*#cdr_fyenddates {
    position: relative;
    background-color: transparent !important;
    left: -110px;
}*/

/* Only on the drrpappedit page */
/*form[action*="drrpappedit"] 
#cdr_grantadministrator_name {
    position: relative;
    background-color: #eeeeee !important;
    left: 1px;
}*/

/*form[action*="drrpappedit"] 
#cdr_grantadministrator_label {
    position: relative;
    white-space: nowrap;
    left: 1px;
}*/

/* Only on the 24darpedit page */
/*form[action*="drrpappedit"] 
#cdr_en_account_texassenatedistrict {
    position: relative;
    left: 1px;
}*/

/*form[action*="drrpappedit"] 
#cdr_en_account_texassenatedistrict_label {
    position: relative;
    white-space: nowrap;
    left: 1px;
}*/

/* Only on the drrpappedit page */
/*form[action*="drrpappedit"] 
#cdr_en_account_uscongressionaldistrict {
    position: relative;
    left: 1px;
    
}*/

/*form[action*="drrpappedit"] 
#cdr_en_account_uscongressionaldistrict_label {
    position: relative;
    white-space: nowrap;
    left: 1px;
}*/

/* ===== lcpappedit page ONLY ===== */
form[action*="lcpappedit"]
#cdr_istheapplicantaneligiblecountyapplyinginc_label {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    white-space: normal;        /* allow wrap */
    line-height: 1.4;
    max-width: 100%;
}

/* Force line break before (non-city) */
form[action*="lcpappedit"]
#cdr_istheapplicantaneligiblecountyapplyinginc_label {
    display: inline-block;
}

/* Required asterisk */
form[action*="lcpappedit"]
#cdr_istheapplicantaneligiblecountyapplyinginc_label::after {
    content: " *";
    color: red;
    font-weight: 700;
}


/* ===== drrpappedit page ONLY ===== */
form[action*="drrpappedit"]
#cdr_istheapplicantaneligiblecountyapplyinginc_label {
    font-size: 0;
}

form[action*="drrpappedit"]
#cdr_istheapplicantaneligiblecountyapplyinginc_label::before {
    content: "Is the applicant an eligible county applying in conjunction with or on behalf of another entity\A(non-city) within the county?";
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    white-space: pre-line;
}

form[action*="drrpappedit"]
#cdr_istheapplicantaneligiblecountyapplyinginc_label::after {
    content: " *";
    font-size: 16px;
    font-weight: 700;
    color: red;
}


/* DRRP App Edit page – remove background for App # field */
form[action*="drrpappedit"]
#cdr_appnumber {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* DRRP App Edit page – move Applicant label left */
form[action*="drrpappedit"]
#cdr_applicant_label {
    position: relative;
    left: 1px;   /* adjust value as needed */
}

/* DRRP App Edit page – move Applicant value field left */
form[action*="drrpappedit"]
#cdr_applicant_name {
    position: relative;
    background-color: transparent !important;
    left: 1px;   /* adjust as needed */
}

/* DRRP App Edit page – move Program Type label left */
form[action*="drrpappedit"]
#cdr_programtype_label {
    position: relative;
    left: 1px;   /* adjust as needed */
}

/* DRRP App Edit page – move Program Type dropdown left */
form[action*="drrpappedit"]
#cdr_programtype {
    position: relative;
    left: 1px;   /* adjust as needed */
}

/* Only on the drrpappedit page */
form[action*="drrpappedit"]
#cdr_en_applicant_jurisdictiontype_label {
    position: relative;
    left: 10px;
}

/* Move the Applicant lookup input */
form[action*="drrpappedit"]
#cdr_en_applicant_jurisdictiontype {
    position: relative;
    left: 10px;
}

/* Only on the drrpappedit page */
form[action*="drrpappedit"] 
#cdr_electedofficial_label {
    position: relative;
    left: 30px;         
}

/* Only on the drrpappedit page */
form[action*="drrpappedit"] 
#cdr_electedofficial_name {
    position: relative;
    left: 30px;         
}

body[data-sitemap-state*="drrpappedit"]
button.clearlookupfield[aria-label="Authorized Representative Clear lookup field"] {
    position: relative;
    left: 30px;
}

form[action*="drrpappedit"]
button.launchentitylookup[aria-label="Authorized Representative Launch lookup modal"] {
    left: 30px !important;
}

/* drrpappedit ONLY – cdr_en_applicant_county_label */
form[action*="drrpappedit"]
#cdr_en_applicant_county_label {
    position: relative;
    white-space: nowrap;
    left: 30px;
}
form[action*="drrpappedit"]
#cdr_en_applicant_county {
    position: relative;
    white-space: nowrap;
    left: 30px;
}

/* drrpappedit ONLY – Engineer label */
form[action*="drrpappedit"]
#cdr_en_applicant_engineer_label {
    position: relative;
    white-space: nowrap;
    left: 30px;
}

form[action*="drrpappedit"]
#cdr_en_applicant_engineer_name {
    position: relative;
    white-space: nowrap;
    left: 30px;
}

body[data-sitemap-state*="drrpappedit"]
button.launchentitylookup[aria-label="Engineer Launch lookup modal"] {
    position: relative;
    left: 30px;
}

form[action*="/projectedit/"]
#cdr_projectsummary_label {
    position: relative;
    left: -1px;
    white-space: nowrap;
}

/* ONLY Project Edit page */
form[action*="/projectedit/"] 
#cdr_projectsummary {
left: -1px;
}

/* ONLY Project Edit page */
body[data-sitemap-state*="projectedit"]
#cdr_contact_label {
    position: relative;
    left: 110px;   /* increase px to move further right */
    white-space: nowrap; /* prevents wrapping */
}

/* ONLY Project Edit page */
body[data-sitemap-state*="projectedit"]
#cdr_contact_name {
    position: relative;
    left: 110px;   /* increase px to move more right */
    max-width: 265px;
}

/* ONLY Project Edit page */
/* body[data-sitemap-state*="projectedit"]
button.clearlookupfield[title*="Contact or Applicant"] {
    position: relative;
    left: 110px;   /* increase value to move more right */
} */

/* ONLY Project Edit page + specific lookup button */
/* body[data-sitemap-state*="projectedit"]
button.launchentitylookup[title="Contact or Applicant Launch lookup modal"] {
    position: relative;
    left: 110px;   /* increase to move further right */
} */
}

/* ONLY Project Edit page */
body[data-sitemap-state*="projectedit"]
#cdr_contact_label {
    position: relative;
    left: 110px;   /* increase px to move further right */
    white-space: nowrap; /* prevents wrapping */
}

/* ONLY Project Edit page */
body[data-sitemap-state*="projectedit"]
#cdr_progressinspectiondate_datepicker_description {
    position: relative;
    left: 1px;   /* increase negative value to move further left */
}
body[data-sitemap-state*="projectedit"]
#cdr_progressinspectiondate_datepicker_description
+ span.input-group-addon {
    position: relative;
    left: 1px;
}

/* ONLY Project Edit page */
body[data-sitemap-state*="projectedit"]
#cdr_city {
    position: relative;
    left: 1px;   /* adjust px as needed */
    max-width: 320px;
}

/* ONLY Project Edit page */
body[data-sitemap-state*="projectedit"]
#cdr_city_label {
    position: relative;
    left: 1px;   /* adjust px as needed */
    white-space: nowrap;
}

/* ONLY Project Edit page */
body[data-sitemap-state*="projectedit"]
#new_listofinsurancepolicy_label {
    position: relative;
    left: 1px;   /* move left by 110px */
}

/* ONLY Project Edit page */
body[data-sitemap-state*="projectedit"]
#new_listofinsurancepolicy {
    position: relative;
    left: 1px;   /* move left – matches the label */
    width: 500px;
}

/* ONLY Edit Pay Request page */
body[data-sitemap-state*="editpayreq"]
#cdr_servicesrenderedto_label {
    position: relative;
    left: 1px;   /* move left by 110px */
    white-space: nowrap;
}

/* ONLY Edit Pay Request page – Services Rendered To date picker */
body[data-sitemap-state*="editpayreq"]
#cdr_servicesrenderedto_datepicker_description,
body[data-sitemap-state*="editpayreq"]
#cdr_servicesrenderedto_datepicker_description + span.input-group-addon {
    position: relative;
    left: 1px;   /* move left by 110px */
}

/* Hide label by default */
#cdr_iaminterestedinthefollowingprojecttypes_label {
    display: none;
}

/* Show label ONLY when HAP is selected */
body:has(#cdr_haphrpboth option[value="754310000"]:checked)
#cdr_iaminterestedinthefollowingprojecttypes_label {
    display: block;
}

/* Only on the contractmanageb page */
/*form[action*="contractmanageb"]
#cdr_contact_label {
    position: relative;
    left: 110px;   
}*/

/* Move the Contact lookup input */
/*form[action*="contractmanageb"]
#cdr_contact_name {
    position: relative;
    left: 110px;   /* keep same value as label 
}*/

/* Only on the contractmanageb page */
/*form[action*="contractmanageb"]
#cdr_applicant_label {
    position: relative;
    left: -110px;
}*/

/* Move the Applicant lookup input */
/*form[action*="contractmanageb"]
#cdr_applicant_name {
    position: relative;
    left: -110px;
    min-width: 420px;
    width: 420px;
}*/

/* Only on the contractmanageb page */
/*form[action*="contractmanageb"]
#cdr_name {
    min-width: 420px;
    width: 420px;
}*/

/* Apply ONLY on DRR Application Edit page */
form[action*="drrpappedit"] 
#cdr_en_principallybenefitlowandmoderate_label {
    font-size: 0 !important;     /* hide original truncated text */
}

/* Inject full LMI description */
form[action*="drrpappedit"] 
#cdr_en_principallybenefitlowandmoderate_label::after {
    content: "Principally benefit low- and moderate-income persons. (To qualify an application activity under the national objective of principally benefitting low- and moderate-income (LMI) persons, at least fifty-one percent (51%) of the beneficiaries of the activity must be LMI.)";
    
    display: block;

    /* Match image styling */
    font-size: 17px;
    font-weight: 600;
    font-family: inherit;
    color: #000000;
    line-height: 1.3;

    white-space: normal;
}

/* Only on drrpappedit page */
/* form[action*="drrpappedit"]
#cdr_en_surveyenddate_label {
    position: relative;
    left: -110px;        
    white-space: nowrap;
} */

/* Only on drrpappedit page – move Survey End Date UP */
/* form[action*="drrpappedit"]
#cdr_en_surveyenddate_datepicker_description {
    position: relative;
    top: -25px;       /* move UP more */
    left: -110px;
    width: 520px; */
}
/* Only on drrpappedit page – move Survey End Date calendar icon UP */
/* form[action*="drrpappedit"]
#cdr_en_surveyenddate_datepicker_description
    + .input-group-addon {
    position: relative;
    top: -63px;   /* move up */
    left: 1px
} */

/* Only on drrpappedit page */
/*form[action*="drrpappedit"]
#cdr_en_providenumberoflmibeneficiaries_label {
    position: relative;
    left: -110px;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;

    
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;

    width: 300px !important;      
    max-width: 250px !important;

    margin-bottom: 8px;
}*/

/* Only on drrpappedit page */
/* form[action*="drrpappedit"]
#cdr_en_providenumberoflmibeneficiaries {
    position: relative;
    left: -110px;      
    width: 220px;      
    top: -10px;
    max-width: none;   
} */

/* Beneficiary Information – ONLY on drrpappedit page */
/* form[action*="drrpappedit"]
#cdr_en_numberofnonhispanicbeneficiariesdirect_label,
form[action*="drrpappedit"]
#cdr_numberofhispanicbeneficiariesdirect_label,
form[action*="drrpappedit"]
#cdr_totalbeneficiariesforapplication_label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;

    white-space: normal;        
    word-break: normal;        
    overflow-wrap: normal;      

    width: 300px !important;
    max-width: 250px !important;
    margin-bottom: 8px;
} */

/* Only on drrpappedit page – Hispanic Beneficiaries */
/* form[action*="drrpappedit"]
#cdr_numberofhispanicbeneficiariesdirect_label {
    position: relative;
    left: -110px;          /* move label left */
} */

/* form[action*="drrpappedit"]
#cdr_numberofhispanicbeneficiariesdirect {
    position: relative;
    left: -110px;          
    width: 250px;          
    max-width: none;       
} */

/* Move the label left */
/* form[action*="drrpappedit"]
#cdr_en_totalnumberofmalebeneficiaries_label {
    position: relative;
    left: -110px;     /* adjust as needed */
} */

/* Move the input left & up, and increase width */
/* form[action*="drrpappedit"]
#cdr_en_totalnumberofmalebeneficiaries {
    position: relative;
    left: -110px;     
    top: -23px;      
    width: 420px;    
    max-width: none;  
} */

/* Beneficiary Information – ONLY on lcpappedit page */
/* form[action*="lcpappedit"]
#cdr_en_numberofnonhispanicbeneficiariesdirect_label,
form[action*="lcpappedit"]
#cdr_numberofhispanicbeneficiariesdirect_label,
form[action*="lcpappedit"]
#cdr_totalbeneficiariesforapplication_label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;

    white-space: normal;       
    word-break: normal;         
    overflow-wrap: normal;     

    width: 300px !important;
    max-width: 250px !important;
    margin-bottom: 8px;
} */

/* Only on lcpappedit page – Hispanic Beneficiaries */
/* form[action*="lcpappedit"]
#cdr_numberofhispanicbeneficiariesdirect_label {
    position: relative;
    left: -110px;          /* move label left */
} */

/* form[action*="lcpappedit"]
#cdr_numberofhispanicbeneficiariesdirect {
    position: relative;
    left: -110px;          
    width: 250px;          
    max-width: none;       
} */

/* Increase Site Description width – INSIDE MODAL PAGE */
#cdr_sitedescription {
    width: 430px !important;      /* adjust as needed */
}

/* Site Title – increase width */
#cdr_name {
    width: 225px !important;
}

/* Street Address – increase width */
#cdr_streetaddress {
    width: 430px !important;
}

/* From Street – increase width */
#cdr_fromstreet {
    width: 430px !important;
}

#cdr_tostreet_label {
    position: relative;
    left: 1px;
    white-space: nowrap;
}

#cdr_tostreet {
    position: relative;
    left: 1px;
    width: 430px !important;
}

/* City – increase width */
/* #cdr_city {
    width: 20px !important;      /* adjust if needed */
} */

/* Move Zip Code label left */
#cdr_zipcode_label {
    position: relative;
    left: 1px; 
    white-space: nowrap;
}

/* Zip Code – increase width */
/* #cdr_zipcode {
    position: relative;
    left: 1px;
    width: 430px !important;
} */

/* County – reduce width */
#cdr_county {
    max-width: 320px !important;
}

/* Latitude – increase width */
#cdr_latitudenum {
    width: 430px !important;
}

/* Move Longitude label left */
#cdr_longitudenum_label {
    position: relative;
    left: -110px;
}

/* Longitude – move left + increase width */
#cdr_longitudenum {
    position: relative;
    left: -110px; 
    width: 430px !important;
    max-width: 430px !important;
}

/* Document Group – prevent wrapping */
/* #cdr_programdoctemplate_label {
    white-space: nowrap !important;
} */

/* Document Group – increase width */
/* #cdr_programdoctemplate_name {
    width: 0px !important;
} */

/* Move Document Group search (lookup) button left */
/* button.launchentitylookup[aria-label="Document Group Launch lookup modal"] {
    position: relative;
    left: 425px;
    top: -37px;
} */


/* Only on the cnsa page */
form[action*="cnsa"]
#cdr_contact_label {
    position: relative;
    left: 1px;   /* adjust if needed */
    white-space: nowrap;
}

/* Only on the cnsa page */
form[action*="cnsa"]
#cdr_contact_name {
    position: relative;
    left: 1px;          /* move right – keep same as label */
    max-width: 250px;         /* reduce width */
    white-space: nowrap;
}
/* Only on the cnsa page – move Contact lookup search button left */
form[action*="cnsa"]
button.launchentitylookup[aria-label="Contact Launch lookup modal"] {
    position: relative;
    left: 1px;
}
/*.container[style*="display: flex"][style*="flex-wrap: wrap"] {
    display: none !important;
}

#content_form table.section tbody tr:has(td[colspan="4"][rowspan="7"]) {
    display: none !important;
}*/

/* 1. Hide duplicate rows (every second row) */
body[data-sitemap-state*="iaedit24disaster"]
#eq .entity-grid table tbody tr {
    display: table-row;
    background-color: #ffffff !important;
}

/* 2. Reset default striping */
body[data-sitemap-state*="iaedit24disaster"]
#eq .entity-grid table tbody tr:nth-of-type(odd) {
    background-color: #f5f5f5 !important;
}

/* 3. Re-apply alternating grey rows ONLY to visible rows */
body[data-sitemap-state*="iaedit24disaster"]
#eq .entity-grid table tbody tr:nth-child(4n+1) {
    background-color: #f5f5f5 !important;
}

/* Only on iaedit24disaster page – prevent wrapping for Total Household Income label */
body[data-sitemap-state*="iaedit24disaster"]
#cdr_totalhouseholdincome_label {
    white-space: nowrap !important;
}

body #privateModeText {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

/* =========================================
   lcpappedit ONLY – restore header divider line
   ========================================= */

form[action*="lcpappedit"]
.entity-grid table thead th {
    border-bottom: 2px solid #dee2e6 !important;
}
/* ===============================
   Remove background for ALL inputs
   ONLY inside ReviewandAdd form
   =============================== */

div[data-name="ReviewandAdd"] input.form-control,
div[data-name="ReviewandAdd"] textarea.form-control {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Override readonly & disabled styles */
div[data-name="ReviewandAdd"] input.form-control[readonly],
div[data-name="ReviewandAdd"] input.form-control:disabled,
div[data-name="ReviewandAdd"] textarea.form-control[readonly],
div[data-name="ReviewandAdd"] textarea.form-control:disabled {
  background-color: transparent !important;
  opacity: 1 !important;
  color: #212529 !important;
}

/* ===============================
   Remove background for $ symbol
   (money fields only)
   =============================== */

div[data-name="ReviewandAdd"]
td.money.form-control-cell
.input-group-text {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* ===============================
   Optional: subtle spacing between fields
   (NO scroll issue)
   =============================== */

div[data-name="ReviewandAdd"] .control {
  padding-bottom: 6px !important;
}
/* =========================================
   MSPP – Match ADX readonly look
   Scope: Entity Form only
   ========================================= */


/* Remove background ONLY for Program Budget Code field */
.entity-form #new_activityid_name,
.entity-form #new_activityid_name[readonly],
.entity-form #new_activityid_name:disabled {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    color: #212529 !important;
}

/*  Remove background for $ symbol (input-group-text) */
.entity-form .input-group-text {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 6px !important;
}

/*  Align money field neatly (no boxed look) */
.entity-form .input-group {
    align-items: center;
}

/*  Remove background for readonly money fields that render as text */
.entity-form td.money.form-control-cell input.form-control {
    background-color: transparent !important;
}

/*  Match ADX vertical spacing (no scroll impact) */
.entity-form .control {
    padding-bottom: 6px !important;
}


/* Re-enable $ background ONLY for Payment Requested field */
td.money.form-control-cell
  .input-group:has(#gm_amount)
  .input-group-text {
  background-color: #f5f5f5 !important;
  border: 1px solid #ccc !important;
  box-shadow: none !important;
}

/* Only on iaedit24disaster page */
form[action*="iaedit24disaster"] 
#cdr_applicantprimaryemail1_label::after {
    content: " *";
    color: #d60000;   /* red */
    font-weight: 700;
}

/* Only on iaedit24disaster page */
form[action*="iaedit24disaster"]
#cdr_whatisyourpreferredlanguage_label::after {
    content: " *";
    color: #d60000;
    font-weight: 700;
}

/* Only on iaedit24disaster page */
form[action*="iaedit24disaster"]
#cdr_applicantprimaryphonenumber_label::after {
    content: " *";
    color: #d60000;
    font-weight: 700;
}

/* Only on iaedit24disaster page */
form[action*="iaedit24disaster"]
#cdr_address1_label::after {
    content: " *";
    color: #d60000;
    font-weight: 700;
}

/* Only on iaedit24disaster page */
form[action*="iaedit24disaster"]
#cdr_city_label::after {
    content: " *";
    color: #d60000;
    font-weight: 700;
}

/* Only on iaedit24disaster page */
form[action*="iaedit24disaster"]
#cdr_zip_label::after {
    content: " *";
    color: #d60000;
    font-weight: 700;
}

/* Only on iaedit24disaster page */
form[action*="iaedit24disaster"]
#cdr_isthistheaddresswhereyoucurrentlyreside_label::after {
    content: " *";
    color: #d60000;
    font-weight: 700;
}

form[action*="iaedit24disaster"]
#cdr_city {
    max-width: 225px !important;
}

form[action*="iaedit24disaster"]
#cdr_county {
    max-width: 225px !important;
}

/* Only on the cnsa page */
form[action*="cnsa"]
#cdr_electedofficial_label {
    position: relative;
    left: 1px;
}

/* Only on the projectedit page */
form[action*="projectedit"]
#cdr_address1 {
    max-width: 920px !important;
}

/* saema page only – move Authorized Representative lookup field */
/*form[action*="saema"] #cdr_electedofficial_name {
    left: 180px !important;
}*/

/* lcpappedit page only – LMI beneficiaries label */
form[action*="lcpappedit"] 
#cdr_en_providenumberoflmibeneficiaries_label {
    left: 1px !important;
}

/* lcpappedit page only – move LMI beneficiaries field to the left */
form[action*="lcpappedit"] #cdr_en_providenumberoflmibeneficiaries {
    left: 1px !important;
}

/* lcpappedit page only – move LMI beneficiaries field to the left */
form[action*="lcpappedit"]
#cdr_en_pecentageoflmibeneficiaries {
    position: relative;
    top: -22px;
}

/* Only on the cnna page */
/*form[action*="cnna"]
#cdr_contact_label {
    position: relative;
    left: 110px;   
}*/

/* Move the Contact lookup input */
/*form[action*="cnna"]
#cdr_contact_name {
    position: relative;
    left:110px;   
    max-width: 265px;
}*/

/* cnna page only – Contact lookup button */
/*form[action*="cnna"]
button.launchentitylookup[aria-label="Contact Launch lookup modal"] {
    margin-left: 110px !important;
}*/

/* cnna page only – Authorized Representative lookup field */
/*form[action*="cnna"] 
#cdr_electedofficial_name {
    left: 110px !important;
}*/

/* edit page only – Authorized Representative lookup field */
/*form[action*="edit"]
#cdr_electedofficial_name {
    left: 110px !important;
}*/

/* edit page only – Authorized Representative lookup button (move right) */
/*form[action*="edit"]
button.launchentitylookup[aria-label="Authorized Representative Launch lookup modal"] {
    left: 110px !important;
}*/

/* edit page only – Contact label */
form[action*="edit"]
#cdr_contact_label {
    left: 1px !important;
}

/* edit page only – Contact lookup field */
form[action*="edit"]
#cdr_contact_name {
    left: 1px !important;
}
/* edit page only – Contact clear lookup (X) button */
form[action*="edit"]
button.clearlookupfield[aria-label="Contact Clear lookup field"] {
    left: 1px !important;
}
/* edit page only – Contact launch lookup button */
form[action*="edit"]
button.launchentitylookup[aria-label="Contact Launch lookup modal"] {
    left: 1px !important;
}

/* Only on the pesa page */
form[action*="pesa"] #cdr_projectsummary,
form[action*="pesa"] #cdr_projectsummary_label {
  position: relative;
  left: 1px;
}

/* Only on the 24darpedit page */
form[action*="24darpedit"] #cdr_projectsummary,
form[action*="24darpedit"] #cdr_projectsummary_label {
  position: relative;
  left: 1px;
}

/* Only on the 201819subrecedit page */
form[action*="201819subrecedit"] 
#cdr_electedofficial_name {
    position: relative;
    background-color: #eeeeee !important;
    left: 20px;
    max-width: 200px;
}

form[action*="201819subrecedit"] 
#cdr_electedofficial_label {
    position: relative;
    white-space: nowrap;
    left: 20px;
}

/* edit page only – Authorized Representative lookup button (move right) */
form[action*="201819subrecedit"]
button.launchentitylookup[aria-label="Authorized Representative Launch lookup modal"] {
    left: 20px !important;
}

/* Only on the 201819subrecedit page */
form[action*="201819subrecedit"]
#cdr_en_applicant_jurisdictiontype_label {
    position: relative;
    left: 10px;
}

/* Move the Applicant lookup input */
form[action*="201819subrecedit"]
#cdr_en_applicant_jurisdictiontype {
    position: relative;
    left: 10px;
    max-width: 200px;
}

/* 201819subrecedit ONLY – cdr_en_applicant_county_label */
form[action*="201819subrecedit"]
#cdr_en_applicant_county_label {
    position: relative;
    white-space: nowrap;
    left: 20px;
}
form[action*="201819subrecedit"]
#cdr_en_applicant_county {
    position: relative;
    white-space: nowrap;
    left: 20px;
    max-width: 200px;
}

/* 201819subrecedit ONLY – Engineer label */
form[action*="201819subrecedit"]
#cdr_en_applicant_engineer_label {
    position: relative;
    white-space: nowrap;
    left: 20px;
}

form[action*="201819subrecedit"]
#cdr_en_applicant_engineer_name {
    position: relative;
    white-space: nowrap;
    left: 20px;
    max-width: 180px;
}

body[data-sitemap-state*="201819subrecedit"]
button.launchentitylookup[aria-label="Engineer Launch lookup modal"] {
    position: relative;
    left: 20px;
}

/* edit page only – Authorized Representative lookup button (move right) */
form[action*="201819subrecedit"]
button.launchentitylookup[aria-label="Authorized Representative Launch lookup modal"] {
    left: 20px !important;
}

body[data-sitemap-state*="201819subrecedit"]
button.clearlookupfield[aria-label="Authorized Representative Clear lookup field"] {
    position: relative;
    left: 20px;
}

form[action*="201819subrecedit"] 
#cdr_en_account_uscongressionaldistrict_label {
    position: relative;
    white-space: nowrap;
}

/* edit page only – Authorized Representative lookup button (move right) */
form[action*="subrecaccount201819"]
button.launchentitylookup[aria-label="Authorized Rep Launch lookup modal"] {
    left: 1px !important;
}

/* edit page only – Authorized Representative lookup button (move right) */
form[action*="lcpaccountedit"]
button.launchentitylookup[aria-label="Authorized Representative Launch lookup modal"] {
    left: 1px !important;
}

#cdr_ifyestotheabovepleaseindicatetheplansfo_label::after {
    content: "r decommissioning the existing facility.";
}

/* Page specific: editia */
body[data-sitemap-state*="editia"] #cdr_state {
    display: none !important;
}

/* Show "__" below the State label (no box) */
body[data-sitemap-state*="editia"] #cdr_state_label::after {
    content: "__";
    display: block;
    margin-top: 4px;
    font-size: 16px;
    color: #000;
}

/* Page specific: editia */
body[data-sitemap-state*="editia"] #cdr_county {
    width: 200px;          /* adjust as needed */
    max-width: 225px;
}

/* Page specific: editia */
body[data-sitemap-state*="editia"] #cdr_city {
    width: 200px;          /* change to 150px / 250px if needed */
    max-width: 225px;
}

/* Page specific: editia */
body[data-sitemap-state*="editia"] #cdr_numberofhouseholdmembers {
    background-color: transparent !important;
}

/* Page specific: editia */
body[data-sitemap-state*="imeldaedit"] #cdr_county {
    width: 200px;          /* adjust as needed */
    max-width: 225px;
}

/* Page specific: editia */
body[data-sitemap-state*="imeldaedit"] #cdr_city {
    width: 200px;          /* change to 150px / 250px if needed */
    max-width: 225px;
}
form[action*="lcpappedit"]
#cdr_en_account_uscongressionaldistrict_label {
    margin-bottom: -1.3em;
    
}

form[action*="lcpappedit"]
#cdr_en_applicant_samgovexp {
    margin-top: -1.5em;   
}

#cdr_en_applicant_jurisdictiontype_label {
    margin-left: 1em;
    white-space: nowrap;
}

#cdr_en_applicant_jurisdictiontype {
    margin-left: 1em;   /* adjust: 0.5em – 2em */
}

#cdr_en_applicant_samgovexp_label {
    white-space: nowrap;
}

form[action*="drrpappedit"]
#cdr_en_account_uscongressionaldistrict_label {
    white-space: nowrap;
    display: inline-block;
}
form[action*="drrpappedit"]
#cdr_electedofficial_label {
    white-space: nowrap;
    display: inline-block;
}
form[action*="drrpappedit"]
#cdr_en_applicant_samgovexp {
    margin-top: 0.1em;   
}
form[action*="24darpedit"]
#cdr_en_applicant_samgovexp {
    margin-top: 0.1em;   
}
form[action*="24darpedit"]
#cdr_electedofficial_label {
    white-space: nowrap;
    display: inline-block;
}
table.section:has(#firstname) {
    display: none !important;
}
/* Hide ONLY the second "Your Information" legend */
legend:nth-of-type(1) > h2.profile-page-heading {
    display: none !important;
}
legend{
    border-bottom: none !important;
}
legend > h3.profile-page-heading {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

body[data-sitemap-state*="projectedit"]
button.launchentitylookup[aria-label="Contact or Applicant Launch lookup modal"] {
    position: relative !important;
    left: 1px !important;   
}
body[data-sitemap-state*="projectedit"]
#cdr_contact_name {
    position: relative !important;
    left: 1px !important;   
}

#navbar{position:absolute;top:50;left:0;right:0}
#navbar{margin-left:80px}
