/*start full page height styles */
html, body, #root {
  min-height: 100%;
  height: 100vh;
}

.main-page {
  min-height: 100%;
  height: 100vh;
}
.container-fluid > div, .page-content {
  min-height: 83%; /*pretty ugly fix for page height, especially here */
}
/*end full page height styles */
body {
  font-family: 'Montserrat', sans-serif;
  background: white;
}

p, .body-text, .popover, .modal-content, .post-buy-button {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
}

p a, a p, .body-text a {
  font-weight: bold;
}

a.no-link-styles {
  color: inherit;
  font-weight: inherit;
}

/* set all placeholder colors */
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #999;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #999;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #999;
}
:-moz-placeholder { /* Firefox 18- */
  color: #999;
}

/* main page and nav */
.main-page {
  overflow-x: hidden;
}

.grey-background {
  background: #f4f4f4 !important;
}

.container-fluid {
  padding: 0 10px;
}

.navbar-default {
  margin-left: -10px;
  margin-right: -10px;
  margin-bottom: 0;
  border-color: #ddd;
}

.navbar-default > .container {
  padding: 0 0 0 10px;
  width: auto;
}

.navbar-header {
  margin: 10px 10px 10px 0 !important;
  max-height: 50px; /* Not sure why this is needed */
}

.navbar-collapse {
  border-top-width: 0;
}

.navbar-nav {
  margin-bottom: 0px;
}

.navbar-nav > li > a {
  border-radius: 2px;
  padding: 10px 25px 5px 25px;
  font-size: 18px;
  font-weight: 500;
}

.navbar-nav li.active > a {
  border-radius: 2px;
  font-weight: bolder;
  color: #555;
}

.navbar-nav li > a:hover {
  background-color: #e7e7e7 !important;
}

.navbar-nav .caret {
  border-width: 6px;
}

.navbar-nav .dropdown-menu {
  padding: 0;
}

.dropdown-menu > li > a {
  color: #777;
  font-size: 16px;
  font-weight: 500;
  padding-left: 25px;
  padding-right: 25px;
}

/* "More coming soon!" non-link
.dropdown-menu > li > a[href="#"] {
  cursor: default;
}*/

.dropdown-menu > li.active > a {
  background-color: #e7e7e7;
}

.dropdown-menu > li.active > a:hover {
  color: #333;
}

.nav .open > ul > li > a:focus {
  outline: none;
}

/* No collapse/toggle - align with logo, show border for active link */
@media (min-width: 1037px) {
  .navbar-nav {
    margin-top: 35px;
    max-height: 35px; /* Overflow to cover ancestor's bottom border */
  }

  .navbar-collapse.collapse {
    padding: 0;
  }

  .navbar-nav > li > a {
    border: 1px solid transparent;
    border-bottom-width: 0;
  }

  .navbar-nav > li.active > a {
    background-color: white !important;
    border-color: #ddd;
  }

  /* Exception: "Meal Kit Menus" page has a background that's #f4f4f4 */
  .navbar-nav > li:first-child.active > a {
    background-color: #f4f4f4 !important;
  }

  .nav .open > a {
    border-color: #ddd !important;
  }

  .navbar-nav .dropdown-menu {
    left: 0;
    border-top-width: 0;
  }

  .navbar-nav .dropdown-menu > li > a {
    padding-top: 5px;
    padding-bottom: 5px;
  }
}

/* Toggle/collapsed navbar */
@media (max-width: 1036px) {

  .navbar .navbar-toggle.collapsed {
    background-color: white;
  }
  
  .navbar .navbar-toggle:not(.collapsed) {
    background-color: #ddd;
  }

  .navbar-nav > li > a {
    padding: 10px 15px;
  }

  .navbar-nav .open .dropdown-menu > li > a {
    padding: 7px 15px 7px 30px;
  }
}

/* Meals Page */
h1.new-meals-page {
  font-size: 52px;
  font-weight: 700;
  color: #2D324A;
  margin: 36px 0;
}

h2.new-meals-page {
  font-weight: 600;
  color: #4A4A4A;
  opacity: .7;
}

