/* avada/fusion overrides */

.page-template-category-page #main {
  padding-left: 0px !important;
  padding-bottom: 0px !important;
  padding-right: 0px !important;
}

.page-template-category-page #main .fusion-row {
	max-width: none;
}

.page-template-category-page .full-width {
  width: 100%;
}

/* container styles */

.vw-places-category-filter {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px 20px;
}

.vw-places-amenities-key {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.amenity {
  display: flex;
  gap: 15px;
  align-items: center;
}

.amenity .amenity-icon {
  display: flex;
  width: 20px;
}

.amenity .amenity-icon svg {
  width: 100%;
  height: auto;
  fill: var(--amenities-icon-color);
}

.vw-places-top-container {
  display: flex;
  gap: 25px;
  flex-direction: column;
}

.vw-sidebar {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.tab-content {
  width: 100%;
  animation: fadeEffect 1s;
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.vw-places-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* view tabs */

.vw-tab-bar {
  display: flex;
  border: 2px solid var(--tab-background-color-active);
}

.vw-tab-bar__link {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  background-color: white;
  color: var(--tab-background-color-active);
  border: 0px;
  outline: none;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--awb-custom_typography_1-font-family);
  font-size: 1rem;
}

.vw-tab-bar__link svg {
  width: 20px;
  height: 20px;
  fill: var(--tab-background-color-active);
}

.vw-tab-bar__link.active {
  background-color: var(--tab-background-color-active);
  color: white;
}

.vw-tab-bar__link.active svg {
  fill: white;
}

/* filter sidebar */

.vw-sidebar-filter {
  background-color: var(--filter-options-background-color);
  padding: 20px 24px;
}

.vw-sidebar-filter .vw-sidebar__header {
  text-transform: uppercase;
  color: var(--filter-options-heading-text-color);
  font-family: var(--awb-custom_typography_1-font-family);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.vw-places-filter__options {
  display: flex;
  flex-direction: column;
  font-size: 20px;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
}

.place-category-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* custom checkboxes */

.place-category-option input[type='checkbox'] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.place-category-option .checkmark {
  background-color: white;
  font-size: 12px;
  padding: 3px;
  border: 1px solid #83868A;
  border-radius: 3px;
  line-height: 1;
  height: 20px;
  width: 20px;
}

.place-category-option .checkmark i {
  display: none;
  fill: white;
}

.place-category-option input[type='checkbox']:checked ~ .checkmark {
  background-color: var(--filter-options-checkbox-color);
  border-color: var(--filter-options-checkbox-color);
}

.place-category-option input[type='checkbox']:checked ~ .checkmark i {
  display: flex;
}

/* filter options toggle */

.vwToggle {
  width: 25px;
  height: 15px;
  cursor: pointer;
  position: relative;
}

.vwToggle:before,
.vwToggle:after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 5px;
  position: absolute;
  top: 7px;
  transition: transform .5s;
  background-color: var(--filter-options-heading-text-color);
}

.vwToggle:before {
  right: 10px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  transform: rotate(45deg);
}

.vwToggle:after {
  right: 2px;
  transform: rotate(-45deg);
}

.vwToggle.active:before {
  transform: rotate(-45deg);
}

.vwToggle.active:after {
  transform: rotate(45deg);
}

/* pagination */

.vw-pagination {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.vw-pagination__prev,
.vw-pagination__next {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  padding: 0px;
  border: 0px;
  outline: none;
  background-color: transparent;
  font-family: var(--awb-custom_typography_1-font-family);
  font-size: 1rem;
  font-weight: 700;
  color: var(--tab-arrows-color);
  cursor: pointer;
}

.vw-pagination button svg {
  fill: var(--tab-arrows-color);
  width: .75rem;
}

.vw-pagination__text {
  flex: 1;
  text-align: center;
  color: #666666;
  font-size: 1.25rem;
}

/* posts/query results */

.vw-posts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.vw-posts__results {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* places filter article */

.places-filter-article {
  display: flex;
  gap: 15px;
  flex-direction: column;
}

.place-filter-article-top {
  display: flex;
  flex-direction: row;
  gap: 15px;
  width: 100%;
}

.article__thumbnail-image {
  background-color: #666666;
  height: 100px;
  width: 100px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.article__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.article__header {
  display: flex;
  flex-direction: column;
}

.article__header h3 {
  margin: 0px;
}

.article__amenities {
  display: flex;
  gap: 10px;
}

.article__amenities .amenity {
  width: 20px;
}

.article__amenities .amenity svg {
  width: 100%;
  height: auto;
  fill: var(--amenities-icon-color);
}

.place-content-container p {
  margin-top: 0px;
  margin-bottom: .25rem;
  line-height: 1.25;
}

.place-action-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  column-gap: 35px;
  flex-wrap: wrap;
}

.place-action-buttons.desktop {
  display: none;
}

.primary-action-buttons {
  display: flex;
  gap: 35px;
}

.place-action-button {
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--awb-custom_typography_1-font-family);
  font-size: 12px;
}

/* view details button */

.view-details-button {
  color: var(--details-button-text-color);
}

.view-details-button:hover {
  color: var(--details-button-text-color-hover);
}

/* website button */

.website-button {
  color: var(--website-button-text-color);
}

.website-button:hover {
  color: var(--website-button-text-color-hover);
}

/* call now button */

.call-now-button {
  color: var(--call-now-button-text-color);
}

.call-now-button:hover {
  color: var(--call-now-button-text-color-hover);
}

/* add to plan button */

.vw-api-button.place-action-button {
  color: var(--add-to-plan-button-text-color);
  font-size: var(--body_typography-font-size);
  border: 0px;
  padding: 0px;
  background-color: white;
}

.vw-api-button.place-action-button:hover {
  color: var(--add-to-plan-button-text-color-hover);
}

/* tablet styles */
@media screen and (min-width: 768px) {
  .vw-places-amenities-key {
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 25px;
  }

  .vw-places-amenities-key .amenity {
    width: 24%;
    gap: 10px;
  }

  .tab-content,
  .vw-posts {
    flex: 1;
  }

  .vw-posts {
    gap: 25px;
  }

  .vw-posts__results {
    gap: 35px;
  }

  .places-filter-article {
    flex-direction: row;
    gap: 25px;
  }

  .places-filter-article .article__header {
    flex-direction: row;
    justify-content: space-between;
  }

  .article__thumbnail-image {
    height: 135px;
    width: 135px;
  }

  .place-action-buttons.desktop {
    display: flex;
  }

  .place-action-buttons.mobile {
    display: none;
  }

  .place-action-button {
    font-size: 16px;
  }

  .vw-api-button.place-action-button {
    font-size: 1.25rem;
  }
}

/* desktop styles */
@media screen and (min-width: 992px) {
  .vw-places-top-container {
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
  }

  .vw-tab-bar {
    width: 100%;
  }

  .vw-places-category-filter {
    align-items: flex-start;
    padding-top: 56px;
    padding-bottom: 56px;
    width: 1128px;
    margin: auto;
  }

  .vw-places-list {
    flex-direction: row;
    align-items: flex-start;
    gap: 25px;
  }

  .vw-sidebar {
    position: sticky;
    top: var(--filter-options-top-offset);
    width: 25%;
    max-width: 300px;
  }

  .vw-places-filter__options {
    display: flex !important;
  }

  .vwToggle {
    display: none;
  }
}