/*
  Color codes
  - body (text)     #3a4750
  - heading         #444444
  - theme (links)   #01ad54
  - link hover      #006832
  - sections        #bbbbbb
*/

body {
  font-family: 'Hind', sans-serif;
  font-size: 15px;
  line-height: 1.8em;
  color: #989898;
  font-weight: 300;
  background: #f8f8f8; /* f8f8f8 */
}

/* ----------------------------------------------
 * global typography
 * ---------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 15px;
  color: #444444;
}
h1 {
  font-family: 'Fjalla One', sans-serif;
  font-size: 36px;
  line-height: 1.8em;
  font-weight: 700;
  letter-spacing: .1rem;
}
h2 {
  font-size: 18px;
  line-height: 1.8em;
  font-weight: 700;
}
h3 {
  font-size: 13px;
  line-height: 1.8em;
  font-weight: 700;
}
h4 {
  font-size: 15px;
  line-height: 1.8em;
  font-weight: 500;
}
h5 {
  font-size: 15px;
  line-height: 1.5em;
  font-weight: 500;
}
h6 {
  font-size: 15px;
  line-height: 1.5em;
}
p {
  margin-bottom: 20px;
}
p:last-child {
  margin-bottom: 0;
}
strong {
  color: #444444;
  font-weight: 500;
}

/* ----------------------------------------------
 * link style
 * ---------------------------------------------- */
a {
  color: #01ad54;
  text-decoration: none;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
a, a:active, a:focus, a:active {
  text-decoration: none;
  outline: none
}
a:hover, a:focus {
  text-decoration: none;
  color: #006832;
}

.bib {
  display: none;
  background: #fff;
  font-family: Consolas, "Courier New";
}

/* ----------------------------------------------
 * main wrapper
 * ---------------------------------------------- */
#main-wrapper {
  overflow: hidden;
}
.container {
  max-width: 850px;
}

/* ----------------------------------------------
 * section wrapper
 * ---------------------------------------------- */
.section-wrapper {
  padding: 30px 0;
}
@media (max-width: 768px) {
  .section-wrapper {
    padding: 20px 0;
  }
}
@media (max-width: 600px) {
  .section-wrapper {
    padding: 20px;
  }
}

/* ----------------------------------------------
 * section title
 * ---------------------------------------------- */
.section-title {
  font-family: 'Fjalla One', sans-serif;
  /* padding-right: 15px; */
  padding: 10px 15px 10px 0;
  text-align: right;
  /* border: 1px solid #ccc; */
  border-top: 5px solid #01ad54; /* #01ad54; */

  /* background: #f3f3f3; */
  border-radius: 15px 0 0px 15px;
}
.section-title h2 {
  font-size: 16px;
  margin-bottom: 5px;
  color: #01ad54; /* aaaaaa */
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: .1rem;
  /* background: #fff; */
}
@media (max-width: 768px) {
  .section-title {
    text-align: left;
  }
  .section-title h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }
}

/* ----------------------------------------------
 * navigation and header style
 * ---------------------------------------------- */
.header {
  padding: 30px 0 30px 0;
  margin: 0 0 30px 0;
  position: relative;
  border-top: 7px solid #01ad54;
  background: #e8e8e8;
  box-shadow: 5px 10px 40px #999;
  /* font-size: 16px;
  line-height: 1.9em; */
}

.header .profile-img {
  margin-bottom: 30px;
  max-width: 300px;
  margin: 0 auto;
}

.header .profile-img img {
  /* margin-bottom: 30px; */
  border-radius: 15px;
  margin: 0 auto;
}
.header .name-wrapper {
  margin-bottom: 15px;
}
.header .name-wrapper h1 {
  line-height: 1;
  margin: 0 0 5px;
}
.header .name-wrapper h2 {
  font-size: 24px;
  color: #01ad54;
  font-weight: 400;
  line-height: 1.4em;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .header {
    padding: 20px 0;
  }
    .header .profile-img {
    margin-bottom: 30px;
    display: block;
    /* display: inline-block; */
  }

  .header .profile-img img {
      max-width: 60%; height:auto;
      margin: 0 auto;
      object-fit: contain;
  }
  /* .headshot {
      width: 400px;
  } */
}
@media (max-width: 600px) {
  .header {
    padding: 20px;
  }
  /* .headshot {
      width: 400px;
  } */
    .header .profile-img {
    margin-bottom: 30px;
    /* display: inline-block; */
    display: block;
  }

  .header .profile-img img {
      max-width: 60%; height:auto;
      object-fit: contain;
      margin: 0 auto;
  }
}