@media (max-width: 1036px) {
  h1.new-meals-page {
    font-size: 40px;
    margin-top: 10px;
  }

  h2.new-meals-page {
    font-size: 22px;
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  h1.new-meals-page {
    font-size: 33px;
  }

  h2.new-meals-page {
    font-size: 17px;
  }
}

h2.old-meals-page {
  display: none;
}

#menu-controls {
  margin-top: 10px;
  margin-bottom: 3px;
}

#selected-week {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

#week-selection, #plan-size > div, #diet, #protein {
  font-size: 15px;
  font-weight: 500;
}

#week-selectors {
  max-width: 250px;
  font-weight: 700;
}

#week-selection .glyphicon {
  font-size: 13px;
}

#week-selectors > a {
  -webkit-tap-highlight-color: rgba(201, 224, 253, 0.8); /* Mimic iOS tap highlight color */
}

#week-selectors > a > span {
  height: 20px;
  line-height: 20px;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#week-selectors > .next {
  margin-left: 10px;
}

#week-selectors > a[disabled] {
  cursor: default;
  color: #bbb;
}

#week-selection {
  padding-bottom: 10px;
}

#diet-filters {
  display: flex;
  flex-flow: column wrap;
}

#diet-filters > label {
  margin-bottom: 0;
  display: block;
}

#diet-filters > label > input[type="checkbox"] {
  vertical-align: middle;
  margin-top: -1px;
}

#menu-controls label > span {
  margin-left: 3px;
}

/* @media (min-width: 450px) {
  #menu-controls {
    margin-bottom: 20px;
  }

  #diet-filters {
    max-height: 45px;
  }
} */

#no-matching-meals {
  margin-top: 20px;
}

.label {
  display: inline-block;
}

.slick-slider {
  margin-left: -25px;
  margin-right: -10px;
}

.slick-list {
  padding-bottom: 15px;
}

.slick-slide {
  padding-left: 15px;
}

.slick-slider > button {
  z-index: 1;
  top: 38%;
}

.slick-slider > button.slick-prev {
  left: 13px;
}

.slick-slider > button.slick-next {
  right: 18px;
}

.slick-slider > button.slick-disabled {
  cursor: default;
}

.slick-slider > button:before {
  color: black;
  font-size: 40px;
}

@media (max-width: 735px) {
  .slick-slider {
    margin-left: -25px;
    margin-right: -11px;
  }
}

.service-name, .plan-name {
  display: inline-block;
  margin: 0;
  color: #333;
}

.affiliate-disclosure {
  font-size: 12px;
  display: none;
}

.affiliate-disclosure > div {
  display: inline-block;
  margin: 0;
  color: #4A4A4A;
}

.affiliate-disclosure > div > .glyphicon {
  color: #4A4A4A;
  opacity: .6;
}

.service-name {
  margin-right: 10px;
  margin-bottom: 5px;
  font-weight: 600;
}

.plan-name {
  color: #888;
  font-weight: normal;
}

/* Force plan name to next line when screen is too narrow to fit widest service + plan (Purple Carrot TB12) */
@media (max-width: 477px) {
  .plan-name-link:before {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }

  .affiliate-disclosure.mobile {
    display: inline-block;
  }
}

@media (min-width: 478px) {
  .affiliate-disclosure.not-mobile {
    display: inline-block;
  }
}

.affiliate-disclosure.top-level {
  display: inline-block;
  margin: -5px 0;
}

.affiliate-disclosure {
  color :#4A4A4A;
  cursor: help;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.affiliate-disclosure.not-mobile {
  margin-left: 10px;
}

.flip-container {
  padding-right: 0;
}

.meal {
  position: relative;
}

.meal > img {
  width: 100%;
  min-height: 150px;
}

.meal > a {
  text-decoration: none;
}

.meal .title, .meal .subtitle {
  text-align: left;
  padding: 5px;
  margin-top: 0;
  margin-bottom: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: black;
}

.meal .subtitle {
  min-height: 25px;
}

/* Card flipping from https://davidwalsh.name/css-flip */
/* removed all transform-style: preserve-3d styles and perspective */
.flip-container {
  perspective: 1000px;
}

/* flip the pane */
.flip-container.flipped .back {
  transform: rotateY(0deg);
}
.flip-container.flipped .front {
  transform: rotateY(180deg);
}

/*.flip-container, .front, .back {
  width: 320px;
  height: 480px;
}*/

/* flip speed goes here */
.flipper {
  transition: 1s;
  transform-style: preserve-3d;

  position: relative;
}

.slick-list {
  overflow-y: visible; /* should make flipping cards visible, but doesn't */
}

.plan .slick-list {
  overflow-x: visible; /* required to make flipping cards visible - why? */
}

.flip-trigger {
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 5px;
}

.flip-trigger {
  color: white;
  background: rgba(0, 0, 0, .65);
  border-radius: 2px;
}

.meal.front .flip-trigger {
  padding: 7px 5px 5px 5px;
  font-weight: 500;
}

.meal.front .flip-trigger img {
  margin-top: -4px;
  display: inline;
}

.meal.back .flip-trigger {
  padding: 3px;
}

.flip-trigger .glyphicon {
  font-size: 24px;
}

/* hide back of pane during swap */
.front, .back {
  backface-visibility: hidden;
  transition: 1s;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
  background: white;
}

.back {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.back > img {
  /* Background image, flipped */
  opacity: .4;
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
  position: absolute;
  z-index: -1;
}

.back > .meal-full-name {
  margin: 5px 45px 5px 5px;
  font-size: 15px;
}

.meal-details {
  margin: 5px;
  font-size: 17px;
}

.meal-details-row {
  margin-bottom: 10px;
}

.meal-detail {
  display: inline-block;
}

.meal-detail:nth-child(1) {
  width: 53%;
}

.meal-detail:nth-child(1) .meal-detail-label {
  width: 81px;
}

.meal-detail:nth-child(2) {
  width: 44%;
  margin-left: 3%;
}

.meal-detail:nth-child(2) .meal-detail-label {
  width: 74px;
}

.meal-detail-icon {
  display: inline-block;
  width: 25px;
  height: 18px;
}

.meal-detail-icon > img {
  width: auto;
  height: 30px;
}

.meal-detail-icon > img.carbs-icon {
  height: 24px;
}

.meal-detail-icon > img.fat-icon {
  height: 28px;
  margin-left: -1.5px;
}

.meal-detail-label {
  display: inline-block;
  max-width: 100px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 15px;
  letter-spacing: -.5px;
}

.meal-detail-amount {
  font-weight: 500;
}

@media (max-width: 362px) {
  /* Only show icon and amount on smaller screens */
  .meal-detail-label {
    display: none;
  }

  .meal-detail-amount {
    padding-left: 10px;
  }
}

.notes-row {
  margin: 10px 5px 5px 5px;
  font-weight: bold;
}

.ingredients-and-tags-row {
  position: absolute;
  bottom: 54px;
  width: 100%;
  margin: 5px;
  display: flex;
}

.ingredients-trigger {
  text-decoration: underline;
  text-decoration-style: dotted;
  cursor: help;
}

.ingredients-trigger, .meal-tag {
  flex-basis: 33%;
  font-weight: bold;
  font-size: 15px;
}

.popover {
  z-index: 1039; /* lie below modal overlay (1040) */
}

.popover {
  max-width: 308px;
}

@media (max-width: 735px) {
  .popover {
    left: 1px !important;
  }
}

.popover.bottom > .arrow {
  border-bottom-color: rgba(0, 0, 0, 0.4); /* more closely match box's border */
}

.ingredients-list {
  display: flex;
  flex-flow: row wrap;
}

.ingredient {
  margin: 5px;
  flex-basis: 128px;
}

.card-bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 5px;
}

.back-recipe-link {
  font-size: 16px;
  line-height: 22px;
  display: inline-block;
  width: 100%;
  text-align: center;
}

/* front pane, placed above back */
.front {
  z-index: 2;
  transform: rotateY(0deg);
}

/* back, initially hidden pane */
.back {
  transform: rotateY(-180deg);
}

/* Modal Dialog */
@media (min-width: 570px) {
  .modal-dialog {
    width: 550px;
  }
}

.modal-dialog {
  top: calc(50% - 73px);
}

.modal-content {
  padding: 10px;
}

.modal-content .close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 30px;
}

