body{
	width:auto!important;
}
.modal-cont{
	display:none;
	justify-content:center;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(255, 255, 255, 1);
	animation: modal-appear .2s both;
}
.modal-cont.active, .modal-full-img.active{
	display:flex;
}
.modal-inner{
	overflow-y:auto;
	width:100%;
	height: calc(100%);
	padding:0 15%;
	background:#fff;
	display:flex;
	flex-direction:column;
	align-items:center;
	animation: modal-appear .5s .1s both;
}
.modal-inner h2{
	position:sticky;
	top:0;
	width: calc(100%);
	text-align: center;
	background: #fff;
	padding: 7.5rem 0 2rem 0;
}
.modal-inner {
	scrollbar-width: thin;
	scrollbar-color: lightblue transparent;
	}

	.modal-inner::-webkit-scrollbar {
	width: 1rem;
	}

	.modal-inner::-webkit-scrollbar-track {
	background: transparent;
	}

	.modal-inner::-webkit-scrollbar-thumb {
	background-color: lightblue;
	border-radius: 2rem;
	border: .3rem solid transparent;
}

@keyframes modal-appear {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
.single-filter-post img{
	width:100%;
	aspect-ratio:1;
	object-fit:cover;
	object-position: 100% 30%;
}
.modal-inner h2{
	margin-bottom:50px;
}
.modal-upper-cont{
	width:100%;
	display:flex;
	margin-bottom:75px;
	padding: 0 3em;
}
.splide{
	width:calc(100% - 6em);
}
.splide__arrow--prev {
  left: -3em!important;
}
.splide__arrow--next {
  right: -3em!important;
}
.splide__pagination{
	bottom:-3em!important;
}
.splide__pagination__page{
	background:lightblue!important;
}
.splide__pagination__page.is-active{
	background:gray!important;
}
.modal-full-img{
  display:none;
  justify-content: center;
  align-items: center;
  z-index: 1;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: white;
  animation: modal-appear .2s .1s both;
}
.modal-full-img img{
	max-width:80%;
	max-height:100%;
}
.modal-close-x {
	position: absolute;
	left: 5%;
	bottom: 4rem;
	cursor:pointer;
	height: 5rem;
	z-index: 300;
	background: #0F99FF;
	border-radius: 5rem;
	padding: 1rem;
}

.non-slide-cont{
	display:grid;
	width: 100%;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
	padding: 0 3em;
}
.modal-splide-cont{
	display: flex;
	justify-content: center;
	position: relative;
}
.modal-splide-art{
	position: absolute;
	top: -90px;
	right: 0;
	width: 100px;
	height: 100px;
}
.modal-splide-art2{
	position: absolute;
	bottom: -90px;
	right: 0;
	width: 100px;
	height: 100px;
}

.non-slide-cont img, .splide__slide img{
	cursor:zoom-in;
}
.non-slide-cont img{
	aspect-ratio: 1;
	width: 100%;
	object-fit: cover;
	border-radius:10px;
	object-position: 100% 30%;
}

.images-cont {
  display: grid;
  grid-template-columns: repeat(auto-fill, 19%);
  gap: 20px;
  width: 100%;
  margin-bottom: 50px;
}
.splide__slide{
	border-radius:10px;
	overflow: hidden;
}
.splide__slide img{
	width:100%;
	object-fit:cover;
	aspect-ratio: 1;
}
.splide__arrow{
	background: var(--bricks-color-upnzkk)!important;
	opacity: 1!important;
	width:4rem!important;
	height:4rem!important;
}
.splide__arrow svg path{
	fill:#fff!important;
}
@media only screen and (max-width: 1300px) {
	.modal-inner{
		padding: 0 10%;
	}
}
@media only screen and (max-width: 1124px) {
	.items-container {
  grid-template-columns: repeat(auto-fill, 33%);
}
}
@media only screen and (max-width: 800px) {
	.items-container {
  grid-template-columns: repeat(auto-fill, 49%);
}
  .modal-inner{
	padding-left:30px;
	padding-right:30px;
}
.splide__arrow--prev {
  left: -1em!important;
}
.splide__arrow--next {
  right: -1em!important;
}
}

@media only screen and (max-width: 640px) {
	.modal-inner h2{
	padding: 2rem;
}
  .non-slide-cont{
	grid-template-columns: 1fr 1fr;
}
	.modal-inner{
	padding-left:20px;
	padding-right:20px;
}
	.modal-upper-cont, .non-slide-cont{
		padding:0;
	}
	.splide{
	width:calc(100%);
}
	.modal-close-x{
	left: 5%;
	
	height: 5rem;
}
}
@media only screen and (max-width: 478px) {
  .non-slide-cont{
	grid-template-columns: 1fr 1fr;
	}
  .items-container {
  	grid-template-columns: repeat(auto-fill, 100%);
}