/**
 * @file
 * Visual styles for Journaleight's teaser listing pages.
 */
.view-taxonomy-term .views-row,
.view-feed .views-row,
.view-frontpage .views-row,
.view-archive .views-row {
  margin-bottom: 35px;
}
.view-taxonomy-term .node--view-mode-teaser .field--name-field-image,
.view-feed .node--view-mode-teaser .field--name-field-image,
.view-frontpage .node--view-mode-teaser .field--name-field-image,
.view-archive .node--view-mode-teaser .field--name-field-image {
  float: left;
  margin-right: 4%;
  max-width: 45%;
}
 /*styles to prevent image wrap*/
.view-taxonomy-term .with-image,
.view-feed .with-image,
.view-frontpage .with-image,
.view-archive .with-image {
  clear: both;
}
@media (max-width: 480px) {
  .view-taxonomy-term .node--view-mode-teaser .field--name-field-image,
  .view-feed .node--view-mode-teaser .field--name-field-image,
  .view-frontpage .node--view-mode-teaser .field--name-field-image,
  .view-archive .node--view-mode-teaser .field--name-field-image {
    margin-left: 0;
    max-width: 100%;
    margin-right: 0;
  }
  .view-taxonomy-term header,
  .view-feed header,
  .view-frontpage header,
  .view-archive header {
    clear: both;
  }
}
.view-taxonomy-term .node--view-mode-teaser h2.node__title,
.view-feed .node--view-mode-teaser h2.node__title,
.view-frontpage .node--view-mode-teaser h2.node__title,
.view-archive .node--view-mode-teaser h2.node__title {
  margin-bottom: 5px;
}
/* Promoted posts */
.view-feed .promoted-posts .view-content,
.view-feed .promoted-posts .view-header {
  background-color: #f8f8f8;
  margin-bottom: 35px;
  padding: 0 10px;
}
.view-feed .promoted-posts .view-header {
  margin-bottom: 0;
}
.view-feed .promoted-posts .view-header span {
  padding-bottom: 0;
  display: inline-block;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px;
  min-width: 125px;
}
.view-feed .promoted-posts .views-row {
  padding-top: 35px;
  margin-bottom: 0;
}
.view-feed .promoted-posts .views-row:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}