:root {
    /* --blue: #54A0FF; */
    --blue: #0A1A31;
    /*--blue: #0A1A31;*/
    --dark_blue: #0A1A31;
    /*--dark_blue: #295F98;*/
    --white: #ffffff;
    /*--cream: #EAE4DD;*/
    --cream: #ffffff;
}

html {
  background-color: #ffffff;
  font-size: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  /*overflow: hidden;*/
  overscroll-behavior: none;
  width: 100;
}

body {
  font-size: 1.3rem;
  font-family: 'Lato', sans-serif !important;
  font-family: 'Lora', serif !important;
  background-color: var(--dark_blue) /*#333c40*/ !important; /*#444*/
  font-family: "Bodoni MT", serif;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  overflow:auto  !important;
  min-height: 100%;
  height: 100%;
  width: 100%;
}

#outer {
  background-color: var(--dark_blue) /*#333c40*/ !important; /*#444*/
  margin: 0;
  padding: 0;
}

/* Link colors */
a:link {
    color: var(--blue);
}
a:visited {
    color: var(--blue);
}
a:hover {
    color: var(--blue) !important;
}
a:active {
    color: var(--blue);
}

.footer-text {
  font-size: 0.8rem;
  font-weight: lighter;
  text-decoration: none;
  margin-top: 10px !important;
  text-align: center;
  color: #eae4dd !important;
}
#footer-name {
  text-decoration: none;
  color: inherit;
}
.about-text p {
  font-size: 1.3rem;
}

.about-headshot-mobile {
  max-width: 60%;
}

.title-name {
  font-family: 'Alegreya SC', serif;
  font-size: 2.1em;
  line-height: 90%;
  font-weight:500;
  color: var(--dark_blue) !important;
}
.title-email {
  font-size: 1.2rem;
}
.title-small{
  font-size: 1.1rem;
}

.info-text {
  background-color: #f2f2f2;
}


.link-button {
  font-family: 'Alegreya', serif;
  font-size: 2rem;
  color: var(--blue);
}

.link-button-small {
  font-family: 'Alegreya', serif;
  font-size: 1.4rem;
  padding-left: .5rem;
  padding-right: .5rem;
  color: var(--blue);
}

