/*================------------------- TABLET / 500px WIDTH START -------------------================*/

@media screen and (max-width: 1000px) and (min-width: 768px) {
  .search-result-content > .row .col-sm-12 {
    width: 31%;
    margin-right: 1%;
  }
}

/*================------------------- TABLET / 500px WIDTH START -------------------================*/

@media screen and (max-width: 1000px) and (min-width: 500px) {
  .ads-area {
    color: #FFF;
    line-height: 100px;
    text-align: center;
    border-radius: 3px;
  }
  p.recipeDetails{
    margin:0;
  }
  .single-result .search-result-content {
    width: 73%;
    float: right;
    margin-top: 0;
  }

  .single-result .search-result-image {
    width: 25%;
    float: left;
  }

  .result-meta-data {
    -ms-flex-pack: start !important;
    justify-content: flex-start !important;
  }

  .result-meta-single {
    width: auto !important;
    margin-right: 20px !important;
  }

  .result-meta-single:last-of-type {
    margin-right: 0 !important;
  }

  form#results-params > div {
    width: 32% !important;
    height: 34px !important;
  }

  #search-header {
    display: -ms-flexbox;
    display: flex;

    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;

    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  #search-header > div {
    width: 49%;
  }

  .responsive-show-filters {
    margin-top: 0 !important;
  }

  #recipes-pagination {
    font-size: 13px;
  }
}

/*================------------------- TABLET / 500px WIDTH END -------------------================*/

/*================------------------- MOBILE / 500px WIDTH START -------------------================*/

@media screen and (max-width: 1000px) {
  .ads-area {
    color: #FFF;
    line-height: 100px;
    text-align: center;
    border-radius: 3px;
  }
  p.recipeDetails{
    margin:0;
  }
  body {
    margin: 10px 0;
  }

  .container.modified {
    width: 95%;
  }

  #search-params-panel {
    width: 100%;
    border: none;
    padding-right: 0;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #CCC;
  }

  #search-recipes-heading {
    text-align: center;
  }

  #main-search-fields #search-header {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
  }

  .responsive-show-filters {
    display: block;
    background: #FFF;
    border: 1px solid #CCC;
    color: #333;
    text-align: center;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 20px;
  }

  .responsive-show-filters.active {
    background: #EEE;
    color: #588A0F;
    border-color: #588A0F;
  }

  .responsive-show-filters span {
    margin-left: 10px;
  }

  #responsive-filters {
    display: none;
  }

  #search-results {
    width: 100%;
    padding-left: 0;
  }

  form#results-params {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  form#results-params > div:nth-of-type(1) {
    width: 100%;
    height: auto;
  }

  form#results-params > div:nth-of-type(2) {
    width: 42%;
  }

  form#results-params > div:nth-of-type(3) {
    width: 56%;
  }

  .single-result .search-result-content {
    padding-left: 0;
  }

  .result-meta-data {
    -ms-flex-pack: justify;
    justify-content: space-between;

    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .result-meta-single {
    margin-right: 0;
    width: 100%;
  }

  #recipes-pagination {
    text-align: center;
  }

  .search-result-content .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 100%;
    max-width: 100%;
  }

  .meta-extra-data {
    margin-top: 10px;
  }

  #recipes-pagination {
    font-size: 12px;
    font-weight: bold;
  }

  .search-result-content h3.menuName {
    top: -3%;
  }

  #search-recipes-heading span {
    display: none;
  }
}

@media(max-width: 600px) {
  div#results-params {
    display: block;
  }

  div#results-params > div {
    width: 100%;
    margin-bottom: 20px;
  }

  .search-result-content > .row {
    height: auto;
    line-height: normal;
  }

  .meta-extra-data {
    padding: 0 0 10px 0;
  }

  ul.recipe-prices {
    float: left !important;
  }

  .search-result-content h3.menuName {
    top: -4%;
  }

  .search-result-content h3.menuName.middleAligner {
    padding: 10px 0;
  }

  #extra-recipes-lists {
    width: 100%;
    float: none !important;
  }
}

/*================------------------- MOBILE / 500px WIDTH END -------------------================*/
