/* @media (min-width: 1600px) and (max-width: 1680px) {
  .t-footer-bottom .t-footer-wrapper > .block > div > div > div > img {
    left: -20%;
  }
} */ /* this is fix adam another way  */
.student-exchange-section > div > p,
.student-exchange-section > p {
  font-size: 18px !important;
}

.block-views-blockstudent-review-story-block-1 .view-content {
  overflow: hidden;
}

.block-views-blockstudent-review-story-block-1 .owl-carousel .owl-stage-outer {
  overflow: visible;
}

.view-student-review-story .cus-owl-nav {
  position: absolute;
  right: 0px;
  margin-right: 5rem; /* this one please follow .block-views-blockstudent-review-story-block-1 .owl-theme .owl-nav margin right - all responsive */
  display: flex;
  top: 0px;
  z-index: 80;
}

.view-student-review-story .cus-owl-prev {
  margin: 5px;
  padding: 4px 7px;
  cursor: pointer;
}

.view-student-review-story .cus-owl-next {
  margin: 5px;
  padding: 4px 7px;
  cursor: pointer;
}

.view-student-review-story .view-footer {
  position: relative;
}

.block-views-blockstudent-review-story-block-1 .owl-theme .owl-nav {
  visibility: hidden;
}

.admissions_requirement_content .layout__region--first .bachelor-of-law-section table tr:nth-child(6) td:nth-child(2) p {
  color: #072633 !important;
}
.mphil-cross-institutional-section .deadline-row p {
  color: #072633;
}

.node--type-page .useful-link-layout .layout__region.layout__region--second {
  max-width: 1820px !important;
  padding-left: 50px !important;
  padding-right: 50px !important;
  margin: 0 auto !important;
}
.block-block-content143f4e4f-1b91-443f-9cb7-c466837c56db ul li:before {
  display: none;
}
.topics-body ul li::before,
.block-block-content534be0ad-817c-428b-be5d-1323ec38c963 ul li::before {
  display: none; /* responsive error */ 
}
.minor-maths-adding .block-block-content143f4e4f-1b91-443f-9cb7-c466837c56db ul li,
.block-block-content534be0ad-817c-428b-be5d-1323ec38c963 ul li {
  list-style: disc !important;
}
.minor-maths-adding .block-block-content143f4e4f-1b91-443f-9cb7-c466837c56db ul,
.block-block-content534be0ad-817c-428b-be5d-1323ec38c963 ul {
  padding-left: 15px;
}
.block-block-content534be0ad-817c-428b-be5d-1323ec38c963 ul li::marker {
  color: #20586f;
}
div.enquiry-section-sticky {
  margin-top: 135px;
}

.professor-detail-inner-wrapper li{
  margin-bottom: 15px;
}

/* .cross-institutional-sub-section .enquiry-section-sticky  .content,
.bscm-student-exchange-section .enquiry-section-sticky  .content {
    height: 100%;
    overflow-y: auto;
    overflow-x: auto;
}  */

.cross-institutional-sub-section .enquiry-section-sticky  .content.scroll,
.bscm-student-exchange-section .enquiry-section-sticky  .content.scroll {
    height: 425px;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-right: 10px;
}

.views-element-container.block.block-views.block-views-blocktopics-recommended-readings-block-2 .views-element-container {
  position: relative;
}

.cross-institutional-sub-section .enquiry-section-sticky  .content.scroll::-webkit-scrollbar,
.bscm-student-exchange-section .enquiry-section-sticky  .content.scroll::-webkit-scrollbar {
  /* display: block; */
  width: 7px;
  border-radius: 5px;
  margin-left: 35px;
}

/* Track */
 
.cross-institutional-sub-section .enquiry-section-sticky  .content.scroll::-webkit-scrollbar-track,
.bscm-student-exchange-section .enquiry-section-sticky  .content.scroll::-webkit-scrollbar-track {
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
}
 
 
/* Handle */
.cross-institutional-sub-section .enquiry-section-sticky  .content.scroll::-webkit-scrollbar-thumb,
.bscm-student-exchange-section .enquiry-section-sticky  .content.scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #0cc7cf 0%,#20586fb0 100%);
  opacity: 0.3;
  border-radius: 5px;
}

/* Handle on hover */
.cross-institutional-sub-section .enquiry-section-sticky  .content.scroll::-webkit-scrollbar-thumb:hover,
.bscm-student-exchange-section .enquiry-section-sticky  .content.scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #0cc7cf 0%,#20586f 100%);
}

.bscm-student-exchange-section .content p {
  color: #072633;
}
#accordion ul li {
  list-style: disc !important;
}
#accordion ul  {
  padding-left: 15px;
  padding-bottom: 15px;
}

.latest-news-upcoming-new-events-section .view-display-id-block_3 .latest-news-events-seminars-date-container {
  width: 77px;
}