/* Email Signup Form and Feedback Form */
.page-content-footer > .col-md-6 {
  margin-top: 35px;
}

.email-signup strong, .email-signup span, .survey-pitch strong, .survey-pitch span, .feedback-form label {
  display: block;
  margin-bottom: 10px;
}

.survey-pitch strong {
  font-size: 18px;
}

.survey-pitch > a {
  text-decoration: none;
}

.email-container {
  width: calc(100% - 95px);
}

.form-input-field, .full-width {
  width: 100% !important;
}

.button-container, .email-signup .button-container, .feedback-form .button-container {
  width: 95px;
}

/* @media (min-width: 570px) {
  .form-input-container, .form-input-field, .button-container {
    width: auto;
  }
} */

/* Styles from Lux theme: https://bootswatch.com/lux */
.btn-success, .badge-success {
  background-color: #4BBF73;
  border-color: #4BBF73;
}

.btn-success:hover, .badge-success:hover {
  background-color: #3CA861;
  border-color: #389F5C;
}

.btn-success:active, .badge-success:active {
  background-color: #389F5C;
  border-color: #359556;
}

.btn-danger, .badge-danger {
  background-color: #d9534f;
  border-color: #d9534f;
}

.btn-danger:hover, .badge-danger:hover {
  background-color: #d23430;
  border-color: #c9302c;
}

.btn-danger:active, .badge-danger:active {
  background-color: #c9302c !important;
  border-color: #bf2e29 !important;
}

.btn-primary, .badge-primary {
  background-color: #1F9BCF;
  border-color: #1F9BCF;
}

.btn-primary:hover, .badge-primary:hover {
  background-color: #1a82ae;
  border-color: #187aa3;
}

.btn-primary:active, .badge-primary:active {
  background-color: #187aa3 !important;
  border-color: #177198 !important;
}

.badge-warning {
  background-color: #ec971f;
  border-color: #ea9214;
}

.badge-warning:hover {
  background-color: #ed9d2b;
  border-color: #ec971f;
}

.btn-warning:active, .badge-warning:active {
  background-color: #ec971f !important;
  border-color: #ea9214 !important;
}

.btn-success, .btn-danger, .btn-primary {
  font-weight: 600;
}

.btn > .glyphicon {
  float: left;
  top: 3px;
}

.btn.inactive {
  opacity: .6;
}

/* Make modal form display inline on small screens */
@media (max-width: 767px) {
  .form-inline .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
  }

  .form-inline .form-control {
    display: inline-block;
    vertical-align: middle;
  }
}

footer {
  padding-top: 15px;
  padding-bottom: 15px;
  margin-top: 30px;
  /* Copied from header (navbar-default) styles */
  background-color: rgb(248, 248, 248);
  border-color: rgb(231, 231, 231);
}

footer > div {
  margin-top: 5px;
}

footer a {
  -webkit-tap-highlight-color: rgba(201, 224, 253, 0.8); /* Mimic iOS tap highlight color */
}

footer a:hover {
  text-decoration: none;
}

/* Other Pages */
.page-content {
  padding: 10px;
  max-width: 862px;
  margin: 0 auto;
  background-color: white;
}

@media (min-width: 570px) {
  .page-content {
    padding: 20px;
  }
}

.page-title {
  margin-top: 10px;
}

.service-name-and-logo > div > h2.page-title {
margin-bottom: 0px;
}

.service-logo {
  margin-top: 20px;
  max-height: 100px;
  max-width: 100%;
}

.service-logo.sun-basket {
  max-width: 250px;
}

.service-logo.marley-spoon {
  max-width: 150px;
}

.service-logo.hellofresh {
  max-width: 140px;
}

.service-logo.plated {
  max-width: 160px;
}

.service-logo.purple-carrot {
  width: 300px;
}

