html, body, .container {
    min-width: 300px;
}
body {
    font-family: 'Raleway', sans-serif;
    color: black;
    background-color: white;
}
.content a {
    color: black;
    font-weight: 700;
}
.wrapper {
    width: 100%;
    padding: 0 100px;
    max-width: 1480px;
    margin: 0 auto;
}

/* Neue */
.header-news {
    font-family: 'Monteserrat', sans-serif;
}
/* DIN */
.breadcrumbs,
.post-entry,
.course-single-code,
.entry-heading,
.meta-block .entry-text,
.content .page-sidebar p,
.content .page-sidebar td,
.content .page-sidebar li,
.event-details-date,
.info-heading,
.info-text,
.cr-name-text,
.people-single-meta .meta-link,
.people-qualifications,
.people-meta-extra,
.people-section-content,
.people-breadcrumb {
    font-family: 'Barlow', sans-serif;
}
.entry-type,
.course-single-meta .btn-outline,
.course-single-meta .btn-share,
.page-sidebar .btn-share,
.page-sidebar .btn-reg,
.content .page-sidebar p strong,
.content .page-sidebar td strong,
.content .page-sidebar li strong {
    font-family: 'Raleway', sans-serif;
}


header {
    position: relative;
    padding: 42px 0 50px 0;
    z-index: 10;
}

.header-wrapper.wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 1;
}

.header-logo {
    display: flex;
    gap: 20px;
}
.header-logo-inner {
    display: block;
}
.header-logo-white .header-logo-inner,
.header-logo-black .header-logo-inner,
.header-logo-white .header-logo-inner img,
.header-logo-black .header-logo-inner img {
    width: auto;
    height: 54px;
}
.header-logo-white, .header-logo-black.black {
    opacity: 1;
}
.header-logo-white.black, .header-logo-black {
    opacity: 0;
}
.header-logo-icon .header-logo-inner {
    width: 50px;
}


.main-menu-button {
    color: black;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
}


body.menu-open {
    overflow: hidden;
}

body.menu-ready .header-wrapper.wrapper {
    animation: headerA 0.3s ease-in-out both;    
}
body.menu-ready.menu-open .header-wrapper.wrapper {
    position: fixed;
    z-index: 99999;
    max-width: none;
    padding: 0 42px;
    animation: headerB 0.3s ease-in-out both;
}

@keyframes headerA {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes headerB {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body.menu-open.home .main-menu-button, body.menu-open .header-slogan{
	color:black;
}
body.menu-open .header-logo-white.black, body.menu-open .header-logo-black {
    opacity: 1;
}

body.home .header-logo-icon {
    display: none;
}
body.home.menu-open .header-logo-white,
body.home.menu-open .header-logo-black {
    display: none;
}
body.home.menu-open .header-logo-icon {
    display: flex;
    position: static;
}
body.home.menu-open .main-menu-button {
    position: static;
}

body.home.menu-ready.menu-open .header-wrapper.wrapper {
    padding-top: 42px;
}
.main-menu-container {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    margin-top: 0;
    margin-right: 0; 
    background-color: #fafafa;
    box-shadow: 0 0 5px #b0b0b0;
    transition: left .3s ease-in-out;
    z-index: 101;
}
.main-menu {
    display: block;
    position: relative;
    padding-right: 0;
    overflow: auto;
    height: calc(100% - 160px);
    margin-top: 160px;
    z-index: 5;
}
body.home .main-menu {
    height: calc(100% - 204px);
    margin-top: 204px;
}
.main-menu ul {
    display: block;
}
.main-menu>nav>ul>li {
    padding-right: 0;
}
.main-menu li.menu-home {
    padding-left: 15px;
    margin: 15px 0;
}
.main-menu>nav>ul>li:after {
    right: 15px;
    top: 21px;
}
.main-menu ul ul {
    top: unset;
    width: 100%;
    box-shadow: 0 0 0;
}
.main-menu>nav>ul>li.menu-item-has-children:after,
.main-menu>nav>ul>li>ul>li.menu-item-has-children:after,
.main-menu ul ul a:after,
.main-menu ul ul span:after{
    display: none;
}
.main-menu li.menu-item-has-children.active>.sub-menu {
    display: block;
}

.main-menu ul ul li:hover>a,
.main-menu ul ul li:hover>span {
    color: #080344;
}
.main-menu li.menu-item-has-children a {
    width: 100%;
}
.main-menu span.dropdown-btn {
    display: none;
}
.main-menu li:hover>span,
.main-menu ul ul span {
    position: absolute;
}
.dropdown-btn {
    position: absolute;
    right: 22px;
    top: 11px;
    width: 30px;
    height: 30px;
    padding: 0 !important;
    background: url(images/menu-arrow-sprite.png) no-repeat 8px 12px;
    background-size: 14px auto;
}
li.menu-item-has-children li.menu-item-has-children .dropdown-btn {
    top: 9px;
    right: 20px;
}
.dropdown-btn.active {
    transform: rotate(180deg);
}
li.menu-item-has-children.active>ul,
.main-menu ul li.menu-item-has-children.active ul {
    position: relative;
    opacity: 1;
}
.main-menu>nav>ul>li>ul>li.menu-item-has-children {
    padding-right: 0;
}
.main-menu ul ul ul {
    left: unset;
}
.main-menu ul ul a:after,
.main-menu ul ul span:after {
    left: 0;
    width: 100%;
}
.main-menu ul li:hover ul {
    pointer-events: auto;
}
.main-menu>nav>ul>li.active:after {
    transform: rotate(180deg);
}
.main-menu-mask {
    position: absolute;
    display: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 100;
}
body.menu-open .main-menu-container {
    opacity: 1;
    transition: opacity .3s ease-in-out;
    overflow: hidden;
    pointer-events: auto;
} 
body.menu-open .main-menu-mask {
    display: block;
}

.main-menu>nav>ul>li:hover::after {
    background-position: 0px -22px;
}
body.menu-open main {
  padding-top: var(--header-height);
}


footer {
    padding: 38px 0 140px 0;
    background-color: #dcddde;
}
.footer-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-logos {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
}
.footer-logo, .footer-logo img {
    height: 47px;
}
.footer-logo img {
    width: auto;
    max-width: none;
}
.footer-menu ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 55px;
    flex-wrap: wrap;

}
.footer-menu a {
    color: black;
    font-size: 14px;
    font-weight: 600;
}

body.home {
    color: white;
    background-color: black;
}
body.home .container,
body.home main {
    width: 100%;
    height: 100%;
}
body.home .container {
    position: relative;
    overflow: hidden;
}
body.home header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 0;
}

