/* 
Theme Name:		 Trade News
Theme URI:		 http://www.tradenews24.com/
Description:	 Trade News 24 is a share market based newsportal in bangladesh
Author:			 Mahmudul Hasan Salim
Author URI:		 http://mahmudul.net/
Template:		 news-portal-pro
Version:		 1.0.0
Text Domain:	 dspb
*/


/*
    Add your custom styles here
*/



@import url("fonts/stylesheet.css");
/*font-family: 'Kalpurush ANSI';*/

.mt-container{
    width: 1280px;
}
p {
    margin-bottom: 20px;
    font-family: 'solaimanlipi', sans-serif !important;
    font-size: 18px;
    line-height: 28px;
}

a, h1, h2, h3, h4, h5, h6, #site-navigation ul li a, 
.np-block-title,
.news_portal_default_tabbed ul.widget-tabs li a,
.np-post-title.large-size a, .np-post-title.small-size a, .ticker-caption,
.news-ticker-title > a, #ajax_ac_widget, #my_month, #my_year, .pjnt-label, span.current
{
    font-family: 'solaimanlipi', sans-serif !important;
}

.lead_news p {
    margin-bottom: 0px;
    text-align: justify;
}

.np-post-meta {
    display: none;
}

.np-block-title {
    color: #3942ab;
}

.post-cats-list {
    display: none;
}

.np-header-menu-wrapper, .np-header-menu-wrapper::before, .np-header-menu-wrapper::after, #site-navigation ul.sub-menu, #site-navigation ul.children, #masthead.layout2 .np-header-menu-block-wrap {
    background-color: #3942ab;
}
.np-block-title a span.np-title {

    color: #ffffff;

}
.np-block-title {

    background-color: #3942ab;
    color: #fff;

}


.np-post-title.large-size a, .np-post-title.small-size a {
    color: #333333;
    display: block;
    font-size: 18px;
    line-height: 24px;
}

.np-slide-content-wrap .post-title a {
    font-size: 30px;
    line-height: 40px;
}

.news-ticker-title > a {
     color: #000;
    display: block;
    margin: 5px 0 0;
    font-size: 18px;
    font-weight: normal;
}

.news_portal_featured_slider .np-featured-section .np-single-post .np-post-content .np-post-title a{
	font-size: 20px;
}

.np-article-thumb.single_img figure img {
    width: 100%;
}

.widget_archive a, .widget_categories a, .widget_recent_entries a, .widget_meta a, .widget_recent_comments li, .widget_rss li, .widget_pages li a, .widget_nav_menu li a{
    font-size: 18px;
}

h1, .search-results .entry-title, .archive .entry-title, .single .entry-title, .entry-title {
    font-style: normal;
    font-size: 30px !important;
    font-weight: normal;
    text-decoration: none;
    text-transform: none;
    line-height: 35px;
    color: #000000;
}

.np-archive-more .np-button {
    background: #fff;
    border: 1px solid #fff;
    border-radius: 3px;
    color: #528531;
    display: inline-block;
    font-size: 13px;
    font-weight: normal;
    text-decoration: none;
    font-size: 18px;
}


.np-home-middle-section .news_portal_fullwidth_posts .np-single-post .np-post-content {
    position: relative;
    color: #000000;
    background: #ffffff;
    padding: 5px 0;
    margin-top: 10px;
}

.np-home-middle-section .news_portal_fullwidth_posts .np-single-post .np-post-content h3 a{
    color: #000000;
}

.mh_custom_three_box .np-post-content {
    border-bottom: 1px solid #e1e1e1;
}

.ball1,.ball2, .ball3 {
    background-color: #fd0004;
}

.home_custom_aside .np-post-excerpt {
    display: none !important;
}

.news_portal_fullwidth_posts .lead_news .np-single-post .np-post-title a{
    color: #333333;
}

.news-ticker-title .category-button{
    display: none;
}


.second_lead {
    width: 50%;
    float: left;
    padding-right: 15px;
}

.third_lead {
    width: 50%;
    float: left;
    padding-left: 15px;
}

/* .second_third_lead_box {
    padding: 30px 20px 5px;
    background-color: #e7e7e7;
    margin-bottom: 30px;
} */


img.attachment-news-portal-block-medium.size-news-portal-block-medium.wp-post-image {
    width: 100%;
}

