<?xml version="1.0" encoding="utf-8"?>
<Context ColorSet="Beige_Black_Alpha" Font="TwCenMT16" FontStyle="Shadow">
	<Box Style="BGBlock_ClearTopBar"/>
	<Instance Name="ReligionButtonInstance">
		<Box Color="0,0,0,0" Size="64,64" ID="Base">
			<GridButton Offset="0,0" Anchor="L,T" Style="BaseButton2" Size="64,64" ID="Button">
				<Image Anchor="C,C" Offset="0,0" TextureOffset="0,0" Size="64,64" ID="Icon"/>
			</GridButton>
		</Box>
	</Instance>
	<Instance Name="BeliefItemInstance">
		<Button Anchor="L,T" Size="450,82" Color="255,255,255,255" Offset="0,0" StateOffsetIncrement="0,0" ID="Button">
			<ShowOnMouseOver>
				<AlphaAnim Anchor="L,T" Size="560,70" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="2" AlphaEnd="1">
					<Grid Size="430,87" ID="AnimGrid" Offset="20,-3" Padding="0,0" Style="Grid9FrameTurnsHL"/>
				</AlphaAnim>
			</ShowOnMouseOver>
			<AlphaAnim Anchor="L,T" Size="430,70" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="2" AlphaEnd="1" ID="SelectionAnim" Hidden="1">
				<Grid Size="430,56" Offset="20,0" Padding="0,0" Style="Grid9FrameTurnsHL"/>
			</AlphaAnim>
			<Label Anchor="L,T" Offset="45,10" Font="TwCenMT20" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" ID="Name"/>
			<Label Anchor="L,T" Offset="45,33" Font="TwCenMT16" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" ID="Description" WrapWidth="380"/>
			<Image Anchor="C,B" Texture="bar400x2.dds" Size="400,1"/>
		</Button>
	</Instance>
	<Grid Size="990,653" Anchor="C,C" Offset="0,6" Padding="0,0" Style="Grid9DetailFive140">
		<!-- Decoration -->
		<!-- Top -->
		<Image Anchor="C,T" AnchorSide="I.O" Size="420,128" Offset="0,-24" Texture="assets\UI\Art\Icons\Top1024IconTrim.dds">
			<Image ID="TopDecoratorCenter" Anchor="C,C" Size="128,128" Offset="0,0"/>
		</Image>
		<Image Anchor="L,C" AnchorSide="O.I" Offset="-19,0" Texture="Dec32x64Left.dds" Size="32.64"/>
		<Image Anchor="R,C" AnchorSide="O.I" Offset="-19,0" Texture="Dec32x64Right.dds" Size="32.64"/>
		<Image ID="DecoratorBackground" Anchor="L,T" Size="951,567" Offset="20,44"/>
		<Label Anchor="C,T" Offset="0,20" WrapWidth="500" LeadingOffset="-4" String="TXT_KEY_CHOOSE_RELIGION_TITLE" ID="FoundReligionHeading" Font="TwCenMT20" Color0="30.50.80.255" Color1="133.184.186.255" Color2="133.184.186.255" FontStyle="SoftShadow"/>
		<Image Anchor="C,T" Offset="0,130" Texture="bar900x2.dds" Size="900,1"/>
		<ScrollPanel Anchor="L,T" Offset="20,55" Size="950,66" Vertical="0" ID="ReligionScrollPanel">
			<!-- 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 Offset="18,0" Anchor="R,B" AnchorSide="i,o" Style="ScrollBar" Length="914"/>
			<Stack Anchor="C,T" Offset="0,0" StackGrowth="Right" Padding="10" ID="ReligionStack"/>
		</ScrollPanel>

		<Label Anchor="C,C" Offset="0,0" Font="TwCenMT22" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" ID="LabelPleaseSelectAReligion" String="TXT_KEY_CHOOSE_RELIGION_SELECT_ICON"/>
		<Box Color="0,0,0,100" Size="953,479" Offset="19,132" ID="ReligionPanel" Hidden="1">
			<Image Anchor="L,T" Offset="0,-10" TextureOffset="256,0" Size="80,80" ID="ReligionIcon"/>
			<TextButton Anchor="L,T" Offset="80,10" Font="TwCenMT22" NormalState="White_Black" MouseOver="Beige_Black_Alpha" FontStyle="Shadow" ID="LabelReligionName"/>
			<Label Anchor="L,T" Offset="80,30" Font="TwCenMT18" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" ID="LabelReligionFoundedIn"/>
			<Image Anchor="C,T" Offset="-20,60" Texture="bar900x2.dds" Size="900,1"/>
			<Stack Anchor="L,T" StackGrowth="Bottom" Offset="0,65" Padding="2">
				<Button Color="0,0,0,0" Size="500,50" ID="PantheonBeliefButton">
					<ShowOnMouseOver>
						<AlphaAnim Anchor="L,T" Size="500,50" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="2" AlphaEnd="1" ID="AlphaAnimPantheon">
							<Grid Size="500,60" Offset="0,-5" Padding="0,0" Style="Grid9FrameTurnsHL"/>
						</AlphaAnim>
					</ShowOnMouseOver>
					<Label Anchor="L,T" Offset="24,7" TruncateWidth="460" Font="TwCenMT20" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" ID="PantheonBeliefName" String="TXT_KEY_CHOOSE_RELIGION_PANTHEON_BELIEF"/>
					<Label Anchor="L,T" Offset="24,28" TruncateWidth="460" Font="TwCenMT16" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" ID="PantheonBeliefDescription" String="TXT_KEY_CHOOSE_RELIGION_SELECT_PANTHEON_BELIEF"/>
				</Button>
				<Image Anchor="C,T" Texture="bar500x2.dds" Size="500,1"/>
				<Button Color="0,0,0,0" Size="500,50" ID="FounderBeliefButton">
					<ShowOnMouseOver>
						<AlphaAnim Anchor="L,T" Size="500,50" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="2" AlphaEnd="1" ID="AlphaAnimFounder">
							<Grid Size="500,60" Offset="0,-5" Padding="0,0" Style="Grid9FrameTurnsHL"/>
						</AlphaAnim>
					</ShowOnMouseOver>
					<Label Anchor="L,T" Offset="24,7" TruncateWidth="460" Font="TwCenMT20" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" ID="FounderBeliefName" String="TXT_KEY_CHOOSE_RELIGION_FOUNDER_BELIEF"/>
					<Label Anchor="L,T" Offset="24,28" TruncateWidth="460" Font="TwCenMT16" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" ID="FounderBeliefDescription" String="TXT_KEY_CHOOSE_RELIGION_SELECT_FOUNDER_BELIEF"/>
				</Button>
				<Image Anchor="C,T" Texture="bar500x2.dds" Size="500,1"/>
				<Button Color="0,0,0,255" Size="500,50" ID="FollowerBeliefButton">
					<ShowOnMouseOver>
						<AlphaAnim Anchor="L,T" Size="500,50" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="2" AlphaEnd="1" ID="AlphaAnimFollower">
							<Grid Size="500,60" Offset="0,-5" Padding="0,0" Style="Grid9FrameTurnsHL"/>
						</AlphaAnim>
					</ShowOnMouseOver>
					<Label Anchor="L,T" Offset="24,7" TruncateWidth="460" Font="TwCenMT20" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" ID="FollowerBeliefName" String="TXT_KEY_CHOOSE_RELIGION_FOLLOWER_BELIEF"/>
					<Label Anchor="L,T" Offset="24,28" TruncateWidth="460" Font="TwCenMT16" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" ID="FollowerBeliefDescription" String="TXT_KEY_CHOOSE_RELIGION_SELECT_FOLLOWER_BELIEF"/>
				</Button>
				<Image Anchor="C,T" Texture="bar500x2.dds" Size="500,1"/>
				<Button Color="0,0,0,255" Size="500,50" ID="FollowerBelief2Button">
					<Image Anchor="L,C" Offset="0,0" Texture="48Lock.dds" Size="48,48" ID="Follower2Lock"/>
					<ShowOnMouseOver>
						<AlphaAnim Anchor="L,T" Size="500,50" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="2" AlphaEnd="1" ID="AlphaAnimFollower2">
							<Grid Size="500,60" Offset="0,-5" Padding="0,0" Style="Grid9FrameTurnsHL"/>
						</AlphaAnim>
					</ShowOnMouseOver>
					<Label Anchor="L,T" Offset="24,7" TruncateWidth="460" Font="TwCenMT20" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" ID="FollowerBelief2Name" String="TXT_KEY_CHOOSE_RELIGION_FOLLOWER_BELIEF2"/>
					<Label Anchor="L,T" Offset="52,28" TruncateWidth="460" Font="TwCenMT16" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" ID="FollowerBelief2Description" String="TXT_KEY_CHOOSE_RELIGION_SELECT_FOLLOWER_BELIEF2"/>
				</Button>
				<Image Anchor="C,T" Texture="bar500x2.dds" Size="500,1"/>
				<Button Color="0,0,0,255" Size="500,50" ID="EnhancerBeliefButton">
					<Image Anchor="L,C" Offset="0, 0" Texture="48Lock.dds" Size="48,48" ID="EnhancerLock"/>
					<ShowOnMouseOver>
						<AlphaAnim Anchor="L,T" Size="500,50" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="2" AlphaEnd="1" ID="AlphaAnimEnhancer">
							<Grid Size="500,60" Offset="0,-5" Padding="0,0" Style="Grid9FrameTurnsHL"/>
						</AlphaAnim>
					</ShowOnMouseOver>
					<Label Anchor="L,T" Offset="24,7" TruncateWidth="460" Font="TwCenMT20" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" ID="EnhancerBeliefName" String="TXT_KEY_CHOOSE_RELIGION_SPREAD_BELIEF"/>
					<Label Anchor="L,T" Offset="52,28" TruncateWidth="460" Font="TwCenMT16" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" ID="EnhancerBeliefDescription" String="TXT_KEY_CHOOSE_RELIGION_SELECT_SPREAD_BELIEF"/>
				</Button>
				<Image Anchor="C,T" Texture="bar500x2.dds" Size="500,1"/>
				<Button Color="0,0,0,255" Size="500,50" ID="BonusBeliefButton">
					<Image Anchor="L,C" Offset="0, 0" Texture="48Lock.dds" Size="48,48" ID="BonusLock"/>
					<ShowOnMouseOver>
						<AlphaAnim Anchor="L,T" Size="500,50" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="2" AlphaEnd="1" ID="AlphaAnimBonus">
							<Grid Size="500,60" Offset="0,-5" Padding="0,0" Style="Grid9FrameTurnsHL"/>
						</AlphaAnim>
					</ShowOnMouseOver>
					<Label Anchor="L,T" Offset="24,7" TruncateWidth="460" Font="TwCenMT20" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" ID="BonusBeliefName" String="TXT_KEY_CHOOSE_RELIGION_BONUS_BELIEF"/>
					<Label Anchor="L,T" Offset="52,28" TruncateWidth="460" Font="TwCenMT16" ColorSet="Beige_Black_Alpha" FontStyle="Shadow" ID="BonusBeliefDescription" String="TXT_KEY_CHOOSE_RELIGION_SELECT_BONUS_BELIEF"/>
				</Button>
			</Stack>
			<Box Anchor="R,T" Color="0,0,0,0" Size="450,418" Offset="20,61" ID="BeliefPanel" Hidden="1">
				<ScrollPanel Anchor="L,T" Offset="0,0" Size="450,418" Vertical="1" ID="BeliefScrollPanel">
					<!-- Scroll Controls -->
					<ScrollBar Style="VertSlider" Length="382" Offset="0.18" Anchor="R,T" AnchorSide="O,I"/>
					<UpButton Offset="0.0" Style="ScrollBarUp" Anchor="R,T" AnchorSide="O,I"/>
					<DownButton Offset="0.0" Style="ScrollBarDown" Anchor="R,B" AnchorSide="O,I"/>
					<Stack Anchor="L,T" Offset="0,0" StackGrowth="Bottom" Padding="0" ID="BeliefStack"/>
				</ScrollPanel>
			</Box>
			<GridButton Anchor="L,B" Style="SmallButton" Size="150,32" Offset="38,10" StateOffsetIncrement="0,0" ID="CloseButton" String="TXT_KEY_CLOSE"/>
			<GridButton Anchor="R,B" ID="FoundReligion" Offset="38,10" Size="180,45" Style="BaseButton" Font="TwCenMT22" String="TXT_KEY_CHOOSE_RELIGION_OK_BUTTON" Hidden="0"/>
		</Box>
	</Grid>
	<!-- Change Name Popup -->
	<Box Color="Black.200" Size="Full.Full" ID="ChangeNamePopup" Hidden="1" ConsumeMouseOver="1">
		<Grid Size="500,260" Anchor="C,C" Offset="0,0" Padding="0,20" Style="Grid9DetailFive140" Hidden="0">
			<!-- Side treatments -->
			<Image Anchor="L,C" AnchorSide="O.I" Offset="-19,0" Texture="Dec32x64Left.dds" Size="32,64"/>
			<Image Anchor="R,C" AnchorSide="O.I" Offset="-19,0" Texture="Dec32x64Right.dds" Size="32,64"/>
			<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" Offset="0,0" Size="80,80" Texture="assets\UI\Art\Notification\NotificationGenericGlow.dds" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="1" AlphaEnd=".5"/>
				</Image>
			</Image>
			<Label Anchor="C,T" Offset="0,20" LeadingOffset="-4" String="TXT_KEY_CHOOSE_RELIGION_CHANGE_NAME" Font="TwCenMT20" Color0="30.50.80.255" Color1="133.184.186.255" Color2="133.184.186.255" FontStyle="SoftShadow"/>
			<Label Anchor="C,T" Offset="0,64" WrapWidth="440" String="TXT_KEY_CHOOSE_RELIGION_ENTER_NAME" Font="TwCenMT22" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"/>
			<Label Anchor="C,T" Offset="0,84" ID="ChangeNameError" String="TXT_KEY_CHOOSE_RELIGION_ERROR_NAME_EMPTY" Font="TwCenMT18" ColorSet="Red_Black" FontStyle="Shadow" Hidden="1"/>
			<Box Anchor="C,T" Offset="0,100" Size="400,26" Color="255,255,200,255" ConsumeMouseButton="1" ConsumeMouseOver="1">
				<Box Anchor="C,C" Offset="0,0" Size="398,22" Color="0,0,0,255">
					<EditBox EditMode="1" Size="396,20" Anchor="C,C" Font="TwCenMT20" MaxLength="16" ID="NewName"/>
				</Box>
			</Box>
			<Stack Anchor="R,B" Offset="30,60" Padding="16" StackGrowth="Left" ID="ChangeNameButtonStack">
				<!-- Cancel Button  -->
				<GridButton Style="BaseButton" ID="ChangeNameCancelButton" Size="120,42" Anchor="L,T" Offset="0,0" Hidden="0">
					<Label Anchor="C,C" Offset="0,0" String="TXT_KEY_CANCEL_BUTTON" ColorSet="Beige_Black" Font="TwCenMT24" FontStyle="Shadow"/>
				</GridButton>
				<!-- Default Button  -->
				<GridButton Style="BaseButton" ID="ChangeNameDefaultButton" Size="120,42" Anchor="L,T" Offset="0,0" Hidden="0">
					<Label Anchor="C,C" Offset="0,0" String="TXT_KEY_DEFAULT_BUTTON" ColorSet="Beige_Black" Font="TwCenMT24" FontStyle="Shadow"/>
				</GridButton>
				<!-- OK Button  -->
				<GridButton Style="BaseButton" ID="ChangeNameOKButton" Size="120,42" Anchor="L,T" Offset="0,0" Hidden="0">
					<Label Anchor="C,C" Offset="0,0" String="TXT_KEY_OK_BUTTON" ColorSet="Beige_Black" Font="TwCenMT24" FontStyle="Shadow"/>
				</GridButton>
			</Stack>
		</Grid>
	</Box>
	<!-- Confirmation Popup -->
	<Box Color="Black.200" Size="Full.Full" ID="ChooseConfirm" Hidden="1" ConsumeMouseOver="1">
		<Grid Size="500,310" Anchor="C,C" Offset="0,0" Padding="0,20" Style="Grid9DetailFive140" Hidden="0">
			<!-- Side treatments -->
			<Image Anchor="L,C" AnchorSide="O.I" Offset="-19,0" Texture="Dec32x64Left.dds" Size="32,64"/>
			<Image Anchor="R,C" AnchorSide="O.I" Offset="-19,0" Texture="Dec32x64Right.dds" Size="32,64"/>
			<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" Offset="0,0" Size="80,80" Texture="assets\UI\Art\Notification\NotificationGenericGlow.dds" Pause="0" Cycle="Bounce" Speed="1" AlphaStart="1" AlphaEnd=".5"/>
				</Image>
			</Image>
			<Label Anchor="C,T" Offset="0,74" WrapWidth="440" ID="LabelConfirmFoundReligion" Font="TwCenMT22" ColorSet="Beige_Black_Alpha" FontStyle="Shadow"/>
			<Stack Anchor="C,B" Offset="0,80" Padding="24" StackGrowth="Bottom" ID="ButtonStack">
				<!-- Yes Button  -->
				<GridButton Style="BaseButton" ID="Yes" Size="400,42" Anchor="C,T" Offset="0,0" Hidden="0">
					<Label Anchor="C,C" Offset="0,0" String="TXT_KEY_YES_BUTTON" ColorSet="Beige_Black" Font="TwCenMT24" FontStyle="Shadow"/>
				</GridButton>
				<!-- No Button  -->
				<GridButton Style="BaseButton" ID="No" Size="400,42" Anchor="C,T" Offset="0,0" Hidden="0">
					<Label Anchor="C,C" Offset="0,0" String="TXT_KEY_NO_BUTTON" ColorSet="Beige_Black" Font="TwCenMT24" FontStyle="Shadow"/>
				</GridButton>
			</Stack>
		</Grid>
	</Box>
</Context>
