/* Post Slider */

/* Structural tweaks */
.cs-carousel-row .fl-row-content-wrap {
  padding: 0;
}

.cs-carousel-row .fl-module-content {
  margin: 0;
}


/* Wrappers */
body.rtl .fl-module-post-carousel .bx-viewport {
	direction: ltr;
}
body.rtl .fl-post-carousel-post {
	direction: rtl;
}


.fl-post-carousel-wrapper {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
}

.fl-module-post-carousel .bx-wrapper {
	max-width: 100% !important;
	margin: 0 auto 40px;
}

.fl-module-post-carousel .bx-controls {
	width: 100%;
	position: absolute;
	bottom: 0;
	margin-top: 20px;
}

.fl-post-carousel-navigation {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	z-index: 2;
	margin-top: -16px;
}

.fl-post-carousel-navigation a {
	position: absolute;
	display: inline-block;
	opacity: .7;
}

.fl-post-carousel-navigation a:hover{ opacity: 1; }

.fl-post-carousel .fl-post-carousel-navigation a,
.fl-post-carousel .fl-post-carousel-navigation a:hover {
  color: #fff;
}

.fl-post-carousel-navigation .carousel-prev{ left: 0; }
.fl-post-carousel-navigation .carousel-next{ right: 0; }

.fl-post-carousel-navigation .fl-post-carousel-svg-container{
	position: relative;
	width: 32px;
	height: 32px;
}
.fl-post-carousel-navigation svg{
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}
.fl-post-carousel-navigation path{ fill: #fff; }

.fl-post-carousel-navigation a.disabled,
.bx-controls a.disabled {
	pointer-events: none;
}

/*Module styles =======================================*/

/* Post Carousel */
.fl-post-carousel {
	margin: 0 auto;
	position: relative;
}

.fl-post-carousel-wrapper:before,
.fl-post-carousel-wrapper:after {
	content: '';
	display: table;
}

.fl-post-carousel-wrapper:after {
	clear: both;
}

.fl-post-carousel-post {
	position: absolute;
	top: 0;
	float: none;
	visibility: hidden;
	background: #fff;
}

.fl-post-carousel-loaded .fl-post-carousel-post {
	position: relative;
  display: flex;
  height: 100%;
	visibility: visible;
	margin: 0;
	-webkit-backface-visibility: hidden; /* Safari */
	backface-visibility: hidden;
}

.fl-post-carousel-image img {
	height: auto !important;
	width: 100% !important;
}
.fl-post-carousel-image .fl-photo-content {
	display: block;
}

/* Layout - post grid */
.fl-post-carousel-post {
	border-width: 0;
}

.fl-post-carousel-text {
  padding: 40px 40px 60px;
  height: 100%;
}

.fl-post-type {
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
}

.fl-post-carousel-title {
	padding-bottom: 7px;

}

.fl-post-carousel-content {
	font-size: 14px;
	line-height: 22px;
}

.fl-post-carousel-content p:last-of-type {
	margin-bottom: 0;
	padding-bottom: 0;
}

.fl-post-carousel-title,
.fl-post-carousel-title a {
  margin: 0 0 10px;
	padding: 0;
  color: #fff;
	font-size: 22px;
	line-height: 1.2;
}

.fl-post-carousel .fl-post-carousel-title a:hover {
  color: #fff;
  text-decoration: underline;
}


.fl-carousel-post-client {
  color: #fff;
  font-size: 12px;
}

.fl-post-carousel-meta {
	font-size: 14px;
	margin: 0 0 10px;
	padding: 0;
}

/* Layout - post gallery */

.fl-post-carousel-gallery .fl-post-carousel-content-wrap {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 288px;
  height: 100%;
  text-decoration: none;
  background-size: cover;
  background-position: 50% 50%;
}

.fl-post-carousel-gallery .fl-post-carousel-img {
	position: relative;
	z-index: 1;
}

.fl-post-carousel-gallery .fl-post-carousel-text-wrap { /* This is the colored BG */
  width: 100%;
  height: 100%;
  /* padding: 60px 0 0 0; */
}

/* Nth child -text-wrap targeting */
.fl-builder-content .fl-post-carousel-post:nth-child( odd ) .fl-post-carousel-text-wrap {
  background-color: rgba( 57, 51, 146, 0.9 ); /* #393392 */
}

.fl-builder-content .fl-post-carousel-post:nth-child( even ) .fl-post-carousel-text-wrap {
  background-color: rgba( 76, 71, 196, 0.9 ); /* #4c47c4 */
}

.fl-builder-content .fl-post-carousel-post:nth-child( 3n ) .fl-post-carousel-text-wrap {
  background-color: rgba( 112, 124, 241, 0.9 ); /* #707cf1 */
}

.fl-post-carousel-gallery .fl-post-carousel-text {

}

.fl-post-carousel-gallery .fl-post-carousel-text h2.fl-post-carousel-title {

}


/* slide ratio - for slides with no thumb */
.fl-post-carousel-gallery .fl-post-carousel-ratio {
	display: block;
	position: relative;
	width: 100%;
	height: auto;
}

.fl-post-carousel-gallery .fl-post-carousel-ratio { padding-bottom: 70%; }

.fl-post-carousel-gallery .fl-carousel-icon{
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.fl-post-carousel-gallery .fl-carousel-icon i,
.fl-post-carousel-gallery .fl-carousel-icon i:before{
	width: 24px;
	height: 24px;
	font-size: 24px;
}

/* Gallery Transitions */
.fl-post-carousel-gallery .fl-post-carousel-text,
.fl-post-carousel-gallery .fl-post-carousel-link:hover .fl-post-carousel-text,
.fl-post-carousel-gallery .fl-post-carousel-post.fl-post-no-thumb .fl-post-carousel-text{

}

/* Common Styles */
body .fl-post-carousel-text a {
	text-decoration: none;
}


/* Press Carousel styles
----------------------------- */

.press-carousel .fl-post-carousel-post {
  background: transparent;
}

.fl-press-carousel-content-wrap {
  padding: 32px 16px;
  background: transparent;
  border: 1px solid #f56e7b;
  border-width: 1px 0;
}

.fl-press-carousel-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.fl-press-carousel-text {

}

.fl-press-carousel-meta {
  margin-bottom: 16px;
  color: #FFFFFF;
  font-size: 14px;
  text-transform: uppercase;
}

.press-carousel p.fl-post-grid-type {
  color: #FFFFFF !important;
}

.fl-press-carousel-title,
.fl-press-carousel-title a,
.fl-press-carousel-title a:hover {
  color: #FFFFFF !important;
  font-size: 24px;
}

.fl-press-carousel-more,
.fl-press-carousel-more:hover {
  color: #f56e7b !important;;
  display: flex;
  align-items: center;
}

.fl-press-carousel-external:after {
  content: '';
  display: block;
  margin-left: 8px;
  width: 14px;
  height: 14px;
  background: url( '/wp-content/themes/bb-theme-child/assets/images/icon-external.svg' ) no-repeat center;
}

.fl-press-carousel-source {
  color: #FFFFFF;
  font-size: 12px;
}
