/* Classes used in the /ajax/class-loadmore-generic.php file (-event) */

.atdw-listings {
}

.atdw-listings .atdw_accommodation {
}
.atdw-listings .atdw_attraction {
}
.atdw-listings .atdw_event {
}
.atdw-listings .atdw_restaurant {
}
.atdw-listings .atdw_tour {
}

.atdw-inner-container {
  max-width: 1170px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.atdw-row {
}
.atdw-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* Keeps your existing layout */
  align-items: stretch; /* This will ensure the cards stretch to fill the container */
}

.atdw-card-box {
  width: 100%;
  padding: 12px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.atdw-card-box:hover {
  width: 100%;
  padding: 12px;
  box-shadow: rgba(99, 99, 99, 0.1) 0px 2px 8px 0px;
}
.atdw-loadmore-container {
}
.atdw-loadmore-btn {
  border: 1px solid #c9c9c9;
  padding: 12px 20px;
  font-weight: 700;
  text-align: center;
  font-size: 1rem;
  background-color: #f1f1f1;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  margin-top: 15px;
  margin-bottom: 15px;
}
.atdw-loadmore-btn:disabled,
.atdw-loadmore-btn.loading {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Classes used in the /parts/generic-card.php file (events-card) */
.atdw-card {
  flex-basis: calc(33.333% - 10px); /* Your existing width setup */
  margin: 5px; /* Your existing margin */
  display: flex; /* Makes the card a flex container */
  flex-direction: column; /* Stacks child elements vertically */
}
.atdw-card * {
  flex-grow: 1; /* Causes the children of .atdw-card to fill available space */
}
.atdw-card-container {
  display: flex;
}
.atdw-listing-image {
  min-height: 240px;
  width: 100%;
  display: block;
  background-size: cover;
}
.atdw-listing-name {
  font-size: 1rem;
  color: #fff;
  display: block;
}
.atdw-listing-dates {
  font-size: 0.88rem;
  color: #fff;
  display: block;
}
.atdw-listing-dates .day {
}
.atdw-listing-dates .month {
}
.atdw-listing-dates .seperator {
}
.atdw-listing-price {
  font-size: 1rem;
  color: #fff;
}
.atdw-listing-price sup {
}
.atdw-listing-price_range {
}
.atdw-listing-excerpt {
  font-size: 0.9rem;
  line-height: 1.4;
  font-family: Urbanist, Arial, sans-serif;
  color: #000;
  margin-bottom: 12px;
  opacity: 0.7;
  display: -webkit-box; /* Makes the content a flex container box */
  -webkit-box-orient: vertical; /* Sets the flex container's children to display vertically */
  -webkit-line-clamp: 3; /* Limits the text to 3 lines */
  overflow: hidden; /* Ensures that the overflow content is hidden */
  text-overflow: ellipsis; /* Adds an ellipsis to overflow content */
}
.atdw-listing-information {
  display: block;
}
.atdw-listing-types {
  font-size: 0.8rem;
}
h4.atdw-listing-title {
  font-size: 1.4rem;
  font-weight: 700;
  display: -webkit-box; /* Makes the content a flex container box */
  -webkit-box-orient: vertical; /* Sets the flex container's children to display vertically */
  -webkit-line-clamp: 3; /* Limits the text to 3 lines */
  overflow: hidden; /* Ensures that the overflow content is hidden */
  text-overflow: ellipsis; /* Adds an ellipsis to overflow content */
}
.atdw-listing-tel {
  font-size: 0.88rem;
  padding-right: 12px;
}
.atdw-listing-website {
  font-size: 0.88rem;
}
.atdw-listing-btn {
	font-family: Urbanist, Arial, sans-serif;
  display: inline-block;
  margin-top: 10px;
  border: 1px solid #c9c9c9;
  padding: 3px 12px;
  font-size: 0.9rem;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}
.atdw-listing-btn:hover {
  border: 1px solid #000;
  background-color: #000;
  color: #fff;
}

/* Classes used in the /parts/generic-filters.php file (events-filters) */

.atdw-filter {
  padding-top: 55px;
  padding-bottom: 25px;
}
.atdw-filter-container {
  max-width: 1170px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.atdw-filter-group {
  display: flex; /* Enables Flexbox */
  align-items: center; /* Aligns items vertically in the center */
  justify-content: space-between; /* Distributes space evenly between the items */
  flex-wrap: wrap; /* Allows items to wrap onto the next line on smaller screens */
  gap: 10px; /* Optional: Adds some space between the flex items */
}
.atdw-filter-title {
}
.atdw-filter-date {
  width: 150px;
  padding: 6px 12px;
  border: 1px solid #c9c9c9;
  height: 38px;
}
.atdw-filter-category,
.atdw-filter-price {
  width: 150px;
  padding: 6px 12px;
  border: 1px solid #c9c9c9;
  height: 38px;
}
input#searchKeyword {
  padding: 6px 12px;
  border: 1px solid #c9c9c9;
  height: 38px;
}
.atdw-filter-keyword {
  width: 150px;
  padding: 6px 12px;
  border: 1px solid #c9c9c9;
}
.atdw-filter-orderby-title {
}
.atdw-filter-orderby {
  padding: 6px 12px;
  border: 1px solid #c9c9c9;
  height: 38px;
}
.atdw-filter-search {
  flex: 0 1 auto; /* Allows the search button to grow but not too much, maintaining its content's width */
  height: 38px;
  background-color: #fff;
  font-weight: 700;
  display: inline-block;
  border: 1px solid #c9c9c9;
  padding: 3px 12px;
  font-size: 1rem;
}

/* Classes used in the /parts/single-page.php file */
.atdw-page-container {
}
.atdw-page-container p:empty {
  display: none;
}
.atdw-single {
}
.atdw-single-container {
}
.atdw-single-pixel {
}
.atdw-single-title {
}
.atdw-single-feature-image {
}
.atdw-single-town {
}
.atdw-single-price {
}
.atdw-single-address {
}
.atdw-single-price sup {
}
.atdw-single-contents {
}
.atdw-single-information {
}
.atdw-single-types {
  font-weight: bolder;
  margin: 12px 0px;
}
.atdw-single-tel {
}
.atdw-single-website {
}
.atdw-single-moreinfo {
}
.atdw-single-rate-comment {
}
.atdw-single-checkin {
}
.atdw-single-facilities {
}
.atdw-single-services {
  display: none;
}
.atdw-single-service-name {
}
.atdw-single-service-description {
}
.atdw-single-service-attributes {
}
.atdw-single-images {
  column-count: 3;
}

.feature-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 60vh;
  width: 100%;
}

.feature-image {
  max-width: 100%; /* Ensure it doesn't grow beyond the container width */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Ensures the image is fully visible, might introduce empty space */
}

.content-atdw-3col {
  flex-basis: calc(33.3333% - 10px);
  margin: 5px;
  display: flex;
  flex-direction: column;
}

.content-atdw-2col {
  flex-basis: calc(50% - 10px);
  margin: 5px;
  display: flex;
  flex-direction: column;
}

.ul-grid-container {
  display: grid;
  grid-template-columns: repeat(
    3,
    1fr
  ); /* Adjust the number 3 to your desired column count */
  gap: 10px; /* Optional: adds gap between items */
  justify-items: stretch; /* Stretch items to fill the column width */
  width: 100%; /* Ensure the */
}

.content-atdw-container {
  display: flex;
}

.atdw-single-images {
  column-count: 3;
}

/* ********* SLIDER IMAGES THMBNAILS ********* */

.atdw-slider-container {
  position: relative;
  width: 100%;
}

.atdw-slider-wrapper {
  overflow: hidden;
  padding: 0 20px;
}

.atdw-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
}

.atdw-slider img {
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.atdw-slider-prev,
.atdw-slider-next {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5rem;
}

.atdw-displayed-image {
  position: relative;
  margin-bottom: 10px;
}

.atdw-slider-prev {
  left: 0;
}

.atdw-slider-next {
  right: 0;
}
.atdw-booknow {
  border: 1px solid #c9c9c9;
  padding: 8px 16px;
  font-weight: 700;
  color: #000;
  text-align: center;
  font-size: 1rem;
  background-color: #fff;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  margin-top: 15px;
  margin-bottom: 15px;
}
/* ****************** */
pre {
  font-size: 1.1rem;
  padding-left: 0px;
  white-space: pre-wrap; /* Allows text to wrap */
  word-wrap: break-word; /* Breaks the word to prevent overflow */
  overflow-wrap: break-word; /* Alternative to word-wrap */
  font-family: Urbanist, Arial, sans-serif;
  line-height: 1.4;
}
.atdw-load-more-no-results {
  text-align: center;
}
