/* === Ads === */
 .ad-column {
     height: 100%;
     position: absolute;
     top: 0;
     right: 0;
     width: 362px;
     display: flex;
     flex-direction: column;
     gap: 16px;
     padding-left: 10px;
}
 .ad-banner {
     margin: 0 auto;
     padding: 16px;
     background: #f0efea;
     box-sizing: border-box;
     color: #000;
}
 .advertising-divider-30px {
     height: 30px;
     width: 100%;
}
 .advertising-divider-40px {
     height: 40px;
     width: 100%;
}
 .advertising-divider-20px {
     height: 20px;
     width: 100%;
}
/** custom popup **/
 #my-popup-overlay {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0,0,0,0.7);
     display: none;
    /* hidden by default */
     align-items: center;
     justify-content: center;
     z-index: 9999;
}
 #my-popup-overlay.active {
     display: flex;
    /* use flex only when active */
}
 #my-popup-box {
     color: #fff;
     width: 820px;
     max-width: 95%;
     position: relative;
     box-shadow: 0 5px 25px rgba(0,0,0,0.3);
}
 #my-popup-close {
	  border: none;
	  color: #fff;
	  float: right;
	  background: #000;
	  font-size: 22px;
	  margin-bottom: 5px;
	  cursor: pointer;
	  position: absolute;
	  right: 0;
	  top: -30px;
}
 .popup-content img {
     display: block;
     width: 100%;
     height: auto;
}
 .ads-in-2-column {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

 @media (max-width: 992px) {
     .ad-column {
         display: none;
    }
}
 @media (min-width: 665px) {
     .ads-in-2-column {
         clear: both;
    }
     #div-gpt-ad-1666774181087-0 {
         float:left ;
    }
     #div-gpt-ad-1663046022941-0 {
         float: right;
    }
     #my-popup-overlay.active .mobile-ad-popup {
         display: none !important;
        /* use flex only when active */
    }
}
 @media (max-width: 665px) {
     .ads-in-2-column {
         clear: both;
         height: 800px;
         margin: 0 auto;
         width: 300px;
    }
     #div-gpt-ad-1666774181087-0, #div-gpt-ad-1663046022941-0 {
         float:unset;
         margin: 0 auto 20px;
    }
     .height-800-mobile {
         height: 250px;
    }

     #my-popup-overlay.active .desktop-ad-popup {
         display: none !important;
        /* use flex only when active */
    }
}
 .banner-ad {
     background: #efefef;
}
 .strossle-widget {
     max-width: 100%;
}
 .page-id-15986 .a-4 {
     display: none;
}
.direct-advertising, 
.direct-advertising-middle {
    display: none !important; /* hide all by default */
}

.direct-advertising {
	width: 300px;
	margin: 0 auto 10px;
}

#direct-advertising-middle {
	width: 600px;
	max-width: 100%;
	margin: 0px auto 20px;
}

.direct-advertising,
.direct-advertising img {
    border-radius: 0 !important;
}

.direct-advertising.direct-ad-visible {
    display: block !important; /* show if JS adds class */
}

.direct-advertising-middle.direct-ad-visible {
    display: block !important; /* show if JS adds class */
}
/*body:not(.page-id-15255) .sidebar-fallback-banners {
    display: none;
}*/

.sidebar-fallback-banners.fallback-visible {
    display: block !important; /* force show when JS adds class */
	margin: 0 auto;
  	width: 300px;
	opacity: 1;
}

.sidebar-fallback-banners img {
	width: 300px;
	height: 300px;
	margin-bottom: 15px;
}

.page-id-15255 .direct-advertising.direct-ad-visible, .page-id-15583 .direct-advertising.direct-ad-visible, .page-id-16705 .direct-ad-visible, .page-id-16779 .direct-ad-visible{
	display: none !important;
}

.nostemedia-right-sidebar {
	width: 300px;
	margin: 0 auto;
}
.middle-advertising .middle-advertising-desktop {
	max-width: 980px;
	margin: 0 auto;
}

.middle-advertising .middle-advertising-mobile {
	max-width: 300px;
	margin: 0 auto;
}

/* Hide by default (desktop/tablet) */
.ad-mobile,  .ad-desktop {
  display: none;
}

/* Show only on screens smaller than 768px */
@media (max-width: 768px) {
  .ad-mobile {
    display: block;
	margin: -30px auto;	  
	margin-bottom: 20px; 
  }
}

@media (min-width: 768px) {
  .ad-desktop {
    display: block;
	margin: -30px auto;	  
	margin-bottom: 20px; 
  }
}
 
  @media (max-width: 768px) {
    #myiframe {
      height: 950px !important;
    }
	 #myiframe2 {
      height: 835px !important;
    }
  }
 