/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 2.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */
.featured_case_studies{
	font-size: 0;
}
	.featured_case_studies .fl-post-grid
	{
		margin: 0!important;
	}
	.fl-post-content .featured_case_studies .fl-post-grid-post
	{
		border: 0!important;
	}
	.fl-post-content .featured_case_studies .fl-post-column
	{
		float: none;
		display: inline-block;
		vertical-align: bottom;
		width: calc(100% / 3);
		padding: 0 10px 10px 10px!important;
	}
@media screen and (max-width: 640px){
	.fl-post-content .featured_case_studies .fl-post-column
	{
		width: calc(100% - 20px)!important;
	}
}


.wcgvideo
{
	
}
.wcgvideo .fl-module-content
{
	margin: 0!important;
	margin-bottom: 60px!important;
}
.wcgvideo .fl-html
{
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
}
.wcgvideo iframe 
{
	position: absolute;
	top: 1.6875rem; /* 3.375rem divided by 2, to displace equally */
	left: -6rem;
	right: 0;
	bottom: 0;
	width: calc(100% + 6rem); /* offset video width a bit to the left, out of sheet, to call attention to it and add asymmetry */
	height: calc(100% + 3.375rem); /* target offset of width (6rem above), divided by 16, multiplied by 9, to retain 16:9 ratio */
	max-width: none!important;
}
@media screen and (max-width: 983px){
	/* reset offset for mobile/tablet */
	.wcgvideo iframe 
	{
		position: absolute;
		top: 0; 
		left: 0;
		width: 100%; 
		height: 100%;
	}
}


.wcgvideoplain
{
	
}
	.wcgvideoplain .fl-html
	{
		position: relative;
		width: 100%;
		padding-bottom: 56.25%;
	}
	.wcgvideoplain .fl-html iframe
	{
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
		max-width: none!important;
	}
.fancy-text
{
	font-family: 'Playfair Display';
	font-style: italic;
	font-weight: 600;
}
.pull-quote.shortcode_ver
{
	position: relative;
}
.pull-quote.shortcode_ver .quote-alt::before,
.pull-quote.shortcode_ver .quote-alt::after
{
	line-height: 1;
}
.pull-quote.shortcode_ver .quote-alt::before
{
	width: 7rem;
	text-align: right;
	top: 0;
	left: -7rem;
}
.pull-quote.shortcode_ver .quote-alt::after
{
	right: -7rem;
	bottom: -3.5rem;
	width: 7rem;
	text-align: left;
}
.rounded-item
{
	background-color: #fff;
    border-radius: 90px;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 20px;
    padding-bottom: 10px;
	max-width: 1100px;
	margin: 0 auto 30px auto;
}
.rounded-item.alt 
{
	background-color: #D6E3F0;
}

@media screen and (min-width: 984px){
	.top-layer-image
	{
		position: absolute;
		z-index: 999;
	}
	.sub-layer,
	.has-overflow
	{
		position:relative;
		z-index: 998;
	}
}