<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Anton Strenger (Firaxis Games) -->
<Context Font="TwCenMT20" FontStyle="Base" ColorSet="Beige_Black_Alpha">
	<Container ID="Scrap" Hidden="1" />
	<Container ID="PlotButtonContainer" Size="Full,Full" />
	<Image Anchor="L,C" Texture="1920_LeftSide.DDS" StretchMode="UniformToFill" Sampler="Linear" Size="100.Full"/>
	<Image Anchor="R,C" Texture="1920_RightSide.DDS" StretchMode="UniformToFill" Sampler="Linear" Size="100.Full"/>
	<Image Anchor="R,T" Offset="293,30" Texture="TopCornerRight.DDS" Size="180.88" />
	<Image Anchor="L,T" TextureOffset="74.0" Offset="296,30" Texture="TopCornerLeft.DDS" Size="180.88" />
	<Image Anchor="R,B" Texture="citytrimright.dds" Size="141.78" />

	<!-- Left Side Panel -->
	<!-- City Information -->
	<Grid ID="CityInfoBG" Size="300,314" ConsumeMouse="1" Anchor="L,T" Offset="-36,160" Style="Grid9DetailSix140" >
		<Grid Size="339,230" ConsumeMouse="1" Anchor="L,T" Offset="0,-170" Style="Grid9DetailFive140" >
			<Label Anchor="C,T" Offset="0,18" String="TXT_KEY_CITYVIEW_CITYINFO_TEXT"/>
			<Stack Anchor="L,T" Offset="37,8" StackGrowth="Bottom" >
				<!-- Population Info -->
				<Button ID="PopulationBox" Offset="0,32" Anchor="L,T" Size="210,110">
					<Image Anchor="L,T" Texture="CitizenFrame128.dds" Size="128.128" >
						<Image Anchor="C,C" TextureOffset="256.128" Texture="CitizenIcons512.dds" Size="128.128"/>
						<TextureBar ID="PeopleMeter" Anchor="C,C" Size="88.88" Texture="CitizenMeter88.dds" Direction="Up" />
						<Label ID="CityPopulationLabel" Anchor="R,T" AnchorSide="O.I" Offset="-6,16" Font="TwCenMT24">
							<Label ID="CityPopulationLabelSuffix" Anchor="R,C" AnchorSide="O.I" Offset="3,0" String="" Font="TwCenMT22"/>
						</Label>
						<Box Offset="-6,40" Anchor="R,T" AnchorSide="O.I" Size="150,1" Color="27.53.64.255"/>
						<Label ID="CityGrowthLabel" Anchor="R,T" AnchorSide="O.I" LeadingOffset="-4" WrapWidth="150" Offset="-6,48" String="" Color0="Food.255" Color1="0.0.0.128" Font="TwCenMT18">
							<CheckBox ID="AvoidGrowthButton" Anchor="L,B" AnchorSide="I.O" Style="SquareCheck" String="TXT_KEY_CITYVIEW_FOCUS_AVOID_GROWTH_TEXT" Font="TwCenMT16" TextAnchor="R,C" TextAnchorSide="O,O" IsChecked="0" ToolTip="TXT_KEY_CITYVIEW_FOCUS_AVOID_GROWTH_TT"/>
						</Label>
					</Image>
				</Button>
				<!-- Food Info -->
				<Button ID="FoodBox" Anchor="L,T" Size="240,32">
					<Label Anchor="L,C" Offset="6,0" String="[ICON_FOOD]"/>
					<Label Anchor="L,C" Offset="32,0" String="TXT_KEY_CITYVIEW_FOOD_TEXT" Color0="Food.255" Color1="0.0.0.128" Color2="255.255.200.255" Font="TwCenMT22"/>
					<Label ID="FoodPerTurnLabel" Anchor="R,C" String="" Color0="Food.255" Color1="0.0.0.128" Color2="255.255.200.255" Font="TwCenMT22"/>
				</Button>
			</Stack>
		</Grid>
		<Stack Anchor="L,T" Offset="37,40" StackGrowth="B" >
			<!-- Gold Info -->
			<Button ID="GoldBox" Size="240,32">
				<Label Anchor="L,C" Offset="6,0" String="[ICON_GOLD]"/>
				<Label Anchor="L,C" Offset="32,0" String="TXT_KEY_CITYVIEW_GOLD_TEXT" Color0="Gold.255" Color1="0.0.0.128" Color2="255.255.200.255" Font="TwCenMT22"/>
				<Label ID="GoldPerTurnLabel" Anchor="R,C" String="" Color0="Gold.255" Color1="0.0.0.128" Color2="255.255.200.255" Font="TwCenMT22"/>
				<Box Anchor="L,B" Color="27.53.64.255" Offset="4,0" Size="240,1"/>
			</Button>
			<!-- Science Info -->
			<Button ID="ScienceBox" Size="240,32">
				<Label Anchor="L,C" Offset="6,0" String="[ICON_RESEARCH]"/>
				<Label Anchor="L,C" Offset="32,0" String="TXT_KEY_CITYVIEW_RESEARCH_TEXT" Color0="Science.255" Color1="0.0.0.128" Color2="255.255.200.255"/>
				<Label ID="SciencePerTurnLabel" Anchor="R,C" String="" Color0="Science.255" Color1="0.0.0.128" Color2="255.255.200.255"/>
				<Box Anchor="L,B" Color="27.53.64.255" Offset="4,0" Size="240,1"/>
			</Button>
			<!-- Faith Info -->
			<Button ID="FaithBox" Size="240,32">
				<Label Anchor="L,C" Offset="6,0" String="[ICON_PEACE]"/>
				<Label Anchor="L,C" Offset="32,0" String="TXT_KEY_CITYVIEW_FAITH_TEXT"/>
				<Label ID="FaithPerTurnLabel" Anchor="R,C" String=""/>
				<Box Anchor="L,B" Color="27.53.64.255" Offset="4,0" Size="240,1"/>
			</Button>
			<!-- Tourism Info -->
			<Button ID="TourismBox" Size="240,32">
				<Label Anchor="L,C" Offset="6,0" String="[ICON_TOURISM]"/>
				<Label Anchor="L,C" Offset="32,0" String="TXT_KEY_CITYVIEW_TOURISM_TEXT"/>
				<Label ID="TourismPerTurnLabel" Anchor="R,C" String=""/>
				<Box Anchor="L,B" Color="27.53.64.255" Offset="4,0" Size="240,1"/>
			</Button>
			<!-- Culture Info NotificationTileFrame -->
			<Button ID="CultureBox" Size="240,100">
				<Box Anchor="L,T" Size="240,32" Color="255,255,255,0">
					<Label Anchor="L,C" Offset="6,0" String="[ICON_CULTURE]"/>
					<Label Anchor="L,C" Offset="32,0" String="TXT_KEY_CITYVIEW_CULTURE_TEXT" Color0="Culture.255" Color1="0.0.0.128" Color2="255.255.200.255" Font="TwCenMT22"/>
					<Label ID="CulturePerTurnLabel" Anchor="R,C" String="" Color0="Culture.255" Color1="0.0.0.128" Color2="255.255.200.255" Font="TwCenMT22"/>
					<Label ID="CultureTimeTillGrowthLabel" LeadingOffset="-4" WrapWidth="160" Anchor="L,T" Offset="72,48" String="" Color0="Culture.255" Color1="0.0.0.128" Font="TwCenMT18"/>
				</Box>
				<Image Anchor="L,C" Offset="0,15" Size="80,80" Texture="NotificationTileFrame.dds">
					<Image Anchor="C,C" Offset="0,-1" Size="46,52" Color="White.64" Texture="MeterBarCultureBorder.dds"/>
					<TextureBar ID="CultureMeter" Anchor="C,C" Offset="0,-1" Size="46.52" Texture="MeterBarCultureBorder.dds" Direction="Up" />
				</Image>
			</Button>
		</Stack>
	</Grid>

	<!-- Production Meter Image -->
	<Image ID="LeftTrim" Anchor="L,B" Offset="282,0" Texture="citytrimleft.dds" Size="141.78" >
		<Button ID="ProductionPortraitButton" Void1="0" Anchor="L,B" Offset="-6,-11" Size="256.256" Texture="ProductionPanelBack.dds" NoStateChange="1" ToolTip="TXT_KEY_CITYVIEW_PROD_METER_TT">
			<Meter ID="PQlossMeter" Size="256,256" Texture="ProductionPanelMeter.dds" HasShadow="0" Color="Red,192" />
			<Meter ID="PQprogressMeter" Size="256,256" Texture="ProductionPanelMeter.dds" HasShadow="1" />
			<Line ID="PQline1" Offset="128,128" Start="0,0" Color="Production,192" />
			<Line ID="PQline2" Offset="128,128" Start="0,0" Color="Black,255" />
			<Image Size="256,256" Texture="ProductionPanelFrame.dds" />
			<Image ID="PQportrait" Size="256,256" />
			<Label ID="PQlabel1" Anchor="C,C" Color0="Production,255" Color1="0,0,0,200" Font="TwCenMT14" FontStyle="Stroke" />
			<Label ID="PQlabel2" Anchor="C,C" Color0="Production,255" Color1="0,0,0,200" Font="TwCenMT14" FontStyle="Stroke" />
			<Image Size="64,64" Anchor="R,B" Texture="UnitActions.dds" TextureOffset="384,0" ToolTip="TXT_KEY_EUI_AUTOMATE_PRODUCTION_TT" >
				<CheckBox ID="AutomateProduction" CheckOffset="5,5" ButtonSize="64,64" ButtonTexture="Blank.dds" />
			</Image>
		</Button>
	</Image>

	<Grid ID="QueueBackground" ConsumeMouse="1" Size="302,300" Anchor="L,B" Offset="-16,-39" Style="Grid9DetailSix140" >
		<Stack ID="Queue" Anchor="L,B" Offset="16,43" StackGrowth="Top" >
			<!-- Pending Items Queue -->
			<ScrollPanel ID="QueueScrollPanel" Anchor="L,B" Size="270,40" Vertical="1" AutoScrollBar="1" >
				<ScrollBar ID="QueueScrollBar" Style="VertSlider" Anchor="R,C" AnchorSide="O.I" Length="4" />
				<UpButton Style="ScrollBarUp" Anchor="R,T" AnchorSide="O.I" />
				<DownButton Style="ScrollBarDown" Anchor="R,B" AnchorSide="O.I" />
				<Stack ID="QueueStack" Anchor="L,T" StackGrowth="B" />
			</ScrollPanel>
			<!-- #1 entry in the queue and gets special treatment -->
			<GridButton ID="PQbox" Anchor="L,B" Size="270,38" Style="ListItem" ToolTipType="EUI_ItemTooltip" >
				<Stack Anchor="L,C" Offset="40,-1" Padding="8" StackGrowth="Right" >
					<Label ID="PQrank" Anchor="L,C" String="1." Font="TwCenMT24"/>
					<Label ID="ProductionFinished" Anchor="L,C" Font="TwCenMT24" String="TXT_KEY_RESEARCH_FINISHED" />
					<Label ID="PQname" Anchor="L,C" Font="TwCenMT24" Color0="Production.255" Color1="0.0.0.128" Color2="255.255.200.255"/>
					<Label ID="PQturns" Anchor="L,C" Offset="0,2" Font="TwCenMT16"/>
				</Stack>
				<Button ID="PQremove" Anchor="L,C" Offset="4,-1" Size="32,32" Texture="IconFrame32Delete.dds" ToolTip="TXT_KEY_CITYVIEW_Q_X_TEXT" />
				<Image Anchor="L,B" Texture="bar340x2.dds" Size="270,1" Color="White.128" />
			</GridButton>
			<!-- Production Info -->
			<Button ID="ProdBox" Anchor="L,B" Size="270,27" Texture="CivilopediaButtons272x27.dds" >
				<Label Anchor="L,C" Offset="40,-1" String="{TXT_KEY_CITYVIEW_PROD_TEXT:upper}  " Font="TwCenMT18">
					<Label ID="ProdPerTurnLabel" Anchor="R,C" AnchorSide="O.I" String="" Color0="Production.255" Color1="0.0.0.128" Color2="255.255.200.255" Font="TwCenMT22">
						<Label Anchor="R,T" AnchorSide="O.I" String="[ICON_PRODUCTION]" />
					</Label>
				</Label>
			</Button>
			<!-- Order Selection -->
			<ScrollPanel ID="SelectionScrollPanel"Anchor="L,B" Size="270,108" Vertical="1" AutoScrollBar="1" >
				<ScrollBar ID="SelectionScrollBar" Style="VertSlider" Anchor="R,C" AnchorSide="O.I" Length="72" />
				<UpButton Style="ScrollBarUp" Anchor="R,T" AnchorSide="O.I" />
				<DownButton Style="ScrollBarDown" Anchor="R,B" AnchorSide="O.I" />
				<Stack ID="SelectionStacks" Anchor="L,T" StackGrowth="B" >
					<Button ID="UnitButton" Anchor="L,T" Size="272,27" Offset="1,0" Texture="CivilopediaButtons272x27.dds" >
						<Label Anchor="L,C" Offset="40,-1" Font="TwCenMT18" String="TXT_KEY_POP_UNITS" />
					</Button>
					<Stack ID="UnitButtonStack" Anchor="L,T" StackGrowth="B" />
					<Button ID="BuildingsButton" Anchor="L,T" Size="272,27" Offset="1,0" Texture="CivilopediaButtons272x27.dds" >
						<Label Anchor="L,C" Offset="40,-1" Font="TwCenMT18" String="TXT_KEY_POP_BUILDINGS" />
					</Button>
					<Stack ID="BuildingButtonStack" Anchor="L,T" StackGrowth="B" />
					<Button ID="WondersButton" Anchor="L,T" Size="272,27" Offset="1,0" Texture="CivilopediaButtons272x27.dds" >
						<Label Anchor="L,C" Offset="40,-1" Font="TwCenMT18" String="TXT_KEY_POP_WONDERS" />
					</Button>
					<Stack ID="WonderButtonStack" Anchor="L,T" StackGrowth="B" />
					<Button ID="OtherButton" Anchor="L,T" Size="272,27" Offset="1,0" Texture="CivilopediaButtons272x27.dds" >
						<Label Anchor="L,C" Offset="40,-1" Font="TwCenMT18" String="TXT_KEY_CITYVIEW_OTHER" />
					</Button>
					<Stack ID="OtherButtonStack" Anchor="L,T" Size="256,32" StackGrowth="B" />
				</Stack>
			</ScrollPanel>
		</Stack>
		<!-- Queue Slider Control -->
		<Slider ID="QueueSlider" ConsumeMouseWheel="0" Anchor="L,B" Offset="56,43" Vertical="1" Texture="Blank.dds" Length="200" Size="230,1" >
			<Shuttle Vertical="1" Texture="Blank.dds" Size="230,38" />
		</Slider>
	</Grid>

	<!-- City Name Panel -->
	<Button ID="TitlePanel" Anchor="C,T" Offset="0,36" Texture="CityNamePanel.dds" Size="512.128" NoStateChange="1" ConsumeMouse="1">
		<!-- City Health Bar -->
		<Image ID="HealthFrame" Anchor="C,T" Offset="0,42" Texture="CityNamePanelHealthBar.dds" Size="278.10" >
			<TextureBar ID="HealthMeter" Anchor="L,C" Size="278.10" Direction="Right" Texture="CityNamePanelHealthBarGreen.dds" />
		</Image>
		<Button ID="NextCityButton" Anchor="C,C" Size="32,32" Offset="164.0" TextureOffset="32.0" Texture="CityNamePanelArrows.dds"/>
		<Button ID="PrevCityButton" Anchor="C,C" Size="32,32" Offset="-164.0" Texture="CityNamePanelArrows.dds"/>
		<Label ID="CityNameTitleBarLabel" Anchor="C,C" Font="TwCenMT22" FontStyle="SoftShadow" TruncateWidth="300"/>

		<!-- City Strength -->
		<Label ID="Defense" Offset="3,18" Anchor="C,T" Font="TwCenMT24" ToolTip="TXT_KEY_CITYVIEW_CITY_COMB_STRENGTH_TT"/>
		<Stack ID="NotificationStack" Offset="0,88" Anchor="C,T" StackGrowth="Bottom" Padding="3" >
			<!-- Resource Demanded -->
			<Grid ID="ResourceDemandedBox" ConsumeMouse="1" Anchor="C,T" Style="WindowGrid" Size="300,26" ToolTip="TXT_KEY_CITYVIEW_RESOURCE_DEMANDED_TT" Hidden="1">
				<Label ID="ResourceDemandedString" Anchor="C,C" Offset="0,-1" Font="TwCenMT16"/>
			</Grid>
			<Stack ID="IconsStack" Anchor="C,T" StackGrowth="Right" >
				<Label ID="CityIsRazing" Anchor="C,C" String="[ICON_RAZING]" Hidden="1"/>
				<Label ID="CityIsResistance" Anchor="C,C" String="[ICON_RESISTANCE]" Hidden="1"/>
				<Label ID="CityIsConnected" Anchor="C,C" String="[ICON_CONNECTED]" ToolTip="TXT_KEY_CITY_CONNECTED" Hidden="1"/>
				<Label ID="CityIsBlockaded" Anchor="C,C" String="[ICON_BLOCKADED]" ToolTip="TXT_KEY_CITY_BLOCKADED" Hidden="1"/>
				<Label ID="CityIsPuppet" Anchor="C,C" String="[ICON_PUPPET]" ToolTip="TXT_KEY_CITY_PUPPET" Hidden="1"/>
				<Label ID="CityIsOccupied" Anchor="C,C" String="[ICON_OCCUPIED]" ToolTip="TXT_KEY_CITY_OCCUPIED" Hidden="1"/>
			</Stack>
		</Stack>
		<TextButton ID="EditButton" Offset="155,27" Anchor="C,C" Style="Font16or20" String="TXT_KEY_EDIT_BUTTON" MouseOverStyle="SoftShadow" ConsumeMouse="1" />
	</Button>
	<!-- /City Name Panel -->

	<!-- Civ Icon & Buy Plot Button -->
	<Stack Anchor="L,T" Offset="294,26" StackGrowth="R" >
		<Image ID="CivIconFrame" Texture="IconFrame64.dds" Size="64.64" >
			<Image ID="CivIconBG" Size="64.64" Offset="-1,-1" Texture="CivIconBGSizes.dds"/>
			<Image ID="CivIconShadow" Size="48.48" Anchor="C,C" Offset="1,1" Texture="CivSymbolAtlas48.dds" Color="Black.128"/>
			<Image ID="CivIcon" Size="48,48" Anchor="C,C" Texture="CivSymbolsColor512.dds"/>
		</Image>
		<Image Size="45,45" Offset="0,5" Texture="45x45BaseFrame.dds" ToolTip="TXT_KEY_CITYVIEW_BUYPLOT_TT">
			<Image Size="64,64" Offset="-7,-7" Texture="NotificationTilePurchaseAni.dds">
				<ShowOnMouseOver>
					<Image Size="45,45" Offset="7,7" Texture="45x45BaseFrame.dds" />
					<FlipAnim Size="64,64" Columns="15" Speed="20" Pause="0" StepSize="64,0" FrameCount="15" Texture="NotificationTilePurchaseAni.dds" />
				</ShowOnMouseOver>
			</Image>
			<CheckBox ID="BuyPlotCheckBox" Size="45.45" CheckSize="45.45" ButtonSize="45.45" ButtonTexture="Blank.dds"/>
		</Image>
	</Stack>

	<!-- Buttons -->
	<!-- Return to map button -->
	<GridButton ID="ReturnToMapButton" Anchor="C,B" Size="280,36" Offset="0,84" Style="BaseButton" String="{TXT_KEY_RETURN:upper}" ToolTip="TXT_KEY_CITYVIEW_RETURN_TT" />
	<!-- City task button -->
	<GridButton ID="CityTaskButton" Anchor="C,B" Size="280,45" Offset="0,140" Style="BaseButton" Hidden="1" String="TXT_KEY_POPUP_ANNEX_CITY" Font="TwCenMT24" FontStyle="SoftShadow"/>
	<!-- /Buttons -->

	<!-- Right Side Panel -->
	<Grid ID="BuildingListBackground" ConsumeMouse="1" Size="289,768" Anchor="R,T" Offset="14,-9" Style="Grid9DetailSix140" >
		<Label Anchor="C,T" Offset="0,17" String="TXT_KEY_CITYVIEW_BUILDING_LIST"/>
		<ScrollPanel ID="RightScrollPanel" Anchor="L,T" Offset="18,44" Size="272,500" Vertical="1" >
			<UpButton Anchor="R,T" AnchorSide="o,i" Offset="-7,-2" Style="ScrollBarUp" />
			<ScrollBar ID="RightScrollBar" Anchor="R,C" AnchorSide="o,i" Offset="-7,-2" Style="VertSlider" Length="200" />
			<DownButton Anchor="R,B" AnchorSide="o,i" Offset="-7,2" Style="ScrollBarDown" />
			<Stack ID="RightStack" Anchor="L,T" Size="64,64" StackGrowth="Bottom" >
				<!-- City Focus -->
				<Button ID="WorkerHeader" Anchor="L,B" Size="254,27" Offset="2,0" Texture="CivilopediaButtons272x27.dds" >
