"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 }
		
		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
			bgcolor="none"

		}

		Hey
		{
			font-size=18
			textcolor="213 214 215 255"
		}
		
		Hey2
		{
			font-size=16
			textcolor="213 214 215 212"
		}
		
		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=36 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 }
		
		// bottom: OK/cancel
		place { control="OK,Cancel" region="bottom"
						width=92 height=25 align=right
						margin-right=10 margin-top=0
						margin-bottom=2 spacing=10 }
	}

}

