#filetrsPanel {
  
  box-sizing: border-box;
}

#filetrsPanel * {

  box-sizing: border-box;
}

#modaotPageContainer {
  
  margin-bottom: 20px;
  
  h1 {
    
    font-size: 54px;
    margin: 0;
  }
}

.search-categories-panel {
  
  .no-active {
  
    pointer-events: none;
    cursor: auto;
  }
  
  ul {
    
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    margin-bottom: 10px;
    gap: 4px;
    overflow-x: auto;
    
    li {
    
      position: relative;
      
      .stamp {
        
        position: absolute;
        top: 5px;
        transform: rotate(-45deg);
        inset-inline-end: -15px;
        display: block;
        border-block: 1px solid;
        background: white;
        padding: 0 4px;
      }
    }
    
    a {
  
      display: block; 
      border: 0; 
      background: #ECEFF1; 
      height: 36px; 
      padding: 9px 25px; 
      cursor: pointer; 
      font-size: 14px; 
      color: #000; 
      border-radius: 100vh; 
      transition: 250ms; 
      text-decoration: none; 
      min-width: 110px; 
      white-space: nowrap;
      
      /*&:hover {*/
        
      /*  background: rgb(250 250 250);*/
      /*}*/
      
      &.selected {
        
        background: #455A64; 
        color: white; 
      }
    }
  }
}


.filetrsPanelWrapper {
  position: relative;
  z-index: 1;
  width: 100dvw;
  margin-inline-start: calc(-50dvw + 50%);
  padding: 40px 10px;
  box-sizing: border-box;
  border-bottom: 1px solid color-mix(in lab, black, white 96%);
  margin-top: -20px;
  
  background-repeat: no-repeat;
  background-position: 50% 25%;
  isolation: isolate;
  background-image: url(/media/images/background/homeBackground-3.jpg);
}

#filetrsPanel {
  
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  width: 100%;

  > div {
  
    flex: none;
  
    .fa-loader {
      
      position: absolute;
      top: 50%;
      inset-inline-end: 14px;
      translate: 0 -50%;
      background: var(--color10);
      z-index: 1;
      pointer-events: none;
    } 
  }

  
  #locationSearchResults:not(:empty) {
    
    position: absolute;
    background: #fff;
    outline: 2px solid var(--colorInputBorder, #a7bed9);
    border-radius: 30px;
    z-index: 100;
    padding: 0;
    padding-top: 60px;
    list-style-type: none;
    overflow: hidden;
    font-size: 14px;
    top: 0;
    inset-inline: 0;
    z-index: 1;
    
    .locationSelectWrapper {
      
      display: flex;
      flex-flow: column;
      align-items: start;
      position: relative;
                  
      .locationSelect {
        
        > span {
          
          pointer-events: none;
        }
        
        &:after {
          
          content: '';
          position: absolute;
          inset: 0;
        }
        
        &:hover {

          &:after {
          
            background: rgb(0 0 0 / .05); 
          }
        }
        
        &.selected {

          &:after {
          
            background: rgb(0 0 0 / .05); 
          }
        }

      }
      
      .locationAreaName {
        
        font-size: 11px;
        color: rgb(96, 96, 96);
      }
      
    }
    
    > div {
      
      overflow: hidden;
      overflow-y: auto;
      max-height: 60vh;
      min-width: 250px;
    }

    .locationCategoryTitle,
    .locationSelectWrapper {
    
      padding: 10px 45px;
      text-decoration: none;
      display: flex;
      line-height: 1.4;
      min-height: 30px;
      font-size: inherit;
      border-bottom: 1px solid #BDCEE3;
      color: inherit;
      

      mark {
        
        background: none;
        font-weight: bold;
      }
    }
    
    .locationCategoryTitle {
      
      color: #4787ed;
      border-bottom: 1px solid #4787ed;
      background: rgb(71 135 237 / .05);
      min-height: 30px;
      padding: 5px 45px;
      cursor: auto;
      
      &:first-child {
        
        border-top: 1px solid var(--colorInputBorder, #a7bed9)
      }
    }
  }
  
  .locationSearchfiled {
    
    position: relative; 
    
    > .fa-location-dot{
      
      pointer-events: none;
      position: absolute;
      top: 50%;
      z-index: 20;
      inset-inline-start: 25px;
      translate: 0 -50%;

    }
    
    .fa-loader {
      
      pointer-events: none;
      position: absolute;
      top: 50%;
      z-index: 1;
      inset-inline-end: 15px;
      translate: 0 -50%;
    }
  }

 .filterHistoryButton {
    
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100vh;
    background: white;
    border: 1px solid rgb(0 0 0 / .2);
    
    &:hover {
      
      background: var(--backgroundButton, rgb(250 250 250));
    }
  }

  .filterList {
    
    &[data-type="location"]  {
      
      position: relative;
      flex: 1;
      
      #locationSearch {
        
        position: relative;
        z-index: 10;
      }
    } 

    .search {
      
      padding-inline: 45px 60px;
      margin-inline: 1px;
      border-radius: 100vh ;
      border: 0;
      height: 60px;
    }
    
    &:focus-within {
      
      .filterHeader {
        
        outline: 2px solid rgb(0 0 0 / .2);
        outline-offset: -2px;
      }
    }
    
  }
  
  .filterHeader {
    
    position: relative;
    outline: 0;
    background: white;
    border: 1px solid rgb(0 0 0 / .2);
    border-radius: 100vh;
    padding: 5px 20px;
    padding-inline-end: 40px;
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    white-space: nowrap;
    text-transform: capitalize;
    justify-content: center;
    
    &:after {
      
      content: '\f107';
      font-family: "Font Awesome 6 Pro";
      font-weight: 300;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      inset-inline-end: 15px;
      margin: 0;
    }
    
    .counter {
    
      background: rgb(71 135 237 / .5);
      min-width: 20px;
      min-height: 20px;
      border-radius: 100vh;
      font-size: 11px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
    }
  }

  &::-webkit-scrollbar {
  
    display: none;
  }
}

