.ad-slot-leaderboard {
  width: 100% !important;
  max-width: 970px !important;
  height: 250px !important;
  margin: 20px auto 0 auto;
  background-color: rgba(0, 0, 0, 0.2);
  line-height: 250px;
  text-align: center;
}

.ad-slot-bottom-adhesion {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100% !important;
  height: 90px !important;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.ad-slot-footer {
  width: 100% !important;
  max-width: 728px !important;
  height: 90px !important;
  margin: 10px auto 40px auto;
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 14px;
  line-height: 90px !important;
  text-align: center;
}

.ad-slot-inarticle {
  width: 100% !important;
  max-width: 728px !important;
  height: 90px !important;
  margin: 40px auto;
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 14px;
  line-height: 90px !important;
  text-align: center;
}

.ad-slot-in-grid {
  grid-column: 1 / -1; /* FULL WIDTH in grid */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.ad-slot-sidebar {
  width: 300px !important;
  height: 600px !important;
  /*background-color: rgba(0, 0, 0, 0.2);*/
  text-align: center;
  font-size: 14px;
  line-height: 600px !important; /* Center fallback text vertically */
  z-index: 9999;
}

.ad-slot-sidebar-left {
  position: fixed;
  top: 140px;
  left: 20px;
}

.ad-slot-sidebar-right {
  position: fixed;
  top: 140px;
  right: 20px;
}

.site-below-footer-wrap {
  padding-bottom: 120px; /* Makes sure bottom adhesion ad isnt on top of footer links */
}

.ast-scroll-to-top-right {
  bottom: 110px; /* Makes sure the scroll to top button is above the bottom adhesion ad */
}

/* Hide on small screens */
@media (max-width: 1899px) {
  .ad-slot-sidebar {
    display: none;
  }
}

/* Hide ads inside grid on problematic screen width. Currently only supporting 1 and 5 grid items per row */
@media (min-width: 521px) and (max-width: 1199px) {
  .ad-slot-in-grid {
    display: none !important;
  }
}

/* Mobile size */
@media (max-width: 768px) {
  .ad-slot-leaderboard {
    max-width: 320px !important;
    height: 50px !important;
    line-height: 50px !important;
  }

  .ad-slot-bottom-adhesion {
    height: 56px !important;
  }

  .ad-slot-footer {
    max-width: 300px !important;
    height: 250px !important;
    line-height: 250px !important;
  }

  .ad-slot-inarticle {
    max-width: 300px !important;
    height: 250px !important;
    line-height: 250px !important;
  }

  .ast-scroll-to-top-right {
    bottom: 70px; /* Makes sure the scroll to top button is above the bottom adhesion ad */
  }
}
