/*
Theme Name: JNews - Child Theme
Version: 1.0.0
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
/* ------------------------------------------------------------------------- */
@font-face {
  font-family: 'FontAwesome';
  src: url('/wp-content/plugins/elementor/assets/lib/font-awesome/fonts/fontawesome-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.jeg_header .jeg_logo img {
    width: revert-layer;
}
.social-and-translate {
	margin-left: 10px;
}
.home .jeg_latestpost {
	display: none;
}
#flags li {
    padding-top: 3px !important;
}
.comment-form-topic,
body:not(.logged-in) .comment-form-author {
    display: block;
    width: 50%;
    padding-right: 15px;
}
body:not(.logged-in) .comment-form p.form-submit {
    margin-top: 105px;
}
.cta-red .e-n-tab-title[aria-selected="true"] {
	border-bottom-color: #f70d28 !important;
}
.mywebstories .thumbnail-container {
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    height: 90px;
    width: 90px;
} /*
.mywebstories .jeg_post {
	display: flex;
    align-items: center;
} */
.jeg_breakingnews .post-date {
	display: none;
}
.category-red-off .jeg_post_category {
    display: none;
}
.page-template-default.page .jeg_share_top_container {
    display: none;
}
.nyjtg-advertise-form input:not([type=submit]) {
    width: 100% !important;
}
body .jeg_subcat_list>li>a {
    font-size: 12px;
    padding: 0 4px;
}
.gofollow {display:block;}
.mytabs-sidebar .e-n-tab-title {
    background-color: #fff !important;
    padding: 8px 12px !important;
}
.mytabs-sidebar .elementor-element-c3c70c3 {
    padding: 0 !important;
}
.single .jeg_share_top_container {
    display: none;
}
.share_count {
	visibility: hidden !important;
}
/* === NYJTG Newsletter (CF7), isolated from mc4wp styles === */
.wpcf7 .nyjtg-news.jn-box{
  background:#f7f7f7;
  border:1px solid #e6e6e6;
  border-radius:4px;
  padding:16px;
}

/* Title */
.wpcf7 .nyjtg-title{
  display:block;
  margin:0 0 10px 0;
  font-weight:600;
  line-height:1.4;
  font-size:16px;
  color:#222;
}

/* Row: input + button */
.wpcf7 .nyjtg-row{
  display:flex;
  align-items:stretch;
}

/* Input */
.wpcf7 .nyjtg-input.wpcf7-form-control{
  flex:1 1 auto;
  height:44px;
  border:1px solid #e5e5e5;
  border-right:0;
  border-radius:4px 0 0 4px;
  padding:0 14px
  background:#fff;
  font-size:14px;
  line-height:44px; /* align text vertically like demo */
  outline:none;
  min-width: 180px;
}
.wpcf7 .nyjtg-input::placeholder{ color:#999; }

/* Button */
.wpcf7 .nyjtg-btn{
  height:44px;
  border:0;
  background:#ff2d2d; /* JNews red */
  color:#fff;
  font-weight:700;
  letter-spacing:.6px;
  text-transform:uppercase;
  padding:0 18px;
  border-radius:0 4px 4px 0;
  cursor:pointer;
  white-space:nowrap;
  line-height:44px;
}
.wpcf7 .nyjtg-btn:hover{ filter:brightness(.95); }

/* Note */
.wpcf7 .nyjtg-note{
  display:block;
  margin-top:8px;
  color:#888;
  font-size:12px;
}

/* CF7 success/error box alignment */
.wpcf7 .wpcf7-response-output{
  margin:10px 0 0;
  padding:8px 10px;
  border:1px solid #e6f3e6;
  background:#f4fbf4;
  color:#0a472e;
  border-radius:4px;
}

/* Mobile */
@media (max-width:600px){
  .wpcf7 .nyjtg-row{ display:block; }
  .wpcf7 .nyjtg-input{
    width:100%;
    border-right:1px solid #e5e5e5;
    border-radius:4px;
    margin-bottom:8px;
  }
  .wpcf7 .nyjtg-btn{
    width:100%;
    border-radius:4px;
  }
}

/* === Footer overrides (scoped) === */
.nyjtg-foot .nyjtg-news.jn-box{
  background: transparent;   
  border: 0;
  padding: 0;
  color: #eee;
}

.nyjtg-foot .nyjtg-title{
  color: #eee;
}

.nyjtg-foot .nyjtg-row{
  display: flex;
  align-items: stretch;
}

.nyjtg-foot .nyjtg-input.wpcf7-form-control{
  background: #3b3b3b;       
  color: #fff;
  border: 1px solid #3b3b3b;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  height: 44px;
  padding: 0 14px;
}
.nyjtg-foot .nyjtg-input::placeholder{ color: #c2c2c2; }

.nyjtg-foot .nyjtg-btn{
  background: #ff2d2d;       
  color: #fff;
  border: 0;
  height: 44px;
  padding: 0 18px;
  border-radius: 0 4px 4px 0;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  line-height: 44px;
  white-space: nowrap;
}
.nyjtg-foot .nyjtg-btn:hover{ filter: brightness(.95); }

.nyjtg-foot .nyjtg-note{
  color: #aaa;              
  margin-top: 8px;
  font-size: 12px;
}

.nyjtg-foot .wpcf7-response-output{
  margin: 10px 0 0;
  padding: 8px 10px;
  border: 1px solid #3a4c3a;
  background: #253125;
  color: #cfe9cf;
  border-radius: 4px;
}
.nyjtg-foot  .wpcf7 .nyjtg-title {
    font-weight: 400;
    font-size: 14px;
    color: #aaa !important;
}

@media (max-width:600px){
  .nyjtg-foot .nyjtg-row{ display:block; }
  .nyjtg-foot .nyjtg-input{
    width:100%;
    border-right: 1px solid #3b3b3b;
    border-radius: 4px;
    margin-bottom: 8px;
  }
  .nyjtg-foot .nyjtg-btn{
    width:100%;
    border-radius: 4px;
  }
}

/*  reCAPTCHA in left */
.grecaptcha-badge {
  right: auto !important;
  left: 0 !important;
  bottom: 0 !important;
  z-index: 10;
  transform: scale(.9);
  transform-origin: left bottom;
}
.jeg_socialshare:hover .socialshare_list {
    opacity: 0 !important;
}