/*
 * A Right-Sticky-Form layout is 2 PB column. The first column is the
 * cause description (petition, email, etc.) and the second is a form
 * for collecting the user's information. On the default mobile layout
 * the columns are stacked with column 1 above column 2. The thank you
 * page has a slightly different layout on the left but retains the
 * black right column.
 */

/* --- Left/top column, main text and message ---- */
.en__component--row .en__component--column--1 {
	padding: 40px;
	overflow: hidden;
	max-width: 1024px;
	margin: 0 auto;
	position: relative;
}

.en__errorHeader {
	display: none;
}

.en__errorList {
	display: none;
	/* server-side errors such as PAF validation failure */
	/*position: absolute;
	top: 10px;
	right: 10px;
	z-index: 100;*/
	font-weight: bold;
	/*color: yellow;
	background: black;*/
	list-style-type: none;
	/*border: 1px solid yellow;*/
	padding: 10px;
}

.en__field__error {
	color: red;
	margin: 10pt 0 0;
	padding: 0;
}

.sms-optin-notice {
	color: white;
	padding: 4pt 0 0;
}

.issue-info {
	margin-top: 70px; /* clear logo */
	line-height 1.5;
}

.issue-info div.top-image {
	margin: 20px -40px;
	height: 200px;
	/* background-image 700x200 set by page */
	background: #ccc center center / cover no-repeat;
}

.issue-info p {
	margin: 16px 0;
}

.issue-info .read-more-link {
	font-size: 10pt;
	font-weight: bold;
	color: #444;
	text-decoration: none;
}

.your-message {
	font-size: 11pt;
	color: #eee;
	padding: 8px 16px;
	margin: 16px 0;
	background: #000;
	display: inline-block;
	text-transform: uppercase;
	font: bold 11pt AmnestyTradeGothicCn, sans-serif;
}

.petition-info {
	margin-bottom: 24px;
	border: 16px solid #eee;
	padding: 16px;
    line-height: 1.5;
    font-size: 24px;
}

.en__contacts--singleMessageMode {
	display: none;
}

.en__field--comments {
	padding: 0;
}

.en__field--comments textarea {
	width: 100%;
	height: 100px;
	padding: 6px;
}

/* ---- Right/bottom column w form, sticky on desktop ---- */
.en__component--row .en__component--column--2 {
	background: #000;
	max-width: 1024px;
	margin: 0 auto;
}

.en__component--row .en__component--column--2 .en__component--formblock {
	padding: 20px;
	font: normal 10pt/10pt AmnestyTradeGothic, sans-serif;
	background: #000;
	max-width: 1024px;
	margin: 0 auto;
}

.en__field__label {
	display: block;
	color: #eee;
	text-transform: uppercase;
	margin: 12px 0 4px 0;
	font: bold 11pt AmnestyTradeGothicCn, sans-serif;
}

.en__field__element input, .en__field__element select {
	width: 100%;
	padding: 8px;
}

.en__field--phoneNumber {
	width: 47%;
}

.sms-optin-notice {
	float: right;
	color: white;
	padding-top: 12px;
	font-size: 85%;
	width: 49%;
}

.en__component--contactblock {
	border: 20px solid #eee;
	background: #eee;
	font: normal 10pt/10pt AmnestyTradeGothic, sans-serif;
}

.en__contactSubject__field {
	width: 100%;
	padding: 6px;
	margin-bottom: 10px;
	font: inherit;
}

.en__contactMessage__plainText {
	width: 100%;
	height: 150px;
	padding: 6px;
	font: inherit;
}

.take-action-sticky {
	background: #ff0;
	color: #000;
	text-align: center;
	font-weight: bold;
	font-size: 15px;
	text-transform: uppercase;
	padding: 6px;
	margin: 0 -40px;
	position: absolute;
	width: 100%;
	bottom: 0;
}

.take-action-sticky a {
	text-decoration: none;
	color: #000;
	display: inline-block;
	width: 100%;
}

.en__submit button {
	display: block;
	width: 100%;
	margin: 24px 0 0;
	padding: 12px 2px;
	color: #000;
	font: bold 12pt AmnestyTradeGothic, sans-serif;
	text-transform: uppercase;
	background: #ff0;
	border: none;

}

@media (max-width: 767px), (min-width: 850px) {
	.en__field--firstName, .en__field--lastName, .en__field--region, .en__field--postcode {
		display: inline-block;
		width: 46.7%;
	}

	.en__field--firstName, .en__field--region {
		margin-right: 4.7%;
	}
}

/* desktop with tall-window layout */
@media (min-width: 768px) and (min-height: 620px) {
	.take-action-sticky {
		display: none;
	}

	.en__component--row {
		display: table;
	}

	.en__component--row .en__component--column--1 {
		display: table-cell;
		margin: 0;
		width: 60%;
		max-width: 864px;
	}

	.en__component--row .en__component--column--2 {
		display: table-cell;
		width: 40%;
		max-width: 576px;
		position: relative;
	}

	.en__component--row .en__component--column--2 .en__component--formblock {
		position: fixed;
		top: 0;
		padding: 40px 40px 2px 40px;
		width: 40%;
		max-width: 570px;
	}

	.issue-info div.top-image {
		margin: 40px 0 40px -40px;
		width: 125%;
		height: 400px;
		/* background-image 900x400 set by page */
	}

	.en__field--firstName::before {
		content: "Your Information";
		text-transform: uppercase;
		font: bold 10pt AmnestyTradeGothic, sans-serif;
		letter-spacing: 1px;
		padding: 8px 16px;
		background: #ff0;
		white-space: nowrap;
		position: relative;
		left: -60px;
		top: -20px;
	}

	.en__field--firstName {
		padding-top: 20px;
	}
}
