.designers-view {
  display: none;
}
.designer-list-view{
  order: 2000;
  display: grid;
  gap: calc(var(--font-h2-small-bold) - 5px) 10px;
}
.designer-tile {
  display: flex;
  flex-direction: column;
  margin-bottom: 5rem;
  align-items: flex-start;
  justify-content: flex-end;
}
.designer-image-wrapper:not(.modal-designer-image-wrapper) {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.designer-image-wrapper:not(.modal-designer-image-wrapper) > div:not(.designer-thumbnails) img {
  width: 100%;
  object-fit: cover;
  display: none;
  cursor: pointer;
  z-index: 2;
}
.designer-tile-large .designer-image-wrapper:not(.modal-designer-image-wrapper) > div:not(.designer-thumbnails) img,
.designer-tile-large .designer-image-wrapper:not(.modal-designer-image-wrapper) .image-placeholder {
  height: calc((100vw - 55px));
}
.designer-image-wrapper:not(.modal-designer-image-wrapper) > div:not(.designer-thumbnails) img,
.designer-image-wrapper:not(.modal-designer-image-wrapper) .image-placeholder {
  height: calc((50vw - 3px));
}
.designer-image-wrapper:not(.modal-designer-image-wrapper) > .designer-thumbnails {
  display: flex;
  height: calc(4 / 3 * calc((50vw - 3px) / 4));
}
.designer-tile-large .designer-image-wrapper:not(.modal-designer-image-wrapper) > .designer-thumbnails {
  height: calc(4 / 3 * calc((100vw - 55px) / 4));
}

.designer-tile-large {
  padding: 0 25px;
}

.designer-image-wrapper:not(.modal-designer-image-wrapper) > .designer-thumbnails > .image-preview-wrapper {
  width: 25%;
  height: 100%;
}
.designer-image-wrapper:not(.modal-designer-image-wrapper) > .designer-thumbnails img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.designer-tile span {
  padding: 0 1rem;
}

.designer-period-two-lines * {
  padding-left: 0 !important;
}
.designer-tile .designer-period.designer-period-two-lines:not(.designer-num-of-objects) {
  padding-bottom: 15px;
}

.designer-tile .designer-period,
.designer-tile .designer-period * {
  padding-left: 1.3rem;
}

.designer-tile .designer-name,
.designer-tile .designer-name *,
.designer-tile-large .designer-name,
.designer-tile-large .designer-name * {
  word-break: break-word;
  line-height: 0.9;
}
#designers-tile-view-container .ais-InfiniteHits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 2px 2px 0 2px;
}
#designers-tile-view-container .designer-list-view {
  grid-column: span 2;
}
.image-placeholder {
  display: flex;
  background-image: url(../images/loading_image_placeholder.png);
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
}
.gallery-image-wrapper .image-placeholder {
  height: 200px;
}
.designer-tile > button {
  margin: 1.5rem 1rem 4rem;
}
.partners-list-view {
  display: flex;
  flex-direction: column;
  margin-top: 80px;
  background-color: #fff;
  position: relative;
  z-index: 1;
}
.list-view-item {
  flex-direction: column;
}
.list-view-item p:nth-child(n + 22) {
  display: none;
}
.list-view-item.visible p:nth-child(n + 22) {
  display: block;
}
.names-filter li:nth-child(n + 21) {
  display: none;
}

