/* ==== Google font ==== */
@import url('https://webarchive.lib.cuhk.edu.hk/20220902123323cs_/https://fonts.googleapis.com/css?family=Lato:400,300,700,900');
@import url(https://webarchive.lib.cuhk.edu.hk/20220902123323cs_/https://fonts.googleapis.com/css?family=Montserrat:400,700);
/* === fontawesome === */
@import url('font-awesome.css');
/* ==== overwrite bootstrap standard ==== */


@import url('animate.css');
/*==========================================================================
  General
  ========================================================================== */
body {
	font-family:'Open Sans', Arial, sans-serif, MingLiu;
	font-size:15px;
	font-weight:400; /*300*/
	line-height:1.6em;
	color:#000000; /* 656565*/
	overflow-x:hidden;
 }
 
p {
	color:#656565;
	font-family:'Open Sans', Arial, sans-serif;
	font-weight:300;
}
 h1,h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', sans-serif;
	font-weight:500;
	line-height:1.1em;
	color:#333;
	margin-bottom: 20px;
}

/*===========================
  --- Header & menu ----
=========================== */
.main-menu {
	background-color:#956134; /* original 242424 */	
}

.dropdown ul.nav li a {
	color:#ffff00; /* fff */

}

.dropdown ul.nav li a:hover {
	color:#428bca;

}

h1 a.navbar-brand {
	font-size: 25px;
	color: #fff;
	font-weight: 700;
	text-shadow: none;
	margin-bottom: 10px;
	margin-top:-10px;
}

span {
	color:#428bca;
}
.nav-pills  {
    float: left; /* original right */
	font-size: 16px;
	font-weight:800;
	color:#fff;
}
ul.nav-pills  {
	margin-top:10px;
	color:fff;
	padding:5px;
}

.nav-pills > li > a {
  border-radius: 0px;
}
.nav-pills > li + li {
  margin-left: 7px;
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  color: #fff;
  background-color: #EEE;
}
.nav-pills > li.active > a{
	background-color: #cc9900; /* original 428bca*/
}

.nav-pills > li.active > a:focus {
	background-color: #000;
}


.slider {
	margin-top:10px;
	margin-bottom:-30px;
}
/* --- section box --- */
.align-center {
	text-align: center;	
	margin-top:10px;	
}

#main-content {
	padding:50px 0;
	text-align:center;
	background-image:url("https://webarchive.lib.cuhk.edu.hk/20220902123323oe_/http://www.fed.cuhk.edu.hk/~hkcisa/img/flagsback.jpg");
	background-repeat:no-repeat;
    background-position:center top; 
	/*background-color:#FFFF00;*/	
}

.message-pic{
	float:left;
	padding:0px 20px 0px 0px;
}

.message{
	text-align:left;
	font-size:12px;
}

.abbr {
	text-align:center;
	color:#956134;
	font-size:18px;
	font-weight:600;	
}

.projname {
	font-size:16px;
	font-weight:600;	
}

.projnamepurple {
	font-size:16px;
	font-weight:600;
	color:#909;
}

.subtitle {
	font-size:15px;
	font-weight:600;	
}

.title {
	text-align:left;
	color:#956134;
	font-size: 18px;
	font-weight:800;
}

.logotopright {
	position: absolute;
	top: -50px;
	right: 50px;
}
/*
.chinese {
	font-family: MingLiu;
	font-size:16px;
	display: inline;
}
*/
.boldblackunderline {
	color:#000000;
	display: inline;
	font-size:14px;
    font-weight:800;
	text-decoration:underline;
}

.boldblackinline {
	color:#000000;
	display: inline;
	font-size:14px;
    font-weight:800;
}

.boldandblack {
	color:#000000;
	display: inline;
	font-size:15px;
    font-weight:800;
}
	
.boldandblue {
	color:#0000FF;
	display: inline;
	font-size:17px;
    font-weight:800;	
}

.boldandred {
	color:#FF0000;
	display: inline;
	font-size:14px;
    font-weight:800;	
}

.boldandred16 {
	color:#FF0000;
	display: inline;
	font-size:16px;
    font-weight:800;	
}

.boldandpurple {
	color:#800080;
	display: inline;
	font-size:14px;
    font-weight:800;	
}

.boldandred a {
	color:#FF0000;
}

.boldandred a:hover {
	color:#FF0000;
}

.p2000 {
	color: #00C;
	font-size:14px;
	font-weight:600;	
}

.p2003 {
	color: #939;
	font-size:14px;
	font-weight:600;	
}

.p2006 {
	color: #093;
	font-size:14px;
	font-weight:600;	
}

