/*html, body {
    font-size: 14px;
    --rz-body-font-size: .875rem;    #3a474d;
}*/


/* RadzenLayout overrides the base styles, so we force them back to the Bootstrap styles */
html, body {
    --rz-body-font-size: var(--bs-body-font-size);
    --rz-text-font-family: var(--bs-body-font-family);
    --rz-body-line-height: var(--bs-body-line-height);
    --rz-text-color: var(--bs-body-color);
    --rz-panel-menu-font-weight: 400;
    --rz-panel-menu-font-size: var(--bs-body-font-size);
}

.rz-button {
    font-size: 1rem;
}

.rz-button-sm {
    font-size: 0.875rem;
}

/* -webkit-font-smoothing: auto !important;
-moz-osx-font-smoothing: initial !important; */

/* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
/* font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
/*@media (min-width: 1600px) {
    html, body {
        font-size: 16px;
        --rz-body-font-size: 1rem;
    }
}*/
a, .btn-link {
    color: #006bb7;
    text-decoration: none;
    background-color: transparent;
}

    a:hover {
        text-decoration: underline;
    }

a.btn {
    text-decoration: none;
}

a.nav-link {
    text-decoration: none;
}

/* Allows grayed-out Select box placeholder */
select:has(option:disabled:checked[hidden]) {
    color: gray;
}

select option {
    color: black;
}


.form-check-input[type=radio] {
    width: 1rem;
    height: 1rem;
    border-color: #6c757d;
}

.form-check-input[type=checkbox] {
    width: 1rem;
    height: 1rem;
    border-color: #6c757d;
}



.drop-zone {
    padding: 32px;
    border: dashed 2px #ccc;
    transition: border linear 0.2s;
}

    .drop-zone.hover {
        border: dashed 2px darkorange;
    }


/* ******************* */

.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

.form-asterisk {
    color: red;
}

