body {
    /* default font-size is 16px - this is set in the default browser stylesheet */
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    padding-top: 0em;
}

/* don't underline links */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn:hover {
    text-decoration: none;
}

/*.ul_links a {
	text-decoration: underline;
}*/

/* make navigation bar span the whole page */
.navbar {
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1em;
    padding-right: 1em;
}

/* padding for main box */
.outer {
    padding-left: 1em;
    padding-right: 1em;
}

/* main box with shadow */
.inner {
    max-width: 1050px;
    border-radius: 10px;
    padding: 1em;
    box-shadow: 0 0 16px rgb(0 0 0 / 10%);
    -moz-box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 0 16px rgb(0 0 0 / 10%);
}

/* menu button click */
#body_ .home, #body_publications .publications, #body_press .press, #body_open .open, #body_teaching .teaching, #body_applying .applying, #body_cv .cv {
    color: #555;
    background-color: #E7E7E7;
}

.nav-link {
    font-variant: small-caps;
}

hr {
    width: 100%;
}

.sort_by hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* main table for publications and teaching */
.main_table {
    table-layout: fixed;
    width: 100%;
}

/* header column floating on the left */
.main_table .col_header {
    width: 140px;
    vertical-align: top;
    text-align: right;
    text-transform: uppercase;
    padding-right: 20px;
}

/* main table data */
.main_table .col_data {
    width: 100%;
    /*padding-bottom: 2em;*/
}


.teaching_table .col_header {
    padding-top: 5px;
}

/* header column font */
.main_table h3 {
    font-size: 1em;
    margin-top: 0px;
}

.data_block dt {
    margin-bottom: 1px;
}

.data_block dd p {
    margin-bottom: 1px;
}

.data_block dl {
    margin-bottom: 2em;
}

.data_block dt a:link {
    /*text-decoration: none;*/
    font-weight: bold;
}

.data_block dt {
    /*margin-bottom: 2px;*/
}

.data_block dd p {
    /*margin-bottom: 2px;*/
}

.data_block dl {
    margin-bottom: 2em;
}

.data_block dt a:link {
    /*text-decoration: none;*/
    font-weight: bold;
}

dt span {
    font-weight: 400;
    color: black;
}

.box {
    max-width: 100%;
}

.box div {
    overflow: auto;
    margin: 0px 0px 0px 0px;
    font-size: inherit;
    padding: 5px 9.5px 5px 9.5px;
    border: 1px solid #CCC;
    border-radius: 4px;
}

.abstract {
    background-color: #EBF4FA;
}

.bibtex {
    background-color: #F5F5F5;
    font-family: "monaco";
}

.bibtex pre {
    border: none;
    margin: 0px;
    padding: 0px;
}

/* link icons */
.icon {
    display: inline-block;
    vertical-align: middle;
    height: 16px;
    width: 16px;
    position: relative;
    bottom: 1px;
    background-size: 16px 16px;
    background-repeat: no-repeat;
}

.icon-large {
    display: inline-block;
    vertical-align: middle;
    height: 24px;
    width: 24px;
    position: relative;
    bottom: 1px;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    margin: 0 0 0 5px;
}

.links {
    line-height: 1.2;
}

.links div {
    display: table-cell;
}

.link_header {
    width: auto;
    float: left;
    margin: 3px 0px 3px 0px;
    vertical-align: middle;
    line-height: 1.5;
    padding: 0.375rem;
}

.btn {
    margin: 3px 0px 3px 0px;
}

/* main page */
.imagebox {
    max-width: 250px;
    padding-left: 20px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 10px;
    float: right;
    display: inline;
}

/*@media screen and (min-width: 1000px)  {*/
/*	.imagebox {*/
/*		min-height: 400px;*/
/*	}*/
/*}*/

.imagebox img {
    width: 100%;
}

.bulletlist li {
    list-style-type: square;
    margin-left: 15px;
}

