/*
 * ServicingCustom - global.css
 * Merged from _Interface (theme/font baseline) + ServicingCustom (app-specific overrides).
 * ServicingCustom rules appear last and win specificity ties.
 */

/* ============================================================
   Theme baseline (formerly _Interface/style/global.css)
   ============================================================ */

@font-face {
  src: url('fonts/Poppins-Regular.ttf');
  font-family: "Poppins";
}

/* Path bar — dark background on all layers */
.mstrPath {
    background-color: rgb(31,50,62) !important;
    background-image: none !important;
}

/* Target path bar table by ID for higher specificity */
#genericPath,
#genericPath tbody,
#genericPath tr,
#genericPath td {
    background-color: rgb(31,50,62) !important;
    background-image: none !important;
}

/* White text and links in path bar */
.mstrPath A:link,
.mstrPath A:visited,
.mstrPath A:hover,
.mstrPath SPAN,
.mstrPathItem,
.mstrPathSeparator,
.mstrPathLast,
.mstrNavIcon,
.mstrPath .mstrPathArrow,
#genericPath td {
    color: #ffffff !important;
}

/* Logo container spacing */
.mstrPathContainer #mstrStarburst {
    left: -54px !important;
}
.mstrPathContainer {
    padding-left: 56px !important;
}

/* Account menu: establish positioning context on the account container so the
   arrow positions within it (not the outer page), and centre vertically at any
   path bar height via top:50% + translateY. */
#mstrPathAccount {
    position: relative !important;
}
#mstrAccountMenu {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 8px !important;
}

.mscld-create {
    background-color: #004054;
    border-color: #004054;
}

.mscld-create:hover {
    background-color: #004054;
    border-color: #004054;
}

.mscld-create.open {
    background-color: #004054;
}

.Red .mstrPath > TABLE,
.Red .mstrPath > DIV,
.Red .mstrPath > div.mstrPathContainer {
    border-bottom: none !important;
}

/* Edge: UA table border-spacing creates a 2px gap that exposes the OOTB red
   border-bottom-color. Collapse table spacing to eliminate it. */
.Red .mstrPath > TABLE {
    border-spacing: 0;
    border-collapse: collapse;
}

.mstrWeb.Red #tree_ftb_FolderTreeView li:hover a,
.mstrWeb.Red .mstrMenuItem:hover a, .mstrWeb.Red .mstrMenuItem:hover span,
.mstrWeb.Red .mscld-create:hover,
.mstrWeb.Red .mstrPathTextCurrent:hover .mstrPathLast,
.mstrWeb.Red .mstrShortcutsListPopup .item.selected,
.mstrWeb.Red .mstrShortcutsListPopup a:hover,
.mstrWeb.Red .mstrSuggestPopupItem.selected span {
    color: #004054;
}

.mstrWeb.Red #forwardHistoryPicker.mstrPicker span.mstrPickerItemHover,
.mstrWeb.Red #backHistoryPicker.mstrPicker span.mstrPickerItemHover,
.mstrWeb.Red .menu-row-selected .mstrContextMenuLeft,
.mstrWeb.Red .mstrSuggestPopupItem.selected {
    border-left-color: #004054;
}

.mstrWeb.Red .mstrPicker span.mstrPickerItemHover,
.mstrWeb.Red #folderAllModes .mstrLargeIconViewItem:hover .mstrLargeIconViewItemName .mstrLink,
.mstrWeb.Red .menu-row-selected .menu-item {
    color: #004054;
}

.mstrWeb.Red #mstrCreatePopup .mstrMenuItem:hover,
.mstrWeb.Red .mstrShortcutsListPopup .item:hover {
    border-left-color: #004054;
}

.mstrServer {
    display: none;
}

.mstrListView > tbody > tr a:link {
    color: rgb(31,50,62);
    text-decoration: underline;
    font-family: Poppins;
}

.Red .mstrSummaryHeader {
    background: #d9dde0 url(images/panelHeader.jpg) repeat-x left center !important;
    font-family: Poppins !important;
}

.Red .mstrSummaryHeader A.mstrLink { color: white; }

.mstrShortcutsListPopup .item .icon { background-position: center -290px; }

/* Report toolbar dropdown items are rendered on a dark background; SharedBase sets
   color:#004054 (dark teal) making them invisible. Override to white. */
.mstrWeb.Red .menu-row-selected .menu-item,
.mstrWeb.Red .menu-row-selected .menu-item-with-separator,
.mstrWeb.Red .mstrFloatingMenuItem .hover {
    color: #fff !important;
}

/* Report/prompt page footer — MSTR's .mstrDHTML page class adds specificity that can
   beat our SharedBase/footer rule. Boost specificity here to keep it visible. */