@media (min-width: 530px) and (max-width: 991px) {
  .service-logo.sun-basket {
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .service-logo {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

h2 img.logo-inside-heading, h3 img.logo-inside-heading {
  float: right;
  max-width: 140px;
}

h2 img.logo-inside-heading {
  height: 36px;
}

h3 img.logo-inside-heading:not(.dinnerly) {
  height: 46px;
  margin-top: -10px;
}

img.logo-inside-heading.purple-carrot {
  max-width: 40%;
}

.logo-inside-heading.crowd-cow, .logo-inside-heading.mr-steak, .logo-inside-heading.bistromd {
  height: auto !important;
}

.discounts-page h3 {
  margin-top: 25px;
  margin-bottom: 12px;
}

@media (max-width: 529px) {
  .service-name-and-logo .logo-container {
    display: none;
  }
  .col-xxs-6 {
    width: 50%;
  }
  .col-xxs-12 {
    width: 100%;
  }
  .col-xxs-push-3 {
    left:25%;
  }
}

@media (min-width: 530px) {
  h2 img.logo-inside-heading, h3 img.logo-inside-heading {
    display: none;
  }
}

.nav-tabs li a {
  margin-right: 0;
}

.nav-tabs li.disabled a {
  color: #999;
}

@media (max-width: 499px) {
  /* Force all tabs to be the same height */
  .nav-tabs {
    display: flex;
  }

  .nav-tabs > li {
    display: flex;
    flex: 1;
    width: 25%;
  }

  .nav-tabs > li > a {
    flex: 1;
  }
}

.last-updated {
  margin-top: -5px;
  margin-bottom: 5px;
  font-size: 13px;
  letter-spacing: 0.2px;
  color: #666;
}

.last-updated.bottom-margin {
  margin-bottom: 20px;
}

.last-updated > .affiliate-disclosure {
  float: right;
}

.tags {
  margin-left: 10px;
}

.tab-content {
  border: 1px solid #ddd;
  border-top-width: 0;
  border-radius: 2px;
}

.tab-pane {
  background: white;
  padding: 25px 15px;
}

.how-to-step {
  margin-bottom: 25px;
}

p.note {
  font-weight: 600; /* semi-bold */
}

.screenshot {
  max-width: 100%;
  border: 1px solid #eee;
  border-radius: 2px;
}

img.sidebar-image {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  border-radius: 2px;
}

img.blog-image {
  display: block;
  margin: auto;
  max-width: 100%;
  height: auto;
  border-radius: 2px;
}

.calculator {
  background-color: white;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
  border-radius: 2px;
  padding: 10px;
  max-width: 450px;
  font-weight: 600;
}

.calculator-right {
  text-align: center;
}

.calculator > .row > div {
  display: inline-block;
  vertical-align: middle;
  float: none;
}

.calculator > .row.first-week-ships-free-container > div {
  vertical-align: top;
}

.calculator > .row.first-week-ships-free-container > .calculator-left {
  margin-top: 9px;
}

.calculator > .row, .calculator-sum-line {
  margin-top: 3px;
  margin-bottom: 3px;
}

.calculator .option-button {
  position: relative;
  margin: 2px 5px;
  font-weight: 600; /* Override Bootstrap label's font-weight: bold */
}

.calculator .option-button > input {
  position: absolute;
  height: 100%;
  width: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.calculator .option-button > span {
  display: inline-block;
  border-radius: 20px;
  border: 1px solid #66AE31;
  color: #66AE31;
  padding: 5px 13px;
}

.calculator .option-button > input:checked+span {
  background-color: #66AE31;
  color: white;
}

.calculator .option-button > input.unavailable+span {
  background-color: #f4f4f4;
  color: #bbb;
  border-color: #aaa;
  border-style: dashed;
}

.calculator-operator {
  font-size: 20px;
  font-weight: bold;
}

.calculator-sum-line {
  border-bottom: 1px solid #333;
}

.calculator-total {
  font-size: 28px;
}

.calculator-buy-button {
  width: 165px;
  font-weight: 600 !important;
}

.blog-post h3 {
  margin-top: 25px;
  font-weight: 600;
}

.blog-post h4 {
  margin-top: 20px;
  font-size: 19px;
  font-weight: 600;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 10px;
}

.deal-summary {
  margin-right: 25px;
}

.deal-summary > div {
  margin-bottom: 2px;
}

.deal-summary-label {
  display: inline-block;
  width: 160px;
}

.post-buy-button {
  margin-top: 5px;
  margin-bottom: 5px;
  margin-right: 10px;
}

.indent {
  margin-left: 10px;
}

.blog-post h3 > img {
  height: 26px;
}

.blog-post .diagram-legend {
  font-weight: 600;
}

.blog-post .meal-full-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 20px;
}

.page-content {
  padding-left: 2.5%;
  padding-right: 2.5%;
}

.blog-post #how-it-works li {
  margin-bottom: 12px;
}

.blog-post #how-it-works li > p {
  margin-top: 6px;
}

.blog-post .highest-calorie-meal-title {
  margin-top: 25px;
  margin-bottom: 5px;
}

@media (min-width: 992px) {
  .blog-post .highest-calorie-meal-title {
    margin-bottom: -20px;
  }
}

.blog-post .paleo-meal-kit-row {
  margin-top: 15px;
}

.ten-highest-calories .logo {
  margin-top: 25px;
  height: 50px;
  vertical-align: baseline;
}

@media (max-width: 529px) {
  .ten-highest-calories .logo-column {
    text-align: center;
  }

  .ten-highest-calories .logo {
    margin-top: 10px;
  }

  .ten-highest-calories .calories-header {
    margin-top: 15px;
  }
}

.widget-ratings {
  white-space: nowrap;
}

.plan .widget-ratings {
  vertical-align: top;
}

.plan .rating-count {
  vertical-align: text-bottom;
}

@media (max-width: 432px) {
  .ratings-table .widget-ratings > .widget-container {
    padding-right: .05em !important;
  }

  .ratings-table .widget-ratings > .widget-container > svg {
    width: 1em !important;
    height: 1em !important;
  }
}

.caret.caret-up {
  border-top-width: 0;
  border-bottom: 4px solid;
}

/* from https://css-tricks.com/NetMag/FluidWidthVideo/Article-FluidWidthVideo.php */
.video-wrapper {
	position: relative;
	padding-bottom: 50%;
	padding-top: 25px;
	height: 0;
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*try wrapping images in blog post*/
@media (min-width: 720px) {
  .blog-post.page-content p > img, .blog-post.page-content p > a > img {
    margin: 1.5% 1.5% 1.5% 0;
  }
}

/* Max width at which meal cards display incorrectly on healthy-meal-kits post */
@media (max-width: 402px) {
  .blog-post.page-content {
    padding: 10px 2%;
  }

  .blog-post .flip-container {
    margin: 0 -10px;
  }
}

/* Duplicate the block above, but taking into account the blog post margins */
/* @media (max-width: 402px) {
  .blog-post.meal-detail-label {
    display: none;
  }

  .blog-post.meal-detail-amount {
    padding-left: 10px;
  }
} */

#blue-apron-review-1 p > img, #blue-apron-review-1 p > a > img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-height: 480px;
}

.blog-post .meal-card-row {
  margin-bottom: 10px;
}

@media (min-width: 992px) {
  .blog-post .flip-container, .blog-post .meal-card-neighbor {
    margin-top: 25px;
  }
}

@media (max-width: 991px) {
  .blog-post .meal-card-neighbor {
    margin-top: 10px;
  }
}

.banner {
  position: relative;
  border-bottom: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  padding: 12px 0;
  margin: 0 -10px;
  height: 47px;
  transition: all 0.5s ease;
  overflow: hidden;
}

.banner .mobile {
  display: none;
}

.banner .inline-logo {
  height: 30px;
  width: auto;
  margin: -10px 1px 0 2px;
}

.special-discount-tag .inline-logo {
  height: 20px;
  width: auto;
  margin: -5px 0 0 2px;
}

.banner a.learn-more {
  margin-left: 5px;
}

.banner .close-icon {
  position: absolute;
  right: 10px;
  top: calc(50% - 12px);
  cursor: pointer;
}

.banner.slide-up-exit-active {
  height: 0;
  padding: 0;
  border-bottom-color: #fff;
  transition: all 0.5s ease;
}

@media (max-width: 679px) {
  .banner {
    padding: 5px 10px;
    height: 63px;
    margin: 0 0;
  }

  .banner .mobile {
    display: block;
  }

  .banner .not-mobile {
    display: none;
  }

  .banner .inline-logo {
    margin-right: 1px;
  }

  .banner .bottom-line {
    margin-top: 8px;
  }
}

@media (max-width: 349px) {
  .banner {
    text-align: left;
  }
}

#blue-apron-review-1 {
  margin-top: 2%;
}

