.acf-slider-wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 100px;
}

.acf-slider-custom img {
  width: 100%;
  height: auto;
  display: block;
}

.acf-slick-prev,
.acf-slick-next {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 8px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.acf-slick-prev {
  left: 10px;
}

.acf-slick-next {
  right: 10px;
}

/* .acf-slick-prev {
  background: white;
  border: 2px solid #f28c00;
  border-radius: 60%;
  color: #f28c00;
  font-size: 60px;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  align-content: center;
  flex-direction: column;
  padding: 0px 14px 14px 10px;
} */
.acf-slick-prev {
  position: absolute;
  top: 50%;
  left: auto;
  background: white;
  border: 2px solid #f28c00;
  border-radius: 50%;
  color: #f28c00;
  font-size: 60px;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transform: translateY(-50%);
  padding: 0px 2px 12px 0px;
}

/* .acf-slick-next {
  background: white;
  border: 2px solid #f28c00;
  border-radius: 60%;
  color: #f28c00;
  font-size: 60px;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  align-content: center;
  flex-direction: column;
  padding: 0px 0px 14px 4px;
} */
.acf-slick-next {
  position: absolute;
  top: 50%;
  left: auto;
  background: white;
  border: 2px solid #f28c00;
  border-radius: 50%;
  color: #f28c00;
  font-size: 60px;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transform: translateY(-50%);
  padding: 0px 0px 12px 2px;
}

.acf-slick-prev:hover,
.acf-slick-next:hover {
  cursor: pointer;
  background: #f28c00;
  color: #fff;
  transition: all 0.3s ease;
}

button:focus {
  outline: none;
}

.acf-slider-custom {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.acf-slider-custom .acf-slide {
  transition: transform 0.1s ease, filter 0.1s ease;
  opacity: 0.6;
  filter: blur(4px);
  transform: scale(0.7);
  position: relative;
  z-index: 0;
}

.acf-slider-custom .slick-center {
  filter: none;
  transform: scale(1);
  opacity: 1;
  z-index: 2;
}

.acf-slider-custom {
  overflow: visible;
}

.acf-slider-custom .slick-slide {
  padding: 0 10px;
}

.acf-slider-custom .acf-slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  height: 370px;
  object-fit: cover;
}

.acf-slide.slick-current img {
  filter: none;
  transform: scale(1);
  opacity: 1;
  border-radius: 20px;
  position: relative;
  z-index: 3;
  transition: all 0.5s ease-in-out;
  height: 370px;
  object-fit: cover;
}

.acf-slide.prev-slide img {
  transition: all 0.5s ease;
  border-radius: 20px;
  position: relative;
  /* transform: translateX(50%); */
  z-index: 0;
  height: 370px;
  object-fit: cover;
}

.acf-slide.next-slide img {
  height: 370px;
  object-fit: cover;
  border-radius: 20px;
  position: relative;
  /* transform: translateX(-50%); */
  z-index: 0;
  transition: all 0.5s ease-in-out;
}

body {
  background-color: #fffef7;
}

/* map */
#map-section {
  display: flex;
  /* display: none; */
}

.leaflet-marker-pane img {
  border: 2px solid rgb(255, 255, 255) !important;
  border-radius: 100% !important;
  width: 35px !important;
  height: 35px !important;
  box-shadow: 0px 3px 6px #00000029 !important;
}

#category-filter {
  width: 330px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 0px 0px 20px 0px !important;
  border-radius: 10px;
  margin-right: 1rem;
  position: absolute;
  z-index: 99999;
  padding: 1.5rem;
  left: 0;
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#category-filter label {
  color: #58595b;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
  gap: 10px;
}

#leaflet-map {
  height: 600px;
  flex: 1;
}

#category-filter h3 {
  border-bottom: solid #58595b 3px;
  padding-bottom: 10px;
  margin-bottom: 0.5rem;
  font-size: 22px;
  font-weight: 500;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid orange;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  position: relative;
}

input[type="checkbox"]:checked {
  background-color: orange;
}

input[type="checkbox"]:checked::after {
  content: "✔";
  color: white;
  font-size: 16px;
  position: absolute;
  top: -3px;
  left: 2px;
}

.leaflet-left {
  right: 0;
  bottom: 0;
  margin-right: 10px;
  left: auto;
}
.marker-cluster-small div {
  background-color: #e78a25;
  color: #fff;
}
.marker-cluster-small {
  background-color: #e78a257d;
}
.marker-cluster-medium div {
  background-color: #eab054;
  color: #fff;
}
.marker-cluster-medium {
  background-color: #eab15465;
}
#category-filter {
  width: 330px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  margin-right: 1rem;
  position: absolute;
  z-index: 99999;
  padding: 1.5rem;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