.ticker-wrap, a.ticker-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 19px 0;
    overflow: hidden;
    background: #000;
    text-decoration: none;
    position: relative;
}
.ticker {
    display: flex;
    white-space: nowrap;
    will-change: transform;
}
.ticker-item {
    color: #fff;
    font-size: 16px;
    line-height: 1;
    font-weight: 400;
    padding: 0 40px;
}

.header-news {
    position: relative;
    z-index: 10000;
}


body.home .header-wrapper {
    position: relative;
    width: 100%;
    max-width: none;
    padding: 0;
}

body.home .header-logo,
.home-block-list,
.home-block::before {
    transition: opacity .3s ease-in-out;
}
body.home .header-logo {
    position: absolute;
    left: 42px;
    top: 42px;
}
.header-slogan {
    display: none;
    position: absolute;
    left: calc(50% + 42px);
    top: 42px;
    font-size: 24px;
    font-weight: 700;
    pointer-events: none;
}
body.home .header-slogan,
body.menu-open .header-slogan {
    display: block;
}
body.menu-open .header-slogan {
    top: 0px;
}
body.home.menu-open .header-slogan {
    top: 42px;
}
.header-slogan.black {
    color: black;
}
body.home .main-menu-button {
    position: absolute;
    right: 42px;
    top: 42px;
    color: white;
}
body.home .main-menu-button.black {
    color: black;
}

