/*!
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

@import url('https://webarchive.lib.cuhk.edu.hk/20201208100002cs_/https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap');

html, body {
	height: 100%;
}

body {
	padding-top: 50px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-weight: 600;
}
/*modifiers basic elements */

h3.head-column-members {
	margin-top: 5px;
	margin-bottom: 10px;
	color: #000;
}
h3.seminar-example-tit, h2.staff-tit {
	margin-top: 15px;
}
h2#publications-title {
	margin-bottom: 15px;
}
h2#for-table {
	margin: 35px 0 10px 0;
	
}
h3#members-nopanel {
	font-size: 17px;
	color: #553960;
	padding: 0px 15px 8px 15px;
	margin: -11px 0 20px 0;
}
h3#members-nopanel-donors {
	font-size: 17px;
	color: #553960;
	padding: 10px 0px 8px 0px;
	margin: -11px 0 20px 0;
}
h3#members-nopanel-donors-first {
	font-size: 17px;
	color: #553960;
	padding: 20px 0px 8px 0px;
	margin: -11px 0 20px 0;
}
h3#seminars {

	margin-top: 0px;
}
h4, .h4{
	font-size:19px;
}

h1>small{
line
}

p.long-paragraph{
	margin-bottom:20px;
}

li.language-link{
	font-size:13px;
}
li.language-link:before{
	content:""!important;
}
.language-menu{
	min-width:87px!important;
}

.home-language-link{
	position: absolute;
	bottom: 1.1em;
	left: 50%;
	z-index: 15;
	width: 60%;
	padding-left: 0;
	margin-left: -30%;
	text-align: center;
	color:white;
	font-size:1.2rem;
}
.home-language-link a{
color:white;
}

.spacer {
	margin-top: 25em;
}
.spacer-sm {
	margin-top: 4em;
}
.strong{
	font-weight:bold;
}

.img-portfolio {
	margin-bottom: 20px;
	margin-top: 10px;
	width:100%;
	height:auto;
}

.img-hover:hover {
	opacity: 0.8;
}
hr.first-section-text {
	margin-top: 0px;
}
.vertical-middle-table{
	display:table-cell;
	vertical-align:middle!important;
	float:none;
}

.img-on-bottom {
	margin-top: 30px;
}
.img-on-top {
	margin-bottom: 15px;
}

/* Home Page Carousel */

header.carousel {
	height: 40%;
}

header.carousel .item, header.carousel .item.active, header.carousel .carousel-inner {
	height: 100%;
}

header.carousel .fill {
	width: 100%;
	height: 100%;
	background-position: center;
	background-size: cover;
}

/*Navigation Bar*/

#navi-main.navbar-nav > li > a{
	
font-size: .94em;
letter-spacing: 0em;

	
}
.nav > li > a{
	padding: 10px 6.4px
}
.navbar-right{
	margin:0 0 0 2em!important;
}

.dropdown-menu{
	font-size:.95em;
}
.navbar-brand>img{
	width:270px;
	height:34px;
}

.navbar-brand#logo{
	padding:16px 15px;
	height:65px;
	-webkit-transition:  .2s ease-in-out;
    -moz-transition:  .2s ease-in-out;
    -o-transition:  .2s ease-out;
    transition:  .2s ease-out;
    cursor: pointer;
}
.navbar-brand#logo:hover, .navbar-brand#logo:focus{
	opacity:0.7;
}


/* 404 Page Styles */

.error-404 {
	font-size: 100px;
}

/* Pricing Page Styles */

.price {
	display: block;
	font-size: 50px;
	line-height: 50px;
}

.price sup {
	top: -20px;
	left: 2px;
	font-size: 20px;
}

.period {
	display: block;
	font-style: italic;
}

/* Footer Styles */

footer {
	margin: 0;
	background-color: #2e1438;
	color: #f5f5f5;
	padding: 25px;
	width: 100%;
}

footer a {
	color: #f5f5f5;
}

footer a:hover {
	color: #777;
	text-decoration: none;
}
.list-big, .text-big {
	font-size: 16px;
}
.list-inside {
	margin: 5px 0 5px 0;
}
.page-header {
	margin: 35px 0 20px;
}
.page-header#header-front-page {
	margin: 30px 0 20px;
	line-height: 32px;
	padding-bottom:12px;
	border:none;
}

.page-header#latest-news-home{
	margin: 15px 0px 15px;
}
.page-header#first-title {
	margin: 5px 0px 20px 0;
	
}
.page-header#latest-news-internal {
	margin: 10px 0px 15px;
}
.table-first-row td {
	border: none !important;
}

.caption#thumb-people {
	font-size: 0.9em
}
.caption#thumb-people-smaller {
	font-size: 0.8em
}
h3#thumb-people {
	font-size: 1.9em
}

