/*
Theme Name:     Roomvo Child
Theme URI:      n/a
Template:       kadence
Author:         Roomvo
Author URI:     https://get.roomvo.com
Description:    Roomvo Child Theme
Version:        0.4.1
GitHub Theme URI: https://github.com/leaptools/roomvo-elite-site-theme
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

table tr.mbhi-is-current td{ background-color: #eeeeee; font-weight:bold;
  border-radius: 5px;
	padding: 10px 15px;
}

.mb-bhi-open{
  color:#18864B;
}

.mb-bhi-closed{
  color:#EA4235;
}

/* Custom Catalog */
.custom-catalog__filters .kb-query-label {
  padding-left: 0.5rem;
}

@media screen and (max-width: 767px) {
  .custom-catalog__filters {
    max-width: 100%!important;
    width: 100%!important;
    display: none;
  }

  .custom-catalog__filters--visible {
    display: block;
    background-color: #fff;
  }
}

.custom-catalog__filters .kb-radio-check-item {
  flex-flow: row-reverse;
  border-radius: 0.5rem;
  cursor: pointer;
  /* since we don't want sub categories, we need to make sure no offset is applied ever */
  margin-left: 0!important;
}

.kb-query-basic-style .kadence-filter-wrap .kb-radio-check-item {
  align-items: center!important;
}

.kb-query-basic-style .custom-catalog__filters .kadence-filter-wrap .kb-radio-check-item label {
  font-size: 1rem;
  display: flex;
  gap: 0.25rem;
  align-items: center;
  padding: 0.5rem;
}

.custom-catalog__filters .kb-radio-check-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.custom-catalog__filters .kb-radio-check-item > * {
  cursor: pointer;
}

.custom-catalog__filters .kadence-filter-wrap {
  display: flex;
  flex-grow: 1;
  flex-basis: 100%;
}

.custom-catalog__filters .kt-inside-inner-col {
  display: flex;
  gap: 1rem;
}

.custom-catalog__filters .checkbox-options {
  flex-grow: 1;
}

.kb-query-basic-style .custom-catalog__filters .kadence-filter-wrap input[type=checkbox] {
  aspect-ratio: 1/1;
  border-color: #000;
  margin-left: auto;
  width: 1rem;
}

.kb-query-basic-style .custom-catalog__filters .kadence-filter-wrap input[type=checkbox]:checked {
  border-color: var(--global-palette1, #3182CE);
  background-color: var(--global-palette1, #3182CE);
}

.wp-block-kadence-singlebtn.stimr-button {
  padding: 0.625rem 1rem!important;
}

.custom-catalog__card ul > li {
  display: flex;
  flex-direction: column;
}

.stimr-button-wrap {
  margin-top: auto!important;
}

/* Filter JS features */
.kb-query-basic-style .kadence-filter-wrap .custom-catalog__filters--hidden {
  display: none!important;
}

.custom-catalog__filters--overflow-button {
  background-color: transparent;
  color: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 16px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.5rem;
}

.custom-catalog__filters--overflow-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
  box-shadow: none;
  color: inherit;
}

/* reset filters button */
.kt-button.kb-query-filter-reset-button {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  width: 100%!important;
  justify-content: center!important;
  display: flex!important;
}

.custom-catalog-filter__image {
  border-radius: 0.25rem;
  margin-right: 1rem;
}

/* Pagination */
.custom-catalog__pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Ghost Button - Used for Clear Filters */
.ghost-button button {
  background-color: transparent!important;
  color: #000!important;
  font-weight: 400!important;
  text-decoration: underline;
}

.ghost-button button:hover,
.ghost-button button:active {
  background-color: rgba(0, 0, 0, 0.05)!important;
}

.clear-filters p {
  margin-bottom: 0.5rem;  
}

.custom-catalog__search-input {
  width: 100%;
  max-width: 17.5rem;
}

.custom-catalog__filter-button {
  border-color: rgb(203, 213, 224)!important;
  border-radius: 0.5rem!important;
  height: 100%;
  display: none!important;
  color: rgba(47, 51, 55, 0.7)!important;
}

@media screen and (max-width: 767px) {
  .custom-catalog__filter-button {
    display: flex!important;
  }
}

.custom-catalog__filter-button-amount:empty {
  display: none;
}

.custom-filters--close-button {
  border-color: rgb(203, 213, 224)!important;
  border-radius: 0.5rem!important;
  height: 40px;
  color: rgba(47, 51, 55, 0.7)!important;
}

.custom-catalog__filter-button .kb-svg-icon-wrap,
.custom-filters--close-button .kb-svg-icon-wrap {
  display: flex!important;
}

.custom-catalog__filter-button:hover,
.custom-catalog__filter-button:active {
  background-color: rgba(0, 0, 0, 0.05)!important;
  box-shadow: none;
}

.custom-filter__title-section {
  display: none;
}

@media screen and (max-width: 767px) {
  .custom-filter__title-section {
    display: block;
  }
}

.custom-filter__done {
  background-color: black!important;
}

@media screen and (min-width: 768px) {
  .custom-filter__done {
    display: none;
  }
}

.custom-filters__clear-filters {
  width: auto;
}

@media screen and (min-width: 768px) {
  .custom-filters__clear-filters {
    width: 100%;
  }
}

/* Query Layout Override Mobile */
@media screen and (max-width: 767px) {
  .custom-catalog__card .kb-query-grid-wrap {
    grid-template-columns: repeat(2, 1fr)!important;
  }
}

@media screen and (max-width: 500px) {
  .custom-catalog__card .kb-query-grid-wrap {
    grid-template-columns: repeat(1, 1fr)!important;
  }
}

/* Legend */

legend.kb-query-label {
  border-radius: 0.5rem;
  padding: 0.5rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-weight: 600!important;
}

legend.kb-query-label svg {
  transform: rotate(180deg);
  transition: all .1s ease-in;
}

.custom-catalog-filter__section--hidden svg {
  transform: rotate(0deg)!important;
}

legend.kb-query-label:hover {
  background-color: rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.checkbox-options {
  height: auto;
  overflow: hidden;
  interpolate-size: allow-keywords;
  visibility: visible;
  transition: all 0.5s ease-in;
  flex-wrap: nowrap!important;
}

.custom-catalog-filter__section--hidden ~ .checkbox-options {
  height: 0;
  visibility: hidden;
}

/* Bookmark */
.custom-catalog__item-boomark-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  fill: #FFF;
  padding: 0;
  height: 1.5rem;
  width: 1.5rem;
  top: 1rem;
  right: 1rem;
}

.custom-catalog__input-clear {
  position: absolute;
  right: 0;
  background-color: transparent;
  padding: 0;
  color: rgba(47, 51, 55, 0.7);
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.custom-catalog__input-clear:hover,
.custom-catalog__input-clear:focus {
  background-color: rgba(0, 0, 0, 0.05);
  box-shadow: none;
  color: rgba(47, 51, 55, 0.95);
}

.wp-block-kadence-query-filter-search .kb-filter-search-wrap .kb-filter-search-btn {
  left: 0!important;
  border-top-left-radius: 0.5rem!important;
  border-bottom-left-radius: 0.5rem!important;
  width: 2.5rem!important;
}

.wp-block-kadence-query-filter-search .kb-filter-search-wrap .kb-filter-search-btn svg {
  width: 1.5rem!important;
  height: 1.5rem!important;
  stroke-width: 1!important;
  stroke: rgba(47, 51, 55, 0.7);
  opacity: 0.4;
}

.wp-block-kadence-query-filter-search .kb-filter-search-wrap .kb-filter-search-btn:hover:not([disabled]) {
  background-color: rgba(0, 0, 0, 0.05);
}

.wp-block-kadence-query-filter-search .kb-filter-search-wrap .kb-filter-search-btn[disabled] {
  cursor: default;
}

.custom-catalog__search-input .kb-filter-search {
  color: rgb(47, 51, 55)!important;
  padding-left: 2.75rem!important;
  padding-right: 2.75rem!important;
}

.custom-catalog__search-input .kb-filter-search::placeholder {
  color: rgb(47, 51, 55)!important;
  opacity: 0.4!important;
}