.list-view-item p {
  padding-left: 62px;
}
.list-show-all {
  padding-top: 20px;
  padding-left: 60px;
  background-color: transparent;
  border: none;
  text-decoration: underline;
}
.list-view-item {
  padding: 45px 0 0 13px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.designer-list-view-letters {
  width: auto;
  overflow: auto;
}

.loader-margin {
  margin-left: calc(var(--filter-width) / 2);
}
.loader-visibility {
  z-index: 2 !important;
}
.first-letter-uppercase::first-letter {
  text-transform: uppercase;
}

.image-preview-wrapper {
  width: 25%;
}
#designers-tile-view-container .ais-InfiniteHits-item .designer-tile > button {
  z-index: 2;
}
#designers-tile-view-container .ais-InfiniteHits-item {
  order: 100;
}
.designer-image-wrapper:not(.modal-designer-image-wrapper) > .designer-thumbnails .wrapper-with-overlay {
  width: 25%;
}
.designer-num-of-objects b {
  padding-left: 0 !important;
}
.designer-tile .designer-period:not(.designer-num-of-objects) {
  padding-bottom: 5px;
}
.designer-tile .designer-num-of-objects {
  padding-left: 0;
}
@media screen and (min-width:786px) {
    .designer-list-view{

  grid-template-columns: 1fr 1fr;
}
}
@media screen and (min-width: 992px) {
  .designer-tile .designer-period.designer-period-two-lines:not(.designer-num-of-objects) {
    padding-bottom: 15px;
  }

  .names-filter {
    max-height: 300px;
    overflow: auto;
  }
  .custom-input {
    margin-bottom: 10px !important;
  }

  .designer-tile > button {
    margin: 1.5rem 0 4rem;
  }
  .designer-image-wrapper:not(.modal-designer-image-wrapper),
  .designer-tile .designer-num-of-objects {
    padding-left: 2rem !important;
  }
  .designer-tile {
    margin-bottom: 0 !important;
  }
  .designer-tile span {
    padding: 0;
  }
  .designer-image-wrapper:not(.modal-designer-image-wrapper) > .designer-thumbnails {
    height: 100px;
  }
  .designer-tile-large {
    padding: 0;
  }

  .designer-tile .designer-period,
  .designer-tile .designer-period * {
    padding-left: 3px;
  }

  .designer-image-wrapper:not(.modal-designer-image-wrapper) > div:not(.designer-thumbnails) img,
  .designer-image-wrapper:not(.modal-designer-image-wrapper) .image-placeholder {
    /* 170 = padding 2x + 3x gap between rows */
    height: calc(((100vw - 5px) - 170px) / 4 - 20px) !important;
  }
  .content.active .designer-image-wrapper:not(.modal-designer-image-wrapper) > div:not(.designer-thumbnails) img,
  .designer-image-wrapper:not(.modal-designer-image-wrapper) .image-placeholder {
    /* 90 = padding 2x + 1x gap between rows */
    height: calc(((100vw - 5px) - 90px - var(--filter-width)) / 2 - 20px) !important;
  }
  .designer-image-wrapper:not(.modal-designer-image-wrapper) > .designer-thumbnails,
  .designer-tile-large .designer-image-wrapper:not(.modal-designer-image-wrapper) > .designer-thumbnails {
    height: calc(4 / 3 * (calc(((100vw - 5px) - 170px) / 4 - 20px) / 4));
  }

  .content.active .designer-image-wrapper:not(.modal-designer-image-wrapper) > .designer-thumbnails,
  .content.active
    .designer-tile-large
    .designer-image-wrapper:not(.modal-designer-image-wrapper)
    > .designer-thumbnails {
    height: calc(4 / 3 * (calc(((100vw - 5px) - 90px - var(--filter-width)) / 2 - 20px) / 4));
  }
  #designers-tile-view-container .ais-InfiniteHits-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 25px 25px 0 25px;
  }
  #designers-tile-view-container .designer-list-view {
    grid-column: span 4;
  }
  .content.active #designers-tile-view-container .ais-InfiniteHits-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .content.active #designers-tile-view-container .designer-list-view {
    grid-column: span 2;
  }
  #designers-letters-mobile {
    display: none;
  }
  .list-view-item {
    padding: 0 0 95px 0;
  }

  #designers-letters-mobile {
    display: none;
  }
  .designers-display-list-view {
    min-height: 66vh;
    padding-left: 35px;
  }

  .list-view-item p {
    padding-left: 115px;
  }

  .list-show-all {
    padding-left: 115px;
    background-color: transparent;
    border: none;
    line-height: 20px;
    text-decoration: underline;
  }
}

@media screen and (min-width: 1200px) {
  #designers-tile-view-container .ais-InfiniteHits-list {
    grid-template-columns: repeat(4, 1fr);
  }
 #designers-tile-view-container .designer-list-view {
    grid-column: span 4;
  }
  .content.active #designers-tile-view-container .ais-InfiniteHits-list {
    grid-template-columns: repeat(3, 1fr);
  }
 .content.active #designers-tile-view-container .designer-list-view {
    grid-column: span 3;
  }
  .content.active .designer-image-wrapper:not(.modal-designer-image-wrapper) > div:not(.designer-thumbnails) img,
  .designer-image-wrapper:not(.modal-designer-image-wrapper) .image-placeholder {
    /* 130 = padding 2x + 2x gap between rows */
    height: calc(((100vw - 5px) - 130px - var(--filter-width)) / 3 - 20px) !important;
  }

  .content.active .designer-image-wrapper:not(.modal-designer-image-wrapper) > .designer-thumbnails,
  .content.active
    .designer-tile-large
    .designer-image-wrapper:not(.modal-designer-image-wrapper)
    > .designer-thumbnails {
    height: calc(4 / 3 * (calc(((100vw - 5px) - 130px - var(--filter-width)) / 3 - 20px) / 4));
  }
}
@media screen and (min-width: 1450px) {
  .partners-list-view {
    margin-top: 100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding-left: 25px;
  }
}

