/**
 * @about: amen-full-article.css - Layout of full article snippet
 */

/**
 * Reset, defaults
 */

.section-content {
	background: transparent;
}

.section-content > h1 {
	display: none; /** Hides default page title */
}

.fa-content a {
	text-decoration: underline;
}

.fa-content a:hover {
	text-decoration: none;
}

/**
 * Grid of page
 */

.amen-full-article div > p, .fa-content > ul, .fa-content > ol, .fa-content > dl,
.fa-content > h2, .fa-content > h3, .fa-content > h4, .fa-content > h5, .fa-content > h6 {
	padding: 0 20px;
}

@media (min-width: 700px) {
	.amen-full-article div > p, .fa-content > ul, .fa-content > ol, .fa-content > dl,
	.fa-content > h2, .fa-content > h3, .fa-content > h4, .fa-content > h5, .fa-content > h6 {
		padding: 0 80px;
	}
}

@media (min-width: 860px) {
	.amen-full-article div > p, .fa-content > ul, .fa-content > ol, .fa-content > dl,
	.fa-content > h2, .fa-content > h3, .fa-content > h4, .fa-content > h5, .fa-content > h6 {
		padding: 0 120px;
	}
}

/**
 * Notices
 */

.fa-notice {
	padding: 20px;
	margin: 20px;
	background: #a9201e;
	color: #fff;
}

/**
 * Article title block
 */

.amen-full-article {
	padding-bottom: 80px;
	background: #fff;
	overflow: hidden;
}

.fa-cover-photo {
	width: 100%;
	max-width: 100%;
	height: 120px;
	background-size: cover;
	background-position: 50%;
}

h1.series-title {
	margin-bottom: 0;
}

.series-subtitle {
	display: block;
	margin-bottom: 50px;
	padding-left: 20px;
	font-size: 1.4em;
	color: grey;
}

@media (min-width: 685px) {
	.series-subtitle {
		padding-left: 80px;
	}

	.fa-cover-photo {
		height: 400px;
	}
}

@media (min-width: 860px) {
	.series-subtitle {
		font-size: 1.6em;
	}
}

@media (min-width: 890px) {
	.fa-cover-has-image.amen-full-article {
		margin-top: 200px
	}

	.has-js .fa-cover-has-image {
		background: rgba(255, 255, 255, .8);
		-webkit-transition: background .5s ease;
		-moz-transition: background .5s ease;
		-ms-transition: background .5s ease;
		-o-transition: background .5s ease;
		transition: background .5s ease;
	}

	.has-js .fa-scrolled-up {
		background: rgba(255, 255, 255, 1);
	}

	h1.series-title {
		padding-top: 80px;
	}

	.series-subtitle {
		padding-left: 0;
		text-align: center;
	}

	.fa-cover-photo {
		position: fixed;
		left: 0;
		top: 64px;
		z-index: -1;
	}
}

/**
 * Article introduction
 */

.fa-introduction {
	font-size: 1.3em;
}

/**
 * Article meta data
 */

.fa-meta-data {
	text-align: center;
	text-transform: uppercase;
	font: .9em/1.6 Arial, sans-serif;
	letter-spacing: .07em;
	color: grey;
}

.fa-meta-data p {
	display: inline-block;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #ccc;
	width: auto;
	padding: .5em 2em;
}

.fa-meta-data em {
	font-style: normal;
	color: #a9201e;
}

/**
 * Article content
 */

.fa-content img.right-aligned,
.fa-content img[align="right"],
.fa-content img.left-aligned,
.fa-content img[align="left"] {
	max-width: 50%;
	margin-bottom: 1em;
	margin-top: 9px;
}

.fa-content aside img.right-aligned,
.fa-content aside img[align="right"],
.fa-content aside img.left-aligned,
.fa-content aside img[align="left"] {
	margin-top: 0;
}

/** Read more blocks */
.fa-read-more-block {
	margin: 0 20px 1.5em;
	font-size: .9em;
	overflow: hidden;
	color: grey;
	color: rgba(0,0,0,0.4);
}

