/* ------------------SIDEBAR GAME LIST------------------ */

/* Sidebar Background */
[class*="gamelistbar_Container_"] {
  background-color: var(--librarysidebg) !important;
  background-image: none !important;
}

/* Sidebar Header Background */
[class*="gamelistbar_GameListHomeAndSearch_"] {
  display: var(--LibraryButton) !important;
  background-color: var(--librarysidebg) !important;
  height: 32px !important;
}

[class*="gamelisthome_Bar_"][class*="gamelisthome_Selected_"] .SVGIcon_Home {
  fill: var(--libraryhome) !important;
  transition: .8s !important;
}

[class*="gamelisthome_Bar_"] .SVGIcon_Home {
  transition: 1s !important;
}

[class*="gamelistentry_Container_"] [class*="gamelistentry_GameListEntryContainer_"] {
  margin-left: 12px !important;
}

[class*="gamelistsectionheader_Container_"][class*="gamelistsectionheader_HoverOverlay_"] {
  background-color: var(--darkgrey) !important;
}

[class*="gamelistentry_FriendIsPlaying_"] {
  width: 15px !important;
  height: 15px !important;
  left: -23px !important;
}

[class*="gamelistsearchbar_Container_"] .DialogInput_ClearAction, [class*="gamelistsearchbar_Container_"] [class*="gamelistsearchbar_SearchFilterInputClear_"] {
  width: 20px !important;
  height: 20px !important;
  top: 6px !important;
}

[class*="gamelisthome_Bar_"][class*="gamelisthome_Selected_"] [class*="gamelisthome_CollectionIconBox_"] {
  background-color: var(--libraryhome) !important;
}

[class*="gamelisthome_CollectionIcon_"] [class*="gamelisthome_CollectionIconBox_"] {
  background: var(--collections) !important;
  display: var(--collectionsbtn) !important;
}

[class*="gamelistsectionheader_SectionHeaderContent_"]:hover [class*="gamelistsectionheader_SectionName_"] {
  color: var(--titlenamehover) !important;
}

/* Sidebar Minimum Width */
[class*="library_LeftListSizableContainer_"] {
  min-width: 272px !important;
}

/* Removes Sidebar Header Shadow Image */
[class*="gamelistsearchbar_Container_"] [class*="gamelistsearchbar_HeaderListFadeTop_"] {
  display: none;
}

/* Game Name Right Click Color */
[class*="gamelistentry_HasContextMenuOpen_"] {
  background-color: var(--gamelist) !important;
  border: 1px solid var(--gamelist) !important;
  color: var(--gamehover) !important;
}

/* Tile Name Hover Color */
[class*="gamelistsectionheader_SectionName_"]:hover {
  color: var(--titlenamehover) !important;
}

/* Game Page Header Background */
[class*="libraryhome_UpdatesContainer_"] {
  background: var(--darkgrey) !important;
}

/* Removes Sidebar Divider */
[class*="library_LibraryWindowDivider_"] {
  background: var(--librarybg) !important;
  min-width: 1px !important;
  width: 1px !important;
}

/* Sidebar Searchbar Filter Button */
[class*="gamelistsearchbar_Container_"] [class*="gamelistsearchbar_AdvancedSearchContainer_"] {
  border-radius: var(--Corner2) !important;
  margin-left: 10px;
  background-color: var(--searchfilter) !important;
}

/* Sidebar Searchbar */
[class*="gamelistsearchbar_Container_"] [class*="gamelistsearchbar_AdvancedSearchContainer_"]:hover {
  border-radius: var(--Corner2) !important;
  margin-left: 10px;
}

/* Sidebar Searchbar Color */
[class*="gamelistsearchbar_Container_"] [class*="gamelistsearchbar_SearchInput_"] .DialogTextInputBase {
  background: var(--search) !important;
  border-radius: var(--Corner3) !important;
  padding-right: 20px !important;
  padding-left: 10px !important;
}

/* Sidebar Searchbar Hover Color */
[class*="gamelistsearchbar_Container_"] [class*="gamelistsearchbar_SearchInput_"] .DialogTextInputBase:hover {
  background: var(--searchhover) !important;
  border-radius: var(--Corner3) !important;
  padding-right: 20px !important;
  padding-left: 10px !important;
}

/* Sidebar Searchbar Position */
[class*="gamelistsearchbar_Container_"] [class*="gamelistsearchbar_SearchInput_"] .DialogInput_Wrapper {
  margin-left: 5px !important;
}

/* Home Button */
[class*="gamelisthome_Bar_"] {
  border-radius: var(--Corner0) !important;
  margin-left: 5px !important;
  background-color: var(--BackgroundColor) !important;
  border: 1px solid transparent !important;
  letter-spacing: var(--LetterSpacing) !important;
}

