/****************************************************************************************************************************************
 /$$$$$$ /$$      /$$  /$$$$$$   /$$$$$$  /$$$$$$$$        /$$$$$$   /$$$$$$  /$$$$$$$   /$$$$$$  /$$       /$$       /$$$$$$$$ /$$$$$$$
|_  $$_/| $$$    /$$$ /$$__  $$ /$$__  $$| $$_____/       /$$__  $$ /$$__  $$| $$__  $$ /$$__  $$| $$      | $$      | $$_____/| $$__  $$
  | $$  | $$$$  /$$$$| $$  \ $$| $$  \__/| $$            | $$  \__/| $$  \__/| $$  \ $$| $$  \ $$| $$      | $$      | $$      | $$  \ $$
  | $$  | $$ $$/$$ $$| $$$$$$$$| $$ /$$$$| $$$$$         |  $$$$$$ | $$      | $$$$$$$/| $$  | $$| $$      | $$      | $$$$$   | $$$$$$$/
  | $$  | $$  $$$| $$| $$__  $$| $$|_  $$| $$__/          \____  $$| $$      | $$__  $$| $$  | $$| $$      | $$      | $$__/   | $$__  $$
  | $$  | $$\  $ | $$| $$  | $$| $$  \ $$| $$             /$$  \ $$| $$    $$| $$  \ $$| $$  | $$| $$      | $$      | $$      | $$  \ $$
 /$$$$$$| $$ \/  | $$| $$  | $$|  $$$$$$/| $$$$$$$$      |  $$$$$$/|  $$$$$$/| $$  | $$|  $$$$$$/| $$$$$$$$| $$$$$$$$| $$$$$$$$| $$  | $$
|______/|__/     |__/|__/  |__/ \______/ |________/       \______/  \______/ |__/  |__/ \______/ |________/|________/|________/|__/  |__/
****************************************************************************************************************************************/
.project-scroller-wrapper
{	
	position: relative;
	max-width: 2000px;	
	width: 100%;
	margin: 0 auto;	
	overflow: hidden;
	margin-top: 60px;
	margin-bottom: 120px;
}

@media screen and (max-width: 991px)
{
	.project-scroller-wrapper
	{
		margin-top: 30px;
		margin-bottom: 60px;
	}
}

.projects-scroller-container
{
	position: relative;
	width: 100%;	
	max-width: calc(100% - 260px);		
	margin: 0 auto;
}

@media screen and (max-width: 991px)
{
	.projects-scroller-container
	{
		max-width: calc(100% - 10px);		

	}
}
.projects-scroller-container a,
.projects-scroller-container > div > div > div
{
	position: relative;
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;	
	align-items: center;
	cursor: default;
	height: 100%;
	text-decoration: none;
	transition: all 200ms;
	padding: 30px;
	background-color: #ffffff;
}

@media screen and (max-width: 991px)
{
	.projects-scroller-container a,
	.projects-scroller-container > div > div > div
	{
		flex-flow: column;
		padding: 30px 20px;
	}	
}

.projects-scroller-container > div > div > div:hover::before
{
	opacity: 1;
}

.projects-scroller-container a.has-link
{
	cursor: pointer;
}

.projects-scroller-container .slide-link img
{
	padding-right: 30px;
	max-width: 243px;
}

@media screen and (max-width: 991px)
{
	.projects-scroller-container .slide-link img
	{
		padding-right: 0;
		width: 100%;
	}
}

.projects-scroller-container .swiper 
{
	width: 100%;
	height: 100%;
	margin-left: auto;
	margin-right: auto;	
}

