/* 6px left breathing room (OOTB baseline is left:-60px) */
.mstrPathContainer #mstrStarburst {
    left: -54px !important;
}
/* Tighten right gap between logo and arrows (was 60px) */
.mstrPathContainer {
    padding-left: 56px !important;
}

/* Path bar — dark background on all layers */
.mstrPath {
    background-color: rgb(31,50,62) !important;
    background-image: none !important;
}

/* Target the path bar table and its cells by ID (high specificity beats OOTB) */
#genericPath,
#genericPath tbody,
#genericPath tr,
#genericPath td {
    background-color: rgb(31,50,62) !important;
    background-image: none !important;
}

/* White text and links in the path bar */
.mstrPath A:link,
.mstrPath A:visited,
.mstrPath A:hover,
.mstrPath SPAN,
.mstrPathItem,
.mstrPathSeparator,
.mstrPathLast,
.mstrNavIcon,
.mstrPath .mstrPathArrow,
#genericPath td {
    color: #ffffff !important;
}

#mstrPathAccount {
    position: relative !important;
}
#mstrAccountMenu {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 8px !important;
}
body.mstrWeb {
    background: white;
    color: #000;/** customization **/
}
.mscld-create {
background-color:#004054;
border-color:rgb(31, 50, 62);
}

.mscld-create :hover{
background-color:#004054;
border-color:rgb(31, 50, 62);
}

.mscld-create.open{
background-color:rgb(31, 50, 62);
}

.Red .mstrPath > TABLE, .Red .mstrPath > div.mstrPathContainer {
    border-bottom-color: rgb(31, 50, 62); 
	
}
/** REAS Customization **/
.Red .mstrSummaryHeader {
background: rgb(31, 50, 62) !important;
}
.Red .mstrSummaryHeader A.mstrLink {COLOR: white !important}

#folderAllModes .mstrLargeIconViewItem div,
#projects_ProjectsStyle .mstrProjectItem div {
    color: rgb(31, 50, 62);   
}

#projects_ProjectsStyle .mstrLargeIconViewItemName a:link,
#projects_ProjectsStyle .mstrLargeIconViewItemName a:visited {
    color: #6d6d6d;
}
.mstrServer{
display:none; /** REAS Customization **/
}

.mstrWeb.Red .mstrProjectItem:hover .mstrLargeIconViewItemName  a:link,
.mstrWeb.Red .mstrProjectItem:hover .mstrLargeIconViewItemName  a:visited { color: rgb(31, 50, 62) !important; TEXT-DECORATION: underline;}/** REAS Customization **/

.mstrWeb.Red .mstrPicker span.mstrPickerItemHover,
.mstrWeb.Red #folderAllModes .mstrLargeIconViewItem:hover .mstrLargeIconViewItemName .mstrLink,
.mstrWeb.Red .menu-row-selected .menu-item{
color: rgb(31, 50, 62);
}

.mstrWeb.Red #mstrCreatePopup .mstrMenuItem:hover,
.mstrWeb.Red .mstrShortcutsListPopup .item:hover {
    border-left-color: rgb(31, 50, 62); /* TS Customization modified by venkat */
}

.mstrInstruct{
height:20 !important; /** REAS Customization **/
}

.mstrFooterWrapper * {
    color: #656565;  /** REAS Customization **/
}



#DIV_filenameSpaceDelimiter{
	display:none !important; /** REAS Customization **/
}
#DIV_fileName IMG{
 display:none !important;
}
#DIV_burst {
	display:none !important; /** REAS Customization **/
}
#DIV_contactSecurity {
	display:none !important; 
}
#DIV_burstSubFolder {
display: none !important;
}
.SharingEditor-title{
display: none !important;
}
.mstrShortcutsListPopup .item .icon {background-position: center -290px;}

