/*
Theme Name: JNews - Child Theme
Version: 12.0.8-20260821.3
Theme URI: http://themeforest.net/?ref=jegtheme
Description: A basic starter child theme for customization purpose of JNews theme.
Author: Jegtheme
Author URI: http://themeforest.net/user/jegtheme?ref=jegtheme
Template: jnews
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ------------------------------------------------------------------------- *
 *  Theme customization starts here
 * 
 *     1. DESKTOP/WEBSKIN CSS : 979px-1300px
 *  2. MOBILE CSS : 767px-979px
 *  3. MOBILE NO SIDEBAR CSS : -767px
 *  4. RE_RESPONSIVENESS
 *  5. To-add to marketplace css
 *  6. Webskin css
 * 
/* ------------------------------------------------------------------------- */

body {
    background-position: center 0px!important;
    background-attachment: fixed!important;
}

.popularpost_item:first-child .jeg_post_title {
    min-height: 45px;
}

input.jeg_search_input {
    background-color:transparent!important;
}

.popularpost_item {
    min-height: 42px;
}

.popularpost_item .jeg_socialshare /*, .jnews-dark-mode #media_image-2, #media_image-3 */ {
    display:none;
}

.jeg_footer_primary:first-child img {
    width: 70%;
}

.close-widget {
    margin-bottom:10px!important;
}

div[id^="div-gpt-ad-nbanner2-"], div[id^="div-gpt-ad-nbanner3-"], div[id^="div-gpt-ad-nbanner4-"] {
    padding: 28.5px 0px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-top: -15px;
    margin-bottom: 30px;
}

@media (min-width: 1024px) {
    div[id^="div-gpt-ad-nbanner1-"] {
        padding: 28.5px 0px;
    }

    .jnews_header_top_ads div[id^="div-gpt-ad-nbanner1-"] {
        min-height: 147px;
    }
}

.jeg_footer_content {
    box-shadow: 0px 4px 15px black;
}

.jeg_content {
    padding-top: 20px;
}

.jnews-dark-mode #media_image-3, .jeg_postblock_carousel_3 .jeg_post_meta {
    display: block;
}

.jeg_sidebar .widget:has(> .close-widget) {
  margin-bottom: 0px!important;
}

.popularpost_item .jeg_post_title a:before {
    font-style:normal;
}

.woocommerce-MyAccount-navigation-link {
    width:100%!important;
}

.mobile-preheader-content {
    width: 100%;
    border-bottom: 1px solid #e9e9e9;
    line-height: normal;
    font-weight: 600;
    display:flex;
    justify-content: space-between;
    align-items:center;
}

.jeg_mobile_bottombar .jeg_nav_row {
    flex-wrap: wrap;
}

.jeg_mobile_bottombar {
    height: 100%!important;
}

.desktop_signup, .desktop_signup:hover, .desktop_signup:active {
    color: #f5f5f5!important;
}

.desktop_signup i {
    margin-right: 3px;
    vertical-align: inherit;
}

.pcm-button a{
    background-image: none!important;
    font-weight: 600;
}

.jeg_readmore {
    display: none!important;
}

.btn, input[type=submit] {
    line-height: normal;
    padding: 13px 20px;
    height:auto;
    display: inline;
}

.thumbnail-container>img {
    object-fit: cover;
}

.jeg_midbar .jeg_logo_img {
    max-height: 70px;
}

.jeg_mobile_logo img {
    max-height: 40px;
}

.jeg_archive_title {
    overflow-wrap: break-word;
}

.wpcf7 .chosen-container {
    width: 100%!important;
}

.jnews_mobile_sticky_ads>.ads-wrapper>* {
    padding: 0px!important;
}

.jnews_mobile_sticky_ads div[id^="div-gpt-ad-nbanner1-"] {
    padding: 15px;
}

.entry-header .jeg_post_meta {
    display: flex;
}

.thumbnail-container.no_thumbnail:after, .thumbnail-container:not(:has(> img))::after,
.thumbnail-container:empty::after {
    background: var(--logo)!important;
    content: '';
    background-size: 80%!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
    top: 0;
    left: 0;
    margin: 0;
    z-index: 0!important;
}