.p2009 {
	color: #F09;
	font-size:14px;
	font-weight:600;	
}

.p2012 {
	color: #06C;
	font-size:14px;
	font-weight:600;	
}

.p2015 {
	color: #060;
	font-size:14px;
	font-weight:600;	
}

.news {
	text-align:left;
}

.research-text {
	text-align:left;
}

.big-box {
	margin-bottom:40px;
}

.align-center:hover  i {
	color:#428bca;	
	-webkit-transition-duration: 2s;
  -moz-transition-duration: 2s;
  -o-transition-duration: 2s;
  transition-duration: 2s;
}	

.box-bg {  	
	margin-bottom:80px; 
}

.thumbnail {
  display: block;
  padding: 4px;
  margin-top: 70px; 
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 1px;
  -webkit-transition: all .2s ease-in-out;
       -o-transition: all .2s ease-in-out;
          transition: all .2s ease-in-out;
}

/*===========================
  Portfolio
============================ */
/* --- section heading --- */
.section-header {
	text-align: center;
}
.section-header h2.section-heading {
	text-transform: uppercase;
	font-weight: 700;
}

#section-works {
	margin-top:30px;
	margin-bottom:30px;	
}

nav#filter a {
	background-color: #EEE;
	color:#555;	
}

nav#filter a:hover, nav#filter a.current {
	background-color: #428bca;
	color:#fff;
}

.isotopeWrapper article{
    margin-bottom: 30px;
}

#portfolio img  {
	width:100%;
}

#portfolio article p {
	margin-bottom:1.45em;/*set next row on the baseline*/
}
nav#filter {
	margin-bottom:1.5em;
}

nav#filter li {
	display:inline-block;
	margin:0 0 0 5px;
}
nav#filter a {
	padding: 4px 12px;
	line-height: 20px;
	text-decoration: none;
}
nav#filter ul {
	margin-top:30px;
}

.portfolio-items article img {width:100%;} 

.portfolio-item {
	display: block;
	position: relative;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.portfolio-item img {
	-webkit-transition: all 300ms linear;
	-moz-transition: all 300ms linear;
	-o-transition: all 300ms linear;
	-ms-transition: all 300ms linear;
	transition: all 300ms linear;

}
.portfolio-item .portfolio-desc {
    display: block;
    opacity: 0;
    position: absolute;
    width: 100%;
	left: 0;
	top: 0;
	color: rgba(220, 220, 220);
}

.portfolio-item:hover .portfolio-desc {
	padding-top: 20%;
	height: 100%;
    transition: all 200ms ease-in-out 0s;
	opacity: 1;
}

.portfolio-item .portfolio-desc a {
	color: #fff;	
}
.portfolio-item .portfolio-desc a:hover {
	/*text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.7);*/
	text-decoration: none;	
}
.portfolio-item .portfolio-desc i:hover {
	color:#fff;	
}
.portfolio-item .portfolio-desc .folio-info {
	top:-20px;
	padding: 30px;
	height: 0;
    opacity: 0;
    position: relative;
}

.portfolio-item:hover .folio-info{
	height: 100%;
    opacity: 1;
    transition: all 500ms ease-in-out 0s;
	top:5px;
	background-color: #428bca ;
	text-align:center;
}

.portfolio-item .portfolio-desc .folio-info h5 {
	text-transform: uppercase;
	text-align:center;
}
.portfolio-item .portfolio-desc .folio-info p {
	color: #ffffff;
	font-size: 12px;
}

/* --- Map --- */
.map{
	position:relative;
	margin-top:0px;
	margin-bottom:40px;
}

.map iframe{
	width:100%;
	height:450px;
	border:none;
}

.map-grid iframe{
	width:100%;
	height:350px;
	border:none;
	margin:0 0 -5px 0;
	padding:0;
}


/* --- contact form  ---- */
#content {
	background-color:#f9f9f9;
}
form#contactform input[type="text"] {
  width: 100%;
  border: 1px solid #f9f9f9;
  min-height: 40px;
  padding-left:20px;
  font-size:13px;
  padding-right:20px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;

}

form#contactform textarea {
border: 1px solid #f9f9f9;
  width: 100%;
  padding-left:20px;
  padding-top:10px;
  font-size:13px;
  padding-right:20px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
	margin-top:10px;
}

form#contactform .validation {
	font-size:11px;
}

#sendmessage {
	border:1px solid #e9e9e9;
	background:#f6f6f6;
	display:none;
	text-align:center;
	padding:15px 12px 15px 65px;
	margin:10px 0;
	font-weight:600;
	margin-bottom:30px;	
}

#sendmessage.show,.show  {
	display:block;
}