.home-blocks {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}
.home-block {
    position: relative;
    width: 25%;
    height: 100%;
    padding: 42px;
    border-right: 0.75px solid white;
    z-index: 5;
}
.home-block-4 {
    border-right: 0;
}
.home-block-inner {
    position: relative;
    height: 100%;
}
.home-block-heading {
    position: absolute;
    left: 0;
    bottom: 0;
    color: #f4f3ef;
    font-size: 36px;
    font-weight: 700;
}
.home-block:hover .home-block-heading {
    color: black;
}
.home-block-list {
    position: absolute;
    left: 0;
    bottom: 116px;
    opacity: 0;
    pointer-events: none;
}
.home-block:hover .home-block-list {
    opacity: 1;
    pointer-events: auto;
}
.home-block-list a {
    color: black;
    font-size: 36px;
    line-height: 1.27;
    opacity: 0.7;
}
.home-block-list a:hover {
    opacity: 1;
}
.home-block::before {
    display: block;
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.home-block::before {
    opacity: 0;
}
.home-block-1::before {
    background-color: rgba(243,207,4,0.9);
}
.home-block-2::before {
    background-color: rgba(208,255,113,0.9);
}
.home-block-3::before {
    background-color: rgba(239,151,242,0.9);
}
.home-block-4::before {
    background-color: rgba(61,249,244,0.9);
}
.home-block:hover::before {
    opacity: 1;
}

.home-block-bg,
.home-block-bg-init-container,
.home-block-bg-init,
.menu-block-bg-container,
.menu-block-bg {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    pointer-events: none;
}
.home-block-bg,
.home-block-bg-init,
.menu-block-bg-inner {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.home-block-bg {
    width: 100%;
    opacity: 0;
    transform: scale(1);
    transition: opacity .3s ease-in-out, transform 8s linear;
    z-index: 1;
}
.home-block-bg.active {
    opacity: 1;
    transform: scale(1.1);
}
.home-block-bg-1 {
    background-image: url('images/demo/home-school.jpg');
}
.home-block-bg-2 {
    background-image: url('images/demo/home-programmes.jpg');
}
.home-block-bg-3 {
    background-image: url('images/demo/home-events.jpg');
}
.home-block-bg-4 {
    background-image: url('images/demo/home-impact.jpg');
}

.home-block-bg-init-container {
    width: 100%;
    opacity: 1;    
}
.menu-block-bg-container {
    display: none;
    width: 100%;
}
body.menu-open .menu-block-bg-container {
    display: block;
}
.home-block-bg-init {
    width: 25%;
}
.menu-block-bg {
    width: 25%;
    z-index: -1;
    border-right: 1px solid #999;
}
.menu-block-bg-inner {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}
.menu-block-bg:last-child {
    border-right: 0;
}
.home-block-bg-init-1,
.menu-block-bg-1 .menu-block-bg-inner {
    background-image: url('images/demo/home-school-init.jpg');
}
.home-block-bg-init-2,
.menu-block-bg-2 .menu-block-bg-inner {
    background-image: url('images/demo/home-programmes-init.jpg');
}
.home-block-bg-init-3,
.menu-block-bg-3 .menu-block-bg-inner {
    background-image: url('images/demo/home-events-init.jpg');
}
.home-block-bg-init-4,
.menu-block-bg-4 .menu-block-bg-inner {
    background-image: url('images/demo/home-impact-init.jpg');
}
.home-block-bg-init-2,
.menu-block-bg-2 {
    left: 25%;
}
.home-block-bg-init-3,
.menu-block-bg-3 {
    left: 50%;
}
.home-block-bg-init-4,
.menu-block-bg-4 {
    left: 75%;
}
.home-block-bg-init-container.hide {
    opacity: 0;
    transition: opacity .3s ease-in-out;
}


.breadcrumbs {
    margin-bottom: 23px;
    font-size: 14px;
}
.breadcrumbs a {
    color: black;
}
.breadcrumbs .current {
    font-weight: 700;
}
.content {
    min-height: 400px;
}
.page-title,
.single-page-title {
    margin-bottom: 45px;
    font-size: 45px;
    font-weight: 600;
}
.page-with-sidebar .page-title,
.page-with-sidebar .single-page-title {
    width: 70%;
    padding-right: 4%;
}
.content p,
.content td,
.content li {
    font-size: 19px;
    line-height: 1.15;
}
.content .cr-text p,
.content .cr-text td,
.content .cr-text li,
.content .content-accordion-details p,
.content .content-accordion-details td,
.content .content-accordion-details li {
	line-height: 1.37;
}
.content .cr-text p,
.content .content-accordion-details p {
    margin-bottom: 22px;
	text-align: left;
}
.cr-image {
    margin-bottom: 22px;
}


.page-top {
    width: 100%;
    padding-bottom: 75px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2%;
}

.page-text {
    width: 100%;
    padding-bottom: 75px;
}
.page-text-thin {
    width: 48%;
}
.page-text h2 {
	margin: 2em 0 1em 0;
	font-size: 24px;
	font-weight: 700;
}
.page-text h3 {
    margin: 2em 0 1em 0;
    font-size: 20px;
    font-weight: 700;
}
.page-text h2:first-child,
.page-text h3:first-child {
    margin-top: 0;
}
.page-filters {
    width: 48%;
    font-weight: 500;
}
.grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
    margin: 0 auto;
}
.box,
.box-link {
    border: 1px solid black;
    padding: 12px;
    font-size: 16px;
    line-height: 1;
    color: #1a1a1a;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
}
.content a.box-link {
    font-weight: 500;
}
.content a.box {
    font-weight: 500;
}

.box:hover,
.box-link:hover {
    background-color: #ecffc6;
}

.box.active,
.box.active:hover,
.box-link.active,
.box-link.active:hover {
    background-color: #d0ff71;
}

.impact-filters .box:hover,
.impact-filters .box-link:hover {
    background-color: #B1FDFB;
}

.impact-filters .box.active,
.impact-filters .box.active:hover,
.impact-filters .box-link.active,
.impact-filters .box-link.active:hover {
    background-color: #3df9f4;
}


.search-box {
    border: 2px solid black;
    grid-column: span 2;
    position: relative;
}
.search-box-short {
    grid-column: 1;
}

.search-box:hover {
    background-color: transparent !important;
}

.search-input {
    border: none;
    outline: none;
    font-size: 16px;
    width: 100%;
    color: black;
    padding-right: 30px;
    background: transparent;
}

.search-input::placeholder {
    color: #aaa;
}

.search-icon {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    height: 13px;
    background-image: url('images/icon-search.png');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    color: #1a1a1a;
}

/* Listing page entries (shared markup, see custom_listing_filters() / js/listing.js)
   .entry-style-1 = Courses (green hover)
   .entry-style-2 = Events (pink hover)
   .entry-style-3 = Scholarships (adds the wide layout to entry-style-1)
   .entry-style-4 = Research Projects / Awards / Blogs / Interviews (adds the cyan hover to entry-style-2)
   .entry-style-5 = People (yellow hover) */
.post-entries {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2%;
    transition: opacity .25s ease;
}
.post-entries.is-filtering { opacity: 0; }
.post-entry.is-hidden { display: none; }
.post-entry,
a.post-entry {
    color: black;
}
.post-entry span {
    display: block;
}
.entry-style-1 {
    width: 23.5%;
    margin-bottom: 3%;
    font-size: 16px;
}

.entry-top {
    min-height: 29px;
    padding: 0 9px 12px 9px;
    border-bottom: 1px solid black;
    line-height: 1;
}
.entry-style-1 .entry-top {
    height: 29px;
}
.entry-bottom {
    padding: 16px 9px 26px 9px;
}
.entry-style-1:hover .entry-bottom {
    background-color: #ecffc6;
}

.entry-code {
    margin-bottom: 3px;
    font-size: 35px;
    font-weight: 600;
}
.entry-style-1 .entry-title { 
    margin-bottom: 40px;
    font-weight: 600;
}
.entry-style-1 span.entry-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.course-term, .course-target,
.scholarship-target, .scholarship-period {
    width: 48%;
    margin-bottom: 15px;
}
.course-teacher {
    width: 100%;
}
.course-teacher .entry-text {
    min-height: 34px;
}
.entry-heading {
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 400;
}
.entry-text {
    font-size: 14px;
    font-weight: 600;
}

.box { cursor: pointer; }

/* Fly-in popup of the listing pages (markup from custom_post_popup();
   .post-popup-style-N below sets the per-page background color) */
.post-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 9998;
}
.post-popup-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.post-popup {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    max-width: 1250px;
    background: #fff;
    box-shadow: 2px 0 20px rgba(0,0,0,.15);
    transform: translateX(-100%);
    transition: transform .35s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}