/* .headshot {
  max-width: 400px;
  height: auto;
} */

.top {
    border-radius: 30px;
    padding: 25px 20px 25px 15px;
    background: #fff;
    /* border: 3px solid #999; */
}

/* ----------------------------------------------
 * social icon
 * ---------------------------------------------- */
.social-icon {
  margin: 2px 0;
  padding: 0;
  display: block;
}
.social-icon li {
  display: inline-block;
  margin: 0 2px;
}
.social-icon li a {
  display: block;
  font-size: 14px;
  width: 30px;
  height: 30px;
  line-height: 31px;
  text-align: center;
  color: #01ad54;
  border-radius: 6px;
  border: 1px solid #eee;
}
.social-icon li a:hover {
  color: #006832;
}

/* ----------------------------------------------
 * news
 * ---------------------------------------------- */
.news-wrapper ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.news-wrapper li {
  padding-left: 20px; /* with hanging indent */
  line-height: 1.5em;
  margin-bottom: 10px;
  text-indent: -20px;
}
.news-wrapper li strong {
  font-weight: 500;
}

/* ----------------------------------------------
 * publications
 * ---------------------------------------------- */
.publications-wrapper .publications-item {
  margin-bottom: 25px;
  line-height: 1.5em;
}
.publications-wrapper .publications-item .title {
  color: #444444;
  font-weight: 500;
  margin-bottom: 3px;
}
.publications-wrapper .publications-item .conference {
  /* margin-bottom: 3px; */
  font-style: italic;
  font-size: 13px;
  margin: 7px 0 5px 0;
  color: #aaa;
}

.conf-name {
    /* font-weight: 500; */
    font-style: normal;
    /* background: #a2e8c4; */
    /* background: #b8e6ce; */
    /* background: #cae8d8; */
    /* border-top: 3px solid #b8e6ce; */
    /* border-right: 3px solid #01ad54; */
    letter-spacing: .1rem;
    /* background: #b8e6ce; */
    border: 2px solid #b8e6ce;
    color: #444;
    padding: 0 8px;
    margin: 0 10px 0 10px;
    border-radius: 5px;
}

.publications-wrapper .publications-item .paper-link, .code-link, .talk-link, .bib-link {
  font-style: normal;
  font-weight: normal;
  font-size: 11px;
  margin: 0 3px;
  padding: 0px 5px;
  border-radius: 3px;
  border: 1px solid #fff;
}

.publications-wrapper .publications-item .paper-link {
  background: #006832; /* #01ad54; */
  border-color: #006832;
  color: #fff;
  margin-left: 5px;
}

.publications-wrapper .publications-item .code-link {
  background: #ccc;
  border-color: #ccc;
  color: #555;
}

.publications-wrapper .publications-item .talk-link {
  background: #ddd;
  border-color: #ddd;
  color: #555;
}

.publications-wrapper .publications-item .bib-link {
  background: #eee;
  border-color: #eee;
  color: #555;
}

.publications-wrapper .publications-item .paper-link:hover, .publications-wrapper .publications-item .code-link:hover, .publications-wrapper .publications-item .talk-link:hover, .publications-wrapper .publications-item .bib-link:hover {
  border-color: #444;
}

.publications-wrapper .publications-item .paper-link:hover {
  border-color: #fff;
}


/* ----------------------------------------------
 * portfolio
 * ---------------------------------------------- */
.portfolio-item {
  position: relative;
  display: block;
  margin-bottom: 30px;
}
.portfolio-item .portfolio-thumb img {
  height: auto;
  display: block;
  max-width: 100%;
}
.portfolio-item .portfolio-info {
  position: absolute;
  padding: 15px 15px 5px;
  bottom: 0;
  width: 100%;
  z-index: 1;
  background: -webkit-linear-gradient( top, transparent 0%, rgba(0, 0, 0, 0.5) 100% );
}
.portfolio-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  top: 100%;
  left: 0;
  right: 0;
  background: -webkit-linear-gradient( top, transparent 0%, #000 100% );
  transition: all .2s linear;
}
.portfolio-item:hover::after {
  top: 0;
}
.portfolio-item .portfolio-info h3 {
  margin: 0;
  line-height: 1;
  color: #ffffff;
  font-weight: 500;
  text-transform: uppercase;
}
.portfolio-item .portfolio-info small {
  color: rgba(255, 255, 255, .5);
}

/* ----------------------------------------------
 * contact
 * ---------------------------------------------- */
.contact-wrapper address strong {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 500;
}