#category-filter.collapsed {
  height: auto;
  padding: 1.5rem;
  gap: 0;
}

#category-filter.collapsed #filter-options {
  display: none;
}

#toggle-filter {
  font-size: 22px;
  font-weight: 500;
  border-bottom: solid #58595b 3px;
  padding-bottom: 10px;
  margin-bottom: 0.5rem;
}
.img-map-filter {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.img-map-filter.last {
  align-items: flex-start;
}
.img-map-filter.last img {
  margin-top: 5px;
}
.img-map-filter img {
  width: 24px;
}
/* periferiako */
#periferiako {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 150px 0px;
}

.bg-color-desck {
  background-color: #442d1b;
  display: block;
  border-radius: 20px 0px 0px 20px;
  position: absolute;
  right: 0px;
  width: 40%;
  height: 40%;
  z-index: 1;
}

.periferiako-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 80%;
}

.periferiako-text h2 {
  color: #442d1b;
  font-size: 2.5rem;
  text-transform: none;
  margin-bottom: 0px;
  padding-top: 0px;
}

.periferiako-text {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
}

.periferiako-image {
  width: 50%;
  position: relative;
  z-index: 2;
}

.periferiako-button {
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  background-color: #e78a25;
  color: white;
  padding: 20px 80px;
  text-decoration: none !important;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.periferiako-button:hover {
  background-color: #cc6f10;
  color: #fff;
}

.bg-color-mob {
  display: none;
}

/* ofeli */

.inner span {
  color: #e78a25;
  font-size: 28px;
  font-weight: bold;
  margin: -10px 15px 0px 0px;
}

#ofeli {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 100px;
  justify-content: center;
}

.inner {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  width: 100%;
}

.inner h5 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.inner-text {
  display: flex;
  flex-direction: column;
}

.inner-text p {
  font-size: 18px;
  color: #0000008f;
}

.ofeli-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 80%;
  align-items: flex-start;
  margin-top: 50px;
  justify-content: center;
}

.ofeli-image {
  width: 40%;
  padding: 0px 40px;
}

.ofeli-text {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
  gap: 2rem;
}

.ofeli-text h4 {
  font-size: 25px;
  color: #191917;
  font-weight: 300;
}

#ofeli h2 {
  font-size: 2.5rem;
  text-transform: none;
  margin-bottom: 0px;
  padding-top: 0px;
  color: #442d1b;
}

/* koinoniki-karta  */

#koinoniki-karta {
  background-image: url("https://socialobservatory.pnai.gov.gr/wp-content/themes/understrap-child/img/social-card/karta-background.png");
  background-size: cover;
  background-position: center;
  padding: 20px 20px 0px 20px;
  color: white;
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
}

.karta-container {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 80%;
}

.karta-text {
  gap: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 50%;
}

.slider-text h2 {
  font-size: 2.5rem;
  text-transform: none;
  margin-bottom: 0px;
  padding-top: 0px;
  text-align: center;
  margin-bottom: 50px;
  color: #442d1b;
}

.karta-text h2 {
  font-size: 3rem;
  text-transform: none;
  margin-bottom: 0px;
  padding-top: 0px;
  color: #442d1b;
}

#paroxes h2 {
  font-size: 2.5rem;
  text-transform: none;
  margin-bottom: 0px;
  padding-top: 0px;
  color: #442d1b;
}

.skopos-text h2 {
  font-size: 2.5rem;
  text-transform: none;
  margin-bottom: 0px;
  padding-top: 0px;
  color: #442d1b;
}

.karta-text p,
.skopos-text p {
  font-size: 1.2rem;
  color: #0000008f;
  max-width: auto !important;
}

.karta-button {
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  background-color: #e78a25;
  color: white;
  padding: 20px 40px;
  text-decoration: none !important;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.karta-button:hover {
  background-color: #cc6f10;
  color: #fff;
}

.karta-image {
  width: 50%;
  display: flex;
  justify-content: flex-end;
}

.karta-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  position: relative;
}

/* skopos */

.skopos-container {
  max-width: 100%;
  margin: 100px 0px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 85%;
}

.skopos-text {
  gap: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 57%;
}

.skopos-image {
  width: 38%;
}

.skopos-image img {
  width: 100%;
}

/* paroxes */
#paroxes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  margin-bottom: 100px;
}
#paroxes p {
  font-size: 20px;
  color: #0000008f;
}
.paroxes-container {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 4rem;
}

.paroxes-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 30px 30px 99px #e6e0ce87;
  width: 290px;
  height: 300px;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.paroxes-box h3 {
  text-align: center;
}

.doots-bg-top {
  position: absolute;
  top: -30px;
  left: -40px;
  z-index: 0;
  width: 100px;
}

