@import url("palette.css");
@import url("dimensions.css");

* {
    box-sizing: border-box;
}

body {
    max-width: var(--dim-body-width);
    margin: 0 auto;
    font-family: 'Lora', sans-serif;
}

h1 {    
    color: var(--palette-black);
    font-size: 34pt;
    font-family: 'Roboto Black', sans-serif;
    font-weight: normal;
    margin: 15px 0px 20px 0px;
    padding: 0px 0px 0px 0px;
}

h2 {
    color: var(--palette-black);
    font-size: 24pt;
    font-family: 'Roboto Black', sans-serif;
    font-weight: normal;
}

h3 {
    color: var(--palette-black);
    font-size: 20pt;
    font-family: 'Roboto Black', sans-serif;
    font-weight: normal;
    font-style: italic;
}

a {
    color: var(--palette-black);
    font-weight: bold;
    text-decoration: none;
    font-family: 'Roboto Black', sans-serif;
}

a:hover {
  color: var(--palette-light-gray);
}

.highlight_box {
    background: var(--palette-very-light-gray);
    padding: 5px 20px 20px 20px;
    border-radius: 5px;
}

.research_interests {
    color: var(--palette-black);
    font-size: 12pt;
    font-family: 'Roboto Black', sans-serif;    
    font-weight: bold;
}

/**********************************************
 * NAV
 * navigation bar at the top of the screen
 **********************************************/

nav {
    text-align: right;
    padding-top: 5px;
    padding-bottom: 20px;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
    list-style-type: none;
    padding: 0 10px; /** space between items */
}

nav ul li a {
  font-family: 'Roboto Black', sans-serif;
  text-decoration: none;
  font-weight: normal;
  color: var(--palette-black);
}

nav ul li a:hover {
  color: var(--palette-light-gray);
}

#topbar {
    color: var(--palette-black);
    font-size: 30pt;
    font-family: 'Roboto Black', sans-serif;
    font-weight: bold;    
    display: none;
}


/**********************************************
 * SIDEBAR
 * Persistent content on the side of the screen with
 * picture, name, affiliation, etc.
 **********************************************/

#sidebar {
  	float: left;
  	width: var(--dim-sidebar-width);
    text-align: center;
    padding-right: var(--dim-sidebar-padding);
    display: block;
}

#sidebar a {
  color: var(--palette-light-gray);
  text-decoration: none;
}

#sidebar a:hover {
  color: var(--palette-black);
}

#sidebar .name {
  color: var(--palette-black);
  font-family: 'Roboto Black', sans-serif;
  font-size:26px;
}

#sidebar .title {
  color: var(--palette-light-gray);
  font-family: 'Roboto', sans-serif;
  font-size:22px;
}

#sidebar .affiliation {
  color: var(--palette-light-gray);
  font-family: 'Roboto', sans-serif;
  font-size:140%;
}

#sidebar .email {
  color: var(--palette-light-gray);
  font-family: 'Roboto', sans-serif;
  font-size:100%;
}


/**********************************************
 * CONTENT
 * main content of the page
 **********************************************/

#content {
    /*background-color: blue;*/
    float: left;
    max-width: var(--dim-content-width);
}


/**********************************************
 * FOOTER
 * bottom of the page
 **********************************************/

footer {
	clear:both;
	text-align: right;
	color: var(--palette-very-light-gray);
	font-size: 10pt;
  padding-top: 20px;
  padding-bottom: 20px;
}

footer a {
  color: var(--palette-very-light-gray);
  text-decoration: none;
}

footer a:hover {
  color: var(--palette-black);
}

/**********************************************
 * INFO_TABLE
 * table used to display information
 **********************************************/

.info_table th
{
    background: var(--palette-very-light-gray);
    border-top: 1px solid var(--palette-light-gray);
    border-bottom: 1px solid var(--palette-light-gray);
    color: black;
    padding: 8px;
    text-align: left;
}

.info_table td
{
    background: var(--palette-very-very-light-gray);
    border-bottom: 1px solid #fff;
    color: black;
    border-top: 1px solid transparent;
    padding: 8px;
}
    
.info_table tr:hover td
{
    background: var(--palette-very-light-gray);
    color: black;
}


@media only screen and (max-width: 1034px) {
  #sidebar {
        display: none;
  }

  body {
      max-width: var(--dim-content-width);
  }

  nav {
      display: block;
  }
    
    #topbar {
        display: block;
    }
}