.recipe-search-results ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.recipe-search-results .recipe-search-options {
  min-height: 41px;
  border-top: 1px #efedee solid;
  border-bottom: 1px #efedee solid;
}
.recipe-search-results .recipe-search-sort {
  position: relative;
  z-index: 2;
  line-height: 42px;
  text-align: center;
  padding: 2px 0;
}
@media screen and (min-width: 520px) and (max-width: 765px), screen and (min-width: 990px) {
  .recipe-search-results .recipe-search-sort {
    position: absolute;
    text-align: left;
    border-top: none;
  }
}
.recipe-search-results .recipe-search-sort label {
  display: inline;
}
.recipe-search-results .recipe-search-sort select[name="recipe-search-sort"] {
  display: inline;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAgCAYAAAD5VeO1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDQ1QTYzOTFDNzQ2MTFFNDk0RTNFREY0NTY4RDE3MTAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDQ1QTYzOTJDNzQ2MTFFNDk0RTNFREY0NTY4RDE3MTAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NDVBNjM4RkM3NDYxMUU0OTRFM0VERjQ1NjhEMTcxMCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NDVBNjM5MEM3NDYxMUU0OTRFM0VERjQ1NjhEMTcxMCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PklPi5QAAACdSURBVHjaYnhy+85/IGCgBWZioCEYNXzU8FHDB7PhLKQo9nFzAznGCYg5CSj9BsT7SXX5PyC+RoS66yC15ATLMyB+i0f+LVQN2WF+BYj/YxH/D5WjKEI/AfFjLOKPoXIUpxZQuP5G4v+GilElKf4C4ltI/FtQMaql8wdA/AWKH1CUznEkzatAzAhlo4LRCnrU8FHDB7nhnbQyHCDAAJOdqrn3AYstAAAAAElFTkSuQmCC'),
                    -webkit-linear-gradient(#fffeff, #f6f1ed);
  background-position: 95% center;
  background-repeat: no-repeat;
  border: 1px solid #e1d8db;
  overflow: hidden;
  padding: 5px 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
  height: 32px;
  width: 201px;
  text-transform: lowercase;
  color: #454545;
  margin: 3px 0 5px 5px;
  position: relative;
}
.recipe-search-results .recipe-search-sort select[name="recipe-search-sort"]:focus {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAgCAYAAAD5VeO1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh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GFja2V0IGVuZD0iciI/PklPi5QAAACdSURBVHjaYnhy+85/IGCgBWZioCEYNXzU8FHDB7PhLKQo9nFzAznGCYg5CSj9BsT7SXX5PyC+RoS66yC15ATLMyB+i0f+LVQN2WF+BYj/YxH/D5WjKEI/AfFjLOKPoXIUpxZQuP5G4v+GilElKf4C4ltI/FtQMaql8wdA/AWKH1CUznEkzatAzAhlo4LRCnrU8FHDB7nhnbQyHCDAAJOdqrn3AYstAAAAAElFTkSuQmCC'),
                    -webkit-linear-gradient(#f6f1ed, #fffeff);
  background-position: 95% top;
  line-height: 21px;
}
.recipe-search-results h2 {
  margin: 0 0 1em;
}
.recipe-search-results .recipe-search-pager {
  height: 41px;
  position: relative;
}
.recipe-search-results ul.pager {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  border-top: none;
  padding: 7px 0;
}
@media screen and (min-width: 520px) and (max-width: 765px), screen and (min-width: 990px) {
  .recipe-search-results ul.pager {
    text-align: right;
  }
}
.recipe-search-results ul.pager li {
  color: #d4d4d4;
  margin: 0 0 0 3px;
  line-height: 26px;
  font-size: 12px;
  padding: 0;
  display: inline;
}
.recipe-search-results ul.pager li.pager-current,
.recipe-search-results ul.pager li.pager-first,
.recipe-search-results ul.pager li.pager-last,
.recipe-search-results ul.pager li.pager-next,
.recipe-search-results ul.pager li.pager-previous {
  border: 1px #dfdadb solid;
  padding: 5px 8px 5px 9px;
  font-weight: bold;
}
.recipe-search-results ul.pager li.pager-item a {
  font-weight: bold;
  padding: 5px 8px 5px 9px;
  border: 1px #dfdadb solid;
}
.recipe-search-results ul.recipe-results {
  clear: both;
  margin-top: 25px;
  overflow: hidden;
}
.recipe-search-results ul.recipe-results li,
.recipe-search-results ul.recipe-results li:after,
.recipe-search-results ul.recipe-results li:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.recipe-search-results ul.recipe-results li.recipe-item {
  float: left;
  width: 50%;
  margin-bottom: 10px;
  padding: 2%;
}
body.page-recipe-search .recipe-search-results ul.recipe-results li.recipe-item:nth-of-type(2n) + li {
  clear: left;
}
@media screen and (min-width: 765px) {
  body.page-recipe-search .recipe-search-results ul.recipe-results li.recipe-item {
    width: 50%;
    padding: 0;
  }
}
@media screen and (min-width: 550px) and (max-width: 765px), (min-width: 842px) and (max-width: 990px) {
  body.page-recipe-search .recipe-search-results ul.recipe-results li.recipe-item {
    width: 33.3333%;
    padding: 0;
  }
  body.page-recipe-search .recipe-search-results ul.recipe-results li.recipe-item:nth-of-type(2n) + li {
    clear: none;
  }
  body.page-recipe-search .recipe-search-results ul.recipe-results li.recipe-item:nth-of-type(3n) + li {
    clear: left;
  }
}
@media screen and (min-width: 842px) and (max-width: 989px) {
  body.page-recipe-search .recipe-search-results ul.recipe-results li.recipe-item {
    padding: 2%;
  }
}
@media screen and (min-width: 660px) and (max-width: 765px), (min-width: 990px) {
  body.page-recipe-search .recipe-search-results ul.recipe-results li.recipe-item {
    width: 25%;
    padding: 0;
  }
  body.page-recipe-search .recipe-search-results ul.recipe-results li:nth-of-type(2n) + li.recipe-item,
  body.page-search-site .recipe-search-results ul.recipe-results li:nth-of-type(2n) + li.recipe-item {
    clear: none;
  }
  body.page-recipe-search .recipe-search-results ul.recipe-results li:nth-of-type(3n) + li.recipe-item,
  body.page-search-site .recipe-search-results ul.recipe-results li:nth-of-type(3n) + li.recipe-item {
    clear: none;
  }
  body.page-recipe-search .recipe-search-results ul.recipe-results li:nth-of-type(4n) + li.recipe-item,
  body.page-search-site .recipe-search-results ul.recipe-results li:nth-of-type(4n) + li.recipe-item {
    clear: left;
  }
}
.recipe-search-results ul.recipe-results li.recipe-item .recipe-image,
.recipe-search-results ul.recipe-results li.recipe-item .recipe-image img {
  margin: 0 auto;
  width: 100%;
}
@media screen and (min-width: 550px) and (max-width: 842px), (min-width: 990px) {
  body.page-recipe-search .recipe-search-results ul.recipe-results li.recipe-item .recipe-image,
  body.page-recipe-search .recipe-search-results ul.recipe-results li.recipe-item .recipe-image img {
    width: 150px;
    height: 150px;
    text-align: left;
  }
}
@media screen and (min-width: 842px) and (max-width: 989px) {
  .recipe-search-results ul.recipe-results li.recipe-item .recipe-image,
  .recipe-search-results ul.recipe-results li.recipe-item .recipe-image img {
    width: 100%;
    height: 100%;
    text-align: left;
  }
}
.recipe-search-results ul.recipe-results li.recipe-item .recipe-title,
.recipe-search-results ul.recipe-results li.recipe-item .recipe-info {
  width: 100%;
  margin: 5px auto 0;
  text-align: left;
}
.page-search-site .recipe-search-results ul.recipe-results li.recipe-item .recipe-title,
.page-search-site .recipe-search-results ul.recipe-results li.recipe-item .recipe-info {
  max-width: 200px;
}
@media screen and (min-width: 550px) and (max-width: 842px), (min-width: 990px) {
  body.page-recipe-search .recipe-search-results ul.recipe-results li.recipe-item .recipe-title,
  body.page-recipe-search .recipe-search-results ul.recipe-results li.recipe-item .recipe-info {
    width: 150px;
  }
}
@media screen and (min-width: 520px) and (max-width: 765px), screen and (min-width: 990px) {
  body.page-recipe-search .recipe-search-results ul.recipe-results li.recipe-item .recipe-title,
  body.page-recipe-search .recipe-search-results ul.recipe-results li.recipe-item .recipe-info {
    /*width: 150px;*/
  }
}

.recipe-search-results ul.recipe-results li.recipe-item .recipe-info .recipe-rating-wrapper {
  height: 30px;
}
.recipe-search-results ul.recipe-results li.recipe-item .recipe-info span {
  /*line-height: 30px;*/
  display: block;
}

body.page-search-site li.recipe-item {
  display: table-cell;
  width: 50%;
}
body.page-search-site li.recipe-item:nth-child(odd) {
  clear: both;
}
@media screen and (min-width: 640px) and (max-width: 767px), (min-width: 990px) {
  body.page-search-site .recipe-search-results li.recipe-item {
    width: 25%;
  }
  body.page-search-site li.recipe-item:nth-child(odd) {
    clear: none;
  }
}
body.page-search-site .recipe-search-results ul.recipe-results li .recipe-image,
body.page-search-site .recipe-search-results ul.recipe-results li .recipe-image img {
  width: 100%;
  height: 100%;
  max-width: 200px;
  max-height: 200px;
  text-align: left;
}
/* Search form */
#recipe-search-form {
  background-color: #faf8f5;
  text-align: center;
  height: 70px;
  line-height: 70px;
  margin-bottom: 35px;
}
#recipe-search-form > div {
  position: relative;
}
#recipe-search-form span.form-required {
  display: none;
}
#recipe-search-form label, #recipe-search-form .form-item-search, #edit-search, #edit-submit {
  display: block;
}
@media screen and (min-width: 520px) and (max-width: 765px), screen and (min-width: 990px) {
  #recipe-search-form label, #recipe-search-form .form-item-search, #edit-search, #edit-submit {
    display: inline;
  }
  #recipe-search-form .form-item-search {
    margin-right: -44px;
  }
}
#recipe-search-form label {
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-transform: lowercase;
  margin-right: 14px;
  height: 30px;
  line-height: 30px;
}
@media screen and (min-width: 520px) and (max-width: 765px), screen and (min-width: 990px) {
  #recipe-search-form label {
    height: auto;
    line-height: initial;
  }
}
#recipe-search-form #edit-search {
  -moz-box-shadow: 0 2px 5px 0 #B2B2B2 inset;
  -webkit-box-shadow: 0 2px 5px 0 #B2B2B2 inset;
  box-shadow: 0 2px 5px 0 #B2B2B2 inset;
  width: 100%;
  height: 44px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #b3b1b1;
  margin: 5px 0;
}
@media screen and (min-width: 520px) and (max-width: 765px), screen and (min-width: 990px) {
  #recipe-search-form #edit-search {
    width: 280px;
    margin: 13px 0;
  }
}
#recipe-search-form .form-submit {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 44px;
}
@media screen and (min-width: 520px) and (max-width: 765px), screen and (min-width: 990px) {
  #recipe-search-form .form-submit {
    position: relative;
    right: 0;
    top: 13px;
  }
}

