/* Copyright (c) 2010, Apple Inc. All rights reserved. */

/* @group Dialog */

.webauth h1,
.webauth h2,
.webauth p
{
	margin: 0px;
	padding: 0px;
}

h1.error
{
    padding: 100px;
}

.webauth
{
	background-color: #666666;
	background-color: rgba(255, 255, 255, 0.3);
	background-color: expression('#666666');
	width: 340px;
	padding: 3px;
	overflow: hidden;
	border-radius: 5px;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.4);
}

.auth_dialog
{
	background-color: #EFEFEF;
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#EFEFEF));
	background: -moz-linear-gradient(top, #FFFFFF, #EFEFEF);
	font-size: 13px;
	overflow: hidden;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

.auth_dialog h1
{
	color: #474747;
	background: #D5D5D5 url(./img/dialog_header_bg.png) 0 0 repeat-x;
	background: -webkit-gradient(linear, left top, left bottom, from(#F9F9F9), to(#D5D5D5));
	background: -moz-linear-gradient(top, #F9F9F9, #D5D5D5);
	text-align: center;
	font-size: 13px;
	font-weight: bold;
	line-height: 24px;
	text-shadow: 0px 1px 1px #FFFFFF;
	border-bottom: 1px solid #b7b7b7;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;	
}

.auth_dialog .icon
{
	padding-top: 32px;
	text-align: center;
}

.auth_dialog img
{
	height: 44px;
	width: 44px;
}

.auth_dialog h2
{
	color: #666666;
	font-size: 20px;
	max-width: 320px;
	font-weight: normal;
	overflow: hidden;
	padding: 2px 16px 32px 16px;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.auth_dialog .section + .section
{
	padding-top: 8px;
}

.auth_dialog .sections
{
	padding-bottom: 16px;	
}

.auth_dialog input[type=text],
.auth_dialog input[type=username],
.auth_dialog input[type=password]
{
	border: 1px solid #DBDBDB;
	color: #5F5F5F;
	height: 20px;
	outline: none;
	padding: 2px;
	resize: none;
	width: 220px;
}

body:not(.en) .auth_dialog input[type=text],
body:not(.en) .auth_dialog input[type=username],
body:not(.en) .auth_dialog input[type=password]
{
	width: 190px;
}

.auth_dialog label
{
	color: #5F5F5F;
	float: left;
	font-weight: bold;
	height: 25px;
	line-height: 26px;
	overflow: hidden;
	padding: 0px 8px;
	text-align: right;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 82px;
}

.auth_dialog .remember_me_checkbox label
{
	color: #616161;
	display: block;
	font-size: 11px;
	font-weight: normal;
	float: none;
	height: auto;
	margin-bottom: -18px;
	text-align: left;
	padding: 6px 16px 0px 95px;
	width: auto;
}

.auth_dialog .remember_me_checkbox label input {
	margin-right: 5px;
}

body:not(.en) .auth_dialog label {
	width: 112px;
}

body:not(.en) .auth_dialog .remember_me_checkbox label
{
	padding-left: 125px;
}

.auth_dialog .buttons
{
	padding: 10px 16px 12px 16px;
	text-align: right;
}

.auth_dialog .buttons input + input
{
	margin-left: 6px;
}

.auth_dialog input[type="button"],
.auth_dialog input[type="submit"]
{
	width: 64px;
}
body:not(.en) .auth_dialog input[type="button"],
body:not(.en) .auth_dialog input[type="submit"]
{
	width: 85px;
}

.auth_dialog p.error
{
	color: red;
}

.auth_dialog p.info
{
	color: #666666;
	text-shadow: #FFFFFF 0px -1px 0px;
}

.auth_dialog p.error,
.auth_dialog p.info
{
	font-size: 12px;
	text-align: center;
	padding-top: 6px;
}


/* @end */

/* @group Standalone */

#auth_server,
#auth_server body
{
	background: #7A7A7A;
	font-size: 11px;
	font-family: Helvetica, Arial, Geneva, sans-serif;
	line-height: 1.4;
	margin: 0px;
	padding: 0px;
}

#auth_server .webauth
{
	position: absolute;
	left: 50%;
	margin-left: -170px;
	top: 185px;
}

#auth_server p.footer
{
	bottom: 0px;
	color: #B5B5B5;
	font-size: 13px;
	left: 0px;
	padding: 16px;
	position: absolute;
	right: 0px;
	text-align: center;
	text-shadow: rgba(0,0,0,0.4) 0px 1px 0px;
}

#auth_server p.logout,
#auth_server p.link
{
	text-align: center;
}

#auth_server p.logout
{
	padding: 24px 0px 10px 0px;
}

/* @end */

/* @group Inline */

input.verifying,
p.error,
.webauth.verifying input.login
{
	display: none;
}

#login_spinner
{
	bottom: 17px;
	display: none;
	height: 16px;
	left: 16px;
	position: absolute;
	width: 16px;
}

.webauth.verifying #login_spinner
{
	display: block;
}

.webauth.verifying input.verifying
{
	display: inline;
}

.webauth.error p.error
{
	display: block;
}

/* @end */

/* @group iPhone */

@media only screen and (max-device-width:480px) {
	#auth_server,
	#auth_server body
	{
		text-size-adjust: none;
		-webkit-text-size-adjust: none;
	}
	#auth_server .webauth
	{
		margin: 0px;
		padding: 0px;
		position: static !important;
		width: auto;
		-webkit-border-radius: none;
		-webkit-box-shadow: none;
		min-height: 417px;
		background: #c1c1c1;
	}
	#auth_server,
	#auth_server body,
	.webauth .auth_dialog
	{
		background: #FFFFFF;
		background: #C1C1C1 0 0 repeat-x;
		background-image: url(data:image/gif;base64,R0lGODlhAQCQAdUAANPT0+rq6unp6cPDw+jo6Obm5tLS0sTExMXFxefn59bW1uDg4MnJyd7e3tnZ2eLi4tra2sbGxtHR0eXl5cfHx9zc3OPj4+Tk5NjY2NTU1NXV1c3Nzdvb28HBwd/f38rKys7OztDQ0NfX193d3cjIyMzMzOHh4cvLy8/Pz+vr68LCwuzs7AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAALAAAAAABAJABAAaYwJVwSCwaj8ikcslsOp/OlHRKDVivVoF2qyV4v4SEeJwomM+FiXp9abst8PhjTjfZ7Yu83sPnN/6AI4KCFYWGHIiIEIuMDo6PGJGSIpSUCpeYChqbnBmenwChoqEGpaYGEqmqIaysKK8oILKyG7W1Jbi4J7u7H76+DMHCJMTEFMfIEcrLCM3OCAfR0gcD1dbVKtna2x3d3UEAOw==);
		color: #393939;
		font-size: 11px;
	}
	#auth_server h1
	{
		background: none;
		border: none;
		color: #757575;
		font-size: 16px;
		font-weight: normal;
		left: 0px;
		overflow: hidden;
		position: absolute;
		right: 0px;
		text-shadow: none;
		top: 224px;
	}

	#auth_server h2
	{
		color: #333333;
		font-size: 32px;
		font-weight: bold;
		overflow: visible;
		height: 64px;
		line-height: 32px;
		padding: 0px 0px 16px 0px;
		text-align: center;
		width: 100%;
		display: block;
		position: absolute;
		top: 144px;
		white-space: normal;
	}
	.auth_dialog
	{
		padding-top: 260px;
	}
	.auth_dialog .icon
	{
		left: 0px;
		position: absolute;
		padding-top: 48px;
		right: 0px;
		top: 0px;
		text-align: center;
	}
	.auth_dialog .icon img
	{
		height: 80px;
		width: 80px;
	}
	.auth_dialog label
	{
		display: none;
	}
	.auth_dialog input[type="text"],
	.auth_dialog input[type="password"]
	{
		display: block;
		height: auto;
		border: 1px solid #999999;
		font-size: 20px;
		margin: 0px auto;
		width: 70%;
	}
	.auth_dialog .buttons
	{
		padding: 0px 48px 24px 48px;
	}
	.auth_dialog input[type="submit"]
	{
		font-size: 14px;
		width: 90px;
	}
	#auth_server p.footer
	{
		display: none;
	}
	.auth_dialog p.error,
	.auth_dialog p.info
	{
		font-size: 16px;
		padding-bottom: 10px;
	}
}

/* @end */
