.header-data-pc.table-layout ul.menu-lists, .header-data-mobile.table-layout ul.menu-lists {
    display: table;
    width: 100%;
  }
  
  .layout.main-visual-video {
    width: 100%;
    height: 100vh;
    position: relative;
    color: black;
  }
  
  .layout.main-visual-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  #layout-builder .layout.main-visual-video video {
    width: 100%;
    height: 100vh;
  }
  
  .view.test-table {
    border: 4px solid yellow;
  }
  
  .main{
    padding-bottom: 100px;
  }
  
  /*ckeditor*/
  h2.index-left-col-title{
    font-size: 1.4em;
    color: #715500;
    font-weight: 700;
  }
  
  h2.index-right-col-title{
    color: #b22d00;
    letter-spacing: 5px;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.7em;
  }
  
  /* banner */
  .page-banner-container{
    padding-top:0px!important;
    overflow:hidden;
  }
  .page-banner{
    position:relative;
    
  }
  .page-banner .field--type-image .field__item{
    display:flex;
    justify-content:center;
  }
  .page-banner .field--type-image .field__item img{
    height:250px;
    width: 100%;
    object-fit: cover;
  }
  .page-banner .mtpc-image-caption{
    position:absolute;
    top:50%;
    left:50%;
    transform:translateX(-50%) translateY(-50%);
    font-size:40px;
    width:80%;
    text-align:center;
    color: #FFF;
    padding-top:0px;
    font-weight: 700;
  }
  
  .page-banner-container-m{
    padding-top:0px!important;
    overflow:hidden;
    height:250px;
  }
  .page-banner-m{
    position:relative;
    height: 250px;
    overflow:hidden;
  }
  .page-banner-m .field--type-image .field__item{
    display:flex;
    justify-content:center;
  }
  .page-banner-m .field--type-image .field__item img{
    height:307px;
    width:767px;
  }
  .page-banner-m .mtpc-image-caption {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translateX(-50%) translateY(-50%);
      font-size: 40px;
      width:80%;
      text-align:center;
      color: #FFF;
      padding-top: 0px;
      font-weight: 700;
  }
  
  .index-banner.page-banner-container-m, .index-banner .page-banner-m{
    height: auto;
  }
  .index-banner .page-banner-m .field--type-image .field__item img{
    height: auto;
    width: 100%;
  }
  @media only screen and (max-width:640px) {
    .page-banner-m{
      height:180px;
    }
    .page-banner-container-m{
      height:180px;
    }
    
    .page-banner-m .mtpc-image-caption{
      font-size:30px;
    }
  
    .index-banner.page-banner-container-m, .index-banner .page-banner-m{
      height: auto;
    }
  }
  
  /* banner end */
  
  /*introduction / index*/
  .mtpc-1col-section.full-width.index-banner{
      padding-bottom: 0;
  }
  
  .index-banner .page-banner .field--type-image .field__item img{
      height: auto;
      width: 100%;
  }
  
  .index-banner-caption{
      position: absolute;
      top: 300px;
      left: 50%;
      transform: translateX(-50%);
      max-width: 1500px;
      width: calc(100% - 15px);
      margin-left: 15px;
    
  }
  
  .index-banner-caption h1{
      height: 100%;
      position: relative;
      padding: 10px 60px 35px 60px;
      
  }
  
  .index-banner-caption h1:before{
      content: "";
      display: block;
      position: absolute;
      top: 0px;
      left: 0px;
      width: 25px;
      height: inherit;
      background: rgb(167, 3, 3);
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
  }
  
  
  .index-banner-caption h1 span{
      font-weight: 800;
  }
  .index-banner-caption h1 span:first-child{
      color:rgb(167, 3, 3);
      font-weight: 300;
      letter-spacing: 4px;
  }
  
  .index-2-col.mtpc-2col-section{
      background-color: #dcb454;
      padding-top: 50px;
  }
  
  .index-2-col.mtpc-2col-section .mtpc-2col-item--2{
    border-left: 3.5px solid #ba9734;
    padding-left: 40px;
  }
  
  .index-2-col.mtpc-2col-section .mtpc-2col-item--2 p{
    color: #000;
  }
  .index-2-col.mtpc-2col-section .mtpc-2col-item--1{
    margin: 0 40px;
  }
  
  .index-2-col.mtpc-2col-section p.larger-space-bottom{
    margin-bottom: 4em;
  }
  
  .index-2-col.mtpc-2col-section ul{
    margin-left: 0;
  }
  
  .index-2-col.mtpc-2col-section ul li{
    color: #000;
  }
  
  @media only screen and (max-width: 1700px){
    .index-banner-caption{
      top: 200px;
    }
  }
  
  @media only screen and (max-width: 1180px){
    .index-banner-caption{
      top: 150px;
    }
  }
  
  @media only screen and (min-width: 768px) and (max-width: 999px){
    .index-banner-caption h1{
      padding: 5px 45px 28px 45px;
    }
  }
  
  @media only screen and (max-width: 768px){
    .index-2-col.mtpc-2col-section{
      padding: 40px 30px;
    }
    .index-2-col.mtpc-2col-section .mtpc-2col-item--1{
      display: none;
    }
  
    .index-2-col.mtpc-2col-section .mtpc-2col-item--2{
      border-left: 0;
      padding-left: 0
    }
  
    .index-banner-caption h1{
      font-size: 5vw;
      padding: 10px 8%;
    }
  
    .index-banner-caption h1:before{
      width: 4%;
    }
  
    .index-banner-caption {
      width: 100%;
      /* width: calc(100% - 8%); */
      /* margin: 0 4%; */
    }
  
    .index-2-col.mtpc-2col-section p.larger-space-bottom{
      margin-bottom: 40px;
    }
  
    .index-banner-caption h1 span:first-child{
      color:#FFF;
    }
  
    .index-banner-caption {
      top: 130px;
    }
    
  }
  
  @media only screen and (max-width: 450px){
    .index-banner-caption {
      top: 120px;
    }
  }
  
  /*footer*/
  div.mtpc_footer {
    margin-top: 0;
  }
  
  /* Charter */
  ol.charter, ul.charter {
    padding-bottom: 1em;
  }
  
  ul.charter li {
    list-style-type: none;
    font-weight:normal;
    font-size:initial;
  }
  
  ul.charter li::before {
    content: " ";
    counter-increment: ol-order;
  }
  
  ol.charter.c-1st {
    list-style: none;
    counter-reset: c-1st;
    font-weight:700;
    font-size:1.1em;
  }
  
  ol.charter.c-2nd {
    list-style: none;
    counter-reset: c-2nd;
    font-weight:normal;
    font-size:initial;
  }
  
  ol.charter.c-3rd {
    list-style: none;
    counter-reset:c-3rd;
    font-weight:normal;
    font-size:initial;
  }
  
  ol.charter.c-4th {
    list-style: none;
    counter-reset:c-4th;
    font-weight:normal;
    font-size:initial;
  }
  
  .c-1st li::before {
    content: "Chapter " counter(c-1st)": ";
    counter-increment: c-1st;
  }
  
  .c-2nd li::before {
    content: counter(c-1st) "." counter(c-2nd)"    ";
    counter-increment: c-2nd;
    display: inline-block;
    margin-left: -2em; /* same as padding-left set on li */
    width: 2em; /* same as padding-left set on li */
  }
  
  .c-3rd li::before {
    content: "(" counter(c-3rd, lower-alpha)") ";
    counter-increment: c-3rd;
    display: inline-block;
    margin-left: -1.5em; /* same as padding-left set on li */
    width: 1.5em; /* same as padding-left set on li */
  }
  
  .c-4th li::before {
    content: "(" counter(c-4th, lower-roman)") ";
    counter-increment: c-4th;
    display: inline-block;
    margin-left: -1.5em; /* same as padding-left set on li */
    width: 1.5em; /* same as padding-left set on li */
  }
  
  /* Charter - end */
  
  /* founding member */
  .member-table tr td:first-child {
    font-weight: bold;
    color:#336699;
  }
  /* founding member - end */
  
  /* advisor-list */
  .advisor-list .mtpc_pl_item_wrapper .mtpc_pl_texts .mtpc_profile_name_container {
    display: none;
  }
  /* advisor-list - end */

  .path-activities-and-sharing .region-breadcrumb,
  .path-news .region-breadcrumb {
    display:none;
  }
  
  .path-activities-and-sharing .mtpc_pagetitle.mtpc_news,
  .path-news .mtpc_pagetitle.mtpc_news {
    background: url("/sites/rpa.prod01.ust.hk/files/2022-04/section-banner_desktop_change.png") no-repeat;
    display: flex;
    justify-content: center;
    height: 250px;
    width: 100%;
    max-width: none !important;
    padding:0 0 40px 0;
  }

  .path-activities-and-sharing .mtpc_pagetitle.mtpc_news h1,
  .path-news .mtpc_pagetitle.mtpc_news h1 {
    color: #FFFFFF !important;
    text-align: center;
    display: block;
    margin: auto !important;
    font-weight: 700;
  }
  
  .path-activities-and-sharing .mtpc_pagetitle.mtpc_news,
  .path-news .mtpc_pagetitle.mtpc_news {
      background: url('https://rpa.hkust.edu.hk/sites/rpa.prod01.ust.hk/files/2022-04/section-banner_desktop_change.png') no-repeat;
  }
  .view-news-events.view-display-id-page_3 span.news_year {
    display: none;
  }
  body header .mtpc_header .header .wrapper .logos .logos_left {
    margin-right: 40px;
  }
  body header .mtpc_header .header .wrapper .logos .navigation>ul.menu>li{
    margin-left: 25px;
  }
  
  @media only screen and (max-width: 1530px){
    body header .mtpc_header .header.desktop {
      display: none;
    }
  }
  @media only screen and (max-width: 1530px){
    body header .mtpc_header .header.mobile {
      display: block;
    }
  }
  @media only screen and (min-width: 1180px) and (max-width: 1530px){
    body header .mtpc_header .header .wrapper .logos .logos_right {
      width: auto;
    }
  }
  
  .view-id-news_events_custom {
      margin: 0 0 100px
  }
  
  .view-id-news_events_custom .view-content {
      max-width: 1280px;
      margin: 0 auto 40px
  }
  
  .view-id-news_events_custom .view-content .views-row {
      padding: 40px 0;
      border-bottom-style: solid;
      border-bottom-width: 2px
  }
  
  .view-id-news_events_custom .view-content .views-row .row_caontainer .mtpc_news_date {
      text-transform: uppercase
  }
  
  .view-id-news_events_custom .view-content .views-row .row_caontainer .mtpc_news_title a {
      text-decoration: none
  }
  
  .view-id-news_events_custom .view-content .views-row .row_caontainer .mtpc_read_more {
      padding-left: 7px
  }
  
  .view-id-news_events_custom .view-content .views-row .row_caontainer.has_thumb {
      display: -webkit-box;
      display: -moz-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: start;
      -moz-box-align: start;
      -webkit-align-items: flex-start;
      -ms-flex-align: start;
      align-items: flex-start;
      -webkit-box-pack: start;
      -moz-box-pack: start;
      -ms-flex-pack: start;
      -webkit-justify-content: flex-start;
      justify-content: flex-start;
      -webkit-box-direction: normal;
      -moz-box-direction: normal;
      -webkit-box-orient: horizontal;
      -moz-box-orient: horizontal;
      -webkit-flex-direction: row;
      -ms-flex-direction: row;
      flex-direction: row
  }
  
  .view-id-news_events_custom .view-content .views-row .row_caontainer.has_thumb .thumb_container {
      width: 360px;
      margin-right: 20px
  }
  
  .view-id-news_events_custom .view-content .views-row .row_caontainer.has_thumb .content_container {
      -lh-property: 0;
      width: -webkit-calc(100% - 360px);
      width: -moz-calc(100% - 360px);
      width: calc(100% - 360px)
  }
  
  .view-id-news_events_custom .view-content .views-row:nth-of-type(2n) .row_caontainer.has_thumb {
      -webkit-box-direction: reverse;
      -moz-box-direction: reverse;
      -webkit-box-orient: horizontal;
      -moz-box-orient: horizontal;
      -webkit-flex-direction: row-reverse;
      -ms-flex-direction: row-reverse;
      flex-direction: row-reverse
  }
  
  .view-id-news_events_custom .mtpc_news_listing_footer,
  .view-id-news_events_custom .mtpc_news_listing_footer .pager {
      display: -webkit-box;
      display: -moz-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      -webkit-box-align: center
  }
  
  .view-id-news_events_custom .view-content .views-row:nth-of-type(2n) .row_caontainer.has_thumb .thumb_container {
      margin-right: 0;
      margin-left: 20px
  }
  
  @media only screen and (min-width:1367px) {
      .view-id-news_events_custom .view-content .views-row .row_caontainer.has_thumb .thumb_container {
          margin-right: 40px;
          width: 410px
      }
  
      .view-id-news_events_custom .view-content .views-row .row_caontainer.has_thumb .content_container {
          -lh-property: 0;
          width: -webkit-calc(100% - 410px);
          width: -moz-calc(100% - 410px);
          width: calc(100% - 410px)
      }
  
      .view-id-news_events_custom .view-content .views-row:nth-of-type(2n) .row_caontainer.has_thumb .thumb_container {
          margin-left: 40px
      }
  }
  
  .view-id-news_events_custom .mtpc_news_listing_footer {
      display: flex;
      -moz-box-align: center;
      -webkit-align-items: center;
      -ms-flex-align: center;
      align-items: center;
      -webkit-box-pack: end;
      -moz-box-pack: end;
      -ms-flex-pack: end;
      -webkit-justify-content: flex-end;
      justify-content: flex-end;
      max-width: 1280px;
      margin: 0 auto;
      position: relative;
      z-index: 0
  }
  
  @media only screen and (min-width:1000px) {
  
      .view-id-news_events_custom .mtpc_news_listing_footer,
      .view-id-news_events_custom .view-content {
          padding: 0 40px
      }
  }
  
  @media only screen and (min-width:768px) and (max-width:999px) {
  
      .view-id-news_events_custom .mtpc_news_listing_footer,
      .view-id-news_events_custom .view-content {
          padding: 0 30px
      }
  }
  
  @media only screen and (max-width:767px) {
  
      .view-id-news_events_custom .mtpc_news_listing_footer,
      .view-id-news_events_custom .view-content {
          padding: 0 15px
      }
  
      .view-id-news_events_custom .view-content .views-row .row_caontainer.has_thumb {
          display: block
      }
  
      .view-id-news_events_custom .view-content .views-row .row_caontainer.has_thumb .thumb_container {
          width: 100%;
          margin-right: 0;
          margin-bottom: 20px
      }
  
      .view-id-news_events_custom .view-content .views-row .row_caontainer.has_thumb .content_container {
          width: 100%
      }
  
      .view-id-news_events_custom .view-content .views-row:nth-of-type(2n) .row_caontainer.has_thumb .thumb_container {
          margin-left: 0
      }
  }
  
  .view-id-news_events_custom .mtpc_news_listing_footer .pager {
      display: flex;
      -moz-box-align: center;
      -webkit-align-items: center;
      -ms-flex-align: center;
      align-items: center;
      -webkit-box-pack: start;
      -moz-box-pack: start;
      -ms-flex-pack: start;
      -webkit-justify-content: flex-start;
      justify-content: flex-start;
      width: 100%
  }
  
  .view-id-news_events_custom .mtpc_news_listing_footer .pager .pager__items {
      padding: 0;
      margin: 0
  }
  
  .view-id-news_events_custom .mtpc_news_listing_footer .pager .pager__item {
      text-align: center;
      display: inline-block;
      margin: 0 0 0 15px;
      padding: 0
  }
  
  .view-id-news_events_custom .mtpc_news_listing_footer .pager .pager__item a {
      display: inline-block;
      padding: .3em .8em
  }
  
  .view-id-news_events_custom .mtpc_news_listing_footer .pager .pager__item.is-active {
      border-style: solid;
      border-width: 1px
  }
  
  .view-id-news_events_custom .mtpc_news_listing_footer .pager .pager__item--first,
  .view-id-news_events_custom .mtpc_news_listing_footer .pager .pager__item--last {
      display: none
  }
  
  .view-id-news_events_custom .mtpc_news_listing_footer .view-filters {
      width: 30%;
      display: -webkit-box;
      display: -moz-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -moz-box-align: center;
      -webkit-align-items: center;
      -ms-flex-align: center;
      align-items: center;
      -webkit-box-pack: end;
      -moz-box-pack: end;
      -ms-flex-pack: end;
      -webkit-justify-content: flex-end;
      justify-content: flex-end
  }
  
  .view-id-news_events_custom .mtpc_news_listing_footer .view-filters .year_label {
      color: #0f8cb6;
      font-size: 18px;
      padding-right: 5px
  }
  
  .view-id-news_events_custom .mtpc_news_listing_footer .view-filters .form-item {
      margin: 0;
      padding: 0;
      position: relative;
      color: #0f8cb6
  }
  
  .view-id-news_events_custom .mtpc_news_listing_footer .view-filters .form-item select.form-select {
      width: 125px;
      background-color: rgba(0, 0, 0, 0);
      border-radius: 0;
      border: 1px solid #b6dae6;
      cursor: pointer;
      z-index: 9999;
      position: relative;
      font-weight: 600;
      outline: 0
  }
  
  .view-id-news_events_custom .mtpc_news_listing_footer .view-filters .form-item:after {
      content: "\f0d7";
      font-family: "Font Awesome 5 Pro";
      position: absolute;
      top: 10px;
      right: 15px;
      font-weight: 700
  }
  


.path-activities-and-sharing .mtpc_pagetitle.mtpc_news, .path-news .mtpc_pagetitle.mtpc_news {
    background: url(https://rpa.hkust.edu.hk/sites/default/files/2022-04/section-banner_desktop_change.png) no-repeat;
}

