﻿:root {
    --BorderLine: #E0E0E0;
    --ButtonBackground: #FFFFFF;
    --DarkBackground: #D0D0D0;
    --HeaderBackground: #C0C0C0;
    --HoverItemBackground: #D0D0D0;
    --HoverItemFont: blue;
    --Hyperlink: blue;
    --HyperlinkHover: black;
    --LightBackground: #F0F0F0;
    --LightFontColor: #FFFFFF;
    --SelectedItemBackground: #D0E0F0;
    --SubmenuHover: grey;
    --Shadow: #202020;
    --TitleBackground: #000000;
    --SubtitleBackground: #181818;
}

body {
    height: 100% !important;
    font-family: Arial !important;
}

.AdvancedPermissionLabel {
    font-size: 12px;
    margin-left: 2px;
}

.BlackButton {
    background-color: black;
    border: 1px solid var(--LightFontColor);
    border-radius: 2px;
    color: var(--LightFontColor);
    font-size: 12px;
    cursor: pointer;
}

.CenteredHeading {
    margin-bottom: 5px;
    text-align: center;
    font-size: 12px;
}

.ChildAddButton, .ChildDeleteButton {
    cursor: pointer;
    height: 15px;
    width: 15px;
}

.Clickable:hover {
    cursor: pointer;
    font-weight: bold;
}

.CloseIcon {
    cursor: pointer;
    margin: 0 4px;
    float: right;
}

.ColumnFilter {
    background-color: white;
    border: 1px solid black;
    margin: 0;
    padding: 5px;
    position: fixed;
    width: 250px;
    z-index: 6;
}

.ColumnFilterApply, .ColumnFilterClear {
    border: 1px solid black;    
    margin-left: 7px;
    margin-top: 5px;
    padding: 3px;
    float:right;
}

.ColumnFilterHeadingActive {
    font-weight: bold;
}

.ColumnFilterHeadingImg, .ColumnFilterHeadingAppliedImg {
    cursor: pointer;
    float: right;
    z-index: 5 !important;
}

.ColumnFilterItem:hover {
    background-color: var(--HoverItemBackground);
    cursor: pointer;
}

.ColumnFilterList {
    list-style: none;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    padding: 0px;
}

.ColumnFilterSelectedItem {
    background-color: darkblue;
    color: white;
}

.ColumnFilterTextBox {
    color: blue;
    width:100%;
}

.DataRangeGroup {
    vertical-align: top !important;
    max-width: 100%;
    max-height: 100%;
    display: inline-block;
}
.DataRangeGroup>label {
    margin-left:3px !important;
}

.DirectLink {
    font-weight:normal;
    font-size:12px;
}

.DisplayTable {
    height: 100%;
    margin-bottom: 0 !important;
    table-layout: fixed;
    width: 100%;
}

.DisplayTableTopRow {
    height: 0px;
}

.DownloadCsvLink {
    font-size: 10px;
}

.EmailContainer{
    padding: 5px;
}

.FieldGroup {
    background-color: #f2f2f2;
    display: inline-block;
    margin: 3px;
    vertical-align: top;
}

.FieldGroupBody {
    margin-top: 2px;
    padding: 0 0 6px 0px;
}

.FieldGroupHeading {
    color: black;
    font-size: 12px;
    font-weight: bold;
    margin: 0 3px;
    padding: 0;
}

.UiFormHeading {
    font-size: 16px;
    color: black;
    font-weight: bold;
    margin: 2px 3px;
}

.Mandatory input:not(:disabled), .Mandatory select:not(:disabled), .Mandatory textarea:not(:disabled) {
    background-color: #fafabb !important;
}
.Mandatory .tox-toolbar:not([aria-disabled=true]), .Mandatory .tox:not([aria-disabled=true]) .tox-editor-header {
    background-color: #fafabb !important;
}
.Mandatory .tox-toolbar[aria-disabled=true], .Mandatory .tox[aria-disabled=true] .tox-editor-header {
    background-color: #eee !important;
}
.Mandatory .SingleSelectMandatory:not([aria-disabled=true]) {
    background-color: #fafabb !important;
}

