/*
Theme Name: PCC 2017
Theme URI: http://placecreativecompany.com/
Description: Customized for American Trust
Author: Michael Niggel/Place Creative Company
Version: 2017.11.14
*/

/* ============== */
/* Element defaults */

body {
	line-height: 1.6;
	background: #fff;
	color: #222;
}

a {
	color: #800;
}

h1 {
    font-size: 3em;
    margin: 0 0 0.25em;
    line-height: 1.25;
}

h2 {
    font-size: 1.875em;
    margin: 1em 0;
    line-height: 1.25;
}

h3 {
    font-size: 1.625em;
    margin: 1em 0 0.5em;
    line-height: 1.25;
}

h4 {
    font-size: 1.4375em;
    margin: 0.5em 0;
    line-height: 1.25;
}

h5 {
    font-size: 1em;
    margin: 0.5em 0;
    line-height: 1.25;
}

h6 {
    font-size: 0.83em;
    margin: 0.5em 0;
    line-height: 1.25;
}

@media (max-width: 42em) {
	body {
		line-height: 1.25;
	}

	h1 {
		font-size: 2em;
	}

	h2 {
		font-size: 1.5em;
	}

	h3 {
		font-size: 1.375em;
	}

	h4 {
		font-size: 1.125em;
	}

	ul, ol {
		padding-left: 1.5em;
	}
}

p {
	margin: 0;
}

ul, ol {
	padding-left: 3em;
	margin: 0;
}

*+p,
*+ul,
*+ol {
	margin-top: 1em;
}

img {
	max-width: 100%;
	height: auto;
}

.ie8 img {
	width: auto;
	height: auto !important;
}

big {
	font-size: 1.125em;
}

small {
	font-size: 0.8em;
}

html, button, input, select, textarea {
    color: #222;
}

/*
::-moz-selection {
	background: #b3d4fc;
    text-shadow: none;
}

::selection {
	background: #b3d4fc;
    text-shadow: none;
}
*/

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/* ============== */
/* Typekit */

.wf-loading h1,
.wf-loading h2,
.wf-loading h3,
.wf-loading p,
.wf-loading li {
	opacity: 0;
}

.ie8.wf-loading h1,
.ie8.wf-loading h2,
.ie8.wf-loading h3,
.ie8.wf-loading p,
.ie8.wf-loading li {
	visibility: hidden; /* Old IE */
}

/* ============== */
/* Reusable Components */

form>div>div {
	padding: 0.5em 0 0;
}

input, textarea {
	box-sizing: border-box;
	width: 100%;
}

input[type="submit"] {
	width: auto;
	margin: 0 auto;
	display: block;
}

form p {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin: 0;
}

label {
	margin: 0.5em 0;
	padding: 0 0.5em;
	display: inline-block;
	width: 100%;
	box-sizing: border-box;
}

label.med {
	flex: 2;
}

label.sm {
	flex: 1;
}

p.submit {
	display: block;
	text-align: center;
	margin: 1em 0;
}

@media(max-width: 40em) {
	form p {
		display: block;
	}

	label+label {
		margin-top: 1em;
	}
}

input[type="submit"],
.button {
	border: none;
	background: #000;
	color: #fff;
	padding: 0.75em 4em;
	text-decoration: none;
	display: inline-block;
	margin-bottom: 0.5em;
	letter-spacing: 0.04em;
}

/* ============== */
/* Main layout */

header {
	max-width: 68em;
	margin: auto;
	padding: 0 3%;
}

header:after {
	content: ' ';
	clear: both;
	display: table;
}

header .site-title {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute;
}

#skip {
	position: absolute;
	top: 0;
}

#skip a, #skip a:hover, #skip a:visited {
	position: absolute;
	left: 0;
	top: -500px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	color: #00f;
	background: #fff;
	padding: 1em;
	border: solid 1px #000;
}

#skip a:active, #skip a:focus {
	position: static;
	width: auto;
	height: auto;
}

#logo {
	width: 15em;
	float: left;
	padding: 0.5em;
	box-sizing: border-box;
}

#logo a,
#logo img {
	display: block;
}

header .search-box {
	float: right;
}

#header-extras {
	float: right;
	clear: right;
	margin-top: 1em;
}

#nav-main {
	float: right;
	clear: right;
}

#nav-main ul {
	padding: 0;
}

#nav-main li {
	display: inline-block;
	margin: 0 0 0 2em;
}

#nav-main li a {
	text-decoration: none;
}

@media (max-width: 60em){
	#logo {
		width: 10em;
	}
	#nav-main {
		float: none;
		width: 100%;
		clear: both;
	}
	#nav-main>ul>li {
		display: block;
		margin: 1em 0;
	}
}

.js-on #nav-main p {
	display:none
}

