/* Main Styles for the Plugin */
/* Post Grid Widget Styles */
.mars-posts-grid {
  display: flex;
  flex-wrap: wrap;
}

.mars-posts-grid_item {
  position: relative;
  height: 100%;
}
.mars-posts-grid_item div[data-elementor-type=section] {
  height: 100%;
}
.mars-posts-grid_item div[data-elementor-type=section] .elementor-section-wrap {
  height: 100%;
}
.mars-posts-grid_item div[data-elementor-type=section] .elementor-top-section {
  height: 100%;
}
.mars-posts-grid_item div[data-elementor-type=section] .elementor-section .elementor-container {
  height: 100%;
}
.mars-posts-grid_item .mars-posts-grid_item_inner {
  height: 100%;
}
.mars-posts-grid_item .mars-posts-grid_item_inner .elementor-top-section {
  height: 100%;
}
.mars-posts-grid_item .mars-posts-grid_item_inner .elementor-top-section .elementor-container {
  height: 100%;
}

/* Pagination Styles */
.mars-posts-pagination .current-page {
  font-weight: bold;
  line-height: 1.5em !important;
  align-self: center !important;
  height: 100% !important;
}
.mars-posts-pagination .dots {
  line-height: 1.5em !important;
  align-self: center !important;
  height: 100% !important;
}

.page-dots {
  align-self: self-end;
}

.no-posts-message {
  margin-top: 1em;
  margin-bottom: 1em;
  text-align: center;
}

/* Search Filter Styles */
.mars-posts-search-filter-wrapper label {
  display: block;
  margin-bottom: 0.25em;
}
.mars-posts-search-filter-wrapper #post-grid-search-input {
  width: 100%;
}
.mars-posts-search-filter-wrapper .mars-posts-search-filter {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}
.mars-posts-search-filter-wrapper .mars-posts-search-filter #post-grid-search-submit, .mars-posts-search-filter-wrapper .mars-posts-search-filter #post-grid-clear-button {
  margin-top: 0.5em;
}
.mars-posts-search-filter-wrapper .mars-posts-search-filter .mars-posts-clear-filter, .mars-posts-search-filter-wrapper .mars-posts-search-filter .mars-posts-clear-filter a, .mars-posts-search-filter-wrapper .mars-posts-search-filter #post-grid-search-submit {
  width: 100%;
}

/* Sort Toggle Styles */
.post-grid-sort-toggle {
  display: flex;
  flex-direction: row;
}
.post-grid-sort-toggle p {
  margin-right: 10px;
  font-weight: bold;
}
.post-grid-sort-toggle i {
  margin-left: 10px;
}
.post-grid-sort-toggle .post-grid-sort-toggle__item {
  display: flex;
  flex-direction: row;
}

/* Ajax Related Styles */
/* Ajax Spinner */
.spinner-wrapper {
  width: 100%;
  height: 100%;
  max-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
}

.spinner {
  border: 5px solid #f3f3f3; /* Light grey */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* AJAX Pagination */
.ajax-pagination-wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  margin-top: 1em;
  margin-bottom: 1em;
}
.ajax-pagination-wrapper #pagination-btn .elementor-button {
  cursor: pointer;
}
.ajax-pagination-wrapper #pagination-btn .disabled {
  pointer-events: none;
  cursor: unset;
  background-color: #ccc;
}

.ajax-grid-counter {
  margin-top: 1em;
  margin-bottom: 1em;
}

.no-data-message {
  width: 100%;
  height: 100%;
  max-height: 300px;
  position: absolute;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
}

/* Taxonomy Filter */
.ajax-grid-taxonomy-filter,
.ajax-grid-acf-filter,
.ajax-grid-post-type-filter {
  display: flex;
  flex-direction: column;
}

/* Pagination Container */
#ajax-pagination-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  gap: 1em;
  align-items: normal;
}

/* Pagination Buttons */
.page-number, .current-page {
  border: none !important;
  line-height: var(--e-global-typography-text-line-height) !important;
}

/* Ajax Checkbox Filter */
.ajax-grid-checkbox-filter-label, .ajax-grid-select-filter-label {
  display: inline-block;
}