.jeg_search_expanded .jeg_search_popup_expand .jeg_search_result {
    margin-top: 74px;
}

.popularpost_item:first-child .jeg_post_title a:before, .popularpost_item:first-child:hover .jeg_post_title a:before {
    left: 0;
    border-right: 1px solid #eee;
    border-left: none;
}

.popularpost_item:first-child .jeg_post_title {
    padding-left: 80px;
    padding-right: 0px;
}

@media (min-width: 668px) and (max-width: 1200px) {
    .popularpost_item:first-child {
        padding-bottom: 23px;
    }
}

@media (max-width: 335px) {
    div[id^="div-gpt-ad-nbanner"] div, div[id^="div-gpt-ad-mrec"] {
        margin-left: -15px;
    }
}

@media only screen and (min-width: 767px ) and (max-width: 768px) {
    .jeg_footer_2 .jeg_footer_primary {
        display: flex!important;
     }
}

.jeg_featured .wp-caption-text, .wp-caption .wp-caption-text {
    color: #616161;
    font-size: 12px;
}

.jeg_topbar .socials_widget a i::before, .jeg_topbar .socials_widget a i svg {
    color: #fff!important;
    fill: #fff!important;
    font-size: 12px;
}

.footer-holder {
    background-color: #fff;
}

.school-compare-cta {
    margin-right: 20px!important;
}

.school-compare-cta a, .school-compare-cta-mobile a {
    background-color: var(--j-accent-color);
    height: 38px;
    margin-top: 5px!important;
    border: 1px solid #969696;
    border-radius: 8px;
    display: flex!important;
    align-items: center;
    justify-content: center;
}

.school-compare-cta a:hover, .school-compare-cta-mobile a:hover {
    color: #696969!important;
    animation: 2s;
}

.media_sidebar_centered {
    text-align: center;
}

.jeg_navbar_mobile_wrapper {
    z-index: 10;
}

.jeg_postblock_carousel_3 {
    min-height: 88px;
}
 
.jeg_postblock_carousel_3 .jeg_post_title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

p a {
    text-decoration: underline;
}

.thumbnail-background>div {
    background-position: 50% 10%;
}

.footer-holder {
    content-visibility: visible!important;
}

/* DESKTOP/WEBSKIN CSS : 979px-1300px */


/* END WEBSKIN CSS 979-1230px */

/* MOBILE CSS : 767px-979px */

.pcm-leaderboard.nbanner1 {
    top:0px!important;
}

@media (max-width: 1023px) {
    .jeg_footer_secondary {
        padding-bottom: 120px;
    }
}

.jnews_mobile_sticky_ads {
    position: sticky;
    z-index: 9;
}

/* END MOBILE CSS : 767px-979px */

/* RE_RESPONSIVENESS */


@media (min-width: 767px) and (max-width: 1200px) {
    .jeg_main_content.vc_col-sm-8, .jeg_main_content.vc_col-md-8, .jeg_sticky_sidebar.vc_col-md-4, .jeg_sticky_sidebar.vc_col-sm-4 {
        width: 100%
    }
}
.jnews_mobile_sticky_ads>.ads-wrapper>* {
    padding: 10px 0;
}
@media (min-width: 340px) {
    .jnews_mobile_sticky_ads>.ads-wrapper>* {
            padding: 10px;
    }
}
@media (min-width: 1024px) {
    .jnews_mobile_sticky_ads>.ads-wrapper>* {
            padding: 0;
    }
}


/* END RE_RESPONSIVENESS */

/* To-add to marketplace css */

/* END To-add to marketplace css */

/* Momentum Styling */
#sideposts-for-ifa .jeg_post_category, #sideposts-for-ifa .jeg_post_meta {
    display: none;
}

.jeg_postblock_16 .jeg_posts {
    border-top: none;
}

.jeg_postblock_38 .jeg_post:last-child {
    border-bottom: 1px solid #eaeaea;
}

.jeg_postblock_38 .jeg_post {
    padding: 20px 0px!important;
}

.jeg_subcat_list li a.current {
    color: #fff;
    background: #000;
}

