/* css styles for pixcarousel */

.pixcarousel .glider-contain {
  width: auto;
}

.pixcarousel .glider {
  overflow: hidden;
  position: relative;
}

.pixcarousel-child {
  transition: -webkit-filter 0.25s;
  transition: filter 0.25s;
  transition: filter 0.25s, -webkit-filter 0.25s;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
}

.pixcarousel-child:hover,
.pixcarousel-child:focus,
.pixcarousel-child:active {
  -webkit-filter: brightness(0.9) contrast(0.9);
  filter: brightness(0.9) contrast(0.9);
  transition: -webkit-filter 0.25s;
  transition: filter 0.25s;
  transition: filter 0.25s, -webkit-filter 0.25s;
}

.pixcarousel-image {
  -o-object-fit: cover;
  object-fit: cover;
  /*height: 200px;*/
  width: 100%;
}

.pixcarousel-child a {
  display: block;
}

/* dots and buttons */

.pixcarousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.glider-prev,
.glider-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.glider-next.disabled,
.glider-prev.disabled,
.glider-contain:hover .glider-prev.disabled,
.glider-contain:hover .glider-next.disabled,
.glider-prev.disabled:hover,
.glider-next.disabled:hover {
  opacity: 0.2;
}

.glider-contain:hover .glider-prev,
.glider-contain:hover .glider-next {
  opacity: 0.7;
}

.glider-prev:hover,
.glider-next:hover {
  opacity: 0.9;
}

.glider-prev svg,
.glider-next svg {
    width: 100%;
    height: 100%;
    fill: #808080;
    display: block;
    width: 25px;
    height: auto;
    margin: 0;
    padding: 0;
}

.glider-dot {
  width: 10px;
  height: 10px;
  margin: 6px;
}

.glider-dot:hover,
.glider-dot.active {
  background: #808080;
}

@media screen and (max-width: 576px) {
  .glider-dots {
    display: none;
  }
}

/* caption */

.pixcarousel-caption {
  white-space: normal;
  font-family: system-ui, sans-serif;
  font-weight: normal;
  padding: 1em;
}

.pixcarousel-child-over {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}

.pixcarousel-child-over a {
  -ms-grid-column: 1;
  grid-column: 1;
  -ms-grid-row: 1;
  grid-row: 1;
}

.pixcarousel-caption-top {
  -ms-grid-column: 1;
  grid-column: 1;
  -ms-grid-row: 1;
  grid-row: 1;
  -ms-grid-row-align: start;
      align-self: start;
  text-align: left;
  box-sizing: border-box;
  pointer-events: none;
  color: white;
  background: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
}

.pixcarousel-caption-center {
  -ms-grid-column: 1;
  grid-column: 1;
  -ms-grid-row: 1;
  grid-row: 1;
  -ms-grid-row-align: stretch;
      align-self: stretch;
  display: -ms-grid;
  display: grid;
  align-content: center;
  text-align: left;
  box-sizing: border-box;
  pointer-events: none;
  color: white;
  background: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
}

.pixcarousel-caption-bottom {
  -ms-grid-column: 1;
  grid-column: 1;
  -ms-grid-row: 1;
  grid-row: 1;
  -ms-grid-row-align: end;
      align-self: end;
  text-align: left;
  box-sizing: border-box;
  pointer-events: none;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
}