.FilterClearAllButton {
    margin-right: 2px;
    margin-top: 4px;
    position: absolute;
}

    .FilterClearAllButton:hover {
        cursor: pointer;
        font-weight: bold;
    }

.FilterTableMessage {
    color: darkblue;
    font-size: 9px;
    margin-left: -120px;
    margin-top: 13.5px;
    position: absolute;
    text-align: right;
    width: 114px;
}

.FilterTableTextBox {
    font-size: 11px;
    height: 25px;
    margin-left: 10px;
    padding-bottom: 7px;
    padding-left: 20px;
    padding-top: 0;
    vertical-align: top;
    width: 150px;
}

.FilterTableTextBoxIcon {
    margin-left: 14px;
    margin-top: 4px;
    position: absolute;
}

.FloatingPanel {
    border: 1px solid black;
    border-radius: 5px;
    box-shadow: 3px 3px 0 0;
    margin: 0 auto;
    max-height: 400px;
    max-width: 400px;
    min-width: 175px;
    padding: 5px;
    text-align: left;
    width: 90%;
}

.FormattedTable {
    background-color: var(--LightBackground);
    border-spacing: 0;
    width: 100%;
}

    .FormattedTable > tbody > tr > td {
        padding: 2px 8px;
    }

    .FormattedTable > thead > tr > th {
        background-color: var(--HeaderBackground);
        border-bottom: 0;
        padding: 8px;
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .FormattedTable > thead > tr > th,
    .FormattedTable > tbody > tr > td {
        border-top: 0;
        padding: 8px;
    }

        .FormattedTable > thead > tr > th:not(:first-child),
        .FormattedTable > tbody > tr > td:not(:first-child) {
            border-left: 1px solid black;
        }

    .FormattedTable > tbody > tr:nth-child(even) {
        background-color: white;
    }

    .FormattedTable > tbody > tr:hover, .FormattedTable > thead > tr:hover {
        background-color: var(--HoverItemBackground) !important;
    }

    .FormattedEditTable {
        background-color: var(--LightBackground);
        border-spacing: 0;
        width: 100%;
    }

    .FormattedEditTable > tbody > tr > td {
        padding: 0px 0px;
    }

    .FormattedEditTable > thead > tr > th {
        background-color: var(--HeaderBackground);
        border-bottom: 0;
        padding: 5px;
        position: sticky;
        top: 0;
        z-index: 3;
        
    }

    .FormattedEditTable > tbody > tr > td {
        border-top: 0;
        padding: 0px;
    }

    .FormattedEditTable > thead > tr > th:not(:first-child),
    .FormattedEditTable > tbody > tr > td:not(:first-child) {
        border-left: 1px solid black;
    }

    .FormattedEditTable > tbody > tr:nth-child(even) {
        background-color: white;
    }

    .FormattedEditTable > tbody > tr:hover, .FormattedEditTable > thead > tr:hover {
        background-color: var(--HoverItemBackground) !important;
    }

.FormButton {
    background-color: var(--ButtonBackground);
    border: 1px solid lightgray;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    font-size: 10pt;
    margin: 2px;
    padding: 3px 5px;
}

.FormFieldMandatoryIcon {
    color: red;
    cursor: default;
    display: inline-block;
    font-size: 10pt;
    margin-left: 3px;
    vertical-align: text-top;
}

.FormFieldHelpIcon {
    color: blue;
    cursor: pointer;
    display: inline-block;
    font-size: 7pt;
    margin-left: 3px;
    vertical-align: text-top;
}

.FormFieldAuditIcon {
    color: black;
    cursor: pointer;
    display: inline-block;
    font-size: 7pt;
    margin-left: 3px;
    vertical-align: text-top;
}

#FullScreenErrorMessage {
    background-color: darkred;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px;
}

.FullScreenMessagePanel {
    background-color: rgba(0, 0, 0, 0.9);
    height: 100%;
    left: 0;
    overflow: hidden;
    padding: 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3000;
}

.FullScreenMessageText {
    color: white;
    font-size: 48px;
    text-align: center;
    width: 100%;
}

#HeaderClientLogo {
    max-height: 50px;
    max-width: 150px;
    overflow: hidden;
    vertical-align: middle;
}

