/*
 * List Animation
 */
.list-enter-active,
.list-leave-active {
  transition: opacity 0.3s, transform 0.3s;
  transform-origin: left center;
}
.list-enter,
.list-leave-to {
  opacity: 0;
  transform: scale(0.5);
}
/*
 * Works filter

 */
.switch-mod-wrapper {
  height: 40px;
}
.switch-mod-wrapper .switch-btn-div {
  margin: 0px 10px 10px 0px;
  float: left;
}
.filtering-header {
  width: 100%;
  height: 40px;
  margin-bottom: 10px;
  text-align: center;
}
.filtering-header .search-wrapper {
  display: inline-block;
  width: 260px;
}
.filtering-header .search-wrapper label {
  display: none;
  padding-top: 5px;
  padding-right: 10px;
}
.filtering-header .search-wrapper input {
  max-width: 280px;
}
.filtering-header .research-area-filter {
  display: inline-block;
}
.filtering-header .research-area-filter label {
  display: none;
  float: left;
  padding-top: 5px;
  padding-right: 10px;
}
.filtering-header .research-area-filter select {
  max-width: 280px;
}
.cat-filter {
  list-style: none;
  padding: 0;
  margin: 0 0 70px 0;
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
  color: #555;
  cursor: default;
}
.cat-filter div {
  display: inline-block;
}
.cat-filter div label {
  display: inline-block;
  margin: 0 5px;
  padding: 6px 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: #222;
  text-decoration: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  -webkit-transition: all 0.37s cubic-bezier(0, 0, 0.58, 1);
  -moz-transition: all 0.27s cubic-bezier(0, 0, 0.58, 1);
  -o-transition: all 0.27s cubic-bezier(0, 0, 0.58, 1);
  -ms-transition: all 0.27s cubic-bezier(0, 0, 0.58, 1);
  transition: all 0.27s cubic-bezier(0, 0, 0.58, 1);
  cursor: pointer;
}
.cat-filter div label.active {
  border-color: #222;
  /*border-color: red;*/
  cursor: default;
}
.cat-filter div label.active :hover {
  color: #000;
}
.cat-filter div label :first-child {
  margin-left: 0;
}
.cat-filter div label :last-child {
  margin-right: 0;
}
.cat-filter div label :hover {
  color: #888;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
.cat-filter input {
  display: none;
}
body .region-content .block-hkust-people table {
  width: 100%;
  font-size: 1.14em;
}
body .region-content .block-hkust-people table thead tr th {
  font-weight: 900;
  font-size: 1.2em;
}
body .region-content .block-hkust-people table td {
  padding: 16px 20px;
}
body .region-content .block-hkust-people table tr:nth-child(even) {
  background: #f3f3f3;
}
body .region-content .block-hkust-people table tr:nth-child(odd) {
  background: #fff;
}
/* ==============================
   Team
   ============================== */
.team-grid {
  margin: -20px 0 0 -1px;
  text-align: center;
  word-spacing: 0;
  font-size: 1.14em;
}
.team-grid > div {
  margin: 0 -15px;
  zoom: 1;
}
.team-grid > div:before {
  content: '';
  display: block;
}
.team-grid > div:after {
  content: '';
  display: table;
  clear: both;
}
.team-item {
  margin: 15px 0;
  display: table;
  table-layout: fixed;
  height: 183px;
}
.team-item [class*="col-md-"] {
  width: 100%;
  float: none;
}
.team-item .team-item-image {
  padding: 0;
  width: 100%;
}
.team-item .people-desc {
  vertical-align: middle;
  text-align: left;
  padding: 20px;
  position: relative;
  padding-bottom: 60px;
}
.team-item .people-desc .name {
  font-weight: 700;
}
.team-item .people-desc .people-icon {
  position: absolute;
  left: 20px;
  bottom: 20px;
}
.team-item .people-desc .people-icon > span + span {
  margin-left: 8px;
}
.team-item > * {
  display: table-cell;
  width: auto;
  float: none;
  vertical-align: top;
  background-color: white;
}
.team-item > a {
  width: 40%;
}
@media screen and (max-width: 1348px) {
  .team-item {
    width: 50%;
  }
}
@media screen and (max-width: 992px) {
  .team-item {
    width: 100%;
  }
  body .block-hkust-people .team-item[class*="col-"],
  body .block-hkust-people .people-desc[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
  }
  body .block-hkust-people .people-desc[class*="col-"] {
    padding-bottom: 40px;
  }
}
/*.team-item-image {
  position: relative;
  overflow: hidden;
  //height: 290px;
}
.team-item-image:after {
  content: " ";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
  z-index: 1;
  -webkit-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
  -moz-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
  -o-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
  -ms-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
  transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
}
.team-item-detail {
  opacity: 0;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  padding: 20px 23px 55px;
  font-size: 13px;
  text-align: center;
  color: #aaa;
  z-index: 2;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  -webkit-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
  -moz-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
  -o-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
  -ms-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
  transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
}
.team-item-descr {
  position: relative;
  margin: -50px 23px 0;
  padding: 17px 10px;
  text-align: center;
  background: rgba(255, 255, 255, .98);
  z-index: 3;
  -webkit-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
  -moz-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
  -o-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
  -ms-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
  transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
}
.team-item-name {
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.team-item-role {
  margin-bottom: 5px;
  //font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-size: 13px;
  font-style: italic;
}
.team-social-links {
  font-size: 14px;
  cursor: pointer;
}
.team-social-links a {
  display: inline-block;
  padding: 3px 7px;
  color: rgba(0, 0, 0, .25);
  -webkit-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
  -moz-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
  -o-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
  -ms-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
  transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
}*/
/* Dark Version */
.team-item-descr.dark,
.no-mobile .team-item:hover .team-item-descr.dark,
.team-item.js-active .team-item-descr.dark {
  background: rgba(37, 37, 37, 0.95);
  color: #bbb;
}
.team-item-descr.dark .team-social-links a,
.no-mobile .team-item:hover .team-item-descr.dark .team-social-links a,
.team-item.js-active .team-item-descr.dark .team-social-links a {
  color: #999;
}
/* Hover state */
.no-mobile .team-item:hover .team-item-image:after {
  background: rgba(0, 0, 0, 0.85);
}
.no-mobile .team-item:hover .team-item-detail {
  opacity: 1;
}
.no-mobile .team-item:hover .team-item-descr {
  background: #fff;
  color: #999;
}
.no-mobile .team-social-links a:hover {
  color: rgba(0, 0, 0, 0.75);
}
/* Mobile touch */
.team-item.js-active .team-item-image:after {
  background: rgba(0, 0, 0, 0.85);
}
.team-item.js-active .team-item-detail {
  opacity: 1;
}
.team-item.js-active .team-item-descr {
  background: #fff;
  color: #999;
}
/* Responsive */
@media screen and (max-width: 960px) {
  .cat-filter div {
    width: 100%;
  }
  .cat-filter div label {
    width: 100%;
    margin: 5px 5px;
  }
  .filtering-header .search-wrapper {
    max-width: 280px;
    width: 100%;
    margin-bottom: 5px;
  }
  .cat-filter {
    margin: 40px 0 70px 0;
  }
}
