"resource/layout/parentalunlockdialog.layout"
{
	controls
	{
		ParentalUnlockDialog { controlname="Frame" title="#steam_parental_unlocktitle" style="ParentalUnlockDialog" }

		Instructions { controlname="Label" style="Hey" labeltext="#steam_parental_unlockinstructions" wrap=1 }
		
		Instructions2 { controlname="Label" style="Hey2" labeltext="#steam_parental_unlockinstructions2" wrap=1 }

		Password { controlname="TextEntry" style="Password" command="DoParentalUnlock" tabposition=1 }
		
		KeyImage { controlname="Label" style="Key" zpos=-4 }

		Recovery { controlname="URLLabel" labeltext="#steam_parental_norecoveryemail" command="ShowRecoveryDialog" }
		
		OK { controlname="Button" tabposition=2 command="DoParentalUnlock" labeltext="#PropertyDialog_OK" default=1 }
		Cancel { controlname="Button" tabposition=3 command="Close" labeltext="#PropertyDialog_Cancel" }
	}
	
	styles
	{
		ParentalUnlockDialog
		{
			minimum-width = 400
			minimum-height = 250
		}

		Password
		{
			minimum-height=50
			font-size=40
		}

		Hey
		{
			textcolor=DefaultText
		}
		
		Hey2
		{
			textcolor=DefaultText.Hover
		}
		
		Key
		{
			bgcolor=none
			render_bg={}
			image="graphics/keybg"
			inset="20 20 0 0"
		}
		
	}
	
	layout
	{
		region { name="top" width=max height=260 margin=10 margin-top=40 }
		region { name="bottom" width=max align=bottom height=42 align="bottom" }

		place { control="KeyImage" region="top" align=left x=160 y=0 width=max height=max margin-top=-30 margin-right=0}

		place { control="Instructions, Instructions2" region="top" x=20 y=10 spacing=8 width=max dir=down }

		place { control="Password" margin-top="75" region="top" margin-left=155 width=70 }

		place { control="Recovery" region="bottom" margin-left=10 margin-top=8 }
		
		// bottom: OK/cancel
		place { control="OK,Cancel" region="bottom"
						width=92 height=32 align=right
						margin-right=10 margin-top=0
						margin-bottom=10 spacing=10 }
	}

}

