/*
Theme Name: JNews - Child Theme
Version: 11.6.10
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_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 */

/* Start Webskin css */ 

.webskin_open .jeg_header {
	z-index: auto;
}

@media(min-width: 348px) {
	.webskin_open .jeg_midbar, .webskin_open .jeg_bottombar, .webskin_open .jeg_main, .webskin_open .jeg_navbar_mobile {
		width: 92% !important;
	}
}
@media(min-width: 1024px) {
	.webskin_open .jeg_midbar, .webskin_open .jeg_bottombar, .webskin_open .jeg_main, .webskin_open .jeg_navbar_mobile {
		max-width: 900px !important;
	}
}
@media(min-width: 1200px) {
	.webskin_open .jeg_midbar, .webskin_open .jeg_bottombar, .webskin_open .jeg_main, .webskin_open .jeg_navbar_mobile {
		max-width: 1200px !important;
	}
	
	.webskin_open .jeg_midbar, .webskin_open .jeg_bottombar {
		width: 100%!important;
	}
	
	.webskin_open .jeg_header {
		margin: 0 auto;
	}
}
@media(min-width: 1500px) {
	.webskin_open .jeg_midbar, .webskin_open .jeg_bottombar, .webskin_open .jeg_main, .webskin_open .jeg_navbar_mobile {
		max-width: 1300px !important;
	}
}
.webskin_open .jeg_midbar, .webskin_open .jeg_bottombar, .webskin_open .jeg_main {
	max-width: 1300px;
	z-index: 2;
	margin: 0 auto;
	position: relative;
}

.webskin_open .jeg_midbar, .webskin_open .jeg_bottombar {
	z-index: 3;
}

.webskin_open .footer-holder {
	position: relative;
	z-index: 2;
}
.webskin_open .jnews_mobile_sticky_ads .ads-wrapper {
    z-index: 2;
	box-shadow: 0px 14px 20px 3px black;
}
@media (max-width: 1023px) {
	.webskin_open .jeg_viewport {
		top: 90px;
	}
}
.webskin_open .jeg_navbar_mobile {
	left: 0 !important;
	right: 0 !important;
	margin: 0 auto !important;
}
@media (max-width: 365px) {
	.webskin_open div[id^="div-gpt-ad-nbanner"] div {
		margin-left: -15px;
	}
}

@media (min-width: 992px) and (max-width: 1200px) {
	.webskin_open .container, .webskin_open .jeg_vc_content>.wpb-content-wrapper>.vc_row {
		max-width: 100%;
	}
}
@media (min-width: 1024px) and (max-width: 1200px) {
	.webskin_open .jeg_midbar, .webskin_open .jeg_bottombar, .webskin_open .jeg_main {
		width: 85%;
	}
}
/* Overwrite above style for jeg_bottombar element when alternate webskin is enabled  */
.webskin_open .alternateWebskin + .jeg_viewport .jeg_navbar_mobile {
        width: 100% !important;
		max-width: 100% !important;
}
@media (min-width: 1024px) {
    .webskin_open .alternateWebskin + .jeg_viewport .jeg_midbar, .webskin_open .alternateWebskin + .jeg_viewport .jeg_bottombar {
        width: 100% !important;
	max-width: 100% !important;
    }
}
/* END Webskin 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: 35%;
    height: auto;
}


.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;
	}

	.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;
}
