.mtpc-well:not(.mtpc-1col-section):not(.mtpc-2col-section):not(.mtpc-3col-section):not(.mtpc-4col-section) {
    background-color: rgba(0, 0, 0, 0.7) !important;
    border: 0 !important;
}

.view-id-mtpc_albums {
    padding: 0px 15px;
}

div.mtpc-1col-item.mtpc-1col-item--1 table.tbl-line tbody tr td {
  border-bottom: 1px solid #000;
  border-top: 1px solid #ccc;
}

/* For 35a hkust logo */
body header .mtpc_header .header .wrapper .logos .logos_left .logo_one img{
 width:100%; 
}

/* by Creasant */

body h2.stg-label {
  background-image: var(--stg-grad-v);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

body .stg-goals { margin-left: -16px; }

body .stg-goals ol {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  counter-reset: stg-goal;
}

body .stg-goals ol > li {
  position: relative;
  padding-left: 53px;
  counter-increment: stg-goal;
}

body .stg-goals ol > li + li { margin-top: 45px; }

body .stg-goals ol > li::before {
  content: counter(stg-goal);
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 54px;
  line-height: 63px;
  font-weight: 700;
  color: var(--stg-blue);
}

body .pagetitle h1 .stg-eyebrow {
  display: block;
  font-size: 42px;
  line-height: 52.71px;
  font-weight: 700;
  margin-bottom: 7.15px;
}

body .stg-breadcrumb--below-hero nav.breadcrumb,
body .stg-breadcrumb--below-header nav.breadcrumb { text-align: right; }

body .stg-breadcrumb--below-hero {
  padding-top: 55.2px;
  padding-bottom: 44.8px;
}

body .stg-breadcrumb--below-header {
  padding-top: 55.2px;
  padding-bottom: 30.3px;
}

body .stg-breadcrumb--below-hero .block,
body .stg-breadcrumb--below-header .block {
  margin-top: 0;
  margin-bottom: 0;
}

body .stg-breadcrumb--below-hero nav.breadcrumb,
body .stg-breadcrumb--below-header nav.breadcrumb { padding-bottom: 0; }

body .stg-hero--research .mtpc_pagetitle_container { position: relative; }

body .stg-hero--research .mtpc_pagetitle_container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.25);
}

body .stg-hero--research .mtpc_pagetitle_container .mtpc_pagetitle_wrapper.position--middle {
  box-sizing: border-box;
  justify-content: flex-start;
  padding-top: 94px;
}

body .stg-hero--research .pagetitle { position: relative; }

body .stg-banner {
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
}

body .stg-banner .mtpc-block-image-block { position: relative; }

body .stg-banner .mtpc-block-image-block img {
  display: block;
  width: 100%;
  object-fit: cover;
}

body .stg-banner .mtpc-block-image-block::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0) 100%);
}

body .stg-banner .mtpc-block-textarea-block {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  box-sizing: border-box;
  padding: 136.8px 40px 0;
  color: #fff;
  z-index: 1;
}

body .stg-banner .mtpc-textarea { max-width: 1460px; }

body h1.stg-banner-title {
  margin: 0;
  color: #fff;
  font-size: 48px;
  line-height: 66px;
  font-weight: 800;
}

body p.stg-banner-eyebrow {
  margin: 0 0 8.33px;
  color: #fff;
  font-size: 42px;
  line-height: 49.21875px;
  font-weight: 700;
}

body .stg-banner .mtpc-block-textarea-block:has(p.stg-banner-eyebrow) { padding-top: 94.25px; }

body .mtpc-textarea h4:only-child { margin: 0; }

body .stg-topic { padding-top: 26px; }

body .mtpc-section-item:has(.stg-topic, .stg-figrow, .stg-figcap--below) + .mtpc-section-item .mtpc-1col-section:has(.mtpc-textarea h3:only-child) { padding-top: 0; }

body .mtpc-section-item:has(.stg-topic, .stg-figrow, .stg-figcap--below) + .mtpc-section-item .mtpc-1col-section:has(.mtpc-textarea h3:only-child) .mtpc-1col-section-wrapper {
  padding-top: 85px;
  background-image: var(--stg-grad-h);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 34px;
}

body .mtpc-2col-section.stg-topic .mtpc-2col-section-wrapper > .mtpc-2col-item {
  margin-bottom: 0;
}

body .stg-topic .mtpc-block-image-block-image {
  background-color: var(--stg-white);
  padding: 20px;
}

