/*
---------------------------------------------
Global
---------------------------------------------
*/
body {
  padding-top: 4rem;
}

.hr-divider {
  border: 0;
  height: 2px;
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    darkgrey,
    rgba(0, 0, 0, 0)
  );
}

.btn-primary {
  background-color: royalblue;
}

/*
---------------------------------------------
Navbar
---------------------------------------------
*/
#sideNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: inset -1px 0 0 rgb(0 0 0 / 10%);
  padding-bottom: 10px;
}

#sidebarMenu {
  padding: 20px 0 10px;
}

.nav-link {
  color: black;
  border-radius: 10px;
  width: 100%;
}

.nav-link.active {
  cursor: pointer;
  background-color: royalblue;
  color: white;
}

.nav-link:hover {
  cursor: pointer;
  background-color: royalblue;
  color: white;
}

#nav-logo {
  display: flex;
}

#nav-logo img {
  width: 50px;
  border-radius: 50%;
}

#nav-logo h3 {
  padding: 15px 0 0 10px;
}

#nav-logo p {
  display: none;
}

#nav-btn {
  display: block;
  margin: 0 60px 30px 0;
}

.nav-title {
  display: none;
}

@media (min-width: 768px) {
  body {
    padding-top: 0;
    padding-left: 15rem;
  }

  #sideNav {
    position: fixed;
    top: 0;
    left: 0;
    width: 15rem;
    height: 100%;
  }

  #nav-container {
    padding-top: 50px;
    padding-bottom: 300px;
  }

  #sidebarMenu {
    padding: 0;
    display: block;
  }

  .nav-link {
    color: black;
    border-radius: 10px;
    width: 13.5rem;
    padding-left: 50px;
  }

  #nav-logo {
    display: block;
    margin: auto auto 30px;
  }

  #nav-logo img {
    width: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
  }

  #nav-logo h3 {
    padding: 0;
  }

  #nav-logo p {
    display: block;
  }

  #nav-btn {
    display: none;
  }

  .nav-title {
    display: block;
  }
}

#banner {
  background: url(../image/banner3.jpg) no-repeat;
  background-size: cover;
  width: 100%;
  height: 200px;
}

/*
---------------------------------------------
Home
---------------------------------------------
*/
.home-research {
  /* margin-left: 15px; */
  > li {
    margin-bottom: 10px;
  }
}

.img-container {
  overflow: hidden;
  /* margin: 0 10px 10px 0; */
}

.img-container .image {
  /* background: url(../image/data-integration.jpeg) no-repeat; */
  height: 200px;
  background-size: cover;
  filter: grayscale(40%);
  margin-bottom: 15px;
}

@media (max-width: 1200px) {
  .img-container .image {
    width: 100%;
  }
}

/* .img-container .image {
  transition: transform 0.5s ease;
} */

.timeline-item {
  padding: 1em 2em 2em;
  position: relative;
  color: rgba(0, 0, 0, 0.7);
  border-left: 2px solid rgba(0, 0, 0, 0.3);
}
.timeline-item p {
  font-size: 1rem;
}
.timeline-item::before {
  content: attr(date-is);
  position: absolute;
  left: 2em;
  top: 0;
  display: block;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 0.785rem;
}
.timeline-item::after {
  width: 10px;
  height: 10px;
  display: block;
  top: 0;
  position: absolute;
  left: -7px;
  border-radius: 10px;
  content: "";
  border: 2px solid rgba(0, 0, 0, 0.3);
  background: white;
}
.timeline-item:last-child {
  -o-border-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.3) 60%,
      transparent
    )
    1 100%;
  border-image: -webkit-linear-gradient(
      top,
      rgba(0, 0, 0, 0.3) 60%,
      transparent
    )
    1 100%;
  border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 60%, transparent)
    1 100%;
}
.timeline-item p {
  font-size: 13px;
  font-style: italic;
}
.timeline-item h5 {
  font-size: 16px;
}

/*
---------------------------------------------
Research
---------------------------------------------
*/
.projects-list {
  list-style: none;
  padding: 0;
}
.projects-list li {
  background-color: #fdfdfd;
  margin-bottom: 15px;
  -webkit-box-shadow: 0px 3px 3px -3px #ccc;
  box-shadow: 5px 5px 5px -5px #ccc;
  border-radius: 3px;
}

