.sr-li-left {
  float: left;
  width: 40px;
  height: 24px;
}

.sr-li-right {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  float: left;
  width: calc(100% - 40px);
}

.sr-li-right a {
  -webkit-flex-grow: 1;
  -ms-flex: 1;
  flex-grow: 1;
}

.clear {
  clear: both;
}

.sr-li-right > p {
  width: 95%;
}

.sr-li-right .product-reviews-summary {
  width: 96%;
  margin-bottom: 5px !important;
}

.search-autocomplete ul li {
  border-top: none;
  cursor: pointer;
  margin: 0;
  padding: 5px 5px 5px 5px !important;
  position: relative;
  text-align: left;
  white-space: normal;
}

.mcs-autosearch-main ul li a {
  padding-right: 15px;
  color: #5096d2;
}

.mcs-autosearch-main .price-container .price {
  font-size: 14px;
  font-weight: 600;
}

.mcs-autosearch-main .price-box {
  float: right;
}

.custom-search-autocomplete {
  left: 0;
  right: 0;
}

.mcs-autosearch-main {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column-reverse;
  -ms-flex-direction: column-reverse;
  flex-direction: column-reverse;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 4px -2px rgba(97, 97, 97, 0.2), 0 4px 5px 0 rgba(97, 97, 97, 0.14), 0 1px 10px 0 rgba(97, 97, 97, 0.12);
  margin-top: 4px;
  padding: 18px 16px 8px;
}

.mcs-autosearch-main li {
  display: inline-block;
  width: 100%;
  margin: 0 -16px;
  padding: 8px 16px;
}

.mcs-autosearch-main li:hover {
  background-color: rgba(80,150,210, 0.08);
}

.search-autocomplete ul {
  border: none !important;
  padding: 10px;
}

.mcs-autosearch-left h4 {
  margin: 0;
  padding-bottom: 20px;
}

.mcs-autosearch-left .search-autocomplete ul {
  padding: 0;
}

.mcs-autosearch-right .mcs-view-all {
  width: 100%;
  text-align: center;
  border-top: 1px solid #ccc;
}


.mcs-autosearch-full {
  width: 100%;
}

.mcs-autosearch-left ul {
  padding: 0;
  margin: 0;
}

.mcs-autosearch-left ul li {
  list-style: none;
}

.mcs-autosearch-full ul li {
  display: inline-block;
  margin: 10px 0;
  padding: 5px 11px !important;
  width: 46%;
  list-style: none;
}

.mcs-autosearch-full ul {
  margin-bottom: 0px;
}

.mcs-autosearch-full .mcs-view-all {
  width: 100%;
  text-align: center;
  border-top: 1px solid #ccc;
}

.custom-search-autocomplete {
  display: none;
  position: absolute;
  z-index: 3;
}

.mcs-autosearch-right > ul {
  padding-left: 0;
  margin-bottom: 0px;
}

.mcs-autosearch-right > ul h4 {
  margin-bottom: 14px;
}

.sr-li-right > p {
  color: #999797;
  font-size: 12px;
}

.mcs-autosearch-full ul {
  padding-left: 0px;
}

@media screen and (min-width: 320px) and (max-width: 480px) {
  .mcs-autosearch-main {
    padding: 14px 16px 6px;
    margin-top: -8px;
  }

  .mcs-autosearch-main h4,
  .mcs-autosearch-main a {
    font-size: 12px;
  }

  .mcs-autosearch-left h4 {
    padding-bottom: 4px;
  }

  .mcs-autosearch-right > ul h4 {
    margin: 14px 0 12px;
  }

  .mcs-autosearch-main .price-box {
    display: none;
  }

  .sr-li-left {
    width: 55px;
    height: 40px;
  }

  .sr-li-left img {
    width: 40px;
  }

  .sr-li-right {
    width: calc(100% - 55px);
  }

  .mcs-autosearch-main ul li a {
    padding-right: 0;
    line-height: 1.67;
  }
}

@media screen and (min-width: 481px) and (max-width: 767px) {
  .mcs-autosearch-main {
    margin-top: -8px;
  }

  .mcs-autosearch-main ul li a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