.drop-shadow {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Style font awesome */
.fa {
  padding-left: 5px;
  padding-right: 5px;
  font-size: 30px;
  text-align: center;
  text-decoration: none;
}
.fa:hover {
  opacity: 0.7;
  text-decoration: none;
}


/* Expand/collapsible news entries */

.news-title {
  font-family: 'Alegreya', serif;
  font-size: 1.5rem;
  font-weight: 200;
}

.expandable-list ul {
  list-style-type:none;
  margin-left: 1em;
  padding-left: 0;
  margin-bottom: 0;
}

.expandable-list .extra-item {
  display: none;
}

.news-date {
  /* color: var(--blue); */
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 500;
  inline-size: 4em;
  font-family: 'Alegreya', serif;
}

.news-entry {
  font-size: 1.2rem;
}

.news-expand-button {
  cursor: pointer;
  text-align: center;
  margin-left: 1em;
  color: var(--blue);
}


/* Content summaries */

.content-header {
  margin-bottom: 0px;
  border-bottom-style: solid;
  border-width: 2px;
  text-align: left;
}

.content-header col {
  padding-right: 0px;
}

.content-header p {
  font-weight: bold;
  font-size: 2.0rem;
  margin-bottom: 0px;
  margin-right: 0px;
}

.content-header-linebreak {
  height: 30px;
  margin-bottom: 15px;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
}

.publication-title {
  font-family: 'Alegreya', serif;
  /* font-variant: small-caps; */
  font-size: 1.3rem;
  font-weight:500;
  margin-bottom: 0px;
  margin-top: 0px;
  padding-top: 0px;
}
.publication-authors{
  margin-top: 0px;
  margin-bottom: 0px;
}


.publication-code {
  /*display: none;*/
}

.publication-venue {
  margin-bottom: 0;
  font-style: italic;
}

.badge-button {
  font-size: 1rem !important;
  /*background: var(--white) !important;*/
  /*line-height: 225% !important;*/
  /*margin-right: 0.25rem !important;*/
  color: var(--blue) !important;
  padding: 3px !important;
  /*margin-left: 0.25rem !important;*/
  /*border: var(--blue) 1px solid !important;*/
  text-decoration: none !important;

}

.sep {
  margin-left: 0.25rem !important;
  margin-right: 0.25rem !important;
}

.pub-links {
  margin-bottom: 0.7em;
}

.badge-button:hover {
  /*text-decoration: none;*/
  /*background: var(--blue) !important;*/
  /*color: var(--white) !important;*/
}


.full-title {
  font-family: 'Alegreya', serif;
  font-size: 3em;
  margin-top: 0px;
  margin-bottom: 0px;
  text-align: center;
  align: center;
}

.authors-list {
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 1.2em;
  text-align: center;
  align: center;
}

.plain-link {
  color: #000000 !important;
  text-decoration: underline !important;
}

.publication-status {
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 1.2em;
  text-align: center;
  align: center;
  color: var(--blue);
}
.publication-bibtext {
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 0.8em;
}
.extras {
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 1.2em;
  text-align: center;
  align: center;
  color: var(--blue);
  font-weight: bolder;
}
.hover {
  text-decoration: none;
}


.code-area {
  background-color: #f7f7f7; /* Light grey background */
  border: 1px solid #ddd; /* Light grey border */
  border-radius: 4px; /* Rounded corners */
  font-family: Consolas, "Courier New", monospace; /* Monospace font for code */
  overflow: auto; /* Horizontal scrolling for long lines */
  white-space: pre-line; /* Ensures that data is preformatted and wraps */
  word-wrap: break-word; /* Breaks long words */
  overflow: auto;
  width: 600px;
}

.card {
    border-radius: 1em;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    background-color: var(--cream) !important;
    padding-top: 6em !important;
}

#news{
    /*background-color: #D1E9F6;*/
    /*background-color: #daf0fc;*/
    background-color: #7EAEB14D;
    /*background-color: #93C572;*/
    margin-top: 3em;
    border-radius: 1em;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}


#main{
    padding-top: 60px;
    /*overflow:auto  !important;*/

}

#portrait, #portrait-mobile {
    border-radius: 1em;
    /* add shadow */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


.fancy-button {
  position: relative;
  padding: 5px 10px;
  text-decoration: none;
  color: black;
  /*display: inline-block;*/
  overflow: hidden;
  transition: color 0.3s ease; /* Smooth transition of text color */
}

.fancy-button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%; /* Start from the center */
  width: 0;
  height: 2px; /* Thickness of the underline */
  background-color: var(--blue); /* Color of the underline */
  transition: width 0.3s ease, left 0.3s ease; /* Animate both width and left */
  transform: translateX(-50%); /* Keep the underline centered */
}

.fancy-button:hover::after {
    width: 100%; /* Full width of the button */
    left: 50%; /* Keep the left property at 50% so it grows from the center */
    transform: translateX(-50%); /* Ensure it's centered */
}

.fancy-button:hover {
    color: var(--blue);
}

.nav-link {
    font-size: 1.5rem
    /* large !important; */

}

#publications_section {
  scroll-margin-top: 0.5em;
  padding-top: 5em;
}
.my-pub{
  /*box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
  box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0.2), 0 2px 6px 0 rgba(0, 0, 0, 0.19);
}

.navbar{
  /*color: #CDC2A5*/
  backdrop-filter: blur(10px) !important;
  /*background-color: rgb(246, 246, 246) !important;*/
  background-color: rgba(255, 255, 255, 0.4) !important;
  -webkit-backdrop-filter: blur(10px);
  /*margin-top: 1px;*/
  border-top-left-radius: 0.4em;
  border-top-right-radius: 0.4em;
  margin: 0 !important;

}

