/** Search Filter */
.search .filter h2 {
  font-size: 1.1em;
  color: #fff;
  padding-top: 1em;
}

.search .filter .filter-wrapper {
  background: linear-gradient(82deg, #3EA8B8 0%, #3EA8B8 47%, #004A97 100%) 0% 0%;
  border-radius: 2em;
  padding: 1em;
}

.search .filter .search-form.active .search-suggest {
  opacity: 1;
  max-height: 22em;
}

.search .filter .search-suggest {
  background: rgba(245, 245, 245, .95);
  box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
  border-radius: 0 0 1.25em 1.25em;
  position: absolute;
  z-index: 1;
  opacity: 0;
  left: 0;
  right: 0;
  top: 2em;
  transition: 0.5s;
  max-height: 0;
  overflow: hidden;
}

.search .filter .search-suggest .scroll-y {
  padding: 3.5em 1.5em 1em;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 22em;
}

.search .filter .search-suggest li {
  margin-bottom: .5em;
}

.search .filter .search-input {
  width: 100%;
  border-radius: 3em;
  padding: 1em 2.8em 1em 1em;
  border: 0;
  font-size: 1em;
  outline: none;
  position: relative;
  z-index: 2;
  transition: 0.3s;
}

.search .filter .search-form.active .search-input {
  box-shadow: 0px 3px 15px #989A9B
}

.search .filter .search-input::placeholder {
  color: rgba(137, 136, 136, .63);
}

.search .filter .icon-search {
  position: absolute;
  top: 0;
  right: 1em;
  bottom: 0;
  background: transparent;
  z-index: 2;
  line-height: 4em;
}

.search .filter .fa-magnifying-glass {
  font-size: 1.7em;
  color: rgba(137, 136, 136, .63);
}

.search .filter .btn-search {
  min-width: 15em;
  color: #fafafa;
  border-radius: 1.5em;
  display: inline-block;
  text-align: center;
  margin: 0 auto;
  padding: 0.78em 0.2em;
  font-weight: 400;
  transition: 0.3s;
  background: linear-gradient(180deg, #3EA8B8 0%, #1D72A5 100%);
}

.search .filter .btn-search:active,
.search .filter .btn-search:hover {
  color: #fafafa;
}

.search .filter .dropdown-toggle {
  background-color: transparent;
  border-bottom: 1px solid #fff;
  display: block;
  color: #fff;
  width: 100%;
  text-align: left;
  padding: 0 3em .5em 0;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.search .filter .dropdown-toggle::after {
  font-family: "Font Awesome 6 Free";
  content: "\f078";
  line-height: 1;
  font-weight: 900;
  border: 0;
  position: absolute;
  right: 0;
  border-left: 1px solid #fff;
  padding: .5em .8em;
  top: .5em;
  bottom: 0;
  font-size: 1.1em;
}

.search .filter .dropdown-toggle::before,
.search .filter .dropdown-menu h3::before {
  content: '';
  width: 3em;
  height: 3em;
  margin-right: 0.5em;
  display: inline-block;
}

.search .filter .group-type::before {
  background: url(https://webbackend.mqdc.com/assets/190ea5d3-1be7-4a1b-8733-bda589df1024) no-repeat center / contain;
}

.search .filter .group-location::before {
  background: url(https://webbackend.mqdc.com/assets/3fc7b872-0a55-4510-b267-187a7ff6adc0) no-repeat center / contain;
}

.search .filter .group-price::before {
  background: url(https://webbackend.mqdc.com/assets/c9f99073-009f-4825-b8f8-84d356d5b7f6) no-repeat center / contain;
}

.search .filter .group-status::before {
  background: url(https://webbackend.mqdc.com/assets/1d6fe655-87bc-43f4-bfeb-c98712c389e5) no-repeat center / contain;
}

.search .filter .dropdown-menu {
  border-radius: 0;
  padding: 0;
  background: linear-gradient(24deg, #3EA8B8 0%, #3EA8B8 47%, #004A97 100%);
}

.search .filter .dropdown-menu h3 {
  font-size: 1em;
  color: #fff;
  font-weight: 400;
  display: flex;
  align-items: center;
}

.search .filter .modal-dialog {
  margin: 0;
  padding: 1em;
  max-width: none;
}

.search .filter .modal-content {
  background-color: transparent;
  border-radius: 0;
  border: 0;
}

.search .filter .modal-header {
  color: #fff;
  padding-left: 0;
  padding-right: 3.5em;
  font-size: 1.1em;
  font-weight: 500;
  border: 0;
}

.search .filter .modal-body {
  padding: 0;
}

.search .filter .dropdown-menu ul {
  background-color: #F5F5F5;
  border-radius: 1.1em;
  padding: 1.2em;
}

.search .filter .dropdown-menu li {
  display: flex;
  align-items: baseline;
}

.search .filter .btn-confirm {
  color: #fff;
  border-radius: 3em;
  padding: 1em;
  background: linear-gradient(180deg, #18ACC3 0%, #004A97 100%);
}

.search .filter .selected-filter {
  border-radius: 0 0 2em 2em;
  background-color: #ddddde;
  position: relative;
  margin-bottom: 5em;
  overflow: hidden;
  max-height: 0;
}

.search .filter .selected-filter .tag-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1em;
}

.search .filter .selected-filter.active {
  padding: 1.5em 1em;
  max-height: none;
  overflow: visible;
}

.search .filter .selected-filter.active::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  height: 2em;
  top: -2em;
  background-color: #ddddde;
}

.search .filter .filter-tag {
  background-color: #fafafa;
  padding: .8em;
  border-radius: 2em;
  display: inline-flex;
  justify-content: space-between;
}

.search .filter .filter-tag .fa-xmark {
  color: var(--softblue);
  cursor: pointer;
  width: 1.5em;
  height: 1.5em;
  line-height: 1.5em;
  display: block;
  text-align: center;
  background: transparent;
}

@media screen and (min-width: 768px) {
  .search .filter .selected-filter.active {
    padding-top: 2em;
    padding-bottom: 2em;
  }

  .search .filter .selected-filter .tag-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (min-width: 992px) {
  .search .filter h2 {
    font-size: 1.7em;
  }

  .search .filter .dropdown-toggle {
    padding-right: 2.2em;
  }

  .search .filter .dropdown-toggle::before {
    margin-right: 0;
  }

  .search .filter .dropdown-toggle::after {
    padding-left: .5em;
    padding-right: .5em;
  }

  .search .filter .dropdown-menu.show {
    display: block !important;
  }

  .search .filter .dropdown-menu {
    right: 0 !important;
    background: #F5F5F5;
    border-radius: 0 0 1em 1em;
    box-shadow: 0px 6px 6px rgba(0, 0, 0, .16);
    margin-top: -2px !important;
    border: 0;
    z-index: 2;
    height: auto;
  }

  .search .filter .dropdown-menu .modal-header,
  .search .filter .btn-confirm {
    display: none;
  }

  .search .filter .dropdown-menu h3::before {
    content: none;
  }

  .search .filter .dropdown-menu h3 {
    font-size: .9em;
    color: var(--softblue);
  }

  .search .filter .dropdown-menu ul {
    font-size: .9em;
    color: var(--darkgray);
    padding: 0;
  }
}

@media screen and (min-width: 1200px) {
  .search .filter .filter-wrapper {
    padding-left: 5%;
    padding-right: 5%;
    border-radius: 3em;
  }

  .search .filter .dropdown-toggle {
    padding-right: 3em;
  }

  .search .filter .dropdown-toggle::before {
    margin-right: 0.5em;
  }

  .search .filter .dropdown-toggle::after {
    padding-left: .8em;
    padding-right: .8em;
  }

  .search .filter .selected-filter {
    border-radius: 0 0 3em 3em;
  }

  .search .filter .selected-filter .tag-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .search .filter .selected-filter.active::before {
    height: 3em;
    top: -3em;
  }
}

@media screen and (min-width: 1400px) {
  .search .filter .filter-wrapper {
    padding-left: 10%;
    padding-right: 10%;
  }

  .search .filter .selected-filter.active {
    padding-left: 8%;
    padding-right: 8%;
  }
}

#selectedFilter button[type="submit"] {
  display: none;
}

/** Project Result */
.search .result {
  background: #fff linear-gradient(180deg, rgba(169, 209, 224, 0.63) 0%, rgba(245, 254, 255, 0.63) 36%, rgba(221, 246, 252, 0.63) 68%, rgba(237, 247, 253, 0.93) 90%, rgb(255, 255, 255) 100%) 0% 0%;
  padding: 2em 0;
}

/** Search Project list Begin */
.search .result .list .project {
  margin-bottom: 1em;
}

.search .result .list .project>.row {
  transition: 0.3s;
  border-radius: 0.63em;
  overflow: hidden;
  background-color: #fff;
  position: relative;
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
}

.search .result .list .project-l {
  display: flex;
  align-items: center;
}

.search .result .list .project-image {
  position: relative;
  display: block;
  aspect-ratio: 3/4;
  flex: 1 1 auto;
}

.search .result .list .project-image img {
  height: 100%;
  max-width: none;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.search .result .list .project-topic {
  align-items: center;
  color: #fff;
  transition: 0.3s;
  padding: 0.5rem;
  min-height: 40%;
  background-color: var(--darkgray);
}

.search .result .list .project-topic img {
  height: 2.75em;
  max-width: 4.3em;
  width: auto;
  object-fit: contain;
}

.search .result .list .project-name {
  font-size: 0.98em;
  margin-bottom: 0;
  padding-right: 0.7em;
}

.search .result .list .project-name a {
  color: #fff;
  font-weight: 400;
}

.search .result .list .project-info p:first-child,
.search .result .list .project-info li,
.search .result .list .btn-project-view span,
.search .result .list .btn-project-regist {
  display: none;
}

.search .result .list .project-tags {
  display: flex;
  flex-wrap: wrap;
}

.search .result .list .project-tags,
.search .result .list .project-info {
  margin: 0.5rem;
}

.search .result .list .project-tags span {
  font-size: 0.62em;
  padding: 0.2rem 0.6rem;
  font-weight: 300;
  background-color: var(--softblue);
  border-radius: 1rem;
  display: inline-block;
  color: #fff;
  margin: 0 2px 4px;
}

.search .result .list .project-info {
  font-size: 0.8em;
}

.search .result .list .project-info ul {
  padding-left: 1.8rem;
  margin-bottom: 0.5rem;
}

.search .result .list .project-info li {
  color: #898888;
  margin-bottom: 0.4em;
}

.search .result .list .project-info li:first-child {
  display: block;
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"%3E%3Cg%3E%3Cpath d="M0,0H16.5V16.5H0Z" fill="rgba(0,0,0,0)"/%3E%3Cpath d="M19.125,15.4a2.063,2.063,0,1,1-2.063-2.063A2.063,2.063,0,0,1,19.125,15.4Z" transform="translate(-8.812 -7.833)" fill="rgba(0,0,0,0)" stroke="%239b9b9b" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/%3E%3Cpath d="M16.057,14.391,13.14,17.308a1.375,1.375,0,0,1-1.944,0L8.278,14.391a5.5,5.5,0,1,1,7.779,0Z" transform="translate(-3.916 -2.938)" fill="rgba(0,0,0,0)" stroke="%239b9b9b" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/%3E%3C/g%3E%3C/svg%3E') no-repeat left top / auto 1.5em;
  margin-left: -1.7rem;
  padding-left: 1.8rem;
}

.search .result .list .project-info p {
  font-weight: 500;
}

.search .result .list .project-info p:last-child {
  padding-right: 1rem;
  margin-bottom: 0.5em;
}

.search .result .list .project-info .price {
  color: var(--softblue);
}

.search .result .list .project-info .soldout {
  color: var(--red);
}

.search .result .list .project-action {
  position: absolute;
  right: 0.8em;
  bottom: 0.5em;
  width: auto;
}

.search .result .list .btn-project-view i {
  transform: rotate(45deg);
  font-size: 1.3em;
  color: #5E6066;
}

@media screen and (min-width: 500px) {
  .search .result .list .project-topic img {
    height: 3.75em;
  }
}

@media screen and (min-width: 576px) {
  .search .result .list .project-topic {
    padding: 1rem 0.5rem 1rem 1rem;
  }

  .search .result .list .project-name {
    font-weight: 700;
  }

  .search .result .list .project-tags,
  .search .result .list .project-info {
    margin: 1rem;
  }

  .search .result .list .project-info {
    font-size: 0.9em;
  }

  .search .result .list .project-info ul {
    margin-bottom: 1rem;
  }
}

@media screen and (min-width: 768px) {
  .search .result .list .project-list {
    justify-content: center;
  }

  .search .result .list .project {
    margin-bottom: 2.5em;
    max-width: 22.75em;
  }

  .search .result .list .project>.row {
    border-radius: 1.2em;
    flex-direction: row;
    height: 100%;
    align-content: flex-start;
  }

  .search .result .list .project-l {
    display: block;
  }

  .search .result .list .project:hover>.row {
    transform: translate(0, -1.3rem);
  }

  .search .result .list .project:hover .project-image::after {
    background: #424243;
    mix-blend-mode: multiply;
    opacity: 0.34;
  }

  .search .result .list .project:hover .btn-project-regist {
    background-size: 100% 100%;
  }

  .search .result .list .project-image::after {
    position: absolute;
    content: '';
    transition: 0.3s;
    background: transparent;
    opacity: 0;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }

  .search .result .list .project-info p:first-child,
  .search .result .list .btn-project-view span,
  .search .result .list .btn-project-regist {
    display: block;
  }

  .search .result .list .project-info li {
    display: list-item;
  }

  .search .result .list .project-tags,
  .search .result .list .project-info {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .search .result .list .project-topic {
    min-height: auto;
  }

  .search .result .list .project:not(:hover) .project-topic {
    background-color: #686D71 !important;
  }

  .search .result .list .project-content {
    padding-bottom: 2.96rem;
  }

  .search .result .list .project-tags {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }

  .search .result .list .project-tags span {
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  }

  .search .result .list .project-tags span:not(:last-child) {
    color: #004A97;
    background-color: rgba(255, 255, 255, 0.68);
  }

  .search .result .list .project-info ul {
    list-style: disc;
  }

  .search .result .list .project-action {
    display: flex;
    right: 0;
    bottom: 0;
    width: 100%;
  }

  .search .result .list .project-action a {
    font-size: 0.85em;
    color: #FAFAFA;
    text-align: center;
    display: block;
    flex: 1;
    padding: 1em 0.3em;
  }

  .search .result .list .btn-project-view i {
    display: none;
  }

  .search .result .list .btn-project-view span,
  .search .result .list .btn-project-regist {
    display: block;
  }

  .search .result .list .btn-project-view {
    background-color: #989A9B;
  }

  .search .result .list .btn-project-regist {
    background: linear-gradient(180deg, #3EA8B8 0%, #3EA8B8 29%, #237FAA 100%);
    background-size: 100% 330%;
  }
}

/** Search Project list End */


/** News list Begin */
.news {
  background: #fff linear-gradient(180deg, rgba(169, 209, 224, 0.63) 0%, rgba(245, 254, 255, 0.63) 36%, rgba(221, 246, 252, 0.63) 68%, rgba(237, 247, 253, 0.93) 90%, rgb(255, 255, 255) 100%) 0% 0%;
  padding: 2em 0;
}

.news .thumb {
  border-radius: 1.2em;
}

.news .tags {
  font-size: .76em;
}

.news .tags a {
  font-size: inherit;
  background-color: #fff;
  border-radius: .5em;
  text-transform: capitalize;
  padding-top: 2px;
  padding-bottom: 2px;
}

.news .separator {
  border: 2px solid #3fa7b8;
  margin: 0;
}

.news .btn-default {
  min-width: unset;
  padding: 0.45em 2em;
}

.news .btn-default:after {
  vertical-align: 0.155em;
}

/** News list End */

/** Project brand Begin */

.project-brands {
  padding: 1em 0;
  position: relative;
  margin-bottom: 2em;
}

.project-brands::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  box-shadow: 5px 3px 20px #C8CFD0;
  background-color: rgba(255, 255, 255, 0.59);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.sp-brand {
  background: url(https://webbackend.mqdc.com/assets/aa834dbf-c86f-4946-a114-4e43467072ec) no-repeat 0 0/ 310% auto;
  display: block;
  text-indent: -9999999999em;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.brand-whizdom {
  background-position: 1.107% 0.576%;
}

.brand-aspentree {
  background-position: 50.185% 0.576%;
}

.brand-mulberry-grove {
  background-position: 99.262% 0.576%;
}

.brand-magnolias {
  background-position: 1.107% 50.144%;
}

.brand-signature-series {
  background-position: 50.185% 50.144%;
}

.brand-sixsenses {
  background-position: 99.262% 50.144%;
}

@media screen and (min-width: 768px) {
  .projects {
    border-radius: 3.4em;
  }

  .project-brands {
    padding-left: 1em;
    padding-right: 1em;
  }

  .project-brands::before {
    border-radius: 1.25em;
    left: 0.75em;
    right: 0.75em;
  }
}

@media screen and (min-width: 992px) {
  .project-brands {
    padding-left: 10%;
    padding-right: 10%;
  }

  .project-brands .sp-brand {
    max-width: 8em;
    margin: 0 auto;
  }
}

@media screen and (min-width: 1200px) {

  .swiper-brand {
    width: 80%;
    overflow: hidden;
  }
}

/** Project brand End */