.ajax-grid-checkbox-filter-dropdown {
  margin-top: 15px;
  margin-bottom: 15px;
}
.ajax-grid-checkbox-filter-dropdown label {
  display: flex;
  align-items: center;
}

.checkbox-label {
  display: flex !important;
  align-items: start !important;
}

/* Ajax Checkbox Filter | Dropdown Toggle */
.ajax-grid-checkbox-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
  background: none !important;
}
.ajax-grid-checkbox-dropdown-toggle:hover {
  background: none !important;
}

.ajax-search-widget label {
  margin-bottom: 5px;
}

/* Ajax Checkbox Filter | Dropdown Toggle Counter */
.ajax-grid-checkbox-dropdown-toggle span {
  padding-left: 5px;
}

.ajax-posts-grid.slick-initialized {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-left: -25px;
  margin-right: -25px;
  width: calc(100% + 50px);
}
.ajax-posts-grid.slick-initialized .slick-list {
  width: 100%;
}
.ajax-posts-grid.slick-initialized .slick-track {
  display: flex !important;
  justify-content: space-between;
  width: 100%;
}
.ajax-posts-grid.slick-initialized .slick-slide {
  height: inherit !important;
  max-height: inherit !important;
}
.ajax-posts-grid.slick-initialized .mars-posts-grid_item {
  padding-top: 10px;
  padding-bottom: 10px;
}
.ajax-posts-grid.slick-initialized .mars-posts-grid_item.slick-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ajax-posts-grid.slick-initialized .slick-arrow {
  cursor: pointer;
  height: fit-content;
}
.ajax-posts-grid.slick-initialized .slick-arrow.left-arrow {
  position: absolute;
  cursor: pointer;
  text-align: center;
  z-index: 90;
  bottom: -45px;
  top: auto;
  left: 45px;
  right: auto;
}
.ajax-posts-grid.slick-initialized .slick-arrow.right-arrow {
  position: absolute;
  cursor: pointer;
  text-align: center;
  z-index: 90;
  bottom: -45px;
  top: auto;
  right: 45px;
  left: auto;
}

.ajax-posts-grid.slick-slide {
  opacity: 0;
}
.ajax-posts-grid.slick-slide.slick-active {
  opacity: 1;
}

.mw-slick-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 0;
  gap: 10px;
}
.mw-slick-dots li {
  list-style: none;
}
.mw-slick-dots li.slick-active button i {
  color: #111;
}
.mw-slick-dots li button {
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.mw-slick-dots li button:focus {
  outline: none;
}
.mw-slick-dots li button:hover {
  background: none;
  border: none;
}
.mw-slick-dots li button:focus {
  background: none;
  border: none;
}
.mw-slick-dots li button i {
  font-size: 0.42rem;
  color: #eee;
}

select {
  min-height: 42px;
}

.ajax-grid-select-filter i.fa {
  position: absolute;
  pointer-events: none;
  right: 5px;
  bottom: 5px;
  font-size: 10px;
  z-index: 1;
  background: white;
  padding-left: 2.5px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.ts-hidden-accessible {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}

.ts-dropdown .no-results {
  padding: 0.5em;
}
.ts-dropdown .option {
  padding: 0.5em 1em !important;
  font-size: 1rem;
}

.ts-control {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(1, 1fr);
}
.ts-control .item, .ts-control input {
  grid-column: 1/1;
  grid-row: 1/1;
}
.ts-control .item {
  align-self: center;
  z-index: 1;
  margin-left: 1rem;
  background-color: white;
  width: 90%;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
}

.ts-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 10;
  border: 1px solid #d0d0d0;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.ts-dropdown [data-selectable] {
  cursor: pointer;
  padding: 5px 8px;
}
.ts-dropdown [data-selectable].active {
  background-color: #f5f5f5;
}
.ts-dropdown [data-selectable]:hover {
  background-color: #f0f0f0;
}

.ts-dropdown-content {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 200px;
  scroll-behavior: smooth;
}

/*# sourceMappingURL=main.css.map */
