/* cima style */

* {
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}

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

body {
  font-size: 12pt;
  background-color: rgba(0,0,0,1.0);
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  background-blend-mode: normal;
  color: white;
  height: 100%;
  overflow: auto;
  padding: 0;
  margin: 0;
}

img {
    pointer-events: none;
}

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

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

p {
  font-size: 100%;
}

footer {
  display: flex;
  width: 100%;
  background-color: rgba(0,0,0,1);
  padding: 5px 10px;
  text-align: left;
  color: white;
  z-index: 100;
  position: fixed;
  bottom: 0;
  overflow: hidden;
}

/* front home page style */

.frontpage {
  background-image: url("../images/front_background.jpg");
  background-color: rgba(0,0,0,0.5);
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  background-blend-mode: overlay;
  color: white;
  height: 100%;
  overflow: hidden;
}

.huge {
  font-size: 42pt;
}

.big {
  font-size: 32pt;
}

div.cima {
  display: block;
  margin: 0;
  padding: 20px 10px;
  border: 0;
  color: #fff;
  background-color: rgba(0,0,0,.7);
  position: absolute;
  width: 100%;
  top: 40px;
  left: 0%;
  overflow: auto;
  text-align: left;
}


/* regular page */

.commonbody {
  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");
}

.xmission {
  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 {
  color: black;
  background-color: rgba(255,255,255,1.0);
  border: 0px solid black;
  padding: 0px 20px;
  padding-top: 5px;
  width: 100%;
  text-align: left;
  line-height: 1.25;
  overflow: auto;
  position: absolute;
  top: 50px;
  bottom: 50px;
  z-index: 0;
}

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: #000;
  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.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.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.publications {
  padding-top: 0px;
  padding-bottom: 20px;
  padding-left: 0px;
  position: relative;
  line-height: 120%;
  background-color: rgba(255,255,255,0.9);
  color: #000;
}

img.across {  
  width: 100%;
  height: auto;
  float: center;
  padding: 10px 0px;
}

/* 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: 50px;
  color: #fff;
  z-index: 100;
  border: 0px solid white;
  top: 0;
  margin: 0;
  padding: 0;
  position: sticky;
  background-color: rgba(200,0,0,1);
}


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

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: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 5px 10px;
  #border-bottom: 2px solid transparent;
}

ul.topmenu li a:hover {
  text-decoration: none;
  #border-radius: 80px;
  #color: #000;
  color: #bbb;
  #font-weight: 600;
  #border-bottom: 2px solid white;
  #background-color: rgba(0,0,0,1.0);
  #background-color: rgba(173,255,150,1.0);
}

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

.dropdown { display: none }

/* bottom section */

div.bottom {
  width: 100%;
  position: fixed;
  overflow: hidden;
  bottom: 0;
  padding: 0;
  background-color: rgba(0,0,0,1);
  color: #888;
  border: 0;
  border-top: 1px 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 {
  width: 100%;
  display: block;
  margin: 0;
  #font-size: 20px;
  float: left;
  border: 0px solid blue;
}

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: 0px;
  font-size: 24pt;
  font-weight: bold;
  color: #555;
  text-align: left;
  border: 0px solid red;
}

.logo {
  height: 30px;
}

.headericon {
  width: auto;
  height: 100%;
  float: right;
  position: relative;
  top: 0;
  padding: 0;
  margin: 0;
  border: 1px solid red;
  
}

li.spaced {
  margin: 10px 0;
}

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


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: 0;
  background-color: transparent;
}

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

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: 0;
  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-left: 10px;
  padding-bottom: 10px;
}

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

dl.articles a { 
  font-size: 16px;
}

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

/* responsiveness */

@media screen and (max-width: 768px) {
  body {  font-size: 16px }

  h1 {  font-size: 20px }
  h2 {  font-size: 18px }

  .headericon {
    height: 30px;
    width: auto;
    border: 3px;
  }

  
  div.cima .huge { font-size: 40px; }
  div.cima .big { font-size: 28px; }

  div.main {
    top: 40px;
    padding-top: 20px;
    font-size: 16px;
  }

  div.mugshot {
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
  }
  
  div.mugshot img {
    width: 96px;
    height: 96px;
  }

  dl.articles { margin-left: -15px; }
  
  ul.topmenu { display: none; }

  .dropdown {
    display: inline-block;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100vw;
    background-color: rgba(200,0,0,1);
  }
  
  .dropbutton {
    display: block;
    color: #fff;
    font-size: 58px;
    font-weight: 400;
    border: 0px solid red;
    background-color: transparent;
    cursor: pointer;
    float: right;
    padding-right: 10px;
    line-height: 25px;
  }

  .dropdown-content {
    display: none;
    float: right;
    position: absolute;
    color: black;
    background-color: rgba(220,220,220,1.0);
    min-width: 0vw;
    padding: 10px;
    #box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.8);
    z-index: 200;
    right: 0;
  }

  .dropdown-content a {
    display: block;
    color: #000;
    padding: 5px 2px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    border-bottom: 1px solid #888;
  }

  .dropdown-content a:last-child {
    border-bottom: 0px;
  }
  
  .dropdown .cimaheader {
    float: left;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    border: 0;
  }
  
  #.dropdown:hover .dropbutton { display: none; }
  #.dropdown:focus .dropbutton { display: none; }
  
  #.dropdown:hover .dropdown-content { display: inline-block; }
  #.dropdown:focus .dropdown-content { display: inline-block;}

  #.dropbutton:hover .dropdown-content { display: inlne-block }
  
  .dropdown-content a:hover {
    color: #000;
    background-color: #fff;
  }

  .show { display: block; }

  .pheader {
    font-size: 20px;
    font-weight: 800;
    text-align: left;
    padding: 10px 0px;
    float: left;
    width: 100vw;
    border: 0px solid red;
    border-bottom: 1px solid #ccc;
    
  }
}




@media screen and (max-width: 600px) {
}
