.navbar-link, .dropdown-item{
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 微软雅黑, SimHei, "WenQuanYi Micro Hei", sans-serif;
}

.navbar-expand-lg .navbar-nav .nav-link {
	padding-right: 1.3rem;
	padding-left: 1.3rem;
}
.member-subscribe-btn {
	padding-left: 1rem;
}
.dropdown-menu {
	background-color: beige;
}
@media all and (min-width: 992px) {
	.navbar .nav-item .dropdown-menu{ display: none; }
	.navbar .nav-item:hover .nav-link{   }
	.navbar .nav-item:hover .dropdown-menu{ display: block; }
	.navbar .nav-item .dropdown-menu{ margin-top:0; }
}
@media (max-width: 991px) {
	.navbar-nav {
		padding-bottom: 1rem;
	}
}
.large-post-thumb {
	background-position: center center;
}
.recent-thumb {
	z-index: auto;
}
.kg-embed-card {
	position:relative;
	padding-bottom:56.25%; /*16:9*/
	height:0;
}
.kg-embed-card iframe {
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
a.dropdown-item:hover {
	background:0 0;
	color:var(--primary-color);
}
.single-post-featured-img {
	width: 75%;
}
.img-section-2 {
	text-align: center;
}
.small-post-thumb {
	background-position: center center;
}
.recent-post-image {
	background-position: center center;
}
.medium-post-thumb {
	background-position: center center;
}
nav.pagination {
	margin-bottom: 1rem;
}
.header-section-x {
	background: var(--primary-color);
}

/* Front Page Image */

.post-image .post-title-block {
  padding: 10px 10px;
  position: absolute;
  bottom: 0;
  height: 30%;
  width: 100%;
  color: #fff;
  font-weight: 700;
  background-color: rgba(0,0,0,.5);
}

.post-image .post-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* END Front Page Image */

/* Featured Posts Carousel */

.slick-prev:before, .slick-next:before {
  color: red;
}
.single-post {
  margin: 0 5px;
  max-height: 90px;
}

.slider-for{
  padding-left: 0px!important;
}

.slider-for .feature_item, .slider-nav .feature_nav{
  display: none;
}

.slider-for .slick-list .feature_item, .slider-nav .slick-list .feature_nav{
  display: initial;
}

.main-news-slider .single-post-category .post-thumb {

}

.slider-for .top-news{
  height: 150px;
}

.slider-nav li {
  width: 100%;
}

.sub-btn {
  background: #003366 !important;
  border: 1px solid #003366 !important;
}

.sub-btn:hover {
  background: white !important;
  color: #003366 !important;
  border: 1px solid #003366 !important;
}

.donation-gold {
  background: #a58a55 !important;
  border: 1px solid #a58a55 !important;
}

.donation-gold:hover {
  background-color: beige !important;
  color: #6f5522 !important;
  border: 1px solid #a58a55 !important;
}

@media only screen and (max-width: 1199.99px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.8rem;
    padding-left: 0.8rem;
  }
  ul.member-subscribe-btn li {
    margin-right: 7px;
  }
}

@media only screen and (max-width: 991px) {
  .slider-nav .small-post-thumb {
    width: 95px;
  }
}

@media only screen and (max-width: 767px) {
  .slider-nav {
    display: none;
  }
  .slick-dots{
    position: initial;
    bottom: initial;
    margin: 15px 0;
  }
  .slick-dots li button:before {
    font-size:20px;
  }
}

#top-right-nav div {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  margin-right: 15px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.category-list-post .container .row .col-md-6 {
  margin-bottom: 30px;
}

.site-logo {
  margin-bottom: 1.8rem;
}

.middle-header {
  padding-bottom: 3px!important;
}

.footer-overlay {
  padding-top: 55px;
  padding-bottom: 20px;
}

.footer-widget {
  padding-top: 15px;
}

/* END Featured Posts Carousel */

/* Post */

#page-view {
  float: right;
  padding-right:10px;
}

/* END Post */

/* Home Page Category List */

.category-list-post ul li:first-child {
  margin-bottom: 5px;
}

.category-list-post ul li .single-post{
  padding-bottom: 10px;
}

.category-list-post ul li .single-post h2{
  font-weight: normal;
}

.category-list-post ul li:first-child .single-post{
  padding-bottom: 10px;
}

.category-list-post ul li:first-child .single-post h2{
  font-weight: 600;
}

.category-list-post .post-thumb {
  float: none;
  margin-bottom: 10px;
  margin-right: 0px;
}