.projects-list li:hover {
  cursor: pointer;
}

.projects-list li .image:hover {
  cursor: pointer;
}

.projects-list li .projectinfo {
  overflow: hidden;
  padding: 20px;
  cursor: pointer;
}

.projects-list li .details {
  display: block;
  padding: 20px;
  background: #fff;
  -webkit-box-shadow: inset 0px 3px 5px -3px #ccc;
  box-shadow: inset 0px 3px 5px -3px #ccc;
}

.image-responsive {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.projects-list li .closed {
  display: none;
}

.research-pubs {
  padding-left: 0;
  > div {
    line-height: normal;
    border-bottom: 1px solid lightgrey;
    margin-bottom: 15px;
  }
}

/*
---------------------------------------------
Publications
---------------------------------------------
*/
.pubtitle {
  font-size: 1.1rem;
  font-weight: bold;
}

.pubitems .pubmain {
  min-height: 100px;
  position: relative;
}

.pubitems .pubmain .pubassets {
  position: absolute;
  bottom: 0;
  right: 0;
  text-align: center;
}

.pubauthor,
.pubcite {
  font-size: small;
  color: #585858;
}

.badge {
  display: inline-block;
  margin-right: 5px;
  padding: 0.25em 0.4em;
  font-size: 85%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  /*box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);*/
}

.badge-lightblue {
  background-color: lightblue;
  color: rgba(0, 0, 0, 0.6);
}

/*
---------------------------------------------
Members
---------------------------------------------
*/
.card {
  /*display: inline-block;*/
  width: 250px;
  margin-right: 30px;
  margin-bottom: 30px;
  padding: 0;
}

.alumni-card {
  height: 150px;
  vertical-align: top;
}

/*
---------------------------------------------
About PI
---------------------------------------------
*/
#aboutPI-headshot {
  width: 200px;
}

.card-body {
  padding: 1rem 1rem;
}

.about-card {
  border-radius: 0.3rem;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
}

.avatar {
  border-radius: 50%;
  height: 120px;
  width: 120px;
  margin: -65px auto 0;
  overflow: hidden;
  border: 5px solid #fff;
}

.testimonial-card .card-up {
  overflow: hidden;
  height: 120px;
  border-radius: 0.3rem 0.3rem 0 0;
}

.indigo {
  background: linear-gradient(
    179.2deg,
    royalblue 0.9%,
    rgb(53, 145, 243) 95.5%
  );
}

.testimonial-card .avatar img {
  width: 100%;
  height: auto;
}

.about-info {
  text-align: left;
  margin-left: 5%;
}

ul.ul-dates {
  list-style: none;
}

.dates {
  float: left;
  width: 75px;
}

ul.ul-dates div.dates span:first-child {
  -webkit-box-shadow: 0px 2px 6px -3px rgba(68, 68, 68, 0.5);
  box-shadow: 0px 2px 6px -3px rgba(68, 68, 68, 0.5);
  z-index: 3;
  position: relative;
}

ul.ul-dates div.dates span {
  padding: 6px;
  display: block;
  text-align: center;
  position: relative;
}

.badge-purple {
  color: #fff;
  background-color: royalblue;
}

.badge-darkpurple {
  color: #fff;
  background-color: darkblue;
}

.badge-yellow {
  color: rgba(0, 0, 0, 0.6);
  background-color: yellow;
}

.badge-rosybrown {
  color: rgba(0, 0, 0, 0.6);
  background-color: rosybrown;
}

.badge-indianred {
  color: rgba(0, 0, 0, 0.6);
  background-color: indianred;
}

.badge-darkseagreen {
  color: rgba(0, 0, 0, 0.6);
  background-color: darkseagreen;
}

.badge-lightgoldenrodyellow {
  color: rgba(0, 0, 0, 0.6);
  background-color: lightgoldenrodyellow;
}

.badge-lightpink {
  color: rgba(0, 0, 0, 0.6);
  background-color: lightpink;
}

ul.ul-dates div.datas-content {
  margin-left: 90px;
  min-height: 70px;
  padding-top: 10px;
}
