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

	<Instance Name="LoadButton" >
		<Container Size="460,32" ID="InstanceRoot" >
			<GridButton ID="Button" Size="460,32" Style="ZoomButton" >
				<ShowOnMouseOver>
					<AlphaAnim Size="460,32" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="2" AlphaEnd="1">
						<Grid Size="460,32" Style="Grid9FrameTurnsHL" />
					</AlphaAnim>
				</ShowOnMouseOver>

				<!-- Selected State -->
				<Grid ID="SelectHighlight" Size="460,32" Style="Grid9FrameTurns" Hidden="1" />
				<Label ID="ButtonText" Anchor="C,C" Font="TwCenMT20" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" />

			</GridButton>
		</Container>
	</Instance>


	<Box ID="BGBlock" Size="Full,Full" Color="Black,200" ConsumeMouse="1" HideBox="0" />

	<Grid Size="960,658" Anchor="C,C" Offset="0,36" Style="Grid9DetailFive140" ConsumeMouse="1">

		<!-- Side treatments -->
		<Box Style="MenuLeftSideTreatment"/>
		<Box Style="MenuRightSideTreatment"/>
		<Box Style="MenuTopTreatment"/>
		<Box Style="MenuBottomTreatment"/>

		<!-- Screen Title -->
		<Label Style="MenuTitleCaption" String="TXT_KEY_MENU_SAVE_BUTTON" />

		<!-- File List -->
		<Grid Anchor="R,T" Offset="48,55" Size="490,552" Style="Grid9Frame" >
			<ScrollPanel ID="ScrollPanel" Anchor="C,C" Size="490,544" Vertical="1" AutoScrollBar="1" >
				<Stack ID="LoadFileButtonStack" Anchor="C,T" StackGrowth="Bottom"/>
				<!-- Scroll Controls -->
				<ScrollBar Style="VertSlider" Length="508" Anchor="R,C" AnchorSide="O,I" />
				<UpButton Style="ScrollBarUp" Anchor="R,T" AnchorSide="O,I" />
				<DownButton Style="ScrollBarDown" Anchor="R,B" AnchorSide="O,I" />
				<!--Grid Offset="0,-2" Size="490,404" Style="Grid9Frame" /-->
			</ScrollPanel>
		</Grid>

		<!-- File details -->
		<Grid Offset="48,100" Size="354,404" Style="Grid9Frame" >
			<Image ID="LargeMapImage" Anchor="C,C" Color="White.36" Size="360,410" Texture="MapAmerica512.dds"/>

			<Image Size="128,128" Texture="LeaderPortraits1024Frame.dds" >
				<Image ID="Portrait" Size="128,128" Texture="LeaderPortraits1024.dds" />
			</Image>

			<Stack Offset="6,122" Padding="8" StackGrowth="Bottom" >
					
				<Box ID="NameBoxFrame" Anchor="C,T" Anchorside="I.O" Size="330,24" Color="255,255,200,255" >
					<Box Anchor="C,C" Size="328,22" Color="0,0,0,255" >
						<EditBox ID="NameBox" CallOnChar="1" Size="324,22" Anchor="C,C" Font="TwCenMT20" MaxLength="32" />
					</Box>
				</Box>
				<Image Anchor="L.C" Texture="bar340x2.dds" Size="340.1"/>
				<Label ID="Title" Anchor="L,C" WrapWidth="350" Offset="6,0" Font="TwCenMT18" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" String="Washington - America" TruncateWidth="305"/>
				<Label ID="TimeSaved" Anchor="L,C" Offset="6,0" Font="TwCenMT18" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"/>
				<Label ID="EraTurn" Anchor="L,C" Offset="6,0" Font="TwCenMT18" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"/>
				<Label ID="StartEra" Anchor="L,C" Offset="6,0" Font="TwCenMT18" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"/>
				<Label ID="GameType" Anchor="L,C" Offset="6,0" Font="TwCenMT18" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"/>
			</Stack>

			<Image Anchor="C,B" Offset="0,84" Texture="bar340x2.dds" Size="340.1"/>

			<Stack Anchor="C,B" Offset="0,12" Padding="0" StackGrowth="Right" >
				<Image Anchor="L,C" Size="64,64" Texture="IconFrame64.dds" ToolTip="TXT_KEY_MULTIPLAYER_STAGING_ROOM_HEADER_CIVILIZATION" >
					<Image ID="CivIcon" Size="64,64" Texture="CivSymbolsColor512.dds" />
					<Label Anchor="L,C" Offset="64,0" Font="TwCenMT22" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" String="" />
				</Image>

				<Image Anchor="L,C" Size="64,64" Texture="IconFrame64.dds" ToolTip="TXT_KEY_AD_SETUP_MAP_TYPE" >
					<Image ID="MapType" Size="64,64" Texture="MapTypeIcons256.dds" />
					<Label Anchor="L,C" Offset="64,0" Font="TwCenMT22" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" String="" />
				</Image>

				<Image Anchor="L,C" Size="64,64" Texture="IconFrame64.dds" ToolTip="TXT_KEY_AD_SETUP_MAP_SIZE" >
					<Image ID="MapSize" Size="64,64" Texture="MapSizeIcons256.dds" />
					<Label Anchor="L,C" Offset="64,0" Font="TwCenMT22" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" String="" />
				</Image>

				<Image Anchor="L,C" Size="64,64" Texture="IconFrame64.dds" ToolTip="TXT_KEY_AD_SETUP_HANDICAP" >
					<Image ID="Handicap" Size="64,64" Texture="DifficultyLevelIcons256.dds"/>
					<Label Anchor="L,C" Offset="64,0" Font="TwCenMT22" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" String="" />
				</Image>

				<Image Anchor="L,C" Size="64,64" Texture="IconFrame64.dds" ToolTip="TXT_KEY_GAME_SPEED" >
					<Image ID="SpeedIcon" Size="64,64" Texture="GameSpeedIcons256.dds"/>
					<Label Anchor="L,C" Offset="64,0" Font="TwCenMT22" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" String="" />
				</Image>
			</Stack>
		</Grid>

		<!-- Buttons -->
		<GridButton ID="Delete" Anchor="L,B" Offset="48,104"Style="SmallButton" Size="150,32" StateOffsetIncrement="0,0" String="TXT_KEY_DELETE_BUTTON" Font="TwCenMT18" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"/>
		<GridButton ID="SaveButton" Anchor="L,B" Offset="252,98" Style="BaseButton" Size="150,45" String="TXT_KEY_MENU_SAVE" />
		<GridButton ID="BackButton" Anchor="L,B" Offset="48,54" Style="SmallButton" Size="150,32" Offset="14,0" StateOffsetIncrement="0,0" String="TXT_KEY_BACK_BUTTON" Font="TwCenMT18" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"/>
		<GridButton ID="SaveMapButton" Anchor="L,B" Offset="252,54" Style="SmallButton" Size="150,32" StateOffsetIncrement="0,0" String="TXT_KEY_MENU_SAVE_MAP_LOWER" Font="TwCenMT18" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"/>
		<CheckBox ID="CloudCheck" Offset="50,50" String="TXT_KEY_STEAMCLOUD" TextAnchor="R,C" IsChecked="0" />
	</Grid>

	<Box ID="DeleteConfirm" Color="Black.200" Size="Full.Full" Hidden="1" ConsumeMouseOver="1" >
		<Grid Size="500,360" Anchor="C,C" Padding="0,20" Style="Grid9DetailFive140" >

			<!-- Side treatments -->
			<Box Style="PopupLeftSideTreatment"/>
			<Box Style="PopupRightSideTreatment"/>
			<Box Style="PopupNotificationTopTreatment"/>

			<Label ID="Message" Anchor="C,T" Offset="0,74" WrapWidth="440" String="TXT_KEY_CONFIRM_TXT" Font="TwCenMT22" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" />
			<Stack ID="ButtonStack" Anchor="C,B" Offset="0,80" Padding="24" StackGrowth="Bottom">
				<!-- Yes Button -->
				<GridButton ID="Yes" Style="BaseButton" Size="400,42" Anchor="C,T" String="TXT_KEY_YES_BUTTON" ColorSet="Beige_Black" Font="TwCenMT24" FontStyle="Shadow" />
				<!-- No Button -->
				<GridButton ID="No" Style="BaseButton" Size="400,42" Anchor="C,T" String="TXT_KEY_NO_BUTTON" ColorSet="Beige_Black" Font="TwCenMT24" FontStyle="Shadow" />
			</Stack>
		</Grid>
	</Box>

	<LuaContext ID="SaveMapMenu" FileName="Assets/UI/InGame/Menus/SaveMapMenu" Hidden="True" />

</Context>