.panel-heading#members {
	background-color: #fefefe;
	border-color: #aaa;
}

.panel-title#members {
	font-size: 17px;
	color: #553960 !important;
}

.panel-members {
	border-radius: 0px !important;
	box-shadow: none;
	border: none;
}
.panel-group .panel-members + .panel-members {
	margin-top: 0px !important;
}

/*address-personal page -seminars*/

.list-group-item#personal-info {

	border-top: 0px;
	border-left: 0px;
	border-right: 0px;
	border-bottom: 1px dotted #8d609f;
	margin-bottom: 0px;
	font-size: 1.1em;
	font-weight: normal;
	line-height: 1.5em;
	padding:15px;
}
.list-group-item#personal-info:first-child {
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}
.list-group-item#personal-info:last-child {

	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 0px;
}
.staff-chn{
	font-family:"Noto Sans TC", sans-serif!important;
}
/*end address-personal page^seminars*/

/*carousel galleria*/

#carousel-galleria.carousel-control {

	font-size: 15px;
	text-shadow: none;
	background-color: rgba(0, 0, 0, 0);
	filter: alpha(opacity=30);
	opacity: .3;
}
#carousel-galleria.left {
	background-image: none;
	height: 89.5%;
}
#carousel-galleria.right {
	right: 0;
	left: auto;
	background-image: none;
	height: 89.5%;
}
#carousel-galleria.carousel-control:hover, #carousel-galleria.carousel-control:focus {
	color: #fff;
	text-decoration: none;
	filter: alpha(opacity=90);
	outline: 0;
	opacity: .9;
}
.carousel-indicators{
bottom:20px;
}
/*list publications*/

.publications > .list-group-item {
	border-bottom: 1px dotted #8d609f;
	border-top: 0px;
	border-left: 0px;
	border-right: 0px;
	margin-bottom: 0px;
	display: list-item;
	margin-left: 1.5em;
	font-size: 16px;
}

.publications > .list-group-item:first-child {
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}
.publications > .list-group-item:last-child {
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 0px;
}
td {
	font-size: 16px;
	padding:15px!important;
	border-top:1px dotted #8d609f!important;
}

.table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td{
	border-top:0!important;
}

td.year-awards {
	width: 20%;
}

td{
	display: table-cell;
vertical-align: middle!important;
float: none;
}

thead {
	font-weight: bold;
}

.project-space {
	padding: 20px 15px 15px 15px;
}

.project-space-first {
	padding: 0px 15px 15px 15px;
}

.gallery-space {
	padding: 10px 0;
}
.gallery-space-first {
	padding: 0 0 10px 0;
}
.related-margin {
	margin: 0px 0 20px;
}
.photos-padding {
	padding: 5px 0 0 0;
}

/*about photo margin*/

/*under construction Jumbotron*/
.jumbotron#construction{
	padding-top:150px;
	padding-bottom:150px;
}
.container .jumbotron#construction, .container-fluid .jumbotron#construction{
	padding-right:72px;
	padding-left:72px;
}
.jumbotron#construction h1, .jumbotron#construction .h1{
	font-size:59px;
}
/*END under construction Jumbotron*/

/* Responsive Styles */

@media (max-width: 991px) {
	.customer-img, .img-related {
		margin-bottom: 30px;
	}
	.page-header#latest-news-home {
		margin: 0px;
	}

	.nav > li > a {
		padding: 10px 5px
	}
	.navbar-right {
		margin: 0 0 0 0em !important;
	}

	.dropdown-menu {
		font-size: .89em;
	}

}


@media (max-width: 1199px) {
	.text-top-margin {
		margin-top: 1.5em
	}
	.img-projects {
		width: 100%;
	}

}

@media (min-width: 1024px) and (max-width: 1199px) {
	
	.col-md-8 > h4 {
		margin-top: 0;
	}
	p#research-approach-intro{
		margin:0 0 5px;
		word-spacing: -0.06em;
		letter-spacing: -0.01em;
	}
	.project-space {
		padding: 5px 15px 5px 15px;
	}

	.project-space-first {
		padding: 0px 15px 5px 15px;
	}
	
	.nav > li > a {
		padding: 10px 4px
	}
	.navbar-right {
		margin: 0 0 0 0em !important;
	}

	.dropdown-menu {
		font-size: .9em;
	}
}


