/* 
  view: full
  view: view-featured-content
  view: frontpage category teaser
  view: teaser
  view: classified-ad sidebar teaser
  events calendar
*/

/* all image fields and image styles */
.field--name-field-ugc-main-image img,
.node--view-mode-full .article-sidebar .field img, 
.node--view-mode-sidebar-teaser .field--type-image img, 
.views-field-field-main-image-reference img,
article.embedded-entity img,
body.path-search .block-system-main-block article img:not(.no-scale),
body.path-user .field--type-image img ,
img.image-style-audience-recommendation,
img.image-style-cf-medium-teaser-320x180,
img.image-style-front-page-category,
img.image-style-frontpage-category-teaser-large,
img.image-style-medium,
img.image-style-cf-story-full-content {
    max-width: 100%;
    height: auto; 
}

.sidebar-group img.image-style-cf-medium-teaser-320x180 {
    width: 100%;
    height: auto;
}

/* begin view: view-mode-full */
.node--view-mode-full div.rest-of-node header .field--name-field-heading_a a {
    font-family: 'Libre Franklin', sans-serif;
    color: black !important;
    cursor: text;
}

.node--view-mode-full div.rest-of-node header .field--name-field-heading_a a:hover {
    text-decoration: none;
}

.block-page-title-block h1.page-title span {
    font-family: 'Libre Franklin', sans-serif;
    color: black !important;
    font-size: 36px !important;
}

.node--view-mode-full .node__content  .article-sidebar .field {
    margin-bottom: 10px;
}

.node--view-mode-full .field--name-field-main-image-reference,
.node--view-mode-full .field--name-field-image-reference-list {
  font-size: 14px;
  font-family: serif;
  color: #1c1c1c;
  margin-bottom: 10px;
  border-bottom: double 4px #d7d3d3;
  padding-bottom: 4px;
}

.page-node-type-story .block-system-main-block .content header {
  margin: 10px 0;
}

/* move this ad style to layout? */
.page-node-type-story  #mediumrectangle-art {
  text-align: center;
  padding: 10px;
}

@media(min-width: 880px){ 
  .page-node-type-story #mediumrectangle-art {
    float:right;
    padding: 20px;
  }
  .page-node-type-story #mediumrectangle-art.ad-left {
    float:left;
  }
}

article.node--view-mode-sidebar-teaser .field--name-field-main-image-reference {
  border-bottom: none !important;
  padding-bottom: 0;
  margin-bottom:0 !important;
}

article.node--view-mode-sidebar-teaser .node__title a {
  font-family:"Libre Sans", sans-serif;
}

.field--name-field-related-onset-content article .field--name-body,
 .field--name-field-related-onset-content article .node__meta {
    display: none;
}
.page-node-type-story header .field--name-field-heading_a {
  font-family: 'Libre Franklin', sans-serif;
  color: black !important;
  cursor: text;
}

.page-node-type-story .node__meta {
  padding-bottom:15px;
}

.page-node-type-story .node__meta, 
.page-node-type-story .node__meta a {
    color: #585656;
    font-family: "Libre Franklin", sans-serif;
    font-size: small;
}
.page-node-type-story .node__meta a {
    text-decoration:underline;
}

.page-node-type-story .node__meta .field--name-field-byline,
.page-node-type-story .node__meta .field--name-field-byline-attribute {
    display: inline-block;
}

.page-node-type-story .node__meta .field--name-field-byline-attribute:before, 
.page-node-type-story .node__meta span.updated:before {
    content: '\2022';
    padding-right: 10px;
    padding-left:10px;
}

.page-node-type-story .node__meta-time span {
    padding:5px 0
    color:#868486;
}

/* forcing 'n' to be bullets in stories */
span.bullet { font-size: 0;}
span.bullet:before { font-size: 14px; content: '\2022 '; padding-right:4px; }

/* captions and credits */

.page-node-type-story .image-container .image-meta {
    background: #e2dfdf;
    padding: 10px;
    margin-top: 4px;
}
.page-node-type-story .image-container .field--name-body {
    text-align:left;
}

.node--type-story.node--view-mode-full .rest-of-node ul,
.node--type-story.node--view-mode-full .rest-of-node ol {
  margin: 10px;;
  padding: 10px;
}

