/* Academic department footer. Markup is the DAO theme footer.
   These rules replace the Bootstrap utilities that footer depends on,
   scoped so they do not affect the BACT page. */

.nus-footer {
	background: #003062;
	border-top: 1px solid #003d7c;
	color: #999;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 300;
	margin-top: 0;
}

.nus-footer a {
	color: #999;
	text-decoration: none;
}

.nus-footer a:hover,
.nus-footer a:focus {
	color: #fff;
	text-decoration: none;
}

.nus-footer h6 {
	color: #fff;
	margin: 0 0 1rem;
	font-size: 16px;
	font-weight: 600;
}

.nus-footer .container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 3rem 1.5rem;
	box-sizing: border-box;
}

.nus-footer .footerSiteMap {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem;
}

.nus-footer .biz-dept-footer-column-main {
	flex: 1 1 640px;
	min-width: 0;
}

.nus-footer .biz-dept-footer-column-aside {
	flex: 1 1 260px;
	max-width: 320px;
}

.nus-footer .btn-footer {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 1rem;
	padding: 12px 16px;
	background: transparent;
	color: #fff;
	border: 1px solid #fff;
	font: inherit;
	cursor: pointer;
}

.nus-footer .biz-dept-footer-sitemap,
.nus-footer #footerLinks {
	display: none;
	flex-wrap: wrap;
	width: 100%;
	margin: 0;
}

.nus-footer .biz-dept-footer-sitemap.show,
.nus-footer .biz-dept-footer-sitemap.show #footerLinks {
	display: flex;
}

.nus-footer .biz-dept-footer-column {
	flex: 1 1 100%;
	box-sizing: border-box;
	padding: 0 12px;
	margin-bottom: 1.5rem;
	font-size: 1rem;
}

.nus-footer .biz-dept-footer-column ul,
.nus-footer .list-unstyled,
.nus-footer .nav-copyright {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nus-footer .biz-dept-footer-column li {
	line-height: 1.7;
}

.nus-footer .biz-dept-footer-grid {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.nus-footer .biz-dept-footer-address {
	display: flex;
	column-gap: 1rem;
	align-items: flex-start;
}

.nus-footer .biz-dept-footer-address svg {
	color: #fff;
	flex: none;
	margin-top: 2px;
}

.nus-footer .biz-dept-footer-social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 2rem;
}

.nus-footer .biz-dept-footer-social a {
	color: #fff;
	display: inline-flex;
}

.nus-footer .img-fluid {
	max-width: 220px;
	height: auto;
	display: inline-block;
}

.nus-footer .copyright {
	border-top: 1px solid #003d7c;
	color: #999;
	padding: 40px 10px;
	text-align: center;
	font-size: 12px;
}

.nus-footer .copyright .container {
	padding-top: 0;
	padding-bottom: 0;
}

.nus-footer .copyright .info {
	margin-bottom: 7px;
}

.nus-footer .nav-copyright > li {
	display: inline-block;
}

.nus-footer .nav-copyright > li.bullet::before {
	content: "\2022";
	padding: 0 15px;
}

.wechat-block-link {
	position: relative;
}

.wechat-block {
	position: absolute;
	top: -285px;
	left: -102px;
	background: rgba(245, 130, 32, 0.75);
	padding: 1em;
	text-align: center;
	display: none;
	width: 220px;
	z-index: 5;
}

.wechat-block .textbox {
	font-size: 12px;
	color: #fff;
	line-height: 15px;
	margin-bottom: 0.5em;
}

.wechat-block::after {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: "";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-top-color: rgba(245, 130, 32, 0.75);
	border-width: 12px;
	margin-left: -12px;
}

@media (min-width: 992px) {
	.nus-footer .btn-footer {
		display: none;
	}

	.nus-footer .biz-dept-footer-sitemap,
	.nus-footer .biz-dept-footer-sitemap.show,
	.nus-footer #footerLinks {
		display: flex;
	}

	.nus-footer .biz-dept-footer-column {
		flex: 1 1 30%;
		font-size: 0.9rem;
	}

	.nus-footer .biz-dept-footer-column-aside {
		text-align: left;
	}
}

@media (max-width: 991px) {
	.nus-footer .biz-dept-footer-column-aside,
	.nus-footer .biz-dept-footer-social {
		text-align: center;
		justify-content: center;
	}

	.nus-footer .biz-dept-footer-column-aside {
		max-width: none;
	}

	.nus-footer .nav-copyright > li.bullet::before {
		padding: 0 5px;
	}
}