#HeaderLogoffButton {
    background-color: transparent;
    border: 1px solid var(--LightFontColor);
    border-radius: 2px;
    color: var(--LightFontColor);
    font-size: 12px;
    cursor: pointer;
}

#HeaderHomeIcon {
    display: block;
    height: 22px;
    position: relative;
    top: -8px;
    width: 22px;
}

#HeaderHomeLink {
    color: inherit;
    display: inline-block;
    height: 12px;
    vertical-align: text-bottom;
}

#HeaderLogoAndVersion {
    vertical-align: middle;
}

.HeaderScreenButton {
    background-color: var(--ButtonBackground);
    border-radius: 5px 0 5px 0;
    color: black;
    cursor: pointer;
    display: inline-block;
    font-size: 10pt;
    height: 25px;
    margin-left: 10px;
    min-width: 25px;
    padding: 3px 5px;
    text-align: center;
    vertical-align: top;
}

    .HeaderScreenButton img {
        display: block;
        height: 16px;
        margin-top: 2px;
        width: 16px;
    }

    .HeaderScreenButton .glyphicon {
        line-height: unset !important;
    }

#HeaderScreenContainerLeft {
    display: inline-block;
    font-size: 14px;
    height: 25px;
    vertical-align: middle;
}

#HeaderScreenContainerRight {
    display: inline-block;
    float: right;
    height: 25px;
    vertical-align: middle;
}

#HeaderScreenName {
    display: inline-block;
    font-size: 18px;
    margin-right: 5px;
    vertical-align: middle;
}

.HeaderScreenText {
    font-size: 18px;
    margin-right: 5px;
    vertical-align: middle;
}

#HeaderSearchIcon {
    cursor: pointer;
    height: 16px;
    left: -25px;
    position: relative;
    vertical-align: middle;
    width: 16px;
}

#HeaderSearchInput {
    border: 1px solid black;
    color: black;
    padding: 0 23px 0 5px;
    vertical-align: middle;
    width: calc(100% - 20px);
}

.HeaderSearchLoading {
    width: 120px;
}

#HeaderSearchResults {
    background-color: white;
    border: 1px solid black;
    border-top: none;
    color: black;
    display: none;
    margin-top: 2px;
    padding: 5px;
    position: absolute;
    text-align: left;
    z-index: 100;
}

#HeaderSearchResultsClose {
    cursor: pointer;
    float: right;
}

.HeaderSearchResultEntry {
    color: inherit;
    display: block;
    text-decoration: inherit;
    cursor: pointer;
}

.HeaderSearchTopicHeading {
    font-weight: bold;
    margin-top: 5px;
}

    .HeaderSearchTopicHeading:first-child {
        margin-top: 0px;
    }

.HeaderTitleItem {
    display: inline-block;
    height: 30px;
    margin-left: 10px;
    vertical-align: middle;
}

#HeaderTitleUser {
    vertical-align: middle;
}

#HeaderTitleUsername {
    font-size: 12px;
}

#HeaderVersionNumber {
    margin-left: 2px;
    font-size: 10px;
}

#HeaderMainMenuIcon {
    font-size: 21px;
    margin-left: 6px;
}

.PopupWindow {
    background-color: var(--DarkBackground);
    box-shadow: 8px 8px 8px var(--Shadow);
    max-width: 800px;
    min-width: 150px;
    position: absolute;
    z-index: 10000
}

.PopupWindowBody {
    border-radius: 0 0 5px 5px;
    border-top: 1px solid black;
    max-height: 450px;
    min-height: 75px;
    font-size: 10pt;
    height: 100%;
    width: 100%;
    overflow: auto;
}

.PopupWindowText{
    padding: 10px;
}

#AuditHistoryTable td {
    vertical-align: top;
}

.PopupWindowCloseButton {
    color: black;
    display: inline-block;
    font-size: 12pt;
    padding: 5px 10px;
    position: absolute;
    right: 0px;
    text-decoration: none;
}

    .PopupWindowCloseButton:hover {
        color: black;
        cursor: pointer;
        text-decoration: none;
    }

.PopupWindowHeader {
    border-radius: 5px 5px 0 0;
    display: inline-block;
    font-size: 12pt;
    margin-right: 20px;
    padding: 5px 10px;
}

.HideableFormSection, .GstiHideableSectionClass /* .GstiHideableSectionClass is included to support old forms */ {
    background: repeating-linear-gradient( 45deg, #BBBBBB 5px, #EEEEEE 10px );
} 
  
#HomeImageDiv {
    height: 100%;
    overflow-y: auto;
    width: 100%;
}

@media (min-width: 768px) {
    #HomeImageDiv {
        background-image: url("/Content/Images/HomeBackground.png");
        background-size: 100% 100%;
    }
}

.HomePanel {
    padding: 10px;
}

.HomeAnnouncementExpiryDate {
    font-size: 12px;
    font-style: italic;
}

.HomeAnnouncementTitle {
    font-weight: bold;
    text-decoration: underline;
}

.HomePanelBody {
}
        .HomePanelBody a:hover {
            color: var(--HyperlinkHover);
            text-decoration-line: none;
        }

.HomePanelColumn {
    display: inline-block;
    vertical-align: top;
}

#HomePanelDocuments a {
    color: black;
}

#HomePanelLinks a {
    color: white;
}

.HomePanelEntry {
    margin-bottom: 10px;
}

.HomePanelNote {
    font-size: 10px;
}

.HomePanelTitle {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

    .HomePanelTitle img {
        float: right;
    }

.Hyperlink {
    color: var(--Hyperlink);
    display: inline-block;
    margin: 5px;
}

    .Hyperlink:hover {
        color: var(--HyperlinkHover);
    }

.WorkInProgress * {
    cursor: progress;
}

.WorkInProgressWindow {
    background-color: lightgrey;
    height: 100vh;
    left: 0px;
    opacity: 0.6;
    position: fixed;
    top: 0px;
    width: 100vw;
    z-index: 9000;
}

    .WorkInProgressWindow img {
        height: 20px;
        left: 50%;
        position: relative;
        top: 50%;
        transform: translate(-50%, 0%);
        width: 50px;
    }

.LeftSpacer {
    margin-left: 15px;
}

.LinkInButton, .LinkInButton:link, .LinkInButton:active, .LinkInButton:hover, .LinkInButton:visited {
    color: black;
    text-decoration: none;
}

#LoginWindow {
    padding: 40px 40px;
    z-index: 4000;
}

#MainBodyContent {
    height: 100%;
    overflow-x: auto;
    width: 100%;
}

#MainHeaderMaintenanceMessage {
    height: 20px;
}
    #MainHeaderMaintenanceMessage > td {
        background-color: white;
        color: red;
        font-size: 16px;
        font-weight: bold;
        padding: 2px 0;
        text-align: center;
    }

#MainHeaderMenu {
    height: 20px;
    background-color: var(--TitleBackground);
}

    #MainHeaderMenu > td {
        color: var(--LightFontColor);
        padding: 0 5px;
    }

#MainHeaderScreenBar {
    height: 24px;
}

    #MainHeaderScreenBar > td {
        background-color: var(--SubtitleBackground);
        border-top: 1px solid var(--LightFontColor);
        color: var(--LightFontColor);
        padding: 5px;
    }

#MainHeaderTestDatabaseMessage {
    height: 20px;
}
    #MainHeaderTestDatabaseMessage > td {
        background-color: red;
        color: white;
        font-size: 16px;
        font-weight: bold;
        padding: 2px 0;
        text-align: center;
    }

#MainHeaderTitle {
    height: 50px;
}

    #MainHeaderTitle > td {
        background-color: var(--TitleBackground);
        color: var(--LightFontColor);
        padding: 0 5px;
    }

.MainMenuCurrentEntry {
    background-color: var(--SubtitleBackground);
    border: 1px solid var(--LightFontColor) !important;
    border-bottom: 1px solid var(--SubtitleBackground) !important;
}

.MainMenuEntry {
    border: 1px solid transparent;
    border-radius: 2px 2px 0 0;
    display: inline-block;
    padding: 3px 5px;
    position: relative;
    top: 2px;
}

