/*
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
/* ------------------------------------------------------------------------- */

/* Sidebar Style corrections */
.wpb_widgetised_column .popularpost_list  {
    padding-left: 0;
}

/* Topbar Style corrections */
.jeg_topbar .widget_icl_lang_sel_widget {
    margin-bottom: 0;
}
.jeg_topbar .widget_icl_lang_sel_widget .wpml-ls-legacy-dropdown {
    width: 100px;
}
.jeg_topbar .widget_icl_lang_sel_widget .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
    color: #fff;
    background-color: transparent;
    border: none;
    padding-bottom: 11px;
    padding-top: 11px;
    padding-left: 0;
}
.jeg_topbar .widget_icl_lang_sel_widget .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:hover,
.jeg_topbar .widget_icl_lang_sel_widget .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:focus {
    color: #dadada;
    background: transparent;
}

.jeg_topbar .widget_nav_menu  {
    margin: 0;
}
.jeg_topbar .widget_nav_menu .jeg_block_heading  {
    display: none;
}
.jeg_topbar .widget_nav_menu .menu {
    display: inline-block;
}
.jeg_topbar .widget_nav_menu .menu>li {
    display: inline-block;
    border-top: none;
    color: #fff;
    padding: 0;
}
.jeg_topbar .widget_nav_menu .menu>li>a {
    color: #fff;
    text-transform: uppercase;
    font-weight: normal;
    background: #212121;
    height: 26px;
    line-height: 26px;
    font-size: 11px;
    letter-spacing: .5px;
    font-weight: 500;
    padding: 0 10px;
    font-family: "Georgia,Times,Times New Roman,serif", Helvetica,Arial,sans-serif;
}
.jeg_topbar .widget_nav_menu .menu>li.btn-subscribe>a::before,
.jeg_mobile_menu>li.btn-subscribe>a::before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-family: FontAwesome;
    margin-right: 4px;
    font-size: 14px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.jeg_topbar .widget_nav_menu .menu>li.btn-subscribe>a::before,
.jeg_mobile_menu>li.btn-subscribe>a::before {
    content: "\F0E0";
}
.jeg_topbar .widget_nav_menu .menu>li.btn-donate>a,
.jeg_mobile_menu>li.btn-donate {
    background-color: #59a7da;
}
.jeg_mobile_menu>li.btn-subscribe,
.jeg_mobile_menu>li.btn-donate {
    width: 100%;
    text-align: center;
}
.jeg_mobile_menu>li.btn-subscribe {
    background-color: #212121;
    margin-bottom: 10px;
}
.jeg_mobile_menu>li.btn-subscribe>a,
.jeg_mobile_menu>li.btn-donate>a {
    color: #fff;
    margin: 0;
    line-height: 40px;
    height: 40px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}
.jeg_megamenu .sub-menu {
    top: auto;
}

@media only screen and (min-width: 1025px) {
    .jeg_header .jeg_menu.jeg_main_menu > li > a {
        font-size: 14px;
        padding: 0 6px;
    }
    .single-post .jeg_stickybar[data-mode=fixed].jeg_sticky_nav {
        width: auto;
        width: -webkit-calc(100% - 340px);
        width: -moz-calc(100% - 340px);
        width: calc(100% - 340px);
    }
    .single-post .jeg_stickybar[data-mode=fixed].jeg_sticky_nav .jeg_nav_left .jeg_logo:last-child {
        margin-right: 10px;
    }
    .single-post .jeg_stickybar[data-mode=fixed].jeg_sticky_nav .jeg_menu.jeg_main_menu > li {
        width: 25%;
    }
    .single-post .jeg_stickybar[data-mode=fixed].jeg_sticky_nav .jeg_menu.jeg_main_menu > li > a {
        font-size: 14px;
        padding: 0 5px;
        line-height: 24px;
    }
}
@media only screen and (min-width: 1200px) {
    .jeg_header .jeg_menu.jeg_main_menu > li > a {
        padding: 0 8px;
    }
}
@media only screen and (min-width: 1220px) {
    .single-post .jeg_stickybar[data-mode=fixed].jeg_sticky_nav .jeg_menu.jeg_main_menu > li {
        width: auto;
    }
    .single-post .jeg_stickybar[data-mode=fixed].jeg_sticky_nav .jeg_menu.jeg_main_menu > li > a {
        font-size: 16px;
    }
}
@media only screen and (min-width: 1290px) {
    .single-post .jeg_stickybar[data-mode=fixed].jeg_sticky_nav .jeg_menu.jeg_main_menu > li > a {
        font-size: 18px;
    }
}


/* Content Styles corrections*/

.jeg_main_content .mc4wp-form input:not([type=checkbox]):not([type=radio]), 
.jeg_main_content .mc4wp-form input[type=email]:not(:only-child) {
    width: 100%;
    max-width: none;
}
.jeg_main_content .mc4wp-form .form-radio {
    margin-bottom: 10px;
}
.widget_jnews_popular .popularpost_list .jeg_socialshare .views_count {
    padding-left: 4px;
    border-left: 1px solid #a0a0a0;
    margin-left: 2px;
}
.widget_jnews_popular .popularpost_list .jeg_socialshare .views_count>.fa {
    padding-right: 2px;
}
.widget_jnews_popular .popularpost_list .jeg_socialshare:hover .views_count {
    display: none;
}

.vc_row.vc_row-flex .jeg-vc-wrapper>.vc_column_container>.jeg_wrapper {
    max-width: 100%;
}
.home-scrolling-headlines.jeg_postblock_carousel_3 article .overlay_content {
    vertical-align: top;
}
.home .jeg_postblock_28 .jeg_postsmall {
    -webkit-columns: 2 340px;
    columns: 2 340px;
    -webkit-column-gap: 40px;
    column-gap: 40px;
} 
.jeg_post_meta .jeg_meta_comment {
    display: none !important;
}

progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

.progress {
  height: 40px;
  margin-bottom: 0px;
  overflow: hidden;
  background-color: #f5f5f5;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}

.progress-bar {
  float: left;
  width: 0;
  height: 100%;
  font-size: 14px;
  line-height: 40px;
  color: #fff;
  text-align: center;
  background-color: #59a7da;
  -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
  -webkit-transition: width .6s ease;
  -o-transition: width .6s ease;
  transition: width .6s ease;
  text-transform: lowercase;
  text-shadow: 1px 1px 1px #9C9C9C;
  white-space: nowrap;
  padding: 0 5px;
}


.progress-bar-info {
  background-color: #5bc0de;
}

.progress-striped .progress-bar-info {
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
}

.alert {
    padding: 15px;
    margin-bottom: 22px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
}
.alert .bold {
    font-weight: 700;
}
.alert.alert-danger {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}
.alert.alert-success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
}

.text-center {
    text-align: center;
}

.entry-content blockquote, 
.entry-content q {
    font-style: inherit;
    font-size: inherit;
    line-height: inherit;
    padding-left: 0.5em;
}
.entry-content blockquote p, 
.entry-content q p {
    margin-bottom: inherit;
}
.entry-content .wp-block-pullquote blockquote,
.entry-content .wp-block-pullquote q {
    font-style: italic;
    font-size: 20px;
    line-height: 1.5em;
    padding-left: 1em;
}
.entry-content .wp-block-pullquote blockquote p,
.entry-content .wp-block-pullquote q p {
    margin-bottom: 1.25em;
}
.fa-pencil:before {
    content: "\F040" !important;
}

/* SignUp Popup Styles */
.pum-container .pum-content .wpb_text_column {
    margin: 0;
}
.pum-container .pum-content .mc4wp-form {
    border: none;
    margin: 0;
    padding: 0;
    padding-top: 30px;
}
.pum-container .pum-content .mc4wp-form .mc4wp-form-fields {
    max-width: 100%;
}
.pum-container .pum-content .mc4wp-form .mc4wp-form-fields .form-check {
    padding-left: 30px;
}

/* News Links Widget Styles */
.news_links .news_links_item {
    padding-right: 10px;
    margin-bottom: 10px;
    line-height: 16px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 33.3333333333333333333%;
    width: -webkit-calc(33.3333333333333333333% - 3px);
    width: -moz-calc(33.3333333333333333333% - 3px);
    width: calc(33.3333333333333333333% - 3px);
}
.news_links .news_links_item:nth-child(3n) {
    padding-right: 0;
}
.news_links .news_links_item .news_links_item_desc {
    font-size: 13px;
    font-weight: normal;
    line-height: 1.4em;
    margin: 0 0 5px;
    letter-spacing: normal;
    color: #212121;
    transition: color .2s;
    font-style: italic;
    display: inline-block;
}
.news_links .news_links_item .news_links_item_content {
    display: inline-block;
}
.news_links .news_links_item .news_links_item_content .news_links_icon {
    transition: all .1s ease-in-out;
    line-height: 16px;
    height: 16px;
    width: 16px;
    margin-right: 2px;
    text-align: center;
    color: #ccc;
    overflow: hidden;
    display: inline-flex;
    vertical-align: middle;
}
.news_links .news_links_item .news_links_item_content .news_links_icon>img {
	height: 16px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: auto;
    max-width: none;
}
.news_links .news_links_item .news_links_item_content .news_links_item_title {
    color: #212121;
    line-height: 16px;
    vertical-align: middle;
    font-family: "Archivo Narrow", Helvetica,Arial,sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    display: inline;
    margin-right: 5px;
    letter-spacing: normal;
}
.news_links .news_links_item .news_links_item_content .news_links_item_title:hover {
    color: #59a7da; 
}
.columns-4 .news_links .news_links_item {    
    width: 25%;
    width: -webkit-calc(25% - 3px);
    width: -moz-calc(25% - 3px);
    width: calc(25% - 3px);
}
.last-updated {
    display: none;
}

/* AMP Styles */
.jeg_mobile_menu .lang_switcher {
    display: inline-block;
    float: none;
    padding: 0 15px 0 0;
}
.jeg_mobile_menu .lang_switcher a {
    color: #212121;
    font-size: 13px;
    margin: 0;
    font-weight: normal;
}

/* Responsive */
@media only screen and (max-width: 639px) {    
    .pum-container {
        min-width: 0 !important;
    }
}
@media only screen and (min-width: 1025px) {
    .jeg_topbar .jeg_nav_right {
        min-width: 287px;
    }
    .jeg_midbar .jeg_nav_right {
        max-width: 640px;
        max-width: -webkit-calc(100% - 320px);
        max-width: -moz-calc(100% - 320px);
        max-width: calc(100% - 320px);
    }
    .jeg_midbar .jeg_nav_right .jeg_main_menu .btn-subscribe,
    .jeg_stickybar .jeg_nav_grow .jeg_main_menu .btn-subscribe,  
    .jeg_midbar .jeg_nav_right .jeg_main_menu .btn-donate,
    .jeg_stickybar .jeg_nav_grow .jeg_main_menu .btn-donate  {
        display: none !important;
    }
    .jeg_midbar .jeg_logo img {
        min-height: 90px;
        width: auto;
    }

}