/*================------------------- TABLET / 500px WIDTH START -------------------================*/

@media screen and (max-width: 1000px) and (min-width: 500px) {
  .ads-area {
    color: #FFF;
    height: 250px;
    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;
    height: 250px;
    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 {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    margin-top: 20px;
    -ms-flex-pack: justify;
    justify-content: space-between;

    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .result-meta-single {
    margin-right: 0;
    width: 100%;
    margin-bottom: 5px;
  }

  .result-meta-single:last-of-type {
    margin-bottom: 0;
  }

  #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%;
    margin-top: 10px;
  }

  .meta-extra-data {
    margin-top: 10px;
  }

  #recipes-pagination {
    font-size: 12px;
    font-weight: bold;
  }
}

@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;
  }
}

/*================------------------- MOBILE / 500px WIDTH END -------------------================*/


/*================------------------- TABLET / 500px WIDTH START -------------------================*/

@media screen and (max-width: 1000px) and (min-width: 500px) {}

/*================------------------- TABLET / 500px WIDTH END -------------------================*/

/*================------------------- MOBILE / 500px WIDTH START -------------------================*/

@media screen and (max-width: 1000px) {
  body {
    margin: 10px 0;
  }

  .container.modified {
    width: 95%;
  }

  #sidebar {
    width: 100%;
    float: none;
  }

  #recipe-wrapper {
    width: 100%;
    padding-right: 0;
  }

  #recipe-header {
    align-items: flex-start;
    -ms-flex-align: start;
  }
}

/*================------------------- MOBILE / 500px WIDTH END -------------------================*/

@media screen and (max-width: 660px) {
  #recipe-header {
    display: block;
  }

  #recipe-title {
    width: 100%;
    max-width: 100%;
  }

  #recipe-rating {
    text-align: left;
    margin-top: 20px;
  }

  #recipe-image {
    width: 100%;
    margin-bottom: 10px;
    display: block;
    height: auto;
  }

  #recipe-details-info {
    width: 100%;
    padding-left: 0;
    margin-bottom: 5px;
  }

  .recipe-center {
    width: 100%;
    padding-left: 0;
    margin-bottom: 10px;
  }

  #method-list {
    float: none;
    padding-left: 0;
    padding-right: 0;
  }

  #method-list ol {
    padding-left: 15px;
  }

  #methods-ad {
    float: none;
    margin: 0;
    width: 100%;
    padding: 0;
  }

  #actions-buttons {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  #actions-buttons .item,
  #actions-buttons .itemRemove {
    width: 100%;
    margin-bottom: 10px;
  }

  #actions-buttons .item:last-of-type {
    margin-bottom: 0;
  }

  .add-private-note {
    float: none !important;
  }

  #recipe-select-menus .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    max-width: 100%;
    width: 100%;
  }

  #recipe-select-menus .bootstrap-select.btn-group .dropdown-toggle .filter-option,
  #recipe-select-menus .bootstrap-select.btn-group .dropdown-menu li a span.text {
    white-space: normal;
  }

  #recipe-header .bootstrap-select .btn {
    font-size: inherit;
  }

  #info-tabs .nav-tabs {
    margin-left: 0;
  }

  #info-tabs .nav-tabs>li {
    float: none;
  }

  #info-tabs .nav-tabs>li>a {
    margin-left: 0;
    margin-right: 0;
  }

  #info-tabs .nav-tabsbs>li.active a {
    background-color: #A0C963;
  }

  #info-tabs .tab-content {
    margin-top: 10px;
  }

  #nutrition-info[role="tabpanel"] .single-column:nth-of-type(odd),
  #nutrition-info[role="tabpanel"] .single-column:nth-of-type(even) {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    border: none;
  }

  #food-guide {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #EDCC96;
  }

  #make-recipe-again {
    margin-top: 10px;
  }

  #make-recipe-again span {
    display: block;
    margin-bottom: 5px;
  }

  [role="tabpanel"] .action-button {
    float: none !important;
  }

  #reviews[role="tabpanel"] #recipe-rating {
    display: block;
    margin-top: 0;
  }

  #reviews[role="tabpanel"] #recipe-rating span {
    margin-left: 0;
  }

  #your-review-rating i.fa {
    font-size: 18px;
  }

  #my-notes[role="tabpanel"] .checkbox {
    margin-bottom: 10px;
  }

  #recipe[role="tabpanel"] ul {
    float: none;
  }

  #methods-ad {
    float: none;
    margin: 15px auto 0 auto;
  }

  .recipe-you-may-like ul,
  #recipe[role="tabpanel"] #recommended-side-dished ul {
    display: block;
  }

  .recipe-you-may-like ul li,
  #recipe[role="tabpanel"] #recommended-side-dished ul li {
    width: 100%;
    margin: 0;
  }

  .recipe-you-may-like ul li:not(:last-of-type),
  #recipe[role="tabpanel"] #recommended-side-dished ul li:not(:last-of-type) {
    margin-bottom: 20px;
  }

  .recipe-you-may-like ul li img,
  #recipe[role="tabpanel"] #recommended-side-dished ul li img {
    width: 100%;
    height: auto;
    margin: 0 auto 10px auto;
  }

  #recipe[role="tabpanel"] h2,
  #nutrition-info[role="tabpanel"] h2,
  #cost-info[role="tabpanel"] h2,
  .recipe-you-may-like h2 {
    text-align: center;
  }

  #recipe[role="tabpanel"] ul li a,
  .recipe-you-may-like ul li a {
    font-size: 16px;
  }
}


@media screen and (max-width: 1000px) {
  #sidebar {
    width: 100%;
    height: auto;
    padding-bottom: 10px;
  }
}

@media screen and (max-width: 500px) {
  #info-tabs .nav-tabs>li {
    display: block !important;
  }

  #info-tabs .nav-tabs {
    border: none;
  }

  #info-tabs .nav-tabs>li>a {
    color: #000;
    background-color: #A0C963;
  }
}

@media screen and (max-width: 1000px) {
  body {
    margin: 0;
  }

  #info-tabs .nav-tabs {
    transform: none !important;
  }
}

@media screen and (max-width: 500px) {
  #info-tabs .nav-tabs>li.active a {
    background: #FFF;
    border-color: #CCC;
    border-bottom-color: #FFF;
  }

  #info-tabs .nav>li>a:hover {
    background-color: #F4F9EC;
  }

}

@media screen and (max-width: 700px) {
  #methods-ad {
    float: none;
    margin: 0 0 10px 0;
    width: 100%;
    padding: 0;
  }
}