.mstrDHTML .mstrFooterWrapper,
.mstrDHTML .mstrFooterWrapper.close {
    display: block !important;
    top: auto !important;
    bottom: 0 !important;
}




/* ============================================================
   Login page overrides (formerly ServicingCustom/style/global.css)
   ============================================================ */

.mstr-page-login #mstrWebContents {
    background: rgb(239,244,245);
}

.mstrLoginFieldsGroup LABEL {
    float: left;
    display: block;
    margin: 15px 0 2px;
    font-size: 8pt;
    color: #787878;
    font-weight: normal;
    width: 60px !important;
}

.mstrLoginFieldsGroup .mstrInputText {
    width: 144px;
    font-size: 8pt;
    color: #787878;
    border: 1px solid #404040;
    padding: 0 2px;
    margin: 0;
    outline: 0;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    background: -webkit-linear-gradient(#fff,#eee);
    background: -moz-linear-gradient(#fff,#eee);
    background: linear-gradient(#fff,#eee);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#eeeeee',GradientType=0);
}

.mstrLoginFields .mstrLoginFieldsGroup input {
    font-size: 8pt;
    color: #7b7b7b;
}

.mstrLoginFields .mstrLoginFieldsGroup input.mstrInputText:-ms-input-placeholder {
    color: #7b7b7b;
}

.mstrLoginButtonBarLeft .mstrButton,
.mstrLoginButtonBarRight .mstrButton {
    height: 21px;
    width: 42px;
    font-size: 8pt;
    border: 1px solid silver;
    margin: 3px;
    padding: 3px;
    font-weight: normal;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: url(images/Login_button.jpg) !important;
    color: #4d4d4d !important;
}

.mstrLoginButtonBarLeft .mstrButton:hover,
.mstrLoginButtonBarRight .mstrButton:hover {
    background: url(images/Login_button.jpg) !important;
}

.mstr-page-login .mstrError {
    width: 360px;
    word-wrap: break-word;
    margin: 0;
}

.mstr-page-login .mstrError .mstrAlert {
    background: #eeeeee;
    border: 1px solid #600;
    color: #000;
    margin: 9px;
    padding: 6px;
    font-size: 8pt;
    text-align: left;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.mstr-page-login .mstrError .mstrAlert .mstrAlertTitle {
    color: rgb(31,50,62);
    text-align: left;
    padding-bottom: 2px;
    font-size: 11pt;
}

#lb_LoginStyle {
    position: relative;
    top: -30px;
    width: 257px;
    border: 1px #d8d8d8;
    margin: 0px auto;
    padding: 0px;
}


/* ============================================================
   Logo and folder icon — app-specific image overrides
   ============================================================ */

.mstrLogo {
    display: block !important;
    background: transparent url(images/logo_small.png) no-repeat scroll center;
    height: 38px;
    width: 52px;
}

/* Use OOTB sprite — same as production */
.mstrLogo {
    background-image: url("../../../style/mstr/images/theme/pathBarIcons.png") !important;
    background-position: 0 -701px !important;
    filter: none;
    margin-left: 10px;
}

span.mstrIcon {
    background: transparent url(images/folder.png);
    display: block;
    width: 77px;
    height: 77px;
}

.Red .opened .mstrLogo,
.Blue .opened .mstrLogo {
    background-image: url(images/theme/red/logo_opened_small.png);
}


/* ============================================================
   Footer — override MSTR 11.5 default (top: -1000px hidden)
   ============================================================ */

.mstrFooterWrapper,
.mstrFooterWrapper.close {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0;
    right: 0;
    z-index: 100;
    background: #edecec;
    background: -webkit-linear-gradient(#f0f0f0, #cdcdcd);
    background: -moz-linear-gradient(#f0f0f0, #cdcdcd);
    background: linear-gradient(#f0f0f0, #cdcdcd);
    border-top: 1px solid #ddd;
    padding: 0;
    display: block !important;
}

/* push page content up so the fixed footer doesn't overlap the last row */
#mstrWebContents {
    padding-bottom: 50px;
}


/* ============================================================
   Mojo path bar (cloud/newer MSTR) — match legacy dark-navy theme
   The cloud build renders the path bar as .mojoPath instead of .mstrPath
   ============================================================ */

.mojoPath {
    background: rgb(31,50,62) !important;
    border-bottom-color: #004054 !important;
}

.mojoPath A:link,
.mojoPath A:visited,
.mojoPath A:hover,
.mojoPath .mojoPath-path,
.mojoPath .pathText,
.mojoPath .pathFirst,
.mojoPath .pathAncestor,
.mojoPath .pathLast,
.mojoPath .pathCurrent,
.mojoPath .pathBreadCrumbs,
.mojoPath .mojoPath-extraLinks span {
    color: #ffffff !important;
}

/* Invert dark sprites so they appear white on the dark path bar */
.mojoPath .mstrHamburger,
.mojoPath .mojoPath-navigation .tbHome,
.mojoPath .mojoPath-navigation .tbBack0,
.mojoPath .mojoPath-navigation .tbForward0,
.mojoPath .mojoPath-navigation .tbBack1,
.mojoPath .mojoPath-navigation .tbForward1,
.mojoPath .mojoPath-navigation .tbReturn {
    filter: brightness(0) invert(1) !important;
    opacity: 0.8;
    transition: opacity 0.12s;
}
/* express.css has a second .mojoPath .mstrHamburger rule at 0 -704px (inside Cotality logo area)
   that overrides the correct -555px position — force it back */
.mojoPath .mstrHamburger {
    background-position: 0 -555px !important;
}
.mojoPath .mojoPath-navigation a:hover .tbBack0,
.mojoPath .mojoPath-navigation a:hover .tbForward0,
.mojoPath .mojoPath-navigation a:hover .tbHome,
.mojoPath .mojoPath-navigation a.tbHome:hover {
    opacity: 1 !important;
}
.mojoPath .mojoPath-navigation .tbBack0.disabled,
.mojoPath .mojoPath-navigation .tbForward0.disabled {
    opacity: 0.35;
}
/* Home disabled sprite is at -431px (out of bounds) — force visible icon at reduced opacity */
.mojoPath .mojoPath-navigation .tbHome.disabled {
    background-position: 0 -323px !important;
    opacity: 0.4 !important;
}
/* Invert entire search container — covers .mstrmojo-SearchButton and any svg/img inside */
.mojoPath .mojoPath-search {
    filter: brightness(0) invert(1) !important;
    opacity: 0.8;
    transition: opacity 0.12s;
}
.mojoPath .mojoPath-search:hover {
    opacity: 1;
}

/* Classic path bar: home icon sprite is dark — render as pure white.
   Dim at rest, full brightness on hover to give visible feedback. */
.mstrPathIcons #tbHome {
    filter: brightness(0) invert(1) !important;
    opacity: 0.72;
    transition: opacity 0.12s;
}

.mstrPathIcons a:hover #tbHome,
.mstrPathIcons #tbHome:hover {
    opacity: 1 !important;
}

/* Help (?) button sprite sits on the dark path bar — same treatment as home icon. */
.mstrHelpShortcut {
    filter: brightness(0) invert(1) !important;
    opacity: 0.72;
    transition: opacity 0.12s;
}

.mstrHelpShortcut:hover {
    opacity: 1 !important;
}

/* Hide "Projects" from the left panel shortcuts popup — the shortcut must
   remain in pageConfig.xml so the mojo path bar renders the home icon,
   but it should not be visible in the navigation list. */
.mstrShortcutsListPopup a.projects,
.mstrShortcutsListPopup .item.projects {
    display: none !important;
}

/* mstrMenuExtra (folder toolbar: New Folder / List / Icon / Refresh) is clipped
   by #leftToolbar {overflow:hidden}. mstrLeftPaneImpl.js sets mstrMenuContent
   height to nearly the full pane height via inline style, pushing mstrMenuExtra
   (~30px) past the overflow boundary (JS-set leftToolbar height = 1069px,
   mstrMenuContent = 993px, toggler+create = ~76px → mstrMenuExtra lands at ~1069px,
   right at the clip edge). Absolute-position the toolbar at the bottom of the pane
   so it's always visible regardless of content height. */
#leftToolbar {
    position: relative !important;
}
.mstrMenuExtra {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    display: block !important;
    background-color: #f5f5f5 !important;
    z-index: 5 !important;
}

/* repLayoutLeft is a server-computed spacer (width = ltW browser setting) designed for
   when tdDockLeft is 0px wide (CSS-only). mstrMenuTabsImpl.js also sets tdDockLeft to
   200px inline, making it part of the table flow. The two offsets stack, pushing the
   report data right. Force width:0 so tdDockLeft alone offsets the report from the panel. */
td.repLayoutLeft {
    width: 0 !important;
}

/* SE #31: Hide Support shortcut from left nav — pageConfig deleted="1" can't reach
   SupportLink's template slot; target the link directly by its pg=support URL. */
a[href*="pg=support"],
li:has(> a[href*="pg=support"]),
.item:has(> a[href*="pg=support"]) {
    display: none !important;
}

/* Up (parent folder) button — dark sprite invisible on navy path bar.
   Same inversion applied to #tbBack0/#tbForward0 in SharedBase. */
.mstrPathIcons #tbReturn {
    filter: brightness(0) invert(1) !important;
    opacity: 0.72;
    transition: opacity 0.12s;
}
.mstrPathIcons #tbReturn.disabled {
    opacity: 0.4;
}
.mstrPathIcons a:hover #tbReturn:not(.disabled) {
    opacity: 1 !important;
}