@media (max-width: 60em){
	.js-on #nav-main {
		margin: 0;
		padding: 0;
		min-height: 2em;
		clear: both;
	}
	.js-on #nav-main>ul {
		display: none;
		margin-top: 0;
		position: absolute;
		left: 0;
		right: 0;
		z-index: 100;
		background: #fff;
	}
	.js-on #nav-main p {
		display: block;
		padding: 0;
		line-height: 2;
		margin: 0 1em;
	}
	.js-on #nav-main svg {
		margin-right: 0.5em;
		width: 0.8em;
		height: 0.8em;
	}
	.js-on #nav-main li {
		margin: 1em;
		display: block;
	}
	.js-on #nav-main li a {
		height: auto;
	}
}

@media (max-width: 30em){
	#logo {
		float: none;
		margin: 0 auto;
	}
	#header-extras {
		float: none;
		margin: 0.5em auto;
		text-align: center;
	}
}

.article-header {
	position: relative;
}

.post-thumb {
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

.post-thumb img {
	position: absolute;
	top: -99em;
	left: -99em;
	right: -99em;
	bottom: -99em;
	margin: auto;
	max-width: none;
	min-width: 100%;
	display: block;
}

@supports(object-fit: cover) {
	.post-thumb img {
		position: static;
		object-fit: cover;
		height: 100%;
		max-width: 100%;
	}
}

.article-header-content {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	z-index: 2;
	min-height: 15vw;
	height: 15vw;
}

.post-thumb+.article-header-content {
	min-height: 20vw;
}

.article-header-content .entry-title {
	line-height: 1.2;
	margin: 0.5em 0;
}

.article-content {
	margin: 2em auto;
	max-width: 68em;
	padding: 0 3%;
}

footer {
	position: relative;
	margin: 0 auto;
	padding: 0 3%;
	max-width: 68rem;
	font-size: 0.75em;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
}

footer:before {
	content: ' ';
	display: block;
	position: absolute;
	top: -1rem;
	left: -99rem;
	right: -99rem;
	bottom: 0;
	background: #000;
	color: #fff;
	z-index: -1;
}

#footer-extras {
	margin: 0 0 1rem;
}

#nav-foot {
	text-align: right;
	width: 100%;
	margin: 0 0 1rem;
}

#nav-foot>ul {
	list-style: none;
	padding: 0;
}

#nav-foot>ul>li {
	display: inline-block;
	padding: 0;
	margin-left: 2rem;
}

#nav-foot a {
	text-decoration: none;
}

#nav-foot a:hover,
#nav-foot a:focus {
	text-decoration: underline;
}

#footer-legal {

	margin: 3rem 0 1rem 1em;
	text-align: right;
}

@media (max-width: 62.5em) {
	#nav-foot {
		text-align: left;
	}
	#nav-foot>ul>li:first-child {
		margin-left: 0;
	}
}

@media (max-width: 50em) {
	#nav-foot {
		margin: 0 0 2rem;
	}
	#nav-foot>ul>li {
		display: block;
		margin: 1rem 0;
	}
}

@media (max-width: 45em) {
	#footer-extras,
	#footer-legal {
		float: none;
		width: 100%;
		margin: 1rem 0;
		text-align: left;
	}

}
/* ============== */
/* Template Blocks */

.full-column {
	box-sizing: border-box;
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1;
	align-items: center;
	justify-content: center;
}

.full-column.image {
	min-height: 20vw;
}

