header{
	display: none;
}
main{
	background-color: #fff;
}
.rmg-filtered-gallery {
	padding: 24px 0 56px;
}

.gallery-landing--inner {
	width: min(1800px, calc(100% - 32px));
	margin: 0 auto;
}

.gallery-landing--inner > h1 {
	margin: 0 0 28px;
	color: #242424;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(42px, 5vw, 72px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
}

.gallery-filter--layout {
	display: grid;
	grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
	gap: 34px;
	align-items: start;
}

[data-rmg-active-filters] {
	grid-column: 1 / -1;
}

.gallery-filter--sidebar,
.rmg-filtered-gallery__filters {
	display: grid;
	gap: 20px;
	align-content: start;
}

.gallery-filter--top {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 22px;
	align-items: center;
	margin: 0 0 6px;
	color: #242424;
	font-size: 14px;
}
@media (min-width: 1024px) {
	.gallery-filter--top .filterbuttondiv{
		flex: 0 0 280px;
	}

}

.gallery-filter--active {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-left: 30px;

}

.gallery-filter--reset,
.gallery-filter--active-item {
	border: 0;
	background: #eee5dc;
	color: #242424;
	padding: 8px 12px;
	font: inherit;
	text-decoration: none;
	cursor: pointer;
}

.gallery-filter--reset:hover,
.gallery-filter--active-item:hover {
	background: #5f544f;
	color: #ddc6ad;
}

.mobile_triggers {
	display: none;
	gap: 10px;
	margin: 0 0 18px;
}

.mobilefilter_trigger {
	border: 0;
	background: #eee5dc;
	color: #242424;
	padding: 9px 16px;
	font-size: 14px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 1ch;
}

.rmg-filtered-gallery__group {
	background: #eee5dc;
	padding: 28px 24px;
}

.rmg-filtered-gallery__group h2,
.gallery-filter--group-title {
	margin: 0 0 16px;
	color: #242424;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(30px, 3vw, 40px);
	line-height: .95;
	font-weight: 400;
	letter-spacing: 0;
}

.rmg-filtered-gallery__group ul,
.gallery-filter--options {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rmg-filtered-gallery__group li,
.gallery-filter--option {
	margin: 0;
	padding: 0;
}

.rmg-filtered-gallery__group label,
.gallery-filter--option label {
	display: grid;
	grid-template-columns: 14px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	color: #242424;
	font-size: 14px;
	line-height: 1.25;
	cursor: pointer;
}

.rmg-filtered-gallery__group input,
.gallery-filter--option input {
	width: 13px;
	height: 13px;
	margin: 1px 0 0;
	accent-color: #242424;
}

.rmg-filtered-gallery__results {
	min-width: 0;
}

.gallery-category--items {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rmg-filtered-gallery__status {
	padding: 0 0;
	color: #242424;
	font-size: 16px;
	position: absolute;
	background-color: #fff;
	width: 100%;
}

.rmg-filtered-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 32px;
	row-gap: 84px;
}

.rmg-filtered-gallery__case,
.gallery-category--item {
	display: grid;
	justify-items: center;
	gap: 18px;
	min-width: 0;
}

.rmg-filtered-gallery__images,
.gallery-category--item-imgs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
	text-decoration: none;
}

.gallery-category--item-modal-trigger {
	width: 100%;
	text-decoration: none;
}

.rmg-filtered-gallery__images img,
.gallery-category--item-imgs img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: #f3f3f3;
}

.gallery-category--item-imgs-before,
.gallery-category--item-imgs-after {
	min-width: 0;
}

.gallery-category--item-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.rmg-filtered-gallery__label,
.gallery-category--item-category {
	background: #eee5dc;
	color: #242424;
	padding: 7px 12px;
	font-size: 14px;
	line-height: 1;
}

.gallery-category--item-category:hover {
	background: #5f544f;
	color: #ddc6ad;
}

.rmg-filtered-gallery__button,
.gallery-category--item-view-more,
.rmg-filtered-gallery__actions button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	min-height: 36px;
	border: 0;
	background: #4f4038;
	color: #fff;
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.rmg-filtered-gallery__button:hover,
.gallery-category--item-view-more:hover,
.rmg-filtered-gallery__actions button:hover {
	background: #eee5dc;
	color: #4f4038;
}

.mobile-apply-reset {
	display: none;
}

.rmg-filtered-gallery__actions {
	display: flex;
	justify-content: center;
	padding: 48px 0 0;
}

.rmg-filtered-gallery__actions button:disabled {
	opacity: .6;
	cursor: wait;
}

