/*
Theme Name:     MEB Theme 2022 Version
Theme URI:      http: //www.china-briefing.com/news
Description:     
Author:         Kaushal Subba
Author URI:     http: //www.kaushal.com.np/
Version:        3.0
*/

/* Overwrite */
.right-column .pub-thumb img {
    width:100%;
    max-width: 280px;
}

#toc_container #toc {margin-bottom:5rem;}
blockquote p {margin:0 !important;display:inline;}
blockquote:before {margin-right:1rem !important;}


/* CB Table */
.post-content .table.cb{width:100% !important;}
.post-content .table.cb thead tr,.table.cb th {background:#be8b00;}
.post-content .table.cb thead td,.table.cb th{color:white;font-weight:bold;}
.post-content .table.cb thead h2{color:white;}
.post-content .table.cb td{border:1px solid #eee !important;padding:10px;}
.post-content .table.cb tr.primary-bg,.table.cb td.primary-bg{background:#be8b00;color:white;}
.post-content .table.cb tr.light-bg,.table.cb td.light-bg{background:#f7e6b8;color:white;}
.post-content .table.cb tr.grey-bg,.table.cb td.grey-bg{background:#dcdcdc;}
.post-content .table.cb tr.grey-bg-dark,.table.cb td.grey-bg-dark{background:#a8a9ad;}


.content.news .briefing-news {flex:1;}
.content.news .briefing-news .news_content {padding:0 0 0 3rem;}
.content.news .briefing-news .news_content h3{line-height: 1.2rem;margin-bottom:0.5rem;}
.content.news .briefing-news .news_content h3 a{font-size:1.2rem;font-weight: 600;color:#252525;}
.content.news .briefing-news .news_content span.tag{font-size:.875rem;color:#969696;}
.content.news .image {width:30%;min-width:250px;}
.content.news .image img {max-width:100%;width:100% !important;height:100% !important;}

/* Overwrites */
.btn {padding:.3rem 1rem;}
.briefing-cta {min-height: 125px;}
.article-credit {word-break:normal !important;}
.article-credit h5{margin-top:0 !important;}

.article-content ul.pager.pagerV li:before{content:'';display:none;}
.article-content ul.pager.pagerV li span {color:#ccc;padding-bottom: 0;}
.article-content ul.pager.pagerV li a {padding:0;}
.article-content .pager.pagerV li:last-child {text-align: right;}


.entry-content h2, .post h2{color:#010101; font-size:24px; font-weight:normal; font-family:"Times New Roman", Times, serif;}
.entry-content h3{ margin-bottom:5px; color:#000; font-weight:bold;}
.entry-content ul li, .entry-content ol li{ color:#333; padding-bottom:5px; padding-top:5px; list-style:outside;}
.entry-content ol li {list-style: decimal;}
.entry-content ul.list li{padding-bottom:15px; padding-top:15px; list-style:none;}
.entry-content ul.list {display:inherit;}
.entry-content ul{ list-style:none; display:table;}


.related-block{ width:50%; float:left; margin:20px 20px 20px 0px; }
.related-block.news ul.list li h4{ font-size:16px; font-family:"Times New Roman", Times, serif;  margin:0px; line-height:24px; font-weight:normal; color:#404040;}
.related-block.news ul.list li h4 a{color:#be8b00;}
.related-block.news ul.list li h4 a:hover{color:#939598;}
.related-block.services ul.list li .alignleft{ margin-right:10px;}
.related-block.services ul.list li a{ text-transform: uppercase; display:table;font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#be8b00; line-height:18px;}
.related-block.services ul.list li a span{ vertical-align:middle; display:table-cell;}


div.wp-caption {border:1px solid solid 1px #FFFFFF;display: block;padding: 5px;margin: 10px 0;box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);}
div.wp-caption .wp-caption-text{padding:10px 10px 0px 10px;font-size:11px;color:#333; text-align:center; margin-bottom:0px; line-height:18px;}
div.wp-caption.aligncenter{max-width: 98%;margin:20px auto;}
img.size-full{max-width:100%; height:auto; box-shadow:none; margin-bottom:0px; margin-top:0px; margin-right:30px;}
img.alignnone{max-width:100%; height:auto; border:none; margin:0px;margin-right:10px;}
.alignright{float:right;margin-left:10px;}
.alignleft{float:left;margin-right:10px;}
.aligncenter.size-full{padding:3px;border:1px solid #EAEAEA;margin:10px auto;max-width:100%; height:auto;}
.size-large{max-width:100%; height:auto;}
.aligncenter, img.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; max-width:100%; height:auto;}


.page{ border-bottom:solid 1px #e6e7e8; border-top:solid 1px #e6e7e8; background-color:#f1f2f2; padding:0px 0px; margin-top:20px; overflow:hidden; color:#939598; font-size:12px; padding-left:10px; line-height:28px; display:flex;justify-content: space-between;}
/*pagination*/
.pagination{ padding:0px; margin:0px; border-radius:0px; float:right; padding-right:10px;display:inline;width:auto !important;}
.page-numbers{padding-left:12px; padding-right:12px; color:#be8b00; font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; padding-top:7px; padding-bottom:7px;}
.pagination .current{ background:#d1d3d4; color:#939598;}
.pagination > li > a, .pagination > li > span{ border:none; background:none; padding-left:15px; padding-right:15px; color:#be8b00; font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold;}
.pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover{ background:#d1d3d4; color:#939598;}
.pagination > li:last-child > a, .pagination > li:last-child > span{border-top-left-radius: 0px; border-bottom-left-radius: 0px;border-top-right-radius: 0px;
border-bottom-right-radius: 0px; }
.pagination > li:first-child > a, .pagination > li:first-child > span{border-top-left-radius: 0px; border-bottom-left-radius: 0px;}
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover{background:#d1d3d4; color:#939598;}

/* Search */
#searchform > div {display:flex;}
#searchform > div input[type=submit] {background:#be8b00 !important;color:white;}


/* Mobile */
@media only screen and (max-width: 767px){

    .content.news .briefing-news .news_content {
        padding:2rem 0 0 0 !important;
    }

}