.bp-full-gallery .bp-positions-title {
  margin-bottom: 3rem; }

.bp-full-gallery .gallery-filters .toggle-filters {
  font-size: 1.5rem;
  line-height: 1.16666;
  appearance: none;
  border: none;
  background: transparent;
  padding: 0 0 0 27px;
  margin: 0 0 1.5rem;
  color: var(--wp--preset--color--blue);
  display: inline-block;
  position: relative;
  cursor: pointer; }
  .bp-full-gallery .gallery-filters .toggle-filters:before, .bp-full-gallery .gallery-filters .toggle-filters:after {
    content: '';
    display: block;
    width: 15px;
    height: 1.5px;
    background: var(--wp--preset--color--blue);
    position: absolute;
    transition: all 0.5s ease-in-out;
    top: calc(50% - 0.75px);
    left: 0;
    transform-origin: center; }
  .bp-full-gallery .gallery-filters .toggle-filters:after {
    transform: rotate(90deg); }

.bp-full-gallery .gallery-filters .filter-tray {
  max-height: 0;
  overflow: hidden; }

.bp-full-gallery .gallery-filters .filter-buttons {
  padding: 1.5rem 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem; }
  .bp-full-gallery .gallery-filters .filter-buttons .filter-button {
    appearance: none;
    border: none;
    background: transparent;
    padding: 1rem;
    margin: 0;
    border-radius: 2rem;
    border: 1px solid var(--wp--preset--color--blue);
    color: var(--wp--preset--color--blue);
    font-size: 1.125rem;
    line-height: 1;
    cursor: pointer; }
    .bp-full-gallery .gallery-filters .filter-buttons .filter-button.active, .bp-full-gallery .gallery-filters .filter-buttons .filter-button:hover, .bp-full-gallery .gallery-filters .filter-buttons .filter-button:focus {
      background: var(--wp--preset--color--blue);
      color: var(--wp--preset--color--white);
      transition: all 0.3s ease-in-out; }