<!-- TODO -->
					<Label Anchor="L,C" Offset="40,-2" Font="TwCenMT18" String="TXT_KEY_CITYVIEW_CITIZEN_ALLOCATION"/>
				</Button>
				<Stack ID="WorkerManagementBox" Anchor="L,T" Size="64,64" StackGrowth="Bottom" Hidden="1">
					<RadioButton ID="BalancedFocusButton" String="TXT_KEY_CITYVIEW_FOCUS_BALANCED_TEXT" ButtonTexture="CheckBox.dds" Font="TwCenMT16" TextAnchor="R,C" TextAnchorSide="O,O" IsChecked="1" RadioGroup="FocusGroup" ToolTip="TXT_KEY_CITYVIEW_FOCUS_BALANCED_TT"/>
					<Box Anchor="L,B" Color="27.53.64.255" Size="254,2"/>
					<RadioButton ID="FoodFocusButton" String="TXT_KEY_CITYVIEW_FOCUS_FOOD_TEXT" ButtonTexture="CheckBox.dds" Font="TwCenMT16" TextAnchor="R,C" TextAnchorSide="O,O" IsChecked="0" RadioGroup="FocusGroup" ToolTip="TXT_KEY_CITYVIEW_FOCUS_FOOD_TT"/>
					<Box Anchor="L,B" Color="27.53.64.255" Size="254,2"/>
					<RadioButton ID="ProductionFocusButton" String="TXT_KEY_CITYVIEW_FOCUS_PROD_TEXT" ButtonTexture="CheckBox.dds" Font="TwCenMT16" TextAnchor="R,C" TextAnchorSide="O,O" IsChecked="0" RadioGroup="FocusGroup" ToolTip="TXT_KEY_CITYVIEW_FOCUS_PROD_TT"/>
					<Box Anchor="L,B" Color="27.53.64.255" Size="254,2"/>
					<RadioButton ID="GoldFocusButton" String="TXT_KEY_CITYVIEW_FOCUS_GOLD_TEXT" ButtonTexture="CheckBox.dds" Font="TwCenMT16" TextAnchor="R,C" TextAnchorSide="O,O" IsChecked="0" RadioGroup="FocusGroup" ToolTip="TXT_KEY_CITYVIEW_FOCUS_GOLD_TT"/>
					<Box Anchor="L,B" Color="27.53.64.255" Size="254,2"/>
					<RadioButton ID="ResearchFocusButton" String="TXT_KEY_CITYVIEW_FOCUS_RESEARCH_TEXT" ButtonTexture="CheckBox.dds" Font="TwCenMT16" TextAnchor="R,C" TextAnchorSide="O,O" IsChecked="0" RadioGroup="FocusGroup" ToolTip="TXT_KEY_CITYVIEW_FOCUS_RESEARCH_TT"/>
					<Box Anchor="L,B" Color="27.53.64.255" Size="254,2"/>
					<RadioButton ID="CultureFocusButton" String="TXT_KEY_CITYVIEW_FOCUS_CULTURE_TEXT" ButtonTexture="CheckBox.dds" Font="TwCenMT16" TextAnchor="R,C" TextAnchorSide="O,O" IsChecked="0" RadioGroup="FocusGroup" ToolTip="TXT_KEY_CITYVIEW_FOCUS_CULTURE_TT"/>
					<Box Anchor="L,B" Color="27.53.64.255" Size="254,2"/>
					<RadioButton ID="GPFocusButton" String="TXT_KEY_CITYVIEW_FOCUS_GREAT_PERSON_TEXT" ButtonTexture="CheckBox.dds" Font="TwCenMT16" TextAnchor="R,C" TextAnchorSide="O,O" IsChecked="0" RadioGroup="FocusGroup" ToolTip="TXT_KEY_CITYVIEW_FOCUS_GREAT_PERSON_TT"/>
					<Box Anchor="L,B" Color="27.53.64.255" Size="254,2"/>
					<RadioButton ID="FaithFocusButton" String="TXT_KEY_CITYVIEW_FOCUS_FAITH_TEXT" ButtonTexture="CheckBox.dds" Font="TwCenMT16" TextAnchor="R,C" TextAnchorSide="O,O" IsChecked="0" RadioGroup="FocusGroup" ToolTip="TXT_KEY_CITYVIEW_FOCUS_FAITH_TT"/>
					<Box Anchor="L,B" Color="27.53.64.255" Size="254,2"/>
					<Button ID="ResetButton" Void1="0" Size="254,32" Anchor="L,C" ToolTip="TXT_KEY_CITYVIEW_UNEMPLOYED_TOOLTIP">
						<ShowOnMouseOver>
							<AlphaAnim Anchor="L,C" Size="254,28" Pause="0" Cycle="Bounce" Speed="1" AlphaStart=".7" AlphaEnd=".3">
								<Grid Size="254,28" Style="GridSquareHL8"/>
							</AlphaAnim>
						</ShowOnMouseOver>
						<Label Anchor="C,C" String="TXT_KEY_CITYVIEW_FOCUS_RESET_TEXT" Font="TwCenMT16" TextAnchor="R,C" TextAnchorSide="O,O"/>
					</Button>
					<Box ID="ResetFooter"Anchor="L,B" Color="27.53.64.255" Size="254,2" />
				</Stack>
				<!-- Great People -->
				<Button ID="GPHeader" Anchor="L,B" Size="254,27" Offset="2,0" Texture="CivilopediaButtons272x27.dds">
					<Label Anchor="L,C" Offset="40,-2" Font="TwCenMT18" String="TXT_KEY_CITYVIEW_GREAT_PEOPLE_TEXT"/>
				</Button>
				<Stack ID="GPStack" Anchor="L,T" StackGrowth="B"/>
				<!-- Unemployment-->
				<Button ID="SlackerHeader" Anchor="L,B" Size="254,27" Offset="2,0" Texture="CivilopediaButtons272x27.dds">
					<Label Anchor="L,C" Offset="40,-2" Font="TwCenMT18" String="TXT_KEY_CITYVIEW_UNEMPLOYED_TEXT"/>
				</Button>
				<Button ID="BoxOSlackers" Void1="-1" Void2="-1" NoStateChange="1" Anchor="L,C" Color="White.0" Size="254,2" ToolTip="TXT_KEY_CITYVIEW_UNEMPLOYED_TOOLTIP">
					<Stack ID="SlackerStack" Anchor="R,T" StackGrowth="Left" WrapGrowth="Down" WrapWidth="260" />
					<Box Anchor="L,B" Color="27.53.64.255" Size="254,2"/>
				</Button>
				<!-- Special Buildings -->
				<Button ID="SpecialBuildingsHeader" Anchor="L,C" Size="254,27" Offset="2,0" Texture="CivilopediaButtons272x27.dds">
					<Label Anchor="L,C" Offset="40,-2" Font="TwCenMT18" String="TXT_KEY_CITYVIEW_SPECIAL_TEXT" />
				</Button>
				<Stack ID="SpecialBuildingsStack" Anchor="L,T" StackGrowth="B">
					<Box ID="SpecialistControlBox" Anchor="L,C" Color="White.0" Size="254,32">
						<Label Anchor="R,T" Offset="64,8"/>
						<CheckBox ID="NoAutoSpecialistCheckbox" Style="SquareCheck" Anchor="L,B" ToolTip="TXT_KEY_CITYVIEW_SPECIALISTCONTROL_TT">
							<Label Anchor="R,C" AnchorSide="O.I" String="TXT_KEY_CITYVIEW_MANUAL_SPEC_CONTROL" Font="TwCenMT16"/>
						</CheckBox>
						<Box Anchor="L,B" Color="27.53.64.255" Size="254,2"/>
					</Box>
				</Stack>
				<!-- Great Work Buildings -->
				<Button ID="GreatWorkHeader" Anchor="L,C" Size="254,27" Offset="2,0" Texture="CivilopediaButtons272x27.dds">
					<Label Anchor="L,C" Offset="40,-2" Font="TwCenMT18" String="TXT_KEY_CITYVIEW_GREAT_WORK_BUILDINGS_TEXT" />
				</Button>
				<Stack ID="GreatWorkStack" Anchor="L,T" StackGrowth="B"/>
				<!-- Wonders -->
				<Button ID="WondersHeader" Anchor="L,C" Size="254,27" Offset="2,0" Texture="CivilopediaButtons272x27.dds">
					<Label Anchor="L,C" Offset="40,-2" Font="TwCenMT18" String="TXT_KEY_CITYVIEW_WONDERS_TEXT" />
				</Button>
				<Stack ID="WondersStack" Anchor="L,T" StackGrowth="B">
					<Box ID="SpecialistControlBox2" Anchor="L,C" Color="White.0" Size="254,32">
						<Label Anchor="R,T" Offset="64,8"/>
						<CheckBox ID="NoAutoSpecialistCheckbox2" Style="SquareCheck" Anchor="L,B" ToolTip="TXT_KEY_CITYVIEW_SPECIALISTCONTROL_TT">
							<Label Anchor="R,C" AnchorSide="O.I" String="TXT_KEY_CITYVIEW_MANUAL_SPEC_CONTROL" Font="TwCenMT16"/>
						</CheckBox>
						<Box Anchor="L,B" Color="27.53.64.255" Size="254,2"/>
					</Box>
				</Stack>
				<!-- Other Buildings -->
				<Button ID="BuildingsHeader" Anchor="L,C" Size="254,27" Offset="2,0" Texture="CivilopediaButtons272x27.dds">
					<Label Anchor="L,C" Offset="40,-2" Font="TwCenMT18" String="TXT_KEY_CITYVIEW_REGULARBUILDING_TEXT" />
				</Button>
				<Stack ID="BuildingsStack" Anchor="L,T" StackGrowth="B"/>
			</Stack>
		</ScrollPanel>
	</Grid>
	<!-- /Right Side Panel -->

	<!-- Sell Building Confirmation Popup -->
	<Box ID="SellBuildingConfirm" ConsumeMouse="1" Color="Black.200" Size="Full.Full" Hidden="1" >
		<Grid ID="SellBuildingFrame" Size="500,410" Anchor="C,C" Padding="30,30" Style="Grid9DetailFive140" >
			<!-- Side treatments -->
			<Box Style="MenuLeftSideTreatment"/>
			<Box Style="MenuRightSideTreatment"/>
			<Image Anchor="C,T" AnchorSide="I.O" Offset="0,-14" Size="256,64" Texture="Top512IconTrim.dds">
				<Image Anchor="C,C" Offset="0,-6" Size="80,80" Texture="NotificationFrameBase.dds">
					<AlphaAnim Anchor="C,C" Size="80,80" Texture="NotificationGenericGlow.dds" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="1" AlphaEnd=".5"/>
				</Image>
			</Image>
			<Stack ID="SellBuildingStack" Anchor="C,T" Offset="0,70" Padding="24" StackGrowth="Bottom">
				<Label ID="SellBuildingTitle" Anchor="C,C" ColorSet="Beige_Black" Font="TwCenMT22" WrapWidth="440"/>
				<Image ID="SellBuildingImage" Anchor="C,C" Size="256,256"/>
				<Label ID="SellBuildingText" Anchor="C,T" ColorSet="Beige_Black" Font="TwCenMT22" WrapWidth="440" LeadingOffset="-8"/>
				<GridButton ID="YesButton" Style="BaseButton" Size="400,42" Anchor="C,T" String="TXT_KEY_YES_BUTTON" Font="TwCenMT24"/>
				<GridButton ID="NoButton" Style="BaseButton" Size="400,42" Anchor="C,T" String="TXT_KEY_NO_BUTTON" Font="TwCenMT24"/>
			</Stack>
		</Grid>
	</Box>

	<!-- Instances -->
	<Instance Name="SelectionInstance">
		<Button ID="Button" Anchor="L,T" Size="270,32" ToolTipType="EUI_ItemTooltip" >
			<ShowOnMouseOver>
				<AlphaAnim Anchor="R,T" Size="260,32" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="2" AlphaEnd="1">
					<Grid Anchor="L,C" Offset="0,1" Size="260,37" Style="Grid9FrameTurnsHL"/>
				</AlphaAnim>
			</ShowOnMouseOver>
			<Box ID="DisabledProduction" Color="0,0,0,153" Size="270,31" Anchor="L,B" Hidden="1"/>
			<Image ID="Portrait" Anchor="L,C" Offset="-4,0" Texture="WonderAtlas360.dds" Size="45,45" />
			<Label ID="Name" Anchor="L,C" Offset="42,-8" Font="TwCenMT18"/>
			<Label ID="Turns" Anchor="L,C" Offset="42,8" Font="TwCenMT14"/>
			<Box ID="Disabled" Color="0,0,0,153" Size="270,31" Anchor="L,B" Hidden="1"/>
			<Stack Anchor="R,B" StackGrowth="L" >
				<Image ID="ScienceRecommendation" ToolTip="TXT_KEY_CITY_CONSTRUCTION_ADVISOR_RECOMMENDATION_SCIENCE" Anchor="L,C" Size="32,32" Texture="AdvisorSymbolScience.dds" Hidden="1">
					<ScrollAnim Size="32.32" Speed=".2" Pause=".5" Texture="AdvisorShine.dds" MaskTexture="AdvisorMaskScience.dds"/>
					<AlphaAnim Anchor="C,C" Offset="4,4" Size="32,32" Texture="AdvisorSpecShine.dds" Pause="5" Cycle="Bounce" Speed="4" AlphaStart="0" AlphaEnd="1"/>
					<AlphaAnim Anchor="C,C" Offset="0,-4" Size="32,32" Texture="AdvisorSpecShine.dds" Pause="3" Cycle="Bounce" Speed="4" AlphaStart="0" AlphaEnd="1"/>
				</Image>
				<Image ID="ForeignRecommendation" ToolTip="TXT_KEY_CITY_CONSTRUCTION_ADVISOR_RECOMMENDATION_FOREIGN" Anchor="L,C" Size="32,32" Texture="AdvisorSymbolForeign.dds" Hidden="1">
					<ScrollAnim Size="32.32" Speed=".2" Pause=".5" Texture="AdvisorShine.dds" MaskTexture="AdvisorMaskForeign.dds"/>
					<AlphaAnim Anchor="C,C" Offset="6,5" Size="32,32" Texture="AdvisorSpecShine.dds" Pause="5" Cycle="Bounce" Speed="4" AlphaStart="0" AlphaEnd=".7"/>
					<AlphaAnim Anchor="C,C" Offset="-2,-5" Size="32,32" Texture="AdvisorSpecShine.dds" Pause="3" Cycle="Bounce" Speed="4" AlphaStart="0" AlphaEnd=".7"/>
				</Image>
				<Image ID="EconomicRecommendation" ToolTip="TXT_KEY_CITY_CONSTRUCTION_ADVISOR_RECOMMENDATION_ECONOMIC" Anchor="L,C" Size="32,32" Texture="AdvisorSymbolEconomic.dds" Hidden="1">
					<ScrollAnim Size="32.32" Speed=".2" Pause=".5" Texture="AdvisorShine.dds" MaskTexture="AdvisorMaskEconomic.dds"/>
					<AlphaAnim Anchor="C,C" Offset="4,4" Size="32,32" Texture="AdvisorSpecShine.dds" Pause="5" Cycle="Bounce" Speed="4" AlphaStart="0" AlphaEnd="1"/>
					<AlphaAnim Anchor="C,C" Offset="0,-4" Size="32,32" Texture="AdvisorSpecShine.dds" Pause="3" Cycle="Bounce" Speed="4" AlphaStart="0" AlphaEnd="1"/>
				</Image>
				<Image ID="MilitaryRecommendation" ToolTip="TXT_KEY_CITY_CONSTRUCTION_ADVISOR_RECOMMENDATION_MILITARY" Anchor="L,C" Size="32,32" Texture="AdvisorSymbolMilitary.dds" Hidden="1">
					<ScrollAnim Size="32.32" Speed=".2" Pause=".5" Texture="AdvisorShine.dds" MaskTexture="AdvisorMaskMilitary.dds"/>
					<AlphaAnim Anchor="C,C" Offset="4,4" Size="32,32" Texture="AdvisorSpecShine.dds" Pause="5" Cycle="Bounce" Speed="4" AlphaStart="0" AlphaEnd=".7"/>
					<AlphaAnim Anchor="C,C" Offset="-3,-6" Size="32,32" Texture="AdvisorSpecShine.dds" Pause="3" Cycle="Bounce" Speed="4" AlphaStart="0" AlphaEnd=".7"/>
				</Image>
				<GridButton ID="GoldButton" Anchor="R,B" Size="70,22" Style="SmallButton" ToolTipType="EUI_ItemTooltip" Font="TwCenMT16"/>
				<GridButton ID="FaithButton" Anchor="R,B" Size="70,22" Style="SmallButton" ToolTipType="EUI_ItemTooltip" Font="TwCenMT16"/>
			</Stack>
			<Image Anchor="L,B" Offset="0,-1" Texture="bar340x2.dds" Size="270,1" Color="White.128" />
		</Button>
	</Instance>

	<Instance Name="ProductionInstance">
		<GridButton ID="PQbox" Anchor="L,T" Style="ListItem" Size="270,38" ToolTipType="EUI_ItemTooltip" >
			<Stack Anchor="L,C" Offset="40,-1" Padding="4" StackGrowth="Right" >
				<Label ID="PQrank" Anchor="L,C" Font="TwCenMT24" />
				<Image ID="PQportrait" Anchor="L,C" Texture="UnitPortraitsAncientMedieval360.dds" Size="45.45"/>
				<Stack Anchor="L,C" Padding="6" StackGrowth="Bottom" >
					<Label ID="PQname" Font="TwCenMT16"/>
					<Label ID="PQturns" Font="TwCenMT16"/>
				</Stack>
			</Stack>
			<Box ID="PQdisabled" Anchor="L,T" Size="270,38" Color="27.0.64.128" />
			<Button ID="PQremove" Anchor="L,C" Offset="4,-1" Size="32,32" Texture="IconFrame32Delete.dds" ToolTip="TXT_KEY_CITYVIEW_Q_X_TEXT" />
			<Image Anchor="L,B" Texture="bar340x2.dds" Size="270,1" Color="White.128" />
		</GridButton>
	</Instance>

	<Instance Name="BuildingInstance">
		<Button ID="Button" Size="254,64" ToolTipType="EUI_ItemTooltip" >
			<Image Anchor="R,T" Size="64,64" Texture="64x64FrameButtons.dds">
				<Image ID="Portrait" Anchor="C,C" Size="64,64" />
			</Image>
			<Stack ID="Stack" Anchor="R,T" Offset="0,8" StackGrowth="Down" Padding="8" >
				<Label ID="Name" Anchor="R,T" Offset="64,0" Font="TwCenMT18" TruncateWidth="190"/>
				<Stack ID="SlotStack" Anchor="R,T" StackGrowth="Left" WrapGrowth="Down" WrapWidth="254">
					<Container Size="64.1"/>
					<TextButton ID="TextButton" Anchor="R,C"/>
				</Stack>
				<Label ID="Label" Anchor="R,B" WrapWidth="254"/>
			</Stack>
			<GridButton ID="SellButton" Anchor="L,T" Size="70,22" Style="SmallButton" Color="255,128,128,255" Font="TwCenMT16" ToolTip="TXT_KEY_CLICK_TO_SELL" />
			<Box Anchor="C,B" Color="27.53.64.255" Size="254,2"/>
		</Button>
	</Instance>

	<Instance Name="Slot">
		<Button ID="Button" Size="32,32" ToolTipType="EUI_ItemTooltip"/>
	</Instance>
	<Instance Name="Work">
		<Button ID="Button" Size="32,32"/>
	</Instance>

	<!-- Great Person Meter Instances -->
	<Instance Name="GPInstance">
		<Button ID="GPBox" NoStateChange="1" Anchor="L,T" Color="255.255.255.0" Size="254,70">
			<Image Anchor="C,C" Size="214,29" Offset="-20,4" Texture="MeterBarGreatPersonBack.dds">
				<TextureBar ID="GPMeter" Anchor="L,C" Size="214.29" Texture="MeterBarGreatPersonGold.dds" Direction="Right" />
				<Image Anchor="L,C" Size="214,29" Texture="MeterBarFrame.dds"/>
				<Label ID="GreatPersonLabel" Anchor="L,T" Offset="12,-15" String="TXT_KEY_CITYVIEW_GP_PROGRGRESS" Font="TwCenMT16" />
			</Image>
			<Image Anchor="R,C" Size="64,64" Offset="0,-2" Texture="64x64FrameButtons.dds">
				<Image ID="GPImage" Anchor="C,C" Size="64,64"/>
			</Image>
			<Box Anchor="L,B" Color="27.53.64.255" Size="254,2"/>
		</Button>
	</Instance>
	<!-- Buy Plot Button to show up on tile -->
	<Instance Name="BuyPlotButtonInstance">
		<WorldAnchor ID="BuyPlotButtonAnchor">
			<Image Size="45,45" Anchor="C,C" Texture="45x45BaseFrame.dds" >
				<Image Size="64,64" Offset="3,3" Anchor="C,C" Texture="NotificationTilePurchaseAni.dds"/>
			</Image>
			<Button ID="BuyPlotAnchoredButton" Size="45,45" Anchor="C,C">
				<ShowOnMouseOver>
					<Image Size="45,45" Anchor="C,C" Texture="45x45BaseFrame.dds" />
					<FlipAnim Size="64,64" Offset="3,3" Columns="15" Anchor="C,C" Speed="20" Pause="0" StepSize="64,0" FrameCount="15" Texture="NotificationTilePurchaseAni.dds" />
				</ShowOnMouseOver>
				<Label ID="BuyPlotAnchoredButtonLabel" Anchor="C,C" Font="TwCenMT20" FontStyle="Stroke"/>
			</Button>
		</WorldAnchor>
	</Instance>
	<!-- tile buttons -->
	<Instance Name="PlotButtonInstance">
		<WorldAnchor ID="PlotButtonAnchor">
			<Button Size="45,45" Anchor="C,C" Texture="45x45FrameButton.dds"/>
			<Button ID="PlotButtonImage" NoStateChange="1" Anchor="C,C" Size="45,45" Texture="CitizenIcons180.dds"/>
		</WorldAnchor>
	</Instance>
	<!-- /Instances -->
</Context>
