/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.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... */ 


.fl-builder-content[data-overlay="1"]:not(.fl-theme-builder-header-sticky):not(.fl-builder-content-editing) {position: static !important;}

.ms-thumb-frame {
	position: relative;
}

.slider-pro:before,
.slider-pro:after {
	content: '';
	position: absolute;
	top: -1px;
	left: 0;
	width: calc(100% - 250px);
	height: 1px;
	background-color: #AFAFAF;
}

.slider-pro:before {
	top: -5px;
}

.sp-slide {
	padding-right: 200px;
}

.sp-thumbnail-container:after {
	content: '';
	position: absolute;
	inset: 0;
	background-color: #55798B;
	opacity: 0.3;
	transition: opacity 300ms;
}

.sp-selected-thumbnail:after {
	opacity: 0.1 !important;
}

.sp-thumbnail-container img {
	height: 100% !important;
	width: 100%;
	object-fit: contain;
}

.sp-caption-container {
	font-size: 12px;
}

.sp-image-container {
	width: 100% !important;
	height: 100% !important;
	margin-top: 0 !important;
}

@media (max-width:  1440px) {
	.sp-caption-container {
		padding-right: 200px;
	}

	.gallery__title {
		max-width: 1040px;
		margin-inline:  auto;
	}
}

@media (max-width: 1024px) {
	.sp-caption-container {
		padding-right: 0px;
	}

	.slider-pro {
		display: flex;
		flex-direction: column;
	}

	.sp-thumbnails-container {
		order: 1;
		margin-top: 20px;
	}

	.sp-slide {
		padding-right: 0px;
	}

	img.sp-thumbnail {
		width: 100% !important;
		height: 100% !important;
		object-fit: contain;
	}

	.slider-pro:before,
	.slider-pro:after {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.slider-pro {
		padding-top: 40px;
	}
}