<?xml version="1.0" encoding="utf-8"?>
<Context ColorSet="Beige_Black" Font="TwCenMT18" FontStyle="Shadow">

<!-- Player Slot Instance CivSymbolsColor360 -->
	<Instance Name="PlayerSlot">
		<Container ID="Root" Size="404,75">

			<Container ID="Standard" Hidden="1">
				<TextButton ID="EditButton" Offset="150,62" Font="TwCenMT14" ColorSet="Beige_Black_Alpha" String="TXT_KEY_EDIT_BUTTON" ToolTip="TXT_KEY_EDIT_BUTTON" FontStyle="Shadow" MouseOverStyle="SoftShadow">
					<TextButton ID="CancelButton" Offset="20,0" Anchor="R,C" AnchorSide="o,i" Font="TwCenMT14" ColorSet="Beige_Black_Alpha" String="TXT_KEY_CANCEL_BUTTON" FontStyle="Shadow" MouseOverStyle="SoftShadow">
						<Box Offset="-10,0" Size="1,12" Color="Beige.128"/>
					</TextButton>
				</TextButton>

				<!-- Leader Portrait -->
				<Image Size="64,64" Texture="IconFrame64.dds">
					<Image ID="Portrait" Size="64,64" Texture="LeaderPortraits512.dds"/>
				</Image>
				<!-- Civ Icon -->
				<Image Size="64,64" Offset="58,0" Texture="IconFrame64.dds">
					<Image ID="Icon" Size="64,64" Anchor="C,C" Texture="CivSymbolsColor512.dds"/>
				</Image>

				<PullDown ID="CivPullDown" ScrollThreshold="480" Size="250,27" AutoSizePopUp="0" SpaceForScroll="1" Offset="122.6">
					<ButtonData>
						<GridButton Style="SquareButton" Anchor="L,C">
							<Image Texture="Corner16.dds" Offset="3.3" Size="16,16" Anchor="R,B"/>
							<ShowOnMouseOver>
								<Image Texture="Corner16.dds" TextureOffset="0.16" Offset="3.3" Size="16,16" Anchor="R,B"/>
							</ShowOnMouseOver>
						</GridButton>
					</ButtonData>

					<GridData Anchor="C,B" Offset="0.-2" AnchorSide="I,O" Style="Grid9Frame27SquareBlack" Padding="5,5"/>

					<ScrollPanelData Anchor="C,C" Vertical="1" Size="18,18" AutoScrollBar="1">
						<ScrollBar	Style="VertSlider" Anchor="R,C" AnchorSide="O,I"/>
						<UpButton	Style="ScrollBarUp" Anchor="R,T" AnchorSide="O,I"/>
						<DownButton Style="ScrollBarDown" Anchor="R,B" AnchorSide="O,I"/>
					</ScrollPanelData>

					<StackData StackGrowth="Bottom" Anchor="C,T"/>

					<InstanceData Name="InstanceOne">
						<GridButton ID="Button"	Size="300,24" Style="ZoomButton"/>
					</InstanceData>
				</PullDown>

				<!-- Team Dropdown -->
				<PullDown ID="TeamPullDown" Offset="122.34" Style="GenericPullDown" ScrollThreshold="400" Size="139,27" AutoSizePopUp="1" SpaceForScroll="0"/>

				<Button ID="RemoveButton" Offset="372,4" Size="32,32" Texture="IconFrame32Delete.dds" ToolTip="TXT_KEY_AD_SETUP_REMOVE_AI_PLAYER_TT"/>
			</Container>
			<Label ID="CivNumberIndex" ColorSet="Beige_Black" Font="TwCenMT18" FontStyle="Shadow" Offset="128,13"/>

			<!-- Handicap Dropdown -->
			<PullDown ID="HandicapPullDown" Offset="263.34" Style="GenericPullDown" ScrollThreshold="400" Size="139,27" AutoSizePopUp="1" SpaceForScroll="0"/>
			<Label ID="SlotStatus" Offset="130,62" Anchor="C,T" Style="Font14or20" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"/>
			<Image Anchor="C,B" Texture="bar340x2.dds" Size="340.1"/>
		</Container>
	</Instance>

	<Grid ID="MainGrid" Size="460,744" Anchor="C,C" Style="Grid9DetailFive140" ConsumeMouse="1">

		<Box Style="MenuLeftSideTreatment"/>
		<Box Style="MenuRightSideTreatment"/>

		<Box Style="MenuTopTreatment"/>
		<Box Style="MenuBottomTreatment"/>

		<!-- Screen Title	-->
		<Label ID="TitleLabel" Style="MenuTitleCaption"/>
		<Label ID="CivCount" Anchor="C,T" Offset="0,48" ColorSet="Beige_Black" Font="TwCenMT20" FontStyle="Shadow"/>

		<Stack Offset="17,71" StackGrowth="Bottom">
			<!-- Human Player -->
			<Box ID="HumanPlayer" Size="412,78" Color="Black.128">
				<!-- Bottom divider line -->
				<Image Offset="0,74" Texture="HorizontalTrim.dds" Size="412.5"/>
				<Image Offset="408,0" Texture="VerticalTrim.dds" Size="5.78"/>
			</Box>

			<!-- Other Players -->
			<ScrollPanel ID="ListingScrollPanel" Vertical="1" Size="404,480" AutoScrollBar="1">
				<Stack ID="SlotStack" StackGrowth="Bottom"/>
				<!-- Scroll Controls -->
				<ScrollBar	Style="VertSlider" Length="444" Anchor="R,C" AnchorSide="O,I"/>
				<UpButton	Style="ScrollBarUp" Anchor="R,T" AnchorSide="O,I"/>
				<DownButton Style="ScrollBarDown" Anchor="R,B" AnchorSide="O,I"/>
			</ScrollPanel>

		</Stack>


		<GridButton ID="BackButton" Anchor="L,B" Offset="38,60" Size="150,32" Style="SmallButton" String="TXT_KEY_BACK_BUTTON" ToolTip="TXT_KEY_REFRESH_GAME_LIST_TT"/>
		<GridButton ID="StartButton" Anchor="R,B" Offset="38,54" Size="150,45" Style="SmallButton" Font="TwCenMT22" String="[COLOR_RED]{TXT_KEY_OPSCREEN_SAVE_BUTTON}"/>
	</Grid>

	<LuaContext ID="SetCivNames" FileName="SetCivNames" Hidden="1"/>

</Context>
