<?xml version="1.0" encoding="utf-8"?>
<!-- Released under GPL v3 -->
<Context ColorSet="Beige_Black_Alpha" Font="TwCenMT14" FontStyle="Shadow" ConsumeMouse="0" >

	<Instance Name="ListItemInstance" >
		<Button ID="Button" Size="100,24" Anchor="L,T" Padding="0,0" ToolTipType="IGE_ToolTip" >
			<Grid ID="SelectionFrame" Anchor="C,C" Offset="0,0" Size="100,24" Style="Grid9FrameTurns" Texture="Art\IgeSelectN.dds" />
			<Label ID="NameLabel" Anchor="L,C" Offset="10,0" Size="90,24" Padding="0,0" ColorSet="Beige_Black_Alpha" Font="TwCenMT14" FontStyle="Shadow" />

			<ShowOnMouseOver>
				<AlphaAnim ID="HoverAnim" Anchor="C,C" Offset="0,0" Size="100,24" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="2" AlphaEnd="1">
					<Grid  ID="HoverHighLight" Anchor="C,C" Size="100,24" Offset="0,0" Style="Grid9FrameTurnsHL" Texture="Art\IgeSelectHL.dds" />
				</AlphaAnim>
			</ShowOnMouseOver>
		</Button>
	</Instance>
	
	<Instance Name="BuildingGroupInstance" >
		<Stack ID="Stack" StackGrowth="Right" Offset="0,0">
			<Stack ID="SubStack" StackGrowth="Bottom">
				<Image ID="HeaderBackground" Anchor="L,C" Size="100,24" Offset="0,0" Texture="CivilopediaButtons272x27.dds" TextureOffset="0,3">
					<Label ID="Header" Anchor="C,C"  Offset="0,-2" Font="TwCenMT18" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" String="TXT_KEY_IGE_ERA"/>
				</Image>
				<Stack ID="BottomStack" StackGrowth="Right">
					<Container ID="BuildingList" Anchor="L,T" Size="140,370" Offset="5,5"/>
					<Container ID="WonderList" Anchor="L,T" Size="140,370" Offset="10,5"/>
				</Stack>
			</Stack>

			<Image ID="Separator" Anchor="L,T" Offset="0,0" Texture="Assets/UI/Art/Controls/9 Grids/Divider4.dds" TextureOffset="2,0" Size="2,390" Hidden="0"/>
		</Stack>
	</Instance>

	<Instance Name="ConversionInstance" >
		<Stack ID="Stack" StackGrowth="Right" Offset="0,2" Anchor="L,T">
			<Label ID="Header" Anchor="L,C" Size="24,18" Offset="0,0"/>

			<Button ID="MinButton" Anchor="L,C" Size="30,10" Offset="10,0">
				<Label String="TXT_KEY_IGE_FOLLOWERS_MIN" Size="30,10" Anchor="L,C"/>
			</Button>

			<Container ID="NumericBox" Anchor="L,T" Offset="0,0" Size="80,18">
				<Grid    Style="ScrollBar" Offset="18,0" Anchor="L,C" Size="44,18" />
				<EditBox ID="ConversionEditBox" Offset="18,0" Anchor="L,C" Size="44,16" EditMode="1" NumberInput="1" MaxLength="2" />
				<Button  ID="ConversionDown" Offset="0,0" Anchor="L,C" Style="ScrollBarLeft"/>
				<Button  ID="ConversionUp" Offset="0,0" Anchor="R,C" Style="ScrollBarRight"/>
			</Container>

			<Button ID="MaxButton" Anchor="L,C" Size="30,10" Offset="6,0">
				<Label String="TXT_KEY_IGE_FOLLOWERS_MAX" Size="30,10" Anchor="L,C"/>
			</Button>
		</Stack>
	</Instance>


	<!--=======================================================================================================================-->
	<!--		BODY	-->
	<!--=======================================================================================================================-->
	<Container ID="OuterContainer" Size="1286,410">
		<Label ID="PlotSelectionPrompt" Anchor="C,C" Offset="0,0" String="TXT_KEY_IGE_PLOT_SELECTION_PROMPT" Font="TwCenMT20" FontStyle="Shadow"/>

		<Stack ID="MoveUnitPromptStack" StackGrowth="Bottom" Anchor="C,C" Offset="0,0">
			<Label ID="MoveUnitPrompt" Anchor="C,C" Offset="0,0" String="TXT_KEY_IGE_MOVE_UNIT_MESSAGE" Font="TwCenMT20" FontStyle="Shadow"/>
			<GridButton ID="MoveUnitCancelButton" Anchor="C,T" Style="SmallButton" Size="120,30" Offset="0,12" StateOffsetIncrement="0,0">
				<Label Anchor="C,C"  Offset="0,0" String="TXT_KEY_IGE_MOVE_UNIT_CANCEL" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"  />
			</GridButton>
		</Stack>

		<Container ID="Container" Size="1266,410" Offset="10,0" Hidden="1">
			
			<ScrollPanel ID="ScrollPanel" Anchor="L,T" Offset="0,0" Size="1266,410" Vertical="0" AutoScrollBar="0">
				<Stack ID="Stack" StackGrowth="Right" Size="1266,410" Offset="0,0">

					<!-- Units -->
					<Container Size="200,410">
						<Label ID="NoUnitOnPlot" Anchor="C,T" Offset="0,200" Size="200,24" String="TXT_KEY_IGE_NO_UNIT_ON_PLOT" Font="TwCenMT20" FontStyle="Shadow" WrapWidth="180"/>

						<Stack ID="UnitEdition" Anchor="L,T" Size="200,390" Offset="0,20" StackGrowth="Bottom">
							<Container ID="UnitsOnPlotList" Anchor="L,T" Size="200,290" Offset="0,0" StackGrowth="Bottom" />

							<GridButton ID="DisbandUnitButton" Anchor="C,T" Style="SmallButton" Size="120,24" Offset="0,20" StateOffsetIncrement="0,0">
								<Label Anchor="C,C"  Offset="0,0" String="TXT_KEY_IGE_DISBAND_UNIT_BUTTON" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"  />
							</GridButton>

							<GridButton ID="PromoteUnitButton" Anchor="C,T" Style="SmallButton" Size="120,24" Offset="0,5" StateOffsetIncrement="0,0">
								<Label Anchor="C,C"  Offset="0,0" String="TXT_KEY_IGE_PROMOTE_UNIT_BUTTON" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"  />
							</GridButton>

							<GridButton ID="HealUnitButton" Anchor="C,T" Style="SmallButton" Size="120,24" Offset="0,5" StateOffsetIncrement="0,0">
								<Label Anchor="C,C"  Offset="0,0" String="TXT_KEY_IGE_HEAL_UNIT_BUTTON" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"  />
							</GridButton>
							
							<GridButton ID="MoveUnitButton" Anchor="C,T" Style="SmallButton" Size="120,24" Offset="0,5" StateOffsetIncrement="0,0" ToolTip="TXT_KEY_IGE_MOVE_UNIT_HELP">
								<Label Anchor="C,C"  Offset="0,0" String="TXT_KEY_IGE_MOVE_UNIT" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"  />
							</GridButton>
						</Stack>
					</Container>

					<Image Anchor="L,T" Offset="10,0" TextureOffset="0.0" Texture="SideRight.dds" Size="13,410" Hidden="0"/>

					<!-- No city selected -->
					<Label ID="NoCityOnPlot" Anchor="L,T" Offset="200,200" String="TXT_KEY_IGE_NO_CITY_ON_PLOT" Font="TwCenMT20" FontStyle="Shadow" />

					<!-- City -->
					<Stack ID="CityEdition" Anchor="L,T" Size="160,390" Offset="20,20" StackGrowth="Right">
						<Stack ID="CityProperties" Anchor="L,T" Size="160,390" Offset="0,0" StackGrowth="Bottom">
							<EditBox ID="CityNameBox" Offset="0,0" Anchor="C,T" Size="140,16" TextAlign="C,C" Font="TwCenMT18"  EditMode="1" NumberInput="0" MaxLength="20" />

							<Container Anchor="L,T" Offset="10,10" Size="80,18" ToolTip="TXT_KEY_IGE_CITY_POPULATION">
								<Grid    Style="ScrollBar" Offset="18,0" Anchor="L,C" Size="44,18" />
								<EditBox ID="PopulationEditBox" Offset="18,0" Anchor="L,C" Size="44,16" EditMode="1" NumberInput="1" MaxLength="2" />
								<Button  ID="PopulationDown" Offset="0,0" Anchor="L,C" Style="ScrollBarLeft"/>
								<Button  ID="PopulationUp" Offset="0,0" Anchor="R,C" Style="ScrollBarRight"/>
								<Label   String="[ICON_CITIZEN]" Offset="0,0" Anchor="R,C" AnchorSide="o,i"/>
							</Container>

							<GridButton ID="CaptureCityButton" Anchor="L,T" Style="SmallButton" Size="180,24" Offset="0,20" StateOffsetIncrement="0,0"
										ToolTip="TXT_KEY_IGE_CAPTURE_CITY_BUTTON_HELP" >
								<Label Anchor="C,C"  Offset="0,0" String="TXT_KEY_IGE_CAPTURE_CITY_BUTTON" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"  />
							</GridButton>

							<GridButton ID="DisbandCityButton" Anchor="L,T" Style="SmallButton" Size="180,24" Offset="0,5" StateOffsetIncrement="0,0"
										ToolTip="TXT_KEY_IGE_DISBAND_CITY_BUTTON_HELP" >
								<Label Anchor="C,C"  Offset="0,0" String="TXT_KEY_IGE_DISBAND_CITY_BUTTON" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"  />
							</GridButton>

							<GridButton ID="HealCityButton" Anchor="L,T" Style="SmallButton" Size="180,24" Offset="0,5" StateOffsetIncrement="0,0"
										ToolTip="TXT_KEY_IGE_HEAL_CITY_BUTTON_HELP" >
								<Label Anchor="C,C"  Offset="0,0" String="TXT_KEY_IGE_HEAL_CITY_BUTTON" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"  />
							</GridButton>

							<GridButton ID="HurryCityButton" Anchor="L,T" Style="SmallButton" Size="180,24" Offset="0,5" StateOffsetIncrement="0,0"
										ToolTip="TXT_KEY_IGE_HURRY_CITY_BUTTON_HELP" >
								<Label Anchor="C,C"  Offset="0,0" String="TXT_KEY_IGE_HURRY_CITY_BUTTON" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"  />
							</GridButton>

							<GridButton ID="LoveKingCity10Button" Anchor="L,T" Style="SmallButton" Size="180,24" Offset="0,5" StateOffsetIncrement="0,0"
										ToolTip="TXT_KEY_IGE_LOVE_KING_10_BUTTON_HELP" >
								<Label Anchor="C,C"  Offset="0,0" String="TXT_KEY_IGE_LOVE_KING_10_BUTTON" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"/>
							</GridButton>

							<GridButton ID="LoveKingCity250Button" Anchor="L,T" Style="SmallButton" Size="180,24" Offset="0,5" StateOffsetIncrement="0,0"
										ToolTip="TXT_KEY_IGE_LOVE_KING_250_BUTTON_HELP" >
								<Label Anchor="C,C"  Offset="0,0" String="TXT_KEY_IGE_LOVE_KING_250_BUTTON" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" />
							</GridButton>

							<GridButton ID="ExpandCityButton" Anchor="L,T" Style="SmallButton" Size="180,24" Offset="0,5" StateOffsetIncrement="0,0"
										ToolTip="TXT_KEY_IGE_EXPAND_CITY_BUTTON_HELP" >
								<Label Anchor="C,C"  Offset="0,0" String="TXT_KEY_IGE_EXPAND_CITY_BUTTON" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"/>
							</GridButton>

							<CheckBox ID="NeverLostCityCB"	 TextAnchorSide="Right" TextOffset="30,0" String="TXT_KEY_IGE_NEVER_LOST_CITY_CB"	Anchor="L,T" Offset="0,10"
										ToolTip="TXT_KEY_IGE_NEVER_LOST_CITY_CB_HELP" />
							<CheckBox ID="ReconqueredCityCB" TextAnchorSide="Right" TextOffset="30,0" String="TXT_KEY_IGE_RECONQUERED_CITY_CB"	Anchor="L,T" Offset="0,-5"
										ToolTip="TXT_KEY_IGE_RECONQUERED_CITY_CB_HELP" />
							<CheckBox ID="OccupiedCityCB"	 TextAnchorSide="Right" TextOffset="30,0" String="TXT_KEY_IGE_OCCUPIED_CITY_CB"				Anchor="L,T" Offset="0,-5"
										ToolTip="TXT_KEY_IGE_OCCUPIED_CITY_CB_HELP" />
							<CheckBox ID="PuppetCityCB"		 TextAnchorSide="Right" TextOffset="30,0" String="TXT_KEY_IGE_PUPPET_CITY_CB"				Anchor="L,T" Offset="0,-5"
										ToolTip="TXT_KEY_IGE_PUPPET_CITY_CB_HELP" />
						</Stack>

						<Stack ID="ReligionStack" Anchor="L,T" Size="180,390" Offset="20,0" StackGrowth="Bottom">
							<Label ID="ReligionHeader" Offset="0,0" Font="TwCenMT16" String="Buddhism"/>
							<Label ID="HolyCityWarning" Offset="0,5" Font="TwCenMT14" String="TXT_KEY_IGE_HOLY_CITY_BUG" />
							<Stack ID="ConversionStack" Anchor="L,T" Offset="-5,10" Size="160,full" StackGrowth="Bottom"/>
						</Stack>

						<Container ID="BuildingContainer" Anchor="L,T" Offset="30,0" Size="full,full">
							<Stack ID="BuildingEraList" StackGrowth="Right" Size="full,390"/>
							<Image ID="CityTopBorder" Anchor="L,T" Size="full,3" Texture="CivilopediaButtons272x27.dds" />
							<Image Anchor="L,T" Size="2,390" Texture="Assets/UI/Art/Controls/9 Grids/Divider4.dds" TextureOffset="2,0"/>
						</Container>
					</Stack>

				</Stack>

				<!--	 Scroll controls -->
				<UpButton  Offset="0,0" Anchor="L,B" AnchorSide="i,o" Style="ScrollBarLeft"   />
				<DownButton Offset="0,0" Anchor="R,B" AnchorSide="i,o" Style="ScrollBarRight"  />
				<ScrollBar ID="ScrollBar" Offset="18,0" Anchor="R,B" AnchorSide="i,o" Style="ScrollBar" Length="1230"/>
			</ScrollPanel>
		</Container>
	</Container>
</Context>