/*
Theme Name: Houzez Child
Theme URI: http://www.favethemes.com/
Author: Favethemes
Author URI: http://www.favethemes.com/
Description: Houzez Child Theme
Version: 1.6
Text Domain: houzez
Template: houzez
*/

/* ==========================================
   Houzez Child Theme Custom CSS
   Mobile advanced search fixes
   ========================================== */

@media (max-width: 767px) {

  .advanced-search-wrap,
  .houzez-search-wrap,
  .search-wrap-adv,
  .adv-search-mobile,
  .main-search-wrapper,
  .header-search-wrap {
    padding-bottom: 160px !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 20 !important;
  }

  .advanced-search-wrap .form-group:last-child,
  .houzez-search-wrap .form-group:last-child,
  .search-wrap-adv .form-group:last-child,
  .adv-search-mobile .form-group:last-child,
  .main-search-wrapper .form-group:last-child,
  .header-search-wrap .form-group:last-child {
    margin-bottom: 50px !important;
  }

  .flex-search.search-expandable-search-button.mb-2.p-0 {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin-top: 40px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    clear: both !important;
    z-index: 1 !important;
  }

  .flex-search.search-expandable-search-button.mb-2.p-0 .btn.btn-search.btn-secondary.w-100 {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    margin-top: 0 !important;
    z-index: 1 !important;
  }

  .advanced-search-wrap .form-group,
  .houzez-search-wrap .form-group,
  .search-wrap-adv .form-group,
  .adv-search-mobile .form-group,
  .main-search-wrapper .form-group,
  .header-search-wrap .form-group {
    position: relative !important;
    z-index: 5 !important;
  }

  .advanced-search-wrap .d-flex,
  .houzez-search-wrap .d-flex,
  .search-wrap-adv .d-flex,
  .adv-search-mobile .d-flex,
  .main-search-wrapper .d-flex,
  .header-search-wrap .d-flex {
    position: static !important;
  }

  .advanced-search-wrap input,
  .advanced-search-wrap select,
  .houzez-search-wrap input,
  .houzez-search-wrap select {
    min-height: 48px !important;
  }

  .advanced-search-wrap .form-group,
  .houzez-search-wrap .form-group {
    margin-bottom: 14px !important;
  }

  .bootstrap-select .dropdown-menu {
    position: absolute !important;
    z-index: 99999 !important;
    max-height: 260px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .select2-container--open .select2-dropdown {
    z-index: 99999 !important;
  }

  .advanced-search-wrap .row,
  .houzez-search-wrap .row,
  .search-wrap-adv .row,
  .adv-search-mobile .row {
    transform: none !important;
  }
}