.category-list-post .small-post-thumb {
  width: 100%;
  height: 215px;
}

.category-list-post .single-post {
  max-height: initial;
}

.category-list-post .item-post-content h2 a {
  white-space: nowrap;
}

.category-list-post .item-post-content h2 a:before {
  content: "\2022  ";
  color: #1b3d8c;
  font-size: 9px;
  margin-right: 2px;
  margin-left: 0;
  vertical-align: middle;
}

/* END Home Page Category List */

/* YouTube Vide Bottom Caption */
.kg-embed-card figcaption {
  position: absolute;
  bottom: -1.7rem;
}

.list-group {
  max-height: 240px;
  max-width: 510px;
  margin-bottom: 10px;
  overflow: scroll;
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
  overflow-x: hidden;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(224, 224, 224); 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(194, 194, 194); 
}

.home-top-middle-tab .active {
  background-color: #ffffff !important;
}

.home-top-middle-tab-link {
  background: #ebebeb;
}

.list-group-item {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0.3rem 1.25rem;
}

.tablist-section {
  margin-bottom: 0.5rem;
}

#carousel-home {
  margin-bottom: 1rem;
}

.carousel-home-summary-p {
  display: block;
  text-overflow: ellipsis;
  word-wrap: break-word;
  overflow: hidden;
  max-height: 5.5em;
  line-height: 1.8em;
}

/* 
#carousel-home-details-container {
  border: 1px solid;
  border-color: #ffffff #dee2e6 #dee2e6;
  padding: 0.5rem;
} */

@media only screen and (min-width: 1199.99px) {
  .list-group {
    width: 280px;
  }
  .nav-link {
    padding: 0.5rem 3.3rem;
  }
  .carousel-home-summary-p {
    max-height: 5.5em;
  }
}

@media only screen and (max-width: 1199.99px) {
  .list-group {
    width: 280px;
  }
}

@media only screen and (max-width: 1190px) {
  .list-group {
    width: 240px;
  }
  .nav-link {
    padding: 0.5rem 2.6rem;
  }
  .carousel-home-summary-p {
    max-height: 7.5em;
  }
}

@media only screen and (max-width: 991px) {
  .list-group {
    width: 180px;
  }
  .nav-link {
    padding: 0.5rem 1.7rem;
  }
  .carousel-home-summary-p {
    max-height: 15.5em;
  }
}

@media only screen and (max-width: 767px) {
  .list-group {
    width: 510px;
  }
  .tablist-section {
    padding-left: 1rem;
    margin-bottom: 2rem;
  }
  #section-slider {
    margin-bottom: 2rem;
  }
  .nav-link {
    padding: 0.5rem 3.3rem;
  }
  .carousel-home-summary-p {
    max-height: 5.4em;
  }
  .add-image {
    margin-top: 1rem;
  }
}

#carousel-home-link {
  color:var(--text-color);
  text-decoration:none
}

#carousel-home-link hover {
 color:var(--primary-color)
}

#carousel-home .carousel-item {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  background-color: #ebebeb;
}
.scale-down { object-fit: scale-down; }

#carousel-home-title {
  white-space:nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
  font-weight:600;
  margin:20px 0;
}

.tag-post-title{
  font-size: 18px;
  letter-spacing: 0;
  line-height: 24px;
  font-weight: 700;
  padding-top: 15px;
}

.tag-post-date{
  font-size: 14px;
  padding-bottom: 5px;
}

.more{text-align:right; color: var(--primary-color);font-size:14px;font-weight:600;}

.bottom_img {text-align:center;}
.bottom_img ul { margin:0; padding:0; display:inline-block;  }
.bottom_img ul li { margin:0; padding:0; list-style:none; float:left; padding-left:15px; padding-right:15px;}
.bottom_img ul { *display:inline; }

h1.post-title {
  font-size: 2.5rem;
}

@media (max-width: 800px) {
  .entry-content h1 {
    font-size: 1.7rem;
    line-height: 1.25em;
  }
  .entry-content h2 {
    margin-bottom: 0.3em;
    font-size: 1.6rem;
    line-height: 1.25em;
  }
  .entry-content h3 {
    margin-bottom: 0.3em;
    font-size: 1.4rem;
    line-height: 1.3em;
  }
  h1.post-title {
    font-size:2.13rem;
    line-height:1.2
  }
}

.h2,h2 {
  font-size:1.87rem
}

.h3,h3 {
  font-size:1.5rem
}