/*
Theme Name:     CB Theme 2023 Version
Theme URI:      https://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;}



/* Overwrites */
.btn {padding:.3rem 1rem;}
.briefing-cta {min-height: 125px;}
.briefing-cta .cta-title a {color:#000 !important;font-weight: 500 !important;}
#toc>ul>li>a {color:#4f4f4f;}
#toc>ul>ul {margin-left:15px;}
.article-content a{font-weight: 600!important;color: #c74253!important;}
.pager.pagerV a {color:unset !important;}
.article-credit {word-break:normal !important;overflow: hidden;margin-top:4rem;}
.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:#e2001a;}
.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:#e2001a; 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:#e2001a; 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:#e2001a; 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:#e2001a !important;color:white;}

.meta .rt-reading-time {margin-left:0 !important;}
.meta .rt-reading-time span {display:inline-block !important;margin-left: 0 !important;}

/* .dsa-events-block .glide__slide.glide__slide--active {max-width: 350px;} */
.sharedaddy ul li{display: inline !important;}
.sharedaddy ul li:before {display: none;}

.d-none {display: none;}

h1.title-border {border-top:0;}
h1.title-border::before{display:none;}
.right-column .dsa-events-block {margin-top:0;}
.right-column .toc{margin-bottom:3rem;}

table {height:auto !important;}
.available-language {justify-content: flex-start;}
.table.cb thead p {color:white;}
.table td {color:unset;}

/* FAQ */
.post-content .faq {
    padding: 20px;margin-bottom: 20px;border-radius: 3px;background: rgba(251,231,209,.4)!important;
  }
.post-content .faq h2 {margin-top:0.5rem;}
.post-content p:empty {display: none;}


/* Comments */
ol.commentlist {
    margin-left:1rem;
    padding-left: 0;
    list-style: none;
}
ol.commentlist .comment-meta{
    margin-bottom:1rem;
    display:none;
}
ol.commentlist .comment-author{
    font-weight: bold;
}

ol.commentlist li {
    margin-top:1rem;
    padding-bottom:1rem;
    border-bottom:1px solid #efefef;
}
ol.commentlist li.pingback{display:none;}
ol.commentlist p {margin-bottom: 1rem;}
ol.commentlist .comment-meta.commentmetadata a{color:#c2c2c2;}

table.table{overflow-x: unset !important;}
/* Mobile */
@media only screen and (max-width: 767px){

    .content.news .briefing-news .news_content {
        padding:2rem 0 0 0 !important;
    }

    table.table{overflow-x: auto !important;}

}

/* Only Mobile */
@media only screen and (min-width: 1100px){
    .right-column > div:first-of-type .title-border{margin-top:2rem;}
}

    /* Only for Desktop */
    @media only screen and (min-width: 753px){
        .mega-menu-featured-article .briefing-news .posts .thumbnail {max-height:150px;max-width: 310px;}
        .mega-menu-featured-article .briefing-news .posts .news-content {max-width: 310px;}
        .mega-menu-featured-article{margin-right:4%;}
      }


/* news popup overwrite */
@media only screen and (min-width: 768px){
    #download-popup .modal-content .modal-title img, #subscriber-popup .modal-content .modal-title img {
    width: 65%;
    }

    #download-popup .modal-content .sign__upform .sign__upform-lhs, #subscriber-popup .modal-content .sign__upform .sign__upform-lhs{
        width:50%;
    }

    #download-popup .modal-content .sign__upform .sign__upform-rhs, #subscriber-popup .modal-content .sign__upform .sign__upform-rhs{
        width:50%;
    }
}

.size-full.alignnone {margin-bottom: 0 !important;}

/* Portal overwrites */
.article-content .advertising-DB-portal a{color:white !important;}
