.drag-block.COLLECTIONS .collection.item-views.bg_img {
  padding-bottom: 28px;
}

.wrapper1:not(.with_left_block)
  .wrapper_inner.front
  .drag-block.container
  .collection.item-views.bg_img {
  padding-bottom: 38px;
}

.wrapper1:not(.with_left_block)
  .grey_block.COLLECTIONS
  .item-views.collection
  .item:not(.bg-fill-grey)
  .image.pattern:after {
  background: #f9f9fa;
  background: var(--darkerblack_bg_black);
}

.item-views.collection .item-wrapper {
  margin-bottom: 20px;
}

.item-views.collection .item {
  padding: 39px 22px 31px;
  margin-bottom: 0px;
}

.item-views.collection .image.pattern {
  position: relative;
}

.item-views.collection:not(.normal) .image.pattern:after {
  content: "";
  position: absolute;
  background: #fff;
  background: var(--black_bg_black);
  width: 40px;
  height: 20px;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  left: 50%;
  margin-left: -20px;
  top: -10px;
  z-index: 11;
  transition: background ease 0.2s;
}

.item-views.collection .bg-fill-grey .image.pattern:after {
  background: #f5f5f5;
  background: var(--line_bg_black);
}

.item-views.collection .bg-fill-grey:hover .image.pattern:after {
  background: #fff;
  background: var(--card_bg_hover_black);
}

.item-views.collection.grey_pict .image.pattern > .wrap {
  max-width: 150px;
}

.item-views.collection:not(.normal) .image.pattern > .wrap {
  height: 150px;
  margin: 0px auto 27px;
  position: relative;
}

.item-views.collection:not(.normal) .image.pattern > .wrap:before,
.item-views.collection .image.pattern > .wrap:after {
  content: "";
  position: absolute;
  background: #ccc;
  height: 5px;
  border-radius: 0px 0px 3px 3px;
}

.item-views.collection:not(.normal) .image.pattern > .wrap:before {
  left: 8px;
  right: 8px;
  bottom: -5px;
}

.item-views.collection:not(.normal) .image.pattern > .wrap:after {
  opacity: 0.5;
  left: 16px;
  right: 16px;
  bottom: -10px;
}

.item-views.collection:not(.normal) .image.pattern > .wrap > span {
  width: 150px;
  height: 150px;
}

.item-views.collection.bg_img .item-wrapper {
  margin-bottom: 42px;
}

.item-views.collection.bg_img .item {
  padding: 83% 0px 42px 0px;
}

.item-views.collection.bg_img .item .image.pattern {
  position: absolute;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
}

.item-views.collection.bg_img .item .image.pattern > .wrap {
  width: 100%;
  height: 100%;
}

.item-views.collection.bg_img .item-wrapper > .item > a {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 13;
}

.item-views.collection.bg_img .item-wrapper > .item .top-info .wrap,
.item-views.collection.bg_img .item-wrapper > .item .title * {
  color: #fff;
}

.item-views.collection.bg_img .item-wrapper > .item .top-info {
  position: absolute;
  z-index: 11;
  bottom: 23px;
  left: 30px;
  right: 30px;
}

.item-views.collection.bg_img .item-wrapper > .item .title {
  margin-bottom: 0px;
  transition: all ease 0.2s;
  max-height: 72px;
  overflow: hidden;
}

.item-views.collection.bg_img .item-wrapper > .item .top-info.animated .title {
  transform: translateY(5px);
}

.item-views.collection.bg_img .item-wrapper > .item .top-info .wrap {
  opacity: 0.7;
  visibility: hidden;
  height: 0;
  max-height: 80px;
  overflow: hidden;
  transform: translateY(10px);
  transition: all ease 0.2s;
}

.item-views.collection.bg_img .item-wrapper > .item:hover .top-info .wrap {
  visibility: visible;
  height: auto;
  transform: translateY(0px);
}

.item-views.collection.bg_img
  .item-wrapper
  > .item:hover
  .top-info.animated
  .title {
  transform: translateY(-3px);
}

.item-views.collection.bg_img .item-wrapper > .item:hover .top-info.animated {
  bottom: 16px;
}

.with-text-block-wrapper .item-views.collection.bg_img {
  padding-top: 7px;
}

.with-text-block-wrapper .item-views.collection.bg_img .item {
  padding-top: 78%;
}

.drag-block.COLLECTIONS .item-views.collection.normal {
  padding-bottom: 28px;
}

.wrapper1:not(.with_left_block)
  .wrapper_inner.front
  .drag-block.container
  .item-views.collection.normal {
  padding-bottom: 38px;
}

.item-views.collection.normal .item-wrapper {
  margin-bottom: 32px;
}

.item-views.collection.normal .item {
  padding: 0px 0px 14px;
  background: none;
}

.item-views.collection.normal .image span {
  width: 100%;
  /*height:160px;*/
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  display: block;
}

.item-views.collection.normal .image span {
  height: 209px;
}

.item-views.collection.normal .s_5 .image span {
  height: 160px;
}

.item-views.collection.normal .top-info {
  padding: 18px 0px 0px;
}

.item-views.collection.normal .top-info .wrap {
  padding: 0px 13px;
}

.item-views.bg_img .bottom_nav.animate-load-state.has-nav .ajax_load_btn,
.item-views.normal .bottom_nav.animate-load-state.has-nav .ajax_load_btn {
  margin-bottom: 22px;
}

.item-views.grey_pict .bottom_nav.animate-load-state.has-nav .ajax_load_btn {
  margin: 22px 0px 10px;
}

.item-views.collection.normal .item-wrapper .item.box-shadow .image {
  margin: -1px -1px 0;
}

.item-views.collection.wd_pict .image.pattern > .wrap {
  height: 205px;
  width: auto;
  margin-bottom: 23px;
}

.item-views.collection.wd_pict .item {
  padding: 0px 0px 10px;
  /*padding-right: 0;*/
}

.item-views.collection.wd_pict .item .top-info {
  padding-left: 30px;
  padding-right: 30px;
}

.item-views.collection.normal .top-info .wrap,
.item-views.collection.normal .top-info .title {
  padding: 0px 30px;
}

.item-views.collection.grey_pict .item-wrapper .item:hover {
  z-index: 12;
}

.item-views.collection.grey_pict .item {
  padding: 40px 30px 29px;
}

/* CUSTOM */
.select-collection .container {
  overflow: visible;
}

.select-collection {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-bottom: 40px;
}

.select-collection * {
  margin: 0;
  padding: 0;
}

.select-collection__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1420px;
  width: 100%;
  padding-inline: 30px;
  gap: 20px;
}

.select-collection__container h2 {
  position: relative;
  color: #152b3a;
  font-size: 40px;
  font-weight: 700;
  line-height: 110%;
}

.select-collection__container p {
  color: #152b3a;
  font-size: 16px;
  font-weight: 500;
  line-height: 130%;
}

.select-collection__container > .description {
  max-width: 690px;
}

.select-collection__container > .description > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#col-md-9 {
  margin-bottom: 0;
  padding-bottom: 0 !important;
}

.wrapper1:not(.with_left_block)
  .wrapper_inner.front
  .drag-block.container
  .with-text-block-wrapper
  > .row
  > div:first-of-type {
  width: 100%;
  margin-bottom: 100px;
}

.collection__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.collection__wrapper * {
  margin: 0;
  padding: 0;
}

.collection__cards .card {
  position: relative;
  overflow: hidden;
  position: relative;
  transition: 300ms ease-in;
}

.collection__cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  overflow: visible;
}

.collection__cards .card:nth-child(5n + 1),
.collection__cards .card:nth-child(5n + 2),
.collection__cards .card:nth-child(5n + 3) {
  width: 100%;
  grid-column: span 2;
  aspect-ratio: 1 / 1;
}

.collection__cards .card:nth-child(5n + 4),
.collection__cards .card:nth-child(5n + 5) {
  grid-column: span 3;
  aspect-ratio: 4 / 3;
}