a img {
    vertical-align: text-bottom;
    text-decoration: none;
}

b a {
    color: red;
    text-decoration: underline;
}

.link_img:hover {
    text-decoration: none;
}

ul {
    list-style: none;
    padding-left: 10pt;
}

.news {
    list-style-type: square;
    padding-left: 20pt;
}

.news li {
    margin-top: 5px;
}

.news .details {
    list-style-type: square;
    padding-left: 20pt;
}

.news .details li {
    margin-top: 0px;
}

/* to avoid layout change when scroll bar appears */
html {
    overflow-y: scroll;
}

.pdfdiv {
    height: calc(100vh - 200px);
}

.award {
    color: #8B0000;
    /*background: yellow;*/
}

.author_order {
    color: #7E5109;
    white-space: nowrap;
}

.talk_title {
    font-weight: bold;
    font-style: italic;
}

.link_img {
    text-decoration: none;
}

blockquote {
    font-size: small;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 40px;
    margin-inline-end: 40px;
    padding: 5px 0px 5px 15px;
    border-left: 5px solid #eee;
}

.talk_links {
    margin-left: 0.5em;
    display: inline-block;
}

.talk_links .btn {
    margin: 0px;
    padding: 0.0em 0.5em 0.0em 0.5em;
    font-size: 14px;
}

.contact ul {
    padding-left: 0px;
}

.contact li {
    display: inline-block;
    padding-right: 5px;
}

.video video {
    width: 100%;
    height: 75%;
}

.video iframe {
    width: 100%;
    height: 75%;
}

.job-market {
    /*border: 2px solid #7EC8E3;*/
    font-weight: bold;
    padding: 5px;
    margin-bottom: 10px;
    width: 75%;
    text-decoration: underline;

}

.vid {
    float: left;
    padding: 10px;
    width: 340px;
    height: 280px;
    box-sizing: border-box;
}

.vid p {
    text-align: center;
    font-weight: bold;
}

.col-md-4 {
    text-align: center;
    padding-right: 2px;
    padding-left: 2px;
    padding-bottom: 20px;
}

/* Increase all font sizes on mobile */
@media (max-width: 767px) {
    body {
        /* default is 1rem or 16px */
        font-size: 18px;
    }

    ul {
        padding-left: 0pt;
    }

    .outer {
        padding-left: 10pt;
        padding-right: 10pt;
        margin-top: 10pt;
    }

    .inner {
        padding-left: 10pt;
        padding-right: 10pt;
    }
}

.card:hover{
     transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}

@media screen and (max-width: 1200px) {
    body .vid {
        float: left;
        padding: 10px;
        width: 200px;
        height: 180px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 600px) {
    body .main_table .col_data {
        width: 100%;
        display: block;
    }

    body .main_table .col_header {
        width: 100%;
        display: block;
        text-align: center;
    }

    body .imagebox {
        min-height: 0px;
        /*display: none;*/
        max-width: 300px;
        display: block;
        margin: auto;
        float: none;
        text-align: center;
        padding-top: 10px;
        padding-bottom: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .pdfdiv {
        height: 60vh;
    }

    body .vid {
        float: left;
        width: 90%;
        height: 400px;
        box-sizing: border-box;
        padding-bottom: 30px;
    }
}


/* === Dartmouth Theme Overrides === */
:root {
    --dartmouth-green: #00693e;
    --dartmouth-light: #e6f0ec;
    --text-color: #111;
    --link-color: var(--dartmouth-green);
    --link-hover-color: #005c36;
}

body {
    background-color: white;
    color: var(--text-color);
}

a {
    color: var(--link-color);
}

a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

/* Section headers */
h3, h4 {
    color: var(--dartmouth-green);
}

/* Dartmouth banner box */
.dartmouth-box {
    border-left: 6px solid var(--dartmouth-green);
    background-color: var(--dartmouth-light);
    padding: 1em;
    margin: 2em 0;
    line-height: 1.6;
}