/* See more results button */
.recipe-search-results .see-more {
    text-align: center;
}
.recipe-search-results a.see-more-results { /* base story paging button */
    height: 25px;
    display: inline-block;
    font-weight: bold;

    border-radius: 0;
    line-height: 25px;

    color: #00869e;
    border: 1px solid #e4d8dc;
    font-size: 12px;

    background-color: #f5f2ec; /* dark color */
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#f5f2ec));
    background-image: -webkit-linear-gradient(top, #ffffff, #f5f2ec);
    background-image:    -moz-linear-gradient(top, #ffffff, #f5f2ec);
    background-image:     -ms-linear-gradient(top, #ffffff, #f5f2ec);
    background-image:      -o-linear-gradient(top, #ffffff, #f5f2ec);
    background-image:              linear-gradient(#ffffff, #f5f2ec); /*future CSS3 browsers*/
    /* #ffffff (light/top) to #f5f2ec (dark/bottom) */

    width: 200px;
    text-align: center;
    margin: 0 auto;
}

body.node-type-recipe #recipe-search-form input.form-submit {
  position: absolute;
  top: 35px;
  right: 0;
  height: 44px;
}
@media screen and (min-width: 520px) and (max-width: 765px), (min-width: 990px) {
  body.node-type-recipe #recipe-search-form input.form-submit {
    position: relative;
    top: 13px;
    right: 4px;
  }
}