.filetrsPanelContainer {
  
  position: relative;
  z-index: 110;
  max-width: 640px;
  margin: auto;
  background: rgba(255, 255, 255, 0.15); 
  backdrop-filter: blur(4px) saturate(180%); 
  -webkit-backdrop-filter: blur(4px) saturate(180%); 
  border-radius: 25px;
  border: 1px solid rgb(255 255 255);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 12px;
  
  hr {
    
    border: 0;
    height: 1px;
    background: #b0bec5b5;
    display: block;
    margin-block: 10px;
    margin-inline: -12px;
  }
}

.filetrsPanelContainer > form {

  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  
  .searchIcone {
    
    display: none;
  }
 
  .searchButtonWrapper {
    
    position: absolute;
    top: 50%;
    inset-inline-end: 4px;  
    translate: 0 -50%;
    z-index: 10;
    
    button {
    
      height: 50px;
      width: 50px;
      padding: 0;
      min-width: auto;
    }
  }
}


.filterSelect {
    
  position: absolute;
  background: #fff;
  border: 1px solid var(--colorInputBorder, #A7BED9);
  border-radius: 10px;
  z-index: 100;
  padding: 0;
  margin: 10px 0;
  list-style-type: none;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  max-height: 70vh;
  min-width: 200px;
  font-size: 14px;
  
  .realEstateCategorisList {
    
    a {
      
      color: inherit;
    }
    
    
    li {
      
      position: relative;
    }
    
    .selected {
      
      &:after {

        content: "\f00c";
        font-family: 'Font Awesome 6 Pro';
        position: absolute;
        top: 50%;
        translate: 0 -50%;
        inset-inline-end: 20px;
        color: #2196f3;
      } 
    }
  }
  
  .propertyCategorisList {
    
    padding: 20px;
    display: flex;
    flex-flow: row wrap;
    gap: 10px;
    width: 360px;
    
    input[type="checkbox"] + label:not(.wtf) {
      
      border: 1px solid rgb(0 0 0 / .2);
      border-radius: 5px;
      padding: 5px 10px;
      cursor: pointer;
      
      &:hover {
        
        color: #4787ed;
        border-color: #4787ed;    
      }
      
      &:before {
        
        content : none;
      }
      
      &:after {
        
        content : none;
      }
    }
    
    input[type="checkbox"]:checked + label:not(.wtf) {
      
      color: #4787ed;
      border-color: #4787ed; 
      background:  rgb(71 135 237 /.05 );
    }
  }
  
  .filterSelectPanel {
    
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-top: 1px solid rgb(0 0 0 / .2);
  }
  
  .filterSearch {
    
    padding: 20px;
    padding-bottom: 10px;
  }
  
  ul {
  
    margin: 0;
    padding: 0;
    list-style-type: none;
  }
          
  [role="button"] {
    
    padding: 10px 20px;
    text-decoration: none;
    display: flex;
    line-height: 1.4;
    min-height: 40px;
    align-items: center;
    font-size: inherit;
    border-bottom: 1px solid #BDCEE3;
    color: inherit;  
    
    &:hover {
      
      color: inherit;  
      background: rgb(0 0 0 / .05);
    }
  }
  
  li:last-child {
    
    [role="button"] {
      
      border-bottom: 0;
    }  
  }
}

#filetrsPanel .filterList.active .filterSelect {
  
  display: block;
  opacity: 1;
  visibility: visible;
  height: auto;
  transform: translateY(0);
  transition: 150ms;
}

