/**
 * @file
 * Visual styles for Newsplus's teaser listing pages.
 */
.view-taxonomy-term .views-row,
.view-feed .views-row,
.view-frontpage .views-row,
.view-archive .views-row {
  border-bottom: 1px solid #dddddd;
  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: right;
  margin-left: 30px;
  margin-bottom: 15px;
  max-width: 190px;
}

/*styles to prevent image wrap*/
.view-taxonomy-term .with-image,
.view-feed .with-image,
.view-frontpage .with-image,
.view-archive .with-image {
  margin-right: 220px;
}
@media (min-width: 1200px) {
  .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: 68px;
    max-width: 275px;
  }

  /*styles to prevent image wrap*/
  .view-taxonomy-term .with-image,
  .view-feed .with-image,
  .view-frontpage .with-image,
  .view-archive .with-image {
    margin-right: 343px;
  }
}
@media (min-width: 992px) {
  .two-sidebars .view-taxonomy-term .field--name-field-image,
  .view-feed-taxonomy-term .field--name-field-image,
  .two-sidebars .view-frontpage .field--name-field-image,
  .two-sidebars .view-archive .field--name-field-image {
    max-width: 190px;
    margin-left: 25px;
  }

   /*styles to prevent image wrap*/
  .two-sidebars .view-taxonomy-term .with-image,
  .view-feed-taxonomy-term .with-image,
  .two-sidebars .view-frontpage .with-image,
  .two-sidebars .view-archive .with-image {
    margin-right: 215px;
  }
}
@media (max-width: 480px) {
  .view-taxonomy-term .field--name-field-image,
  .view-feed .field--name-field-image,
  .view-frontpage .field--name-field-image,
  .view-archive .field--name-field-image {
    float: left;
    margin-left: 0;
    max-width: 100%;
    margin-right: 0;
  }

  /*styles to prevent image wrap*/
  .view-taxonomy-term .with-image,
  .view-feed .with-image,
  .view-frontpage .with-image,
  .view-archive .with-image {
    margin-right: 0;
    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;
  border-bottom: solid 6px #e4e4e4;
  padding-right: 15px;
  padding-left: 15px;
  margin-bottom: 35px;
}
.view-feed .promoted-posts .view-header {
  border-bottom: none;
  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;
}
.view-feed .promoted-posts .field--name-field-image {
  float: left;
  margin-right: 30px;
  margin-left: 0;
}
.view-feed .promoted-posts .with-image {
  margin-right: 0;
  margin-left: 220px;
}
@media (min-width: 1200px) {
  .view-feed .promoted-posts .field--name-field-image {
    margin-right: 68px;
  }
  .view-feed .promoted-posts .with-image {
    margin-right: 0;
    margin-left: 343px;
  }
}
@media (min-width: 992px) {
  .layout-no-sidebars .view-feed .promoted-posts .view-content,
  .layout-no-sidebars .view-feed .promoted-posts .view-header {
    margin-left: -28.6%;
    margin-right: -28.6%;
    padding-left: 28.6%;
    padding-right: 28.6%;
  }
  .layout-sidebar-second .view-feed .promoted-posts .view-content,
  .layout-sidebar-second .view-feed .promoted-posts .view-header {
    margin-left: -17.8%;
    padding-left: 17.8%;
  }
  .layout-sidebar-first .view-feed .promoted-posts .view-content,
  .layout-sidebar-first .view-feed .promoted-posts .view-header {
    margin-right: -17.8%;
    padding-right: 17.8%;
  }
  .layout-two-sidebars .view-feed .promoted-posts .field--name-field-image {
    margin-right: 25px;
    margin-left: 0;
  }
  .layout-two-sidebars .view-feed .promoted-posts .with-image {
    margin-right: 0;
    margin-left: 215px;
  }
}
@media (max-width: 991px) {
  .view-feed .promoted-posts {
    margin-left: -15px;
    margin-right: -15px;
  }
  .view-feed .promoted-posts .view-header {
    padding: 0 15px;
  }
}
@media (max-width: 480px) {
  .view-feed .promoted-posts .with-image {
    margin-left: 0;
  }
  .view-feed .promoted-posts .field--name-field-image{
    margin-right: 30px;
  }
}
