/*
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;}

/* New CTA Update - AV */
/*DSA right side card*/
.download-card.dsa-cta-rhs {background: linear-gradient(
  -90deg,
  #245589 9%,
  #133562 38%,
  #051B42 67%,
  #001236 83%
);}
.download-card.dsa-cta-rhs .subs-info h4 a, .download-card.dsa-cta-rhs .subs-info p{color: #fff;}
.btn-outline-white{ color: #fff;border-color: #fff;}
.btn-dsa-blue{color: #fff; background-color: #207FD4;}
.btn-dsa-blue:hover, .btn-outline-white:hover{color: #fff; background-color: #207FD4;border-color: #fff;}
/*end*/
/*DSA cta sticky*/
.briefing-cta.dsa-cta-brf .briefing-logo {
  opacity: 1;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.briefing-cta.dsa-cta-brf:hover .briefing-logo { opacity: 0; }
.briefing-cta.dsa-cta-brf{ padding: 0;background: #F6F6F6 url(https://d2h56l9e5xqoi4.cloudfront.net/dsa_website_assets/2025/img/briefing-cta.webp) left top no-repeat; height: 190px; display: flex; align-items: flex-end;overflow: hidden; border: none;cursor: pointer;}
.briefing-cta.dsa-cta-brf .cta-content{ background-color: #F6F6F6; height: 75px; padding: 1.5rem  0.5rem  1rem  0.5rem;
position: relative;  transition: transform 0.45s ease;}
.briefing-cta.dsa-cta-brf .cta-content .related{margin-bottom: 0.5rem;font-size: 14px;}
.briefing-cta.dsa-cta-brf .cta-content .cta-title{opacity: 0;height: 0;transition: opacity 0.20s ease;}
.briefing-cta.dsa-cta-brf:hover .cta-content { transform: translateY(-50px);}
.briefing-cta.dsa-cta-brf:hover .cta-title{ opacity: 1; height: auto;}
.briefing-cta.dsa-cta-brf .briefing-logo img{width: 184px;}
/*end*/
/*bottom footer sticky*/
.access-insights{display: flex; align-items: center; margin-right: 3rem;    flex-direction: column;   justify-content: center; gap: 5px;}
.access-insights span{line-height: 18px; font-size: 14px; font-weight: 500;}
.acs-insights-sticky {
  position: fixed;
  bottom: -120px; 
  left: 0;
  width: 100%;
  background: #EEEEEE;
  display: flex;
  gap: 20px;
  align-items: center;
  transition: bottom 0.4s ease;
  z-index: 9999;
  box-shadow: -12px -10px 4px -2px rgba(0, 0, 0, 0.04);
  overflow-x: auto;
  white-space: nowrap;
}
#acsInsStickyHide {
  position: fixed;
  bottom: -150px; 
  left: 0;
  width: 100%;
  background: #fff;
  transition: bottom .4s ease;
  z-index: 9999;
}

.acs-insights-item {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 360px;
  padding-left: 1rem;
  padding-right: 1rem;
}
.acs-insights-item img {
  width: 100px;
  height: 90px;
  object-fit: cover;
}
.acs-insights-item p {
  margin-bottom: 0;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}
.acs-insights-item p a{color: #000;}
.close-btn-ai {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  margin-left: auto;
  color: #333;
  width: 20px;
  font-weight: bold;
}
.close-btn-ai:hover{background: none; }
.close-btn-ai:focus{outline: none; border: none; }
/* End of New CTA Update - AV */

/* 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;}



/* New CTA Update - AV */
/*DSA right side card*/
.download-card.dsa-cta-rhs {background: linear-gradient(
  -90deg,
  #245589 9%,
  #133562 38%,
  #051B42 67%,
  #001236 83%
);}
.download-card.dsa-cta-rhs .subs-info h4 a, .download-card.dsa-cta-rhs .subs-info p{color: #fff;}
.btn-outline-white{ color: #fff;border-color: #fff;}
.btn-dsa-blue{color: #fff; background-color: #207FD4;}
.btn-dsa-blue:hover, .btn-outline-white:hover{color: #fff; background-color: #207FD4;border-color: #fff;}
/*end*/
/*DSA cta sticky*/
.briefing-cta.dsa-cta-brf .briefing-logo {
  opacity: 1;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.briefing-cta.dsa-cta-brf:hover .briefing-logo { opacity: 0; }
.briefing-cta.dsa-cta-brf{ padding: 0;background: #F6F6F6 url(https://d2h56l9e5xqoi4.cloudfront.net/dsa_website_assets/2025/img/briefing-cta.webp) left top no-repeat; height: 190px; display: flex; align-items: flex-end;overflow: hidden; border: none;cursor: pointer;}
.briefing-cta.dsa-cta-brf .cta-content{ background-color: #F6F6F6; height: 75px; padding: 1.5rem  0.5rem  1rem  0.5rem;
position: relative;  transition: transform 0.45s ease;}
.briefing-cta.dsa-cta-brf .cta-content .related{margin-bottom: 0.5rem;font-size: 14px;}
.briefing-cta.dsa-cta-brf .cta-content .cta-title{opacity: 0;height: 0;transition: opacity 0.20s ease;}
.briefing-cta.dsa-cta-brf:hover .cta-content { transform: translateY(-50px);}
.briefing-cta.dsa-cta-brf:hover .cta-title{ opacity: 1; height: auto;}
.briefing-cta.dsa-cta-brf .briefing-logo img{width: 184px;}
/*end*/
/*bottom footer sticky*/
.access-insights{display: flex; align-items: center; margin-right: 3rem;    flex-direction: column;   justify-content: center; gap: 5px;}
.access-insights span{line-height: 18px; font-size: 14px; font-weight: 500;}
.acs-insights-sticky {
  position: fixed;
  bottom: -120px; 
  left: 0;
  width: 100%;
  background: #EEEEEE;
  display: flex;
  gap: 20px;
  align-items: center;
  transition: bottom 0.4s ease;
  z-index: 9999;
  box-shadow: -12px -10px 4px -2px rgba(0, 0, 0, 0.04);
  overflow-x: auto;
  white-space: nowrap;
}
#acsInsStickyHide {
  position: fixed;
  bottom: -150px; 
  left: 0;
  width: 100%;
  background: #fff;
  transition: bottom .4s ease;
  z-index: 9999;
}

.acs-insights-item {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 360px;
  padding-left: 1rem;
  padding-right: 1rem;
}
.acs-insights-item img {
  width: 100px;
  height: 90px;
  object-fit: cover;
}
.acs-insights-item p {
  margin-bottom: 0;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}
.acs-insights-item p a{color: #000;}
.close-btn-ai {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  margin-left: auto;
  color: #333;
  width: 20px;
  font-weight: bold;
}
.close-btn-ai:hover{background: none; }
.close-btn-ai:focus{outline: none; border: none; }
/* End of New CTA Update - AV */.glide{position:relative;width:100%;box-sizing:border-box}.glide *{box-sizing:inherit}.glide__track{overflow:hidden}.glide__slides{position:relative;width:100%;list-style:none;backface-visibility:hidden;transform-style:preserve-3d;touch-action:pan-Y;overflow:hidden;padding:0;white-space:nowrap;display:flex;flex-wrap:nowrap;will-change:transform}.glide__slides--dragging{user-select:none}.glide__slide{width:100%;height:100%;flex-shrink:0;white-space:normal;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.glide__slide a{user-select:none;-webkit-user-drag:none;-moz-user-select:none;-ms-user-select:none}.glide__arrows{-webkit-touch-callout:none;user-select:none}.glide__bullets{-webkit-touch-callout:none;user-select:none}.glide--rtl{direction:rtl}.glide__arrow{position:absolute;display:block;top:50%;z-index:2;color:#fff;text-transform:uppercase;padding:9px 12px;background-color:transparent;border:2px solid rgba(255,255,255,.5);border-radius:4px;box-shadow:0 .25em .5em 0 rgba(0,0,0,.1);text-shadow:0 .25em .5em rgba(0,0,0,.1);opacity:1;cursor:pointer;transition:opacity 150ms ease,border .3s ease-in-out;transform:translateY(-50%);line-height:1}.glide__arrow:focus{outline:0}.glide__arrow:hover{border-color:#fff}.glide__arrow--left{left:2em}.glide__arrow--right{right:2em}.glide__arrow--disabled{opacity:.33}.glide__bullets{position:absolute;z-index:2;bottom:2em;left:50%;display:inline-flex;list-style:none;transform:translateX(-50%)}.glide__bullet{background-color:rgba(255,255,255,.5);width:9px;height:9px;padding:0;border-radius:50%;border:2px solid transparent;transition:all .3s ease-in-out;cursor:pointer;line-height:0;box-shadow:0 .25em .5em 0 rgba(0,0,0,.1);margin:0 .25em}.glide__bullet:focus{outline:0}.glide__bullet:focus,.glide__bullet:hover{border:2px solid #fff;background-color:rgba(255,255,255,.5)}.glide__bullet--active{background-color:#fff}.glide--swipeable{cursor:grab;cursor:-moz-grab;cursor:-webkit-grab}.glide--dragging{cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing}