/*==================================================
  gallery
==================================================*/

[id^=sb-wall].sb-wall .sbsw-item-media {
    height: 300px;
    overflow: hidden;
}
[id^=sb-wall].sb-wall .sbsw-item-media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
[id^=sb-wall].sb-wall .sb-wall-load-btn {
    display: table;
    width: initial;
    margin: 0 auto;
    padding: 10px 20px;
    background: #400099;
    color: #fff;
}

#gallery-section-1 {
	background: #f5f4f6;
	overflow: hidden;
}
#gallery-section-1 .container {
	position: relative;
	/*min-height: 1240px;*/
	min-height: 950px;
}
#gallery-section-1 .container > div.active{
	width: 936px;
	padding-left: 15px;
}
#gallery-section-1 .container > div.active .image-description {
	height: 420px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}
#gallery-section-1 .container > div.active h2 {
	font-family: 'AvenirNextLTPro-Bold';
	font-size: 45px;
	color: #400099;
	text-transform: uppercase;
	max-width: 60%;
	margin-bottom: 30px;
}
#gallery-section-1 .container > div.active p {
	max-width: 42%;
}
#gallery-section-1 .container >  div.active.image-descriptionnn{
	padding-left:0px;
}
#gallery-section-1 .arrows .block-left img {
	display: inline-block;
}
#gallery-section-1 .gallery-slider {
	/*display: none;*/
	transition: .3s all linear;
	position: absolute;
	width: 100%;
	max-width: 600px;
	/*bottom:50px;*/
	opacity: 0;
	left: calc(50% - 300px);
	zoom: 1;
	bottom: 315px;
}
#gallery-section-1 .gallery-slider img {
	width: 100%;
	/*min-height:530px;*/
	min-height: 300px;
	max-height: 300px;
	object-fit: cover;
	transition: 0.3s all linear;
}
#gallery-section-1 .gallery-slider .image-description {
	color: rgba(0, 0, 0, 0);
	transition: .3s all linear;
}
#gallery-section-1 .gallery-slider.active .image-description {
	color: rgba(0, 0, 0, 1);
}
#gallery-section-1 .gallery-slider.active {
	display: block;
	margin: auto;
	left: 0;
	z-index: 999;
	opacity: 1;
	zoom: 1;
	max-width: 936px;
	bottom: /*50*/ 250px;
}
#gallery-section-1 .gallery-slider.after,
#gallery-section-1 .gallery-slider.before {
	display: block;
	position: absolute;
	bottom: /*115*/ 315px;
	/*height:270px;*/
	width: 600px;
	opacity: 1;
	zoom: 1;
	z-index: 99;
}
#gallery-section-1 .gallery-slider.active img {
	min-height: 618px;
	max-height: 618px;
}
#gallery-section-1 .gallery-slider.after img,
#gallery-section-1 .gallery-slider.before img {
	min-height: 464px;
	max-height: 464px;
	width: 700px;
}
#gallery-section-1 .gallery-slider.before {
	left: calc(100% - 315px);
}
#gallery-section-1 .gallery-slider.after {
	left: calc(-50% + 250px);
	opacity: 0;
}
#gallery-section-1 .arrows {
	position: absolute;
	bottom: 180px;
	left: 30px;
	width: calc(100% - 30px);
	max-width: 920px;
}
#gallery-section-1 .arrows .block-left {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
#gallery-section-1 .arrows .block-left .arrow-left {
	margin-right: 30px;
}
#gallery-section-1 .arrows .block-left img.disabled {
	cursor: initial;
	opacity: 0.3;
}
#gallery-section-1 .arrows .block-left img:not(.disabled) {
	opacity: 0.5;
}
#gallery-section-1 .arrows img:not(.disabled):hover {
	cursor: pointer;
	opacity: 1;
}
#gallery-section-1 .arrows .block-right {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}
#gallery-section-1 .arrows .block-right .short-desc {
	font-family: 'AvenirNextLTPro-Bold';
	font-size: 22px;
	line-height: 38px;
	margin-left: 20px;
}
#gallery-section-1-mobile{
	display:none;
}
#gallery-section-2 {
	padding-top: 150px;
	padding-bottom: 140px;
	background: #400099;
	color: white;
}
#gallery-section-2 h2 {
	line-height: 60px;
	margin-bottom: 10px;
}
#gallery-section-2 p {
	max-width: 40%;
	margin: 0 auto 60px;
}
#gallery-section-2 .btn {
	background-color: #400099;
	border-color: white;
	color: white;
	margin: auto;
	height: auto;
    line-height: 1;
    padding: 20px 0;
}
#gallery-section-2 .btn:hover {
	background-color: white;
	color: black;
	opacity: 1;
}
#gallery-section-3 .container {
	padding-top: 125px;
	padding-bottom: 60px;
	align-items: center;
}
#gallery-section-3 .container h2 {
	line-height: 60px;
	color: #400099;
}
#gallery-section-3 .container .social-icons {
	justify-content: flex-end;
	align-items: center;
}
#gallery-section-3 .container .social-icons a:not(:last-child) {
	margin-right: 20px;
}
#gallery-section-3 .container .social-icons a img {}
#gallery-section-3 .cff-wrapper {
	/*display: none;*/
}
/*====================//====================*/
@media all and (max-width: 991px) {
	#gallery-section-1 .container {
		/*min-height: 850px;*/
		min-height: 740px;
		zoom: 0.9;
	}
	#gallery-section-1 .container > div.active {
		bottom: 80px;
		max-width: calc(100% - 30px);
		width: calc(100% - 30px);
		padding-left: 15px;
	}
	#gallery-section-1 .gallery-slider.before {
		opacity: 0;
	}
	#gallery-section-1 .container > div.active .image-description {
		height: 200px;
		background: #f5f4f6;
	}
	#gallery-section-1 .container > div.active p {
		max-width: 90%;
		line-height: initial;
	}
	#gallery-section-1 .arrows {
		grid-template-columns: 1fr 1fr;
		bottom: 20px;
		max-width: calc(100% - 60px);
	}
	#gallery-section-2 {
		padding-top: 30px;
		padding-bottom: 30px;
	}
	#gallery-section-2 p {
		max-width: 100%;
		margin: 0 auto 30px;
	}
	#gallery-section-3 .container {
		grid-template-columns: 1fr 1fr;
		padding-top: 30px;
		padding-bottom: 30px;
	}
}
/*====================//====================*/
@media all and (max-width: 767px) {
	#gallery-section-1 .container {
		zoom: 0.75;
	}
	#gallery-section-1{
	display:none;
}
	
	#gallery-section-1-mobile{
		display:block;
	    padding: 15px 0px;
		background: #f5f4f6;
}

}
/*====================//====================*/
@media all and (max-width: 640px) {
	#gallery-section-1 .container {
		zoom: 0.6;
	}
}
/*====================//====================*/
@media all and (max-width: 575px) {
	#gallery-section-1 .container {
		zoom: 0.5;
	}
	#gallery-section-1 .container > div.active p {
		max-width: 80%;
	}
	#gallery-section-3 .container {
		grid-template-columns: 1fr;
		justify-items: center;
	}
	#gallery-section-3 .container h2 {
		margin-bottom: 10px;
	}
}
/*====================//====================*/
@media all and (max-width: 420px) {
	#gallery-section-1 .container {
		zoom: 0.38;
	}
	#gallery-section-1 .container > div.active h2 {
		line-height: 45px;
	}
}