.jeg_subcat_list>li>a {
        border: 1px solid #000;
    color: #000;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 800;
    margin: 0px 0px 10px 10px;
    line-height:2.1em;
        padding: 0 11px;
}

.comment-body {
    padding: 10px 0;
}

/* Promoted Content */
.promoted-content-wrapper {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.promoted-content-heading {
    background-color: #1f1f1f;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promoted-content-company-page .promoted-content-heading {
    justify-content: center;
}

.promoted-content-heading a {
    font-weight: 600;
    color: #fff;
}

.promoted-content-company-page .promoted-content-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    text-align: center;
    color: #000;
}

.promoted-content-wrapper .promoted-content-heading img {
    max-width: 25%;
    height: auto;
}

.promoted-content-sidebar .promoted-content-heading img {
    max-width: 50%;
}

.promoted-content-company-page .promoted-content-heading img {
    max-width: 75%;
}

.promoted-content-sidebar,
.promoted-content-home {
    background-color: #f3f3f3;
}

.promoted-content-home .jeg_posts_wrap,
.promoted-content-post-body {
    padding: 20px 20px 0 20px;
}

.promoted-content-sidebar .jeg_post_category,
.promoted-content-sidebar .jeg_post_meta,
.promoted-content-home .category-promoted-content,
.promoted-content-post .category-promoted-content {
    display: none !important;
}

.promoted-content-post-link {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: #000;
    margin-bottom: 40px;
}

.promoted-content-post-link img {
    max-width: 250px;
    height: auto;
}

@media only screen and (max-width: 767px) {
    .promoted-content-wrapper .jeg-post {
        width: 100%!important;
    }
}

@media only screen and (max-width: 1200px) {
    .promoted-content-intro {
        flex-direction: column;
    }
}

.promoted-content-intro {
    display: flex;
    padding: 50px;
    gap: 30px;
    color: #fff;
    align-items: center;
    border-bottom: 6px solid var(--j-alt-color);
    background-size: cover;
}

.promoted-content-sidebar {
    text-align: left;
}

/* Poll */
.basic-yop-poll-container .basic-answers-results .progress {
    background-color:#eee;
    margin: 0;
}

.basic-yop-poll-container .basic-answer {
    margin: 5px 0 0 0;
}

.basic-yop-poll-container .basic-answer .basic-answer-content, .basic-yop-poll-container .basic-answer .progress {
  margin-right: 0 !important;
}

.basic-yop-poll-container .basic-text-horizontal, .basic-yop-poll-container .basic-text-vertical {
    justify-content: space-between;
}

.jeg_postblock_38 .jeg_thumb.lazyloaded {
    opacity: 0!important;
}

.jeg_postblock_38 .jeg_post:hover .jeg_thumb.lazyloaded {
    opacity: 1!important;
}

/* Tables */
.entry-content .pcm-responsive-table-wrapper {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    margin: 1em 0 30px;
}

.entry-content .pcm-responsive-table {
    word-break: normal !important;
    box-sizing: border-box;
    margin: 0 0 10px !important;
    width: 100% !important;
}

.entry-content .pcm-responsive-table.pcm-not-full-width {
    width: auto !important;
}

.entry-content .pcm-responsive-table caption {
    caption-side: bottom;
    margin-top: 0.5em;
    text-align: left;
}

.entry-content .pcm-responsive-table thead tr {
    background: #e8e8e8;
    font-weight: bold;
}

.entry-content .pcm-responsive-table td {
    border: 1px solid #ccc !important
}

.entry-content .pcm-responsive-table.table-striped tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.entry-content .pcm-responsive-table.table-striped tbody tr:nth-child(even):hover {
    background: #f7f7f7 !important;
}

/* Scroll container */
.entry-content .pcm-responsive-table-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Fade/arrow hint ??? hidden by default, shown when .has-scroll-hint is set */
.entry-content .pcm-responsive-table-wrapper::after {
    content: "??";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 3rem;
    font-weight: bold;

    /* subtle gradient to suggest more content to the right */
    padding-left: 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;

    background: linear-gradient(
        to left,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0) 100%
    );

    pointer-events: none;      /* don't block scrolling */
    opacity: 0;
    transition: opacity 0.1s;
}