.latest-news-upcoming-new-events-section .latest-news-events-seminars-date {
  width: 77px;
  font-size: 1.438rem;
  border-bottom-right-radius: 25px;
  display: flex;
  align-items: center;
  text-align: center;
  height: 100%
}

.views-infinite-scroll-content-wrapper .col-lg-6 .views-field-nothing .field-content,
.views-infinite-scroll-content-wrapper .col-lg-6 .views-field-nothing .event-container-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.block-views-blocknews-events-filter-block-3 .latest-news-events-seminars-info-divider {
  display: none;
}

.block-views-blocknews-events-filter-block-3 .latest-news-events-seminars-info {
  width: 100%;
  border-top: 1px solid #d5d5d5;
  padding-top: 20px;
  margin-top: 25px;
  min-height: 60px;
}

.latest-news-upcoming-new-events-section .latest-news-events-seminars-info {
  align-items: center;
}

.latest-news-events-seminars-time {
  align-items: center;
}

.page-node-2511 .node--type-page .layout__region--first {
  margin-bottom: 20px;
}

.filterCloseZ {
  font-size: 1.125rem;
  color: #20586F;
  font-weight: 500;
  cursor: pointer;
}
/* event responsive basetext */

.about-department-section-img {
  overflow: hidden;
  display: block;
  max-height: 415px;
  /* margin-left: 20px; */
}
.joint-bachelor-section .col-lg-6 img {
  margin-left: 0px;
}

.msc-financial-statistics-two-col-outer-wrapper .msfms-section table.msfms-table.general-info-table tr:first-child td:last-child{
  color: #072633!important;
}

.progress-container {
  width: 7px;
  height: 100%;
  background-color: #fff;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
  display: block;
  position: sticky;
  top: 0;
  border-radius: 5px;
  margin-left: auto;
}

