/* chomp connect developer site */
h2 .login,
h2 .logout {
	float: right;
}

p.support-link {
    margin:20px 0;
}

#content h1 a {
    float:right;
    font-size:12px;
}

/* sign in / index page */
#connectSS {
	width: 250px;
	height: 375px;
}
#developer_register {
	width: 250px;
}
#developer_register label {
	display: block;
}
#developer_register label[for="tos"] {
	display: inline;
}
#developer_register input[type="text"],
#developer_register input[type="email"],
#developer_register input[type="password"] {
	display: block;
	margin-bottom: .5em;
	width: 223px;
}
#developer_register input[type="submit"] {
	display: block;
	width: 235px;
	margin-top: .5em;
}
#developer_register p.success,
#developer_register p.error {
	width: 223px;
}
#developer_login input[type="submit"] {
	padding: 4px 6px;
}
#developer_login input {
	vertical-align: bottom;
}
#connectDetails {
	display: block;
	overflow: hidden;
	border: 1px solid #aaa;
	background-color: #aaa;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-moz-box-shadow: 3px 3px 3px #ddd;
	-webkit-box-shadow: 3px 3px 3px #ddd;
	box-shadow: 3px 3px 3px #ddd;
	margin: 0;
	zoom: 1 !ie;
}
#developer_email .error, #developer_email .success {
    width:50%;
}
#connectDetails h1 {
	background-color: #A80C0D;
	background-image: -moz-linear-gradient(center top, #BF6162 0%, #A80C0D 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #bf6162), color-stop(1, #a80c0d));
	color: #fff;
	font-size: 18px;
	line-height: 32px;
	text-align: center;
	padding: 0 20px;
	margin-bottom: 0;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	-webkit-border-top-right-radius: 10px;
	-webkit-border-top-left-radius: 10px;
	border-radius: 10px 10px 0 0;
}
#connectExplanation {
	padding-top: 10px;
	background-color: #fff;
	overflow: hidden;
	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	border-radius: 0 0 10px 10px;
	zoom: 1;
}
#connectDetails p {
	padding: 0 10px;
	margin-bottom: 10px;
	overflow: hidden;
}
#connectDetails ul {
	padding: 0 25px;
	list-style-position: outside;
	margin: 0 0 15px;
	overflow: hidden;
}
#connectDetails ul li {
	margin-bottom: 5px;
}

/* dashboard styles */
#dev_partner {
    text-align: center;
}
#dev_tabs ul {
	padding: 0;
	margin: 0;
	overflow: hidden;
	list-style: none;
}
#dev_tabs li {
	float: left;
	width: 50%;
}
#dev_tabs li a {
	display: block;
	padding: 3px;
	text-align: center;
	text-decoration: none;
	color: #000;
	background-color: #ccc;
	border: 1px solid black;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	border-radius: 5px 5px 0 0;
}
#dev_tabs li a.selected {
	font-weight: bold;
	background-color: transparent;
	border-bottom-color: transparent;
}
#apps, #account {
	border: 1px solid black;
	border-top: 0;
	padding: 10px;
	-moz-border-radius: 0 0 5px 5px;
	-webkit-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
}
#account .editable input,
#account dd.pw .pw_instructions {
	margin-bottom: .5em;
}
#account dd.pw {
	margin-left: 9em;
}
#account .pw_instructions {
	display: block;
	font-size: 12px;
}
#apps table {
	width: 100%;
	border: 1px solid gray;
	border-spacing: 1px;
	border-collapse: collapse;
	margin-bottom: 0;
}
#apps th, #apps td {
	border: 1px solid gray;
	padding: 2px;
	text-align: center;
}
#apps th {
	font-weight: bold;
	background-color: #A80C0D;
	background-image: -moz-linear-gradient(center top, #BF6162 0%, #A80C0D 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #bf6162), color-stop(1, #a80c0d));
	color: #fff;
}
#apps .toggle {
	width: 3em;
}
#apps .secret {
	width: 3.5em;
}
#apps .secret div {
	margin: 0;
	padding: 0;
}
#apps .secret .secret-popup {
    position:absolute;
    top:45%;
    left:50%;
    margin-left:-11em;
	width: 22em;
	padding: 2px;
	background-color: #fff;
	border: 1px solid black;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
#apps .secret .secret-popup .close {
	float: right;
	text-decoration: none;
	color: red;
	padding: 0 .25em;
	font-size: 19px;
	font-weight: bold;
}
#apps .status {
	text-align: center;
	white-space: nowrap;
}
#apps .status span span {
	font-size: 20px;
	font-weight: bold;
}
#apps .status .live {
	color: green;
}
#apps .status .disabled {
	color: red;
}
#apps .status .pending {
	color: orange;
}
#apps .status .testing {
	color: yellow;
}
#apps .details td {
	padding: 10px;
	text-align: left;
}
#apps .details h3 {
	margin-bottom: 5px;
	font-weight: normal;
}
#apps .details .referrals {
	float: right;
	width: 350px;
}
#apps .details .referrals div.what {
	float: right;
	font-size: 12px;
	line-height: 25px;
	margin: 0;
	position: relative;
}
#apps .details .referrals .explanation {
	position: absolute;
	line-height: 18px;
	top: 0;
	right: 0;
	width: 15em;
	padding: 5px 10px;
	background-color: #fff;
	border: 1px solid black;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
#apps .details .referrals .explanation .close {
	float: right;
	text-decoration: none;
	font-weight: bold;
	padding-left: .25em;
	margin-left: .25em;
	color: red;
	font-size: 18px;
}
#apps .details dl {
	line-height: 22px;
}
#apps .details dt {
	width: 18px;
	padding-right: .5em;
}
#apps .details dt img {
	vertical-align: middle;
}
#apps .details nav ul {
	list-style: none;
	padding: 0;
}
#apps .add {
	text-align: center;
}

/* modals */
.app_modal {
	margin-left: -181px;
	width: 350px;
}
.app_modal label, 
.app_modal input[type="text"],
.app_modal input[type="number"],
.app_modal span.no_id
 {
	display: block;
    width: 275px;
}
.app_modal label {
	font-weight: bold;
}
.app_modal label.example {
	display: block;
	font-size: 11px;
	font-weight: normal;
	line-height: 15px;
	color: #555;
	margin-bottom: 10px;
}
.app_modal label.example span {
	display: block;
}
.app_modal span.no_id label {
	display: inline;
	font-weight: normal;
}
#new_application form {
	margin-bottom: 0;
}

/********* jqModal **********/
.jqmOverlay {
	background-color: #000;
}
.jqmWindow {
	/* jqModal base Styling courtesy of;
	Brice Burgess <bhb@iceburg.net> */
	display: none;
	position: fixed;
	top: 17%;
	left: 50%;
	margin-left: -306px;
	width: 600px;
	background-color: #fff;
	color: #000;
	border: 1px solid black;
	padding: 12px;
	/* Fixed posistioning emulation for IE6
	Star selector used to hide definition from browsers other than IE6
	For valid CSS, use a conditional include instead */
	_position: absolute;
	_top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px') !ie;
}
.jqmWindow h1 {
	font-size: 20px;
	line-height: 28px;
}
.jqmWindow h1 a.close {
	float: right;
	text-decoration: none;
	font-weight: bold;
	padding-left: .25em;
	margin-left: .25em;
	color: red;
	font-size: 24px;
}
