.content-with-border {
    border: solid 1px var(--brand-gray-primary);
    border-radius: 5px;
    padding: 5px;
    margin-top: 5px;
}

    .content-with-border.thick {
        border: solid 3px var(--brand-gray-primary);
    }

body {
    padding: 0 0 0 0;
    font-size: var(--brand-body-font-size);
}

img.logo {
    border: 0;
    height: 45px;
}

header .select2 {
    text-align: left;
}

#headerMain {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 0 0 0 0;
    z-index: 20;
    text-align: -webkit-center;
}

#divHeaderMain {
    max-width: 1200px;
    width: 100%;
}

#navHeaderMain {
    width: 100%;
    justify-content: end;
}

    #navHeaderMain li {
        text-align: right;
    }

        #navHeaderMain li input[type=submit] {
            float: right;
        }

#ddReitContactsHeader {
    width: 200px;
}

#ctl00_cphMainChild_ddREITList, ddREITList {
    display: inline-block;
    width: calc(100% - 200px);
    min-width: 300px;
}

.table > :not(caption) > * > * {
    padding-top: 0.2rem;
    padding-right: 0.2rem;
    padding-bottom: 0.2rem;
    padding-left: 0.2rem;
    border: 1px solid black;
}

main {
    margin-top: 70px;
    margin-bottom: 70px;
    max-width: 1200px;
}


footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding-bottom: 5px;
    padding-top: 5px;
    color: var(--brand-black);
    text-align: center;
    font-size: 10px;
}

    footer div:has(a) {
        line-height: 18px;
    }

    footer a {
        padding: 0 3px;
        font-size: 12px;
    }

.divScroll {
    overflow-y: scroll;
    display: block;
    overflow-x: hidden;
}

.tooltip {
    pointer-events: none;
}

[data-bs-toggle="tooltip"] {
    cursor: pointer;
}

.modal-header {
    padding: 6px 6px 6px 6px;
}

.marginLeft {
    margin-left: 10px;
}

.marginRight {
    margin-right: 10px;
}

.form-select {
    padding: .2rem .5rem .2rem .5rem;
    font-size: var(--brand-body-font-size);
}

.card-body {
    overflow-y: scroll;
    display: block;
    padding-top: 0;
    padding-bottom: 0;
}

.container-fluid.border-bottom {
    border-bottom: 1px solid;
    border-bottom-color: var(--bs-gray);
    margin-bottom: 10px;
}

.gridPadL3 {
    padding-left: 3px;
}

.gridPadR3 {
    padding-right: 3px;
}

.right {
    text-align: right;
}

.btn-light {
    border-bottom: thin solid var(--bs-border-color);
}

.btn {
    display: inline-block;
    text-align: left;
}

    .btn.icon-only {
        border: none;
        background-color: initial;
        font-size: var(--brand-icon-font-size);
        padding: 3px 3px 3px 3px;
        cursor: pointer;
    }

a.icon-only {
    font-size: var(--brand-icon-font-size);
    cursor: pointer;
    text-decoration: none;
}

td a:has(.bi) {
    cursor: pointer;
    text-decoration: none;
    padding: 0;
}

td i.bi {
    font-size: var(--brand-icon-font-size);
    color: black;
}

td button:has(.bi) {
    padding: 0;
}

td:has(i.bi) {
    vertical-align: middle;
    text-align: center;
}

a {
    color: var(--brand-link);
}

    a.icon-only-md {
        font-size: var(--brand-icon-font-size);
    }

h1 a .bi-info-circle {
    font-size: var(--brand-heading-font-size);
}

.bi-file-earmark-excel, .bi-file-earmark-excel-fill {
    color: green;
}

.bi-trash-fill, .bi-trash, .bi-ban {
    color: var(--brand-red-primary);
}

.bi-file-earmark-pdf-fill {
    color: maroon;
}

.bi-info-circle {
    color: var(--bs-blue);
    margin-left: 5px;
}

.bi-exclamation-circle {
    color: var(--brand-red-primary) !important;
}

/****************************************/
/* COPIED FROM RIMS BRANDING UPDATES    */
/****************************************/

body > header:first-child {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding-bottom: 5px;
    z-index: 900;
}

thead tr {
    text-align: center;
    vertical-align: bottom;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    font-family: var(--brand-font);
    font-weight: 500;
}

/* FONT SIZE */
.h1, h1 {
    font-size: 2rem;
}

.h2, h2 {
    font-size: 1.5rem;
}

.h3, h3 {
    font-size: 1.25rem;
}

.h4, h4 {
    font-size: 1rem;
    margin: 0;
}

.h5, h5 {
    font-size: .75rem
}

.h6, h6 {
    font-size: .5rem
}

.searchable {
    z-index: 99999;
}

.multiline {
    white-space: pre-wrap;
}

/* style file import buttons like btn btn-primary */
/* ReSharper disable once CssNotResolved */
input::file-selector-button {
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-size: 14px;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: #fff;
    --bs-btn-border-width: var(--bs-border-width);
    --bs-btn-border-radius: var(--bs-border-radius);
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
}

/* ReSharper disable once CssNotResolved */
input::file-selector-button {
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out
}

.bi-plus-lg, .bi-arrow-left, .bi-arrow-left-right, .bi-arrow-repeat, .bi-arrow-right, .bi-arrow-counterclockwise {
    /* ReSharper disable once InvalidValue */
    -webkit-text-stroke: 1.5px;
}

.bi-sort-alpha-down, .bi-sort-alpha-down-alt {
    font-size: 20px;
}

.btn-primary .bi, .btn-danger .bi {
    color: white !important; /* override custom colors */
    -webkit-text-stroke: unset !important; /* override custom stroke weight */
}

.icon-md {
    font-size: 16px;
}

.icon-lg {
    font-size: 20px;
}

.icon-xl {
    font-size: 24px;
}

.alert-danger {
    background-color: var(--brand-danger);
}

.alignRight {
    text-align: right;
}

.padRight {
    padding-right: 10px !important;
}

.floatRight {
    float: right
}

th [type=submit]:has(.bi) {
    padding: 0;
    border: none;
    background-color: initial;
}

td {
    font-size: var(--brand-grid-font-size);
}

    td button .bi {
        font-size: var(--brand-icon-font-size);
        color: black;
    }

.dg-cell-wrap {
    white-space: normal;
}

.dg-cell-wrap-break-word {
    white-space: normal;
    overflow-wrap: break-word;
}

.accordion-button {
    font-weight: bold;
    padding-top: 8px;
    padding-bottom: 8px;
}

h1 .select2-selection__rendered {
    font-weight: bold !important;
}

.bold {
    font-weight: bold;
}

/* Select2 dropdown option hover (works) */
.select2-results__option--highlighted {
    background-color: var(--brand-cyan-primary) !important;
}

/* Native select hover (limited browser support - only works on the select element itself, not options) */
select:hover {
    border-color: var(--brand-cyan-primary);
}

.select2 {
    max-width: 800px;
}

.selection, .select2-container, .select2-container .select2-selection--single {
    display: inline-grid;
}


/****************************************/
/****************************************/

.button-width-md {
    width: 150px;
}

.indent-under-icon {
    margin-left: 1.75rem;
}

.indent-under-radio {
    margin-left: 35px;
}
