html, body {
    background: #F5F5F5; /*Color Hex WhiteSmoke*/
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
    cursor: pointer;
}

/*Note: This is the same as .rad-primary, but left it here in case we need to revert since .btn-primary is used in many of the bootstrap templates/samples */
.btn-primary {
    color: #FFFFFF; /*White (the text color)*/
    background-color: #206A5E !important; /*SC brand dark green*/
    border-color: #206A5E !important; /*SC brand dark green*/
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #FFFFFF; /*White (the text color)*/
    background-color: #206A5E !important; /*SC brand dark green*/
    border-color: #206A5E !important; /*SC brand dark green*/
}

.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;
}

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

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

.validation-message {
    color: #e50000;
}

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

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

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

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.top-left-image {
    max-width: 200px;
    padding-left: 5px;
}

.rad-margin-top-space-above-control {
    margin-top: 20px !important;
}

.rad-p-fine-print {
    margin-top: 2px;
    margin-bottom: 0px;
    font-size: 10pt;
}

.rad-text-below-heading {
    margin-top: 0px !important;
}

.rad-text-with-small-left-padding {
    padding-left: 5px;
}

.rad-list {
    list-style-type: disc; /* Default bullet points */
}

    .rad-list li {
        margin-top: 5px; /* Space between list items */
    }

    .rad-list .nested-list {
        list-style-type: circle; /* Different bullet points for nested list */
    }

.rad-control {
    display: flex;
    align-items: center;
    justify-content: center; /* Optional: to center text horizontally as well */
    border-radius: 6px;
    border-color: #206A5E;
    height: 20px;
    font-size: 9pt;
    text-align: center;
    padding: 2px;
}

.rad-control-large {
    display: flex;
    align-items: center;
    justify-content: center; /* Optional: to center text horizontally as well */
    border-radius: 6px;
    border-color: #206A5E;
    height: 20px;
    min-width: 200px;
    max-width: 800px;
    font-size: 12pt;
    text-align: center;
    margin-right: auto;
    margin-bottom: 10px
}

.rad-icon-large-left {
    font-size:12pt; 
    margin-right:auto;
}

.rad-wait-cursor-as-image-with-text {
    max-width: 48px;
    max-height: 48px
}

.rad-text-color-dark-green {
    color: #206A5E; /*SC brand dark green*/
}

.rad-control-primary {
    color: #FFFFFF; /*White (the text color)*/
    background-color: #206A5E; /*SC brand dark green*/
}
/*These 2 are just inverse background/color*/
/*Also setting the same border for both so that an active buttion is the same size as inactive (and has a click visual effect)*/
.rad-control-primary-inactive {
    color: #206A5E;
    background-color: #FFFFFF; /*White*/
}

.rad-sidebar {
    /*background color is defined by the body element*/
    display: flex;
    flex-direction: column;
    padding: 3px;
    padding-top: 0px;
    margin-top: 5px;
    width: 98%; /*Pushing it to 99 or 100 seems to force an unneeded vertical scrollbar in some cases*/
}

.rad-sidebar-component {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 10px;
}

.rad-label {
    font-size: 11pt;
    font-weight: bold;
}

.rad-label-with-right-margin {
    font-size: 11pt;
    font-weight: bold;
    margin-right: 2px;
}

.rad-bold-white-label {
    font-size: 12pt;
    color: white;
}

.rad-sidebar-picklist-max-width {
    max-width: 110px;
}

.rad-sidebar-component-textarea {
    font-family: monospace, sans-serif;
    font-size: 11pt;
    line-height: 1.0;
    width: 98%; /*Keep at 98% to avoid unneeded scroll bar an to not-get behind it if it's there*/
    overflow-y: auto;
    height: 50px; /*Initial height - currently this is the primary "tuning" factor of the overall sidebar height*/
    resize: vertical;
    border-style: solid;
    border-width: 1px;
}

.rad-textarea-no-wrap {
    white-space: pre;
}

.rad-textarea-not-editable-background {
    background-color: #E5E4E2; /*Platinum, a lighter grey than lightgrey*/
}

.rad-textarea-lit-up-background {
    background-color: #F68632; /*SC Orange*/
}

.rad-textarea-all-clear-background {
    background-color: #81B341; /*SC Light Green*/
}