.MainMenuEntryHover {
    background-color: var(--SubtitleBackground);
    border: 1px solid var(--LightFontColor);
    border-bottom: 1px solid var(--SubtitleBackground) !important;
    color: var(--LightFontColor);
}

.SubHeader { 
    background-color: var(--SubtitleBackground);
    color: white;
    font-size: 22px;
    overflow-x: hidden;
    padding: 0 5px 5px 5px;
    white-space: nowrap;
}

#MainTable {
    width: 100%;
    height: 100%;
    display: none;
}

.MessageBody {
    font-size: 12pt;
    padding: 4px;
}

.MessageLargeBody {
    font-size: 16px;
    padding: 0 5px 5px 5px;
}

.MessageLargeHeader {
    font-size: 22px;
    padding: 5px 5px 0 5px;
}

.ModalWindow {
    background-color: rgba(0, 0, 0, 0.2);
    height: 100%;
    left: 0;
    overflow: hidden;
    padding: 30px 30px 45px 30px;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2000;
}

    .ModalWindow .Header {
        cursor: move;
        font-size: 18px;
        height: 36px;
        padding: 15px;
        z-index: 2001;
    }

    .ModalWindow .BodyContainer {
        height: calc(100% - 76px);
        width: 100%;
    }

    .ModalWindow .Body {
        height: 100%;
        overflow: auto;
        width: 100%;
    }

    .ModalWindow .Footer {
        background-color: var(--LightBackground);
        border-top: 1px solid var(--BorderLine);
        height: 39px;
        padding: 6px 5px;
        text-align: right;
    }

.ModalWindowCloseButton {
    background: 0 0;
    border: 0;
    float: right;
    opacity: 1;
    padding-left: 0;
    padding-right: 0;
}

.ModalWindowContainer {
    background-color: white;
    border: 1px solid black;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    height: 90vh;
    left: 0;
    margin: auto;
    overflow: visible;
    top: 0;
    width: 90vw;
    z-index: 2000;
}


.ModelWindowFooterLink {
    float: left;
}

.ModalWindowHeading {
    font-size: 22px;
    height: 80px;
    text-align: center;
}

.ParentPeriodDivider {
    border-color: black;
    margin-left: 5px;
    margin-right: 5px;
}

.PopupMessage {
    display: none;
    min-height: 20px;
    min-width: 200px;
    padding: 10px;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 9000;
}

.PopupMessageInfo {
    background-color: #45FFB6;
}

.PopupMessageWarning {
    background-color: #FFFEDC;
}

.PopupMessageError {
    background-color: #FFDCDC;
}

.PopupMessageText {
    font-size: 12pt;
    padding-left:5px;
}

.PopupMessageTextSmallPrint {
    font-size: 9pt;
    padding-left: 5px;
}

.QueryParameterControl {
    display: inline-block;
    padding: 5px;
    vertical-align: top;
}

.QueryParameterDescription {
}

.QueryParameterErrorMsg {
    color: red;
    font-weight: bold;
}

.QueryParameterTip {
    font-size: 8pt;
}

.QueryResultColumnHeader {
    cursor: pointer;
    text-decoration: underline;
}

.QueryResultContainer {
    height: 100%;
    overflow-x: auto;
    position: relative;
    width: 100%;
}

.QueryResultSummary {
    float: left;
}

.QueueEntryWithErrors td {
    color: red;
}

.QueueReportLink {
    padding-left: 8px;
    text-decoration: underline;
}

.RecentlyAccessedPerson {
    cursor: pointer;
    display: inline-block;
    font-size: 13px;
    margin: 4px;
    text-decoration: underline;
    white-space: nowrap;
}
    .RecentlyAccessedPerson:hover {
        color: var(--HoverItemFont);
    }

    .RichTextBoxBody, .RichTextBoxBody td {
        background-color: white;
        font-family: "Courier New", Courier, monospace;
        font-size: 1em;
    }

    .RichTextBoxBody td {
        vertical-align: top;
    }

