/* Theme Core Fixes */

body {
	background-color: #f9f9f9;
	font-family: Muli, Mulish, Arial, 'Microsoft JhengHei', sans-serif !important;
	color: #333 !important;
}

.header-data-mobile .site-logo span.logo-normal {
  width: 200px;
  height: 35px;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  top: 6px;
}

.layout .block + .block {
	margin: 0 !important;
}

.node__content > .layout:first-child {
	margin: 0px !important;
}

.header-data-pc .site-info, .header-data-mobile .site-info {
	margin-bottom: 8px;
}

.header-data-pc .main-menu, .header-data-mobile .main-menu {
	padding-bottom: 16px;
}

.region-breadcrumb {
	display: none !important;
}

main {
	position: relative;
	z-index: 1;
}

ul.top-menu-list, ul.submenu-list {
	padding-left: 0 !important;
}

ul.menu-lists, ul.sub-menu {
	padding-left: 0 !important;
}

.h-white-text, h1.h-white-text, h2.h-white-text, h3.h-white-text, h4.h-white-text, h5.h-white-text, h6.h-white-text {
	color: #ffffff !important;
}

/* Setup Lower Body HTML Div */

#block-lowerbodyhtml,
#block-lowerbodyhtml .wrapper,
#block-lowerbodyhtml .block-body,
#block-lowerbodyhtml .field {
  position: relative !important;
  overflow: visible !important;
  height: 0px !important;
  width: 100% !important;
  padding: 0px !important;
  margin: 0px !important;
}

/* Hide Custom Code */

#block-uppercodes, #block-lowercodes, #block-lowercodesdominsertion {
	height: 0 !important;
	display: none !important;
}

/* Header: Second HKUST Logo */

.header-data-pc .site-logo, .header-data-mobile .site-logo {
	padding-right: 12px !important;
}

.site-logo.second-logo {
	padding-left: 0px !important;
	padding-right: 15px !important;
}

header.minimized .header-data-pc .site-info, header.minimized .header-data-mobile .site-info {
	max-width: inherit !important;
}

.header-data-pc ul.menu-lists li a {
	padding: 9px 8px 9px 8px;
}

.header-data-pc .main-menu .nav-right > ul.menu-lists {
	margin-right: 20px !important;
}

.header-data-pc .site-logo.second-logo a, .header-data-mobile .site-logo a, 
.header-data-pc .site-logo.second-logo span.logo-normal, 
.header-data-mobile .site-logo.second-logo span.logo-normal, 
.header-data-pc .site-logo.second-logo span.logo-white, 
.header-data-mobile .site-logo.second-logo span.logo-white {
	width: 190px;
	height: 45px;
  background-size: 190px 45px;
}

.header-data-pc .site-logo.second-logo span.logo-normal,
.header-data-mobile .site-logo.second-logo span.logo-normal {
  background-image: url(https://assets.website-files.com/627f36a89a744d4d432b7dd5/62b181ef38a07537bf993ac9_HKUSTGZ-Full.svg);
}
.header-data-pc .site-logo.second-logo span.logo-white,
.header-data-mobile .site-logo.second-logo span.logo-white {
  background-image: url(https://assets.website-files.com/627f36a89a744d4d432b7dd5/62b181ef38a07537bf993ac9_HKUSTGZ-Full.svg);
}

/* Footer Adjustments */

.footer-menu-title {
	display: inline-block;
	font-size: 33px;
	font-weight: bold;
	line-height: 1.25em !important;
	color: #003366;
	padding-bottom: 0 0 2px 0 !important;
	border-bottom: 6px solid #003366;
	margin: 5px 0 22px 0 !important;
}

.layout.footer-menu .page-container {
	max-width: 1500px !important;
	width: 100% !important;
}

.layout.footer-menu .page-container {
	padding-bottom: 80px !important;
}

.layout.footer-menu li span {
	font-size: 1.35em !important;
	line-height: 1em !important;
}

.layout.footer-menu li {
	margin: 0.25em 0 0.5em 0;
}

.layout.footer-menu li li a {
	font-size: 14.5px !important;
	line-height: 0.8em !important;
}