/*
	Theme Name: Atmosphere Pro (Custom)
	Theme URI: https://pixeldreams.com/
	Description: A custom theme built on top of Atmosphere Pro child theme of Genesis framework
	Author: StudioPress
	Author URI: https://pixeldreams.com/

	Version: 2.1

	Tags: A

	Template: genesis
	Template Version: 2.10

	License: GPL-2.0+
	License URI: http://www.opensource.org/licenses/gpl-license.php
*/

.in-between-content {
  margin: 100px 0;
}

/* adsanity */
.adsanity-shortcode .adsanity-inner img {
  border: 1px solid black;
}

.adsanity-shortcode .adsanity-inner img:focus{
  outline: none;
}

.adsanity-shortcode .adsanity-inner:before {
  content: "Advertisement";
  font-family: 'Open Sans';
  font-size: 14px;
  font-weight: normal;
  text-align: left;
  margin-bottom: 5px;
  display: block;
}

.adsanity-shortcode .adsanity-inner {
  padding-bottom: 110%;
}

.entry-content .adsanity-inner a {
  box-shadow: none;
}

/* sidebar banners */
.ad-alignnone .ad-row > div {
  margin-bottom: 12px;
  margin-right: 0;
}

.sponsorship-wrapper {
  margin-bottom: -25px;
}

/* desktop, tablets */
@media (min-width: 768px) {
  .in-between-content .adsanity-shortcode:nth-child(2),
  .single-after-content .adsanity-shortcode:nth-child(2) {
    display: none !important;
  }

  .single-after-content .adsanity-shortcode:nth-child(1) {
    margin-bottom: 25px;
  }
}

/* mobile landscape */
@media (max-width: 767px) {
  .in-between-content .adsanity-shortcode:nth-child(1),
  .single-after-content .adsanity-shortcode:nth-child(1) {
    display: none !important;
  }

  .in-between-content .adsanity-shortcode .ad-row,
  .single-after-content .adsanity-shortcode .ad-row,
  .sidebar .custom-html-widget .adsanity-shortcode .ad-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: -10px;
    margin-right: -10px;
  }

  .single-after-content {
    margin-bottom: 50px;
  }
}

/* mobile portrait */
@media (max-width: 575px) {
  .sponsorship-wrapper {
    margin-bottom: -30px;
  }

  .sponsorship-wrapper,
  .sponsorship-wrapper a {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .sponsorship-wrapper img {
    margin: 8px auto !important;
  }
}