.RichTextBoxPicker {
    background-color: white;
    border: 1px solid black;
    position: absolute;
    visibility: visible;
    z-index: 1100;
}

    .RichTextBoxPicker Table {
        margin: 0;
        padding: 0;
    }

    .RichTextBoxPicker tbody tr:hover {
        background-color: #DDDDFF;
        border: 0;
        cursor: pointer;
        margin: 0;
        padding: 0;
    }

    .RichTextBoxPicker td, .RichTextBoxPicker tr {
        border: 0;
        margin: 0;
        padding: 1px;
    }

    .RichTextBoxPicker th {
        background-color: blue;
        border: 0;
        color: white;
        position: sticky;
        top: 0;
    }

    .RichTextBoxPicker tbody {
        display: inline-block;
        height: 238px;
        overflow-y: auto;
    }

.RichTextBoxPickerEntry {
    height: 3em;
}

    .RichTextBoxPickerEntry:hover {
        background-color: #DDDDFF;
        border: 0;
        cursor: pointer;
        margin: 0;
        padding: 0;
    }

.RichTextBoxPickerFooter {
    text-align: right;
}

.RichTextBoxPickerImage {
    max-height: 6em;
    max-width: 6em;
}

.RichTextImagePreviewContainer {
    height: 80px;
    padding-top: 5px;
    vertical-align: middle;
    width: 100px;
}

.RichTextPickerCancelButton {
    margin: 5px;
}

.RightAlign {
    text-align: right;
}

.FormSection {
    background-color: white;
    border: 1px solid var(--BorderLine);
    margin-bottom: 10px;
}

    .FormSection .Header {
        background-color: var(--LightBackground);
        border-color: var(--BorderLine);
        font-size: 18px;
        height: 46px;
        padding: 5px 15px;
    }

        .FormSection .Header button {
            float: right;
        }

    .FormSection .Body {
        padding: 5px 15px;
    }

#SearchEmployeeDataCheckbox {
    margin: 2px;
}

.SelectedItem {
    background-color: var(--SelectedItemBackground) !important;
}

.SimpleTable {
    margin: 0 !important;
}

.SimpleTable > tbody > tr:hover, .SimpleTable > thead > tr:hover {
    background-color: var(--HoverItemBackground) !important;
}

.SiteLogo {
    max-height:32px;
    max-width:110px;
}

.ShowBasicSearch, .ShowAdvancedSearch, .ShowAdvancedOptions {
    cursor: pointer;
    font-size: 10px;
    padding: 8px 4px;
}

.SortAscendingButton, .SortDescendingButton {
    border: 1px solid black;
    cursor: pointer;
    margin: 4px;
    padding: 4px;
}

.SortButtonSelected {
    color: blue;
}

.Sticky {
    max-height: 100%;
    max-width: 100%;
    display: inline-block;
}

.SubMenu {
    background-color: var(--SubtitleBackground);
    border-top: 1px solid var(--LightFontColor);
    color: var(--LightFontColor);
    display: none;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.SubMenuEntry {
    color: inherit;
    display: block;
    font-weight: normal;
    height: 20px;
    vertical-align: middle;
}

    .SubMenuEntry:hover {
        color: var(--SubmenuHover);
        cursor: pointer;
        text-decoration: none;
    }

.SubMenuGroup {
    display: inline-block;
    font-weight: bold;
    margin: 10px;
    min-height: 80px;
    vertical-align: top;
}

.TabActive {
    background-color: var(--SelectedItemBackground);
    font-weight: bold;
    padding-top: 10px;
}

.TabBar {
    border-bottom: 2px solid black;
    width: 100%;
}

.TabEntry {
    background-color: var(--SelectedItemBackground);
    border: 2px solid black;
    border-bottom: 0;
    cursor: pointer;
    display: inline-block;
    padding: 5px 10px;
}

#TablePlaceHolder {
    width: 100vw;
    overflow-x: auto;
}

.TableToolbar {
    color: black;
    display: inline-block;
    vertical-align: top;
}

.UiFieldCheckbox {
    height: 20px !important;
    margin: 0 !important;
    width: 20px !important;
}

.UiFieldChildRowError td {
    background-color: lightcoral;
}

