/* A fix to make sure that the heights of the cells in a boostrap grid are equal even if the content size varies. Tested with both panel and thumbnail elements inside cells. */

@media only screen and (min-width: 481px) {
  .flex-row.row {
    display: flex;
    flex-wrap: wrap;
  }
  .flex-row.row > [class*='col-'] {
    display: flex;
    flex-direction: column;
  }
  .flex-row.row:after,
  .flex-row.row:before {
    display: flex;
  }
}

.flex-row .thumbnail, .flex-row .caption, .flex-row .panel, .flex-row .panel-title  {
  flex: 1 0 auto;
  flex-direction: column;
}

.flex-text {
  flex-grow: 1
}

.flex-row img {
  height: auto;
  width: 100%
}