/* Filter Button + Background */
[class*="gamelistdropdown_Bar_"] [class*="gamelistdropdown_MenuHeader_"] {
  border-radius: var(--Corner0) !important;
  background-color: var(--gamefilter) !important;
  border: 0 !important;
}

/* Filter Button + Background Hover */
[class*="gamelistdropdown_Bar_"] [class*="gamelistdropdown_MenuHeader_"]:hover {
  background-color: var(--gamefilter) !important;
}

/* Filter Back To Top Button */
[class*="gamelistdropdown_ScrollToTop_"][class*="gamelistdropdown_Visible_"] {
  margin-left: 5px !important;
  border-radius: var(--Corner2) !important;
  background: var(--backtotop) !important;
}

[class*="gamelistdropdown_ScrollToTop_"][class*="gamelistdropdown_Visible_"]:hover {
  background: var(--backtotop) !important;
}

/* Filter Button Position */
[class*="gamelistdropdown_Bar_"] {
  margin-top: -5px !important;
  margin-bottom: 5px !important;
  border-radius: var(--Corner2) !important;
  margin-left: 0 !important;
}

[class*="gamelistdropdown_ScrollToTop_"] .SVGIcon_Arrow {
  border: 0 !important;
  background-color: transparent !important;
}

[class*="gamelistdropdown_ScrollToTop_"] .SVGIcon_Arrow:hover {
  border: 0 !important;
  background-color: transparent !important;
}

/* Sidebar Category Name Position */
[class*="gamelist_Container_"] .ReactVirtualized__Grid {
  margin-left: 0 !important;
}

/* Sidebar Category Name Lines */
[class*="gamelistsectionheader_SectionRule_"] {
  display: none !important;
}

/* Sidebar Category Name Selected */
[class*="gamelistsectionheader_Container_"][class*="gamelistsectionheader_Selected_"] {
  background-color: var(--titlehover) !important;
}

[class*="gamelistsectionheader_Container_"] {
  background: transparent !important;
}

[class*="gamelistsectionheader_Container_"]:hover {
  background: var(--titlehover) !important;
}

/* Sidebar Game Name Hover */
[class*="gamelistentry_Container_"]:hover, [class*="gamelistentry_Container_"][class*="gamelistentry_HoverOverlay_"] {
  background-color: var(--gamelist) !important;
  transition: 0s !important;
}

/* Sidebar Game Name Selected */
[class*="gamelistentry_Selected_"] {
  background-color: var(--gamelist) !important;
  color: var(--white) !important;  
}

[class*="gamelistentry_Container_"][class*="gamelistentry_Updating_"] {
  color: var(--white) !important;
}

[class*="gamelistentry_Container_"] [class*="gamelistentry_GameListEntryContainer_"] [class*="gamelistentry_DownloadProgress_"] {
  color: var(--pending) !important;
}

[class*="gamelistentry_AppIconDownloading_"] svg circle {
  stroke: var(--pending) !important;
}

/* Sidebar Game Name Selected Hover */
[class*="gamelistentry_Container_"][class*="gamelistentry_Selected_"]:hover, [class*="gamelistentry_Container_"][class*="gamelistentry_Selected_"][class*="gamelistentry_HoverOverlay_"] {
  background: var(--gamelist) !important;
}

/* Context Menu Background */
[class*="contextmenu_contextMenu_"] {
  background: var(--menudrop) !important;
  border-radius: var(--Corner0) !important;
  margin-left: 0 !important;
  padding: 2px !important;
  margin-top: 5px !important;
}

/* Dialog Checkboxes Colors */
.DialogCheckbox, .DialogCheckbox:hover {
  background: var(--checkbox) !important;
}

[class*="gamelistsearchbar_Container_"] [class*="gamelistsearchbar_AdvancedSearchContainer_"] [class*="gamelistsearchbar_AdvancedSearchPaneContainer_"][class*="gamelistsearchbar_Visible_"] [class*="gamelistsearchbar_AdvancedSearchPane_"]:before {
  display: none !important;
}

[class*="appfilterpane_Container_"] [class*="appfilterpane_FilterArea_"] [class*="appfilterpane_FilterBucket_"] .DialogInput_Wrapper .DialogTextInputBase {
  background: var(--search) !important;
}

[class*="appfilterpane_Container_"] [class*="appfilterpane_FilterArea_"] [class*="appfilterpane_FilterBucket_"] .DialogInput_Wrapper .DialogTextInputBase:hover {
  background: var(--searchhover) !important;
}

[class*="appfilterpane_Container_"] [class*="appfilterpane_SaveButton_"]:disabled, [class*="appfilterpane_Container_"] [class*="appfilterpane_SaveButton_"]:disabled:hover {
  background: var(--darkgrey) !important;
  border-radius: var(--Corner0) !important;
}