.post-popup.is-open {
    transform: translateX(0);
}
.post-popup-close {
    align-self: flex-end;
    border: 0;
    background: none;
    line-height: 1;
    cursor: pointer;
    margin: 50px 40px 0 0;
    width: 24px;
    height: 24px;
    color: transparent;
    font: 0/0 a;
    background-image: url('images/icon-close.png');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}
.post-popup-body {
    padding: 0 100px 100px 75px;
    overflow-y: auto;
    flex: 1;
}
.post-popup-body.is-loading {
    opacity: .4;
}


.page-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 9998;
}
.page-popup-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.page-popup {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    max-width: 1250px;
    background: #fff;
    box-shadow: 2px 0 20px rgba(0,0,0,.15);
    transform: translateX(-100%);
    transition: transform .35s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}
.page-popup.is-open { transform: translateX(0); }
.page-popup-close {
    align-self: flex-end;
    border: 0;
    background: none;
    line-height: 1;
    cursor: pointer;
    margin: 50px 40px 0 0;
    /* padding: 16px 20px; */
    width: 24px;
    height: 24px;
    color: transparent;
    font: 0/0 a;
    background-image: url('images/icon-close.png');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}
.page-popup-body {
    padding: 0 100px 100px 75px;
    overflow-y: auto;
    flex: 1;
}
.page-popup-body.is-loading { opacity: .4; }


/* Per-page background colors of the singles and popups
   (post-popup-style-1 = Courses / Scholarships, -2 = Events,
    -3 = Research Projects / Awards / Blogs / Interviews, -4 = People) */
.post-single-style-1,
.post-popup-style-1,
.post-popup-style-1 .post-popup-body,
.page-popup,
.page-popup-body {
    background: #ecffc6;
}
.post-popup-style-2,
.post-popup-style-2 .post-popup-body {
    background: #f9d5fa;
}
.post-popup-style-3,
.post-popup-style-3 .post-popup-body {
    background: #B1FDFB;
}

body.single-course .post-single,
body.single-scholarship .post-single {
    background: transparent;
}
body.single-course .breadcrumbs-top,
body.single-course .page-title,
body.single-lecture .breadcrumbs-top,
body.single-lecture .page-title,
body.single-seminar .breadcrumbs-top,
body.single-seminar .page-title,
body.single-exhibition .breadcrumbs-top,
body.single-exhibition .page-title,
body.single-trip .breadcrumbs-top,
body.single-trip .page-title,
body.single-research_project .breadcrumbs-top,
body.single-research_project .page-title,
body.single-award .breadcrumbs-top,
body.single-award .page-title,
body.single-interview .breadcrumbs-top,
body.single-interview .page-title,
body.single-blogpost .breadcrumbs-top,
body.single-blogpost .page-title,
body.single-scholarship .breadcrumbs-top,
body.single-scholarship .page-title,
body.single-profile .breadcrumbs-top {
    display: none;
}
.post-single-style-1 {
    padding: 100px 100px 100px 75px;
    font-family: inherit;
    color: #1a1a1a;
}
body.single-course .post-single,
body.single-scholarship .post-single {
    padding: 0;
}