.page-node-type-story .bx-wrapper .field--name-field-byline,
.page-node-type-story .bx-wrapper .field--name-body,
.page-node-type-story .image-container .field--name-body {
    width: 90%;
    margin: 0 calc((100% - 90%) / 2);
}

.page-node-type-story .bx-wrapper .field--name-body,
.page-node-type-story .image-container .field--name-body {
  font-size: smaller;
}

.page-node-type-story .image-container  .field--name-field-byline {
    text-align: right;
    font-size:smaller;
    font-weight:bold;
}

/* non bx-slider story image */
.page-node-type-story article.node--type-story.node--view-mode-full> .image-container {
    text-align: center;
    padding: 5px 0;
}

/* SF-256561 - Google Survey Awards Fix */
.page-node-type-story article.node--type-story.node--view-mode-full .p402_premium > .image-container {
    text-align: center;
    padding: 5px 0;
}

.page-node-type-story article.node--type-story > .image-container > li {
  list-style: none;
}

body.page-node-type-story #page-wrapper.cat-obituaries .image-container > img.image-style-cf-story-full-content {
  width: auto;
  height: auto;
  margin: 0 auto;
}

.field.field--name-field-related-onset-content.field--type-entity-reference.field--label-above > div.field__label {
    background: #0b4c5f;
    margin-right: 0px;
    color: #fff;
    display: block;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    padding: .25rem 10px;
    text-decoration: none;
    border-radius: 4px 4px 0 0;
    border-bottom: solid 1px #0b4c5f;
}

.field.field--name-field-related-onset-content.field--type-entity-reference.field--label-above > div.field__items .node__title:before {
    content:'• ';
}

/* begin view: .view-featured-content */

.view-featured-content .views-field-title a {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 2.1em;
    line-height: 130%;
    color: #333232;
    display: block;
    margin-top: 10px;
}

.node--view-mode-frontpage-category-teaser h1.node__title {
    margin: 0;
    font-size: 34px;
    line-height: 80%;
}

.node--view-mode-frontpage-category-teaser .abheading a {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.55em;
    color: black;
    line-height: 120%;
}

.view-featured-content .views-field-body .field-content p {
    font-size: smaller;
}

.block-views-blockfeatured-content-block-1 div.content {
    margin-top: 0px;
}

.block-views-blockfeatured-content-block-1 {
    margin-bottom: 20px;
    display: block;
}
.block-views-blockfeatured-content-block-1 img {
    margin-bottom: 10px;
}

/* photo gallery */
body.page-node-type-photo-gallery .jupiter .field-content img {
    max-height: 400px;
    width: auto;
}

.sidebar-group .abheading .abheading_title,
.sidebar-group .abheading .abheading_title a,
.sidebar-group .abheading .abheading_title span {
    font-family: 'Libre Franklin', serif;
}

/* begin view: .sidebar-group .view-featured-content */

.sidebar-group .view-featured-content .views-field-title a {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 18px;
    font-weight: bold;
    line-height: 120%;
    color: #353535;
}

.sidebar-group .view-id-featured_content .views-row.view-node {
    border-bottom: solid 1px #eaeaea;
    padding-bottom: 8px;
}

.sidebar-group .view-featured-content .views-field-field-main-image-reference,
.sidebar-group .view-featured-content .views-field-field-byline {
    display: none;
}

.sidebar-group .view-featured-content .item1 .views-field-field-main-image-reference {
    display: block;
}

/* begin view: frontpage category teaser */

.node--view-mode-frontpage-category-teaser .field--name-field-main-image-reference {
    text-align:center;
    background:#eaeaea;
}
.node--view-mode-frontpage-category-teaser .field--name-field-main-image-reference img.image-style-front-page-category {
    max-height:200px;
    width:auto;
    margin:0 auto;

}

.views-field.views-field-changed {
    font-size: 12px;
    color: #949494;
}
.col-md-7 article.node--view-mode-frontpage-category-teaser {
    border-bottom: solid 1px #efefef;
}

.node--view-mode-frontpage-category-teaser  h3.node__title {
    margin: .5rem 0;
    font-size: 2em;
    line-height: 80%;
    padding-bottom: 0.5rem;
}

