/* === Application header / main menu styles === */

/* General styles */

/*.CHTree_nodeContent{
  color: #4D4D4F !important;
}*/

a.CHTree_node{
  color: #4D4D4F !important;
}

body
{
  color:#4D4D4F !important;
}

.dxcaLoadingPanel_DefaultTheme .dxlp-loadingImage, 
.dxlpLoadingPanel_DefaultTheme .dxlp-loadingImage,
.dxlpLoadingPanelWithContent_DefaultTheme .dxlp-loadingImage
{ /* Uncomment to change the color of all "Loading..." animations to blue. The color does not have to be the same for all the properties */
  /*border-inline-start-color: #002D5B !important;
  border-inline-end-color: #002D5B !important;
  border-bottom-color: #002D5B !important;*/
}

div.BaseMaster_mainMenuContainer
{
  border-bottom: 2px solid #F68B1F !important;
  background-color: white !important;
  padding-block-start: 0 ;padding-inline-end: 100px ;padding-block-end: 0 ;padding-inline-start: 100px ;
}

@media (max-width: 1000px)
{
  div.BaseMaster_mainMenuContainer
  {
    padding-block-start: 0 ;padding-inline-end: 10px ;padding-block-end: 0 ;padding-inline-start: 10px ;
  }
}

/*.BaseMaster_mainMenuContainer .CHHamburger_container
{
  height:150px !important;
}

img.BaseMaster_imgLogo
{
  height:150px !important;
}*/