.full-column .bg {
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.full-column .bg img {
	position: absolute;
	top: -99em;
	left: -99em;
	right: -99em;
	bottom: -99em;
	margin: auto;
	max-width: none;
	min-width: 100%;
	display: block;
}

@supports(object-fit: cover) {
	.full-column .bg img {
		position: static;
		object-fit: cover;
		height: 100%;
		max-width: 100%;
	}
}

.full-column .content {
	max-width: 60em;
	width: 100%;
	padding: 2em 1em;
	margin: 0 auto;
	box-sizing: border-box;
}

.full-column.image .content {
	position: relative;
	z-index: 2;
	max-width: 68em;
	padding: 0 3%;
}

.gallery li {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.gallery .content {
	min-height: 30vw;
	height: 30vw;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 1em;
}

.gallery .content>* {
	max-width: 50rem;
	width: 100%;
	padding: 0;
	margin: 0 auto;
}

.gallery .bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
}

.gallery .bg img {
	position: absolute;
	top: -99em;
	left: -99em;
	right: -99em;
	bottom: -99em;
	margin: auto;
	max-width: none;
	min-width: 100%;
	display: block;
}

@supports(object-fit: cover) {
	.gallery .bg img {
		position: static;
		object-fit: cover;
		height: 100%;
		max-width: 100%;
	}
}

.regular-2-column {
	max-width: 60em;
	padding: 2em 3%;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.regular-2-column .col {
	width: 48.5%;
}

.regular-2-column .col>*:first-child {
	margin-top: 0;
}

.regular-2-column .col>*:last-child {
	margin-bottom: 0;
}

.full-bleed-2-column {
	display: flex;
	flex-direction: row;
	align-items: stretch;
}

.full-bleed-2-column .col {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 21vw;
}

.full-bleed-2-column .col.image {
	flex-direction: row;
	align-items: stretch;
}

@media (max-width: 42em) {
	.regular-2-column {
		display: block;
		overflow: hidden;
	}

	.regular-2-column .col {
		width: 100%;
		margin: 1em 0;
	}
}

.regular-3-column {
	max-width: 60em;
	padding: 0 3%;
	margin: 2em auto;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.regular-3-column .col {
	width: 31%;
	margin: 0 auto;
}

@media (max-width: 42em) {
	.regular-3-column {
		display: block;
		overflow: hidden;
	}

	.regular-3-column .col {
		width: 100%;
		margin: 1em 0;
	}

	.home .regular-3-column h2 {
		margin: 0.25em 0 0;
	}
	.home .regular-3-column h2+p {
		margin-top: 0.25em;
	}
	.home .regular-3-column .col+.col {
		margin-top: 4em;
	}
}

.col.text {
	padding: 2em;
}

.col.text>* {
	width: 100%;
	max-width: 30rem;
	margin: 0 auto;
	box-sizing: border-box;
}

@media (max-width: 42em) {
	.col.text {
		padding: 2em 1em;
	}
}

.col.image {
	overflow: hidden;
	position: relative;
}

.col.image img {
	position: absolute;
	top: -99em;
	left: -99em;
	right: -99em;
	bottom: -99em;
	 margin: auto;
	max-width: none;
	min-width: 100%;
	display: block;
}

@supports(object-fit: cover) {
	.col.image img {
		position: static;
		object-fit: cover;
		/* height: 100%; */
		max-width: 100%;
		margin: 0;
	}
}

@media(max-width: 42em) {
	.full-bleed-2-column {
		display: block;
	}
	.full-bleed-2-column .col {
		width: 100%;
		display: block;
	}
}


/* ============== */
/* Print Styles */

@media print {
	* {
		background: transparent !important;
		color: #000 !important; /* Black prints faster: h5bp.com/s */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}

	pre, blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group; /* h5bp.com/t */
	}

	tr, img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 0.5cm;
	}

	p, h2, h3 {
		orphans: 3;
		widows: 3;
	}

	h2, h3 {
		page-break-after: avoid;
	}

	#wpadminbar {
		display: none;
	}
}

/* Non-templated */

html, body {
	overflow-x: hidden;
}

body {
	color: #000;
	font-family: "pragmatica-extended",sans-serif;
	font-weight: 300;
	letter-spacing: 0.04em;
	font-size: 0.9em;
	line-height: 1.8;
}

@media (max-width: 42em) {
	body {
		line-height: 1.4;
	}
}

b, strong {
	font-weight: 500;
	color: #003A70;
}

h1,
h2,
h3,
h4 {
	font-family: "bookmania", serif;
	font-weight: 600;
}

h2 {
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #003A70;
	font-weight: 600;
	font-size: 1.625em;
}

article ul {
	list-style: none;
	padding: 0;
}
article li {
	/*
	padding-left: 1em;
	text-indent: -1.5em;
	*/
	text-indent: 2em;
}
article li:before {
	content: "—";
	margin-right: 0.5em;
}

label {
	font-weight: 500;
	color: #003A70;
}

label * {
	color: #000;
	font-family: "pragmatica-extended",sans-serif;
	font-weight: 300;
}

.gallery,
.gallery h2 {
	color: #fff;
}

.gallery li {
	text-indent: 0;
}

.gallery li:before {
	content: none;
}

.gallery .button {
	background: #fff;
	color: #003A70;
}

a {
	color: #003A70;
}

.extravagantly-large-type {
	font-size: 3em;
	font-weight: bold;
	line-height: 1.2;
	font-family: "bookmania", serif;
	font-weight: 600;
}

@media(max-width: 50em) {
	.extravagantly-large-type {
		font-size: 2em;
	}
}

.extravagantly-large-type+p {
	margin-top: 0;
}

input[type="submit"],
.button {
	background: #003A70;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
	font-size: 0.75em;
}

#logo {
	width: 18em;
	padding: 1em;
}

#header-extras {
	margin: 1em 0 1.5em;
}

#header-extras a {
	font-weight: 600;
	text-decoration: none;
}

