/*
Theme Name:     Story Child
Author:         Pexeto
Author URI:     http://pexetothemes.com
Template:       thestory
*/

@import url("../thestory/style.css");


/**************************************************************
 * Styles used for the Report.
 *
 * Pages should use the Story template's 'Full-width custom page' template
 * and then have the 'page-report' class added using the Custom Body Class
 * plugin.
 *
 * The contents page has an additional 'page-report-contents' class.
 */


/* Main page structure */

.page-report #full-width {
	max-width: 740px;
	margin-left: auto;
	margin-right: auto;
}
.page-report #content-container {
	padding-top: 0;
}
.page-report #content-container .section-boxed {
	margin-top: 20px !important;
}


/* Common parts of pages */

.page-report .content h2,
.page-report .content p,
.page-report .content li,
.page-report .content dt,
.page-report .content dd,
.page-report .content figcaption {
	font-size: 21px;
	line-height: 33px;
	margin-bottom: 29px;
}
.page-report .content h2 {
	text-transform: uppercase;
	margin-bottom: 0;
}
.page-report .content dt {
	margin-bottom: 0;
}
.page-report .content ol {
	/* Enough space for double-digits. */
	margin-left: 40px;
}
.page-report .content ul {
	margin-left: 30px;
	margin-top: 7px;
}
.page-report cite {
	font-style: italic;
	font-size: inherit;
}


/* Contents page */
/* The <body> has an additional .page-report-contents class. */

.page-report-contents #full-width {
	max-width: 940px;
}
.page-report .content .report-contents > li a {
	} 
.page-report .content .report-contents-expander {
	background: #991c76;
    color: #fff;	
	display: block;
	padding: 14px;
}
.page-report .content .report-contents-expander:hover {
	text-decoration: none;
}
.page-report .content .report-contents,
.page-report .content .report-contents ul {
	list-style-type: none;
	margin-left: 0;
	margin-top: 0;
}
.page-report .content .report-contents {
	margin-top: 40px;
}
.page-report .content .report-contents ul {
	background: #ede3ec;
	padding: 7px 14px;
}
.page-report .content .report-contents li {
	padding-bottom: 7px;
	margin-bottom: 0;
	line-height: 29px;
}
.page-report .content .report-contents li li {
	padding-top: 7px;
	padding-bottom: 7px;
}
.page-report .content .report-contents li li a {
	font-weight: bold;
}
.page-report .content li.report-contents-noexpand {
	padding: 7px 14px 14px 14px;
}



/* Top of the page */

.page-report .content p.report-back-link {
	font-size: 14px;
	line-height: 23px;
	margin: 0 0 14px 0;
}
.page-report .content p.report-section-title {
	text-transform: uppercase;
	padding: 5px 9px 3px 9px;
	letter-spacing: 1px;
	background: #991c76;
	color: #fff;
	font-size: 14px;
	line-height: 23px;
	font-weight: bold;
	margin-bottom: 14px;

	/* With the :after stuff below, make this only as wide as the text within
	 * it. */
	display: inline-block;
}
.page-report .content p.report-section-title:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.page-report .content p.report-page-author {
	font-size: 14px;
	line-height: 23px;
}

/* Quotes */

.page-report q {
	quotes: initial;
	font-family: "Gotham SSm A", "Gotham SSm B", “Helvetica Neue”, Helvetica, Arial, sans-serif !important;
}
.page-report q::before {
	content: open-quote;
}
.page-report q::after {
	content: close-quote;
}

/* Media */

.page-report .content p.wp-caption-text {
	/* Caption below media. */
	margin-top: 0;
	text-transform: uppercase;
	padding: 5px 9px 3px 9px;
	letter-spacing: 1px;
	background: #991c76;
	color: #fff;
	font-size: 14px;
	line-height: 23px;
	text-align: left;
}
.page-report .wp-caption img {
	/* Ensure it's as wide as its container, so it's not narrower than its
	 * caption box. */
	width: 100%;
	height: auto;
}

/* Tables, and Blockquotes with captions. */

.page-report figure.blockquote figcaption {
	margin-left: 20px;
}
.page-report figure.img figcaption,
.page-report figure.table figcaption {
	font-size: 14px;
	line-height: 23px;
	font-weight: bold;
	padding-left: 8px;
	padding-right: 8px;
}
.page-report figure.img figcaption:first-child,
.page-report figure.table figcaption:first-child {
	margin-bottom: 5px;
}
.page-report figure.img figcaption:last-child,
.page-report figure.table figcaption:last-child {
	margin-top: 5px;
}
.page-report figure.table table:last-child {
	margin-bottom: 29px;
}

.page-report .content .table td p {
	font-size: 14px;
	line-height: 20px;
	margin-top: 7px;
	margin-bottom: 7px;
}
.page-report table .td-r {
	text-align: right;
}

.page-report table tfoot td {
	font-weight: bold;
}

/* Essay summaries */
.page-report .content .report-block {
	background: #ede3ec;
}
.page-report .content .report-block p {
	padding: 5px 16px 0 16px;
}
.page-report .content .report-block p:last-child {
	padding-bottom: 16px;
}

.page-report .content .report-block h2 {
	text-transform: uppercase;
	padding: 5px 16px 3px 16px;
	letter-spacing: 1px;
	background: #991c76;
	color: #fff;
}

/* Footnotes */

.page-report .bigfoot-footnote__content {
	padding: 0.55em 0.65em 0.6em;
}
.page-report .bigfoot-footnote p {
	font-size: 14px;
	line-height: 23px;
	margin-bottom: 0;
}
.page-report .content .footnotes {
	margin-top: 58px;
}
.page-report .content .footnotes hr {
	margin-bottom: 14px;
}
.page-report .content .footnotes li,
.page-report .content .footnotes p {
	font-size: 14px;
	line-height: 23px;
}
.page-report .content .footnotes li {
	margin-bottom: 0;
}
.page-report .content .footnotes p {
	margin-bottom: 14px;
}
.page-report .content .report-block .footnote-content p {
	padding: 0;
}

/* Bibliography */

.page-report .content ul.bibliography {
	list-style-type: none;
	margin-left: 0;
}


/* Variations for smaller screen sizes */

@media screen and (max-width: 1000px) {
}
@media screen and (max-width: 768px) {

	.page-report #full-width {
		margin-left: 15px;
		margin-right: 15px;
	}

	.page-report .content h2,
	.page-report .content p,
	.page-report .content li,
	.page-report .content dt,
	.page-report .content dd,
	.page-report .content figcaption {
		font-size: 18px;
		line-height: 28px;
		margin-bottom: 21px;
	}
	
}
@media screen and (max-width: 520px) {

	.page-report .wp-caption.alignleft,
	.page-report .wp-caption.alignright {
		/* Center left/right aligned images at narrow widths. */
		float: none;
		margin-left: auto;
		margin-right: auto;
	}

}