.large-checkbox {
    width: 1.6em;
    height: 1.6em;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.medium-button {
    height: 30px;
    padding: 0 10px;
}

/* This creates a double line around form fields */
/*.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}*/

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

@media (min-width: 800px) {

    /* Equivalent of H3 */
    .title3 {
        font-size: 1.75rem;
        font-weight: 500;
        margin-top: 0;
        margin-bottom: .5rem;
        line-height: 1.2;
    }

    /* Equivalent of H4 */
    .title4 {
        font-size: 1.5rem;
        font-weight: 500;
        margin-top: 0;
        margin-bottom: .5rem;
        line-height: 1.2;
    }

    /* Equivalent of H5 */
    .title5 {
        font-size: 1.25rem;
        font-weight: 500;
        margin-top: 0;
        margin-bottom: .5rem;
        line-height: 1.2;
    }
}

@media (max-width: 799.98px) {
    /* Equivalent of H3 */
    .title3 {
        font-size: 1.5rem;
        font-weight: 500;
        margin-top: 0;
        margin-bottom: .5rem;
        line-height: 1.2;
    }

    /* Equivalent of H4 */
    .title4 {
        font-size: 1.25rem;
        font-weight: 500;
        margin-top: 0;
        margin-bottom: .5rem;
        line-height: 1.2;
    }

    /* Equivalent of H5 */
    .title5 {
        font-size: 1.15rem;
        font-weight: 500;
        margin-top: 0;
        margin-bottom: .5rem;
        line-height: 1.2;
    }
}

/*.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}*/

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
    margin-top: 0.25rem;
    font-size: .875em;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJ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jMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.errorUI {
    background: white;
    padding: 1rem 1rem 1rem 3.7rem;
    color: black;
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}


/* This class is included here because the component's CSS isolation doesn't seem to be working */
/*.radzen-grid-button {
    height: 25px;
}*/

.radzen-grid-button-cell {
    padding: 4px 7px !important;
}

/* Shows Radzen icons using the filled variation */
.filled-icon {
    font-variation-settings: 'FILL' 1;
}

.radzen-dialog-footer {
    border-top: 1px solid #ECEFF1;
    padding-top: 10px;
}


/* Radzen styles */

:root {
    /*--rz-primary: #3e5b87;
	--rz-secondary: #3e5b87;*/
    /*--rz-info: #00b5b8;*/ /* teal */
    /*--rz-primary: #3481e5;
	--rz-secondary: #5b6471; */
    --rz-primary: #1b6ec2; /* bootstrap default */
    --rz-secondary: #5b6471; /* gray */
    /*--rz-info: #35a0d7;*/ /* blue */
    --rz-danger: #b3261e; /* red */
    /* Copied from Radzen Material 3 colors -- https://blazor.radzen.com/colors?theme=material3 */
    /*--rz-primary: #3481e5;
	--rz-primary-light: #bcd8ff;
	--rz-primary-lighter: rgba(0, 111, 255, 0.13);
	--rz-primary-dark: #375a8b;
	--rz-primary-darker: #00215d;
	--rz-secondary: #5b6471;
	--rz-secondary-light: #c2cddc;
	--rz-secondary-lighter: rgba(0, 107, 255, 0.13);
	--rz-secondary-dark: #444c58;
	--rz-secondary-darker: #19212b;
	--rz-info: #085786;
	--rz-info-light: #aadaff;
	--rz-info-lighter: rgba(170, 218, 255, 0.5);
	--rz-info-dark: #086791;
	--rz-info-darker: #002d41;
	--rz-success: #386A20;
	--rz-success-light: #c0ffaa;
	--rz-success-lighter: rgba(192, 255, 170, 0.5);
	--rz-success-dark: #3e9108;
	--rz-success-darker: #194100;
	--rz-warning: #e8e971;
	--rz-warning-light: #f9ffaa;
	--rz-warning-lighter: rgba(249, 255, 170, 0.5);
	--rz-warning-dark: #918908;
	--rz-warning-darker: #413d00;
	--rz-danger: #b3261e;
	--rz-danger-light: #ffb4aa;
	--rz-danger-lighter: rgba(255, 180, 170, 0.5);
	--rz-danger-dark: #91080a;
	--rz-danger-darker: #410001;
	--rz-on-primary: #ffffff;
	--rz-on-primary-light: #00215d;
	--rz-on-primary-lighter: #00215d;
	--rz-on-primary-dark: #ffffff;
	--rz-on-primary-darker: #bcd8ff;
	--rz-on-secondary: #ffffff;
	--rz-on-secondary-light: #19212b;
	--rz-on-secondary-lighter: #19212b;
	--rz-on-secondary-dark: #ffffff;
	--rz-on-secondary-darker: #c2cddc;
	--rz-on-info: #ffffff;
	--rz-on-info-light: #002d41;
	--rz-on-info-lighter: #086791;
	--rz-on-info-dark: #ffffff;
	--rz-on-info-darker: #aadaff;
	--rz-on-success: #ffffff;
	--rz-on-success-light: #194100;
	--rz-on-success-lighter: #194100;
	--rz-on-success-dark: #ffffff;
	--rz-on-success-darker: #c0ffaa;
	--rz-on-warning: #1b1d20;
	--rz-on-warning-light: #413d00;
	--rz-on-warning-lighter: #413d00;
	--rz-on-warning-dark: #ffffff;
	--rz-on-warning-darker: #f9ffaa;
	--rz-on-danger: #ffffff;
	--rz-on-danger-light: #410001;
	--rz-on-danger-lighter: #410001;
	--rz-on-danger-dark: #ffffff;
	--rz-on-danger-darker: #ffb4aa;*/


    --rz-dialog-title-background-color: #1861ac;
    --rz-dialog-title-color: white;
    --rz-dialog-close-color: white;
    --rz-dialog-close-hover-color: #8cb0d6;
    --rz-dialog-title-font-weight: 500;

    /*--rz-sidebar-background-color: #7d8386;*/
}

/* Make grid column headers mixed case. */
.rz-data-grid {
    --rz-grid-header-text-transform: none;
    --rz-grid-header-font-size: 12px;
    --rz-grid-cell-font-size: 12px;
}

.rz-button-md {
    font-weight: 500;
}

/*:root {
    --rz-menu-top-item-color: #8cb0d6;
    --rz-menu-top-item-background-color: transparent;
    --rz-menu-top-item-hover-color: white;
    --rz-panel-menu-item-active-color: white;
    --rz-panel-menu-item-active-indicator: white;
    --rz-menu-top-item-selected-color: white;

}*/




/* -----------------  */

.top-container {
    max-width: 1880px;
}

.top-navbar {
    background-color: #1861ac;
    z-index: 990;
}

.top-navbar-items {
    display: flex;
    padding: 5px;
    font-size: .95rem;
}


/* Fix the gap in the nav menu when it auto-opens on hover */
.navbar .dropdown:hover .dropdown-menu {
    margin-top: 0;
}


.main-content-container {
    width: 100%;
    max-width: 1140px;
    padding: 0 15px;
}

/*.main-content-container-aa {
    width: auto;
    max-width: 1400px;
    padding: 0 15px;
}*/

.main-content-container-aa-home {
    width: 100%;
    max-width: 1140px;
    padding: 0 15px;
}

.main-content-container-aa {
    width: 100%;
    max-width: 1600px;
    padding: 0;
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}


.footer-container {
    width: auto;
    max-width: 1140px;
    padding: 0 15px;
}

.footer-container-aa {
    width: auto;
    max-width: 1880px;
    padding: 0 15px;
}

.footer-div {
    padding-left: 20px;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 40px; /* Vertically center the text there */
}

.footer-radzen {
    background-color: var(--rz-base-200);
}

.topbar-website-title {
    display: block;
    padding: 0.5rem 1rem;
}

    .topbar-website-title .title-name {
        color: red;
        font-weight: bold;
        padding-left: 1.5rem;
    }

    .topbar-website-title .separator {
        
        color: white;
    }

.footer-website-title {
    display: inline;
    padding: 0 1rem;
}

    .footer-website-title .title-name {
        color: red;
        font-weight: bold;
        padding-left: 1.3rem;
    }

    .footer-website-title .separator {
        
    }


.dialog-share-link-bar {
    background-color: #1b6ec2;
    color: white;
}


.white {
    color: #ffffff !important;
}

.red {
    color: #dc3545 !important;
}

.search-Highlight {
    color: #07c25b !important;
    font-weight: bold;
}


.date-input-table {
    margin: 0;
}

    .date-input-table td {
        padding: .3rem 0 .3rem .6rem;
        white-space: nowrap;
    }

    .date-input-table .td1 {
        width: 125px;
        text-align: left;
        padding: .3rem 0 .3rem 0;
    }

    .date-input-table .td2 {
        width: 35px;
    }

    .date-input-table .td3 {
        width: 135px;
        text-align: left;
        padding: .3rem 0 .3rem .6rem;
    }



.card-header-custom {
    background-color: #1861ac;
    color: white;
}


.line-spacer-checkbox {
    margin-bottom: 0.5rem;
}




/********** page-specific **********/


.login-box {
    max-width: 500px;
}


/* BC application cart selection */
.bc-application-cart {
    border: 1px solid black;
    width: 400px;
    padding: 5px;
    z-index: 9999;
    background-color: #1861ac;
    color: white;
}

    .bc-application-cart .cart-title-text {
        font-weight: bold;
        color: white;
        text-align: center;
        margin-bottom: 4px;
        border-bottom: 1px solid white;
    }

    .bc-application-cart table {
        margin-left: auto;
        margin-right: auto;
    }

    .bc-application-cart td {
        padding: 0px 5px;
    }

    .bc-application-cart .cart-button {
        background-color: #35a0d7;
        color(): white;
    }


.bc-application-title {
    color: #1861ac;
}

.bc-application-footnote {
    color: #1861ac;
    font-size: small;
}

/*.board-application .col1 {
    width: 115px;
}*/

.search-boards .col1 {
    width: 180px;
    padding-right: 0;
    margin-right: 0;
}

.search-boards .col2 {
    width: 230px;
}

.boards-detail {
    margin-left: 20px;
}
    
    .boards-detail .col1 {
        width: 180px;
        text-align: right;
        font-weight: bold;
    }

    .boards-detail .col2 {
        width: 80px;
        padding-left: 0;
        margin-left: 0;
    }

    .boards-detail .col3 {
        width: 260px;
        text-align: right;
        font-weight: bold;
    }

    .boards-detail .col4 {
        width: 70px;
        padding-left: 0;
        margin-left: 0;
    }

    .boards-detail .col-last {
        padding-left: 0;
        margin-left: 0;
    }




.search-apcdhb .col1 {
    width: 130px;
}

.search-apcdhb .col2 {
    width: 300px;
}

.search-apcdhb .col2a {
    width: 100px;
}


.search-bos .col1 {
    width: 158px;
}

.search-bos .col2 {
    width: 300px;
}


.search-ordinance .col1 {
    width: 110px;
}

.search-ordinance .col2 {
    width: 309px;
}

.search-ordinance .col2a {
    width: 90px;
}


.bos-detail {
    margin-left: 20px;
}

    .bos-detail .col1 {
        width: 180px;
        text-align: right;
        font-weight: bold;
    }

    .bos-detail .col2 {
        width: 200px;
        padding-left: 0;
        margin-left: 0;
    }

    .bos-detail .col3 {
        width: 180px;
        text-align: right;
        font-weight: bold;
    }

    .bos-detail .col-last {
        padding-left: 0;
        margin-left: 0;
    }



.apcdhb-detail {
    margin-left: 20px;
    margin-right: 20px;
}

    .apcdhb-detail .col1 {
        width: 180px;
        text-align: right;
        font-weight: bold;
    }

    .apcdhb-detail .col2 {
        width: 180px;
        padding-left: 0;
        margin-left: 0;
    }

    .apcdhb-detail .col3 {
        width: 100px;
        text-align: right;
        font-weight: bold;
    }

    .apcdhb-detail .col4 {
        width: 70px;
        padding-left: 0;
        margin-left: 0;
    }

    .apcdhb-detail .col-last {
        padding-left: 0;
        margin-left: 0;
    }



.ordinance-detail {
    margin-left: 20px;
    margin-right: 20px;
}

    .ordinance-detail .col1 {
        width: 180px;
        text-align: right;
        font-weight: bold;
    }
        

    .ordinance-detail .col-last {
        padding-left: 0;
        margin-left: 0;
    }



.search-campaignfinance .col1 {
    width: 110px;
}

.search-campaignfinance .col2 {
    width: 300px;
}


.campaignfinance-detail {
    margin-left: 20px;
    margin-right: 20px;
}

    .campaignfinance-detail .col1 {
        width: 180px;
        text-align: right;
        font-weight: bold;
    }

    .campaignfinance-detail .col2 {
        padding-left: 0;
        margin-left: 0;
    }

    .campaignfinance-detail .col-last {
        padding-left: 0;
        margin-left: 0;
    }






.aa-login-title {
    color: #1861ac;
}


.app-header-prop td {
    font-size: .85rem;
    padding: 3px;
}

.app-form {
    background-color: #f7f7f7;
}

.app-wizard-button {
    width: 220px;
    height: 38px;
    margin-bottom: 6px;
    display: block;
    font-size: 14px;
}


.app-wizard .dropdown .btn {
    width: 250px;
}

.app-wizard .dropdown .dropdown-menu {
    width: 260px;
}


.app-wizard .nav-link {
    width: 220px;
    border-radius: 0.25rem;
}

.app-wizard .app-content {
    min-width: 830px;
}

.app-wizard .active {
    background: #84bde0;
    color: #fff;
    cursor: pointer;
}

.app-wizard .done {
    background: #84bde0;
    color: #fff;
    cursor: pointer;
}

.app-wizard .incomplete {
    background: #84bde0;
    color: #fff;
    cursor: pointer;
}

.app-wizard .unvisited {
    background: #eee;
    color: #aaa;
    cursor: pointer;
}

.app-wizard .disabled {
    background: #eee;
    color: #aaa;
    cursor: default;
}

.app-wizard .done a:hover {
    background: #1b6ec2;
    color: #fff;
}

.app-wizard .label1 {
    width: 195px;
}

.app-wizard .label2 {
    width: 175px;
}

.app-wizard .labelPropertyInfo {
    width: 110px;
}


/* For the AA step drop-down */
.unvisited-dd {
    color: #aaa;
    font-weight: bold;
}

.visited-dd {
    color: #1b6ec2;
    font-weight: bold;
}


.label-certification {
    width: 190px;
}


.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}