.np-ticker-block {
    margin: 15px 0;
}


.special_news {
    background-color: #e7e7e7;
    padding: 20px;
}

.np-logo-section-wrapper {
    padding: 20px 0 1px;
}
/*
.special_news h4.np-block-title {
    background: transparent;
    color: #fd0004;
    text-align: center;
    font-size: 25px;
    border-bottom: 1px solid #ada8a8;
}
*/

a.more_news {
    display: block;
    text-align: right;
}


#news_portal_market_analysis-5 .np-post-thumb {
    min-height: 190px;
    display: flex;
    align-items: center;
}

h3.subhead {
    font-size: 22px;
    font-weight: normal;
    margin-bottom: 0;
    margin-top: 15px;
}
.np-breadcrumbs .current {
    font-weight: normal;
}

.pjnt-content .pjnt-item a{
    color: #000000;
}


@media only screen and (max-width: 767px) {
span.ticker-caption {
    background: #d5d5d5 !important;
    color: #000000;
}

.np-ticker-block.np-clearfix {
    margin: 10px 0;
}

.second_lead {
    width: 100%;
    float: none;
    padding-right: 0px;
}

.third_lead {
    width: 100%;
    float: none;
    padding-left: 0px;
}


section#news_portal_ads_banner-1 img {
    max-height: 50px;
}
.is-sticky section#news_portal_ads_banner-1{
    display: none;
}
.is-sticky .site-branding img {
    max-width: 200px;
}

}




.is-sticky header.site-header.default {
    z-index: 999999;
    background-color: #ffffff;
}


.is-sticky header#masthead.site-header.default .site-branding {    
    margin: 15px 0;
}


.today_date_info {
    font-family: 'solaimanlipi', sans-serif !important;
    padding-top: 2px;
    font-size: 15px !important;
}

/**** tradenews ***/
#masthead .site-branding{
    max-width: 350px;
}
.np-top-header-wrap {
    display: none;
}

.np-post-thumb {
    border-radius: 5px;
    overflow: hidden;
    height: fit-content;
}
.bn_lead_news_box {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.bn_lead_news_box .left-box{
    width: 20%;
}
.bn_lead_news_box .middle-box{
    width: calc(60% - 30px);
}
.bn_lead_news_box .right-box{
    width: 20%;
}

.bn_lead_news_box .middle-box h3.np-post-title.small-size a {
    font-size: 30px;
    text-align: center;
    line-height: 35px;
    display: inline-block;
    margin-bottom: 10px;
    color: red;
}
.middle-aside img
{
    width: 100%;
}
.pjnt-border {
    border: 0;
    margin-bottom: 20px;
}

.bn_two_col_four_news_box {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.bn_two_col_four_news_box .left-box {
    width: calc(50% - 7.5px);
}
.bn_two_col_four_news_box .right-box {
    width: calc(50% - 7.5px);
}
.bn_two_col_four_news_box .right-box article {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}
.bn_two_col_four_news_box .right-box article .np-post-thumb {
    width: 100px;
}
.bn_two_col_four_news_box .right-box article .np-post-content {
    width: calc(100% - 115px);
}


/**middle two col **/

.middle-primary.middle-two-col-section .theiaStickySidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.middle-right-section{
    width: calc(50% - 7.5px);
}
.middle-left-section{
    width: calc(50% - 7.5px);
}

.top-box {
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 15px;
}

 .top-box article {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

 .top-box article .np-post-thumb {
    width: calc(50% - 7.5px);
    order: 2;
    height: fit-content;
}

.top-box article .np-post-content{
    width: calc(50% - 7.5px);
}
.top-box  .content_box p {
    font-size: 15px;
    line-height: 22px;
}

.bottom-box .np-single-post{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.bottom-box .np-single-post article {
    width: calc(50% - 15px);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 15px;
}

.bottom-box .np-single-post article .np-post-thumb{
    width: 40%;
    height: fit-content;
}
.bottom-box .np-single-post article .np-post-content{
    width: calc(60% - 10px);
}
.bottom-box .np-single-post article .np-post-content h3.np-post-title.small-size{
    margin-top: 0;
}
.bottom-box .np-single-post article .np-post-content h3.np-post-title.small-size a{
    font-size: 16px;
    line-height: 24px;
}