/* CUSTOM CSS */
.jeg_cat_subtitle {display:none;}
.tptn_counter {visibility:hidden;}
.jeg_featured_bg,
.jeg_featured_img {filter:brightness(75%);}

/* Temporary Fix for category templates not appearing in English language */
li[id^="accordion-section-jnews_global_section"] {display:block !important;}
.jeg_mobile_logo img {max-height:70px !important;height:70px !important;}
.jeg_ad {text-align:center;padding-top:10px;}
.is_mobile .mobile-sticky,
.is_desktop .desktop-sticky {position:relative;min-height:600px;}
.is_desktop .desktop-sticky .sticky-advert,
.is_mobile .mobile-sticky .sticky-advert {position:sticky;top:0;margin-left:auto;margin-right:auto;}
.is_desktop .desktop_advert.advert_pos {min-height:250px;}
.is_mobile .mobile_advert.advert_pos {min-height:336px;}
.is_desktop .desktop-250-csl {min-height:250px;flex-direction:row;box-sizing:border-box;display:flex;place-content:center;align-items:center;}
.strossle.row {margin-left:auto;margin-right:auto;}
html,
body {height:100%;}
body,
.jeg_viewport {height:100%;display:flex;flex-direction:column;}
.footer-holder {flex-shrink:0;margin-top:auto;}



/* Added OCT 2022
-------------------------------------------------- */

.eg-homepage-wrapper {max-width:1140px;margin:auto;}

/* For OneSignal */
#onesignal-popover-container, #onesignal-slidedown-container {z-index:999999 !important;}

/* Ads */
.adslot {margin:0 auto;padding:0;text-align:center;}
    .jeg_inner_content .adslot [id^="sas_"],
    .jeg_inner_content .adslot .adsbygoogle,
    .jeg_sidebar .adslot [id^="sas_"],
    .adslot.h600 [id^="sas_"] {position:sticky;top:5px;z-index:99999;}
body.single .entry-content .adslot {padding:30px 0;}
.h300 {min-height:300px;}
.h600 {min-height:600px;}

.grid2x1 {display:grid;grid-template-columns:1fr 1fr;grid-gap:15px;}
@media only screen and (max-width:1024px) {
    .grid2x1 {grid-template-columns:1fr;}
}

/* Logo */
.jeg_logo img {height:50px;width:auto;}

.jeg_mobile_bottombar.jeg_mobile_midbar.jeg_container.dark {border:0;height:auto;line-height:1;padding:5px 0;}
.jeg_mobile_logo img {max-height:50px !important;height:50px !important;}

/* Menu */
.jeg_stickybar.jeg_navbar {z-index:100000;}

.jeg_topbar .jeg_nav_item {border-right:0;}
.jeg_topbar .jeg_menu > li,
ul.jeg_top_menu > li {margin:0;padding:0;}
ul.jeg_top_menu > li > a {border-right:1px solid #b0b0b0;line-height:150%;margin:0;padding:0 10px;}
ul.jeg_top_menu > li:last-child > a {border:0;}

.jeg_navbar_mobile .jeg_navbar_mobile_menu {display:none;}

/* Theme overrides */
body.home .jeg_breadcrumbs.jeg_breadcrumb_container,
body.home .jeg_main_content .entry-header,
body.home .jeg_share_bottom_container {display:none;}

.jeg_navbar_mobile.jeg_sticky_nav {width:100vw;}
.fa,
.fas,
.fa.fas {font-family:'Font Awesome 5 Free';}

.wpb_raw_html .wpb_wrapper,
.jeg_sidebar .custom-html-widget {margin:0 auto;padding:0;text-align:center;}
.sidebar-2x3 .jeg_thumb img {width:100%;}
.thumbnail-container:after {background:none !important;display:none !important;}
.jeg_thumb .jeg_post_category a,
.jeg_pl_lg_box .jeg_post_category a,
.jeg_pl_md_box .jeg_post_category a,
.jeg_postblock_carousel_2 .jeg_post_category a,
.jeg_heroblock .jeg_post_category a,
.jeg_slide_caption .jeg_post_category a {background-color:#317dbf;color:#fff;}

.jeg_popup_post {z-index:999999;}

/* Common 3rd party media styling */
iframe[src*="dailymotion.com"],
iframe[src*="facebook.com"],
iframe[src*="glomex.com"],
iframe[src*="instagram.com"],
iframe[src*="megatv.com"],
iframe[src*="nytimes.com"],
iframe[src*="twitter.com"],
iframe[src*="vimeo.com"],
iframe[src*="youtube.com"]:not(.uEmbedContainer iframe[src*="youtube.com"]) {display:block;margin:20px auto;}
iframe[src*="dailymotion.com"],
iframe[src*="facebook.com"]:not(.uEmbedContainer iframe[src*="facebook.com"]),
iframe[src*="glomex.com"],
iframe[src*="megatv.com"],
iframe[src*="nytimes.com"],
iframe[src*="vimeo.com"],
iframe[src*="youtube.com"]:not(.uEmbedContainer iframe[src*="youtube.com"]) {aspect-ratio:16/9;max-width:98%;height:auto;/*min-height:380px;*/}
@media only screen and (max-width:768px) {
    iframe[src*="youtube"]:not(.uEmbedContainer iframe[src*="youtube"]),
    iframe[src*="vimeo.com"],
    iframe[src*="dailymotion.com"],
    iframe[src*="glomex.com"],
    iframe[src*="megatv.com"],
    iframe[src*="nytimes.com"] {/*min-height:190px;*/aspect-ratio:14/9;}
    iframe[src*="glomex.com"] {width:100%;}
}

@media only screen and (min-width:1025px) {
    .hide-on-desktop {display:none;}
}

@media only screen and (max-width:1024px) {
    .hide-on-mobile {display:none;}
}