.bp-full-gallery .bp-full-gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(2, 1fr); }
  @media (min-width: 50em) {
    .bp-full-gallery .bp-full-gallery-thumbnails {
      grid-template-columns: repeat(3, 1fr); } }
  .bp-full-gallery .bp-full-gallery-thumbnails button {
    appearance: none;
    border: none;
    position: relative;
    background: #EFF2F7;
    overflow: hidden;
    aspect-ratio: 1/1;
    margin: 0;
    padding: 0;
    cursor: pointer; }
    .bp-full-gallery .bp-full-gallery-thumbnails button img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scale(1);
      transition: transform 1s ease-in-out; }
    .bp-full-gallery .bp-full-gallery-thumbnails button span {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 0.3s ease-in-out;
      background: linear-gradient(180deg, rgba(1, 32, 100, 0) 0%, #012064 100%);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 2rem;
      text-align: left;
      color: var(--wp--preset--color--white);
      font-size: 1rem;
      word-wrap: break-word; }
      @media (min-width: 50em) {
        .bp-full-gallery .bp-full-gallery-thumbnails button span {
          font-size: 2rem; } }
    .bp-full-gallery .bp-full-gallery-thumbnails button:hover img, .bp-full-gallery .bp-full-gallery-thumbnails button:focus img {
      transform: scale(1.05); }
    .bp-full-gallery .bp-full-gallery-thumbnails button:hover span, .bp-full-gallery .bp-full-gallery-thumbnails button:focus span {
      opacity: 1; }

.bp-full-gallery .bp-full-gallery-thumbnails {
  position: relative;
  padding: 1rem 0; }
  .bp-full-gallery .bp-full-gallery-thumbnails:after {
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: rgba(1, 32, 100, 0.5);
    backdrop-filter: blur(5.05px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in-out; }

.bp-full-gallery .gallery-button {
  display: none; }
  .bp-full-gallery .gallery-button.active {
    display: block; }

.bp-full-gallery.overlay-present .bp-full-gallery-thumbnails:after {
  visibility: visible;
  opacity: 1; }

.bp-full-gallery.open .toggle-filters:before {
  transform: rotate(45deg); }

.bp-full-gallery.open .toggle-filters:after {
  transform: rotate(135deg); }

.bp-full-gallery.open .filter-tray {
  max-height: 800px;
  transition: max-height 0.5s ease-in-out; }

.gallery-modal-contain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: none; }
  .gallery-modal-contain.visible {
    opacity: 1;
    pointer-events: auto;
    display: block; }
  .gallery-modal-contain .gallery-modal-close {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(21.3px);
    transition: all 0.3s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer; }
    .gallery-modal-contain .gallery-modal-close:hover, .gallery-modal-contain .gallery-modal-close:focus {
      background: rgba(0, 0, 0, 0.7); }
  .gallery-modal-contain .gallery-modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 4rem);
    height: calc(100vh - 4rem);
    max-width: 100rem;
    max-height: 60rem;
    background: var(--wp--preset--color--white);
    z-index: 1;
    overflow: hidden; }
    @media (min-width: 50em) {
      .gallery-modal-contain .gallery-modal-box {
        width: calc(100vw - 8rem); } }
  .gallery-modal-contain .gallery-modal-top {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    height: 60px; }
    @media (min-width: 50em) {
      .gallery-modal-contain .gallery-modal-top {
        height: 80px;
        padding: 1.375rem 2.5rem; } }
    .gallery-modal-contain .gallery-modal-top .gallery-title {
      font-size: 1.5rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      padding-right: 1rem; }
      @media (min-width: 50em) {
        .gallery-modal-contain .gallery-modal-top .gallery-title {
          font-size: 2rem; } }
      .gallery-modal-contain .gallery-modal-top .gallery-title #project-name {
        display: none;
        font-size: 1.5rem;
        vertical-align: middle;
        margin-left: 1.125rem;
        opacity: 0.5; }
        @media (min-width: 50em) {
          .gallery-modal-contain .gallery-modal-top .gallery-title #project-name {
            display: inline; } }
    .gallery-modal-contain .gallery-modal-top .close-gallery {
      display: block;
      width: 38px;
      height: 38px;
      background: transparent;
      position: relative;
      border: none;
      padding: 0;
      margin: 0;
      appearance: none;
      cursor: pointer;
      text-indent: -99999px; }
      .gallery-modal-contain .gallery-modal-top .close-gallery:before, .gallery-modal-contain .gallery-modal-top .close-gallery:after {
        width: 27px;
        height: 2px;
        position: absolute;
        top: calc(50% - 1px);
        left: calc(50% - 13.5px);
        transform-origin: center;
        content: '';
        display: block;
        background: var(--wp--preset--color--blue); }
      .gallery-modal-contain .gallery-modal-top .close-gallery:before {
        transform: rotate(45deg); }
      .gallery-modal-contain .gallery-modal-top .close-gallery:after {
        transform: rotate(-45deg); }
  .gallery-modal-contain .gallery-bucket {
    height: calc(100% - 60px);
    display: flex;
    flex-direction: column; }
    @media (min-width: 50em) {
      .gallery-modal-contain .gallery-bucket {
        height: calc(100% - 80px);
        flex-direction: row; } }
    .gallery-modal-contain .gallery-bucket .gallery-big {
      overflow: hidden;
      flex-grow: 1;
      position: relative; }
      .gallery-modal-contain .gallery-bucket .gallery-big .gallery-count {
        position: absolute;
        z-index: 1;
        bottom: 0;
        right: 7rem;
        color: var(--wp--preset--color--white);
        font-size: 1.125rem;
        text-align: right; }
        @media (min-width: 50em) {
          .gallery-modal-contain .gallery-bucket .gallery-big .gallery-count {
            font-size: 1.5rem;
            bottom: 3.25rem;
            right: 12rem; } }
      .gallery-modal-contain .gallery-bucket .gallery-big .gallery-image {
        height: 100%;
        width: 100%; }
      .gallery-modal-contain .gallery-bucket .gallery-big img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover; }
      .gallery-modal-contain .gallery-bucket .gallery-big .flickity-prev-next-button {
        position: absolute;
        bottom: 0.75rem;
        background-image: url("../img/flickity-arrow-big-white.svg");
        border-color: var(--wp--preset--color--white); }
        @media (min-width: 50em) {
          .gallery-modal-contain .gallery-bucket .gallery-big .flickity-prev-next-button {
            bottom: 2.5rem; } }
        .gallery-modal-contain .gallery-bucket .gallery-big .flickity-prev-next-button.previous {
          left: 1rem; }
          @media (min-width: 50em) {
            .gallery-modal-contain .gallery-bucket .gallery-big .flickity-prev-next-button.previous {
              left: 2.5rem; } }
        .gallery-modal-contain .gallery-bucket .gallery-big .flickity-prev-next-button.next {
          right: 1rem; }
          @media (min-width: 50em) {
            .gallery-modal-contain .gallery-bucket .gallery-big .flickity-prev-next-button.next {
              right: 2.5rem; } }
    .gallery-modal-contain .gallery-bucket .gallery-small-contain {
      aspect-ratio: 3/1; }
      @media (min-width: 600px) {
        .gallery-modal-contain .gallery-bucket .gallery-small-contain {
          aspect-ratio: 4/1; } }
      @media (min-width: 50em) {
        .gallery-modal-contain .gallery-bucket .gallery-small-contain {
          aspect-ratio: 1 / 3; } }
    .gallery-modal-contain .gallery-bucket .gallery-small {
      width: 100%;
      height: 100%; }
      @media (min-width: 50em) {
        .gallery-modal-contain .gallery-bucket .gallery-small {
          transform-origin: top left;
          transform: rotate(90deg) translate(0, -100%);
          height: 33.3333%;
          width: 300%; } }
      .gallery-modal-contain .gallery-bucket .gallery-small .gallery-image {
        height: 100%;
        width: 33.3333%; }
      .gallery-modal-contain .gallery-bucket .gallery-small img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover; }
        @media (min-width: 50em) {
          .gallery-modal-contain .gallery-bucket .gallery-small img {
            transform-origin: center;
            transform: rotate(-90deg); } }
  .gallery-modal-contain .flickity-viewport {
    height: 100% !important; }
