.block {
    display: block !important;
}

.bold {
    font-weight: bold !important;
}

.italic {
    font-style: italic !important;
}

.font-16 {
    font-size: 16px !important;
}

.margin-b-5 {
    margin-bottom: 5px !important;
}

.margin-b-10 {
    margin-bottom: 10px !important;
}

.margin-top-10, .marg-top-10 {
    margin-top: 10px !important;
}

.margin-t-0 {
    margin-top: 0 !important;
}

.marg-top-15 {
    margin-top: 15px;
}

.text-center {
    text-align: center !important;
}

.naics-upgrade {
    background: #fff880;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

.naics-upgrade p {
    font-style: italic;
}

.upgrade-account:hover {
    color: #FFF;
}

.naics-code-table {
    clear: both;
    margin-top: 15px;
    border: 2px solid #00803e;
}

.naics-input-wrapper {
    margin-bottom: 15px;
    display: none;
}

.current-codes {
    border: 2px solid #036;
}

.naics-code-table thead td, .current-codes thead td {
    font-weight: bold;
    font-size: 14px;
}

.naics-code-table td, .current-codes td {
    border: 2px solid #00803e;
    padding: 5px;
}

.current-codes td {
    border-color: #036;
}

.naics-code-table .code-column {
    padding: 5px;
}

.naics-code-table .description-column {
    padding: 5px;
}

.found-codes {
    clear: both;
}

.naics-table-template, .naics-added-codes-template, .found-codes {
    display: none;
}

.input_fields_wrap input, .search-naics-codes {
    padding: 2px 4px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.search-naics-codes, .area-serviced-search {
    display: block;
    margin: 5px 0 15px;
    width: 370px;
    padding: 7px 4px !important;
    float: left;
    border-radius: 5px 0 0 5px !important;
    border: 2px solid #ccc !important;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
}

.find-codes, .add-area-button {
    display: inline-block;
    transition: .4s background, .4s color, .4s border-color;
    background: #00803e;
    float: left;
    margin: 5px 0 15px;
    border-radius: 0 5px 5px 0;
    color: #FFF;
    text-decoration: none;
    padding: 10px 15px !important;
    border: 2px solid #00803e;
}

.add-area-button:hover {
    background: #006934;
    color: #EEE;
}

.remove-area-button {
    display: inline-block;
    transition: .4s background, .4s color, .4s border-color;
    background: #800705;
    /*float: left;*/
    /*margin: 5px 0 15px;*/
    border-radius: 0 5px 5px 0;
    color: #FFF;
    text-decoration: none;
    /*padding: 10px 15px !important;*/
    border: 2px solid #530504;
}

.remove-area-button:hover {
    background: #a20705;
}

.find-codes:hover {
    color: #FFF;
    background: #ff880f;
    border-color: #ff681d;
}

.naics-row, .multi-input-template {
    margin-bottom: 30px;
}

.naics-description {
    display: block;
    margin-left: 2px;
    margin-top: 5px;
    max-width: 314px;
}

.remove-code {
    padding: 5px;
}

.remove-code a {
    margin: 0 auto;
    display: block;
    width: 15px;
    text-align: center;
    padding: 5px;
}

.button {
    padding: 5px;
    font-size: 12px;
    text-align: center;
}

.btn {
    display: inline-block;
    transition: .4s background, .4s color;
    background: #00803e;
    border-radius: 5px;
    color: #FFF;
    text-decoration: none;
    padding: 10px 15px;
}

.btn-disabled {
    background: #666 !important;
    color: #EEE !important;
}

.btn-disabled:hover, .btn-disabled:focus {
    text-decoration: none !important;
}

.red-delete {
    color: #b9171c;
    transition: color .5s;
}

.red-delete:hover {
    color: #ff2600;
}

.btn.add-code {
    border-radius: 0;
    background: #036;
    margin: 0 auto;
    display: block;
    width: 35px;
    text-align: center;
}

.btn.add-code:hover {
    color: #FFF;
    background: #ff880f;
}

.add_field_button {
    display: inline-block;
    border: none;
    margin-bottom: 10px;
    transition: .4s background, .4s color;
    background: #003366;
    border-radius: 5px;
    color: #FFF;
    text-decoration: none;
    padding: 10px 15px;
}

.add_field_button:hover {
    color: #EEE;
    background: #0061a8;
}

.verify-codes {
    display: inline-block;
    transition: .4s background, .4s color;
    background: #00803e;
    border-radius: 5px;
    color: #FFF;
    text-decoration: none;
    padding: 10px 15px;
}

.verify-codes:hover {
    color: #EEE;
    background: #3bb77c;
}

.naics-verified {
    border: 2px solid #00803e !important;
}

.naics-warning {
    border: 2px solid #ff880f !important;;
}

.naics-error {
    border: 2px solid red !important;;
}

.code-verified, .code-not-found, .code-no-input, .code-bad-length {
    display: block;
}

.code-verified {
    color: #00803e;
}

.code-not-found {
    color: #ff880f;
}

.code-no-input, .code-bad-length {
    color: red;
}

#maincol .search-naics-codes {
    width: 255px;
}

.naics-id {
    margin-left: 10px;
}

.naics-id, .naics-description-business {
    float: left;
    color: #3573af;
}

.naics-description-business {
    margin-left: 10px;
}

.naics-break {
    clear: both;
}

/** Servicable Areas **/
div.area-serviced, span.area-serviced {
    display: inline-block;
    padding: 3px 5px;
    background: #EEE;
    margin: 3px 5px 3px 0;
    transition: background-color .3s;
}

.area-serviced {
    /*clear: both;*/
}

div.area-serviced:hover, span.area-serviced:hover {
    background-color: #cccccc;
}

.area-serviced-group {
    display: none;
    clear: both;
}

.remove-area {
    margin-right: 10px;
    color: #0061a8;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.area-serviced-group {
    margin-top: 10px;
}

.area-serviced-group li {
    margin-bottom: 5px;
    list-style-type: none;
    padding: 5px;
    background: #EEE;
}

.naics-search-description {
    /*background: #EEE;*/
    float: left;
    width: 100%;
    /*padding: 5px 15px;*/
    border-bottom: 2px solid #EEE;
}

/*.naics-search-description {*/
    /*font-weight: bold;*/
/*}*/

.naics-search-list {
    width: 100%;
    /*float:left;*/
	background: #fff;
}

.naics-search-list tr td {
    padding: 10px 15px;
}

/*.listings tr td {*/
/*padding: 5px;*/
/*}*/

.naics-search-list tr:nth-of-type(even) {
    background: #EEE;
}

.full-naics-list {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background: #fff;
}

.full-naics-list thead td {
    padding: 12px 15px;
    font-weight: bold;
    font-size: 14px;
    background: #f2f2f2;
    border-bottom: 2px solid #ccc;
}

.full-naics-list tr td {
    padding: 12px 15px;
    vertical-align: top;
    border-bottom: 1px solid #DDD;
}

.full-naics-list tr:nth-child(even) {
    background: #f8f8f8;
}

.full-naics-list tr:hover {
    background: #f3f8ff;
}

.full-naics-list td:first-child {
    width: 110px;
    white-space: nowrap;
    font-weight: bold;
}

.full-naics-list a {
    font-weight: bold;
    text-decoration: none;
}

.full-naics-list a:hover {
    text-decoration: underline;
}

.naics-accordion table.full-naics-list {
    display: none;
    height: 0;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.naics-accordion.naics-accordion-open table.full-naics-list {
    display: block;
    height: auto;
}

.naics-accordion h3 a {
    text-decoration: none;
    font-size: 16px;
    color: #000;
}

.naics-accordion h3 a:hover {
    text-decoration: underline;
}

.naics-parent {
    padding: 5px;
    margin-bottom: 10px;
}

.naics-parent:nth-of-type(odd) {
    background: #EEE;
}

.naics-link-increased-font {
    text-decoration: none;
    font-size: 16px;
    color: #900;
    font-weight: bold;
}

.naics-link-increased-font:hover {
    text-decoration: underline;
}
/* =========================================================
   NAICS Directory Landing Page Redesign
   ========================================================= */

.naics-contracting-hero {
    margin: 0 0 22px;
    padding: 30px 28px;
    border: 1px solid #c9c9c9;
    border-radius: 8px;
    background: #f4f4f4;
    box-sizing: border-box;
}

.naics-contracting-hero-content {
    max-width: 820px;
}

.naics-contracting-eyebrow {
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #666;
}

.naics-contracting-hero h1 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.2;
}

.naics-contracting-hero p {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: #444;
}

.naics-directory-tools {
    display: flex;
    gap: 20px;
    margin: 0 0 28px;
    align-items: stretch;
}

.naics-search-panel,
.naics-browse-panel {
    flex: 1 1 0;
    padding: 22px;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
}

.naics-search-panel {
    flex-basis: 45%;
}

.naics-browse-panel {
    flex-basis: 55%;
}

.naics-search-panel h2,
.naics-browse-panel h2 {
    margin: 0 0 8px;
    font-size: 21px;
}

.naics-search-panel p,
.naics-browse-panel p {
    margin: 0 0 16px;
    line-height: 1.45;
    color: #555;
}

.naics-search-panel form {
    margin: 0;
}

.naics-directory-search-input {
    display: block;
    width: 100%;
    margin: 0 0 12px;
    padding: 12px 13px;
    border: 2px solid #c7c7c7;
    border-radius: 5px;
    box-sizing: border-box;
    background: #fff;
    color: #333;
    font-size: 15px;
    line-height: 1.4;
}

.naics-directory-search-input:focus {
    border-color: #777;
    outline: none;
}

.naics-directory-search-button {
    display: block;
    width: 100%;
    margin: 0;
    padding: 12px 16px !important;
    border: 1px solid #7d0000;
    border-radius: 5px;
    background: #8b0000;
    color: #fff !important;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

.naics-directory-search-button:hover,
.naics-directory-search-button:focus {
    background: #a00000;
}

.naics-sector-shortcuts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px 12px;
}

.naics-sector-shortcuts a {
    display: block;
    padding: 9px 10px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    background: #f8f8f8;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    box-sizing: border-box;
}

.naics-sector-shortcuts a:hover,
.naics-sector-shortcuts a:focus {
    background: #eeeeee;
    text-decoration: none;
}

@media screen and (max-width: 800px) {
    .naics-directory-tools {
        display: block;
    }

    .naics-search-panel,
    .naics-browse-panel {
        margin-bottom: 18px;
    }

    .naics-sector-shortcuts {
        grid-template-columns: 1fr;
    }

    .naics-contracting-hero {
        padding: 22px 18px;
    }

    .naics-contracting-hero h1 {
        font-size: 25px;
    }
}


/* =========================================================
   NAICS Full Directory Redesign - 2026-08-18
   ========================================================= */

.naics-full-directory {
    margin: 22px 0 32px;
}

.naics-directory-sector {
    margin: 0 0 12px;
    border: 1px solid #d7d7d7;
    border-radius: 7px;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

/* Sector header */
.naics-sector-header {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 14px;
    padding: 15px 17px;
    border: 0;
    background: #f6f6f6;
    color: #222;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.naics-sector-header:hover,
.naics-sector-header:focus {
    background: #eeeeee;
    outline: none;
}

.naics-sector-number {
    display: flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #8b0000;
    color: #fff;
    font-size: 19px;
    font-weight: bold;
    line-height: 1;
    box-sizing: border-box;
}

.naics-sector-title {
    flex: 1 1 auto;
    font-size: 17px;
    font-weight: bold;
    line-height: 1.35;
}

.naics-sector-toggle {
    flex: 0 0 auto;
    color: #8b0000;
    font-size: 30px;
    font-weight: normal;
    line-height: 1;
}

/* Hidden NAICS codes until sector is opened */
.naics-sector-codes {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    border-top: 1px solid #dddddd;
    background: #fafafa;
}

/* Support both the old JS class and the new structure */
.naics-directory-sector.naics-accordion-open .naics-sector-codes {
    display: grid;
}

/* Individual NAICS code cards */
.naics-code-card {
    display: flex;
    flex-direction: column;
    min-height: 92px;
    padding: 13px 14px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    text-decoration: none !important;
    box-sizing: border-box;
}

.naics-code-card:hover,
.naics-code-card:focus {
    border-color: #aaa;
    background: #f7f7f7;
    text-decoration: none !important;
}

.naics-code-number {
    display: block;
    margin: 0 0 5px;
    color: #8b0000;
    font-size: 14px;
    font-weight: bold;
}

.naics-code-description {
    display: block;
    flex: 1 1 auto;
    color: #222;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
}

.naics-code-count {
    display: block;
    margin-top: 9px;
    color: #666;
    font-size: 12px;
    font-weight: normal;
}

/* Full directory heading */
.naics-full-directory-heading {
    margin: 8px 0 6px;
    font-size: 25px;
    line-height: 1.25;
}

.naics-full-directory-intro {
    margin: 0 0 18px;
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

/* Mobile */
@media screen and (max-width: 800px) {
    .naics-sector-codes {
        grid-template-columns: 1fr;
    }

    .naics-sector-header {
        padding: 12px;
        gap: 10px;
    }

    .naics-sector-number {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .naics-sector-title {
        font-size: 15px;
    }

    .naics-code-card {
        min-height: 0;
    }
}

/* NAICS advanced search filters */
.naics-more-search-options {
    margin: 0 0 14px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #fafafa;
}

.naics-more-search-options summary {
    padding: 10px 12px;
    font-weight: bold;
    color: #8b0000;
    cursor: pointer;
}

.naics-filter-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    padding: 12px;
    border-top: 1px solid #ddd;
}

.naics-filter-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: bold;
}

.naics-filter-field input[type="text"],
.naics-filter-field select {
    width: 100%;
    padding: 8px 9px;
    border: 1px solid #c8c8c8;
    border-radius: 4px;
    box-sizing: border-box;
    background: #fff;
}

.naics-filter-field-wide,
.naics-filter-checkbox {
    grid-column: 1 / -1;
}

.naics-filter-checkbox label {
    margin: 0;
    font-weight: normal;
}

.naics-filter-checkbox input {
    margin-right: 6px;
}

@media screen and (max-width: 800px) {
    .naics-filter-fields {
        grid-template-columns: 1fr;
    }

    .naics-filter-field-wide,
    .naics-filter-checkbox {
        grid-column: auto;
    }
}

/* NAICS advanced filters - unified search field style */
.naics-filter-fields {
    display: block;
    padding: 12px;
}

.naics-filter-field {
    margin: 0 0 10px;
}

.naics-filter-field label:not(:has(input)) {
    display: none;
}

.naics-filter-field input[type="text"],
.naics-filter-field select {
    display: block;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 11px 13px;
    border: 2px solid #c7c7c7;
    border-radius: 5px;
    background: #fff;
    color: #333;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
}

.naics-filter-field input[type="text"]:focus,
.naics-filter-field select:focus {
    border-color: #777;
    outline: none;
}

.naics-filter-checkbox {
    margin: 2px 0 12px;
    padding: 9px 11px;
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    background: #fff;
    box-sizing: border-box;
}

.naics-filter-checkbox label {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
}

.naics-filter-checkbox input {
    margin: 0 8px 0 0;
}

.naics-more-search-options summary {
    padding: 9px 0;
    color: #333;
    font-size: 14px;
    font-weight: bold;
}

.naics-more-search-options {
    border: 0;
    background: transparent;
}

.naics-grouped-sector {
    display: block;
    padding: 9px 10px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    background: #f8f8f8;
    color: #333;
    font-weight: bold;
    box-sizing: border-box;
}

.naics-grouped-sector:hover {
    background: #eeeeee;
}

.naics-grouped-sector span {
    margin-right: 4px;
}

.naics-grouped-sector a {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8b0000;
    font-weight: bold;
    text-decoration: none;
}

.naics-grouped-sector a:hover,
.naics-grouped-sector a:focus {
    background: transparent;
    text-decoration: underline;
}

/* NAICS sector directory - uniform red tiles */
.naics-sector-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    align-items: stretch;
}

.naics-sector-shortcuts > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    height: 100%;
    padding: 10px 8px;
    border: 1px solid #7d0000;
    border-radius: 6px;
    background: #8b0000;
    color: #fff !important;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    box-sizing: border-box;
}

.naics-sector-shortcuts > a strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 19px;
    line-height: 1;
}

