/**
 * @file
 * Visual styles for bf_resources'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: 20px;
  max-width: 335px;
}
 /*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;
}

.custom-list-data .node--view-mode-teaser {
    clear: both;
    display: inline-block;
    width: 100%;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}
.custom-list-data .node--view-mode-teaser .views-field-title {
    font-size: 24px;
    line-height: 26px;
    margin-bottom: 10px;
}
.custom-list-data .node--view-mode-teaser .views-field-title a {
    font-size: 24px;
    line-height: 26px;
    font-family: 'Roboto Slab', Trebuchet MS, Sans-serif;
}
.custom-list-data .node--view-mode-teaser a.views-more-link {
    font-size: 12px;
    border: 0;
    color: #F58220;
}
.custom-list-data .node--view-mode-teaser a.views-more-link:hover {
    color: #fff;
}
.custom-list-data .node--view-mode-teaser .views-field-body .field-content {
    font-size: 16px;
    font-weight: normal;
}
.custom-list-data .node--view-mode-teaser .views-field-body .field-content p{
    padding-bottom:0px;
}

.custom-list-data .view-mt-tags-cloud{
  margin-bottom: 35px;
  border-bottom: 1px solid #ddd;
}
.custom-list-data .view-mt-tags-cloud ul {
    list-style: none;
}
.custom-list-data .view-mt-tags-cloud ul li {
    margin: 0 3px 0 0;
    display: inline-block;    
}
.custom-list-data .view-mt-tags-cloud ul li a{
    padding: 4px 5px 3px;
    font-weight: 600;    
}

@media(max-width:480px){
    .custom-list-data .node--view-mode-teaser .views-field-title{
        margin-top: 10px;
        display: inline-block;
        width: 100%;
    }
}