.projects-scroller-container .swiper-slide 
{		
	height: calc((100% - 30px) / 3) !important;	
	padding-top: 10px;
	padding-bottom: 60px;
	transform: scale(.84);
	transition: all .3s ease-in-out;	

	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.swiper-backface-hidden .swiper-slide 
{
	transform: scale(.84) translateZ(0);
}

.projects-scroller-container .swiper-slide.swiper-slide-active 
{  
	transform: scale(1) !important;
	opacity: 1 !important;
}

.swiper-backface-hidden .swiper-slide.swiper-slide-active 
{
	transform: scale(1) translateZ(0) !important;
}
  
@media screen and (max-width: 1200px)
{
	.projects-scroller-container .swiper-slide 
	{	
		height: calc((100% - 30px) / 2) !important;
	}
}

@media screen and (max-width: 991px)
{
	.projects-scroller-container .swiper-slide 
	{
		display: block;
	}
}

/* Prevous and Next Buttons */
.swiper-pagination
{
	position: absolute;
	z-index: 100;
	bottom: 10px;
	left: 0;
	right: 0;	
	margin-left: auto;
	margin-right: auto;
	display: flex;
	justify-content: center;
}

.swiper-pagination .swiper-pagination-bullet
{
	width: 12px;
	height: 12px;
	background: #ffffff;	
	border: 2px solid #7e7e7e;
	opacity: 0.8;
	margin-right: 18px;
	transition: all 200ms;
}

.swiper-pagination .swiper-pagination-bullet:hover
{
	opacity: 1;
}

.swiper-pagination .swiper-pagination-bullet:last-of-type
{
	margin-right: 0;
}

.swiper-pagination .swiper-pagination-bullet-active
{
	background: var(--secondary-color);
	border: 2px solid var(--secondary-color);
	opacity: 1;
}

.swiper-pagination .swiper-pagination-bullet-active:hover
{
	background: var(--secondary-color);
	border: 2px solid var(--secondary-color);
	opacity: 1;
}

.project-scroller-wrapper .image-scroller-controls.image-scroller-button
{
	position: absolute;
	z-index: 10;
	top: 50%;	
	bottom: 0;	
	display: block;
	width: 60px;
	height: 60px;
	transform: translateY(-50%);
	transition: all 200ms;
}

.project-scroller-wrapper:hover .image-scroller-controls.image-scroller-button
{
	opacity: 1;
}

.project-scroller-wrapper .image-scroller-controls.image-scroller-button.previous
{
	left: -30px;
}

.project-scroller-wrapper .image-scroller-controls.image-scroller-button.next
{
	right: -30px;
}

.project-scroller-wrapper .image-scroller-controls.image-scroller-button::before
{
	position: relative;
	padding: 20px;
}

.project-scroller-wrapper .image-scroller-controls.image-scroller-button.previous::before
{
    content: '\f104';
    padding-left: 5px;
    font-family: 'font_awesome';
	font-size: 40px;
	color: #2D2D2D;
}

.project-scroller-wrapper .image-scroller-controls.image-scroller-button.next::before
{
    content: '\f105';
    padding-left: 5px;
    font-family: 'font_awesome';
	font-size: 40px;
	color: #2D2D2D;
}


.project-scroller-wrapper .image-scroller-controls.swiper-button-disabled
{
	display: none;
}

.project-scroller-wrapper:hover .image-scroller-controls.image-scroller-button::before
{
	opacity: 1;
}

.project-scroller-wrapper .image-scroller-controls.image-scroller-button:hover::before
{
	right: -5px
}

.project-scroller-wrapper .image-scroller-controls.image-scroller-button:active::before
{
	opacity: 1;
}

.slide-link
{
	position: relative;
	-webkit-box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.2); 
	box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.2);
}

.project-caption
{
	font-family: var(--callout-font-family);
	font-size: var(--alternative-text-font-size);
	padding-bottom: 20px;
	position: relative;	
	display: block;
	color: var(--headings-font-primary-color) !important;	
	margin-bottom: 40px;
	border-bottom: var(--horizontal-line-secondary);
}

.project-caption strong
{
	color: var(--headings-font-secondary-color);
}

@media screen and (max-width: 991px)
{
	.project-caption
	{
		font-size: 15pt;
		margin-bottom: 30px;
		margin-top: 30px;
	}
}

.projects-description
{
	font-family: var(--body-font-family);
	font-size: var(--body-font-size);
	color: var(--testimonial-description-font-color);
}

@media screen and (max-width: 991px)
{
	.projects-description
	{
		font-size: 16px;
	}	
}

.projects-description p
{
	position: relative;
}

.projects-link
{	
	display: inline-flex;
	flex-flow: row wrap;
	justify-content: flex-end;
	align-items: center;
	font-family: "Jost Medium", sans-serif;
	font-size: 14pt;
	font-weight: normal;
	font-style: normal !important;
	color: #4F8636 !important;
	text-decoration: none !important;	
	padding: 8px 15px;
	border: none;
	cursor: pointer;
	text-align: center;
	transition: all 0.2s;
	-webkit-tap-highlight-color: transparent;

	opacity: 0;
}

.projects-link::after
{
	content: '\f054';
	position: relative;
	display: block;
	font-family: font_awesome;
	font-size: 14pt;
	color: #4F8636;
	margin-left: 10px;

}

.slide-link:hover .projects-link
{
	opacity: 1;
}


@media screen and (max-width:991px)
{
	.projects-scroller-container .banner-media-container .banner-image > div:first-of-type
	{
		background-size: cover !important;
	}

	.projects-scroller-container .image-scroller-controls.image-scroller-button.previous
	{
		left: 0;
	}

	.projects-scroller-container .image-scroller-controls.image-scroller-button.next
	{
		right: 0;
	}

	.projects-scroller-container .image-scroller-controls.image-scroller-button.previous:hover
	{
		background: linear-gradient(to right, rgba(0,0,0,0.3), transparent);
	}

	.projects-scroller-container .image-scroller-controls.image-scroller-button.next:hover
	{
		background: linear-gradient(to left, rgba(0,0,0,0.3), transparent);
	}

	.projects-scroller-container .image-scroller-controls.image-scroller-button
	{
		width: 80px;
		height: 100%;
		outline: none;
	}

	.projects-scroller-container .image-scroller-controls.image-scroller-button::before
	{
		position: relative;
		width: 80px;
		height: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 40px;
		background-color: transparent;
		color: #ffffff;
		border: none;
		border-radius: 0;
		filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
	}
}

.custom-order
{
	display: flex;
	flex-direction: column;
}

@media screen and (max-width:991px)
{
	.custom-order .wrapper-project {
        order: 2; /* Change the order on mobile */
    }

    .custom-order .featured-image-scroller-wrapper {
        order: 1; /* Change the order on mobile */
    }
}