.breadcrumbs-single {
    margin-bottom: 30px;
}
.content .breadcrumbs-single a {
    font-weight: 400;
}
.course-breadcrumb {
    padding-bottom: 22px;
    border-bottom: 1px solid black;
}
.course-breadcrumb a { color: #1a1a1a; text-decoration: none; }
.course-breadcrumb a:hover { text-decoration: underline; }
.course-breadcrumb span { color: #1a1a1a; }

.course-single-grid {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 50px;
    align-items: start;
}

.course-single-code {
    font-size: 35px;
    font-weight: 600;
    margin: 0 0 40px;
    line-height: 1.1;
}
.meta-block { margin-bottom: 22px; }
.meta-block .entry-heading {
    display: block;
    font-size: 12px;
    color: black;
    margin-bottom: 4px;
    letter-spacing: .02em;
}
.meta-block .entry-text {
    display: block;
    font-size: 18px;
    font-weight: 600;
}

.course-single-meta .btn-outline,
.course-single-meta .btn-share,
.page-sidebar .btn-share,
.page-sidebar .btn-reg {
    display: inline-block;
    margin-bottom: 11px;
    padding: 12px 12px;
    font-size: 16px;
    font-weight: 500;
    color: black;
    background: #fff;
    border: 1px solid black;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
}
.course-single-meta .btn-outline:hover,
.course-single-meta .btn-share:hover,
.page-sidebar .btn-share:hover,
.page-sidebar .btn-reg:hover { background: #d0ff71; }

.course-single-title {
    font-size: 29px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 35px;
}
.course-single-title strong { font-weight: 700; }

.course-single-desc,
.course-single-desc p {
    font-size: 19px;
    line-height: 1.37;
}
.course-single-desc {
    margin-bottom: 70px;
}
.course-single-desc p { margin: 0 0 18px; }
.course-single-desc p:last-child { margin-bottom: 0; }

.course-single-image { margin: 0; }
.course-single-image img {
    display: block;
    width: 100%;
    height: auto;
}
.course-single-image figcaption {
    font-size: 13px;
    color: #6f7355;
    margin-top: 10px;
}


.accordion-images {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4%;
    margin-top: 40px;
    flex-wrap: wrap;
}
.accordion-image {
    display: block;
    width: 48%;
    color: black;
    margin-bottom: 4%;
}
.accordion-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-fit: center center;
}
.page-id-35 .accordion-images {
    align-items: flex-start;
}
.page-id-35 .accordion-image img {
    height: auto;
}
.accordion-caption {
    display: block;
    padding: 15px 0;
    color: black;
    font-size: 18px;
    font-weight: 700;
}


.main-menu-container {
    position: fixed;
    z-index: 9999;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
}

.main-menu-container::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.12;
    pointer-events: none;
}

.menu-label {
    position: absolute;
    top: 40px;
    right: 90px;
    font-size: 30px;
    font-weight: 700;
    color: #111;
    z-index: 10;
}

.menu-close {
    position: absolute;
    top: 34px;
    right: 30px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 34px;
    line-height: 1;
    font-weight: 300;
    color: #111;
    cursor: pointer;
    padding: 0;
    z-index: 20;
    transition: color 0.25s ease, transform 0.25s ease;
}

.menu-close:hover {
    color: #6cd06c;
    transform: rotate(90deg);
}


.main-menu nav>ul.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    min-height: 100vh;
}