.rad-component-full-width-with-margins {
    width: 95%;
    margin-left: 5px;
    margin-right: 5px;
}

.rad-flex-column {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rad-flex-item-top {
    margin-bottom: auto;
}

.rad-flex-item-bottom {
    margin-top: auto;
}

.rad-flex-item-fill-vertical {
    flex: 1;
}

.rad-flex-column-component {
    width: 100%;
}

.rad-flex-row-wrap-controls {
    display: flex;
    align-items: center; /* this is vertical allignment */
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 3px;
    margin-bottom: 3px;
    width: 98%;
}

.rad-flex-row {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.rad-flex-item-left {
    margin-right: auto;
}

.rad-flex-item-right {
    margin-left: auto;
}

.rad-flex-item-fill-horizontal {
    flex: 1;
    margin-left: 5px;
    margin-right: 5px;
}

.rad-hover-color-padding-adjacent-items {
    padding-left: 5px;
    padding-right: 5px;
    cursor: pointer;
}

.rad-hover-color-padding-adjacent-items-compressed {
    padding-left: 2px;
    padding-right: 2px;
    cursor: pointer;
}

.rad-hover-color-padding-left-only {
    padding-left: 10px;
    cursor: pointer; /* Change cursor to pointer (hand) */
}

.rad-hover-color-padding-right-only {
    padding-right: 10px;
    cursor: pointer; /* Change cursor to pointer (hand) */
}

.rad-hover-color-padding-all-around {
    padding: 5px;
    cursor: pointer;
}

    .rad-hover-color-padding-adjacent-items:hover,
    .rad-hover-color-padding-adjacent-items-compressed:hover,
    .rad-hover-color-padding-left-only:hover,
    .rad-hover-color-padding-right-only:hover,
    .rad-hover-color-padding-all-around:hover {
        color: #F68632; /*SC Orange*/
    }

.rad-paging-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rad-paging-control-text {
    font-weight: bold;
    padding-top: 5px; /*To align vertically with the hover-over icons*/
}

.rad-labeled-container {
    display: flex;
    align-items: center;
}

.rad-boolean {
    margin-left: 2px;
    margin-top: 1px;
    appearance: none;/*We just show a solid square here based on background - without this, we would have an empty square inside the border*/
    width: 15px;
    height: 15px;
    border-radius: 2px;
    background-color: #206A5E; /*SC brand dark green*/
}

    .rad-boolean:checked {
        accent-color: #206A5E; /*SC brand dark green - without the accent-color set, we'd get default blue when selected*/
        appearance:checkbox;
        width: 15.5px !important;
        height: 15.5px !important;
        border-radius: 2px;
    }

/*rad-radio is near identical to rad-boolean except we remove appearence:none so that the empty circle shows up*/
.rad-radio {
    margin-left: 5px;
    margin-top: 1px;
    /*appearance: none;*/
    width: 15px;
    height: 15px;
    border-radius: 2px;
    background-color: #206A5E; /*SC brand dark green*/
}

    .rad-radio:checked {
        accent-color: #206A5E; /*SC brand dark green - without the accent-color set, we'd get default blue when selected*/
        appearance: checkbox;
        width: 15.5px !important;
        height: 15.5px !important;
        border-radius: 2px;
    }

.rad-user-visible-error {
    color: red;
    font-size: small
}

.rad-dialog {
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 10px;
    background-color: #fff;
    overflow: auto;
    resize: both;
}

.rad-component-with-large-margin-bottom {
    margin-bottom: 30px;
}

/*-------------The following 3 are all for creating a readonly form input text used in ExternalLogin Register>Confirm Email------------*/
.rad-form-control-no-focus {
    background-color: #E5E4E2; /*Platinum, a lighter grey than lightgrey*/
    outline: none;
    box-shadow: none;
    border-color: inherit;
}
    .rad-form-control-no-focus:focus {
        background-color: #E5E4E2; /*Platinum, a lighter grey than lightgrey*/
        outline: none;
        box-shadow: none;
        border-color: inherit;
    }

.form-floating > .form-control-plaintext ~ label::after, .form-floating > .form-control:focus ~ label::after, .form-floating > .form-control:not(:placeholder-shown) ~ label::after, .form-floating > .form-select ~ label::after {
    position: absolute;
    inset: 1rem 0.375rem;
    z-index: -1;
    height: 1.5em;
    content: "";
    background-color:inherit;/*NOTE: This is the only property changed from Bootstrap*/
    border-radius: var(--bs-border-radius);
}
/*-------------The above 3 are all for creating a readonly form input text used in ExternalLogin Register>Confirm Email------------*/

.rad-header-and-image-on-background {
    margin-top: 0px;
    width: 100%;
    background-image: linear-gradient(180deg, #206A5E 30%, #F68632 800%);
}

.rad-header-text-in-image {
    text-align: left;
    font-family: Fira Sans;
    font-style: normal;
    font-weight: bold;
    font-size: 40px;
    color: rgba(255, 255, 255, 1);
    margin:0px;
    line-height:1;
}

.rad-sub-header-text-in-image {
    text-align: left;
    font-family: Fira Sans;
    font-style: normal;
    font-weight: bold;
    font-size: 30px;
    color: rgba(255, 255, 255, 1);
}

.rad-bulleted-list-in-image {
    text-align: left !important;
    font-family: Fira Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    color: rgba(255, 255, 255, 1);
    padding-left:20px; 
}

.rad-text-left-justified-primary-color-large {
    text-align: left;
    font-family: Fira Sans;
    font-style: normal;
    font-weight: bold;
    font-size: 50px;
    color: #206A5E; /*SC brand dark green*/
    padding-left: 50px;
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: solid;
}

.rad-footer-text {
    font-size: 9pt;
    font-weight: bold;
    line-height: 1.0;
    margin-bottom: 5px;
    text-align:center;
}

.rad-expand-collapse-component {
    border-top: solid;
    border-bottom: solid;
    border-color: #206A5E;
}

.rad-expand-collapse-component-top-pane-collapsed {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.rad-expand-collapse-component-top-pane-expanded {
    background-color: #E5E4E2; /*Platinum, a lighter grey than lightgrey*/
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.rad-expand-collapse-component-header-text {
    text-align: left;
    font-family: Fira Sans;
    font-style: normal;
    font-weight: bold;
    font-size: 25px;
    color: #206A5E;
}

.rad-expand-collapse-component-sub-header-text {
    text-align: left;
    font-family: Fira Sans;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    color: rgba(33, 33, 33, 1);
}

.rad-expand-collapse-component-action-button-collapsed {
    text-align: left;
    font-family: Arial;
    font-style: normal;
    font-weight: normal;
    font-size: 40px;
    padding-right: 50px;
    padding-left: 30px;
    cursor: pointer; /* Change cursor to pointer (hand) */
}

.rad-expand-collapse-component-action-button-expanded {
    text-align: left;
    font-family: Arial;
    font-style: normal;
    font-weight: normal;
    font-size: 50px;
    padding-right: 50px;
    padding-left: 30px;
    cursor: pointer; /* Change cursor to pointer (hand) */
}

.rad-action-pane {
    background-color: #206A5E; /*SC brand dark green*/
    width: 100%;
    line-height: 1;
    margin-top: 0px; /*overwrite*/
    display:flex;
    align-items: center;
    padding-left: 50px;
}

.rad-action-pane-text-top-line {
    text-align: left;
    font-family: Fira Sans;
    font-style: normal;
    font-weight: bold;
    font-size: 35px;
    color: rgba(255, 255, 255, 1);
    margin-top: 20px
}

.rad-action-pane-text-bottom-line {
    text-align: left;
    font-family: Fira Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    color: rgba(255, 255, 255, 1);
}

.rad-action-pane-action-button {
    width: 150px;
    height: 50px;
    background-color: #F68632; /*SC Orange*/
    justify-content: center;
    display: flex;
    align-items: center;
    font-family: Helvetica Neue;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    color: rgba(255, 255, 255, 1);
    margin: 30px;
    border-radius: 6px;
}

.rad-contact-us-pane {
    background-color: #E5E4E2; /*Platinum, a lighter grey than lightgrey*/
    font-family: Fira Sans;
    font-style: normal;
    font-size: 20px;
    font-weight: bold;
    margin-top: 0px;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 50px;
}

.rad-footer-bottom-pane {
    background-color: #857749; /*Matches bottom of nav gradient*/
    text-align: center;
    font-family: Fira Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    color: rgba(255, 255, 255, 1);
    padding: 5px;
}

/*TODO*/
.rad-grid {
    display: grid; 
}
