:root {
  --gallery-gap: 20px;
}
.main-gallery .maxwidth-theme {
  padding-top: 0 !important;
}
.main-gallery-cols {
  display: flex;
  column-gap: var(--gallery-gap);
}
.main-gallery-cols > div {
  flex: 1;
}
.gallery-carousel .slides > li {
  padding-top: 40px;
}
.gallery-carousel-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: var(--gallery-gap);
}
.gallery-carousel-cols.gallery-carousel-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.gallery-carousel-cols.gallery-carousel-cols-1 > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: var(--gallery-gap);
}
.gallery-carousel-cols .image {
  display: block;
  position: relative;
  padding-bottom: 77.7%;
  border-radius: 20px;
  overflow: hidden;
}
.gallery-carousel-cols .image:not(:last-child) {
  margin-bottom: var(--gallery-gap);
}
.gallery-carousel-cols > div:nth-child(odd) {
  margin-top: -40px
}
.gallery-carousel-cols > div:nth-child(even) .image:nth-child(odd),
.gallery-carousel-cols > div:nth-child(odd) .image:nth-child(even) {
  padding-bottom: 108.6%;
}
.gallery-carousel-cols .image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-carousel .flexslider .flex-control-nav {
  display: flex;
  justify-content: center;
  column-gap: 8px;
  top: 20px;
}
.gallery-carousel .flexslider .flex-control-nav li {
  padding: 0;
  display: block;
  width: 10px;
  height: 10px;
}
.gallery-carousel .flexslider .flex-control-nav li a {
  border: 2px solid #000000;
  display: block;
  border-radius: 50%;
  background: transparent;
}
.gallery-carousel .flexslider .flex-control-nav li a.flex-active {
  background: #000000;
}
.items-block {
  margin-top: 40px;
}
.items-block .date {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  color: #000000;
  font-weight: bold;
}
.items-block .date > span:first-child {
  color: #1ECF15;
}
.items-list {
  border: 1px solid rgba(0,0,0,.2);
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  margin-top: 20px;
  max-height: 380px;
  overflow-y: scroll;
}
.items-list > a {
  display: block;
  padding: 20px;
  border-bottom: 1px solid rgba(0,0,0,.2);
  font-weight: bold;
}
.items-list > a:last-child {
  border-bottom: none;
}
.items-list::-webkit-scrollbar {
  width: 2px;
}
.items-list::-webkit-scrollbar-track {
  background: #FFFFFF;
}
.items-list::-webkit-scrollbar-thumb {
  background: #D9D9D9;
}
.items-list::-webkit-scrollbar-thumb:hover {
  background: #000000;
}

@media (max-width: 1200px) {
	.gallery-carousel .flexslider .flex-control-nav {
		top: 0;
	}
	.items-block {
	  margin-top: 0;
	}
}
@media (max-width: 991px) {
	.main-gallery-cols {
		display: block;
		padding-top: 30px;
	}
	.items-block {
		margin-bottom: 20px;
	}
	.items-block .date {
		font-size: 15px;
	}
}
@media (max-width: 576px) {
	.items-list {
		max-height: 320px;
	}
	.items-list > a {
		padding: 10px 20px;
		font-size: 14px;
	}
}

