/* Article page css */
.block-plugin-id--amgee-order-online-sponsors .amgee-order-online-obit-sponsors {
  float: right;
  clear: both;
}
.page-node-type--article  .block-plugin-id--field-block-nodearticlefield-geolocation {
  float: right;
  clear: both;
  width: 50%;
}
@media screen and (max-width: 600px) {
  .page-node-type--article  .block-plugin-id--field-block-nodearticlefield-geolocation {
      width: 100%;
  }
}

/* Promotion page css */
.node--type-promotion p {
  font-size: 16px;
}
.node--type-promotion h3 {
  font-size: 1.17em;
}
.node--type-promotion #sponsorship-ad-single {
  text-align: center;
  margin-bottom: 40px;
}
.node--type-promotion .pane-lede .field-name-field-pane-image {
  text-align: center;
  margin-top: 1em;
}
.pane-wrapper {
  border-bottom: 1px solid #ccc;
  padding-top: 10px;
}
.pane-wrapper.pane-left .field-name-field-pane-image {
  float: left;
  margin: 0 1.5em 0 0;
}
.pane-wrapper.pane-right .field-name-field-pane-image {
  float: right;
  margin: 0 1.5em 0 0;
}
.pane-wrapper a {
  color: red;
}
.pane-wrapper h3 {
  font-size: 1.17em;
  margin: 1em 0;
}
.pane-wrapper li {
  list-style: inside;
}
.view-related-stories .views-row .views-field-field-image {
  float: right;
  margin: 0 0 0.5em 0.5em;
  clear: both;
}
.view-related-stories .views-row {
  padding: 5px 0;
  margin: 0;
  /* border-bottom: 1px solid #dfdfdf; */
  overflow: hidden;
}
@media(min-width: 736px) {
  .node--type-promotion .atl__lc.lc-1 {
    width: 75%;
  }
}
@media(max-width: 736px) {
  .node--type-promotion .view-related-stories .views-view-grid.horizontal .views-col  {
    width: 100% !important;
  }
}

/* Affiliate post css */
.page-node-type--affiliate-post .page.js-layout {
  max-width: 1200px;
}
/* Affiliate post css */		 
body.page-node-type--affiliate-post .block.block-config-provider--views.block-plugin-id--views-block-affiliate-post-gallery-style-block-6 {
clear: both;
}
body.page-node-type--affiliate-post p.address {
margin: 15px 0px!important;
}
body.page-node-type--affiliate-post .view-id-gallery_image_style.view-display-id-block_3 .field-content > a > img,
body.page-node-type--article  .block-config-provider--views.block-plugin-id--views-block-gallery-image-style-block-3 .field-content > a > img{
margin-bottom: 10px;
}
/* article post css */
body.page-node-type--article .block.block-plugin-id--views-block-gallery-image-style-block-6 ,
body.page-node-type--article .block-plugin-id--field-block-nodearticlefield-geolocation,
body.page-node-type--article  .block-config-provider--views.block-plugin-id--views-block-gallery-image-style-block-3 {
/* float: right;
width: 300px;
max-width: 300px; */ /* Removed because the bottom images should be on row on center : 10apr25 */
clear: both;
}

/* classified page css changes */
.block-views-css-class--amgee-classified-results .view-content.view-rows {
  display:flex;
  flex-wrap:wrap;
  }
 
.block-views-css-class--amgee-classified-results .view-content.view-rows > .views-row {
    width: calc(25% - 20px);
    margin: 0px 10px;
    border-bottom: 1px solid #dfdfdf;
    padding: 10px 10px 20px;
}
.block-views-css-class--amgee-classified-results .view-content.view-rows > .views-row .views-field-field-image .field-content {
    text-align: left;
}
.block-views-css-class--amgee-classified-results .view-content.view-rows {
    margin: 20px -20px 20px;
}
 
.block-views-css-class--amgee-classified-results .view-content.view-rows > .views-row .views-field.views-field-title a {
    color: #000;
}
 
 
.block-views-css-class--amgee-classified-results .view-content.view-rows > .views-row .views-field.views-field-title a:hover {
    color: red;
}
@media (max-width:1025px){
.block-views-css-class--amgee-classified-results .view-content.view-rows {
    margin: 20px -15px 20px;
}
.block-views-css-class--amgee-classified-results .view-content.view-rows > .views-row {
    width: calc(33% - 20px);
	}
 
}
 
@media (max-width:767px){
 
.block-views-css-class--amgee-classified-results .view-content.view-rows > .views-row {
    width: calc(50% - 20px);
	}
 
}
 
 
@media (max-width:576px){
.block-views-css-class--amgee-classified-results .view-content.view-rows {
    margin: 20px -10px 20px;
}
.block-views-css-class--amgee-classified-results .view-content.view-rows > .views-row {
    width: calc(199% - 20px);
	}
 
}


