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

	<!-- Connector Pipe Instance -->
	<Instance Name="ConnectorInstance">
		<Container ID="Root">
			<Image ID="Image" Anchor="L,T" Offset="0,0" TextureOffset="0,0" Size="19,19"/>
			<Image ID="ConnectorH" Anchor="L,T" Offset="0,0" Texture="Connect_H.dds" TextureOffset="0,8" Size="8,3" Hidden="1"/>
			<Image ID="ConnectorV" Anchor="L,T" Offset="0,0" Texture="Connect_V.dds" TextureOffset="8,0" Size="3,8" Hidden="1"/>
		</Container>
	</Instance>

	<!-- Policy Button Instance -->
	<Instance Name="PolicyInstance">
		<Container ID="Root" Size="48,48">
			<GridButton ID="ButtonChrome" Size="48,48" Anchor="L,T" Offset="0,0" Hidden="0">
				<GridData Style="Grid9FrameButtons"/>
				<Image ID="Image" Anchor="C,C" Offset="0,0" TextureOffset="0,0" Size="64,64" Texture="SocialPolicies512.dds" />
			</GridButton>

			<Button ID="Button" Size="48,48" Anchor="L,T" Offset="0,0" Hidden="0">
				<ShowOnMouseOver>
					<Container ID="MouseOverContainer" Size="48,48" >
						<AlphaAnim Anchor="R,C" AnchorSide="O.O" Offset="-2,0" Size="16,32" TextureOffset="16,0" Texture="Assets/UI/Art/Controls/buttonsidesglow.dds" Pause="0" Cycle="Bounce" Speed="1" AlphaStart=".99" AlphaEnd=".25" Hidden="0"/>
						<AlphaAnim Anchor="L,C" AnchorSide="O.O" Offset="-2,0" Size="16,32" TextureOffset="0,0" Texture="Assets/UI/Art/Controls/buttonsidesglow.dds" Pause="0" Cycle="Bounce" Speed="1" AlphaStart=".99" AlphaEnd=".25" Hidden="0"/>
						<Image Anchor="R,C" Offset="-2,0" TextureOffset="8,0" AnchorSide="O.O" Texture="Assets/UI/Art/Controls/buttonsides.dds" Size="8,16"/>
						<Image Anchor="L,C" Offset="-2,0" TextureOffset="0,0" AnchorSide="O.O" Texture="Assets/UI/Art/Controls/buttonsides.dds" Size="8,16"/>
					</Container>
				</ShowOnMouseOver>
			</Button>
		</Container>
	</Instance>
	
	<!-- Group Instance -->
	<Instance Name="BranchInstance" >
		<Box ID="Root" Size="190,290 " Anchor="C,T" Color="20,20,20,255">
			<Image ID="BlackMask" Anchor="C,T" Size="190,290" Texture="Assets/UI/Art/Icons/SocialPoliciesBranchBlackMask.dds" LSize="25,290" LTexStart="0,0" CSize="140,290" CTexStart="25,0" RSize="25,290" RTexStart="165,0"/>
			<Image ID="ImageMask" Anchor="C,T" Size="190,290" Texture="Assets/UI/Art/Icons/SocialPoliciesTrim.dds"/>

			<Label ID="Title" Anchor="C,T" Offset="0,8" Font="TwCenMT20" FontStyle="Shadow" Color0="Beige.255" Color1="Black.255"/>

			<GridButton ID="AdoptButton" Size="170,32" Anchor="C,T" Offset="0,40" Font="TwCenMT14" FontStyle="Shadow" 
						Color="255,255,255,200" Color0="Beige.255" Color1="Black.128" Style="BaseButton" />
			<Button ID="TopAdoptButton" Size="170,32" Anchor="C,T" Offset="0,40" Style="BaseButton" />

			<Container ID="Panel" Anchor="C,T" Offset="0,86" Size="140,200"/>

			<Image ID="Separator" Anchor="L,T" Offset="-2,0" Texture="VerticalTrim.dds" Size="5,290"/>
		</Box>
	</Instance>

	<!-- Fallback Policy Instance -->
	<Instance Name="FallbackPolicyInstance" >
		<Button ID="Button" Size="140,24" Anchor="L,T" Padding="0,0" ToolTipType="IGE_ToolTip" >
			<Image ID="CheckMark" Anchor="L,C" Offset="0,0" Size="20,20" Texture="Art\IgeCheckmark.dds" />
			<Label ID="NameLabel" Anchor="L,C" Offset="24,0" Size="116,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>


	<!--=======================================================================================================================-->
	<!--		BODY	-->
	<!--=======================================================================================================================-->
	<Container ID="Container" Size="1286,410">
		<ScrollPanel ID="ScrollPanel" Anchor="L,T" Size="1286,290" Offset="0,60" Vertical="0" AutoScrollBar="0" Padding="0,0">
			<Stack ID="MainList" StackGrowth="Right" Anchor="L,T" Size="100,290"/>
			<Image ID="UpperSeparator" Anchor="L,T" Offset="0,0" Size="970,5" Texture="HorizontalTrim.dds"/>
			<Image ID="LowerSeparator" Anchor="L,B" Offset="0,-1" Size="970,5" Texture="HorizontalTrim.dds"/>
			<UpButton  Offset="8,5" Anchor="L,B" AnchorSide="i,o" Style="ScrollBarLeft"/>
			<DownButton Offset="8,5" Anchor="R,B" AnchorSide="i,o" Style="ScrollBarRight"/>
			<ScrollBar ID="ScrollBar" Offset="26,5" Anchor="L,B" AnchorSide="i,o" Style="ScrollBar" Length="1234"/>
			<!--Image Anchor="L,T" Size="8,23" AnchorSide="o,i" Offset="0,0" Texture="CivilopediaButtons272x27.dds" TextureOffset="0,3" />
			<Image Anchor="R,T" Size="8,23" AnchorSide="o,i" Offset="0,0" Texture="CivilopediaButtons272x27.dds" TextureOffset="0,3" /-->
		</ScrollPanel>
	</Container>
</Context>