/*CAUTION: from here the mobile breakpoint changes to be 1024px, please check the main css file and remove comments from the respective media queries containing the classes below, and remove the following media query in order to reset the breakpoint to 768*/
@media (min-width: 1280px) {
	
	
  .container > .navbar-header,
  .container-fluid > .navbar-header,
  .container > .navbar-collapse,
  .container-fluid > .navbar-collapse {
    margin-right: 0;
    margin-left: 0;
  }
  
  .navbar-header {
    float: left;}
	
	.navbar-toggle {
    display: none;}

	.navbar-collapse {
    width: auto;
    border-top: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .navbar-collapse.collapse {
    display: block !important;
    height: auto !important;
    padding-bottom: 0;
    overflow: visible !important;
  }
  .navbar-collapse.in {
    overflow-y: visible;
  }
  .navbar-fixed-top .navbar-collapse,
  .navbar-static-top .navbar-collapse,
  .navbar-fixed-bottom .navbar-collapse {
    padding-right: 0;
    padding-left: 0;
  }
  
  .container > .navbar-collapse,
  .container-fluid > .navbar-collapse {
    margin-right: 0;
    margin-left: 0;
  }
  
  .navbar-right .dropdown-menu {
    right: auto;
    left: auto;
  }
  .navbar-right .dropdown-menu-left {
    right: auto;
    left: 0;
  }

  .navbar-nav {
    float: left;
    margin: 0;
  }/*CAUTION check line 4962 (.navbar-right) and 4984 (.navbar-nav) and remove comments if the breakpoint needs to be reset to (min 768)*/
  .navbar-nav > li {
    float: left;
  }
  .navbar-nav > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .navbar-nav#navi-main > li > a {
    padding-top: 25px;
    padding-bottom: 25px;
    
  }

  
 }

@media (max-width: 1279px) {  
	
	.navbar-nav#navi-main > li > a {
		font-size: 1em;
	letter-spacing: -0.02em;
	}
	
	.navbar-toggle {
	  margin-top: 17px;
	  margin-right: 0px;
	  margin-bottom: 15px;
	  }
  
  .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .navbar-nav .open .dropdown-menu > li > a,
  .navbar-nav .open .dropdown-menu .dropdown-header {
    padding: 5px 15px 5px 25px;
  }
  .navbar-nav .open .dropdown-menu > li > a {
    line-height: 20px;
  }
  .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-nav .open .dropdown-menu > li > a:focus {
    background-image: none;
  }
  
  .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
    border-color: #080808;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
    background-color: #080808;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: #9d9d9d;
  }
  
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #fff;
    background-color: transparent;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #fff;
    background-color: #080808;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #444;
    background-color: transparent;
  }
  
  .navbar-inverse .navbar-nav .open .dropdown-menu > li#dropdown-submenu-item > a {
    color: #8c8c8c;
    padding-left:5em;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li#dropdown-submenu-item > a:hover {
    color: #FFFFFF;
  }
  
   .navbar-inverse .navbar-nav .open .dropdown-menu > li#dropdown-sub-submenu-item > a {
    color: #8c8c8c;
    padding-left:10em;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li#dropdown-sub-submenu-item > a:hover {
    color: #FFFFFF;
  }
  
  
	
}/*END CAUTION*/

@media (min-width: 991px) and (max-width: 1900px) {
	header.carousel {
		height: 50%;
	}

}

@media (min-width: 767px) and (max-width: 979px) {
	.space-top-title {
		padding-top: 5em;
	}

	#navi-main.navbar-nav > li > a {

		font-size: .86em;
		letter-spacing: -0.02em;
	}
	.nav > li > a {
		padding: 10px 4px
	}
	.navbar-right {
		margin: 0 0 0 0em !important;
	}

	.dropdown-menu {
		font-size: .93em;
	}

}




@media (max-width: 767px) {
	.img-portfolio {
		margin-bottom: 15px;
	}

	header.carousel .carousel {
		height: 70%;
	}
	.media-left, .media-right, .media-body {
		display: inline-block;
	}
	.media .media-body {
		width: 100% !important;
	}
	h3#members-nopanel-donors, h3#members-nopanel-donors-first {
		font-size: 15px;
	}

}

@media (max-width: 640px) {

	.panel-body .media .media-left {
		margin: 0 0 15px 0;
	}
	#logo.navbar-brand{
	padding:16px 0px;
	}
}

@media (max-width: 600px) {

	.panel-body .media .media-left {
		margin: 0 0 15px 0;
	}
}
	
@media (max-width: 480px) {

	 .breadcrumb{
		font-size:12px;
		
	 }
	 .breadcrumb>li.language-link{
	 font-size:12px;
	 }
	#logo.navbar-brand{
	padding:16px 0px;
	height: 65px;
	width:255px;
}

}
@media (max-width: 360px) {

	 .breadcrumb{
		font-size:10px;
		letter-spacing:-0.03em;
		
	 }
	 .breadcrumb>li+li:before{
		padding:0 0px;
	 }
	 .breadcrumb>li.language-link{
	 font-size:10px;
	 letter-spacing:-0.03em;
	 }
	
	.navbar-brand>img{
	width:210px;
	height:26px;
}
#logo.navbar-brand{
	padding:18px 0px;
	height: 65px;
	width:210px;
}

}