/* --- comment form ---- */
form#commentform input[type="text"] {
  width: 100%;
  min-height: 40px;
  padding-left:20px;
  font-size:13px;
  padding-right:20px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
	-webkit-border-radius: 2px 2px 2px 2px;
		-moz-border-radius: 2px 2px 2px 2px;
			border-radius: 2px 2px 2px 2px;

}

form#commentform textarea {
  width: 100%;
  padding-left:20px;
  padding-top:10px;
  font-size:13px;
  padding-right:20px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
	-webkit-border-radius: 2px 2px 2px 2px;
		-moz-border-radius: 2px 2px 2px 2px;
			border-radius: 2px 2px 2px 2px;
}

.btn-theme {
	background-color:#EEE;
	text-decoration: none;
	border-radius:0px;
	margin-bottom:50px;
	margin-top:10px;
	color:#777;
}
.btn-theme:hover {
	color:#428bca;
	text-decoration: none;	
}
.pull-right {
	color:#428bca;
}

.sections-header {
	text-align: center;
	margin-bottom:30px;
}
.sections-header h2.sections-heading {
	text-transform: uppercase;
	font-weight: 700;	
}

article{
	margin-bottom:40px;
}

article .post-heading h3 {
	margin-bottom:20px;
}

article .post-heading h3 a {
	font-weight:700;
	color:#353535;
}

article .post-heading h3 a:hover {
	text-decoration:none;
}

/* --- post meta --- */
.post-meta {
	background:#fcfcfc;
	border:1px solid #e6e6e6;
	border-top:none;
	text-align:center;
}

.post-meta .format {
	border-bottom:1px solid #e6e6e6;
	padding:10px 0 10px;
}

.post-meta i{
	margin:0;
}

.post-meta .date {
	border-bottom:1px solid #e6e6e6;
	padding:10px 0 10px;
}

.post-meta .date span {
	text-align:center;
	color:#999;
	font-size:12px;
	font-weight:600;
}

.post-meta .comments {
	padding:10px 0 10px;
}

.post-meta .comments a {
	color:#999;
	font-size:12px;
	font-weight:700;
}

.post-meta .comments a:hover {
	text-decoration:none;
}

/* --- post format --- */

.post-image {
	margin-bottom:20px;
}

.post-quote {
	margin-bottom:20px;
}

.post-video {
	margin-bottom:20px;
}

.post-audio {
	margin-bottom:20px;
}

.post-link {
	margin-bottom:20px;
}

.post-slider {
	margin-bottom:20px;
}

.post-quote blockquote {
	font-size:16px;
	color:#999;
	font-family:'Noto Serif', serif;
	font-style:italic;
	line-height:1.6em;
}

.post-image img:hover {
  -webkit-box-shadow: 0 0 2px #979797;
     -moz-box-shadow: 0 0 2px #979797;
          box-shadow: 0 0 2px #979797;	
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}

ul.meta-post{
	float:left;
	margin: 0;
	padding:0;
	list-style:none;
}

ul.meta-post li{
	float:left;
	margin:0 10px 0 0;
	padding:0;
	list-style:none;
	border-right:1px dotted #e9e9e9;
	padding-right:10px;
}

ul.meta-post li i {
	float:left;
	font-size:12px;
	margin:2px 5px 0 0;
}

ul.meta-post li a{
	color:#999;
	float:left;
	font-size:12px;
	font-weight:600;
}

/* --- single post --- */
.bottom-article{
	overflow: hidden;
	border-top:1px solid #f5f5f5;
	border-bottom:1px solid #f5f5f5;
	padding:10px 0 10px 0;
	margin-top:20px;
}

/* --- author info --- */

.about-author {
	border:1px solid #f5f5f5;
	padding:20px;
	float:left;
	margin-bottom:5px;
}

.about-author h5 {
	margin-bottom:10px;
}

/* --- Comment --- */

.comment-area {
	float:left;
	width:100%;
	margin-top:30px;	
}


.media-content{
	overflow:hidden;
	margin-left:12px;
	border-bottom:1px dotted #d5d5d5;
	padding-bottom:20px;
}

.media-content h6 {
	font-size:14px;
	font-weight:700;
}

.media-content span{
	color:#a9a9a9;
	font-size:14px;
	font-weight:300;
}

.comment-area .thumbnail > img {
  display: block;
	width:60px;
	height:60px;
}
.filter-list{
	margin-top:20px;
}

/* --- pagination --- */

#pagination a,
#pagination span {
    display: block;
    float: left;
    margin: 0 7px 0 0;
    padding: 7px 10px 6px 10px;
    font-size: 12px;
    line-height:12px;
    color: #888;
	font-weight:600;
	margin-bottom:40px;
}