.collection__cards .card .card__text-container {
  z-index: 3;
  position: absolute;
  /* margin: 36px; */
  /* padding: 36px; */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
}

.blur-effect {
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(21, 43, 58, 0.1) 0%,
    rgba(21, 43, 58, 0) 100%
  );
  backdrop-filter: blur(7px);
  --fade-start: 90%;
  --fade-end: 100%;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) var(--fade-start),
    rgba(0, 0, 0, 0) var(--fade-end)
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) var(--fade-start),
    rgba(0, 0, 0, 0) var(--fade-end)
  );
  pointer-events: none;
  display: flex;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) var(--fade-top),
    rgba(0, 0, 0, 1) calc(100% - var(--fade-bottom)),
    rgba(0, 0, 0, 0) 100%
  );
  --fade-top: 0%;
  --fade-bottom: 12%;
}

.zatemnenie {
  width: 100%;
  height: 100%;
  position: absolute;
  background: #000;
  top: 0;
  opacity: 0.2;
  mix-blend-mode: multiply;
}

.collection__cards .card:hover {
  transform: translateY(-5px);
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

.card__detail-page-link {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 5;
}

.collection__cards .card .card__text > * {
  color: white;
}

.collection__cards .card .card__text {
  padding-left: 24px;
  border-left: 2px solid white;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 36px;
}

.collection__cards .card .card__text h3 {
  font-size: clamp(24px, 4vw, 44px);
  /* font-size: 44px; */
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  text-transform: uppercase;
  margin: 0;
}

.collection__cards .card .card__text p {
  font-size: clamp(12px, 2vw, 16px);
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0;
}

.collection__cards .card .card__img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.collection__cards .card .card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* TEXT POSITION */
.horizontal__left {
  justify-content: flex-start !important;
}

.horizontal__right {
  justify-content: flex-end !important;
}

.horizontal__center {
  justify-content: center !important;
}

.vertical__top {
  align-items: flex-start !important;
}

.vertical__bottom {
  align-items: flex-end !important;
}

.vertical__center {
  align-items: center !important;
}

.vertical__bottom .blur-effect,
.vertical__center .blur-effect {
  --fade-top: 8%;
}

/* /TEXT POSITION*/

.collection__cards .card {
  transition: all 0.3s ease;
}

.collection__buttons {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 20px;
}

.collection__show-less-btn {
  width: 184px;
}

.collection__show-less-btn {
  border: 2px solid #152b3a !important;
  color: #152b3a !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  background: white;
}

#feedback-form-mainpage .title {
  font-size: var(--theme-font-title-family), Arial, sans-serif;
  font-weight: var(--theme-font-title-weight);
}

@media (max-width: 991px) {
  .collection__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .collection__cards .card {
    grid-column: span 1 !important;
    aspect-ratio: 1 / 1 !important;
  }

  .select-collection__container {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .collection__cards {
    grid-template-columns: repeat(1, 1fr);
  }

  #collection__wrapper {
    width: 100%;
  }

  .collection__cards .card {
    grid-column: span 1 !important;
    aspect-ratio: 4 / 3 !important;
  }
}

/* /CUSTOM */

@media (min-width: 1200px) {
  .item-views .col-lg-2.s_5 {
    width: 20%;
  }

  .with-text-block-wrapper .item-views .col-lg-2.s_5 {
    width: 25%;
  }

  .with_left_block .item-views.collection.normal .item-wrapper.s_4 .image span {
    height: 162px;
  }
}

@media (min-width: 992px) {
  .with_left_block
    .item-views.collection.wd_pict
    .item-wrapper.s_4
    .image.pattern
    > .wrap {
    height: 162px;
  }
}

@media (max-width: 991px) {
  .item-views.collection.normal .image span {
    height: 190px;
  }
}

@media (min-width: 768px) {
}

@media (max-width: 767px) {
  .collection__buttons .btn {
    width: 100%;
  }
  .collection__buttons {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  body
    .wrapper1:not(.with_left_block)
    .wrapper_inner.front
    .drag-block.container
    .collection.item-views:not(.bg_img) {
    padding-bottom: 20px;
  }
}