.fa-more-in-same-issue {
	padding: 20px;
	background-color: #f0e7b7;
}

.fa-more-in-same-serie h2 {
	border-top: 1px solid #ddd;
	font: 0.9em/1.6 Arial,sans-serif;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: grey;
}

.fa-read-more-block .fa-rm-last {
	margin-bottom: 0;
}

/** Layout of tables */
.amen-table-wrapper {
	margin: 0 20px 1.5em;
	padding: 1.5em 0;
	overflow: auto;
	border-bottom: 1px dotted #ccc;
	border-top: 1px dotted #ccc;
}

.amen-table-wrapper-inner {
	min-width: 660px;
}

.amen-table-wrapper table {
	width: 100%;
	margin: 0;
	font-family: Arial, sans-serif;
	font-size: .9em;
}

.amen-table-wrapper td {
	padding-right: 20px;
}

@media (min-width: 700px) {
	.fa-read-more-block {
		margin: 0 80px 1.5em;
	}

	.amen-table-wrapper {
		margin: 0 40px 1.5em;
	}
}

@media (min-width: 860px) {
	.fa-read-more-block {
		margin: 0 120px 1.5em;
	}

	.amen-table-wrapper {
		margin: 0 75px 1.5em;
	}
}

/** More in same serie */
.fa-more-in-same-serie ul {
	margin-bottom: 0;
	padding-bottom: 0;
}

.has-js .fa-all-in-same-serie {
	max-height: 0;
	-webkit-transition: max-height .5s ease;
	-moz-transition: max-height .5s ease;
	-ms-transition: max-height .5s ease;
	-o-transition: max-height .5s ease;
	transition: max-height .5s ease;
}

.fa-show-all-in-same-serie .fa-all-in-same-serie {
	max-height: 2000px;
}

.fa-toggle-all-in-same-serie {
	display: none;
	color: #0a79a3;
	opacity: 1;
	cursor: pointer;
	-webkit-transition: opacity .4s ease;
	-moz-transition: opacity .4s ease;
	-ms-transition: opacity .4s ease;
	-o-transition: opacity .4s ease;
	transition: opacity .4s ease;
}

.has-js .fa-toggle-all-in-same-serie {
	display: block;
}

.fa-toggle-all-in-same-serie:hover {
	color: #0092c1;
}

.fa-show-all-in-same-serie-removing {
	opacity: 0;
}

/** More in same issue */
.fa-more-in-same-issue img {
	float: left;
	max-width: 60px;
	margin-top: 9px;
}

.fa-rm-inner-container {
	margin-left: 75px;
}

@media (min-width: 600px) {
	.fa-more-in-same-issue img {
		max-width: 90px;
	}

	.fa-rm-inner-container {
		margin-left: 105px;
	}
}

@media (min-width: 860px) {
	.fa-more-in-same-issue img {
		max-width: 100px;
	}

	.fa-rm-inner-container {
		margin-left: 115px;
	}
}

/**
 *  Articles for free
 */

.fa-article-blocker {
	padding: 20px 40px;
	font-size: 100%;
}

.fa-article-blocker .amen-button + p {
	margin-top: 2em;
	padding-top: 1em;
	border-top: 1px solid #ccc;
}

/**
 * Login form
 */

.fa-login legend {
	display: none;
}

.fa-login {
	background-color: #eee;
}

div.fa-login p,
div.fa-login form {
	padding-right: 0;
	padding-left: 0;
}

div.fa-login button[type="submit"] {
	border-color: #ccc;
	color: #000;
	background: #fff;
}

@media (min-width: 700px) {
	.amen-full-article > .fa-login {
		margin: 0 80px 1.5em;
		padding: 20px;
	}
}

@media (min-width: 860px) {
	.amen-full-article > .fa-login.fa-login {
		margin: 0 120px 1.5em;
	}
}

/**
 * Search result text emphasis
 */

.search-highlight {
	color: #000;
	background: #fff600;
}