body .stg-topic .mtpc-block-image-block-image img,
body .stg-figrow .mtpc-block-image-block-image img,
body .stg-demoflats .mtpc-block-image-block-image img {
  display: block;
  width: 100%;
  height: auto;
}

body .stg-topic .mtpc-block-image-block-image-caption {
  font-size: 16px;
  line-height: 1.35;
  color: var(--stg-body);
  padding-top: 20px;
}

body .stg-figcap--above { padding-bottom: 14px; }

body .stg-figcap--above.stg-figcap--above p {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--stg-body);
  margin: 0;
}

body .stg-nocard .mtpc-block-image-block-image,
body .stg-figrow .mtpc-block-image-block-image { padding: 0; }

body table.tbl-bg {
  box-sizing: border-box;
  width: 1280px;
  max-width: none;
  padding-left: 0;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

body .table-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body .table-wrap::-webkit-scrollbar { display: none; }

body .table-wrap .mCSB_horizontal.mCSB_inside > .mCSB_container {
  margin-bottom: 0;
}

body .table-wrap .mCSB_scrollTools_horizontal {
  visibility: hidden;
  pointer-events: none;
}

body table.tbl-bg thead tr th {
  background-color: #79a1dc;
  color: var(--stg-white);
  font-size: 16px;
  line-height: var(--stg-lh-compact);
  font-weight: 800;
  text-align: center;
  vertical-align: middle;
  border-bottom: 0;
  padding: 17px 2px;
}

body table.tbl-bg thead tr:nth-child(2) th {
  background-color: #a2c7ef;
  color: var(--stg-body);
  font-weight: 600;
  padding: 11px 2px;
}

body table.tbl-bg thead tr:nth-child(2) th:nth-child(-n+2) {
  background-color: #79a1dc;
  color: var(--stg-white);
  font-weight: 800;
  text-align: left;
}

body table.tbl-bg tbody tr td {
  font-size: 16px;
  line-height: var(--stg-lh-compact);
  font-weight: 600;
  color: var(--stg-body);
  text-align: center;
  vertical-align: middle;
  border-bottom: 0;
  padding: 11px 2px;
}

body table.tbl-bg tbody tr td:nth-child(1),
body table.tbl-bg tbody tr td:nth-child(2) {
  text-align: left;
}

body table.tbl-bg thead tr > th:first-child,
body table.tbl-bg tbody tr > td:first-child {
  padding-left: 15px;
  padding-right: 0;
}

body table.tbl-bg tbody tr:nth-of-type(odd) { background-color: #d2edf8; }
body table.tbl-bg tbody tr:nth-of-type(even) { background-color: var(--stg-white); }

body table.tbl-bg thead tr:first-child th:nth-child(n+2),
body table.tbl-bg thead tr:nth-child(2) th:nth-child(3n),
body table.tbl-bg tbody tr td:nth-child(3n) {
  border-left: 1px solid #a2c7ef;
}

body table.tbl-bg col:nth-child(1) { width: 105px; }
body table.tbl-bg col:nth-child(2) { width: 120px; }
body table.tbl-bg col:nth-child(3n+3) { width: 90px; }
body table.tbl-bg col:nth-child(3n+4) { width: 110px; }
body table.tbl-bg col:nth-child(3n+5) { width: 60px; }
body table.tbl-bg col:nth-child(14) { width: 75px; }

body table.tbl-bg tbody tr td:nth-child(n+3) { white-space: nowrap; }

body .mtpc-2col-section.stg-topic:not(:has(.mtpc-block-textarea-block)) { padding-top: 16px; }

body .stg-figrow { padding-top: 35px; }

body .mtpc-1col-section.stg-figrow { padding-bottom: 26px; }

body .mtpc-2col-section.stg-figrow { padding-bottom: 0; }

body .mtpc-2col-section.stg-figrow .mtpc-2col-section-wrapper > .mtpc-2col-item,
body .mtpc-2col-section.stg-demoflats .mtpc-2col-section-wrapper > .mtpc-2col-item {
  margin-bottom: 0;
}

body .stg-figcap--below {
  padding-top: 22.3px;
  padding-bottom: 33.25px;
}

body .mtpc-section-item:last-child .stg-figcap--below { padding-bottom: 43.25px; }

body .stg-figcap--below .mtpc-block p {
  font-size: 27px;
  line-height: var(--stg-lh-heading);
  color: var(--stg-body);
}

body .stg-reports .mtpc-block-image-grid-item-wrapper > .mtpc-image-grid-block-item {
  overflow: visible;
}

body .stg-reports .inner-item { position: relative; display: block; }

body .stg-reports .grid_main_image {
  box-sizing: border-box;
  border-top: 12px solid transparent;
  border-image: var(--stg-grad-h) 1;
}

body .stg-reports .grid_main_image::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

body .stg-reports .grid_main_image img,
body .stg-highlights .grid_main_image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body .stg-reports .mtpc-image-caption {
  position: absolute;
  left: 30px;
  right: 30px;
  margin: 0;
  padding: 0;
  color: var(--stg-white);
  font-weight: 700;
  text-align: center;
}

body .stg-reports .mtpc-textarea h2,
body .stg-highlights .mtpc-textarea h2,

body .stg-demoflats .mtpc-textarea h2 { margin: 0; }

body .mtpc-block .mtpc-textarea table.tbl-line {
  width: 100%;
  margin: 0;
  font-size: inherit;
  border-collapse: separate;
  border-spacing: 0;
}

body .mtpc-block .mtpc-textarea table.tbl-line thead tr th {
  font-size: 42px;
  line-height: var(--stg-lh-heading);
  font-weight: 700;
  color: var(--stg-white);
  background-image: var(--stg-grad-h);
  text-align: left;
  border: 0;
}

body .mtpc-block .mtpc-textarea table.tbl-line tbody tr {
  background-image: var(--stg-grad-h);
}

body .mtpc-block .mtpc-textarea table.tbl-line tbody tr td {
  background-color: var(--stg-white);
  background-clip: padding-box;
  border: 1px solid transparent;
  min-width: 0;
  vertical-align: top;
}

body .mtpc-block .mtpc-textarea table.tbl-line tbody tr td:first-child:not(:last-child) { border-right: 0; }
body .mtpc-block .mtpc-textarea table.tbl-line tbody tr td:last-child:not(:first-child) { border-left: 0; }

body .mtpc-block .mtpc-textarea table.tbl-line tbody tr td p { margin-top: 0; }
body .mtpc-block .mtpc-textarea table.tbl-line tbody tr td p:last-child { margin-bottom: 0; }

body .mtpc-block .mtpc-textarea table.tbl-line tbody tr td p:last-child:not(:first-child) {
  color: var(--stg-teal);
  font-weight: 800;
}

body .mtpc-block .mtpc-textarea table.tbl-line tbody tr td p:last-child:not(:first-child),
body .mtpc-block .mtpc-textarea table.tbl-line tbody tr td p:last-child:not(:first-child) a {
  overflow-wrap: anywhere;
}

body .mtpc-block .mtpc-textarea table.tbl-line:not(:has(thead)) {
  border-top: 12px solid transparent;
  border-image: var(--stg-grad-h) 1;
}

body .mtpc-section-item:has(.mtpc-block-accordian-block) .field--name-field-mod-1-col-container > .field__item:has(h2) {
  margin-bottom: 0;
  border-bottom: 15px solid transparent;
  border-image: var(--stg-grad-h) 1;
}

body .mtpc-section-item:has(.mtpc-block-accordian-block) + .mtpc-section-item .mtpc-textarea p { margin: 0 0 11px; }

body .mtpc-section-item:has(.mtpc-block-accordian-block) + .mtpc-section-item .mtpc-textarea p:last-child { margin-bottom: 0; }

body .stg-highlights {
  padding-bottom: 0;
}

body .stg-highlights .mtpc-block-image-grid-item-wrapper > .mtpc-image-grid-block-item {
  margin: 0;
}

body .stg-highlights .inner-item {
  display: block;
}

body .stg-highlights .stg-tag {
  box-sizing: border-box;
  height: 44px;
  padding-left: 30px;
  background-image: var(--stg-grad-h);
  color: var(--stg-white);
  font-size: 20px;
  font-weight: 700;
  line-height: 44px;
}

body .stg-highlights [data-stg-tag="publication"] .grid_main_image {
  background-color: var(--stg-white);
}

body .stg-highlights [data-stg-tag="publication"] .grid_main_image img {
  box-sizing: border-box;
  object-fit: contain;
}

body .stg-highlights .mtpc-image-caption {
  margin: 0;
  color: var(--stg-teal);
  font-weight: 700;
  text-align: left;
}

body .mtpc-2col-section.stg-demoflats {
  padding-top: 0;
  padding-bottom: 0;
}

body .mtpc-1col-section.stg-demoflats:has(p) {
  padding-bottom: 0;
}

body .stg-demoflats .mtpc-block p {
  margin: 0;
  color: var(--stg-teal);
  font-weight: 700;
}