/* Related Stories block on article page */
.block-plugin-id--amgee-core-related-stories {
  background-color: #f7f7f7;
  border: 1px solid #dfdfdf;
  padding: 7px 15px;
  float: right;
  width: 100%;
  max-width: 360px;
  clear: both;
  margin-left: 10px !important;
  margin-top: 15px !important;
  position: relative;
  z-index: 2;
}
.block-plugin-id--amgee-core-related-stories .block__title{
  margin: 5px 0px;
  border-bottom: 2px solid #dfdfdf
}
ul#amgee-order-online-obit-sponsors {
  /* width: 100%; */
  max-width: 360px;
  margin-left: 10px;
}
/* ul#amgee-order-online-obit-sponsors img{
  width: 100%;
} */
.block-plugin-id--amgee-core-related-stories .block__content a{
  color: #000;
  font-weight: 700;
  font-family: "Merriweather", serif;
}
.block-plugin-id--amgee-core-related-stories .block__content p{
  border-bottom: 1px solid #dfdfdf;
  margin-bottom: 0;
  padding: 7px 0px;
  line-height: 24px;
  width: 100%;
}
.block-plugin-id--amgee-core-related-stories .block__content p:nth-child(10){
  border-bottom: 0px solid #dfdfdf;
}
.block-plugin-id--amgee-core-related-stories .block__content span{
  font-size: 12px;
}
.view.view-gallery-image-style.view-id-gallery_image_style.view-display-id-block_5 .field-content{
  word-break: break-all;
}
@media(max-width:737px){ 
  .block-plugin-id--amgee-core-related-stories{
    max-width: 100%;
    float: inherit;
    margin-left: 0;
    clear: none;
    margin-left: 0 !important;
  }
  /* Show the 2nd block */
  .atl__lr.atl__cw .atl__lc.lc-1 > .block-plugin-id--amgee-core-related-stories.counter-6{
    display: block;
  }
  .atl__lr.atl__cw .atl__lc.lc-1 > .block-plugin-id--amgee-core-related-stories.counter-5{
    display: none;
  }
}
@media(min-width:737px){
  /* Hide the 2nd block */
  .atl__lr.atl__cw .atl__lc.lc-1 > .block-plugin-id--amgee-core-related-stories.counter-6{
    display: none;
  }
}

/* Article body spacing */
.view.view-gallery-image-style.view-id-gallery_image_style.view-display-id-block_2 .field-content{
  margin-left: 10px;
}
.view.view-gallery-image-style.view-id-gallery_image_style p{
  word-break: break-word!important;
}
/* classic gallery image not clickable */
.node__content > .atl.atl--twocol-8-4 > .atl__lr.atl__cw > .atl__lc.lc-1 > .block-plugin-id--views-block-gallery-image-style-block-2 {
  position: relative;
  z-index: 1;
}

/* Line break on body */
.view.view-gallery-image-style.view-id-gallery_image_style.view-display-id-block_5 .field-content {
  word-break: break-word!important;
}


/*********************************************************************/
/* Photoswipe Galleries                                              */
/*********************************************************************/

.pswp_logo {
  height: 44px;
  width: auto;
  left: 50%;
  position: fixed;
  transform: translateX(-50%);
  z-index: 10;
}

.pswp__caption__center {
  font-size: 20px;
  line-height: 25px;
}
.pswp_smugmug_button {
  -webkit-transform: translateZ(0);
  position: fixed;
  top: 60px;
  right: 12px;
}
.pswp_smugmug_button button {
  color: white;
  background: black;
  border-radius: 12px;
  max-height: 44px;
  display: flex;
  align-content: flex-start;
}
.pswp_smugmug_button img {
  height: 40px;
  width: auto;
  flex: auto;
  margin: auto;
  padding: 3px;
}
.pswp_smugmug_button div {
  flex: auto;
  margin: auto;
  font-weight: bold;
  font-size: 1.2em;
}
#pswp_ad {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20000000000000;
  text-align: center;
  display: flex;
  background: rgba(0, 0, 0, 0.75);
  line-height: 2em;
}
#pswp_ad div {
  color: white;
  margin: auto;
  font-weight: bold;
}
.pswp_ad_label {
  font-size: 1.5em;
}
.pswp__button--adclose {
  top: 20px;
  position: relative;
}
.pswp__caption--real .pswp__caption__center {
  /* Allow caption to be wider than fake caption. */
  max-width: unset;
}

.pswp__caption--real.one-line .pswp__caption__center {
  /* Center seingle-line captions */
  text-align: center;
}