.BaseMaster_mainMenuContainer #pnlMainMenuContainer
{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.BaseMaster_mainMenuContainer .CHMenu_menu .CHMenu_menuItem, button.BaseMaster_profileLink
{
  /*line-height: 99px !important;
  height: 99px !important;*/
  /*margin-top: 90px;*/
  font-size: 18px;
  text-transform:uppercase;
  /*margin-inline-start: 300px ;*/

}

button.BaseMaster_profileLink
{
  background:#F68B1F !important;
  color:white !important; 
  height: 35px;
  line-height: 30px;
  margin-top: 5px;
}

.BaseMaster_profileLink img
{
  margin-inline-end: 0 !important;
}

.BaseMaster_profileLink .BaseMaster_userMenuDropdownButton
{
  display: none;
}

.BaseMaster_profileLink:hover, .BaseMaster_profileLink:hover a
{
  background:#002D5B !important;
}

.CHMenu_menuItem:hover
{
  background:none !important;
}

.CHMenu_menuItem:hover a 
{
  color:#F68B1F !important; 
}

.CHMenu_menuItem a
{
  color: #4D4D4F !important; 
  
  /* This line makes header links blue for readers */
  /*color: #FFFFFF !important;*/
  /* Uncomment the following line to get red header links */
  /*color: red !important;*/
}

.CHMenu_menuItem:hover a,
/* The two extra selectors below are for the "Log In" / user profile link - you can style them separately if needed */
.BaseMaster_profileLink:hover,
.BaseMaster_profileLink:hover a
{
  /* These lines make header links white with blue background on hover */
  /*color: white !important;
  background-color: #002D5B !important;*/
  /* Uncomment the following line to get black header links with yellow background on hover */
  /*color: black !important;
  background-color: yellow !important;*/
}

.dxm-hovered,
.dxm-hovered a.dx
{ /* Uncomment to make the My Profile and Log Out dropdown menu items blue and white on hover for Power Readers */
  /*color: white !important;
  background-color: #002D5B !important;*/
}

/* Mobile-specific styles */

.BaseMaster_offCanvasHeader
{ /* Uncomment the following line to get light gray background in mobile menu header */
  /* background-color: #efefef !important; */
} 

.BaseMaster_hamburgerMenuIcon:hover
{ /* Uncoment the following lines to make the mobile "hamburger" button hover color blue and white */
  /*background-color: #002D5B !important;
  color: white !important;*/
}

.CHMenu_menuItemSelected
{ /* Change the underline color for the selected mobile menu item.
     Also affects selected item in Web Help navigation panel */
  border-bottom-color: #002D5B !important;
}

.dxeFocused_DefaultTheme
{ /* Change the focused edit box border color to blue */
  border-color: #002D5B !important;
}

.dxRipple
{ /* This changes the color of the ripple which appears on clicks to gray */
  background-color: rgba(180,180,180,.4) !important;
}

/* Web Help */

/* Navigation panel */
.WebHelp_navMenu
{ /* Uncomment the following line to get light gray navigation panel background */
  /* background-color: #efefef !important; */
}

/* === TOC styles === */

.ArticleSelector_tabContent
{ /* Uncomment the line below to make the TOC / Index navigation panel have light-gray background */
  /*background-color: #efefef !important;*/
}

.TocTreeLight_container .CHTree_nodeFocused 
{ /* Set background color for the focused TOC tree node */
  /*background-color: #002D5B !important;
  color: f68b1f !important;*/
}

/*.TocTree_tocNode:hover
{
  color: #F68B1F !important;
}*/

.TocTree_tocNode.TocTreeLight_imgTopic
{
  /* Uncomment the following lines to replace the default topic icon with an icon from Storage */
  /*background-image: url('/resources/Storage/info.png') !important;*/
}

.TocTree_tocNode.TocTreeLight_imgBook
{
  /* Uncomment the following lines to replace the default "book" folder icon with an icon from Storage */
  /*background-image: url('/resources/Storage/info.png') !important;*/
}

.TocTree_tocNode.TocTreeLight_imgBook_open
{
  /* Uncomment the following lines to replace the default "open book" folder icon with an icon from Storage */
  /*background-image: url('/resources/Storage/warning.png') !important;*/
}

/* === Tab styles === */

.dxtc-activeTab a, 
.dxtc-tabHover a
{ /* Set background color for active / hovered tabs */
  background-color: #002D5B !important;
}

.dxtc-leftIndent, 
.dxtc-activeTab, 
.dxtc-tab, 
.dxtc-spacer, 
.dxtc-rightIndent, 
.dxtc-sbWrapper, 
.dxtc-sbIndent, 
.dxtc-sbSpacer
{ /* Set color for the base border lines near the tabs */
  border-top-color: #002D5B !important;
}

/* === Topic header styles === */

.ArticleEditor_projectName
{
  display:none !important;
}

.ArticleEditor_pnlWorkflow
{
  display:none !important;
}

/* NOTE: You can also change header visibility and control elements displayed in it via the "Reader Experience section of global or project settings */
.ArticleEditor_header
{
  /* Uncomment the following lines to get black topic header with white text */
  /*background-color: black !important;
  color: white !important;*/
}

.ArticleEditor_title
{
  /* Uncomment the following line to get red topic title */
  color: #002D5B !important;
}

.CHImageButton:hover
{ /* Uncomment the following line to set hover background color for image buttons like Print or Remove Highlighting */
  /*background-color: #002D5B !important;*/
}

.dxeListBoxItemSelected_DefaultTheme,
.dxeListBoxItemHover_DefaultTheme.dxeListBoxItemSelected_DefaultTheme
{ /* Set background color for the selected publication in the publications dropdown */
  background-color: #002D5B;
  color: white;
}

/* === Search page styles === */ 

/* The following rules make the search result links, the Search button and the filter tree have blue background with black text. */

.BaseMaster_mainMenuContainer .dxeFocused_DefaultTheme,
.BaseMaster_contentContainer .dxeFocused_DefaultTheme
{ /* Set border color for focused Search edit boxes in the app header and on the Search page */
  border-color: #002D5B;
}

/* Set colors for the Search box completion window and its items */

.SearchControl_results a,
.SearchBox_completionWindow .SearchBox_moreResultsItem a
{
  color: #2C72C8 !important;
}

.SearchBox_completionWindow .CHListBox_item:hover
{  
  background-color: #002D5B !important;
}

.SearchBox_completionWindow .CHListBox_item:hover .ArticleCompletionBox_item,
.SearchBox_completionWindow .CHListBox_item:hover .ArticleCompletionBox_projectName,
.SearchBox_completionWindow .CHListBox_item:hover a
{
  color: white !important;
}

/* Set colors for the Search button */

a.SearchBox_button
{
  color: white !important;
  background-color: #002D5B !important;
}

a.SearchBox_button:hover
{
  color: black !important;
  background-color: #E7E3E7 !important;
}

.SearchControl_filterByContainer .dxeButtonEditButtonHover_DefaultTheme,
.SearchControl_filterByContainer .dxeButtonEditButtonPressed_DefaultTheme
{ /* Change the filter dropdown arrow color on hover */
  background-color: #002D5B !important;
}

/* Set colors for projects filter on the Search page */

.ProjectsTreeDropdown_dropDownContainer .CHTree_nodeFocused
{ /* Set the focused node color in the project filter dropdown on the Search page */
  background-color: #002D5B !important;
  color: white !important;
}

.CHTree_node:hover,
.CHListBox_item:hover
{
  background: none !important;
  color: #F68B1F !important;
}


/* Uncomment the following two rules to specify different styles for odd and even search results */
/*.SearchResults_itemOdd
{
  background-color: #EFEFEF !important;
}

.SearchResults_itemEven
{
  background-color: white !important;
}*/

/* Added automatically during the ClickHelp Oasis update - BEGIN */
.Articles_navExpandCollapseSeparator:hover .Articles_btnNavExpandCollapse,
.Articles_navExpandCollapseSeparator:hover::before
{
background-color: #696969 !important;
}
.extUser_page .CHTree_node:hover .TocTreeLight_imgBook,
.extUser_page .CHTree_nodeFocused .TocTreeLight_imgBook,
.ReaderUiPreview_tocNodeHover .TocTreeLight_imgBook
{
background-image: url('/App_Themes/DefaultTheme/Icons/folder_glyph.png');
}

.extUser_page .CHTree_node:hover .TocTreeLight_imgBook_open,
.extUser_page .CHTree_nodeFocused .TocTreeLight_imgBook_open,
.ReaderUiPreview_tocNodeHover .TocTreeLight_imgBook_open
{
background-image: url('/App_Themes/DefaultTheme/Icons/folder_glyph_open.png');
}

.extUser_page .CHTree_node:hover .TocTreeLight_imgTopic,
.extUser_page .CHTree_nodeFocused .TocTreeLight_imgTopic,
.ReaderUiPreview_tocNodeHover .TocTreeLight_imgTopic
{
background-image: url('/App_Themes/DefaultTheme/Icons/topic.png');
}

/* Added automatically during the ClickHelp Oasis update - END */


/* This is our custom css rules */
.ArticleEditor_projectName {
  display: inline-block !important;
}
.ArticleSelector_templateHeader {
  display: none;
}



/* Make the menu horizontal and prevent wrapping */
ul.CHMenu_menu {
  display: flex;          /* use flex layout */
  flex-wrap: nowrap;      /* prevent items from dropping to the next line */
  justify-content: flex-start; /* align items to left; use space-between if needed */
  align-items: center;    /* vertical alignment */
  overflow-x: auto;       /* allow horizontal scroll if menu is too wide */
  padding: 0;
  margin: 0;
  list-style: none;       /* remove bullets */
  white-space: nowrap;    /* prevent text wrapping */
}

/* Keep each menu item inline */
ul.CHMenu_menu li.CHMenu_menuItem {
  flex: 0 0 auto;         /* prevent shrinking */
  margin-right: 20px;     /* spacing between menu items */
  white-space: nowrap;    /* prevent menu text from wrapping */
}

/* Optional: remove scrollbar in Chrome/Safari */
ul.CHMenu_menu::-webkit-scrollbar {
  display: none;
}