/* Tableau Healthy Meal Kits embed */
.tableauPlaceholder {
  position: relative;
}

object.tableauViz {
  display: none;
  width: 100%;
  height: 827px;
}

@media (max-width: 800px) {
  object.tableauViz {
    width: 100%;
    height: 827px;
  }
}

@media (max-width: 500px) {
  object.tableauViz {
    width: 100%;
    height: 977px;
  }
}

.special-discount-deal {
  background-color: rgba(217, 83, 79, 0.25);
  margin-left: -2px;
  padding: 1px 0 1px 2px;
  border-radius: 2px;
}

.special-discount-tag {
  float: right;
  background: rgba(217, 83, 79, 0.5);
  color: black;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 12px 2px 2px 12px;
}

.special-discount-tag.inline {
  float: none;
}

.sub-item {
  list-style: circle;
  margin-left: 40px;
}

table.cookie-table td:nth-child(1) {
  min-width: 86px;
}

.service-card-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.service-card {
  background-color: white;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
  border-radius: 2px;
  padding: 10px;
  margin: 10px;
  min-width: 213px;
  max-width: 246px;
  font-weight: 500;
  flex: 1 1;
}

.service-card .logo-container {
  height: 80px;
  text-align: center;
}

.service-card .logo-container > a {
  line-height: 80px;
}

