/* ============================================================
   GLOBAL BASE
   ============================================================ */
html {
  font-size: 100%;
}
body {
  font-size: 1rem;
  font-family: "Lora", "Merriweather", Georgia, serif;
  color: #666666;
  padding: 0;
}
.topspace {
  margin-top: 10px;
}
.bottomspace {
  margin-bottom: 30px;
}

/* CV page vertical spacing */
.cvmargins {
  margin-top: 5vh;
  margin-bottom: 5vh;
}
@media (max-width: 768px) {
  .cvmargins {
    margin-top: 15px;
    margin-bottom: 150px;
  }
}
@media (max-width: 576px) {
  .cvmargins {
    margin-top: 5px;
    margin-bottom: 5px;
  }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  border-width: 1px 0;
  border-radius: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 576px) {
  .navbar {
    display: flex !important;
    flex-direction: column !important;
  }
  .navbar ul {
    display: flex;
    flex-direction: column;
  }
  .navbar ul li {
    width: 100%;
  }
}
.navbar.stick {
  position: fixed;
  top: 0;
  left: 0;
  opacity: .85;
  z-index: 1000;
}
.navbar-collapse {
  border-radius: 0;
  font-family: "Lora", "Merriweather", Georgia, serif;
  font-weight: 400;
  font-variant: small-caps;
  font-size: 1.15em;
}
.navbar-collapse .navbar-nav {
  float: none;
  margin: 0 auto;
  text-align: center;
}
.navbar-collapse .navbar-nav > li {
  float: none;
  display: inline-block;
}
.navbar-collapse .navbar-nav > li > a {
  padding: 20px 30px;
}
.navbar-default {
  background-color: #ffffff;
  border-color: #cccccc;
}
.navbar-default .navbar-nav > li > a {
  color: #454545;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #000000;
  background-color: #ffffff;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #2A6049;
  background-color: #ffffff;
  border-bottom: 2px solid #2A6049;
}
.navbar-default .navbar-toggle {
  border-color: #666666;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #ffffff;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #333333;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: #cccccc;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  background-color: #ffffff;
  color: #000000;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
p {
  line-height: 1.6em;
  margin: 0 0 30px 0;
}
ul,
ol {
  line-height: 1.6em;
  margin: 0 0 30px 0;
}
blockquote {
  padding: 10px 20px;
  margin: 0 0 30px;
  border-left: 5px solid #eee;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Lora", "Merriweather", Georgia, serif;
  font-weight: 400;
  color: #333333;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
a {
  color: #B7410E;
}
a:hover {
  color: #8C320A;
}
.lead {
  font-weight: 300;
  font-size: 1.3125rem;
  font-style: italic;
}
.quotestyle {
  font-weight: 300;
  font-size: 1.5rem;
  font-style: italic;
}
.quoteauthor {
  font-weight: 300;
  font-size: 1.3rem;
  margin-top: -30px;
}
.abstract-text {
  font-size: 0.875rem;
  text-align: justify;
  margin: 8px 0 0;
  line-height: 1.65;
  color: #666666;
}
.data-text {
  font-size: 0.875rem;
  text-align: justify;
  list-style: circle;
  margin: 6px 0 4px 16px;
}

/* ============================================================
   HEADER
   ============================================================ */
#head {
  background: #f4f4f4 url(../images/sunset.jpeg) top center;
  background-size: cover;
  color: #7C7C7C;
  padding: 30px 0 35px 0;
  background-attachment: scroll;
  background-repeat: no-repeat;
}
@media (max-width: 400px) {
  #head {
    background-size: 130%;
  }
}
#head .title {
  font-family: "Lora", "Merriweather", Georgia, serif;
  font-size: 2.8rem;
  font-variant: small-caps;
}
@media (max-width: 768px) {
  #head .title {
    font-size: 2.5rem;
  }
}
@media (max-width: 576px) {
  #head .title {
    font-size: 2rem;
  }
}
@media (max-width: 375px) {
  #head .title {
    font-size: 1.75rem;
  }
}
#head .title a {
  text-decoration: none;
  color: #000000;
}
#head .tagline {
  display: block;
  font-family: "Lora", "Merriweather", Georgia, serif;
  font-variant: small-caps;
  font-size: 1.2rem;
  line-height: 1.3em;
  color: #000000;
  margin: 5px 0 0;
}
#head .tagline b {
  font-weight: normal;
}
#head .tagline a {
  color: #000000;
}
@media (max-width: 768px) {
  #head .tagline {
    font-size: 0.8rem;
    line-height: 1.1em;
  }
}
@media (max-width: 576px) {
  #head .tagline {
    font-size: 0.75rem;
    line-height: 1em;
  }
}
@media (max-width: 375px) {
  #head .tagline {
    font-size: 0.7rem;
    line-height: 1em;
  }
}
.home #head {
  padding: 50px 0;
  background: #f4f4f4 url(../images/sunset-full.jpeg) top center;
  background-size: cover;
  color: #7C7C7C;
  background-attachment: scroll;
  background-repeat: no-repeat;
}
@media (max-width: 400px) {
  .home #head {
    background-size: 130%;
  }
}
.home #head .title {
  font-size: 3.5rem;
}
@media (max-width: 768px) {
  .home #head .title {
    font-size: 2.5rem;
  }
}
@media (max-width: 576px) {
  .home #head .title {
    font-size: 2rem;
  }
}
@media (max-width: 375px) {
  .home #head .title {
    font-size: 1.75rem;
  }
}
.home #head .tagline {
  font-size: 1.3rem;
  margin: 15px 0 0;
}
@media (max-width: 768px) {
  .home #head .tagline {
    font-size: 0.9rem;
    margin: 10px 0 0;
  }
}
@media (max-width: 576px) {
  .home #head .tagline {
    font-size: 0.8rem;
    margin: 8px 0 0;
  }
}
@media (max-width: 375px) {
  .home #head .tagline {
    font-size: 0.75rem;
    margin: 5px 0 0;
  }
}