/* Only show the arrow when JS decides there's overflow and we haven't scrolled yet */
.entry-content .pcm-responsive-table-wrapper.has-scroll-hint::after {
    opacity: 1;
}

/* Share This */
.jeg_meta_container {
    padding-right: 125px;
}
.sharethis-share-buttons {
    text-align: right !important;
    margin-top: -30px;
}

.jeg_overlay_slider_bg {
    background-attachment: inherit!important;
}

.jeg_bottombar.jeg_navbar_boxed .jeg_nav_row {
    border-top-color: var(--j-alt-color)!important;
}

.jeg_stickybar {
    border-bottom-color: var(--j-alt-color)!important;
}

.jeg_menu_style_5>li.current-menu-item>a {
    color: var(--j-alt-color)!important;
}

/* Scheme CSS */
/** Header **/
.jeg_navbar_boxed .jeg_nav_row {
    border-left: 0;
    border-right: 0;
}

/** Menu **/
.jeg_main_menu > li > a {
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
}
.jeg_menu_style_5 > li > a:hover, .jeg_menu_style_5 > li.sfHover > a, .jeg_menu_style_5 > li.current-menu-item > a, .jeg_menu_style_5 > li.current-menu-ancestor > a {
    color: #212121;
}

/** Video Player **/

/** Block **/
.jeg_block_heading_6 {
    border-bottom-color: inherit;
}
.jeg_block_heading_6:after {
    background: transparent !important;
}
.jeg_block_heading_6 .jeg_block_title {
    font-size: 18px;
}

.jeg_post_meta {
    color: #808080;
    font-size: 12px;
}
.jeg_post_meta a {
    font-weight: normal;
}
.entry-header .jeg_meta_author a, .jeg_postblock .jeg_meta_author a {
    color: #111;
}
.jnews-dark-mode .entry-header .jeg_meta_author a, 
.jnews-dark-mode .jeg_postblock .jeg_meta_author a, {
    color: var(--j-txt-color);
}
.jeg_pl_lg_box .jeg_meta_author a,
.jeg_pl_md_box .jeg_meta_author a {
    color: inherit;
}
.entry-header .jeg_post_meta a, .jeg_meta_author a {
    color: #333;
}
.jnews-dark-mode .entry-header .jeg_post_meta a, .jnews-dark-mode .jeg_meta_author a {
    color: var(--j-txt-color);
}
.entry-header .jeg_post_meta {
    color: #808080;
}
.entry-header .jeg_meta_author, .jeg_meta_author {
    text-transform: none;
}
.entry-header .jeg_post_meta .fa, .jeg_post_meta .fa, .jeg_post_meta .jpwt-icon {
    color: inherit !important;
}

.jeg_share_button a, .sidefeed_loadmore .btn, .jscroll-to-top > a {
    border-radius: 0;
}

.jeg_post_excerpt {
    font-size: 15px;
    line-height: 24px;
}

.jeg_readmore {
    box-shadow: none;
    border: 0;
    background: #111;
    color: #fff !important;
    padding: 4px  16px;
}

.jeg_pl_xs_2 .jeg_post_title {
    line-height: 22px;
}
.jeg_pl_md_5 .jeg_post_title {
    line-height: 24px;
}
.jeg_pl_lg_4 .jeg_post_title {
    font-size: 28px;
    line-height: 40px;
}

@media only screen and (min-width:1024px) {
    .jeg_pl_lg_5 .jeg_post_title {
        font-size: 34px;
        line-height: 48px;
        margin-bottom: 6px;
    }
    .jeg_pl_lg_5 .jeg_post_excerpt {
        margin-top: 22px;
        margin-bottom: 26px;
    }

    .jeg_pl_lg_box .jeg_post_title {
        font-size: 26px;
        line-height: 37px;
    }
    .jeg_postblock_carousel_3 .jeg_post_title {
        font-size: 13px;
        line-height: 18px;
    }
}

.jeg_postblock_16 .jeg_posts {
    padding-top: 22px;
}

