
/*Colors:
Black: #151619
Dark Blue: #41464d
Off-white: #dfe5eb
Gray: #7a7d81
Dark Gray: #414244
*/

html, body {
}

html, body, h1, h2, h3, p, div {
    margin: 0;
    padding: 0;
    font-family: "Gill Sans", "Gill Sans MT", Helvetica, Arial, sans-serif;
    color: #41464d;
    font-size: 1em;
    font-weight: normal;
}

li  {
    list-style: none;
}

a, a:visited{
   text-decoration: none;  
   color: blue; 
}

nav ul {
    margin: 0;
    padding: 0;
    font-family: "Gill Sans", "Gill Sans MT", Helvetica, Arial, sans-serif;
    color: #41464d;
    font-size: 1em;
    font-weight: normal;
}

.wrap {
    width: 800px;
    margin: auto;
    overflow: hidden;
}

.hidden {
    display: none;
}


/* Header Styles */

header {
    /*background-image: url("images/header-gradient.png");*/
    background: white;
    width: 100%;
    
}

header h1 {
    font-size: 4em;
    line-height: 60px;
    width: 220px;
    float: left;
}


header ul {
    letter-spacing: 1px;
    font-size: 16px;
    color: #565C63;
    padding-top: 10px;
    padding-left: 7px;
}

header .wrap {
    padding: 30px;
}

header img { 
    float: left; 
    height: auto;
    width: 200px;
    margin-right: 30px;
    border: 3px solid #C2D1E0;
}

header ul {
    float: left;
    width: 400px;
}

header p {
    text-align: right;
}



/* Navigation Styles */

nav {
    width: 100%;
    font-size: 16px;
    background:#336699;
    border-top: 1px solid #565C63;
    border-bottom: 1px solid #565C63;
    overflow: hidden;
}


#content nav a {
    text-decoration: none;
    color: #FFF;
    text-align: center;
    display: inline-block;
    float: left;
    width: 14%;
    padding: 15px 0;
    border-left: 1px solid #336699;
    border-right: 1px solid #336699;
}

#content nav a.selected, nav a:hover  {
    color: #151619;
    background: #C2D1E0;
    border-left: 1px solid #9BA7B3;
    border-right: 1px solid #9BA7B3;
    
}


/* Main Content Styles */

#content {
    width: 100%;    
    overflow: hidden;
}

#main {
    width: 100%;
    float: right;
    background: white;
    min-height: 450px;
    
}

#main p, #main li, #main ul, #main td{
    padding-top: 0;
    margin-top: 0;
    font-size: 14px;
}

#main td {
    padding: 10px;}

#main li {
    padding-bottom: 10px;
    padding: 10px;
}

#main a:hover {
    color: #565C63;
}

#positions th {
   text-align: left;
   font-family: arial;
   font-size: 14px;
}

#main h2 {
    color: #394467;
    padding-bottom: 1em;
    font-size: 18px;
}

#main .wrap {
    width: 700px;
    padding: 40px 100px;
}



#publications img {
    height: 75px;
    border: 1px solid #CCC;
    padding: 2px;
}

#publications td {
    vertical-align: top;
    padding-top: 18px;
}

#publications td:first-child {
    padding-top: 10px;
}

#publications td:nth-child(3) {
    width: 100px;
}

#publications h2 {
    margin-top: 25px;
}

#publications {
    border-top: 1px solid #CCC;
    margin-top: 20px;
    clear: both;
}

#publications .abstractbox {
   padding-bottom: 20px;
   padding-top: 0px;
   border-bottom: 1px solid #CCC;
   border-right: 1px solid #CCC; 
}

#publications td p {
    padding-top: 10px;
}

.link:hover, .abstract:hover{
   cursor: pointer;
   color: purple;
}

.link, .abstract {
    color: blue;
}


/* Footer Styles */

footer {
    /*background-image: url("images/header-gradient.png");*/
    height: 150px;
    width: 100%;
    margin-top: 0px;
    border-top: 1px solid #565C63;
    border-bottom: 1px solid #565C63;
    background: #336699;
}

footer p {
    letter-spacing: 1px;
    font-size: 15px;
    padding: 20px;
    float: left;
    color: #FFF;
}

#email {
  float: right; 
  padding-right: 40px;
}

#travel h3 {
    font-size: 18px;
    padding: 20px 0 10px 0;
}

#travel li {
    list-style: disc;  
}

#travel li:first-child { 
    margin-top: 10px;
}

#travel a, #travel a:visited {
    color: rgb(0, 0, 238);
}

#research h3 {
    padding: 15px 0;
}

#talks td {
    padding: 30px 20px;
    border-top: 1px solid #CCC;
}

#talks td img {
    max-width: 300px;
}

#talks table {
    width: 100%;
}

#home td{
    padding: 20px 10px 25px 10px;
    text-align: center;
    height: 80px;
}

#home td p {
    padding-top: 10px;
}

#home table {
    margin-top: 20px;
    width: 100%;
}

#home ul {
    margin-top: 10px;
}

#home img {
   height: 80px;
    padding: 0px 5px;  
}

#sortform {
    margin-bottom: 15px;
}

ul {
    overflow: hidden;   
}

#groupName li{
    float: left;   
}

#links {
    border-bottom: 1px solid #CCC;
    margin-bottom: 10px;
    padding-bottom: 20px;
}

#links h2, #links p {
    display: inline;
}

#links h2 {
   padding-right: 15px;
}

#links a {
    display: inline-block;
}

.home-flex {
    display: flex;
    justify-content: space-around;
    padding: 3rem 0;
}

.home-flex div,
.home-flex a,
.home-flex p {
    text-align: center;
}