<?xml version="1.0" encoding="utf-8"?>
<Context>

	<Container Style="FullScreenVignetteConsumer" />

	<Box 		ID="Main"	Anchor="C,C"	Size="1150,720"		Color="11,27,40,255">
		<Grid							Anchor="C,C"					Size="parent+9,parent+9"		Style="WindowFrameTopOnly" />
		<!-- Window Header -->
		<Button		ID="CloseButton"	Anchor="R,T"	Offset="-3,-1"	Size="44,44"					Texture="Controls_CloseLarge" />
		<Image							Anchor="C,T"					Size="parent,44"		Color="61,112,154,255"	Texture="Controls_Gradient_HalfRadial" />
		<!-- Open the Governors panel -->
		<Button ID="OpenGovernorsButton" Anchor="L,T" Offset="1,0" Size="49,49" Texture="LaunchBar_Hook_GovernorsButton" Style="ButtonNormalText" StateOffsetIncrement="0,49" ToolTip="LOC_HUD_LAUNCHBAR_GOVERNOR_BUTTON" >
			<Image Size="35,35" Anchor="C,C" Texture="LaunchBar_Hook_Governors" />
			<!--<Label ID="AlertIndicator" String="[ICON_New]" Anchor="R,T" AnchorSide="O,O" Offset="-18,-18" Hidden="1"/>-->
		</Button>
		<!-- Governor Titles -->
		<Label ID="GovernorTitlesAvailable" Anchor="L,T" Offset="70,11" Style="FontFlair14" Color="230,230,230,255"/>
		<Label ID="GovernorTitlesSpent"     Anchor="L,T" Offset="70,25" Style="FontFlair14" Color="230,230,230,255"/>
		<Label Anchor="C,T" Offset="0,16" Style="FontFlair20" String="{LOC_RGI_WINDOW_TITLE:upper}" FontStyle="Glow" Color0="133,205,235,255" Color1="203,215,225,100" Color2="254,254,254,255" SmallCapsType="EveryWord" SmallCaps="26" />
		<!--
		<Label                      Anchor="L,T" Offset="810,8"  Style="FontFlair16" String="{LOC_ERA_PROGRESS_ERA_SCORE:upper}" FontStyle="Glow" Color0="133,205,235,255" Color1="203,215,225,100" Color2="254,254,254,255" SmallCaps="18" SmallCapsType="EveryWord" />
		<Label ID="TotalsLabel"     Anchor="L,T" Offset="910,7"  Style="FontFlair18" String="$score$"      FontStyle="Glow" Color0="133,205,235,255" Color1="203,215,225,100" Color2="254,254,254,255" />
		<Label ID="ThresholdsLabel" Anchor="L,T" Offset="810,26" Style="FontFlair16" String="$thresholds$" FontStyle="Glow" Color0="133,205,235,255" Color1="203,215,225,100" Color2="254,254,254,255" />
		-->
		<!-- Audience Chamber -->
		<Image ID="AudienceChamberImage" Anchor="R,T" Offset="50,-1" Size="50,50" Icon="ICON_BUILDING_GOV_TALL" IconSize="50" ToolTip="{LOC_BUILDING_GOV_TALL_NAME}[NEWLINE]{LOC_BUILDING_GOV_TALL_DESCRIPTION}"/>
		
		<Grid							Anchor="C,T"	Offset="0,44"	Size="parent-6,8"				Style="Divider3Grid" />
		
		<!-- Tab Header -->
		<Container		ID="TabArea"	Anchor="C,T"	Offset="0,44"	Size="parent,42" >
			<Image							Anchor="C,T"	Offset="0,4"	Size="parent-8,22"	Color="0,0,0,255"	Texture="Controls_GradientSmall" />
			<Container	ID="TabContainer"					Offset="0,0"	Size="parent,34" />
			<Grid							Anchor="C,B"	Offset="0,0"	Size="parent-6,8"	Style="Divider3Grid" />
		</Container>
		<Container						Anchor="C,T"	Offset="0,44"	Size="parent,36">
			<SlideAnim	ID="TabAnim"		Begin="0,0" End="0,0" Cycle="Once" Speed="3.5" Function="OutQuint" Size="67,68">
				<Image		ID="TabArrow"		Texture="Controls_TabSelectArrow" Size="42,11"/>
			</SlideAnim>
		</Container>

		<!-- Contents -->
		<ScrollPanel	ID="Scroll"												Offset="4,84"		Size="parent-8,parent-88"				Vertical="1" AutoScrollBar="1" >
			<Stack			ID="Stack"					Anchor="L,T"	Offset="0,1"		StackPadding="4" />
			<ScrollBar											Anchor="R,C"	Offset="2,0"		Size="11,parent" AnchorSide="I,I"					Style="ScrollVerticalBarAlt" />
		</ScrollPanel>
		<Image														Anchor="C,T"	Offset="0,83"		Size="parent-8,22"				Color="0,0,0,255" Texture="Controls_GradientSmall" />

		<!-- Policies -->
		<Container ID="PoliciesSection" Size="parent-6,50" Anchor="C,B" >
			<Grid Anchor="L,T" Size="parent,8" Style="Divider3Grid"/>
			<!--<Stack ID="PoliciesStack" StackGrowth="Down" StackPadding="10" WrapGrowth="Right" WrapWidth="parent" />-->
			<Stack ID="PoliciesStack" StackGrowth="Right" StackPadding="4" Anchor="L,T" Offset="6,8" />
		</Container>

		<!--
		<Container ID="BottomFilters" Anchor="C,B" Offset="0,0" Size="parent-6,80">
			<Grid Anchor="C,T" Offset="0,0" Size="parent,8" Style="Divider3Grid"/>
			<Image Anchor="C,B" Offset="0,2" Size="parent,parent" Texture="Controls_Gradient" Color="255,255,255,32">
				<Label Anchor="L,T" Offset="10,10" Style="FontFlair20" String="LOC_ERA_PROGRESS_ERA_SCORE" FontStyle="Glow" Color0="133,205,235,255" Color1="203,215,225,100" Color2="254,254,254,255" />
				<GridButton ID="EraScore1Checkbox" Style="CheckBoxControl" Anchor="L,T" Offset="40,10" Size="140,26" String="{LOC_ERA_PROGRESS_ERA_SCORE} 1"/>
				<GridButton ID="EraScore2Checkbox" Style="CheckBoxControl" Anchor="L,T" Offset="200,10" Size="140,26" String="{LOC_ERA_PROGRESS_ERA_SCORE} 2"/>
				<GridButton ID="EraScore3Checkbox" Style="CheckBoxControl" Anchor="L,T" Offset="360,10" Size="140,26" String="{LOC_ERA_PROGRESS_ERA_SCORE} 3"/>
				<GridButton ID="EraScore4Checkbox" Style="CheckBoxControl" Anchor="L,T" Offset="520,10" Size="140,26" String="{LOC_ERA_PROGRESS_ERA_SCORE} 4+"/>
				<GridButton ID="HideNotActiveCheckbox"    Style="CheckBoxControl" Anchor="L,B" Offset="40,10"  Size="220,26" String="LOC_RET_CHECKBOX_HIDE_NOT_ACTIVE"/>
				<GridButton ID="ShowOnlyEarnedCheckbox"   Style="CheckBoxControl" Anchor="L,B" Offset="280,10" Size="220,26" String="LOC_RET_CHECKBOX_SHOW_ONLY_EARNED"/>
				<GridButton ID="HideNotAvailableCheckbox" Style="CheckBoxControl" Anchor="L,B" Offset="520,10" Size="400,26" String="LOC_RET_CHECKBOX_HIDE_NOT_AVAILABLE"/>
			</Image>
		</Container>
		-->
		
	</Box>

	<!-- Tab Instance -->
	<Instance Name="TabInstance">
		<GridButton		ID="Button"						Size="50,34" Style="TabButton" FontSize="14" TextOffset="0,2">
			<AlphaAnim		ID="Selection"	Offset="-2,0"	Size="parent+3,parent" Speed="4" AlphaBegin="0" AlphaEnd="1" Cycle="Once" Function="Root" Hidden="1" >
				<GridButton										Size="parent,parent" Style="TabButtonSelected" ConsumeMouseButton="0" ConsumeMouseOver="1" />
			</AlphaAnim>
		</GridButton>
	</Instance>

	<!-- Non-Collapsable Rows -->
	<Instance					Name="SimpleInstance">
		<Stack					ID="Top"	StackGrowth="Down" />
	</Instance>
	
	
	<!-- PROMOTIONS AND EFFECTS -->
	
	<Instance Name="PromoNameInstance">
		<Container ID="Top" Size="110,22">
			<!--<Image Offset="0,0"	Size="parent,parent" Texture="Controls_GradientSmall" FlipY="1" Color="39,89,137,125" />-->
			<Container		Size="parent-2,parent">
				<GridButton		ID="PromoButton"  Size="parent-2,parent" Style="ButtonLightWeightSquareGrid" Anchor="C,C">
					<Label		ID="PromoName"	 Style="ReportValueText"		String="promo" />
				</GridButton>
			</Container>
			<Box Size="2,parent"	Color="46,70,95,128" Anchor="R,T" />
		</Container>
	</Instance>
	
	<Instance Name="PromoEffectInstance">
		<Container	ID="Top" Size="110,46"> <!-- 110x6 = 660 -->
			<!--<Image	Offset="0,0" Size="parent,parent" Texture="Controls_GradientSmall" FlipY="1" Color="39,89,137,125" />-->
			<Stack	StackGrowth="Down" >
				<Container	Size="parent-2,22">
					<Label ID="Yields" Style="ReportValueText" Anchor="C,C" String="$yields$" Align="Center" Offset="0,1" />
				</Container>
				<Box Size="parent-2,1" Color="46,70,95,128" />
				<Container Size="parent-2,22">
					<Label ID="Effect" Style="ReportValueText" Anchor="C,C" String="$effect$" Align="Center" Offset="0,1" />
				</Container>
				<Box Size="parent-2,1" Color="46,70,95,128" />
			</Stack>
			<Box Size="2,parent" Color="46,70,95,128" Anchor="R,T" />
		</Container>
	</Instance>
				
	<!-- CITIES -->

	<Instance					Name="CityHeaderInstance">
		<Container			ID="Top" Offset="4,0" Size="parent-8,22">
			<Image Size="parent,parent" Texture="Controls_GradientSmall" Color="39,89,137,125" />
			<Stack	StackGrowth="Right" >
				<Box			Size="2,parent"	Color="46,70,95,128" />
				<Container		Size="35,parent">
					<GridButton		ID="Governor"  Size="parent,parent" Style="ButtonLightWeightSquareGrid" Anchor="C,C" ToolTip="LOC_REPORTS_GOVERNOR" >
						<Label													Style="ReportValueText"		String="[ICON_Governor]" />
					</GridButton>
				</Container>
				<Box			Size="2,parent"	Color="46,70,95,128" />
				<Container		Size="200,parent">
					<GridButton		ID="CityName"  Size="parent,parent" Style="ButtonLightWeightSquareGrid" Anchor="C,C">
						<Label													Style="ReportValueText"		String="LOC_HUD_REPORTS_HEADER_CITY" />
					</GridButton>
				</Container>
				<Box			Size="2,parent"	Color="46,70,95,128" />
				<Container		Size="35,parent">
					<GridButton		ID="Population"  Size="parent,parent" Style="ButtonLightWeightSquareGrid" Anchor="C,C" ToolTip="LOC_HUD_REPORTS_HEADER_POPULATION" >
						<Label													Style="ReportValueText"		String="[ICON_Citizen]" />
					</GridButton>
				</Container>
				<Box			Size="2,parent"	Color="46,70,95,128" />
				<Container		Size="200,parent">
					<GridButton		ID="Total"  Size="parent,parent" Style="ButtonLightWeightSquareGrid" Anchor="C,C" >
						<Label													Style="ReportValueText"		String="LOC_HUD_CITY_TOTAL" />
					</GridButton>
				</Container>
				<Box			Size="2,parent"	Color="46,70,95,128" />
				<Stack			ID="PromoNames" StackGrowth="Right" />
			</Stack>
		</Container>
	</Instance>

	<!-- Columns: governor icon, city name, population, many effects -->
	<Instance Name="CityEntryInstance">
		<Container ID="Top" Offset="4,0" Size="parent-8,46">
			<Image Size="parent,parent" Texture="Controls_GradientSmall" Color="39,89,137,125" />
			<Stack StackGrowth="Right" > <!-- 400 -->
				<Box									Size="2,parent"	Color="46,70,95,128" />
				<Container Size="35,parent">
					<Label ID="Governor"		Style="ReportValueText"	String="$G$"/>
				</Container>
				<Box									Size="2,parent"	Color="46,70,95,128" />
				<Container Size="200,parent">
					<GridButton		ID="GoToCityButton" Size="parent-4,parent-2" Style="ButtonLightWeightSquareGrid" Anchor="C,C" >
						<Label		ID="CityName" Color="Science" Style="ReportValueText" FontSize="15" String="$CityName$" />
					</GridButton>
				</Container>
				<Box 									Size="2,parent" Color="46,70,95,128" />
				<Container Size="35,parent">
					<Label ID="Population" Style="ReportValueText" FontSize="16" String="$0$" Align="Center" />
				</Container>
				<Box									Size="2,parent"	Color="46,70,95,128" />
				<Container Size="200,parent">
					<Label ID="Total" Style="ReportValueText" String="$Total$" Align="Center" />
				</Container>
				<Box									Size="2,parent"	Color="46,70,95,128" />
				<Stack ID="PromoEffects" StackGrowth="Right" /> <!-- 720 -->
			</Stack>
		</Container>
	</Instance>

	<!-- Policies -->
	<Instance Name="PolicyInstance">
		<Grid ID="Top" Size="185,35" Style="SubContainer2" Color="0,0,0,150">
			<Label ID="PolicyName" Anchor="C,C" Offset="0,0" Style="FontNormal14" String="PolicyName" />
		</Grid>
	</Instance>

</Context>