#pagination a:hover {
    color: #428bca;
	text-decoration:none;
}

#pagination span.current {
    background: #428bca;
    color: #fff;
    font-weight: bold;
}

aside{
	position:relative;
	margin-bottom:40px;
}

.sidebar-nav{
	float:left;
	width:100%;
}

.right-sidebar{
	border-left:1px solid #f5f5f5;
	padding:0 0 0 30px;
-webkit-box-shadow:inset 1px 0 0 0 rgba(0,0,0,.01);
box-shadow:inset 1px 0 0 0 rgba(0,0,0,.01);

}

.left-sidebar{
	border-right:1px solid #f5f5f5;
	padding:0 30px 0 0;
-webkit-box-shadow:inset 1px 0 0 0 rgba(0,0,0,.01);
box-shadow:inset 1px 0 0 0 rgba(0,0,0,.01);
}

.left-sidebar .widget h3, .left-sidebar .widget .widget-content{
	padding-right:20px;
}
.widget form.form-search {
	border-radius:0px;
	margin-top:10px;
}

aside .widget {
	margin-bottom:40px;
}

ul.cat a:hover {
	color:#428bca;
}
ul.cat, ul.recent, ul.folio-detail, ul.contact-info{
	margin:0;
	padding:0;
	list-style:none;
}

ul.cat li, ul.recent li, ul.folio-detail li, ul.contact-info li{
	margin:0 0 15px 0;
	list-style:none;
}

ul.cat li a, ul.folio-detail li a{
	color:#656565;
}

ul.folio-detail li label{
	display:inline;
	cursor:default;
	color:#353535;
	font-weight:bold;
}

.widget ul.recent li {
	margin-bottom:20px;
}

ul.recent li h6 {
	margin:0 0 10px 0;
}

ul.recent li h6 a{
	color:#353535;
	font-size:16px;
	font-weight:600;
	margin-right:20px;
}

.widget ul.tags {
	list-style:none;
	margin:0;
	margin-left: 0;
	padding-left:0;
}

.widget ul.tags li {
	margin:0 5px 15px 0;
	display:inline-block;
}

.widget ul.tags li a {
	background:#e6e6e6;
	color:#333;
	padding:5px 10px;
}

.widget ul.tags li a:hover {
	text-decoration:none;
	color:#fff;
	background-color:#428bca;
}

.widgetheading {
	width:100%;
	padding:0;
}

#bottom .widgetheading {
	position: relative;
	border-bottom: #e6e6e6 1px solid;
	padding-bottom: 9px;
}

aside .widgetheading {
	position: relative;
	border-bottom: #e9e9e9 1px solid;
	padding-bottom: 9px;
}

/* --- search form --- */
.search{
	float:right;
	margin:35px 0 0;
	padding-bottom:0;
}

#inner-headline form.input-append {
	margin-top:10px;
	padding:0;
}

/* ===================================
Responsive media
==================================== */

.video-container,.map-container,.embed-container 		{ position:relative; margin:0 0 15px 0;	padding-bottom:51%; padding-top:30px; height:0; overflow:hidden; border:none; }
.embed-container iframe,
.embed-container object,
.embed-container embed,
.video-container iframe,
.map-container iframe,
.map-container object,
.map-container embed,
.video-container object,  
.video-container embed 					{ position:absolute; top:0; left:0; width:100%; height:100%; }
iframe {
	border:none;
}

img.img-polaroid {
	margin:0 0 20px 0;
}
.img-box {
	max-width:100%;
}

/*=========================
  Footer
 ================= */

section#footer {
	background: #956134; /* original 242424 */
	margin-bottom:-50px;
	padding:20px;
}

section#footer .copyright {
	text-align: left;
	color: #ffffff;
}

section#footer .copyright a {
	color: #ffffff;
	text-decoration:none;
}

/* footer social icons */
ul.social-network {
	list-style: none;
	display: inline;
	margin-left:0;
	padding: 0;
}
ul.social-network li {
	display: inline;
	margin: 0 5px;
}

/* footer menu */
ul.footer-menu {
	list-style: none;
	display: inline;
	margin-left:0;
	padding: 0;
}
ul.footer-menu li {
	display: inline;
	margin: 0 5px;
}

a.scrollup{
	height:30px;
	width:32px;
	color:#fff;
	font-size:18px;
	line-height:32px;
	text-align:center;
	text-decoration:none;
	position:fixed;
	bottom:40px;
	right:20px;
	z-index:9999;
	opacity:0.5;
}
a.scrollup:hover{
	opacity:1;
	color:#fff;
}