[class*="gamelistsearchbar_Container_"] [class*="gamelistsearchbar_AdvancedSearchContainer_"][class*="gamelistsearchbar_Extended_"] {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

[class*="gamelistsearchbar_Container_"] [class*="gamelistsearchbar_AdvancedSearchContainer_"] [class*="gamelistsearchbar_AdvancedSearchPane_"] {
  background-color: var(--searchfiltermenu) !important;
  box-shadow: 1px 1px 5px 1px var(--black) !important;
  margin-left: 10px !important;
}

[class*="gamelisthome_Label_"] {
  visibility: hidden !important;
  font-size: 0 !important;
  margin-left: 0 !important;
}

[class*="gamelisthome_Label_"]::before {
  font-size: var(--FontSize) !important;
  content: var(--YourLibraryName) !important;
  font-weight: bold !important;
  transition-duration: .3s !important;
  transition-property: color !important;
  text-transform: var(--FontStyle) !important;
  font-family: var(--Font) !important;
  visibility: visible !important;
  display: block !important;
  margin-top: 0 !important;
  letter-spacing: var(--LetterSpacing) !important;
}

[class*="gamelisthome_Selected_"] [class*="gamelisthome_Label_"] {
  visibility: hidden !important;
  font-size: 0 !important;
}

[class*="gamelisthome_Bar_"] [class*="gamelisthome_Icon_"] svg {
  display: none !important;
}

[class*="gamelistbar_GameListHomeAndSearch_"] [class*="gamelistbar_HomeBox_"] {
  border-radius: var(--Corner0) !important
}

[class*="gamelisthome_Selected_"] [class*="gamelisthome_Label_"]::before {
  font-size: var(--FontSize) !important;
  transition-delay: .2s !important;
  transition-duration: .2s !important;
  transition-property: color !important;
  color: var(--libraryhome) !important;
  content: var(--YourLibraryName) !important;
  font-weight: bold !important;
  text-transform: var(--FontStyle) !important;
  font-family: var(--Font) !important;
  visibility: visible !important;
  display: block !important;
  margin-top: 0 !important;
  letter-spacing: var(--LetterSpacing) !important;
}

[class*="collapseicon_CollapseIconParent_"] [class*="collapseicon_Container_"] {
stroke: var(--white) !important;
}

[class*="gamelistsectionheader_SectionHeaderContent_"] {
  color: var(--libraryhome) !important
}

[class*="gamelistsectionheader_SectionCount_"] {
  color: var(--white) !important
}

[class*="gamelistsectionheader_SectionHeaderContent_"] svg {
  display: none !important;
}

[class*="collapseicon_Container_"] .SVGIcon_PlusCircle {
  width: 30px !important;
  margin-left: 0 !important;
}

[class*="gamelistentry_Container_"][class*="gamelistentry_Uninstalled_"]:hover, [class*="gamelistentry_Container_"][class*="gamelistentry_Uninstalled_"][class*="gamelistentry_HoverOverlay_"] {
  color: var(--gamehover) !important; 
}

[class*="gamelistentry_Container_"][class*="gamelistentry_Selected_"][class*="gamelistentry_Updating_"] {
  color: var(--white) !important; 
}

[class*="gamelistentry_Container_"] [class*="gamelistentry_GameListEntryContainer_"] {
  margin-left: var(--FriendInGameIconPosition) !important;
}

[class*="gamelistentry_Selected_"][class*="gamelistentry_Container_"]:hover, [class*="gamelistentry_Selected_"][class*="gamelistentry_Container_"][class*="gamelistentry_HoverOverlay_"], [class*="gamelistentry_Selected_"][class*="gamelistentry_Container_"] :hover, [class*="gamelistentry_Selected_"][class*="gamelistentry_Container_"] [class*="gamelistentry_Container_"][class*="gamelistentry_HoverOverlay_"], [class*="gamelistentry_Selected_"] [class*="gamelistentry_Container_"]:hover, [class*="gamelistentry_Selected_"] [class*="gamelistentry_Container_"][class*="gamelistentry_HoverOverlay_"], [class*="gamelistentry_Selected_"] [class*="gamelistentry_Container_"] :hover, [class*="gamelistentry_Selected_"] [class*="gamelistentry_Container_"] [class*="gamelistentry_Container_"][class*="gamelistentry_HoverOverlay_"] {
  background-color: var(--gamelist) !important;
}

/* Hover-Over Popups */
[class*="tooltip_ToolTipCustom_"], [class*="tooltip_TextToolTip_"] {
  background-color: var(--popupbg) !important;
}


/* NEW CHANGES */

[class*="gamelistsearchbar_Container_"] {
  display: var(--LibrarySearch) !important;
}
