/*
   emlab.css: the style sheet for elliot meyerowitz lab
   created: feb/21/2013
   updates: jan/2019
   author: alexandre cunha - cunha@caltech.edu
*/
@import url(https://fonts.googleapis.com/css?family=Karla);
@import url(https://fonts.googleapis.com/css?family=Yantramanav);


html {
  margin: 0;
  padding: 0;
  height: 100%;
}

* {
  font-family: 'Lucida Sans Unicode', 'Lucida Grande', Helvetica, Arial;
  font-size: 11pt;
  font-style: normal;
  font-weight: normal;
  line-height: 120%;
}

body {
  color: #333;
  background-color: #fff;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

a {
  color: #ff7800;
  text-decoration: none;
  outline: none;
  border: 0;
  font-weight: bold;
}

a:hover {
  color: #000;
  border-bottom: 1px solid black;
}

div.wrap {                      /* need this to send navbottom to bottom of page */
  min-height: 100%;
}

div.header {
  position: relative;
  display: inline-block;
  width: 100%;
  height: auto;
  border: 0;
  margin: 20px auto;
  
  color: #333;
  text-align: left;
  font-weight: 500;
  font-size: 28px;
}

div.header hr {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  margin-bottom: 1px;
  border: 1px solid #ddd;
}

div.header div {
  float: right;
}

div.header a {
  color: #777;
  font-size: 11pt;
  text-decoration: none;
  outline: none;
  border: 0;
  padding: 0px 0px;
  border-bottom: 2px solid #fff;
}

div.header a:hover {
  color: black;
  border-bottom: 2px solid #777;
}

div.header img {
  position: relative;
  border: 0;
  height: 140px;
  float: right;
  clear: right;
}

div.container {
  position: relative;
  display: block;
  margin: 0 auto;
  width: 90%;
  overflow: hide;
  padding-bottom: 80px;                         /* MUST be equal to H + P below */
}

div.emphoto {
  display: inline-block;
  position: relative;
  width: 100%;
  height: auto;
  margin: 30px auto;
}

div.emphoto img {
  width: 140px;
  height: auto;
  float: left;
  
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;

  /* because webkit does not render corners well... */
  margin: 10px;
  box-shadow: 0px 0px 0px 10px #ddd;
  -moz-box-shadow: 0px 0px 0px 10px #ddd;
  -webkit-box-shadow: 0px 0px 0px 10px #ddd;
}

div.emphoto p {
  display: inline-block;
  margin: 0;
  padding-left: 20px;
  font-size: 14pt;
  font-style: normal;
  font-weight: 700;
}

div.mugshot {
  display: inline-block;
  position: relative;
  width: 100%;
  height: auto;
  margin: 5px auto;
  border: 0px solid black;
}

div.mugshot p {
  display: inline-block;
  margin: 0;
  padding-left: 20px;
  font-size: 11pt;
  font-style: normal;
  font-weight: 200;
}

div.mugshot img {
  width: 120px;
  height: auto;
  float: left;

  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;

  /* because webkit does not render corners well... */
  margin: 8px;
  box-shadow: 0px 0px 0px 8px #ddd;
  -moz-box-shadow: 0px 0px 0px 8px #ddd;
  -webkit-box-shadow: 0px 0px 0px 8px #ddd;

  border: 1px solid white;
}

div.mugshot img.former {
  width: 70px;
  height: auto;
  float: left;

  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;

  /* because webkit does not render corners well... */
  margin: 8px 16px 8px 8px;
  box-shadow: 0px 0px 0px 4px #ddd;
  -moz-box-shadow: 0px 0px 0px 4px #ddd;
  -webkit-box-shadow: 0px 0px 0px 4px #ddd;

  border: 1px solid #eee;
}

.name {
  display: block;
  font-size: 11pt;
  font-weight: 700;
}

.pheader {
  font-size: 14pt;
  font-weight: bold;
  color: #777;
}

div.text {
  text-align: justify;
  text-justify: inter-word;
}

div.labphoto_2016 {
  display: inline-block;
  margin: 20px 0px;
  width: 100%;
}

div.labphoto_2016 ul {
  list-style-type: none;
  width: 100%;
  float: left;
  padding: 0;
}

div.labphoto_2016 ul li {
  font-size: 14pt;
  float: left;
  clear: left;
}

div.labphoto_2016 dl {
  list-style-type: none;
  width: 100%;
  border: 0px solid red;
}

div.labphoto_2016 dl dt {
  display: inline;
  font-weight: bold;
  font-size: 14pt;
  float: left;
  clear: left;
  width: 100px;
  text-align: left;
  margin-right: 5px;
}

div.labphoto_2016 dl dt:after {
  content: ":"
}

div.labphoto_2016 dl dd {
  font-size: 14pt;
  margin: 0 0 0 100px;
  padding: 0 0 0.5em 0;
}

div.labphoto_2016 a {
  display: inline-block;
  float: clear;
  margin: 0;
}

div.labphoto_2016 img {
  display: block;
  width: 1000px;
  height: auto;
  float: left;

  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;

  /* because webkit does not render corners well... */
  box-shadow: 0px 0px 0px 8px #ddd;
  -moz-box-shadow: 0px 0px 0px 8px #ddd;
  -webkit-box-shadow: 0px 0px 0px 8px #ddd;
}

div.labphoto {
  display: inline-block;
  margin: 20px 0px;
  width: 100%;
}

div.labphoto img {
  width: 420px;
  height: auto;
  float: left;

  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;

  /* because webkit does not render corners well... */
  margin: 4px 20px 0px 0px;
  box-shadow: 0px 0px 0px 8px #ddd;
  -moz-box-shadow: 0px 0px 0px 8px #ddd;
  -webkit-box-shadow: 0px 0px 0px 8px #ddd;

  #border: 8px solid #333;
}

div.photo {
  position: relative;
  display: inline-block;
  #top: 100px;
  #left: 400px;
  margin: 10px 20px;
  #border: 1px solid red;
}

div.photo img {
  width: 400px;
  height: auto;
  float: left;

  border: 2px solid black;
}

div.photo span {
  display: inline-block;
  width: 400px;
  margin: 10px auto;
}


/* div used for thumbnails of images */

div.thumbnails {
  display: block;
  position: relative;
  width: 380px;
  min-width: 380px;
  #min-height: 800px;
  margin: 0px;
  margin-top: 10px;
  border: 0;
  padding: 0;
  background-color: transparent;
  float: left;
  border: 0px solid blue;
}

div.thumbnails img {
  width: 100px;
  #max-height: 100px;
  padding: 0;
  margin: 4px;
  float: left;

  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

div.thumbnails img:hover {
  opacity: 0.4;
  filter: alpha(opacity=40);
}

div.imgthumb a {
  padding: 0px;
  border: 0px;
  text-decoration: none;
}

div.imgthumb a img {
  width: 100px;
  max-height: 100px;
  padding: 0;
  margin: 4px;
  float: left;

  border-width: 2px;
  border-color: #ddd;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

div.imgthumb a:hover img {
  opacity: 0.4;
  filter: alpha(opacity=40);
}

div.imgthumb a div {
  position: absolute;
  top: 240px;
  left: 90px;
  width: 0px auto:
  border: 1px solid green;
}

div.imgthumb a div img.art {
  display: none;
  position: top center;
  opacity: 1.0;
  filter: alpha(opacity=100);
  max-width: 700px;
  width: auto;
}

div.imgthumb a:hover div img.art {
  position: absolute:
  top: 50px;
  min-height: 200px;
  max-height: 500px;
  display: block;
}

div.imgthumb a span.imgtext {
  display: none;   % hide it!
}

div.imgthumb a:hover span.imgtext {
  display: inline-block;
  #position: relative;  /* absolute; */
  #right: 10%;
  left: 400px;
  #margin-left: 10%;

  #margin-right: 10%;
  #margin-top: 10px;
  #width: 500px;
  #top: 650px;
  color: black;
  background-color: transparent;
  padding: 0px;
  border: 0px solid black;
  text-align: left;
  %float: right;
}

.when {
  color: #aaa;
  display: block;
  font-size: 14pt;
  font-weight: 700;
  margin: 0 0 15px 0;
  padding-bottom: 0px;
  float: clear;
}

.title {
  color: #333;
  display: block;
  font-size: 14pt;
  font-weight: 700;
  margin: 0;
  text-align: left;
}

/* navigation related */

div.navbar {                    /* top navigation bar */
  position: relative;
  margin: 0;
  border: 0;
  top: 0px;                                     /* stick to the top of window */
  width: 100%;
  height: 140px; /* auto; */
  padding: 0px 8px;
  padding-top: 8px;
  color: #ccc;
  background-color: #000;
  border-bottom: 0px solid #000;
  background-image: url('../images/header-image-sam.jpg');
  background-repeat: no-repeat;
  text-align: right;
  box-sizing: border-box;
}

div.navbar a {
  color: #ccc;
  text-decoration: none;
  outline: none;
  padding: 4px 6px 12px 6px;    /* 12 = 12 of padding in navbar */
  font-family: 'Yantramanav', 'Karla', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
  font-size: 16pt;
  font-weight: 100;
}

div.navbar a:hover {
  border-bottom: 1px solid #333; /* 10 = 12 ('a' padding) - 2 (navbar bottom border) */
  color: white;
  background-color: #333;
  
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;  
}

div.navbottom {
  display: block;
  position: relative;
  width: 100%;
  color: #aaa;
  background-color: #555;
  text-align: center;
  
  /* the combination of values below sends this div to bottom of page, always */
  border-top: 0px solid #ccc;                   /* B = 0 */
  height: 60px;                                 /* H = 60 */
  padding-top: 20px;                            /* P = 20 */
  margin-top: -80px;                            /* -(60 + 20 + 0): H + P + B  */
  clear: both;
}

div.navbottom a { 
  color: #ccc;
  font-size: 14pt;
  font-weight: 400;
  text-decoration: none;
  outline: none;
  border: 0;
  padding: 0px 6px;
  font-family: 'Karla', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
}

div.navbottom a:hover {
  color: #fff;
  border-bottom: 3px solid #eee;
}

div.navbottom p {
  text-align: center;
  margin: 10px 0 0;
  font-size: 10pt;
  font-weight: 200;
  color: #aaa;
}

.ffield:focus {
  outline: none;
}

span.bold {
  display: inline;
  color: black;
  font-weight: bold;
  text-align: left;
  #margin: 5px auto;
}


/* publications related */


p.line {
  text-align: left;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  color: #000;
  font-weight: bold;
}


div.covers {
  display: block;
  margin: 10px auto;
}

div.covers img {
  display: inline-block;
  height: 120px;
  margin: 0px;
  border: 1px solid black;
}

dl.articles {
  display: block;
  text-align: left;
}

dl.articles dt {
  color: black;
  font-size: 12pt;
  font-weight: 700;
  margin-bottom: 10px;
}

dl.articles dd {
  display: block;
  width: 100%
  padding: 0;
  padding-bottom: 10px;
}

dl.articles div.abstract {
  display: none;
  color: black;
  background-color: rgba(240,240,240,0.5);
  text-align: justify;
  text-justify: inter-word;
  width: 80%;
  padding: 10px 20px;
  border: 1px solid #ccc;
  
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;  
}

dl.articles a { 
  font-size: 10pt;
}

dl.articles a:hover { 
  border: 0;
}

figure {
  margin-top: 40px;
  margin-bottom: 40px;
}