.naics-sector-shortcuts > a:hover,
.naics-sector-shortcuts > a:focus {
    background: #a00000;
    border-color: #6d0000;
    color: #fff !important;
    text-decoration: none !important;
}

@media screen and (max-width: 800px) {
    .naics-sector-shortcuts {
        grid-template-columns: 1fr;
    }

    .naics-sector-shortcuts > a {
        min-height: 64px;
    }
}

/* Return to NAICS Search button */
.naics-return-search-wrap {
    margin: 22px 0 4px;
    text-align: center;
}

.naics-return-search {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #7d0000;
    border-radius: 5px;
    background: #8b0000;
    color: #fff !important;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none !important;
}

.naics-return-search:hover,
.naics-return-search:focus {
    background: #a00000;
    color: #fff !important;
    text-decoration: none !important;
}

.naics-sector-return-search {
    grid-column: 1 / -1;
    margin-top: 8px;
    text-align: center;
}

/* Expanded NAICS search results */
.naics-expanded-search-results {
    margin: 18px 0 26px;
}

.naics-expanded-result-group {
    margin: 0 0 22px;
    border: 1px solid #d5d5d5;
    border-radius: 7px;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

.naics-expanded-result-heading {
    position: relative;
    padding: 16px 18px 14px 88px;
    border-bottom: 1px solid #dcdcdc;
    background: #f6f6f6;
    min-height: 70px;
    box-sizing: border-box;
}

.naics-expanded-result-heading h3 {
    margin: 0 0 5px;
    color: #222;
    font-size: 17px;
    line-height: 1.35;
}

.naics-expanded-result-heading h3::before {
    content: "NAICS";
    position: absolute;
    left: 16px;
    top: 15px;
    width: 56px;
    height: 42px;
    padding-top: 14px;
    border-radius: 5px;
    background: #8b0000;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    box-sizing: border-box;
}

.naics-expanded-result-count {
    color: #666;
    font-size: 13px;
    font-weight: bold;
}

.naics-expanded-result-group table.naics-search-list {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.naics-expanded-result-group table.naics-search-list tr td {
    padding: 12px 14px;
    border-bottom: 1px solid #e1e1e1;
    vertical-align: top;
}

.naics-expanded-result-group table.naics-search-list tr:last-child td {
    border-bottom: 0;
}

.naics-expanded-result-group table.naics-search-list tr:nth-child(even) {
    background: #f7f7f7;
}

.naics-expanded-result-group table.naics-search-list tr:hover {
    background: #f2f2f2;
}

@media screen and (max-width: 800px) {
    .naics-expanded-result-heading {
        padding: 14px;
    }

    .naics-expanded-result-heading h3::before {
        position: static;
        display: inline-block;
        width: auto;
        height: auto;
        margin: 0 6px 6px 0;
        padding: 6px 8px;
        vertical-align: middle;
    }
}
