/* Searchform */

#ic-qsBTN {
  font-family: "Manrope", sans-serif;
  display: none;
  text-align: center;
  width: 100%;
  height: 4.4rem;
  padding: 0 2rem;
  border: 1px solid #2c2c2c;
  background: #2c2c2c;
  color: #fff;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.8px;
}

#wrapSearchForm #ic-qsBTN {
  font-family: "Manrope", sans-serif;
  display: none;
  text-align: center;
  width: 100%;
  height: 4.4rem;
  padding: 0 2rem;
  border: 1px solid #f5f0ea;
  background: #f5f0ea;
  color: #2c2c2c;
  text-align: center;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.8px;
}
#ic-searchform {
  /*   display: none; */
  width: 100%;
  margin: 0 auto;
  z-index: 5;
  padding: 1.2rem 4rem 1.2rem 3rem;
  background-color: var(--color-beige);
}
#ic-homeGallery + #ic-searchform {
  margin-top: -3.1rem;
  max-width: 140rem;
}

#ic-searchform.fadeIn {
  z-index: 1000000;
}

#ic-searchform form {
  position: relative;
}
.saleFlagSelector {
  margin: 0;
  padding: 0;
  position: absolute;
  top: -6.7rem;
  left: -2rem;
  display: flex;
  flex-flow: row wrap;
  align-items: flex-end;
  justify-content: flex-start;
}
#ic-headerSpacer + #ic-searchform .saleFlagSelector {
  top: auto;
  bottom: -6.7rem;
}
.saleFlagSelector li {
  padding: 0;
}
.saleFlagSelector li::before {
  display: none;
}
.saleFlagSelector a {
  display: block;
  color: #fff;
  background: #000;
  padding: 1.2rem 2rem 1rem;
  font-family: "Oswald";
  text-transform: uppercase;
  font-size: 0.9em;
  line-height: 1;
}
.saleFlagSelector a.active {
  color: #000;
  background: #e2dad1;
}
.ic-qsFieldset {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3rem;
  justify-content: space-between;
}
.ic-QSitem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 23rem;
  padding: 0;
}
.ic-QSitem.bedroom {
  width: 17rem;
}
.ic-QSitem.ic-reference {
  width: 33rem;
}
.ic-QSitem.ic-QSprice {
  width: 23rem;
}
.ic-QSitem.ic-reference input {
  font-size: 0.9em;
}
#ic-filter-button {
  position: relative;
  display: block;
  text-align: right;
  font-size: 0.85em;
  font-weight: 700;
  padding: 0 0.4rem 0 0;
  color: #999;
  cursor: pointer;
  transition: all 0.3s linear;
}
#ic-filter-button:hover {
  color: #000;
}

#ic-closeBTN,
input.ic-submitXS {
  display: none;
}
#ic-closeQS,
#ic-closeBTN {
  position: absolute;
  bottom: 0.5rem;
  right: 0;
  width: 3rem;
  height: 3rem;
  z-index: 0;
}
#ic-closeBTN {
  bottom: auto;
  top: 4rem;
  right: 2rem;
  width: 2.5rem;
  height: 2.5rem;
}
#ic-closeQS.ic-XSclose::before,
#ic-closeQS.ic-XSclose::after,
#ic-closeBTN.ic-XSclose::after,
#ic-closeBTN.ic-XSclose::before,
#ic-closeQS.ic-XSclose:hover::before,
#ic-closeQS.ic-XSclose:hover::after,
#ic-closeBTN.ic-XSclose:hover::after,
#ic-closeBTN.ic-XSclose:hover::before {
  background: #000;
}

#ic-logoQS {
  display: none;
}