.node--view-mode-frontpage-category-teaser .rest-of-node header .node__meta .node__meta_byline {
    display: none;
}

.node--view-mode-frontpage-category-teaser .rest-of-node header .node__meta .node__meta_byline:first-child {
    display: block;
}

.node--view-mode-frontpage-category-teaser .rest-of-node header .node__meta span.field--name-created {
    display: none;
}

.newslist.item1 .node--view-mode-frontpage-category-teaser .rest-of-node header .node__meta span.field--name-created {
    display: block;
    margin: 10px 0;
    color: #b33939;
}

.node--view-mode-frontpage-category-teaser .abheading a {
    line-height: 80%;
    font-size: 1.6rem;
    margin: 4px 0;
}

/* begin view: puts video under divs so they are clickable */
.view-node .embedded-video {
    z-index: -10000;
}

/* begin view: teaser */
.node--type-story.node--sticky.node--view-mode-teaser,
.node--type-photo-gallery.node--sticky.node--view-mode-teaser,
.node--type-video.node--sticky.node--view-mode-teaser {
    background: none;
    padding-top: 20px;
    border: none;
    border-bottom: 1px solid #d3d7d9;
    z-index: 0;
}

.node--view-mode-teaser .abheading_title a,
.node--view-mode-teaser .rest-of-node h3.node__title .gallery-title,
.node--type-video.node--view-mode-teaser .rest-of-node h3.node__title .field--label-hidden,
.node--type-classified-ad .rest-of-node h3.node__title a,
.node--type-classified-ad .rest-of-node h3.node__title {
    font-family: 'Libre Franklin', serif;
    font-size: 18px;
    font-weight: bold;
    line-height: 20px;
    color: #083e6d;
}

.page-node-type-classified-ad article.node--type-classified-ad.node--view-mode-full .node__title .field--name-title {
    font-family: 'Libre Franklin', sans-serif;
    color: black !important;
    cursor: text;
    font-size: 30px;
}

.node--view-mode-teaser .field--name-field-main-image-reference,
.node--view-mode-teaser .field--name-field-image-reference-list {
    text-align:center;
    background:#eaeaea;
}
.node--view-mode-teaser .field--name-field-main-image-reference img.image-style-cf-medium-teaser-320x180,
.node--view-mode-teaser .field--name-field-image-reference-list img.image-style-cf-medium-teaser-320x180{
    max-height: 200px;
    width: auto;
    margin: 0 auto;
}

 /* begin view: all sidebar*/

 .node--view-mode-sidebar-teaser h3 {
    font-weight: bold;
    font-family: 'Domine', serif;
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 20px;
    color: #083e6d;
}


/* begin view: classified-ad sidebar teaser */
.view-classified-ad .node--view-mode-sidebar-teaser {
  padding: 0;
}
.view-classified-ad .node--view-mode-sidebar-teaser {
    background: inherit;
}

.view-id-classified_ad .node--type-classified-ad .rest-of-node h3.node__title {
  margin: 5px 0;
}

.view-classified-ad .node--view-mode-sidebar-teaser .field--name-body p {
    line-height: 120% !important;
}

.views-blocklatest-videos-block-2 .featured-video-headline {font-size: 14px;
    font-weight: bold;
    margin: 10px 0 0 0;
}

/* trending commented read */
.block-views-blocktrending-now-most-commented .block.content,
.block-views-blocktrending-now-most-read .block.content {
  padding: 10px 0;
}
.block-views-blocktrending-now-most-commented .item-list ol li,
.block-views-blocktrending-now-most-read .item-list ol li { 
  padding:10px;
}
.block-views-blocktrending-now-most-commented .item-list ol li:nth-child(odd),
.block-views-blocktrending-now-most-read .item-list ol li:nth-child(odd)  { 
  background: #eaeaea; 
}