@media screen and (min-width: 1500px) {
  .designer-image-wrapper:not(.modal-designer-image-wrapper),
  .designer-tile .designer-num-of-objects {
    padding-left: 3rem !important;
  }
  .celebrated-designers .ais-InfiniteHits-list,
  #designers-tile-view-container .ais-InfiniteHits-list {
    column-gap: 8rem;
    row-gap: 6.8rem;
  }

  .designer-image-wrapper:not(.modal-designer-image-wrapper) > div:not(.designer-thumbnails) img,
  .designer-image-wrapper:not(.modal-designer-image-wrapper) .image-placeholder {
    /* 290 = padding 2x + 3x gap between rows */
    height: calc(((100vw - 5px) - 290px) / 4 - 30px) !important;
  }
  .content.active .designer-image-wrapper:not(.modal-designer-image-wrapper) > div:not(.designer-thumbnails) img,
  .designer-image-wrapper:not(.modal-designer-image-wrapper) .image-placeholder {
    /* 210 = padding 2x + 2x gap between rows */
    height: calc(((100vw - 5px) - 210px - var(--filter-width)) / 3 - 30px) !important;
  }
  .designer-image-wrapper:not(.modal-designer-image-wrapper) > .designer-thumbnails,
  .designer-tile-large .designer-image-wrapper:not(.modal-designer-image-wrapper) > .designer-thumbnails {
    height: calc(4 / 3 * (calc(((100vw - 5px) - 290px) / 4 - 30px) / 4));
  }

  .content.active .designer-image-wrapper:not(.modal-designer-image-wrapper) > .designer-thumbnails,
  .content.active
    .designer-tile-large
    .designer-image-wrapper:not(.modal-designer-image-wrapper)
    > .designer-thumbnails {
    height: calc(4 / 3 * (calc(((100vw - 5px) - 210px - var(--filter-width)) / 3 - 30px) / 4));
  }
}

@media screen and (min-width: 1920px) {
  #designers-tile-view-container .ais-InfiniteHits-list {
    grid-template-columns: repeat(5, 1fr);
  }
    #designers-tile-view-container .designer-list-view {
    grid-column: span 5;
  }
  .content.active #designers-tile-view-container .ais-InfiniteHits-list {
    grid-template-columns: repeat(4, 1fr);
  }
     .content.active #designers-tile-view-container .designer-list-view {
    grid-column: span 4;
  }
  .designer-image-wrapper:not(.modal-designer-image-wrapper) > div:not(.designer-thumbnails) img,
  .designer-image-wrapper:not(.modal-designer-image-wrapper) .image-placeholder {
    height: calc(((100vw - 5px) - 370px) / 5 - 30px) !important;
  }
  .content.active .designer-image-wrapper:not(.modal-designer-image-wrapper) > div:not(.designer-thumbnails) img,
  .designer-image-wrapper:not(.modal-designer-image-wrapper) .image-placeholder {
    height: calc(((100vw - 5px) - 290px - var(--filter-width)) / 4 - 30px) !important;
  }
  .designer-image-wrapper:not(.modal-designer-image-wrapper) > .designer-thumbnails,
  .designer-tile-large .designer-image-wrapper:not(.modal-designer-image-wrapper) > .designer-thumbnails {
    height: calc(4 / 3 * (calc(((100vw - 5px) - 370px) / 5 - 30px) / 4));
  }
  .content.active .designer-image-wrapper:not(.modal-designer-image-wrapper) > .designer-thumbnails,
  .content.active
    .designer-tile-large
    .designer-image-wrapper:not(.modal-designer-image-wrapper)
    > .designer-thumbnails {
    height: calc(4 / 3 * (calc(((100vw - 5px) - 290px - var(--filter-width)) / 4 - 30px) / 4));
  }
}