.UiFieldChildTable {
    border-radius: 5px;
    display: block;
    max-width: 100%;
    padding: 0;
}

    .UiFieldChildTable > table {
        border: 1px solid var(--BorderLine);
    }

        .UiFieldChildTable > table th {
            background-color: var(--LightBackground);
            border-top: none !important;
            overflow-x: auto;
            position: sticky;
            top: -15px;
            z-index: 9001;
        }

.UiFieldChildSpanCell {
    padding: 0 !important
}

.UiFieldChildSpanDiv {
    border-color: var(--BorderLine);
    border-style: solid;
    border-width: 0 1px 1px 1px;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.UiFieldDate {
    width: 7em !important;
}

.UiFieldDropdown {
    height: 28px !important;
    max-height: 200px;
    overflow-y: auto;
}

    .UiFieldDropdown[multiple] {
        height: 139px !important;
        min-width: 40px;
        width: auto;
    }

.FieldGroup .UiFieldDropdown[multiple] {
    height: 91px !important;
}

.UiFieldLabel {
    font-size: 12px;
}

.UploadFileDiv {
    z-index: 1;
}

.UploadFileButton, .RemoveFileButton {
    margin-left: 3px;
}

.UploadFileInput {
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 0.1px;
    z-index: -1;
} 
  
.WebImagePreview {
    max-height: 100%;
    max-width: 100%;
}

.WebImagePreviewContainer {
    display: inline-block;
    height: 32px;
    text-align: center;
    vertical-align: middle;
    width: 33px;
}


/* ***************************************************************** */
/* Overrides to third party libraries.  ie. TinyMCE, Bootstrap, etc. */
/* ***************************************************************** */

/*#progressbar {
    margin-top: 20px;
} */

.active {
    background-color: #D0D0D0;
}

.active-row {
    background-color: #f0f8ff !important; /* any highlight color */
}

.btn {
    margin-left:3px !important;
    padding: 2px 8px !important;
}

.control-label {
    margin-bottom: 0px !important;
    font-weight: normal !important;
}

.form-control {
    padding: 1px 5px 1px 5px !important;
    max-width: 100%;
    color: black !important;
    border-radius: 0px !important;
}

.form-group {
    margin: 0px 3px 3px 3px !important;
    vertical-align: top !important;
    max-width: 100%;
    max-height: 100%;
}

.help-block {
    margin: 0 !important;
}

input.form-control:not([type="checkbox"]), select.form-control {
    height: 28px !important;
}

    select.form-control:disabled option:not(:checked) {
        display: none !important;
    }

.input-group-addon {
    padding: 4px !important;
}

.RichTextBoxBody table.LinkedQueryTable {
    border-collapse: collapse;
}
.RichTextBoxBody tr.LinkedQueryRow {
    border: 2px solid red;
}

.modal-body {
    height: calc(100% - 76px);
    overflow: auto;
    padding: 15px 15px 15px 5px;
}

.modal-content {
    border-radius: 0px !important;
    height: 90vh;
}

.modal-dialog {
    min-width: 90%;
}

.modal-footer {
    padding: 6px 5px !important;
    background-color: var(--LightBackground);
}

.modal-header {
    padding: 5px !important;
    background-color: var(--LightBackground);
}

.table > tbody > tr > td {
    border-top: 0 !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
}

.table > thead > tr > th {
    border-bottom: 0 !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
}

th {
    font-weight: normal;
}

.ui-draggable-handle {
    cursor: move;
}

.form-control-select2-span {
    padding: 1px 5px 1px 5px !important;
    max-width: 100%;
    color: black !important;
    border-radius: 0px !important;
}

/* Custom CSS for TinyMCE toolbar separators */
.tox-toolbar__group:not(:last-child) {
    border-right: 1px solid #ccc !important; /* Adjust the color and style as needed */
}

.HomeAnnouncementContent {
    word-wrap: break-word; /* older standard */
    overflow-wrap: break-word; /* modern standard */
    white-space: normal; /* allows text to wrap normally */
}

.SingleSelectNotAllowed {
    cursor: not-allowed !important;
}

.SingleSelectEnabled {
    cursor: pointer !important;
}

.select2-custom-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #888;
    z-index: 10;
}

.select2-custom-clear:hover {
    color: #000;
}