.applicant-table {
    margin-top: 0;
    margin-bottom: 0;
}

    .applicant-table td {
        padding: .2rem .3rem .2rem .6rem;
        white-space: nowrap;
    }

        .applicant-table td:nth-of-type(1) {
            width: 150px;
        }

    .applicant-table .field-value {
        font-weight: bold;
    }


.propvalue-table {
    margin-top: 0;
    margin-bottom: 0;
}

    .propvalue-table td {
        padding: .2rem .3rem .2rem .6rem;
        white-space: nowrap;
    }

        .propvalue-table td:nth-of-type(1) {
            width: 194px;
        }

        .propvalue-table td:nth-of-type(2), .propvalue-table td:nth-of-type(3) {
            width: 165px;
        }


.disclaimer-list li {
    list-style-type: square;
}

    /* Add spacing above all but the first item  */
    .disclaimer-list li + li {
        margin-top: 20px;
    }

/* Shrink the vertical spacing for line breaks */
.disclaimer-list br {
    display: block;
    margin-top: 10px;
    content: " ";
}


.value-change .col1 {
    width: 170px;
}

.valuechange-table {
    margin-top: 0;
    margin-bottom: 0;
}

    .valuechange-table td {
        padding: .2rem .3rem .2rem .6rem;
        white-space: nowrap;
    }

        .valuechange-table td:nth-of-type(1) {
            width: 194px;
        }

        .valuechange-table td:nth-of-type(2), .valuechange-table td:nth-of-type(3) {
            width: 165px;
        }

        .valuechange-table td:nth-of-type(4) {
            width: 165px;
        }

    .valuechange-table .table-title {
        background-color: #eeeeee;
        border-width: 1px;
        border-style: solid;
    }

    .valuechange-table .table-cell {
        font-weight: bold;
        border-width: 1px;
        border-style: solid;
    }

    .valuechange-table .table-total {
        background-color: #eeeeee;
        font-weight: bold;
        border-width: 1px;
        border-style: solid;
    }

.valuechange-file-table {
    margin-top: 0;
    margin-bottom: 0;
}

    .valuechange-file-table td, .valuechange-file-table th {
        padding: .3rem .7rem .3rem .7rem;
        white-space: nowrap;
    }


.color-approved {
    color: #31b611;
}

.color-canceled {
    color: #dc3545;
}


/* Reason for Filing (FACTS) */
.FactsDateList {
    width: 410px;
}