.doots-bg-bottom {
  position: absolute;
  bottom: -30px;
  right: -40px;
  z-index: 0;
  width: 100px;
}

.paroxes-wrapper {
  position: relative;
}

.custom-slider {
  position: relative;
  width: 100%;
}

.slides-wrapper {
  width: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.custom-slider section {
  width: 100%;
  flex-shrink: 0;
}

.custome-prev-slide {
  position: absolute;
  top: 50%;
  left: auto;
  background: white;
  border: 2px solid #f28c00;
  border-radius: 50%;
  color: #f28c00;
  font-size: 60px;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transform: translateY(-50%);
  padding: 0px 2px 12px 0px;
}

.custome-next-slide {
  position: absolute;
  top: 50%;
  left: auto;
  background: white;
  border: 2px solid #f28c00;
  border-radius: 50%;
  color: #f28c00;
  font-size: 60px;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transform: translateY(-50%);
  padding: 0px 0px 12px 2px;
}

.custome-prev-slide:hover,
.custome-next-slide:hover {
  cursor: pointer;
  background: #f28c00;
  color: #fff;
  transition: all 0.3s ease;
}

.custome-prev-slide {
  left: 10%;
}

.custome-next-slide {
  right: 10%;
}

.custome-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.custome-dots .custome-dot {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.custome-dots .custome-dot.active {
  background-color: #333;
}

@media screen and (max-width: 1199px) {
  .acf-slider-custom {
    max-width: 800px;
  }
}
html {
  scroll-behavior: smooth;
}
/* Responsive */
@media (max-width: 835px) {
  .karta-container {
    flex-direction: column;
    text-align: center;
    width: 100%;
  }

  .karta-text {
    width: 100%;
    align-items: center;
  }

  .karta-image {
    text-align: center;
    width: 100%;
    margin-top: 25px;
  }

  .skopos-container {
    width: 100%;
    flex-direction: column;
  }

  .skopos-image {
    width: 100%;
    margin-bottom: 25px;
  }

  .skopos-text {
    padding-top: 20px;
    width: 80%;
    max-width: 100%;
  }

  #paroxes p {
    font-size: 18px;
    text-align: center;
    width: 80%;
  }

  .paroxes-container {
    flex-direction: column;
    align-items: center;
  }

  .ofeli-container {
    flex-direction: column;
    align-items: center;
  }

  .ofeli-image {
    width: 80%;
    padding-right: 0px;
  }

  .ofeli-text {
    width: 80%;
    margin-top: 20px;
  }

  .periferiako-container {
    flex-direction: column;
    width: 100%;
  }
  .periferiako-button {
    padding: 20px 40px;
  }
  .periferiako-text h2 {
    text-align: center;
  }

  .periferiako-text {
    width: 80%;
    align-items: center;
  }

  .periferiako-image {
    width: 80%;
    margin-top: 50px;
  }

  .bg-color-desck {
    display: none;
  }

  .bg-color-mob {
    background-color: #442d1b;
    border-radius: 20px 20px 0px 0px;
    position: relative;
    bottom: 15%;
    width: 350px;
    height: 100px;
    z-index: 1;
    display: block;
    margin-bottom: -100px;
  }

  #category-filter {
    width: 330px;
    padding: 1rem;
    height: 360px;
  }

  #category-filter h3 {
    margin-bottom: 10px;
  }

  .acf-slick-prev {
    font-size: 40px;
    width: 3rem;
    height: 3rem;
    padding: 0px 2px 10px 0px;
    margin-left: 5px;
  }
  .acf-slick-next {
    font-size: 40px;
    width: 3rem;
    height: 3rem;
    padding: 0px 0px 10px 2px;
  }

  .acf-slick-prev:active,
  .acf-slick-next:active {
    background: white;
    border: 2px solid #f28c00;
    color: #f28c00;
  }
  .acf-slider-custom {
    max-width: 390px;
  }

  .acf-slider-custom .acf-slide {
    transform: scale(0.8);
  }

  .acf-slide.prev-slide img {
    transform: translateX(30%) scale(0.6);
  }

  .acf-slide.next-slide img {
    transform: translateX(-30%) scale(0.6);
  }

  .acf-slide.slick-current img {
    transform: scale(0.8);
  }

  .acf-slider-custom .slick-slide {
    padding: 0 5px;
  }

  .custome-next-slide {
    font-size: 40px;
    width: 3rem;
    height: 3rem;
    padding: 0px 0px 10px 2px;
  }

  .custome-prev-slide {
    font-size: 40px;
    width: 3rem;
    height: 3rem;
    padding: 0px 2px 10px 0px;
  }

  .container {
    padding-right: 0px;
    padding-left: 0px;
  }
}