.publication-bibtext {
    margin-bottom: 1em !important;
  /*overflow: hidden;*/
  /*width: 500px;*/
}
.pup_bibtext {
  margin-bottom: 0 !important;
  /*float: left;*/
}
.news_venue {
  color: var(--dark_blue);
}

/*#######################*/
/*Timeline*/
.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

    /*vertical line*/
    .timeline:before {
        top: 4em;
        bottom: 13em;
        position: absolute;
        content: " ";
        width: 3px;
        background-color: var(--blue);
        /*left: 21.75%;*/
        left: 26%;
        margin-left: -1.5px;
        /*margin-top: 0px;*/
    }

    .timeline > li {
        margin-bottom: 4em;
        position: relative;
    }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li > .timeline-panel {
            width: 40%;
            right: 30%;
            float: left;
            border: 1px solid #d4d4d4;
            border-radius: 2px;
            padding: 1.5em;
            position: relative;
            -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
            box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
        }

        .timeline > li > .timeline-badge {
            width: 40px;
            height: 40px;
            line-height: 50px;
            font-size: 1.4em;
            text-align: center;
            position: absolute;
            top: 16px;
            left: 26.25%;
            margin-left: -25px;
            background-color: var(--cream);
            z-index: 100;
            border-top-right-radius: 50%;
            border-top-left-radius: 50%;
            border-bottom-right-radius: 50%;
            border-bottom-left-radius: 50%;
            border-color: var(--blue);
            border-style: solid;
        }

        .timeline > li.timeline-inverted > .timeline-panel {
            float: right;
        }


.timeline-title {
    margin-top: 0;
    color: var(--blue);
}

.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}

    .timeline-body > p + p {
        margin-top: 5px;
    }

@media (max-width: 767px) {
    ul.timeline:before {
        left: 40px;
    }

    ul.timeline > li > .timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
        padding-right: 0;
    }

    ul.timeline > li > .timeline-badge {
        left: 15px;
        margin-left: 0;
        top: 16px;
    }

    ul.timeline > li > .timeline-panel {
        float: right;
        width: 100%;
        right: 0;

    }
    .timeline:before {
        display: none;
    }
    .timeline-badge {
        display: none;
    }

        /*ul.timeline > li > .timeline-panel:before {*/
        /*    border-left-width: 0;*/
        /*    border-right-width: 15px;*/
        /*    left: -15px;*/
        /*    right: auto;*/
        /*}*/

        /*ul.timeline > li > .timeline-panel:after {*/
        /*    border-left-width: 0;*/
        /*    border-right-width: 14px;*/
        /*    left: -14px;*/
        /*    right: auto;*/
        /*}*/
}

.time-period {
    padding: 0 !important;
    margin: 0 !important;
}
/*#######################*/

#research-interests, #news {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.2rem;
}
#home {
    font-family: 'EB Garamond', serif;
}
.teaching {
    /* font-size: medium; */
    margin-top: 1em !important;
}
.teaching-paragraph {
    font-size: larger;
}

.service {
    margin-top: 1em;
}

.outstanding {
    font-size: small
}

.contact_block {
    margin-top: 1em;
}
.contact_el {
    margin-left: 0 !important;
    padding: 0 !important;
}
.contact_el a {
    margin-left: 0 !important;
    padding: 0 !important;
}
.contact_subtitle {
    margin-top: 1em !important;
}
.contact_subtitle strong{
    padding: 0 !important;
}
.map {
    margin-top: 1em;
}


.location_details {
    list-style-type: none;
    padding-left: 1em !important;

}

/* .section-content strong,
.section-content b { */
  /* font-weight: 700 !important; */
/* } */

.section-content p {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.section-content {
  font-family: 'EB Garamond', serif;
  font-size: 1.3rem;
}
