/* Shared common application CSS. Client branding is loaded separately from /client-assets/css/app.css. */
:root {
    --primary-font: "Roboto";
    --primary-bg-color: #f0f0f0;
}

/* =========================================================
   FONTS
   ========================================================= */

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto/static/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto/static/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto/static/Roboto-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto/static/Roboto-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto/static/Roboto-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

/* =========================================================
   GLOBAL BASE
   ========================================================= */

html,
body {
    font-family: var(--primary-font) !important;
}

button,
input,
optgroup,
select,
textarea {
    font-family: var(--primary-font) !important;
}

a,
.btn-link {
    color: #006cbb;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.hidden-element {
    display: none !important;
}

.visible-element {
    display: block !important;
}

/* =========================================================
   BLAZOR ERROR BOUNDARY
   ========================================================= */

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAzODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDg2IDYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred";
    }

/* =========================================================
   LAYOUT SYSTEM
   ========================================================= */

.layout-container,
.layout-row,
.layout-column {
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

.layout-container {
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
    gap: 10px;
}

    .layout-container > :last-child {
        margin-top: auto;
    }

.layout-row {
    flex-direction: row;
}

.layout-column {
    flex-direction: column;
    gap: var(--gutter);
}

header .layout-column {
    display: block;
}

.layout-item {
    container-type: inline-size;
    box-sizing: border-box;
    display: flex;
    align-items: baseline;
    flex-grow: 1;
    flex-shrink: 1;
}

#Component-rss-section.layout-item {
    overflow: visible !important;
}

footer .layout-item,
header .layout-item {
    box-shadow: none !important;
}

/* Hamburger background color*/
.hamburger-bgcolor {
    background-color: #808080;
}

/* @media (max-width: 944px) { */
/* .layout-row:not(header .layout-row) { */
/* flex-direction: column; */
/* max-width: 100% !important; */
/* } */

/* .layout-row:not(header .layout-row) > .layout-item { */
/* flex-basis: 100% !important; */
/* width: 100%; */
/* } */
/* } */

/* =========================================================
   FOOTER
   ========================================================= */

.footer-padding p {
    margin-bottom: .9rem;
}

.footer-padding {
    display: flex;
    justify-content: space-between;
    padding: 0 110px;
}

@media only screen and (max-width: 760px) {
    .footer-padding {
        padding: 0 17px;
    }
}

@media only screen and (max-width: 650px) {
    .footer-padding {
        justify-content: center;
        padding: 0 17px !important;
        flex-direction: column;
        align-items: center;
    }

        .footer-padding p {
            margin-bottom: 6px;
        }
}

/* =========================================================
   GENERIC CONTROL OVERRIDES
   ========================================================= */

.dropdown-button-container button:nth-of-type(2) {
    display: none;
}

.back-btn {
    background: #8BCCB7 !important;
}

    .back-btn:hover {
        background: #8BCCB7 !important;
    }

.e-list-item {
    height: auto !important;
}

.e-menu-wrapper ul .e-menu-item .e-caret,
.e-menu-container ul .e-menu-item .e-caret {
    line-height: 39px !important;
    right: 4px !important;
}

.published-date {
    min-height: 18px !important;
}

/* Remove Syncfusion valid border glow */
.e-control-wrapper.e-success,
.e-input-group.e-success,
.e-float-input.e-success,
.e-float-input.e-success input,
.e-input-group.e-success input,
.e-input-group.e-success .e-input-group-icon,
.e-input-group.e-success .e-control-wrapper,
.e-control-wrapper.e-success .e-input-group {
    border-color: #d0d5dd !important;
    box-shadow: none !important;
}

    .e-control-wrapper.e-success.e-input-focus,
    .e-input-group.e-success.e-input-focus,
    .e-control-wrapper.e-success:focus-within,
    .e-input-group.e-success:focus-within {
        box-shadow: none !important;
        outline: none !important;
    }

/* Shared font normalization */
.e-input-group,
.e-input-group.e-control-wrapper,
.e-outline.e-input-group.e-control-wrapper .e-input,
.e-control,
.e-css,
.e-error,
.e-btn,
.e-css.e-btn,
.e-ddl.e-input-group .e-input-value,
.e-ddl.e-input-group .e-input-value:focus,
.e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-text,
.e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-icon,
.e-tab .e-tab-header .e-toolbar-item .e-tab-text,
.e-tab .e-tab-header .e-toolbar-item .e-tab-icon,
.e-checkbox-wrapper .e-label,
.e-accordion .e-acrdn-item.e-select.e-expand-state > .e-acrdn-header .e-acrdn-header-content,
.e-accordion .e-acrdn-item.e-select.e-selected.e-expand-state > .e-acrdn-header .e-acrdn-header-content,
.e-accordion .e-acrdn-item.e-select,
.e-accordion .e-acrdn-item.e-selected.e-select.e-active,
.e-accordion .e-acrdn-item.e-expand-state.e-select,
.e-accordion .e-acrdn-item .e-acrdn-header,
.e-accordion .e-acrdn-item.e-select.e-expand-state > .e-acrdn-header,
.e-accordion .e-acrdn-item .e-acrdn-header > .e-toggle-icon,
.e-accordion .e-acrdn-item.e-select.e-expand-state > .e-acrdn-header > .e-toggle-icon,
.e-accordion .e-acrdn-item .e-acrdn-header > .e-toggle-icon:hover,
.e-accordion .e-acrdn-item.e-select.e-expand-state > .e-acrdn-header > .e-toggle-icon:hover,
.e-custom.e-input-group input.e-input,
.e-custom.e-input-group.e-control-wrapper input.e-input,
.e-breadcrumb .e-breadcrumb-item .e-breadcrumb-text,
.e-breadcrumb .e-breadcrumb-item .e-breadcrumb-text:hover,
.e-radio + label .e-label,
.e-dropdownbase .e-list-item,
.e-dropdownbase .e-list-item.e-item-focus,
.e-multi-select-wrapper .e-multi-searcher input[type=text],
.e-multiselect.e-control-wrapper.e-control-container.e-input-group.e-checkbox .e-multi-select-wrapper.e-down-icon {
    font-family: var(--primary-font) !important;
}

/* =========================================================
   SHARED SITE RULES
   ========================================================= */

.rss-btn.gray-out {
    filter: grayscale(100%) !important;
    opacity: 0.6 !important;
    pointer-events: none !important;
}

.card {
    border-radius: 0 !important;
}

.loan-date-summary[b-iuqb0c8fz6] {
    font-size: 15px !important;
}

.loan-status-pill.is-normal[b-iuqb0c8fz6] {
    font-size: 15px !important;
}

.loan-status-pill.is-overdue[b-iuqb0c8fz6] {
    font-size: 15px !important;
}

.loan-meta-item label[b-iuqb0c8fz6] {
    font-size: 15px !important;
}