/* Help (?) button sprite on dark navy path bar — invert to white */
.mstrHelpShortcut {
    filter: brightness(0) invert(1) !important;
    opacity: 0.85;
    transition: opacity 0.12s;
}
.mstrHelpShortcut:hover {
    opacity: 1 !important;
}

/* Search (magnifying glass) icon on dark navy path bar — invert to white */
#mstrSearchSuggest {
    filter: brightness(0) invert(1) !important;
    opacity: 0.85;
    transition: opacity 0.12s;
}
#mstrSearchSuggest:hover {
    opacity: 1 !important;
}

/* Report toolbar dropdown items — dark navy is invisible on dark dropdown background.
   Override SharedBase + REASCustom .menu-row-selected rule 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;
}



@font-face {
 src: url('fonts/Poppins-Regular.ttf');
 font-family: "Poppins";
}


/* ============================================================
   REASCustom overrides — merged from former _Interface plugin
   ============================================================ */

/* ============================================================
   REASCustom/style/global.css
   App-specific CSS overrides for TrueStandings REAS.
   Shared rules (Poppins font, button styles, path bar, Red
   theme hover colors) live in SharedBase/style/global.css.
   ============================================================ */

/* ── pageLogin.css overrides ── */
/* Login button image */
.mstrLoginButton,
#mstrLoginButton input[type="submit"],
input#btnLogin {
    background: url(images/Login_button.jpg) !important;
}

/* ── mstr.css logo overrides ── */
.mstrLogo {
    background: transparent url(images/logo_small.png) no-repeat scroll center;
    height: 38px;
    width: 52px;
    filter: brightness(0) invert(1);
}

/* Use OOTB sprite — same as production _Interface plugin */
.mstrLogo {
    background-image: url("../../../style/mstr/images/theme/pathBarIcons.png") !important;
    background-position: 0 -701px !important;
    filter: none;
    margin-left: 10px;
}
A.mstrLink:hover .mstrLogo {
    background-image: url(images/logo_hover_small.png);
}
.Red .opened .mstrLogo {
    background-image: url(images/logo_opened_small.png);
}

/* ── mstr.css folder icon override ── */
span.mstrIcon {
    background: transparent url(images/folder.png) no-repeat scroll center !important;
    display: block !important;
    width: 77px !important;
    height: 77px !important;
}


/* ============================================================
   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;
}

/* On the login page remove the 50px bottom padding — the custom JSP footer
   sits in normal flow and the padding just creates dead space below it */
.mstr-page-login #mstrWebContents {
    padding-bottom: 0 !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;
}

/* Home icon — REAS path bar is dark navy; invert sprite to white */
.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;
}

/* Hide "Projects" from the left panel shortcuts popup */
.mstrShortcutsListPopup a.projects,
.mstrShortcutsListPopup .item.projects {
    display: none !important;
}

/* REAS #40: When the report breadcrumb path is long, the hierarchy picker dropdown
   inherits white text color from the dark navy path bar rule (.mstrPath SPAN → #fff).
   Force dark text so it reads on the picker's white background. */
.mstrPath .mstrPicker,
.mstrPath .mstrPicker span,
#genericPath .mstrPicker,
#genericPath .mstrPicker span {
    color: #333 !important;
}

/* Mojo path bar — dark navy to match mstrPath */
.mojoPath {
    background: rgb(31,50,62) !important;
    border-bottom-color: rgb(31,50,62) !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;
}
.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;
}

/* 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. Absolute-position 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;
}

/* Suppress OOTB red border-bottom on path/breadcrumb bar.
   mstrColorThemeRed.css sets border-bottom-color:#d9222d on
   .Red .mstrPath>DIV and border-bottom-style:solid on
   .mstrPathContainer — visible as a 1-2px red line below the
   header on Chrome/Windows and Edge. */
.Red .mstrPath > TABLE,
.Red .mstrPath > DIV,
.Red .mstrPath > div.mstrPathContainer {
    border-bottom: none !important;
}

/* REAS #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;
}
