/* Example css for. Feel free to delete it. */
.gird_wsp img {
  margin: 0 auto 10px;
}
.gird_wsp .grid_item {
  background: #fff;
  padding: 20px;
  border: 1px solid #00000030;
}
.example_style .list-icon img {
  margin-right: 20px;
}
.example_style .list-icon {
  align-items: center;
}
.example_style .li_wrapper {
  grid-gap: 20px;
}
.sp_accordion {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.accordion-header {
  background-color: var(--clr-gray);
  padding: 0 !important;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.accordion-btn {
  position: relative;
}

.accordion-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 314px;
}

.accordion-btn p {
  position: relative;
}

.accordion-btn p::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 10rem;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  transition: all ease-in-out 250ms;
}

.accordion-header:hover .accordion-btn p::after {
  top: 0;
}

.accordion-btn h4 {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding-inline: 1rem;
  text-align: center;
  font-weight: var(--font-bold);
  color: var(--clr-white);
}

.accordion-btn h4::after {
  content: '';
  position: absolute;
  bottom: -1.6rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-accents-orange);
  height: 0.8rem;
  width: 5.2rem;
  margin: 0 auto;
}

.accordion-body {
  background-color: var(--clr-gray);
  /* padding: 1.9rem 6.8rem; */
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.acc_item {
  margin-bottom: 10px;
}

.hp_form .wpcf7-text,
.hp_form .wpcf7-email,
.hp_form .wpcf7-textarea {
  width: 100%;
  background: transparent;
  border: 1px solid #fff;
  margin-bottom: 16px;
  padding: 16px 18px;
  color: #fff;
}
.hp_form .wpcf7-form-control::placeholder {
  color: #fff;
}
.hp_form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}
/* Example css for. Feel free to delete it. */

/* gallery global styles  */
.gallery__figure {
  padding: 2rem;
  background: var(--clr-white);
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  filter: grayscale(1);
  transition: all ease-in-out 0.2s;
}
.gallery__figure:hover {
  filter: revert;
}
.sp_gallery img {
  /* aspect-ratio: 1 / 1; */
  /* width: 100%; */
  object-fit: cover;
}

@media (max-width: 768px) {
  .flickity-viewport {
    min-height: 100px;
  }
}
/* gallery global styles  */

/* flickity default dots*/
ol.flickity-page-dots {
  position: relative;
  bottom: 0;
  margin: 20px 0;
}
/* flickity default dots*/

/* global  lightbox */

#lightbox {
  position: fixed !important;
  top: 50% !important;
  transform: translateY(-50%);
}
.lb-outerContainer img {
  max-width: 1200px !important;
  max-height: 1200px !important;
}

.lb-outerContainer,
.lb-dataContainer {
  max-width: 1200px;
  height: auto !important;
}

.lb-dataContainer .lb-data {
  background: #545454;
  color: #fff;
  padding: 10px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lb-dataContainer {
  padding-top: 0 !important;
}

span.lb-number {
  color: #fff !important;
  font-size: var(--body-font-size) !important;
  padding: 0 !important;
}

img.lb-image {
  border: 0 !important;
  outline: 0 !important;
}
/* global  lightbox */

/* Speletnik global cols*/
/* columns  */
.col umn-6,
.col umn-5,
.col umn-4,
.col umn-3,
.col umn-2 {
  display: grid;
  grid-gap: 25px;
}

@media (min-width: 320px) {
  .column-5,
  .column-6,
  .column-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .column-2,
  .column-3 {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (min-width: 992px) {
  .colu mn-5,
  .colu mn-6,
  .colu mn-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .colu mn-2,
  .colu mn-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .col umn-6 {
    grid-template-columns: repeat(6, 1fr);
  }
  .col umn-5 {
    grid-template-columns: repeat(5, 1fr);
  }
  .col umn-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .column-1-mb {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Responsive spacers */

/* two photos start */
.col-image-two {
  display: grid;
  grid-template-columns: 0fr 1fr 1fr 1fr 1fr 1fr 0fr;
  grid-template-rows: 0fr 1fr 1fr 1fr 1fr 1fr 0fr;
  grid-auto-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
}

/*PORTRAIT*/
.tp-v1 figure:nth-child(1) {
  grid-area: 2 / 2 / 6 / 5;
}
.tp-v1 figure:nth-child(2) {
  grid-area: 3 / 4 / 7 / 7;
}

.tp-v2 figure:nth-child(1) {
  grid-area: 1 / 2 / 5 / 5;
}
.tp-v2 figure:nth-child(2) {
  grid-area: 4 / 4 / 8 / 7;
}

.tp-v3 figure:nth-child(1) {
  grid-area: 4 / 2 / 8 / 5;
}
.tp-v3 figure:nth-child(2) {
  grid-area: 1 / 4 / 5 / 7;
}

.tp-v4 figure:nth-child(1) {
  grid-area: 3 / 2 / 7 / 5;
}
.tp-v4 figure:nth-child(2) {
  grid-area: 2 / 4 / 6 / 7;
}

/*LANDSCAPE*/
.tp-v5 figure:nth-child(1) {
  grid-area: 4 / 2 / 7 / 6;
}
.tp-v5 figure:nth-child(2) {
  grid-area: 2 / 3 / 5 / 7;
}

.tp-v6 figure:nth-child(1) {
  grid-area: 4 / 1 / 7 / 5;
}
.tp-v6 figure:nth-child(2) {
  grid-area: 2 / 4 / 5 / 8;
}
/* two photos start */

.accordion-header:before,
.accordion-header:after {
  content: none !important;
}