.main-menu nav>ul.menu>li {
    position: relative;
    flex: 1;
    width: 25%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.main-menu nav>ul.menu>li>a {
    padding: 40px;
}

.main-menu nav>ul.menu>li:before {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    content: '';
    background-size: cover;
    opacity: 0.12;
    z-index: -1;
}

.main-menu nav>ul.menu>li>ul.sub-menu {
    order: 1;
    width: calc(100% - 1px);
}

.main-menu nav>ul.menu>li>a {
    order: 2;
    margin-top: auto;
    /* pushes it to the bottom */
    font-size: 4.2em;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    line-height: 1.1;
    transition: color 0.2s ease;
}


.main-menu ul.sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu ul.sub-menu>li>a {
    display: block;
    font-size: 20px;
    padding: 8px 40px 11px 40px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    line-height: 1.3;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.main-menu ul.sub-menu ul.sub-menu>li>a {
    font-weight: 400;
    padding: 8px 40px 11px 40px;
    font-size: 1.8em;
}

.main-menu ul.sub-menu a:hover {
    font-weight: 700;
    color: #000;
}
.main-menu>nav>ul>li:first-child li a:hover {
    background: #f3cf04;
}
.main-menu>nav>ul>li:nth-child(2) li a:hover {
    background: #d0ff71; /* aaf49f */
}
.main-menu>nav>ul>li:nth-child(3) li a:hover {
    background: #ef97f2;
}
.main-menu>nav>ul>li:nth-child(4) li a:hover {
    background: #3df9f4;
}

.main-menu ul.sub-menu ul.sub-menu {
    margin: 0;
}


.people-filters .grid {
    grid-template-columns: repeat(3, 1fr);
}
.people-filters .box:hover,
.people-filters .box-link:hover {
    background-color: #faec9b;
}
.people-filters .box.active,
.people-filters .box.active:hover,
.people-filters .box-link.active,
.people-filters .box-link.active:hover {
    background-color: #f3cf04;
}

.event-filters .grid {
    grid-template-columns: repeat(2, 1fr);
}
.event-filters .box:hover,
.event-filters .box-link:hover {
    background-color: #f9d5fa;
}
.event-filters .box.active,
.event-filters .box.active:hover,
.event-filters .box-link.active,
.event-filters .box-link.active:hover {
    background-color: #ef97f2;
}


.entry-style-5 {
    width: 23.5%;
    margin-bottom: 60px;
    font-size: 16px;
}
.post-entry span.people-last {
    display: inline;
}
.entry-style-5 .entry-top {
    font-family: 'Raleway', sans-serif;
}
.entry-style-5:hover .entry-bottom {
    background-color: #faec9b;
}
.page-template-page-people-supporting .entry-style-5:hover .entry-bottom {
    background-color: inherit;
}
.entry-name {
    min-height: 76px;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.15;
}
.page-template-page-people-supporting .entry-name {
    min-height: 0;
}
.page-template-page-people-supporting .entry-position {
    font-size: 16px;
}
.people-last {
    text-transform: uppercase;
}
.entry-chinese-name {
    /* min-height: 24px;
    margin-bottom: 8px; */
    font-size: 18px;
}
.entry-position {
    min-height: 34px;
    font-size: 14px;
    font-weight: 600;
}


.post-single-style-3,
.post-popup-style-4,
.post-popup-style-4 .post-popup-body { background: #f8e9a8; }

body.single-profile .post-single {
    background: transparent;
}
body.single-profile .breadcrumbs-top,
body.single-profile .page-title {
    display: none;
}
.post-single-style-3 {
    padding: 100px 100px 100px 75px;
    font-family: inherit;
    color: #1a1a1a;
}
body.single-profile .post-single {
    padding: 0;
}


.people-breadcrumb {
    font-size: 14px;
}
.people-breadcrumb a { color: #1a1a1a; text-decoration: none; }
.people-breadcrumb a:hover { text-decoration: underline; }
.people-breadcrumb span { color: #1a1a1a; font-weight: 700; }


.people-single-grid {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 50px;
    align-items: start;
}


.people-single-photo {
    margin: 0 0 25px;
}
.people-single-photo img {
    display: block;
    width: 100%;
    height: auto;
}
.people-single-meta .meta-link {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: black;
    text-decoration: none;
    line-height: 1.4;
}
.people-single-meta a.meta-link:hover {
    text-decoration: underline;
}
.people-single-meta .btn-share,
.page-sidebar .btn-share,
.page-sidebar .btn-reg {
    display: inline-block;
    margin: 22px 0 11px;
    padding: 12px 12px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Raleway', sans-serif;
    color: black;
    background: #fff;
    border: 1px solid black;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
}
.people-single-meta .btn-share:hover,
.page-sidebar .btn-share:hover,
.page-sidebar .btn-reg:hover {
    background: #f3cf04;
}
.people-qualifications {
    border-top: 1px solid black;
    padding-top: 8px;
    margin-top: 25px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}
.people-meta-extra {
    margin-top: 25px;
}
.people-meta-extra p,
.people-meta-extra th,
.people-meta-extra td,
.people-meta-extra li {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}


.people-single-name {
    margin: 0 0 30px;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.25;
}
.people-single-chinese {
    font-size: 24px;
    font-weight: 400;
}
.people-single-position {
    margin: 0 0 45px;
    font-size: 24px;
    font-weight: 700;
}

.content .people-section-content,
.content .people-section-content p,
.content .people-section-content li {
    font-size: 16px;
    line-height: 1.5;
}
.content .people-section-content p,
.content .people-section-content li {
    margin: 0 0 22px;
}
.content .people-section-content ul,
.content .people-section-content ol {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}
.content .people-section-content ul ul,
.content .people-section-content ol ul,
.content .people-section-content ul ol,
.content .people-section-content ol ol {
    margin-top: 22px;
}
.content .people-section-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 22px;
}

/* NOTE: the @media (max-width: 700px) rules that stacked the
   people single layout and re-flowed the people filters/entries
   were moved to mobile.css (768px tier) */

.content ul ul,
.content ul ol,
.content ol ol,
.content ol ul {
	margin-top: 0.5em;
	margin-bottom: 0;
}
.page-with-sidebar {
    position: relative;
}
.container {
    overflow: hidden;
    overflow: clip;
}
.page-content-with-sidebar {
    position: relative;
}
.page-content-with-sidebar:before {
    display: block;
    position: absolute;
    content: '';
    left: 70%;
    top: -100%;
    width: 130%;
    height: 200%;
    background-color: #f4f3ef;
    z-index: -1;
    pointer-events: none;
}

.content .page-sidebar p,
.content .page-sidebar td,
.content .page-sidebar li {
    font-size: 18px;
    line-height: 1.2;
}
.content .page-sidebar p strong,
.content .page-sidebar td strong,
.content .page-sidebar li strong {
    font-size: 16px;
    line-height: 1.6;
}
.page-sidebar hr,
.page-text hr {
    border: 0.5px solid black;
    margin-bottom: 6px;
}
.page-text p + hr {
    margin-top: 36px;
}
.content .page-sidebar a {
    font-weight: 400;
}

.content a.content-button {
    display: inline-block;
    width: auto;
    /* min-width: 300px; */
    border: 1px solid black;
    background-color: white;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    text-align: left;
    padding: 10px 12px;
}

.content-accordion {
    padding-top: 22px;
    padding-bottom: 22px;
}
.content-accordion + .content-accordion {
    margin-top: -22px;
}
.content-accordion-topic {
    position: relative;
    padding: 8px 0;
    border-top: 1px solid black;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.37;
    cursor: pointer;
}
.content-accordion-topic:before,
.content-accordion-topic:after {
    position: absolute;
    content: '';
    background: black;
    pointer-events: none;
}
.content-accordion-topic:before {
    display: block;
    right: 8px;
    top: 22px;
    width: 15px;
    height: 1px;
}
.content-accordion-topic:after {
    right: 15px;
    top: 15px;
    width: 1px;
    height: 15px;
}
.content-accordion .content-accordion-topic:after {
    display: none;
}
.content-accordion.active .content-accordion-topic:after {
    display: block;
}
.content-accordion-details {
    padding-top: 22px;
}
.content-accordion-details p img {
    display: block;
}

.content-button-container {
    margin-bottom: 22px;
}


.people-section {
    border-top: 1px solid black;
    padding-bottom: 22px;
}
.people-section-heading {
    position: relative;
    padding: 8px 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.37;
    cursor: pointer;
}
.people-section-heading:before,
.people-section-heading:after {
    display: block;
    position: absolute;
    content: '';
    background: black;
    pointer-events: none;
}
.people-section-heading:before {
    right: 8px;
    top: 22px;
    width: 15px;
    height: 1px;
}
.people-section-heading:after {
    right: 15px;
    top: 15px;
    width: 1px;
    height: 15px;
}
.people-section.active .people-section-heading:after {
    display: none;
}
.people-section-content {
    padding-top: 22px;
}

.event-details-title,
h1.event-details-title {
    width: 69%;
    padding-bottom: 22px;
    margin-left: 31%;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}
.event-details-image,
.event-details-text-intro {
    margin-bottom: 30px;
}
.event-details-subtitle,
.page-text h2.event-details-subtitle {
    font-size: 35px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 60px 0;
}
.event-details-date {
    font-weight: 700;
    line-height: 1;
}
.event-details-extra {
    margin-bottom: 18px;
}
.content .page-sidebar a.btn-reg {
    color: black;
    width: 100%;
    max-width: 300px;
    font-weight: 500;
}
.info-heading {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
}
.info-text {
    display: block;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    text-align: left;
}
.event-details-album {
    margin-top: 60px;
}
.content .event-details-text p,
.content .event-details-speaker p {
    text-align: left;
    font-size: 16px;
    line-height: 1.4;
}


.entry-style-2, .entry-style-3 {
    width: 49%;
    margin-bottom: 40px;
    font-size: 16px;
}

.entry-style-2:hover .entry-bottom {
    background-color: #f9d5fa;
}
.entry-style-4:hover .entry-bottom {
    background-color: #B1FDFB;
}
.entry-bottom-1 {
    margin-bottom: 30px;
}
.entry-intro {
    font-size: 35px;
    line-height: 1.1;
    font-weight: 600;
}
.entry-style-2 span.entry-bottom-2 {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}
.entry-style-2 .entry-title { 
    font-weight: 600;
    flex: 0 0 auto;
}
.entry-spacer {
    flex: 1 1 auto;
    min-height: 20px;
}
.entry-image {
    width: 48%;
    aspect-ratio: 3 / 2; /* 16 : 9 */
    overflow: hidden;
}
.entry-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.entry-more {
    width: 48%;
    display: flex;
    flex-direction: column;
}
.entry-meta {
    margin-bottom: 7px;
}
.entry-meta:last-child {
    margin-bottom: 0;
}
.entry-style-2 .entry-heading {
    margin-bottom: 3px;
}
.entry-time .entry-text,
.event-details-time .info-text {
    text-transform: uppercase;
}
.content .page-sidebar a.content-button {
    display: block;
    width: 100%;
    font-weight: 500;
    padding: 12px 25px;
    color: black;
}
.content .page-sidebar a.content-button-large {
    position: relative;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-right: 110px;
}
.content .page-sidebar a.content-button-large.bg-yellow {
    background-color: #f3cf04;
}
.content .page-sidebar a.content-button-large.bg-green {
    background-color: #d0ff71;
}
.content .page-sidebar a.content-button-large.bg-pink {
    background-color: #ef97f2;
}
.content .page-sidebar a.content-button-large.bg-blue {
    background-color: #3df9f4;
}

.content a.content-button-large:after {
    display: block;
    position: absolute;
    content: '';
    background-image: url('images/button-large-arrow.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    right: 25px;
    top: 50%;
    margin-top: -30px;
    width: 60px;
    height: 60px;
}

.sidebar-content-rows .content-button-container + .cr-text {
    margin-top: 44px;
}
.cr-name-list {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2%;
    padding-top: 20px;
}
.cr-name {
    width: 48%;
    margin-bottom: 35px;
}
.cr-name-title {
    font-size: 16px;
    font-weight: 500;
    padding: 0 10px 5px 10px;
    border-bottom: 1px solid black;
    margin-bottom: 5px;
}
.cr-name-text {
    font-size: 35px;
    font-weight: 600;
    padding: 0 10px;
}

.project-filters .grid {
    grid-template-columns: repeat(6, 1fr);
}
.project-filters .box {
    grid-column: span 3;
}
/* the "All" box is rendered last, so search + first box fill the first row */
.project-filters .search-box {
    grid-column: span 3;
}
.project-filters .all-box {
    grid-column: span 3;
}

.menu-open .menu-button-text,
.menu-button-close {
    display: none;
}
.menu-open .menu-button-close {
    display: block;
    align-self: flex-end;
    border: 0;
    background: none;
    line-height: 1;
    cursor: pointer;
    margin: 0 0 0 40px;
    width: 24px;
    height: 24px;
    color: transparent;
    font: 0/0 a;
    background-image: url('images/icon-close.png');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}
.course-single-grid:last-child .course-single-content,
.scholarship-single-grid:last-child .scholarship-single-content {
    padding-bottom: 120px;
}
.scholarship-title {
    font-size: 35px;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 22px;
}
.scholarship-recipients h2 {
    margin-bottom: 2px;
    font-weight: 700;
}

.people-single-supervisor {
    padding-bottom: 44px;
    font-size: 19px;
    line-height: 1.15;
}
.people-single-supervisor-heading {
    margin-bottom: 8px;
}
.people-single-supervisor-content a {
    font-weight: 400;
}



.page-content-with-sidebar {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.page-content-with-sidebar .page-text {
  flex: 0 0 70%;
  min-width: 0;
  padding-right: 4%;
}


.page-content-with-sidebar.has-top-image {
    display: grid;
    grid-template-columns: 66% 24%;
    grid-template-rows: auto 1fr;
    column-gap: 10%;
    align-items: start;
}
.page-content-with-sidebar .page-top-image {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 22px;
}
.page-content-with-sidebar.has-top-image .page-text {
    grid-column: 1;
    grid-row: 2;
    padding-right: 0;
}
.page-content-with-sidebar.has-top-image .page-sidebar {
    grid-column: 2;
    grid-row: 1 / 3;
    padding-left: 0;
}
.page-sidebar {
    flex: 1;
    position: sticky;
    top: 20px;
    padding-left: 6%;
    padding-bottom: 75px;
}
.page-sidebar div:last-child,
.page-sidebar button:last-child {
    margin-bottom: 0;
}
body.admin-bar .page-sidebar {
    top: 52px;
}

.page-popup-body .page-content-with-sidebar,
.post-single-style-2 .page-content-with-sidebar,
.page-template-page-events-type .page-content-with-sidebar,
.page-template-page-research-projects .page-content-with-sidebar,
.page-template-page-awards .page-content-with-sidebar,
.page-template-page-interviews .page-content-with-sidebar,
.page-template-page-blogs .page-content-with-sidebar {
    flex-direction: row-reverse;
}
.page-popup-body .page-content-with-sidebar:before,
.post-single-style-2 .page-content-with-sidebar:before,
.page-template-page-events-type .page-content-with-sidebar:before,
.page-template-page-research-projects .page-content-with-sidebar:before,
.page-template-page-awards .page-content-with-sidebar:before,
.page-template-page-interviews .page-content-with-sidebar:before,
.page-template-page-blogs .page-content-with-sidebar:before {
    display: none;
}
.page-popup-body .page-text,
.post-single-style-2 .page-text,
.page-template-page-events-type .page-text,
.page-template-page-research-projects .page-text,
.page-template-page-awards .page-text,
.page-template-page-interviews .page-text,
.page-template-page-blogs .page-text {
    flex: 0 0 69%;
    width: 69%;
    padding-right: 0;
}
.page-popup-body .page-sidebar,
.post-single-style-2 .page-sidebar,
.page-template-page-events-type .page-sidebar,
.page-template-page-research-projects .page-sidebar,
.page-template-page-awards .page-sidebar,
.page-template-page-interviews .page-sidebar,
.page-template-page-blogs .page-sidebar {
    flex: 0 0 31%;
    width: 31%;
    padding-left: 0;
    padding-right: 3%;
}


.content-buttons-container {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}
.content-buttons-container .content-button-container {
    margin-bottom: 0;
}


/* temp */
.entry-top {
    min-height: 24px;
    padding-bottom: 9px;
}
.post-entry .entry-type {
    font-size: 14px;
    font-weight: 400;
}
.entry-chinese-name {
    font-size: 22px;
    font-weight: 400;
}
.entry-position {
    font-size: 18px;
}