.jeg_postblock_20 .jeg_pl_xs {
    border-top: 1px solid #eee;
    padding-top: 1em;
}

.jeg_pl_sm .jeg_post_title {
    font-size: 14px;
    font-weight: normal;
    line-height: 21px;
    margin-bottom: 4px;
}

.jeg_postblock_carousel_3 .jeg_post_meta {
    font-size: 11px;
}
.jeg_postblock_carousel_3 .jeg_thumb {
    margin-right: 15px;
}

/** Post **/
.jeg_single_tpl_2 .entry-header {
    border-bottom: 2px solid #111;
    padding-bottom: 15px;
}
.jnews-dark-mode.jeg_single_tpl_2 .entry-header {
    border-color: var(--j-border-color);
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    font-weight: bold;
}
.jeg_single_tpl_2 .entry-header .jeg_post_title, .jeg_single_tpl_3 .entry-header .jeg_post_title, .jeg_single_tpl_6 .entry-header .jeg_post_title {
    font-size: 46px;
    line-height: 63px;
}
.entry-content blockquote, .entry-content q {
    font-style: normal;
    color: #111;
}
.entry-content .pullquote:before, .entry-content .pullquote:after {
    background: #111;
    width: 4em;
}

.jnews-dark-mode .entry-content .pullquote:before, .jnews-dark-mode .entry-content .pullquote:after {
    background: var(--j-border-color);
}

.entry-content .pullquote.align-center:before, .entry-content .pullquote.align-center:after {
    width: 7em;
}
.entry-content .pullquote.align-center:before {
    margin: .5em auto 1.25em;
}
.entry-content .pullquote.align-center:after {
    margin: 1.25em auto .5em;
}
.entry-content .pullquote.align-left, .entry-content .pullquote.align-right {
    max-width: 300px;
}

.entry-content .dropcap.shadow {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 6em;
    margin-bottom: -5px;
}
.jeg_post_tags a {
    letter-spacing: .5px;
    color: #333;
}

/** Archive **/
.jeg_authorpage .jeg_author_wrap {
    background: transparent;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}

/** Widget **/
.popularpost_item .jeg_post_title {
    line-height: 21px;
}
.popularpost_item:first-child .jeg_post_title {
    line-height: 26px;
}
.jeg_tabpost_nav li {
    font-weight: bold;
}
.jeg_tabpost_nav li.active, .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom-color: #111 !important;
}

/** Custom Class **/
.jeg_otb {
    overflow: visible !important;
}

.jeg_postblock.alt .jeg_post_meta,
.jeg_postblock.alt .jeg_meta_author,
.jeg_postblock.alt .jeg_meta_author a,
.jeg_postblock.alt .jeg_post_meta a {
    color: #eee;
}

@media only screen and (max-width: 1024px) {
    .jeg_pl_lg_4 .jeg_post_title {
        font-size: 25px;
        line-height: 33px;
    }
    .jeg_pl_lg_5 .jeg_post_title,
    .jeg_pl_lg_box .jeg_post_title {
        font-size: 28px;
        line-height: 38px;
    }
    .jeg_pl_lg_box .jeg_post_title {
        font-size: 20px;
        line-height: 30px;
    }
}
@media only screen and (max-width : 767px) {
    .jeg_pl_lg_4 .jeg_post_title {
        font-size: 21px;
        line-height: 32px;
    }
}
@media only screen and (max-width : 667px) {
    .jeg_pl_lg_5 .jeg_post_title,
    .jeg_pl_lg_box .jeg_post_title {
        font-size: 24px;
        line-height: 34px;
    }
    .jeg_pl_lg_box .jeg_post_title {
        font-size: 22px;
        line-height: 32px;
    }
}
@media only screen and (max-width : 480px) {
    .entry-header .jeg_post_title {
        font-size: 30px;
        line-height: 1.3em !important;
    }
    .jeg_pl_lg_5 .jeg_post_title {
        font-size: 20px;
        line-height: 29px;
    }
    .jeg_pl_lg_box .jeg_post_title {
        font-size: 16px;
        line-height: 23px;
    }
}

.entry-header .jeg_post_meta {
    align-items: flex-end;
}
