/*
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
/* ------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700;900&family=Roboto+Condensed&display=swap');
.jeg_footer .jeg_content {
    color: #fff;
    background: #3d8238 !important;
}
.jeg_menu_footer li:not(:last-child)::after {
    content: "|";
    margin-right: 12px;
}
.jeg_menu_footer li a {
    text-transform: uppercase;
    color: #fff;
    margin-right: 12px;
}
.header_dropdown_container{
    position: absolute;
    background-color: #fff;
    z-index: 11;
    width: 100%;
    background-color: #fff;
    /* position: relative; */
    -webkit-box-align: start;
    align-items: flex-start;
    /* display: -webkit-box; */
    /* display: flex; */
    -webkit-box-shadow: 0 4px 8px rgba(0,0,0,.1);
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
    opacity: 1;
    padding-bottom: 60px;
    top: -100%;
    /* display: none; */
    transition: 0.5s ease-in-out;
}
.header_dropdown_container.header_dropdown_open{
    top: 0;
}
.header_dropdown_button{
    width: 100%;
    display: -webkit-box;
    display: flex;
    padding: 25px 0px;
}
.header_dropdown_button a{
    margin-left: auto;
    display: -webkit-box;
    display: flex;
}
.header_dropdown_button a:hover{
    color: #3c3c3c;
    opacity: .6;
}
.header_dropdown_button a svg{
    align-self: flex-end;
    width: 24px;
    height: 24px;
    color: #000;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}
.header_dropdown{
    width: min(100%,750px);
    margin: auto auto;
}
.header_dropdown_form{
    border-bottom: 1px solid #a4a4a4;
    position: relative;
    padding: 10px 0;
    margin-bottom: 25px;
}
.header_dropdown_form input{
    font-size: 35px;
    font-weight: 600;
    letter-spacing: -.75px;
    color: #282828;
    border: 0;
    margin: 0;
    width: calc(100% - 58px);
    outline: 0;
    padding-right: 64px;
    box-shadow: none !important;
    padding-left: 0;
}
.header_dropdown_form button{
    border: 0;
    width: 55px;
    color: #a4a4a4;
    background-color: #fff;
    padding-bottom: 11px;
    padding-top: 6px;
    margin: 0;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}
.header_dropdown_form button svg{
    width: 55px;
    height: 37px;
    border-left: 1px solid #c8c8c8;
    padding-top: 6px;
    padding-bottom: 6px;
    color: #282828;
}
.header_dropdown_content{
    padding-right: 40px;
    position: relative;
}
.header_dropdown_menu{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.header_dropdown_menu>li>a {
    color: #000;
    font-size: 16px;
}
.header_dropdown_menu>li>a:hover{
    color: #3c3c3c;
    opacity: .6;
}
.header_dropdown_social{
    position: absolute;
    width: 40px;
    top: 0;
    right: 0;
}
.header_dropdown_social a {
    display: block;
    font-size: 16px;
    color: #000;
    text-align: center;
    margin-bottom: 5px;
}
.header_dropdown_social a:hover{
    color: #3c3c3c;
    opacity: .6;
}
.jeg_search_popup_expand .jeg_search_form{
    display: none;
}
.jeg_search_toggle:after,
.jeg_search_toggle:before{
    display:none;
}
.jeg_main{
    min-height: calc(100vh - 178.6px - 75px);
}
.ad_block {
    padding-top: 15px;
    padding-bottom: 50px;
    text-align: center;
}
.ad_block h5 {
    text-transform: uppercase;
    position: relative;
    margin-bottom: 30px;
    padding-top: 15px;
    text-align: center;
    color: #5b5f62;
    margin-top: 0;
}
.ad_block h5::before {
    content: " ";
    display: block;
    position: absolute;
    background: #e0e0e0;
    width: 10px;
    height: 10px;
    top: 0;
    left: 50%;
    border-radius: 50%;
    margin-left: -5px;
}
.magazine_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.magazine_content {
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.magazine_link{
    margin-top: 60px;
}
.magazine_link a {
    color: #fff !important;
    text-transform: uppercase;
}
.magazine_link i {
    font-size: 16px;
    margin-right: 5px;
    transition: 250ms ease-in-out;
}
.magazine_link a:hover i{
    transform: rotate(90deg);
}
.magazine_thumb img{
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.3);
}
.magazine_title{
    border-bottom: solid 2px rgb(255 255 255 / 70%);
    margin-bottom: 20px;
    padding-bottom: 5px;
}
.magazine_title h5{
    color: #fff;
    font-weight: 500;
    font-size: 16px;
}
.magazine_list_container{
    background-color: #f5f4ef;
    padding: 15px !important;
    max-height: 470px;
    overflow-y: auto;
    scrollbar-width: thin;
}
.magazine_list_container::-webkit-scrollbar{
    width: 5px;
}
.magazine_list_container::-webkit-scrollbar-thumb{
    background-color: #a6a6a6;
}
.magazine_list{
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 15px;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.magazine_list:not(:last-child){
    border-bottom: 1px solid #ddd;
}
.magazine_list_content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.magazine_list_title h5{
    margin-top: 0;
    font-size: 12px;
}
.magazine_list_link a{
    color: #000;
}
.magazine_list_link i{
    color: #0e456c;
    margin-right: 10px;
}
.new_mag_title{
    width: calc(50% - 10px);
    margin-right: 50%;
}
.new_mag_title .jeg_block_title span{
    color: #ffffff;
}
.new_mag_title::after, .other_mag_title::after{
    background-color: #d22027 !important;
}
.other_mag_title .jeg_block_title span{
    color: #ffffff !important;
}
.event_wrapper:nth-child(5n) .event{
    background-color: #c2d4af;
}
.event_wrapper:nth-child(5n+1) .event{
    background-color: #ffbf00;
}
.event_wrapper:nth-child(5n+2) .event{
    background-color: #2db337;
}
.event_wrapper:nth-child(5n+3) .event{
    background-color: #c9ede6;
}
.event_wrapper:nth-child(5n+4) .event{
    background-color: #7ba763;
}
.event_wrapper:nth-child(5n) .event_tag{
    background-color: #ffca4e;
}
.event_wrapper:nth-child(5n+1) .event_tag{
    background-color: #93bfa1;
}
.event_wrapper:nth-child(5n+2) .event_tag{
    background-color: #ff8e8c;
}
.event_wrapper:nth-child(5n+3) .event_tag{
    background-color: #fff100;
}
.event_wrapper:nth-child(5n+4) .event_tag{
    background-color: #c8b900;
}
.event{
    padding: 15px;
    border-radius: 10px;
}
/* .event_date{
    color: #fff;
} */
.event_date span{
    color: #fff;
    font-weight: 600;
    display: block;
    line-height: 1.2;
}
.event_date_year{
    font-size: 12px;
}
.event_date_month {
    text-transform: uppercase;
    font-size: 12px;
}
.event_date_day {
    font-size: 40px;
}
.event_detail h5{
    margin-top: 10px;
    font-size: 15px;
    line-height: 1;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    height: 30px;
    overflow: hidden;
}
.event_tag{
    min-width: 50%;
    padding: 2px 4px;
    color: #fff;
    display: inline-block;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
}
.event_detail p{
    margin-bottom: 0;
    color: #fff;
    font-size: 12px;
}
.event_detail p i{
    margin-right: 4px;
}
.event_location{
    height: 44px;
    overflow: hidden;
}
.jeg_post.format-video .jeg_thumb::after{
    content: "\F144";
    border: 0px solid #a1a1a1 !important;
    background: none !important;
    color: rgba(255,255,255,0.5) !important;
    font-size: 45px !important;
    margin-top: -24px;
    margin-left: -24px;
}
.jeg_postblock_carousel_2 .jeg_post.format-video .jeg_thumb::after {
    top: 50%;
    left: 50%;
    right: auto;
    margin-top: -18px !important;
    margin-left: -18px !important;
}
.jeg_postblock_carousel_2 .overlay_content{
    position: relative;
}
.jeg_postblock_carousel_2 .jeg_post_meta .fa, .jeg_postblock_carousel_2 .jeg_post_title a, .jeg_postblock_carousel_2 .jeg_post_title a:hover{
    text-shadow: none;
    color: #333 !important;
}
.jeg_postblock_carousel_2 .jeg_postblock_content{
    text-align: left;
    transform: none !important;
    padding: 10px;
    height: 80px;
    overflow: hidden;
}
.jeg_postblock_carousel_2 .jeg_carousel_post {
    padding: 5px 5px 10px 5px;
}
.jeg_postblock_carousel_2 .jeg_post{
    box-shadow: 0px 2px 8px 0px rgb(0 0 0 / 9%);
}
.b2b-container{
    color: #000;
    text-align: center;
}
.b2b-title{
    font-family: 'Noto Sans', sans-serif;
    font-weight: 900;
    font-size: 30px;
    text-transform: uppercase;
    display: inline-block;
    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border-top: 3px solid #000;
}
.b2b-description{
    text-transform: uppercase;
    font-size: 13px;
}
.jeg_postblock_37 .jeg_post_title {
    font-size: 14px;
}
.jeg_postblock_37 .jeg_post_title a{
    color: #707070;
}
.jeg_postblock_37 .jeg_post .box_wrap{
    border: none;
}
.jeg_postblock_37 .jeg_postblock_content{
    padding: 15px 0px;
    text-align: left;
}
.jeg_post_custom_category a{
    display: inline-block;
    font-size: 11px;
    color: #fff;
    background-color: #3d8130;
    padding: 5px;
    letter-spacing: .04em;
    line-height: 1;
    margin-bottom: 2px;
    text-transform: uppercase;
}
.jeg_heroblock_13 .jeg_post_title{
    margin: 15px 0 25px !important;
}
.jeg_postblock_21 .jeg_post_custom_category a{
    background-color: #fff;
    color: #3d8130;
    padding: 0;
}
.jeg_postblock_21 .jeg_pl_sm .jeg_postblock_content{
    margin-left: 0;
    padding-left: 0;
}
.jeg_postblock_21 .jeg_post:not(:last-child) {
    border-bottom: 1px solid #a7a6a6;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.jeg_header .jeg_bottombar{
    background-color: #3d8130;
    border-bottom-width: 0px;
}
.jeg_bottombar .jeg_main_menu > li > a{
    color: #fff;
}
.jeg_header .jeg_bottombar.jeg_navbar{
    height: 50px !important;
}
.jeg_header .jeg_bottombar.jeg_navbar{
    line-height: 50px !important;
}
.jeg_main_menu > li > a::before{
    background-color: #fff;
}
.jnews_header_top_ads{
    background: #f7f7f7;
}
.avalang span{
    display: none;
}
.jeg_top_lang_switcher > li{
    padding-right: 5px;
}
.jeg_menu_style_1 > li > a::before{
    background-color: #fff !important;
}
.jeg_postblock_22 .jeg_post{
    position: relative;
}
@media (min-width: 767px){
    .jeg_postblock_21::before{
        content: "";
        position: absolute;
        border-left: 1px solid #a7a6a6;
        display: block;
        top: 60px;
        bottom: 0px;
        left: -15px;
    }
    .jeg_postblock_22 .jeg_post:not(:last-child)::after {
        content: "";
        display: block;
        top: 23px;
        position: absolute;
        border-right: 1px solid #a7a6a6;
        bottom: 0;
        right: 10px;
    }
    .jeg_postblock_37 .jeg_post:not(:last-child) {
        border-right: 1px solid #a7a6a6;
    }
}
@media (min-width: 1023px){
    .jeg_postblock_21::before{
        top: 90px;
        bottom: 0px;
        left: -22.5px;
    }
    .jeg_postblock_22 .jeg_post:not(:last-child)::after {
        right: 15px;
    }
}