.service-card .logo {
  width: 159px;
}

.service-card .logo.blue-apron,
.service-card .logo.gobble,
.service-card .logo.green-chef,
.service-card .logo.marley-spoon,
.service-card .logo.freshly {
  height: 55px;
  width: auto;
}

.service-card .badge {
  margin: 1px 0;
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 16px;
}

.badge .glyphicon, .badge img {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -8px 0 0 -8px;
}

.badge img {
  width: 16px;
  height: 16px;
}

.badge .glyphicon-usd {
  font-size: 12px;
  margin: -6px 0 0 -6.5px;
}

/* Currently using bootstrap table style.
Saving this here for backup. delete later if you feel like it.

.ratings-table {
  table-layout: fixed;
  width: 100%;
}


/* Column widths are based on these cells 
.row-service {
  width: 35%;
}
.row-rating {
  width: 45%;
}
.row-n-rating {
  width: 10%;
}
.row-comments {
  width: 10%;
}

.comment-cell {
  width: 66%;
  padding-top: 2%;
  padding-left: 5%;
  padding-right: 5%;
  border: .01em solid black;
}
*/

.clickable {
  cursor: pointer;
}

@media (max-width: 991px) {
  #protein {
    margin-top: 10px;
  }
}

#protein label {
  padding-right: 10px;
}

.robots-disclosure.affiliate-disclosure.top-level {
  margin-left: 12px;
}

/*style for date in twitter comments*/
.date {
  font-size: .9em;
  font-style: italic;
  color: grey;
  margin-left: 1em;
}

.review {
  max-width: 600px;
  margin-bottom: .5em;
}

/*sentiment classes: positive, negative, and neutral */
.sentiment {
  font-family: Montserrat;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}

.Positive {
 background-color: #4BBF73; 
 color:rgb(231, 231, 231); 
}

.Neutral {
  background-color: #333;
  color:rgb(231, 231, 231);
}
 
.Negative {
  background-color: #d9534f; 
  color:rgb(231, 231, 231);
}
 
.search-bar {
  max-width: 500px;
}

.ratings-component {
  margin-bottom: 25px;
}

.tweet-feedback-btn {
  margin-right: 10px;
}