.gallery-carousel__wrapper{
	position: relative;
}

.swiper.gallery {
	padding: 20px 0px 3px;
	display: flex;
	flex-direction: column;
	max-width: 735px;
  z-index:99;
}
.gallery__card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	overflow: hidden;
}
.gallery__image {
	width: 100%;
	height: 100%;
	background: #FFF;
	line-height: 0;
}
.swiper:not(.swiper--thumbnail) .gallery__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: 0.3s ease-out;
	cursor: pointer;
}
.swiper:not(.swiper--thumbnail) .gallery__image:hover img {gb5 
	transform: scale(1.1);
}

.swiper-wrapper.gallery__wrapper {
	margin-bottom: 0px;
}
.swiper-slide.gallery__card {
	height: auto;
}

.gallery__arrows {
	height: 60px;
	margin: 0 auto;
	position: absolute;
	width: 100%;
  top: 50%;
  transform: translateY(-50%);
  z-index:9;
}

.swiper-button-prev{
	transform: rotate(-180deg);
}

.gallery__arrows .swiper-button-next,
.gallery__arrows .swiper-button-prev {
	width: 45px;
	height: 60px;
}
.gallery__arrows .swiper-button-next::after,
.gallery__arrows .swiper-button-prev::after {
	font-size: 0px;
	color: var(--body);
	width: 70px;
	height: 56px;
	background-image: url('https://22020214.fs1.hubspotusercontent-na1.net/hubfs/22020214/arrow.svg');
	background-size: contain;
	background-repeat: no-repeat;
}

.swiper-wrapper.gallery__wrapper.gallery__wrapper--arrows-top {
	margin: 36px 0 0;
	order: 1;
}


.swiper--thumbnail .gallery__image {
	line-height: initial;
}
.swiper--thumbnail .gallery__image img {
	margin: 0 0 40px;
	width: 100%;
	max-height: 600px;
	height: 100%;
	display: block;
	object-fit: contain;
}
.swiper--thumbnail .gallery__image p {
	text-align: center;
}
.swiper--thumbnail + .gallery .gallery__card.swiper-slide-active {
	opacity: 1;
	transition: 0.3 ease-out;
}

.swiper--thumbnail + .gallery .gallery__card.swiper-slide-active img{
	border: 1px solid #ED3726;
}

.swiper--thumbnail + .gallery .gallery__card {
	opacity: 1;
}
@media (max-width: 992px) {
	.swiper--thumbnail .gallery__image img {
		max-height: 424px;
	}
}


.gallery__popup-image {
	padding: 50px 8px;
	position: fixed;
	z-index: 4;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(11, 11, 11, 0.8);
	opacity: 0;
	overflow-y: scroll;
	visibility: hidden;
	transition: 0.5s ease-in-out;
	-ms-overflow-style: none; /* for Internet Explorer, Edge */
	scrollbar-width: none; 
	pointer-events: none;
}
.gallery__popup-image::-webkit-scrollbar {
	display: none; /* for Chrome, Safari, and Opera */
}
.gallery__popup-image--open {
	opacity: 1;
	visibility: visible;
	pointer-events: initial;
}
.gallery__popup-image-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	max-width: 1060px;
	width: 100%;
	width: 100%;
	height: 100%;
	line-height: 0;
	position: relative;
	transform: translateY(100px);
	-webkit-transform: translateY(100px);
	transition: all 0.5s ease-in-out;
}
.gallery__popup-image--open .gallery__popup-image-wrapper {
	transform: translateY(0);
	-webkit-transform: translateY(0);
}
.gallery__popup-image-content {
	display: block;
	margin: 0 auto;
	padding: 33px 0;
	max-height: 95vh;
	height: auto;
}
.gallery__popup-close {
	position: absolute;
	top: -27px;
	right: 0;
	cursor: pointer;
}

.tab-content{
	position: relative;
}

.gallery__arrows .swiper-button-next.swiper-button-disabled, .gallery__arrows .swiper-button-prev.swiper-button-disabled{
	filter: grayscale(1);
}

@media (max-width:767px){
.gallery__arrows .swiper-button-next, .gallery__arrows .swiper-button-prev {
    height: 47px;
    width: 29px;
}
  .gallery__arrows {
    z-index: 999;
}
  .gallery__image {
    position: relative;
    z-index: 9999999999;
}
}
