/**
 * Styles for thefix_dfp_ads blocks.
 */
.block-thefix-dfp-ads iframe {
  max-width: 100%;
}

.sidebar-secondary .block-thefix-dfp-ads.thefix-article-left-125x125,
.sidebar-secondary .block-thefix-dfp-ads.thefix-article-right-125x125 {
  width: 50%;
  float: left;
  margin-bottom: 20px;
}
.sidebar-secondary .block-thefix-dfp-ads.thefix-article-left-125x125 {
  clear: left;
}
.sidebar-secondary .block-thefix-dfp-ads.thefix-article-right-125x125 {
  clear: right;
}

@media (max-width: 768px) {
  .sidebar-secondary .block-thefix-dfp-ads.thefix-article-left-125x125,
  .sidebar-secondary .block-thefix-dfp-ads.thefix-article-right-125x125 {
    width: 100%;
    float: none;
    clear: both;
  } 
}

/* TW #9977217 - ADS region into body only for mobile */
.node-type-page #block-system-main .node-page .field-name-body .google-dfp-ads,
.node-type-article #block-system-main .body > .google-dfp-ads, .node-type-article #block-system-main .body blockquote .google-dfp-ads,
.just-in .google-dfp-ads {
  display: none;
}
.node-type-page #block-system-main .node-page .field-name-body .google-dfp-ads.show-desktop,
.node-type-article #block-system-main .body > .google-dfp-ads.show-desktop, .node-type-article #block-system-main .body blockquote .google-dfp-ads.show-desktop,
.just-in .google-dfp-ads.show-desktop {
  display: block;
  width: 728px;
  margin: 20px 0;
}
.just-in .google-dfp-ads.show-desktop {
  text-align: center;
}
.node-type-page #block-system-main .node-page .field-name-body .google-dfp-ads.show-desktop iframe,
.node-type-article #block-system-main .body > .google-dfp-ads.show-desktop iframe {
  max-width: 100%;
}

@media (max-width: 768px) {
  .node-type-page #block-system-main .node-page .field-name-body .google-dfp-ads,
  .node-type-article #block-system-main .body > .google-dfp-ads,
  .just-in .google-dfp-ads {
    display: block;
    text-align: center;
    margin: 20px 0;
  }
  .region-content .block-thefix-dfp-ads {
    clear: both;
  }
  .node-type-page #block-system-main .node-page .field-name-body .google-dfp-ads.show-desktop,
  .node-type-article #block-system-main .body > .google-dfp-ads.show-desktop,
  .just-in .google-dfp-ads.show-desktop {
    display: none;
  }
}