@media (max-width: 1280px) and (min-width: 981px) {
	.rmg-filtered-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.gallery-filter--layout {
		grid-template-columns: 1fr;
	}

	.gallery-filter--sidebar,
	.rmg-filtered-gallery__filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.gallery-landing--inner {
		width: min(100% - 24px, 560px);
	}

	.mobile_triggers {
		display: flex;
	}

	.gallery-filter--sidebar,
	.rmg-filtered-gallery__filters,
	.rmg-filtered-gallery__grid {
		grid-template-columns: 1fr;
	}

	.gallery-filter--sidebar {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 9999;
		display: block;
		width: 90vw;
		height: 100vh;
		margin: 0;
		padding: 22px;
		overflow: auto;
		background: #fff;
		transform: translateX(-100vw);
		transition: transform .3s ease-in-out;
	}

	.gallery-filter--sidebar.is-active {
		transform: translateX(0);
	}

	.gallery-filter--group {
		margin-block: 0 1rem;
	}

	.gallery-filter--group-title {
		margin: 0;
		position: relative;
		padding-right: 28px;
		cursor: pointer;
	}

	.gallery-filter--group-title:after {
		content: "+";
		position: absolute;
		top: 50%;
		right: 0;
		font-family: inherit;
		font-size: 22px;
		line-height: 1;
		transform: translateY(-50%);
	}

	.gallery-filter--options {
		display: none;
		margin-top: 20px;
	}
	@media (max-width: 767px) {
	  .gallery-filter--option{
	  	display: none;
	  }
	}

	@media (max-width: 767px) {
	  .gallery-filter--group.rmg-filtered-gallery__group.is-open{
	  	.gallery-filter--option{
	  		display: grid;
	  	}
	  }
	}

	.gallery-filter--group.is-open .gallery-filter--options {
		display: grid;
	}

	.gallery-filter--group.is-open .gallery-filter--group-title {
		margin-bottom: 20px;
	}

	.gallery-filter--group.is-open .gallery-filter--group-title:after {
		content: "-";
	}

	.mobile-apply-reset {
		display: flex;
		justify-content: center;
		margin-inline: auto;
	}

	.close-filters {
		width: 100%;
		border: 0;
		background: #242424;
		color: #fff;
		padding: 12px 16px;
		font-size: 14px;
		cursor: pointer;
	}

	.rmg-filtered-gallery__grid {
		row-gap: 48px;
	}
}

.gallery-filter button:hover,
.gallery-filter .button:hover{
	border: none;
}

.gallery-category--item-modal-trigger:hover{
	background-color: unset;
}
.gallery-category--item-modal-trigger:hover{
	background-color: #f0e6db;
	outline: 1px solid #4f4038;
}

.gallery-category--item-category:hover {
  background:  #f0e6db;
  color: #242424;
}

 .fancybox-inner{
 	 max-height: 94vh;
 	overflow: auto;

 	.gallery-case{
 		background: #FFFFFF;
 		color: #393531;
 		max-height: 94vh;
 	}

 	.gallery-case--inner{
 		padding-inline: 22px;
 		padding-block: 45px 22px;
 		@media (max-width: 767px) {
 		  padding-block: 52px 22px;
 		}
 	}

 	.gallery-case--images-group{
 		min-width: 0;
 	}

 	.gallery-case--images{
 		gap: 16px;
 		margin-bottom: 16px;

 		&:last-child{
 			margin-bottom: 0;
 		}
 	}

 	.gallery-case--image{
 		margin-bottom: 0;

 		&:not(:first-of-type){
 			margin-left: 0;
 		}

 		img{
 			display: block;
 			max-height: 42vh;
 			object-fit: contain;
 			width: 100%;
 		}
 	}

 	.gallery-case--contents-title{
 		color: #393531;
 	}

 	@media screen and (min-width: 768px) {
 		.gallery-case--inner{
 			align-items: start;
 			max-height: 94vh;
 			overflow: visible;
 		}
 	}
 }

.singularcase{
	padding: 40px;
	img{
		display: block;
		width: 100%;
		height: auto;

	}
	.bnapart{
		display: flex;
		gap: 30px;
		.images{
			width: 60%;
		}
		.cnt{
			width: 40%;
		}
	}
	.set{
		display: flex;
		gap: 1rem;
		margin-block: 0 1rem;

	}
}

@media (max-width: 767px) {
	.singularcase{
		padding: 20px;
		.bnapart{
			flex-direction: column;
			.images{
				width: 100%;
			}
			.cnt{
				width: 100%;
			}
		}
	}

}

.fancybox-skin{
	background: #fff;
}

 .fancybox-close{
 	background: transparent !important;
 	height: 52px;
 	right: 1rem;
 	top: 0;
 	width: 52px;

 	&:before,
 	&:after{
 		background: #707070;
 		content: "";
 		display: block;
 		height: 3px;
 		left: 10px;
 		position: absolute;
 		top: 24px;
 		width: 32px;
 	}

 	&:before{
 		transform: rotate(45deg);
 	}

 	&:after{
 		transform: rotate(-45deg);
 	}
 }

 @media (max-width: 767px) {
   .fancybox-close{
   	right: 0;
   	top: -3rem;
   	&:before,
   	&:after{
   		background: #FFF;
   		content: "";
   		display: block;
   		height: 3px;
   		left: 10px;
   		position: absolute;
   		top: 24px;
   		width: 32px;
   	}
   }
 }