/* events calendar */
#add-events {
  *display: inline;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
  cursor: pointer;
  display: inline-block;
  font: 14px/100% Arial, Helvetica, sans-serif;
  margin: 10px auto 0 auto;
  outline: none;
  padding: .5em 2em .55em;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0,0,0,.3);
  vertical-align: baseline;
  width: 50%;
  zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
  color: #d9eef7;
  border: solid 1px #0076a3;
  background: #0095cd;
  background: -webkit-gradient(linear, left top, left bottom, from(#00adee), to(#0078a5));
  background: -moz-linear-gradient(top,  #00adee,  #0078a5);
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#00adee', endColorstr='#0078a5');
}
#add-events:hover {
  text-decoration: none;
  background: #007ead;
  background: -webkit-gradient(linear, left top, left bottom, from(#0095cc), to(#00678e));
  background: -moz-linear-gradient(top,  #0095cc,  #00678e);
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#0095cc', endColorstr='#00678e');
}
#add-events:active {
  position: relative;
  top: 1px;
  color: #80bed6;
  background: -webkit-gradient(linear, left top, left bottom, from(#0078a5), to(#00adee));
  background: -moz-linear-gradient(top,  #0078a5,  #00adee);
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#0078a5', endColorstr='#00adee');
}

/* polls */
.field--name-field-poll-in-story {
    margin-right:10px;
    background:#eaeaea;
    padding:10px;
    border-radius:10px;
}

.field--name-field-poll-in-story  h3.poll-question {
  font-family: sans-serif;
  font-weight:bold;
  font-size:16px;
}

.field--name-field-poll-in-story  div.vote-form {
  margin:8px;
}

@media (max-width:650px) {
    .field--name-field-poll-in-story {
        width: 100%;
    }
}

/* view full content - story */
body.path-node.page-node-type-story .embedded-video{
  text-align:center;
}

.field--name-field-comments .form-textarea-wrapper textarea {
    border: solid 1px #b7b6b6;
    border-radius: 4px;
}

/* view full content - photo gallery */
body.page-node-type-photo-gallery #block-hudval-pagetitle h1.page-title span{
  font-family: 'Libre Franklin', sans-serif;
  color: black !important;
  font-size:36px !important;
}

.view-photo-gallery-slider .field-content {
  text-align:center;
}

.jupiter p {
    display: block;
    position: relative;
    bottom: 50px;
    background-color: rgba(53, 57, 63, 0.7);
    color: white;
    padding: 10px 0;
    text-align: left;
    padding-left: 20px;
}

/* user page */
body.path-user .field.field--name-user-picture.field--type-image.field--label-hidden.field__item {
    width: 25%;
    float:left;
    margin-right:20px;
}

body.path-user .field.field--name-field-user-byline {
    font-size:larger;
    font-weight:bold;
    border-bottom:solid 4px lightgrey;
    display:inline-block;
    margin-bottom:20px;
}

/* views - all */
.field--name-field-byline span p { 
  display: inline; 
}

body.page-node-type-event .field--label-inline {
    margin-bottom:20px;
    background:#f6f7f9;
    border-radius:10px;
    padding:12px;
}
body.page-node-type-event .field--label-inline .field__label {
    display:inline-block;
    font-weight:bold;
    border-bottom:solid 1px #d7d9de;
}

body.page-node-type-event .field--name-field-contact-information,
body.page-node-type-event .field--name-field-venue,
body.page-node-type-event .field--name-field-website-address {
   /*
   width:33%;
   display:inline-block;
   vertical-align:top;
   */
}

.node--view-mode-full .node__content .field--name-field-factbox-body {
    width: 100%;
    border: none;
    padding: 0;
    margin: 0;
    margin-top: 20px;
    border-left: solid 4px #f6f7f9;
    padding-left: 8px;
}

.content .align-left {
    margin-right: 1em;
    margin-bottom: 1em;
}

.content .align-right {
    margin-left: 1em;
    margin-left: 1em;
}

/* story - full content left sidebar */
.node--type-story .article-sidebar .field--name-field-video .embedded-video iframe  {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 224px;
    max-height: 126px;
}

.node--view-mode-full .node__content .article-sidebar .field {
    margin-bottom: 15px;
}

.node--type-story .article-sidebar .field--label-inline .field__label, .field--label-inline .field__items {
    /* overrides for field.css */
    display:block;
    float:none;
}
.node--type-story .article-sidebar .field__item {
}

