/* hkuccsg_news_highlight  */

.hkuccsg_news_highlight .content-body {
  background-color: #feffcc;
}

.hkuccsg_news_highlight .title-container {
  color: #005959;
}

.hkuccsg_news_highlight .height-line {
  display: inline-block;
  width: 50px;
  height: 3px;
  background: #05f2f2;
}

.hkuccsg_news_highlight .title,
.posts1 .content-text h6 {
  word-break: break-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 70px;
}

.hkuccsg_news_highlight .description {
  height: 161px;
  word-break: break-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

.hkuccsg_news_highlight .img-container div {
  min-height: 200px;
  height: 100%;
  max-height: 310px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hkuccsg_news_highlight .category {
  background: #04d9b2;
}

.hkuccsg_news_highlight .learn-more-btn {
  background: #05f2f2;
  color: #000;
}

/* hkuccsg-news-filter */

.hkuccsg-news-filter .height-line {
  width: 50px;
  height: 3px;
  background: #05f2f2;
}

.hkuccsg-news-filter .form-control,
.hkuccsg-news-filter .form-select {
  border-radius: 0px !important;
}

.hkuccsg-news-filter h5 {
  color: #005959;
}

.hkuccsg-news-filter .title-container {
  color: #005959;
}

/* hkuccsg-project-lab */

.title-container .btn {
	color: #005959 !important;
	border-color: #005959 !important;
}

.title-container .btn-check:checked + .btn-outline-primary,.publication-list-container .btn-outline-primary:hover, .title-container .btn-outline-primary:active {
	background-color: #005959 !important;
    color: #fff !important;
	border-color: #005959 !important;
}

.tabs-container .nav-link {
  color: #005959;
  font-weight: 500;
  border-radius: 0px !important;
}

.tabs-container .nav-link[class="nav-link active"] {
  background-color: #04d9b2 !important;
  color: #333333 !important;
  font-weight: 500;
}

/* .tabs-container .tab-pane {
  text-align: center;
} */

.tabs-container .tab-pane-img {
	height: calc(100vw - 200px);
    max-height: 200px;
}

.posts1 {
  background-color: #b4f4e8;
}

.posts1 .category {
  background-color: #04d9b2;
  position: relative;
}

.posts1 .content-text {
  background-color: #fff;
}

.posts1 .content-text h6,
.posts1 .content-text .conten-btn > *,
.popup-overlay h6 {
  color: #005959;
}

.posts1 .content-text p,
p {
  font-size: 1rem;
}

.posts1 .content-text .conten-btn > * {
  font-weight: 500;
}

.posts1 .pagination {
  display: flex;
  align-items: center;
  text-align: center;
}

.posts1 .pagination li[class="mx-2 active"] .page-link {
  border-color: #005959;
  background-color: #005959 !important;
  color: white !important;
}

.pagination .page-item.active a.page-link {
  background-color: #005959 !important;
}

.pagination .page-item:hover a.page-link {
  background-color: #005959 !important;
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  overflow: auto;
}

.popup-header {
  text-align: end;
}

.popup-close {
  font-size: 30px;
  border: none;
  background-color: transparent;
  color: #005959;
}

.under-line {
  border-bottom: 3px solid #05f2f2;
  width: 50px;
  height: 0;
}

.learn-more-btn {
  border: none;
  background-color: #05f2f2;
  color: #333333;
}

.posts1 .title-container button {
  border-radius: 0;
  background-color: unset;
  border-color: #005959;
  color: #005959;
}

.posts1 .btn:hover::before {
  background-color: rgba(18, 88, 117, 0.5);
  border-radius: 0;
}

.people-container .people-content h6 {
  color: rgba(0, 89, 89, 1);
}

.people-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.people-btn-group label {
  border-color: #005959 !important;
  background: transparent !important;
  color: #005959;
}

.btn-check:checked + .btn-outline-primary,
.btn-outline-primary:hover,
.btn-outline-primary:active {
  background-color: #005959 !important;
  color: #fff !important;
}

.learning-container .under-line {
  width: 50px;
  height: 0;
  border: 1px solid #04d9b2;
}

.learning-container .filter-container {
  border: 1px solid #04d9b2;
}

.learning-container .filter-container .filter-header {
  background-color: #04d9b2;
}

.learning-container .btn-outline-primary {
  color: #333333;
  font-weight: 500;
}

.learning-container .title-banner {
  background-color: #f2e205cc;
}

.learning-container .content-label {
  color: #ffffff;
  border: 2px #ffffff solid;
}

.learning-container .content-container a {
  background: #005959;
  color: #ffffff;
}

:focus {
  outline: 2px solid #000;
}

/* acadmey - details */
.learning-detail-container .under-line-white,
.learning-detail-container .under-line-green,
.learning-detail-container .under-line-orange {
  width: 50px;
  height: 0;
  border: 1px solid;
  margin-bottom: 8px;
}

.learning-detail-container .under-line-white {
  border-color: white;
}

.learning-detail-container .under-line-green {
  border-color: #05f2f2;
}

.learning-detail-container .under-line-orange {
  border-color: #fc9100;
}

.learning-detail-container .table-borderless tr {
  vertical-align: baseline;
}

.learning-detail-container .detail-basic a {
  background: #05f2f2;
  color: #333333;
}

.learning-detail-container .detail-col-list,
.learning-detail-container .detail-swiper {
  background-color: #cdf7f0;
}

.learning-detail-container .detail-col-list .fs-4 {
  color: #005959;
}

.learning-detail-container .course-code {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 534px;
}

.learning-detail-container .course-code > div {
  color: #5B9D67 !important;
}

.learning-detail-container .detail-col-list li {
  margin: 0.2rem auto;
}

.learning-detail-container .accordion-button:not(.collapsed) {
  background-color: #4fe4c9;
  color: #005959;
  font-weight: normal;
}

.learning-detail-container .accordion-button {
  color: #005959;
  font-weight: normal;
}

.learning-detail-container .detail-swiper .col-lg-4,
.learning-detail-container .detail-swiper .col-lg-8,
.learning-detail-container .detail-col-list .col-lg-3,
.learning-detail-container .detail-col-list .col-lg-6 {
  margin-bottom: var(--bs-gutter-y);
}

.learning-detail-container .detail-swiper .user-name {
  color: #005959;
}

/*sustainable recent */
.recent-container .under-line-white,
.recent-container .under-line-green {
  width: 50px;
  height: 0;
  border: 1px solid;
  margin-bottom: 8px;
}

.recent-container .under-line-white {
  border-color: white;
}

.recent-container .under-line-green {
  border-color: #05f2f2;
}

.recent-container .recent-title {
  background-color: #04d9b2;
  width: 300px;
}

.recent-container .recent-title::before {
  content: "";
  background-color: #04d9b2;
  height: 100%;
  position: absolute;
  left: -500px;
  top: 0;
  width: 500px;
  z-index: 0;
}

.recent-container .recent-info {
  background: #04d9b2;
}

.recent-container .recent-info a,
.recent-container .recent-list a {
  color: #333333;
}

.recent-container .recent-info-img span,
.recent-container .recent-list span {
  background-color: #04d9b2;
}

.recent-container .recent-list img,
.recent-container .recent-info-img img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.recent-container .recent-list > div > article:nth-last-child(1) {
  margin-bottom: 0 !important;
}

.recent-container .recent-info .fs-4,
.recent-container .recent-info .fs-6,
.recent-container .recent-list .fs-5,
.recent-container .recent-list p {
  word-break: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.recent-container .recent-info .fs-6 {
  height: 113px;
  -webkit-line-clamp: 5;
}

.recent-container .recent-list .fs-5 {
  height: 29px;
  -webkit-line-clamp: 1;
}

/* sustainable - list */
.sustainable-container .divider-space {
  height: 50px;
  width: 100%;
  background-color: #000;
}

.sustainable-container .list-block {
  background: #f2e20580;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sustainable-container .sustainable-list .block-img span {
  background-color: #04d9b2;
  bottom: -20px;
  left: 0;
}

.sustainable-container .block-img img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.sustainable-container .block-info .fs-5,
.sustainable-container .block-info p {
  word-break: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.sustainable-container .block-info .fs-5 {
  height: 56px;
  -webkit-line-clamp: 2;
}

.sustainable-container .sustainable-btn-group label {
  border-color: #005959 !important;
  color: #005959;
}

.sustainable-container .btn-check:checked + .btn-outline-primary,
.sustainable-container .btn-outline-primary:hover,
.sustainable-container .btn-outline-primary:active {
  background-color: #005959;
}

.sustainable-follow {
  background-image: url(https://hku-ccsg.demo.digiec.com/wp-content/uploads/2023/09/Rectangle-38-2.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.sustainable-follow .fs-1 {
  color: white;
}

/* sustainable-detail */
.sustainable-detail-container .detail-navigation a {
  color: #005959;
}

.sustainable-detail-container .detail-category span {
  background-color: #04d9b2;
}

.sustainable-detail-container .content-block {
  background-color: #cdf7f0;
}
.sustainable-detail-container .under-line-white,
.sustainable-detail-container .under-line-green {
  width: 50px;
  height: 0;
  border: 1px solid;
  margin-bottom: 8px;
}
.sustainable-detail-container .under-line-white {
  border-color: white;
}

.sustainable-detail-container .under-line-green {
  border-color: #05f2f2;
}

.sustainable-detail-container .block-links ul li {
  color: #005959;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.sustainable-detail-container swiper-container {
  width: 100%;
  height: 100%;
}

.sustainable-detail-container swiper-slide {
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sustainable-detail-container swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.sustainable-detail-container .follow-us-btn {
/*   background-color: #05f2f2; */
}
.publication-list-container .list-container {
  background-color: #b4f4e8;
}

.publication-list-container .block-researcher {
  background: #feffcc;
}

.publication-list-container .modal-body .research-theme {
  bottom: -16px;
}

.publication-list-container .block-title > div,
.publication-list-container .block-link a,
.publication-list-container .modal-body .title {
  color: #005959;
}

.publication-list-container .under-line-green {
  border: #05f2f2 1px solid;
  width: 50px;
}

.publication-list-container .btn {
	color: #005959 !important;
	border-color: #005959 !important;
}

.publication-list-container .btn-check:checked + .btn-outline-primary,.publication-list-container .btn-outline-primary:hover,.publication-list-container .btn-outline-primary:active {
	background-color: #005959 !important;
    color: #fff !important;
	border-color: #005959 !important;
}

.publication-list-container .block-researcher p {
	margin-bottom: 0
}