#filetrsPanel  {
  
  .filterList {
    
    #locationSearchResults {
        
        transition: opacity  0ms, visibility 250ms;
        position: absolute;
        opacity: 0;
        visibility: hidden;
      }
    
    &:focus, &:focus-visible, &:focus-within  {
      
      .search {
        
        outline: 2px solid var(--colorInputBorder, #a7bed9);
      }
    
      &:has(#locationSearchResults:not(:empty)) .search {
        
        border: 0;
        outline: 0;
        background: none;
      }
    
      #locationSearchResults {
        
        opacity: 1;
        visibility: visible;
      }
    }
  }
  
}

#bannerLogosAds {
  
  display: flex;
  overflow-x: auto;
  padding-block: 40px;
  margin: auto;
  justify-content: space-evenly;
  align-items: center;
  gap: 10px;
  max-width: 850px;
  
  .imageWrapper {
    
    max-width: 120px;
    flex: 1;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 1px 2px 4px 1px rgba(0, 0, 0, .14);
    background: #ffffff;
    transition: 150ms;
    
    img {
  
      width: 100%;
      height: 100%;
      object-fit: contain;
      mix-blend-mode: darken;
    }
  }
}


#lastSearchesTab {

  .tabsList {
    
    font-size: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 10px;
    
    .tab {
          
      .tabTitle {
        
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        min-height: 36px;
        pointer-events: none;
        margin-bottom: 10px;
        
        h2 {
        
          font-size: inherit;
          font-size: 1.17em;
          padding: 0;
          margin: 0;
          font-weight: bold;
        }   
      }
    }
    
    .tagBoby {
    
      position: relative;
      padding-block: 10px 37px;
      border-radius: 10px;
      border: 1px solid rgba(0, 0, 0, 0.12);
      background: var(--colorWhite);
      box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.12);
      overflow: hidden;
      transition: 250ms;
      
      &:hover {

        box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.25);
      }
      
      ul {
        
        padding: 0;
        margin: 0;
        list-style: none;
      }
      
      li {
        
        position: relative;
        display: flex;
        align-items: center;
        height: 36px;
        font-size: 14px;
      }
      
      a {
        
        display: block;
        padding: 10px;
        text-decoration: none;
        color: inherit;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
        width: 100%;
        text-align: start;
        font-size: inherit;
        
        &:hover {
        
          background: rgba(0, 0, 0, .05);
        }
      }
    }
  }

}

@media screen and (max-width: 767px) {
  
  #modaotPageContainer {
    
    h1 {
      
      font-size: 40px;
      margin: 0;
    }
  }
}