body.search-popup {
  overflow: hidden;
}
body.search-popup header.page-header > .header-area {
  position: static !important;
  transform: none !important;
  -moz-transform: none !important;
  -webkit-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
}
header.page-header .search-icon-bottom .mgs-instant-search-dropdown {
  top: calc(100% + 80px);
  max-height: calc(100vh - 100% - 80px);
}
@media (max-width: 767px) {
  header.page-header .search-icon-bottom .mgs-instant-search-dropdown {
    top: calc(100% + 58px);
    max-height: calc(100vh - 100% - 58px);
  }
}
header.page-header .header-area.search-icon-popup .minisearch.loading .control:after {
  top: 18px;
}
header.page-header .header-area.search-icon-popup .mgs-instant-search-dropdown {
  position: static;
  max-height: unset;
  overflow: visible;
}
header.page-header .header-area.search-icon-popup .mgs-instant-search-dropdown > div {
  background: none;
  border: none;
  box-shadow: none;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.mgs-instant-search-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  transition: all 300ms;
  -moz-transition: all 300ms;
  -webkit-transition: all 300ms;
  -o-transition: all 300ms;
  opacity: 1;
  visibility: visible;
  max-height: calc(100vh - 100%);
  overflow-y: auto;
  z-index: 2;
  max-height: 50vh;
}
.mgs-instant-search-dropdown > .mgs-instant-autocomplete-wrapper {
  background: #fafafa;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  padding: 23px 20px 20px;
  box-shadow: 0 5px 20px #eaeaea;
  text-align: left;
}
.mgs-instant-search-dropdown > .mgs-instant-autocomplete-wrapper > .close-search {
  background-color: transparent;
  border: none;
  box-shadow: none;
  position: absolute;
  top: 5px;
  right: 2px;
}
@media (min-width: 991.98px) {
  .mgs-instant-search-dropdown > .mgs-instant-autocomplete-wrapper > .close-search {
    display: none;
  }
}
.mgs-instant-search-dropdown .pages.pages-list .title,
.mgs-instant-search-dropdown .posts.posts-list .title,
.mgs-instant-search-dropdown .categories.categories-list .title,
.mgs-instant-search-dropdown .products.products-list .title {
  font-size: 18px;
  letter-spacing: 0.005em;
  font-weight: 500;
  color: #333;
}
.mgs-instant-search-dropdown .pages.pages-list .title .see-all,
.mgs-instant-search-dropdown .posts.posts-list .title .see-all,
.mgs-instant-search-dropdown .categories.categories-list .title .see-all,
.mgs-instant-search-dropdown .products.products-list .title .see-all {
  text-transform: capitalize;
  margin-left: 15px;
  display: inline-block;
  background: #999;
  color: #fff;
  border-radius: 3px;
  padding: 2px 10px;
  font-size: 0.75rem;
  vertical-align: top;
  margin-top: 2px;
}
.mgs-instant-search-dropdown .pages.pages-list .title .see-all:hover,
.mgs-instant-search-dropdown .posts.posts-list .title .see-all:hover,
.mgs-instant-search-dropdown .categories.categories-list .title .see-all:hover,
.mgs-instant-search-dropdown .products.products-list .title .see-all:hover {
  background-color: #333;
  color: #fff !important;
}
.mgs-instant-search-dropdown .posts.posts-list,
.mgs-instant-search-dropdown .products.products-list {
  padding-bottom: 15px;
}
.mgs-instant-search-dropdown .posts.posts-list .title,
.mgs-instant-search-dropdown .products.products-list .title {
  margin: 0 0 13px;
}
.mgs-instant-search-dropdown .pages.pages-list .title,
.mgs-instant-search-dropdown .categories.categories-list .title {
  margin-bottom: 18px;
}
.mgs-instant-search-dropdown .page-cms-items,
.mgs-instant-search-dropdown .categories-list {
  padding-bottom: 9px;
}
.mgs-instant-search-dropdown .products.products-list .product-items.list,
.mgs-instant-search-dropdown .page-cms-items,
.mgs-instant-search-dropdown .posts-list-items,
.mgs-instant-search-dropdown .categories-list .category-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -10px;
}
.mgs-instant-search-dropdown .products.products-list .product-items.list .product-item,
.mgs-instant-search-dropdown .page-cms-items .page-cms-item,
.mgs-instant-search-dropdown .posts-list-items .post-item,
.mgs-instant-search-dropdown .categories-list .category-items .category-item {
  padding: 0 10px;
  border: none;
  margin: 0 0 10px;
  width: 50%;
}
@media (max-width: 991.98px) {
  .mgs-instant-search-dropdown .products.products-list .product-items.list .product-item,
  .mgs-instant-search-dropdown .page-cms-items .page-cms-item,
  .mgs-instant-search-dropdown .posts-list-items .post-item,
  .mgs-instant-search-dropdown .categories-list .category-items .category-item {
    width: 100%;
  }
}
.mgs-instant-search-dropdown .posts.posts-list .posts-list-items .post-item-info:after {
  content: "";
  display: table;
  clear: both;
}
.mgs-instant-search-dropdown .posts.posts-list .posts-list-items .post-item-info .post-item-photo {
  width: 80px;
  float: left;
}
.mgs-instant-search-dropdown .posts.posts-list .posts-list-items .post-item-info .post-item-photo a {
  display: block;
  line-height: 0;
}
.mgs-instant-search-dropdown .posts.posts-list .posts-list-items .post-item-info .post-item-photo img {
  max-width: 100%;
}
.mgs-instant-search-dropdown .posts.posts-list .posts-list-items .post-item-info .post-item-details {
  width: calc(100% - 80px);
  padding: 0 0 0 10px;
  float: left;
}
.mgs-instant-search-dropdown .posts.posts-list .posts-list-items .post-item-info .post-item-details .post-item-name {
  margin-bottom: 6px;
}
.mgs-instant-search-dropdown .posts.posts-list .posts-list-items .post-item-info .post-item-details .post-item-name a {
  font-size: 16px;
  font-weight: 500;
}
.mgs-instant-search-dropdown .products.products-list .product-items.list .product-item .product-item-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 10px 0;
  margin-bottom: 0;
  height: 100%;
}
.mgs-instant-search-dropdown .products.products-list .product-items.list .product-item .product-item-info:after {
  content: "";
  display: table;
  clear: both;
}
.mgs-instant-search-dropdown .products.products-list .product-items.list .product-item .product-item-info > .product-item-photo {
  flex: 0 0 80px;
  -ms-flex: 0 0 80px;
  max-width: 80px;
}
.mgs-instant-search-dropdown .products.products-list .product-items.list .product-item .product-item-info > .product-item-photo a {
  display: block;
  line-height: 0;
}
.mgs-instant-search-dropdown .products.products-list .product-items.list .product-item .product-item-info > .product-item-photo img {
  max-width: 100%;
}
.mgs-instant-search-dropdown .products.products-list .product-items.list .product-item .product-item-info .product-item-details {
  flex: 0 0 calc(100% - 80px);
  -ms-flex: 0 0 calc(100% - 80px);
  max-width: calc(100% - 80px);
  padding: 0 0 0 20px;
}
.mgs-instant-search-dropdown .products.products-list .product-items.list .product-item .product-item-info .product-item-details .product-item-name {
  padding: 0;
}
.mgs-instant-search-dropdown .products.products-list .product-items.list .product-item .product-item-info .product-item-details .product-item-name a {
  font-size: 14px;
  font-weight: 400;
}
.mgs-instant-search-dropdown .products.products-list .product-items.list .product-item .product-item-info .product-item-details .price-box {
  margin-bottom: 0;
}
.mgs-instant-search-dropdown .products.products-list .product-items.list .product-item .product-item-info .product-item-details .price-box .price {
  font-size: 14px;
}
.mgs-instant-search-dropdown .products.products-list .product-items.list .product-item .product-item-info .product-item-details .price-box .old-price .price {
  margin-left: 5px;
}
@media (max-width: 991.98px) {
  .mgs-instant-search-dropdown {
    max-height: calc(100vh - 88px);
  }
  .mgs-instant-search-dropdown .products.products-list .product-items.list .product-item .product-item-info > .product-item-photo {
    flex: 0 0 65px;
    -ms-flex: 0 0 80px;
    max-width: 65px;
  }
  .mgs-instant-search-dropdown .products.products-list .product-items.list .product-item .product-item-info .product-item-details {
    flex: 0 0 calc(100% - 65px);
    -ms-flex: 0 0 calc(100% - 65px);
    max-width: calc(100% - 65px);
    padding: 0 0 0 10px;
  }
}
.form.minisearch.loading .control {
  position: relative;
}
.form.minisearch.loading .control:after {
  position: absolute;
  top: 13px;
  right: 15px;
  content: '\e812';
  font-family: "molla";
  margin-right: 10px;
  display: inline-block;
  color: transparent;
  border: 2px solid;
  border-top-color: currentcolor;
  border-right-color: currentcolor;
  border-bottom-color: currentcolor;
  border-left-color: currentcolor;
  width: 14px;
  height: 14px;
  border-radius: 50px;
  border-color: #616161 #E0E0E0 #E0E0E0 #E0E0E0;
  line-height: 1;
  z-index: 2;
  -webkit-animation: spin 1s infinite linear;
  -moz-animation: spin 1s infinite linear;
  -o-animation: spin 1s infinite linear;
  animation: spin 1s infinite linear;
}
.form.minisearch.loading .control .mgs-instant-search-dropdown {
  display: none;
}
.form.minisearch.loading .action.search:before {
  opacity: 0;
}
.results.mgs-instant-search > div > .message {
  margin-top: 15px;
}
.results.mgs-instant-search > div + div {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #ededed;
}
.results.mgs-instant-search .block.block-title h4 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 15px;
  float: left;
}
.results.mgs-instant-search .block.block-title .view-more {
  float: right;
  line-height: 26px;
}
.results.mgs-instant-search .block.block-title:after {
  content: '';
  display: table;
  clear: both;
}
.results.mgs-instant-search .blog-grid .post-metas {
  padding: 20px 0;
}
.results.mgs-instant-search .blog-grid .post-metas .link-item {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -.025em;
}
.results.mgs-instant-search .blog-grid .post-metas .meta-date > span {
  color: #999;
  font-size: 13px;
  line-height: 1.5;
}
.results.mgs-instant-search .pages-grid .page-items .item {
  margin: 0;
  line-height: 1;
}
.results.mgs-instant-search .pages-grid .page-items .item .page-item-info {
  padding: 10px 0;
}
.results.mgs-instant-search .pages-grid .page-items .item .page-item-title .page-item-link {
  font-size: 14px;
  font-weight: 400;
}
.results.mgs-instant-search .categories-grid .category-item .category-item-name {
  display: block;
  padding: 10px 0;
}
.results.mgs-instant-search .categories-grid .category-item .category-item-name .category-item-link {
  font-size: 14px;
  font-weight: 400;
}
.header4 .mgs-instant-search-dropdown .products.products-list .product-items.list .product-item,
.header5 .mgs-instant-search-dropdown .products.products-list .product-items.list .product-item,
.header8 .mgs-instant-search-dropdown .products.products-list .product-items.list .product-item,
.header4 .mgs-instant-search-dropdown .page-cms-items .page-cms-item,
.header5 .mgs-instant-search-dropdown .page-cms-items .page-cms-item,
.header8 .mgs-instant-search-dropdown .page-cms-items .page-cms-item,
.header4 .mgs-instant-search-dropdown .posts-list-items .post-item,
.header5 .mgs-instant-search-dropdown .posts-list-items .post-item,
.header8 .mgs-instant-search-dropdown .posts-list-items .post-item,
.header4 .mgs-instant-search-dropdown .categories-list .category-items .category-item,
.header5 .mgs-instant-search-dropdown .categories-list .category-items .category-item,
.header8 .mgs-instant-search-dropdown .categories-list .category-items .category-item {
  width: 100%;
}
.header4 .mgs-instant-search-dropdown .posts.posts-list .posts-list-items .post-item-info .post-item-details .post-item-name a,
.header5 .mgs-instant-search-dropdown .posts.posts-list .posts-list-items .post-item-info .post-item-details .post-item-name a,
.header8 .mgs-instant-search-dropdown .posts.posts-list .posts-list-items .post-item-info .post-item-details .post-item-name a {
  font-size: 14px;
}