.progress-bar {
  height: 0%;
  background: linear-gradient(to bottom, #0cc7cf 0%,#0cc7cf 100%);
  width: 100%;
  display: block;
  border-radius: 5px;
}

.progress-topic-container {
  width: 7px;
  height: 100%;
  background-color: #fff;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
  display: block;
  position: absolute;
  top: 0;
  border-radius: 5px;
  right: 0;
}

.progress-topic-bar {
  height: 0%;
  background: linear-gradient(to bottom, #0cc7cf 0%,#0cc7cf 100%);
  width: 100%;
  display: block;
  border-radius: 5px;
}

@media (min-width: 1440px) { 
  .master-of-philosophy-main-section .requirement-section p.requirement-title {
    font-size: 1.375rem!important;
    color: #20586F;
  }
}
@media (max-width: 1600px) {
  .placement-test-ma1200-section {
    padding-left: 100px;
    padding-right: 100px;
  }
}
@media screen and (max-width: 1560px)
{
  .master-of-philosophy-main-section .layout__region--first {
    padding-right: 3rem;
  }
  .node--type-page .useful-link-layout .layout__region.layout__region--second {
    padding-left: 100px !important;
    padding-right: 100px !important;
  }
}
@media (max-width: 1279px) {
  .placement-test-ma1200-section {
    padding-left: 2rem; 
    padding-right: 2rem;
}
}
@media (max-width: 1024px) {
  .node--type-page .useful-link-layout .layout__region.layout__region--second {
    padding-left: 50px !important;
    padding-right: 50px !important;
  }
  .enquiry-section-sticky {
    padding: 2rem 1.5rem !important;
  }
}
@media (max-width: 835px) { 
  
  body div.layout.layout--twocol-section.minor-maths-adding > .layout__region--first {
    flex: 1 0 100%;
  }
  body div.layout.layout--twocol-section.minor-maths-adding > .layout__region--second {
    flex: 1 0 100%;
  }
  .block-views-blocknews-events-filter-block-3 .latest-news-events-seminars-info {
    min-height: auto;
  }
  .page-node-2511 .node--type-page .layout__region--first {
    margin-bottom: 0px;
  }
  .research-section {
    padding-bottom: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .node--type-page .layout__region--top .block-block-content .field--type-text-with-summary h1 {
    font-size: 2.75em !important;
  }
  div.view-student-review-story .cus-owl-nav div.cus-owl-prev img, div.view-student-review-story .cus-owl-nav div.cus-owl-next img{
    max-width: 80%;
  }
  .events-container .block-views-blocknews-events-filter-block-1 h2 {
    padding-top: 1rem;
  }
}
@media screen and (max-width: 640px) {
  .node--type-page .layout__region--top .block-block-content .field--type-text-with-summary h1 {
    font-size: 2.7rem !important;
  }
  .node--type-page .useful-link-layout .layout__region.layout__region--second {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
@media screen and (max-width: 540px)
{
  .node--type-page .layout__region--top .block-block-content .field--type-text-with-summary h1 {
    font-size: 2.45rem !important;
  }

  .field.field--name-field-header-image.field--type-image.field--label-above {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }

  .field.field--name-field-header-image.field--type-image.field--label-above .field__item {
    height: 100%!important;
  }

  .field.field--name-field-header-image.field--type-image.field--label-above img {
    height: 100%!important;
  }

  #main-wrapper .layout__region--top .field--name-body {
    position: relative!important;
    top: unset;
    left: unset;
    display: block;
    padding-top: 70px;
    padding-bottom: calc(70px - 8px);
  }

}


@media (max-width: 999px) {
  div.view-student-review-story .cus-owl-nav {
    margin-right: 3rem;
    top: -12px;
  }
}
@media only screen and (max-width: 481px)
{
  .latest-news-upcoming-new-events-section .latest-news-events-seminars-info {
    margin-left: 0px;
  }
  .node--type-page .layout__region--top .block-block-content .field--type-text-with-summary h1 {
    font-size: 2rem !important;
  }
}

@media (max-width: 425px) {
  div.view-student-review-story .cus-owl-nav {
    top: -17px;
  }
}

@media (max-width: 375px) {
  div.view-student-review-story .cus-owl-nav .cus-owl-prev img, div.view-student-review-story .cus-owl-nav .cus-owl-next img{
    max-width: 80%;
  }
  div.view-student-review-story .cus-owl-nav .cus-owl-prev, div.view-student-review-story .cus-owl-nav .cus-owl-next  {
    padding: 4px 0px;
  }

  .node--type-page .layout__region--top .block-block-content .field--type-text-with-summary h1 {
    font-size: 1.8rem !important;
  }
}

@media (max-width: 320px) {
  div.view-student-review-story .cus-owl-nav {
    margin-right: 1rem;
  }
}

@media (min-width: 1536px) and (max-width: 1691px) {
  div.t-primary-menu {
    padding: 10px 20px 10px 30px !important;
  }
  .header #navbar-main li.nav-item .t-nav-link {
    font-size: 16px;
  }
  div.t-primary-menu .t-menu-level-0 > li > .t-nav-link {
    padding: 0 10px;
  }
  div#block-searchicon.header-search {
    margin-left: 20px !important;
  }
  p.hkms > a > img {
    width: auto;
    max-width: 80%;
  }
  .navbar-brand-hk img {
    width: 300px !important;
  }
}

@media (min-width: 1440px) and (max-width: 1536px) {
  .header #navbar-main li.nav-item .t-nav-link {
    font-size: 14px;
  }
  .t-header-nav-wrapper {
    margin-top: 20px;
  }
  div.t-primary-menu {
    padding: 10px 20px 10px 30px !important;
  }
  div.t-primary-menu .t-menu-level-0 > li > .t-nav-link {
    padding: 0 10px;
  }
}
@media (max-width: 640px) {
  .student-exchange-section > div > p,
  .student-exchange-section > p {
    font-size: 14px !important;
  }
}

@media (min-width: 530px) and (max-width: 690px) {
  .t-header-left.t-department-websites {
    width: 30%;
  }
  img.t-header-logo-m {
    width: 100% !important;
  }
  #header .t-header-wrapper .field--name-body a {
    font-size: 12px;
  }
  p.hkms > a > img {
    width: 70%;
  }
}
@media (min-width: 535px) and (max-width: 550px) {
  .t-header-left.t-department-websites {
    width: 43%;
  }
  img.t-header-logo-m {
    width: 100% !important;
  }

  #header .t-header-wrapper .field--name-body a {
    font-size: 8px;
  }
  p.hkms > a > img {
    width: 55%;
  }
}
@media (min-width: 480px) and (max-width: 535px) {
  .t-header-left.t-department-websites {
    width: 35%;
  }
  img.t-header-logo-m {
    width: 100% !important;
  }

  #header .t-header-wrapper .field--name-body a {
    font-size: 8px;
  }
  p.hkms > a > img {
    width: 55%;
  }
}

@media (min-width: 550px) and (max-width: 999px) {
  .footer-logo {
    text-align: center;
    margin-left: 0;
  }
}
@media screen and (max-width: 550px) {
  div.footer-logo {
    width: 100%;
    display: block;
    margin-left: 0;
    margin-top: -20px;
  }
  .footer-logo a {
    text-align: right;
  }
  .footer-logo a img {
    width: 140px;
  }
}
@media screen and (max-width: 428px) {
  .footer-logo a img {
    margin-right: 50px;
  }
}
@media screen and (max-width: 400px) {
  .footer-logo a img {
    margin-right: 0px;
  }
}
@media screen and (max-width: 360px) {
  .footer-logo a img {
    margin-right: 30px;
  }
}
@media screen and (max-width: 340px) {
  .footer-logo a img {
    margin-right: 0px;
  }
}