/* Empty page searchform */
#ic-emptyPage + #ic-innerQS #ic-searchform {
  background: transparent;
}
#ic-emptyPage + #ic-innerQS #ic-searchform > div {
  background: #e2dad1;
  max-width: 70rem;
  margin-bottom: 6rem;
  padding: 4rem;
  margin-top: 3rem;
}
#ic-emptyPage + #ic-innerQS .ic-QSitem {
  flex: 1 100%;
  max-width: none;
  padding: 0;
  margin-bottom: 1.5rem;
}
#ic-emptyPage + #ic-innerQS .ic-QSitem.ic-QSprice {
  flex: 1 49%;
  max-width: 49%;
  padding: 0;
  margin: 0 0 1.5rem;
}
#ic-emptyPage + #ic-innerQS .ic-lightBTN {
  flex: 1 100%;
  max-width: 100%;
  font-size: 1.2em;
  padding: 0 0.5rem;
  line-height: 5.8rem;
}
#ic-emptyPage + #ic-innerQS .multiselect .caption {
  height: 5.5rem;
}
#ic-emptyPage + #ic-innerQS .multiselect .caption:after {
  top: 2rem;
  right: 2.2rem;
}
#ic-emptyPage + #ic-innerQS .multiselect .caption .text {
  line-height: 5.5rem;
}
#ic-emptyPage + #ic-innerQS .smartBar input.smartAreaSearch {
  height: 5.5rem;
  line-height: 5.5rem;
}
#ic-qsBTN.fixed {
  position: fixed;
  bottom: 0rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 100%;
}
#qsBTN-sentinel {
  height: 1px;
}
/* ------ RESPONSIVE ------ */

@media only screen and (max-width: 1100px) {
  .ic-qsFieldset {
    justify-content: center;
  }
  .ic-QSitem.ic-reference {
    width: 26rem;
  }
}
@media only screen and (max-width: 1000px) {
  #ic-emptyPage + #ic-innerQS #ic-searchform {
    display: block;
    position: relative;
    top: auto;
    width: auto;
    height: auto;
    background: transparent;
  }
  #ic-searchform {
    background-color: #fff;
  }
  #ic-emptyPage + #ic-innerQS #ic-qsBTN,
  #ic-emptyPage + #ic-innerQS #ic-qsHeader {
    display: none;
  }
  #ic-emptyPage + #ic-innerQS #ic-searchform form {
    display: flex;
  }
  #wrapSearchForm #ic-searchform {
    padding: 0;
  }
  #ic-searchform {
    display: block;
    height: auto;
    padding: 4rem 2rem;
  }
  #wrapSearchForm #ic-qsBTN span svg path {
    fill: #000;
  }
  #ic-qsBTN span {
    padding-top: 0.7rem;
  }
  .ic-qsFieldset {
    display: flex;
    flex-direction: column;
  }
  #ic-moreQS,
  #ic-closeBTN,
  #ic-logoQS {
    display: flex;
    cursor: pointer;
  }
  #ic-closeBTN {
    width: 3.5rem;
    height: 3.5rem;
  }
  #wrapSearchForm #ic-qsBTN,
  #ic-qsBTN {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
  }
  #ic-logoQS h1 {
    color: #000;
  }
  #ic-searchform > div {
    display: none;
    position: fixed;
    background: #f5f0ea;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 3rem 2rem 2rem;
    overflow-y: auto;
    z-index: 1000;
  }
  #ic-searchform form {
    margin-top: 10rem;
  }
  .ic-QSitem,
  .ic-QSitem.ic-QSprice,
  .ic-QSitem.ic-reference,
  #ic-moreQS > div > div,
  #ic-searchform .ic-button {
    display: block;
    width: 100%;
  }
  .ic-QSitem,
  .ic-QSitem.ic-QSprice,
  .ic-QSitem.ic-reference {
    background: #fff;
    padding: 0 1rem;
  }
  #ic-closeQS,
  input.ic-submitXL,
  #ic-filter-button {
    display: none;
  }

  .saleFlagSelector {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 40rem;
    margin: 0 auto 1.5rem;
  }
  .saleFlagSelector li {
    margin-right: 1.5rem;
  }
  .saleFlagSelector a {
    font-size: 1em;
    padding: 1.5rem 2rem;
  }
  .saleFlagSelector a.active {
    background: #fff;
  }
}
@media only screen and (max-width: 800px) {
  .ic-qsFieldset {
    gap: 4rem;
  }
}
