/*
 Theme Name:     Divi Prichard
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Prichard Theme
 Author:         OCLC - Matthew Carlson
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */
/* =Shareable images
----------------------------------------------- */
.type-quote .imagecard img {
	display: block;
}
.type-quote .entry-content .caption p:first-child {
	margin-top: 1em;
}
#quotecards {
	margin-left: -2%;
}
#quotecards:after {
	clear: both;
	content: "";
	display: block;
}
#quotecards article {
	background: #f8f8f8;
	border: 1px solid #ddd;
}
#quotecards article.type-quote {
/*	background: #fff;*/
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	box-sizing: border-box;
	float: left;
	margin: 0 0 2% 2%;
	padding: 10px;
	width: 23%;
	width: 31.333%;
}
.imagecard {
/*	background: #fff;*/
	box-sizing: border-box;
	padding-top: 100%;
	position: relative;
}
.imagecard-s {
/*	background: #fff;*/
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
.imagecard-c {
	display: table;
	height: 100%;
}
.imagecard-c a {
	display: table-cell;
	vertical-align: middle;
}

/*
.page-template-page-shareable .page-header {
	margin-bottom: 1.5em;
}
.page-template-page-shareable #content .page-title {
	margin-bottom: 0.25em;
}
.page-template-page-shareable p {
	color: #fff;
	font-family: 'Helvetica Neue', Helvetica, helv, sans-serif;
}
*/
.page-template-page-shareable #content .type-quote-text {
	padding: 20px;
	position: relative;
}
.quotecard {
	height: 0;
	overflow: hidden;
	padding-top: 100%;
	position: relative;
}
.quotecard_quote {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}
#content .quotecard h1 {
	margin: 0;
}
.quotecard_quote cite {
	display: block;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.2em;
	margin-top: 0.5em;
	text-align: right;
}
.type-quote-text .fbx-social {
	bottom: 0;
	text-align: center;
}
.type-quote-text:hover .fbx-social {
	display: block;
}

/*.full-width #content {
	margin: 0;
	width: 100%;
}*/

@media( max-width: 900px ) {
	#content .quotecard h1 {
		font-size: 1.3em;
	}
	#content .quotecard cite {
		font-size: 1.0em;
	}
}
@media( max-width: 720px ) {
	#content .quotecard h1 {
		font-size: 1.1em;
	}
	#content .quotecard cite {
		font-size: 0.8em;
	}
}
@media( max-width: 640px ) {
	#content .quotecard h1 {
		font-size: 1.0em;
	}
	#content .quotecard cite {
		font-size: 0.8em;
	}
}

.photo-content {
	position: relative;
}
.photo-content .fbx-social {
	display: block;
	text-align: center;
	top: 10px;
	opacity: 1;
	visibility: visible;
}
.quote-post.has-post-thumbnail .sharing-header {
	display: none;
}


.videowrap {
	height: 0;
	margin: 0 0 1.5em;
	overflow: hidden;
	position: relative;
	padding-top: 56.25%;
}
.videowrap .fluid-width-video-wrapper {
	padding-top: 0 !important;
	position: static !important;
}
.videowrap .video {
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	margin: 0 !important;
	height: 100%;
	width: 100%;
}