/* cambia style */

* {
  box-sizing: border-box;
  font-family: sans-serif;
}

html {
  margin: 0;
  padding: 0;
  font-size: 100%;
  height: 100%;
}

body {
  font-family: sans-serif;
  font-size: 11pt;
  background-color: #fff;
  padding: 0;
  margin: 0;
  color: #333;
}

img {
    pointer-events: none;
}

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

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


/* front home page style */

.frontpage {
  background-image: url("../images/front_background.jpg");
  background-color: #000;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  color: white;
  height: 100%;
  overflow: hidden;
}

.huge {
  font-size: 42pt;
}

.big {
  font-size: 22pt;
  font-weight: 600;
  text-align: center;
}

.soso {
  font-size: 14pt;
  width: 90%;
}

div.cambia {
  display: block;
  margin: 0;
  padding: 0;
  padding-left: 40px;
  border: 1;
  background-color: rgba(0,0,0,.5);
  #background-color: transparent;
  position: absolute;
  width: 100%;
  top: 40%;
  left: 0%;
  text-align: left;
}

div.cambia span {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  line-height: 1.5;
}

/* regular page */

body.body {
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: left top;
  background-attachment: fixed;
  background-size: cover;
  color: #000;
  font-size: 12pt;
  font-weight: normal;
}

body.body.contact {
  background-image: url("../images/beckman-photo-bw.jpg");
}

body.body.mission {
  background-image: url("../images/mission-photo.jpg");
}

body.body.lab {
  background-image: url("../images/lab-photo.jpg");
}

body.body.publications {
  background-image: url("../images/publications-photo.jpg");
}

body.body.members {
  background-image: url("../images/beckman-photo-bw.jpg");
}

body.body.outreach {
  background-image: url("../images/beckman-photo-bw.jpg");
  background-repeat: repeat;
}

div.main {
  margin: 0;
  border: 0px solid red;
  padding: 0px;
  width: 100%;
  top: 0px;
  left: 0;
  text-align: left;
}

div.main.contact {
  padding-bottom: 20px;
  padding-left: 20px;
  background-color: rgba(0,0,0,0.5);
  color: #ffffff;
  position: absolute;
  top: 5%;
  /*bottom: 0;*/
}

div.main.mission {
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  background-color: rgba(255,255,255,0.90);
  color: #000000;
  position: relative;
  #line-height: 120%;
}

div.main.outreach {
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  background-color: rgba(255,255,255,0.95);
  color: #000000;
  position: relative;
  #line-height: 120%;
  overflow: hidden;
}

div.main.lab {
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  background-color: rgba(255,255,255,0.8);
  color: #000000;
  position: relative;
  line-height: 120%;
}

div.main.members {
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  padding-top: 30px;
  padding-bottom: 20px;
  position: relative;
  line-height: 100%;
  background-color: rgba(255,255,255,0.9);
  color: #000;
}

div.main.students {
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  padding-top: 30px;
  padding-bottom: 80px;
  padding-left: 20px;
  position: relative;
  line-height: 100%;
  background-color: rgba(255,255,255,1.0);
  color: #000;
}

div.main.publications {
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  position: relative;
  line-height: 120%;
  background-color: rgba(255,255,255,0.9);
  color: #000;
}

img.across {  
  width: 90%;
  height: auto;
  float: left;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* elements for the top menu bar */

ul.topmenu {
  list-style-type: none;
  overflow: hidden;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: center;
  align-content: flex-end;
  align-items: center;
  width: 100%;
  height: 80px;
  color: #000;
  z-index: 100;
  border: 0px solid red;
  top: 0px;
  margin: 0;
  padding: 0;
  position: sticky;
  #background-color: #4e6064;
  background-color: #fff;
}

ul.topmenu li {
  display: block;
  border-right: 1px solid #444;
}

ul.topmenu li:last-child {
  border-right: none;
}

ul.topmenu li:first-child {
  border-right: none;
}

ul.topmenu li a {
  display: block;
  text-decoration: none;
  text-align: left;
  color: #555;
  font-size: 16px;
  font-weight: 800;
  padding: 5px 10px;
  #border-bottom: 0px solid transparent;
}

ul.topmenu li a:hover {
  text-decoration: none;
  border-radius: 180px;
  color: #000;
  background-color: rgba(220,220,220,0.8);
}

ul.topmenu li a:active {
  background-color: rgba(0,0,0,1.0);
  color: #fff;
}

/* responsiveness */

ul.topmenu li a.icon { 
  display: none;
}

@media screen and (max-width: 600px) { 
  ul.topmenu li a { display: none; }
  ul.topmenu { 
    height: 50px;
    display: block; 
    background-color: rgba(240,240,240,1.0);
    border: 0px solid red; 
  }
  ul.topmenu li.icon a.icon {
    display: block;
    font-size: 24pt;
    font-weight: 800;
  }
 }

@media screen and (max-width: 600px) {
  ul.topmenu.responsive li a.icon {
    display: block;
  }
  ul.topmenu.responsive li { 
    display: block;
  }
 }

/* bottom section */

div.bottom {
  width: 100%;
  position: fixed;
  overflow: hidden;
  bottom: 0;
  padding: 0;
  background-color: rgba(0,0,0,0.5);
  color: #888;
  border: 0;
  border-top: 0px solid #222;
  z-index: 100;
}

div.bottom.lab {
  background-color: rgba(0,0,0,0.5);
}

div.bottom.publications {
  background-color: rgba(0,0,0,0.5);
}

div.bottom span {
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: rgba(0,0,0,0.5);
}

/* headers */

h1.header {
  font-family: 'Open Sans', sans-serif;
  font-size: 24pt;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}

p.section {
  width: 95%;
  font-size: 120%;
  border: 0;
  border-bottom: 1px solid white;
  background-color: transparent;
}

p.pheader {
  padding-bottom: 20px;
  font-size: 14pt;
  font-weight: bold;
  color: #000;
  text-align: center;
}

.logo {
  width: 120px;
}

li.spaced {
  margin: 20px 0;
}

li.spaced b {
  font-weight: bold;
  font-size: 120%;
}


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

div.proj img {
  width: 200px;
  height: auto;
  float: left;
  margin: 8px;
  border: 1px solid #fff;
}

div.mugshot {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  position: relative;
  #width: fit-content;
  width: 460px;
  height: auto;
  margin: 5px auto;
  border: 0px solid black;
  background-color: transparent;
}

div.mugshot p {
  display: inline-block;
  margin: 0;
  padding-left: 10px;
}

div.mugshot a {
  display: inline;
  text-decoration: none;
  text-align: left;
  border-bottom: 0px solid transparent;
}

div.mugshot a:hover {
  color: rgba(0,0,0,1.0);
  
}

div.mugshot a:hover img {
  opacity: 0.5;
}

div.mugshot img {
  width: 128px;
  height: 128px;
  float: left;
  margin-left: 5px;

  border-radius: 180px;
  box-shadow: 0px 0px 0px 0px #ccc;

  border: 2px solid #ffffff;
}

div.mugshot img:hover {
  box-shadow: 20px 2px 0px 0px #ccc;
}

/* publications */

dl.articles {
  display: block;
  text-align: left;
  padding-bottom: 40px;
}

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: #fff;
  background-color: rgba(0,0,0,1.0);
  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;
}


