.prsr-block-top {
  display: inline-block;
  float: right;
  padding-right: 0;
  margin-top: 50px;
  position: relative;
}

.prsr-form {
  display: flex;
}

.prsr-list {
  background-color: #fff;
  border: 1px solid #bbbfc3;
  border-right: none;
  display: block;
  height: 40px !important;
  text-overflow: ellipsis;
  width: 250px;
}

.prsr-list:focus, .prsr-list:active {
  border-color: #bbbfc3;
  outline: none;
}

.prsr-input {
  -moz-appearance: none;
  -webkit-appearance: none;
  border: 1px solid #bbbfc3;
  border-right: 0;
  height: 40px;
  margin-bottom: 6px;
  padding: 10px;
  width: 100%;
}

.prsr-input:focus {
  border-color: #25b9d7;
  outline: none;
}

.prsr-button {
  background-color: #25b9d7;
  border: none;
  color: #fff;
  height: 40px;
  margin: 0;
  outline: none;
  padding: 0;
  vertical-align: top;
  flex: 0 0 40px;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

.prsr-button svg {
  fill: #fff;
  vertical-align: middle;
}

.prsr-button:hover {
  cursor: pointer;
}

.prsr-result {
  background-color: #fff;
  box-shadow: 1px 1px 8px rgba(0,0,0,.2);
  display: none;
  left: 0;
  margin-top: 4px;
  min-width: 400px;
  overflow: auto;
  padding: 10px 20px 0;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 100;
}

.prsr-block:last-child, .prsr-items, .prsr-items>li:last-child {
  margin-bottom: 0;
}

.prsr-block, .prsr-items>li {
  margin-bottom: 30px;
}

.prsr-items.suggestion {
  margin-bottom: 20px;
}

.prsr-items.suggestion>li {
  font-size: .9em;
  margin-bottom: 10px;
}

.prsr-header {
  background-color: #25b9d7;
  color: #fff;
  display: inline-block;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 20px;
  padding: 6px 10px;
}

.select2-container {
  float: left;
  z-index: 99999;
}

.prsr-image-container {
  display: inline-block;
  margin-right: 5%;
  vertical-align: top;
  width: 20%;
}

.prsr-image-container .img-responsive {
  display: block;
  height: auto;
  max-width: 100%;
}

.prsr-inline-block {
  display: inline-block;
  width: 70%;
}

.prsr-name {
  margin: 0;
}

.prsr-highlight {
  background: #fcec85;
}

.prsr-product-category {
  font-size: .875em;
  margin-bottom: 4px;
  margin-top: 2px;
}

.prsr-price {
  margin: 4px 0;
}

.prsr-content .product-price {
  font-weight: bold;
}

.prsr-content .regular-price {
  font-size: .875em;
  text-decoration: line-through;
}

.prsr-content .discount, .prsr-flag {
  background-color: #f39d72;
  color: #fff;
  font-weight: bold;
  margin-left: 6px;
  padding: 2px 6px;
}

.prsr-content .product-availability {
  font-size: .875em;
  font-weight: bold;
  margin-top: 10px;
}

.prsr-content .product-availability .material-icons {
  line-height: inherit;
}

.prsr-content .product-availability .product-available {
  color: #4cbb6c;
}

.prsr-content .product-availability .product-last-items, .prsr-content .product-availability .product-unavailable {
  color: #ff9a52;
}

.prsr-flags {
  margin-top: 6px;
}

.prsr-flag {
  background-color: #25b9d7;
  font-size: .8em;
  margin-left: 0;
  margin-right: 2px;
}

.prsr-flag.discount {
  display: none;
}

.prsr-features {
  font-size: .8em;
  margin: 6px 0;
}

.prsr-feature-name {
  font-weight: bold;
}

.prsr-description, .prsr-description p {
  font-size: .9em;
}

.prsr-description {
  margin-top: 10px;
}

.prsr-search-results-link {
  color: #7a7a7a;
  display: block;
  font-size: .875em;
  margin: 2em 0 1em;
}

.prsr-card-block {
  margin: 1em 0;
}

.prsr-thumbnail-list {
  margin: 1em 0 0;
}

.prsr-thumbnail {
  display: inline-block;
  margin: 0 2em 2em 0;
  text-align: center;
  vertical-align: top;
  width: 150px;
}

.prsr-thumbnail-frame {
  border: 1px solid #bbbfc3;
  display: block;
  height: 150px;
  margin: 0 auto 10px;
  padding: 10px;
  position: relative;
  text-align: center;
  width: 150px;
}

.prsr-thumbnail-frame img {
  bottom: 0;
  left: 0;
  margin: auto;
  max-height: 140px;
  max-width: 140px;
  position: absolute;
  right: 0;
  top: 0;
}

.prsr-active-filters {
  background: #f5f5f5;
  padding: 6px 6px 2px 6px;
}

.prsr-active-filters li {
  align-items: center;
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  margin: 0;
  padding: 3px 0 5px 5px;
}

.prsr-reset-filters {
  display: block;
  margin: 10px auto;
  width: 100%;
}

.prsr-remove-filter {
  background: none;
  border: none;
  height: 18px;
  margin: 0;
  padding: 0;
  width: 18px;
}

.prsr-filter-block {
  border-bottom: 1px solid #eee;
  margin: 8px 0;
  padding: 4px 0;
}

.prsr-filter-block:last-child {
  border: none;
}

.prsr-filter-name {
  font-weight: bold;
  line-height: 1.4;
  margin: 0;
}

.prsr-filter-values {
  margin-bottom: 10px;
  padding: 5px 0;
}

select.prsr-filter-values {
  padding: 0;
}

.prsr-filter-value {
  align-items: center;
  display: flex;
  list-style: none;
  padding: 2px 0 7px;
}

.prsr-filter-value-range {
  display: block;
  padding: 0;
}

.prsr-filter-value .styled-checkbox {
  margin-right: 5px;
}

.prsr-filter-values label {
  font-weight: normal;
  margin: 0;
}

.prsr-filter-color .prsr-filter-value {
  display: inline-block;
  margin-right: 6px;
}

.prsr-color-option {
  border: 0;
  border-radius: 2px;
  box-shadow: 1px 1px 3px 0 rgba(0,0,0,.2);
  display: inline-block;
  height: 32px;
  margin-left: 0;
  margin: 0;
  padding: 0;
  vertical-align: top;
  width: 32px;
}

.prsr-color-option.on {
  border: 2px solid #333;
}

.prsr-color-label {
  display: none;
}

.prsr-show-all-values {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.prsr-show-all-values span {
  font-size: 12px;
  margin-right: 6px;
}

.prsr-show-all-values svg {
  height: 16px;
  width: 16px;
}

.prsr-slider-container {
  margin: 10px;
}

.prsr-range {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.prsr-range-field {
  flex: 1;
  min-width: 0;
  padding: 0;
  position: relative;
}

.prsr-range-field:first-child {
  margin-right: 6px;
}

.prsr-range-label,
.prsr-range-unit {
  font-weight: normal;
  position: absolute;
  top: 7px;
}

.prsr-range-label {
  left: 6px;
}

.prsr-range-unit {
  right: 6px;
}

.prsr-range-input {
  border: 1px solid #ccc;
  margin: 0;
  min-width: 0;
  padding: 6px 16px 6px 20px;
  width: 100%;
  -webkit-appearance: initial;
}

.prsr-range-field:first-child .prsr-range-input {
  padding-left: 34px;
}

.prsr-range-button {
  background: none;
  border-radius: 2px;
  border: 1px solid #ccc;
  color: #777;
  font-size: 13px;
  margin: 4px 0;
  padding: 4px 8px;
}

.prsr-range-button:hover,
.prsr-range-button:focus,
.prsr-range-button:active,
.prsr-active-range {
  background-color: #eee;
}

#subcategories {
  border-top: none;
  margin: 20px 0;
  padding: 0;
}

.prsr-products {
  position: relative;
}

.prsr-sort-panel {
  align-items: center;
  display: flex;
  justify-content: center;
}

.prsr-sort-panel form {
  margin-right: 20px;
}

.prsr-sort-panel ul {
  margin-left: auto;
  order: 3;
}

.prsr-overlay {
  background-color: rgba(255,255,255,.7);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1000;
}

@keyframes spinner {
  to {transform: rotate(360deg);}
}

.prsr-loader:before {
  animation: spinner .6s linear infinite;
  border-radius: 50%;
  border-right: 2px solid transparent;
  border-top: 2px solid #333;
  box-sizing: border-box;
  content: '';
  height: 80px;
  left: 50%;
  margin-left: -40px;
  margin-top: -40px;
  position: absolute;
  top: 10%;
  width: 80px;
}

.prsr-hidden,
.prsr-filter-value.prsr-hidden {
  display: none;
}

#header {
  z-index: 100;
}

/* Uncomment if using flexbox
.prsr-input-wide {
  width: 235px;
}

.prsr-input {
  flex: 0 0 calc(100% - 120px);
}
*/

@media (max-width: 767px) {
  #module-prestasearch-search #content-wrapper {
    float: none;
    width: 100%;
  }

  .prsr-block-top {
    padding: 0;
    display: flex;
    flex: 0 0 auto;
  }

  .prsr-form {
    margin: auto;
  }

  .prsr-result {
    min-width: auto;
  }

  .prsr-thumbnail {
    margin-right: 0;
    width: 49%;
    vertical-align: top;
  }

  .prsr-thumbnail-frame {
    max-width: 100%;
    overflow: hidden;
  }
}