/* ============================================================
   CONTENT
   ============================================================ */
img {
  max-width: 100%;
}
.featured {
  font-size: 1rem;
}
.pdf {
  width: 100%;
  aspect-ratio: 3/4;
}
@media (max-width: 576px) {
  .pdf {
    height: 300px;
  }
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
  display: block;
  width: 100%;
  overflow: visible;
  margin: 0 0 18px;
  text-align: left;
  font-weight: 700;
  font-variant: small-caps;
  font-size: 1.3rem;
  letter-spacing: 1.5px;
  color: #2A6049;
  border-bottom: 2px solid #2A6049;
  padding-bottom: 8px;
}
.section-title a {
  color: #2A6049;
}
.section-title span {
  display: inline;
  position: static;
}
.section-title span:before,
.section-title span:after {
  display: none;
}
.section-title--center {
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #2A6049;
  padding: 30px 0 0 0;
  font-size: 0.75rem;
  color: #fff;
}
#footer a {
  color: #fff;
}
#footer a:hover {
  color: #C6B593;
}
#footer h3.widget-title {
  font-size: 0.9375rem;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 10px;
}
.follow-me-icons {
  font-size: 1.875rem;
}
.follow-me-icons i {
  display: inline-block;
  margin: 0 12px 0 0;
}

/* ============================================================
   MAX PAGE WIDTH
   ============================================================ */
@media (min-width: 1200px) {
  .container {
    max-width: 1080px;
  }
}

/* ============================================================
   RESEARCH LIST
   ============================================================ */
.research-list {
  padding-left: 20px;
  margin-bottom: 0;
  list-style: none;
}
.research-list > li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1.5;
}
.research-list > li:last-child {
  border-bottom: none;
  margin-bottom: 25px;
  padding-bottom: 0;
}
.paper-name {
  display: inline;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #36454F;
  letter-spacing: 0.5px;
}
.paper-name a {
  color: inherit;
  text-decoration: none;
}
.paper-name a:hover {
  text-decoration: underline;
  color: #546A79;
}
.paper-status-tag {
  display: inline;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #B7410E;
  font-variant: small-caps;
  letter-spacing: 0.5px;
  margin-left: 8px;
  vertical-align: middle;
}
.paper-names {
  font-size: 0.8125rem;
  color: #818589;
}
.paper-names a {
  color: #818589;
}
.paper-names a:hover {
  color: #8C320A;
}
.paper-meta {
  font-size: 0.8125rem;
  color: #818589;
}
.paper-meta a {
  color: #B7410E;
}
.paper-meta a:hover {
  color: #8C320A;
}
details.abstract-toggle > summary {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #B7410E;
  font-style: italic;
  cursor: pointer;
  user-select: none;
  list-style: none;
  letter-spacing: 0.5px;
}
details.abstract-toggle > summary::-webkit-details-marker {
  display: none;
}
details.abstract-toggle > summary::after {
  content: ' ▼';
  display: inline-block;
  font-size: 0.9em;
  margin-left: 5px;
  transition: transform 0.2s ease-in-out;
}
details[open].abstract-toggle > summary::after {
  transform: rotate(180deg);
}

/* ============================================================
   EXPERIENCE LIST (Teaching page — mirrors research-list)
   ============================================================ */
.experience-list {
  padding-left: 20px;
  margin-bottom: 0;
  list-style: none;
}
.experience-list > li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1.5;
}
.experience-list > li:last-child {
  border-bottom: none;
  margin-bottom: 25px;
  padding-bottom: 0;
}
.experience-role {
  display: inline;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #36454F;
  letter-spacing: 0.5px;
}
.experience-dates {
  display: inline;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #B7410E;
  font-variant: small-caps;
  letter-spacing: 0.5px;
  margin-left: 8px;
  vertical-align: middle;
}
.experience-org {
  font-size: 0.8125rem;
  color: #818589;
}
.experience-award {
  font-size: 0.8125rem;
  color: #B7410E;
}

/* ============================================================
   HOME PAGE — ABOUT ME CONTENT
   ============================================================ */
.about-inner {
  text-align: justify;
  padding: 5px 20px;
}
@media (max-width: 767px) {
  .about-inner {
    text-align: justify;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ============================================================
   SIDEBAR (Data page)
   ============================================================ */
.sidebar a {
  color: #36454F;
}
.sidebar a:hover {
  color: #B7410E;
}
.sidebar .widget ul {
  list-style: none;
  padding-left: 0;
}
.sidebar .widget ul li {
  padding: 3px 0;
}
.sidebar .widget ul li i {
  font-size: 0.8em;
  margin-right: 6px;
  width: 14px;
  text-align: center;
  display: inline-block;
}
