"resource/layout/overlaydesktop.layout"
{
	controls
	{
		BaseDesktopPanel
		{ 
			controlname="EditablePanel"
		}
		
		GameGroupsButton { controlname="URLLabel" labeltext="#Overlay_Taskbar_GameGroups" style=sidemenu }	
		ChatRoomButton { controlname="URLLabel" labeltext="#Overlay_Taskbar_ChatRoom" style=sidemenu }	
		DLCButton {	controlname="URLLabel" labeltext="#Overlay_Taskbar_DLC" style=sidemenu }			
		GuideButton {	controlname="URLLabel" labeltext="#Overlay_Taskbar_Guide" style=sidemenu }			
		LegacyCDKeyButton {	controlname="URLLabel" labeltext="#Overlay_Taskbar_legacycdkey" style=sidemenu }			
		WebSiteButton { controlname="URLLabel" labeltext="#Overlay_Taskbar_WebSite" style=sidemenu }	
		RecommendButton { controlname="URLLabel" labeltext="#Overlay_Taskbar_Recommend" style=sidemenu }	
		WorkshopButton { controlname="URLLabel" labeltext="#Overlay_Taskbar_Workshop" style=sidemenu }
		EditControllerConfig { controlname="URLLabel" labeltext="#Overlay_Taskbar_EditControllerConfig" style=sidemenu }	
		ForceQuitButton { controlname="URLLabel" labeltext="#Overlay_Taskbar_ForceQuit" style=sidemenu }	
		
		FriendsDetailPanel { controlname="COverlay_Details_Friends" style="detailsbox" }
		AchievementsDetailPanel { controlname="COverlay_Details_Achievements" style="detailsbox" }
		NewsDetailPanel { controlname="COverlay_Details_News" style="detailsbox" }
		ScreenshotsDetailPanel { controlname="COverlay_Details_Screenshots_Panel" style="detailsbox" }
		GuidesDetailPanel { controlname="COverlay_Details_Guides_Panel" style="detailsbox" }
		CommunityHubDetailPanel { controlname="COverlay_Details_CommunityHub_Panel" style="detailsbox" }
		CommunityDiscussionsDetailPanel { controlname="COverlay_Details_CommunityDiscussions_Panel" style="detailsbox" }
		BroadcastDetailPanel { controlname="COverlay_Details_Broadcast_Panel" style="detailsbox" }
		
		Clock { controlname="Label" labeltext="10:43" style=topbar }
		ClockSuffix { controlname="Label" labeltext="am" style=clocksuffix }
		SessionText { controlname=label style=TimeStrings labeltext="#Overlay_Playtime_Session" }
		TwoWeeksText { controlname=label style=TimeStrings }
		ForeverText { controlname=label style=TimeStrings }
	}
	
	styles
	{		
		sidemenu
		{
			font-size=15
			textcolor=DefaultText
		}
		
		sidemenu:hover
		{
			font-size=15
			textcolor=DefaultText.Hover
		}
		
		topbar
		{
			font-size=24
			textcolor=DefaultText
		}
		
		clocksuffix
		{
			font-size=24
			textcolor=DefaultText
			font-weight=400
			font-style=uppercase;
		}
		
		timeStrings
		{
			font-size="17"
			textcolor=DefaultText.Hover
			font-family=basefont
		}
	}
	
	layout
	{
		region { name=hidden width=0 height=0}

		region	 { name="main" width=450 height=max align=left y=80 margin-bottom=80 overflow=scroll-vertical}
		region	 { name="sidebar" width=80 height=max align=left margin-left=500 margin-top=80}
		region	 { name="footer" width=450 height=80 align=bottom }
		region	 { name="right" width=450 height=max align=right }
		
		region	 { name="gameOps" region=footer width=200 height=max align=right overflow=scroll-vertical}
		place { control="EditControllerConfig,LegacyCDKeyButton,GameGroupsButton,ChatRoomButton,DLCButton,GuideButton,WebSiteButton,RecommendButton,WorkshopButton,ForceQuitButton" align=right region=gameOps dir=down margin-right=20 margin-top=10}
		
		place { control="BroadcastDetailPanel" region=right width=330 height=240 align=bottom }
		
		place { control="FriendsDetailPanel" region=main dir=down width=max height=200}
		place { control="NewsDetailPanel,AchievementsDetailPanel,GuidesDetailPanel" start=FriendsDetailPanel region=main dir=down width=max height=180 }
		place { control="ScreenshotsDetailPanel,CommunityHubDetailPanel,CommunityDiscussionsDetailPanel" region=main start=GuidesDetailPanel dir=down width=max height=50 }
		
		place { control="Clock,ClockSuffix" region=right margin-right=20 margin-top=10 align=right}
		place { control="SessionText,TwoWeeksText,ForeverText" region=footer align=left dir=down margin-left=20 margin-top=10}
		
	}
	
}