@media (min-width: 999px) and (max-width: 1024px) {
  .page-node-1
    div#main.container
    .row.row-offcanvas.row-offcanvas-left.clearfix {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .path-frontpage .view-display-id-block_2 {
    margin-top: -3em !important;
  }
}

@media screen and (max-width: 999px) {
  .home-mission {
    padding-left: 50px;
    padding-right: 50px;
  }
  div.view-student-review-story .cus-owl-nav .cus-owl-prev img, div.view-student-review-story .cus-owl-nav .cus-owl-next img{
    max-width: 90%;
  }
}
@media screen and (max-width: 480px) {
  .home-mission {
    padding-left: 30px;
    padding-right: 30px;
  }
  .path-frontpage div.latest-news-title-container {
    margin-top: 65px !important;
    margin-bottom: 30px;
  }
  .events-container .block-views-blocknews-events-filter-block-1 h2 {
    padding-top: 0.3rem;
  }
}

@media only screen and (max-width: 835px) {
  .path-frontpage .latest-news-title-container {
    margin-top: 90px !important;
    margin-bottom: 35px;
  }
}
.view.view-research-students.view-id-research_students.view-display-id-block_4
  ul.research-list {
  height: 350px;
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 0px 3px 3px 0px; /*zara*/
}
.view.view-research-students.view-id-research_students.view-display-id-block_4
  ul.research-list::-webkit-scrollbar {
  display: none;
}

/* .block.block-layout-builder.block-field-blocknodestudent-reviewfield-extra-student-review-text
.clearfix.text-formatted.field.field--name-field-extra-student-review-text.field--type-text-long.field--label-hidden.field__item p:last-child {
  display: none;
  margin-bottom: 0px;
} */

/* @media (max-width: 834px) {
  .node--type-page div.layout__region--first {
    margin-bottom: 40px;
  }
} */
/* 
.node__content.clearfix div:first-child div.layout__region.layout__region--first:empty {
  display: none;
} */

@media (max-width: 1536px) { 
  .overview-box-section {
    margin-top: 5rem;
  }
}

@media (max-width: 1366px) {
  .master-of-philosophy-main-section .layout__region--first {
    padding-right: 2rem;
  }
  div.joint-bachelors-degree-programmes-block {
    margin-bottom: 3em !important;
  }
  section.joint-bachelor-section {
    margin-bottom: 3rem;
  }
  .overview-box-section {
    margin-top: 4rem;
  }
}
@media (max-width: 1559px) {
  .joint-bachelors-degree-programmes-block
    .joint-bachelor-section
    .col-lg-6:first-child {
    padding-right: 0.5rem;
  }
  .joint-bachelors-degree-programmes-main-section .layout__region--first {
    margin-bottom: 0rem;
  }
  /* .career-prospect-main-container section.course-list-section {
    margin-bottom: 4em !important;
  } */
}
@media (max-width: 1024px) {
  .joint-bachelor-section .row:last-child {
    margin-top: 5rem;
  }

  .BSc-computing-mathematics-custom-main-container #fractal-geometry,
  .BSc-computing-mathematics-custom-main-container #video-text-col {
    margin-bottom: 75px;
  }
}

@media (max-width: 999px) {
  .joint-bachelors-degree-programmes-block
    .joint-bachelor-section
    .col-lg-6:first-child {
    padding-right: 0.5rem;
  }
  section.joint-bachelor-section {
    margin-bottom: 5rem;
  }
  .career-prospect-main-container section.course-list-section {
    margin-bottom: 5em !important;
  }
}

@media (min-width: 834px) { 
  .bscm-student-exchange-section {
    margin-bottom: 0em !important;
  }
}

@media (max-width: 835px) {
  section.joint-bachelor-section {
    margin-bottom: 0em;
    padding-bottom: 3em;
  }
  .joint-bachelor-section .row:last-child {
    margin-top: 3rem;
  }
  .placement-test-ma1200-section {
    margin-bottom: 3em !important;
  }
  .useful-placement-layout .layout__region--first {
    margin-bottom: 3rem;
  }
  div.enquiry-section-sticky {
    margin-top: 20px;
  }
  .msc-financial-statistics-two-col-outer-wrapper {
    margin-bottom: 3em !important;
  }
}
@media (max-width: 834px) {
  .BSc-computing-mathematics-adimission-main-section .application-sidebar-box {
    margin-top: 2rem;
  }
}
@media (max-width: 550px) {
  section.joint-bachelor-section {
    padding-bottom: 0em;
  }
  .BSc-computing-mathematics-custom-main-container #fractal-geometry,
  .BSc-computing-mathematics-custom-main-container #video-text-col {
    margin-bottom: 55px;
  }
}
