<?xml version="1.0" encoding="utf-8"?>
<Context xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="..\..\..\..\..\CivTech\Libs\ForgeUI\ForgeUI_Assets\Controls.xsd"
		ColorSet="BodyTextCool" Style="FontNormal22" FontEffect="Stroke">

	<Include File="PopupDialog" />
	<Box ID="MainGrid" Size="1024,parent" Anchor="C,T" Color="9,44,72,200" TutorialActive="1">
		<Image Texture="Controls_GradientSmall" Size="22,parent" AnchorSide="O,I" Anchor="R,T" Color="0,0,0,200" Rotate="270" Offset="0,0"/>
		<Image Texture="Controls_GradientSmall" Size="22,parent" AnchorSide="O,I" Anchor="L,T" Color="0,0,0,200" Rotate="90" Offset="0,0"/>
		<Box Color="32,70,101,150" Anchor="L,T" Size="2,parent"/>
		<Box Color="32,70,101,150" Anchor="R,T" Size="2,parent"/>

		<Container ID="MainWindow" Size="1024,768" Anchor="C,B">
			<!-- Logo -->
			<Grid ID="LogoContainer" Style="SubContainer4" Size="parent-10,116" Anchor="C,T" Color="7,28,50" AnchorSide="I,O" Offset="0,4">
				<Image ID="Logo"				Anchor="C,C" Texture="MainLogo.dds" StretchMode="Auto"/>
			</Grid>

			<!-- Header -->
			<Container Size="parent,54">
				<Grid Anchor="C,T" Size="parent-10,39" Texture="Controls_DecoFrame" SliceCorner="19,18" SliceSize="1,1" SliceTextureSize="40,38" Color="41,74,108,255" Offset="0,6">
					<GridButton ID="CloseButton" Style="ShellButtonOrnateFlat" Anchor="R,C" Size="150,36" Offset="1,0" String="LOC_MULTIPLAYER_BACK"/>
				</Grid>
				<Label Style="ShellHeader" Anchor="C,C" String="LOC_MODS_TITLE"/>
				<Grid Style="Divider3Grid" Size="parent+4, 8" Anchor="L,B" Offset="-2,0"/>
				<Grid Style="Divider3Grid" Size="parent+4, 8" Anchor="L,T" Offset="-2,0" Color="150,150,150,255"/>
			</Container>

			<Stack Anchor="C,T" Offset="0,65" Padding="5" StackGrowth="Right">
				<GridButton ID="InstalledTab" Style="ShellTab" Size="300,41"  String="LOC_MODS_INSTALLED"/>
				<GridButton ID="SubscriptionsTab" Style="ShellTab" Size="300,41"  String="LOC_MODS_SUBSCRIPTIONS"/>
				<GridButton ID="WorldBuilder"  Style="ShellTab" Size="300,41"  String="LOC_MODS_WORLD_BUILDER" />
			</Stack>

			

			<Container ID="InstalledTabPanel" Size="parent-30,parent-115"  Anchor="L,T" Offset="15,115">
				<Stack Padding="5">
					<Stack StackGrowth="Right">
						<PullDown ID="ModGroupPullDown" Anchor="C,T" Style="PullDownBlue" Size="945,24" ScrollThreshold="110" AutoSizePopUp="1" SpaceForScroll="0" Offset="0,0"/>
						<GridButton ID="CreateModGroup" Style="ButtonControl" Size="24,24" FontStyle="Stroke" ColorSet="ButtonCS" String="LOC_MODS_GROUP_ADD_NAME" ToolTip="LOC_MODS_GROUP_ADD_DESCRIPTION"/>
						<GridButton ID="DeleteModGroup" Style="ButtonControl" Size="24,24" FontStyle="Stroke" ColorSet="ButtonCS" String="LOC_MODS_GROUP_DELETE_NAME" ToolTip="LOC_MODS_GROUP_DELETE_DESCRIPTION"/>
					</Stack>
					<Stack StackGrowth="Right" Padding="1">
					<PullDown ID="SortListingsPullDown" Anchor="C,T" Style="PullDownBlue" Size="496,24"  AutoSizePopUp="1" SpaceForScroll="0" Offset="0,-3"/>
					<PullDown ID="CustomCollectionPullDown" Anchor="C,T" Style="PullDownBlue" Size="496,24" ScrollThreshold="350" AutoSizePopUp="1" SpaceForScroll="0" Offset="0,-3"/>
					</Stack>
				</Stack>
				
				<Stack StackGrowth="Down" Padding="10" Anchor="C,C">					
					<Image	ID="Portrait"  	Anchor="C,C" Offset="-3,0"	Size="160,160"	Texture="GreatPeople160"/>
					<Label Style="ShellHeader" Anchor="C,C" String="LOC_FF16_MOD_TITLE_1"/>
					<Label Style="ShellHeader" Anchor="C,C" String="LOC_FF16_MOD_TITLE_2"/>
				</Stack>

				<!-- DISABLED Mods Panel -->
				<Grid ID="DisabledModsPanel" Style="SubContainer" Size="402,parent-55"  Anchor="L,T" Offset="0,55"  >
					<Stack>
						<Label ID="DisabledModsLabel" Style="FontNormal16" Color="169,169,169,255" Anchor="C,T" Offset="0,5" String="LOC_FF16_DISABLED_MODS" />
						<Box ID="TitleDivider" Color="10,60,78,255" Anchor="L,B" Size="Parent,3" Offset="0,4" />
						<Grid Texture="Controls_Search2" SliceCorner="30,13" SliceTextureSize="41,26" Offset="0,5" Size="parent,26">
							<EditBox ID="SearchEditBox" Style="FontNormal16" Anchor="L,C" Offset="24,0" Size="parent-10,16" MaxLength="40" String="LOC_MODS_SEARCH_NAME" ToolTip="LOC_FF16_MODS_SEARCH_DESCRIPTION" CallOnChar="1" />
						</Grid>
										
						<Stack StackGrowth="Right" Anchor="C,T" Offset="5,-3" Padding="25">
							<CheckBox ID="ShowOfficialContent" Style="CheckBoxModsControl" String="LOC_FF16_OFFICIAL_FILTER" Anchor="L,T"  Size="150,24" Offset="0,4" ToolTip="LOC_FF16_OFFICIAL_TOOLTIP" />
							<CheckBox ID="ShowCommunityContent" Style="CheckBoxModsControl" String="LOC_FF16_COMMUNITY_FILTER"  Anchor="L,T"  Size="150,24" Offset="0,4" ToolTip="LOC_FF16_COMMUNITY_TOOLTIP"/>
							<CheckBox ID="ShowAffectsSaves" Style="CheckBoxModsControl" String="LOC_FF16_AFFECTSSAVE_FILTER"  Anchor="L,T"  Size="150,24" Offset="0,4" ToolTip="LOC_FF16_AFFECTSSAVE_TOOLTIP"/>
							<CheckBox ID="ShowNotAffectsSaves" Style="CheckBoxModsControl" String="LOC_FF16_NOTAFFECTSSAVE_FILTER"  Anchor="L,T"  Size="150,24" Offset="0,4" ToolTip="LOC_FF16_NOTAFFECTSSAVE_TOOLTIP"/>
						</Stack>
						<GridButton ID="EnableAll" Anchor="L,T" Style="ButtonControl" Size="390,24" FontStyle="Stroke" ColorSet="ButtonCS" String="LOC_MODS_ENABLE_ALL" ToolTip="LOC_FF16_ENABLEALL_TOOLTIP" />
						<Box ID="ModListDividerTop" Color="10,60,78,255" Anchor="L,B" Size="Parent,3" Offset="0,1" />


						<ScrollPanel ID="ModListings" Anchor="L,T" Vertical="1" Offset="0,0" Size="parent,parent-134" AutoScrollBar="0" >

							<!-- Listing Stack (Dynamic) -->
							<Stack Anchor="L,T" ID="ModListingsStack" StackGrowth="Bottom" Padding="5" />

							<!-- Scroll Controls -->
							<ScrollBar Style="Slider_Blue" Offset="-9,0" Anchor="R,T" AnchorSide="O,I" Size="8,parent" />
						</ScrollPanel>
						<Box ID="ModListDividerBottom" Color="10,60,78,255" Anchor="L,T" Size="Parent,3" Offset="0,0" />
						<Label ID="Disabled_Counter" Style="FontNormal14" Anchor="C,T" Offset="0,4" String="0" />
					</Stack>


					<Label  ID="NoModsInstalled" Style="FontFlair26" FontStyle="Shadow" ColorSet="ResGoldLabelCS" Anchor="C,C" Offset="0,0"  String="LOC_MODS_NONE_INSTALLED" Hidden="1"/>
				</Grid>
				
				<!-- ENABLED Mods Panel -->
				<Grid ID="EnabledModsPanel" Style="SubContainer" Size="402,parent-55"  Anchor="R,T" Offset="0,55"  >
					<Stack>
						<Label ID="Enabled_ModsLabel" Style="BlueGlow" Anchor="C,T" Offset="0,5" String="LOC_FF16_ENABLED_MODS" />
						<Box ID="Enabled_TitleDivider" Color="10,60,78,255" Anchor="L,B" Size="Parent,3" Offset="0,4" />
						<Grid Texture="Controls_Search2" SliceCorner="30,13" SliceTextureSize="41,26" Offset="0,5" Size="parent,26">
							<EditBox ID="Enabled_SearchEditBox" Style="FontNormal16" Anchor="L,C" Offset="24,0" Size="parent-10,16" MaxLength="40" String="LOC_MODS_SEARCH_NAME" ToolTip="LOC_FF16_MODS_SEARCH_DESCRIPTION" CallOnChar="1" /> 
						</Grid>		
						<Stack StackGrowth="Right" Anchor="C,T" Offset="5,-3" Padding="25">
							<CheckBox ID="Enabled_ShowOfficialContent" Style="CheckBoxModsControl" String="LOC_FF16_OFFICIAL_FILTER" Anchor="L,T"  Size="150,24" Offset="0,4" ToolTip="LOC_FF16_OFFICIAL_TOOLTIP" />
							<CheckBox ID="Enabled_ShowCommunityContent" Style="CheckBoxModsControl" String="LOC_FF16_COMMUNITY_FILTER"  Anchor="L,T"  Size="150,24" Offset="0,4" ToolTip="LOC_FF16_COMMUNITY_TOOLTIP"/>
							<CheckBox ID="Enabled_ShowAffectsSaves" Style="CheckBoxModsControl" String="LOC_FF16_AFFECTSSAVE_FILTER"  Anchor="L,T"  Size="150,24" Offset="0,4" ToolTip="LOC_FF16_AFFECTSSAVE_TOOLTIP"/>
							<CheckBox ID="Enabled_ShowNotAffectsSaves" Style="CheckBoxModsControl" String="LOC_FF16_NOTAFFECTSSAVE_FILTER"  Anchor="L,T"  Size="150,24" Offset="0,4" ToolTip="LOC_FF16_NOTAFFECTSSAVE_TOOLTIP"/>
						</Stack>
						<GridButton ID="DisableAll" Anchor="R,T" Style="ButtonControl" Size="390,26" FontStyle="Stroke" ColorSet="ButtonCS" String="LOC_MODS_DISABLE_ALL" ToolTip="LOC_FF16_DISABLEALL_TOOLTIP" />
						<Box ID="Enabled_ModListDividerTop" Color="10,60,78,255" Anchor="L,B" Size="Parent,3" Offset="0,1" />


						<ScrollPanel ID="Enabled_ModListings" Anchor="L,T" Vertical="1" Offset="0,0" Size="parent,parent-134" AutoScrollBar="0" >

							<!-- Listing Stack (Dynamic) -->
							<Stack Anchor="L,T" ID="Enabled_ModListingsStack" StackGrowth="Bottom" Padding="5" />

							<!-- Scroll Controls -->
							<ScrollBar Style="Slider_Blue" Offset="-9,0" Anchor="R,T" AnchorSide="O,I" Size="8,parent"/>
						</ScrollPanel>
						<Box ID="Enabled_ModListDividerBottom" Color="10,60,78,255" Anchor="L,T" Size="Parent,3" Offset="0,0" />
						<Label ID="Enabled_Counter" Style="FontNormal14" Anchor="C,T" Offset="0,3" String="0" />
					</Stack>


					<Label  ID="Enabled_NoModsInstalled" Style="FontFlair26" FontStyle="Shadow" ColorSet="ResGoldLabelCS" Anchor="C,C" Offset="0,0"  String="LOC_MODS_NONE_INSTALLED" Hidden="1"/>
				</Grid>

				<Grid ID="ModDetailsGrid" Style="SubContainer" Size="parent-415,parent-55"  Anchor="R,T" Offset="0,55"  >
					<Grid Style="DecoGrid" Anchor="C,C" Size="parent-10,parent-10" Color="26,61,90,255">
						<Image Anchor="C,C" Size="457,469" Texture="AdditionalContent_Watermark"/>
						<Label ID="NoModSelected" Style="FontNormal16" Anchor="C,C" Offset="0,0" String="LOC_MODS_NONE_SELECTED" />

						<Container ID="ModDetailsContainer" Size="parent,parent">
							<!-- Main details panel -->
							<Grid Size="parent-20,90" Anchor="C,T" Offset="0,10" Style="SubContainer">
								
								<Stack StackGrowth="Right" StackPadding="10">
									<Image Texture="AdditionalContent_IconBacking50" Size="70,70" Anchor="L,C" Offset="6,5">
										<Image ID="OfficialIcon" Anchor="C,C"	Size="50,50" Offset="4,0" Texture="OfficialContent_50"/>
										<Image ID="CommunityIcon" Anchor="C,C"	Size="50,50" Offset="4,0" StretchMode="Fill" Texture="FF16_Gameplay_50.dds"/>
										<Image ID="MapIcon" Anchor="C,C"	Size="50,50" Offset="4,0" Texture="WorldBuilderMap_50"/>
										<Image ID="CosmeticIcon" Anchor="C,C" Size="50,50" Offset="4,0" StretchMode="Fill" Texture="FF16_Cosmetic_50.dds"/>
									</Image>

									<Stack Anchor="L,T" Offset="0,8" StackPadding="7">
										<Label ID="ModTitle" Anchor="L,T" Style="FontNormal16" SmallCaps="22" SmallCapsType="EveryWord" WrapWidth="420" TruncateHeight="20"/>
										<Box Color="10,60,78,255" Anchor="C,T" Size="Parent-120,3"/>
										<Label ID="ModContent" Style="FontNormal14" WrapWidth="420" TruncateHeight="50"/>
									</Stack>
								</Stack>
							</Grid>

							<!-- Additional details scroll panel -->
							<ScrollPanel ID="ModDetailsScrollPanel" Anchor="L,T" Vertical="1" Offset="0,100" Size="parent,parent-160" AutoScrollBar="1">
								<Stack Anchor="L,T" ID="ModDetailsStack" StackGrowth="Bottom" Padding="5" Size="parent,10">

									<Container Size="parent,8"/>
									<Label ID="ModCompatibilityWarning" Style="FontNormal14" String="LOC_MODS_DETAILS_NOT_COMPATIBLE_WARNING" Anchor="C,T" Offset="0,5"/>
									<Label ID="ModLocallyInstalled" Style="FontNormal14" String="LOC_FF16_LOCALINSTALL" Anchor="C,T" Offset="0,5"/>
									<Stack Anchor="C,T" StackGrowth="Right" Offset="0,5" Padding="10">
										<Label ID="ModIdVersion" Style="FontNormal16" Anchor="C,T" Offset="0,5"/>
										<GridButton ID="OpenWorkshopButton" Style="ButtonControl" Size="24,24" FontStyle="Stroke" ColorSet="ButtonCS" String="[ICON_AdditionalContent]" ToolTip="LOC_FF16_OPEN_WORKSHOP" Hidden="1"/>
									</Stack>
									<Stack Anchor="C,T" StackGrowth="Right" Offset="0,3" Padding="10">
										<Label ID="ModLastUpdatedDateValue" Style="FontNormal16" Anchor="C,T" String="LOC_MODS_LAST_UPDATED" Hidden="1"/>
										<GridButton ID="OpenChangeLogButton" Style="ButtonControl" Size="24,24" Offset="0,-3" FontStyle="Stroke" ColorSet="ButtonCS" String="[ICON_AdditionalContent]" ToolTip="LOC_FF16_OPEN_CHANGELOG" Hidden="1"/>
									</Stack>
									
									<Stack ID="ModPropertiesStack" StackGrowth="Right" Anchor="C,T" Padding="5">
										<Stack ID="ModPropertiesCaptionStack">
											<Container ID="ModAuthorsCaption" Anchor="R,T" Offset="0,5" Size="auto,22">
												<Label Style="FontNormal16" String="LOC_MODS_DETAILS_AUTHOR" />
											</Container>
											<Container ID="ModSpecialThanksCaption" Anchor="R,T" Offset="0,5" Size="auto,22">
												<Label Style="FontNormal16" String="LOC_MODS_DETAILS_SPECIAL_THANKS" />
											</Container>
											<Label ID="ModOwnershipCaption" Style="FontNormal16" Anchor="R,T" Offset="0,5" String="LOC_MODS_DETAILS_OWNERSHIP" />
											<Label ID="ModAffectsSavedGamesCaption" Style="FontNormal16" Anchor="R,T" Offset="0,5" String="LOC_MODS_DETAILS_AFFECTS_SAVED_GAMES" />
											<Label ID="ModSupportsSinglePlayerCaption" Style="FontNormal16" Anchor="R,T" Offset="0,5" String="LOC_MODS_DETAILS_SINGLEPLAYER" />
											<Label ID="ModSupportsMultiplayerCaption" Style="FontNormal16" Anchor="R,T" Offset="0,5" String="LOC_MODS_DETAILS_MULTIPLAYER" />
											<Label ID="ModIsSubscribedCaption" Style="FontNormal16" Anchor="R,T" Offset="0,5" String="LOC_FF16_MODS_SUBSCRIBED" />
										</Stack>
										<Stack ID="ModPropertiesValuesStack">
											<Label ID="ModAuthorsValue" Style="FontNormal16" Anchor="L,T" Offset="0,5" String="Joe Bob" WrapWidth="300" />
											<Label ID="ModSpecialThanksValue" Style="FontNormal16" Anchor="L,T" Offset="0,5" WrapWidth="300"/>
											<Label ID="ModOwnershipValue" Style="FontNormal16" Anchor="L,T" Offset="0,5" String="LOC_MODS_DETAILS_OWNERSHIP_NO" />
											<Label ID="ModAffectsSavedGamesValue" Style="FontNormal16" Anchor="L,T" Offset="0,5" String="LOC_MODS_NO" />
											<Label ID="ModSupportsSinglePlayerValue" Style="FontNormal16" Anchor="L,T" Offset="0,5" String="LOC_MODS_YES" />
											<Label ID="ModSupportsMultiplayerValue" Style="FontNormal16" Anchor="L,T" Offset="0,5" String="LOC_MODS_YES" />
											<Label ID="ModIsSubscribedValue" Style="FontNormal16" Anchor="L,T" Offset="0,5" String="LOC_MODS_YES" Hidden="1"/>
										</Stack>
									</Stack>

									<Container Size="parent,6"/>
									<Label ID="ModDescription" Style="FontNormal16" Anchor="L,T" Offset="10,5" WrapWidth="parent-30" String="aaasdf asdf asdf asdf asdf asd fasd fasdf asdf asd fasdfas dfas dfad fasd fasd fa d sf asdf asd fasdf asdf asdf adf " />
									<Container Size="parent,6"/>
									
									<Container Size="parent,6"/>
									<GridButton ID="ModIDExportButton" Style="MainButtonSmall" Anchor="C,B" Size="250,24" String="LOC_FF16_MODID_EXPORT" ToolTip="LOC_FF16_MODID_EXPORT_TOOLTIP" Hidden="1"/>
									<Container Size="parent,6"/>

									<Stack ID="ModDependenciesStack" Offset="10,5" >
										<Label ID="ModDependenciesStackLabel" Style="FontNormal16" WrapWidth="parent-10" String="LOC_MODS_DETAILS_REFERENCES_DEPENDENCY" />
										<Stack ID="ModDependencyItemsStack" />
									</Stack>
								</Stack>

								<!-- Scroll Controls -->
								<ScrollBar Style="Slider_Blue" Length="530" Offset="-14,0" Anchor="R,T" AnchorSide="O,I" />

							</ScrollPanel>

							<!-- Enable/Disable Buttons -->
							<CheckBox ID="WhitelistMod" Style="CheckBoxModsControl" String="LOC_MODS_DETAILS_COMPATIBILITY_WHITELIST_PROMPT"   Anchor="C,B"  Size="150,24" Offset="0,30" />
							<Box Color="10,60,78,255" Anchor="C,B" Size="Parent,3" Offset="0,26" />
							<GridButton ID="EnableButton" Style="MainButtonSmall" Anchor="C,B" Size="250,24" String="LOC_MODS_ENABLE"/>
							<GridButton ID="DisableButton" Style="MainButtonSmall" Anchor="C,B" Size="250,24" String="LOC_MODS_DISABLE"/>
						</Container>
						

					</Grid>
				</Grid>
					
				<Container ID="MessageContainer" Anchor="C,B"	Size="995,120" InnerPadding="300,0" Offset="0,0">
					<Grid ID="Frame" Style="SubContainer3" Color="204,207,245,100" Size="995,auto" ClampSize="V" Anchor="C,C">
						<Label ID="MessageText" Style="FontNormal14" WrapWidth="parent-8" Anchor="C,C" String="Tip: Right click a mod to instantly enable/disable it."/>
					</Grid>
					<Label ID="SignatureText" Style="FontNormal12" Offset="0,15" Anchor="C,B" String="LOC_FF16_SIGNATURE"/>
				</Container>	
				
			</Container>
			
			<Container ID="SubscriptionsTabPanel" Size="parent-30,parent-115"  Anchor="L,T" Offset="15,115" Hidden="1">
				<Grid Style="SubContainer" Size="parent,parent-50"  Anchor="L,T" Offset="0,0">
					<ScrollPanel ID="SubscriptionListings" Anchor="L,T" Vertical="1" Offset="0,15" Size="parent,parent-30" AutoScrollBar="1" >

						<!-- Listing Stack (Dynamic) -->
						<Stack Anchor="L,T" ID="SubscriptionListingsStack" StackGrowth="Bottom" Padding="5" />

						<!-- Scroll Controls -->
						<ScrollBar Style="Slider_Blue" Offset="3,0" Anchor="R,T" AnchorSide="O,I" />

					</ScrollPanel>

					<Label  ID="NoSubscriptions" Style="FontFlair26" FontStyle="Shadow" ColorSet="ResGoldLabelCS" Anchor="C,C" Offset="0,0"  String="LOC_MODS_NO_SUBSCRIPTIONS" />
				</Grid>
				<GridButton ID="BrowseWorkshop"  Anchor="C,B" Offset="0,0" Style="MainButton" Size="300,41" FontStyle="Stroke" ColorSet="ButtonCS" String="LOC_MODS_BROWSE_WORKSHOP" />

			</Container>
		</Container>
	</Box>

	<Box ID="NameModGroupPopup" Color="0,0,0,150" Size="parent,parent" ConsumeMouseOver="1" Hidden="1" IgnoreTutorial="1">
		<AlphaAnim ID="NameModGroupPopupAlpha" AlphaBegin="0" AlphaEnd="1" Speed="3" Function="Root" Cycle="Once" Size="parent,parent">
			<SlideAnim ID="NameModGroupPopupSlide" Start="0,-20" End="0,0" Speed="3" Function="Root" Cycle="Once" Size="parent,parent">
				<Grid Size="500,250" Anchor="C,C" Offset="0,-50" Style="DropShadow2"  Hidden="0" Color="255,255,255,200">
					<Grid ID="NameModGroupPopupWindow" Size="parent-50,auto" Anchor="C,C" SizePadding="0,20" Style="WindowFrameTitle" Hidden="0">
						<Label ID="BindingTitle" Anchor="C,T" String="LOC_MODS_GROUP_ENTER_NAME" Align="Center" Style="BlueGlow" Offset="0,15"/>
						<Stack Offset="0,60" Size="parent,0" StackGrowth="Down" Anchor="C,T" Padding="15">
							<Grid Style="EditTextButton" Anchor="C,T" Size="parent-100,26">
								<EditBox ID="ModGroupEditBox" Style="FontNormal16" Anchor="L,C" Offset="24,0" Size="parent-10,16" MaxLength="40" String="" CallOnChar="1" />
							</Grid>
							<Container Size="parent,50" Anchor="C,T">
								<GridButton ID="CancelBindingButton" Style="ButtonRed" Size="200,41" Offset="10,0" Anchor="L,T" String="LOC_CANCEL"/>
								<GridButton ID="CreateModGroupButton" Style="MainButton" Size="200,41" Offset="10,0" Anchor="R,T" String="LOC_OK"/>
							</Container>
						</Stack>
					</Grid>
				</Grid>
			</SlideAnim>
		</AlphaAnim>
	</Box>
	
	<Box ID="ConfirmChoicePopup" Color="0,0,0,150" Size="parent,parent" ConsumeMouseOver="1" Hidden="1" IgnoreTutorial="1">
		<AlphaAnim AlphaBegin="0" AlphaEnd="1" Speed="3" Function="Root" Cycle="Once" Size="parent,parent">
			<SlideAnim Start="0,-20" End="0,0" Speed="3" Function="Root" Cycle="Once" Size="parent,parent">
				<Grid Size="500,250" Anchor="C,C" Offset="0,-50" Style="DropShadow2"  Hidden="0" Color="255,255,255,200">
					<Grid Size="parent-50,auto" Anchor="C,C" SizePadding="0,20" Style="WindowFrameTitle" Hidden="0">
						<Label ID="ConfirmPopupTitle" Anchor="C,T" String="Are you sure?" Align="Center" Style="BlueGlow" Offset="0,15"/>
						<Stack Offset="0,60" Size="parent,0" StackGrowth="Down" Anchor="C,T" Padding="15">
							<Container Size="parent,50" Anchor="C,C">							
								<GridButton ID="ConfirmEnableButton" Style="MainButton" Size="200,41" Offset="20,0" Anchor="L,T" String="LOC_YES"/>
								<GridButton ID="ConfirmDisableButton" Style="MainButton" Size="200,41" Offset="20,0" Anchor="L,T" String="LOC_YES"/>
								<GridButton ID="CancelButton" Style="ButtonRed" Size="200,41" Offset="20,0" Anchor="R,T" String="LOC_NO"/>
							</Container>
						</Stack>
					</Grid>
				</Grid>
			</SlideAnim>
		</AlphaAnim>
	</Box>


	<Instance Name="ModInstance">
		<Container ID="ModInstanceRoot" Size="parent-10,60">
			<GridButton ID="ModInstanceButton" Style="ButtonControl" Size="parent,parent" >
				<Label ID="ModBolt" Style="FontNormal14" Anchor="L,C" Offset="-18,0" String="[ICON_Bullet]" Hidden="1"/>
				<Image Texture="AdditionalContent_IconBacking36" Size="53,49" Anchor="L,C" Offset="6,0">
					<Image ID="OfficialIcon" Anchor="C,C"	Size="36,36" Offset="2,0" Texture="OfficialContent_36"/>
					<Image ID="CommunityIcon" Anchor="C,C"	Size="36,36" Offset="2,0" StretchMode="Fill" Texture="FF16_Gameplay_50.dds"/>
					<Image ID="MapIcon" Anchor="C,C"	Size="36,36" Offset="4,0" Texture="WorldBuilderMap_36"/>
					<Image ID="CosmeticIcon" Anchor="C,C"	Size="36,36" Offset="2,0" StretchMode="Fill" Texture="FF16_Cosmetic_50.dds"/>
				</Image>			
				<Stack ID="AdditionalIconsStack" StackGrowth="Left" Anchor="R,T" Offset="0,0">
					<Image ID="LocalInstallIcon" Anchor="R,T" Size="16,16" Offset="0,7" StretchMode="Fill" Texture="FF16_Folder_32.dds" ToolTip="LOC_FF16_LOCALINSTALL_TOOLTIP" Hidden="1"/>
					<Label ID="CompatibleIcon" Style="FontNormal14" Anchor="R,T" Offset="0,12" String="[ICON_CheckFail]" Hidden="1"/>				
				</Stack>
				<Stack StackGrowth="Down" Anchor="L,C" Padding="2">
					<Label ID="ModTitle" Style="FontNormal16" FontEffect="Glow" Anchor="L,T" Offset="64,0" WrapWidth="280" />
					<Label ID="ModSummary" Style="FontNormal12" Anchor="L,T" Offset="64,0" WrapWidth="300" TruncateHeight="10" Color="169,169,169,255" />
				</Stack>
			</GridButton>
		</Container>
	</Instance>
	
	<Instance Name="Enabled_ModInstance">
		<Container ID="ModInstanceRoot" Size="parent-10,60">
			<GridButton ID="ModInstanceButton" Style="ButtonControl" Size="parent,parent">		
				<Label ID="ModBolt" Style="FontNormal14" Anchor="L,C" Offset="-18,0" String="[ICON_Bullet]" Hidden="1"/>
				<Image Texture="AdditionalContent_IconBacking36" Size="53,49" Anchor="L,C" Offset="6,0">
					<Image ID="OfficialIcon" Anchor="C,C"	Size="36,36" Offset="2,0" Texture="OfficialContent_36"/>
					<Image ID="CommunityIcon" Anchor="C,C"	Size="36,36" Offset="2,0" StretchMode="Fill" Texture="FF16_Gameplay_50.dds"/>
					<Image ID="MapIcon" Anchor="C,C"	Size="36,36" Offset="4,0" Texture="WorldBuilderMap_36"/>
					<Image ID="CosmeticIcon" Anchor="C,C"	Size="36,36" Offset="2,0" StretchMode="Fill" Texture="FF16_Cosmetic_50.dds"/>
				</Image>
				<Stack ID="AdditionalIconsStack" StackGrowth="Left" Anchor="R,T" Offset="0,0">
					<Image ID="LocalInstallIcon" Anchor="R,T" Size="16,16" Offset="0,7" StretchMode="Fill" Texture="FF16_Folder_32.dds" ToolTip="LOC_FF16_LOCALINSTALL_TOOLTIP" Hidden="1"/>
					<Label ID="CompatibleIcon" Style="FontNormal14" Anchor="R,T" Offset="0,12" String="[ICON_CheckFail]" Hidden="1"/>				
				</Stack>			
				<Stack StackGrowth="Down" Anchor="L,C" Padding="2">
					<Label ID="ModTitle" Style="FontNormal16" FontEffect="Glow" Anchor="L,T" Offset="64,0" WrapWidth="280" />
					<Label ID="ModSummary" Style="FontNormal12" Anchor="L,T" Offset="64,0" WrapWidth="300" TruncateHeight="10" Color="169,169,169,255" />
				</Stack>						
			</GridButton>
		</Container>
	</Instance>

	<Instance Name="SubscriptionInstance">
		<Grid ID="SubscriptionInstanceRoot"  Style="SubContainer3" Size="parent-30,80" Anchor="L,T" Offset="15,0" Color="2,89,148,255" >
			<Label ID="SubscriptionTitle" Style="FontNormal16" Anchor="L,C" Offset="15,5" String="title" />
			<Label ID="SubscriptionStatus" Style="FontNormal14" Anchor="L,T" Offset="15,5" String="Installed" />
			<Label ID="LastUpdated" Style="FontNormal14" Anchor="R,T" Offset="15,5" String="Last Updated: forever" />

			<Box ID="SubscriptionDownloadProgress" Color="0,100,0,100" Anchor="L,T" Size="400,Parent" Offset="0,0" />
			<Stack Anchor="R,B" StackGrowth="Left">
				<GridButton ID="SubscriptionViewButton" Style="TabButton" Anchor="R,B" Offset="0,5" Size="150,36" String="LOC_MODS_VIEW" />
				<GridButton ID="SubscriptionUpdateButton" Style="TabButton" Anchor="R,B" Offset="0,5" Size="150,36" String="LOC_MODS_UPDATE" />
				<GridButton ID="UnsubscribeButton" Style="TabButton" Anchor="R,B" Offset="0,5" Size="150,36" String="LOC_MODS_UNSUBSCRIBE" />
			</Stack>
		</Grid>
	</Instance>

	<Instance Name="ReferenceItemInstance">
		<Label ID="Item" Style="FontNormal14" Anchor="L,T" WrapWidth="parent-10" String="[ICON_DOT] Some Awesome Mod." />
	</Instance>

	<!-- Dialog Support -->
	<MakeInstance Name="PopupDialog" />

</Context>