#header-extras a:hover,
#header-extras a:focus {
	text-decoration: underline;
}

.article-header {
	background: #003A70;
	overflow: hidden;
}

.article-header-content .entry-title {
	color: #fff;
}

.post-thumb+.article-header-content .entry-title {
	text-shadow: 0.15em 0.15em 0.18em rgba(0, 0, 0, 0.5);
}

#nav-main {
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

#nav-main a {
	font-size: 0.75em;
}

@media (max-width: 60em){
	.js-on #nav-main {
		background: #003A70;
		color: #fff;
		position: relative;
	}

	.js-on #nav-main:before {
		background: #003A70;
		position: absolute;
		top: 0;
		left: -99em;
		right: -99em;
		bottom: 0;
		content: ' ';
		z-index: -1
	}

	.js-on #nav-main>ul {
		background: #003A70;
	}

	.js-on #nav-main a {
		color: #fff;
	}
}

footer {
	color: #fff;
	padding-top: 2rem;
}

footer:before {
	background: #003A70;
	border-top: solid 1rem #AC162C;
	top: 0;
}

footer b,
footer strong {
	color: #fff;
}

footer a {
	color: #fff;
}

#nav-foot>ul>li {
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.8rem;
	font-weight: 600;
}

.full-column.color .content {
	margin: 3em auto;
}

.full-column.color b,
.full-column.color strong {
	color: #fff;
}

.full-column.color.primary {
	background: #003A70;
	color: #fff;
}

.full-column.color.primary a {
	color: #fff;
}

.full-column.color.primary .button {
	background: #fff;
	color: #003A70;
}

.full-column.color.alternate {
	background: #DADADA;
}

.regular-2-column.secondary {
	background: #DADADA;
	position: relative;
}

.regular-2-column.secondary:before {
	background: #DADADA;
	position: absolute;
	top: 0;
	left: -99em;
	right: -99em;
	bottom: 0;
	content: ' ';
	display: block;
	z-index: -1;
}

@media (max-width: 42em) {
	.mobile-reverse {
		display: flex;
		flex-direction: column-reverse;
	}
}

.col.color {
	background: #003A70;
	color: #fff;
}

.col.text {
	background: #DADADA;
	color: #003A70;
}

.home h2 {
	font-family: "bookmania", serif;
	font-weight: 400;
	font-size: 3em;
	font-variant: small-caps;
	text-transform: none;
	letter-spacing: 0.03em;
	margin: 0.5em 0;
}

@media (max-width:42em) {
	.home .gallery h2 {
		font-size: 2em;
	}
}

.home #block-0 {
	min-height: 34vw;
	align-items: flex-end;
	color: #003A70;
}

.home #block-0 .content {
	background: rgba(255, 255, 255, 0.8);
	padding: 1em 3em;
	margin: 1em 0;
	font-size: 1.6em;
	font-family: "bookmania", serif;
	width: 20em;
	text-align: center;
}

@media (max-width: 53em) {
	.home #block-0 {
		flex-direction: column-reverse;
		background: #003A70;
		color: #fff;
	}
	.home #block-0 .bg {
		position: static;
		width: 100%;
	}
	.home #block-0 .bg img {
		max-width: 100%;
		width: 100%;
		position: static;
		box-sizing: border-box;
	}
	.home #block-0 .content {
		padding: 0.5em;
		background: transparent;
		width: 100%;
		box-sizing: border-box;
	}
}

.home .gallery .content {
	min-height: 38vw;
	height: 38vw;
}

@supports (display: flex) {
	.home .gallery .content {
		height: auto;
	}
}

.home .gallery h2 {
	text-shadow: 0.1em 0.1em 0.15em rgba(0, 0, 0, 0.7);
	font-variant: normal;
	margin: 0 auto;
}

.header-deemphasis {
	font-size: 0.6667em;
}

.home .gallery p {
	text-shadow: 0.15em 0.15em 0.18em rgba(0, 0, 0, 0.5);
}

.home .gallery .button {
	text-shadow: none;
}

.top-bar {
	background: #003A70;
	color: #fff;
	text-align: center;
	padding: 0.5em 1em;
}

.top-bar a {
	color: #fff;
}

/* ****************** */
/* External Notify */

#external-notify {
	background: white;
	padding: 1em 2em;
	text-align: left;
	max-width: 27em;
	margin: 2em auto;
	position: relative;
}

#external-notify button.ext-action {
	background: #003A70 none repeat scroll 0 0;
	border: medium none;
	box-shadow: 0 0.5em 0.25em -0.25em rgba(0, 0, 0, 0.15) inset;
	color: #fff;
	font-weight: bold;
	margin: 0 0.25em 0.25em 0;
	padding: 0.5em;
	text-transform: uppercase;
}
