@font-face {
  font-family: 'cmr';
  src: url('../fonts/cmunrm-webfont.eot');
  src: url('../fonts/cmunrm-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/cmunrm-webfont.woff') format('woff'), url('../fonts/cmunrm-webfont.ttf') format('truetype'), url('../fonts/cmunrm-webfont.svg#webfont') format('svg');
}
@font-face {
  font-family: "cmr";
  font-weight: bold;
  src: url('../fonts/cmunbx-webfont.eot');
  src: url('../fonts/cmunbx-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/cmunbx-webfont.woff') format('woff'), url('../fonts/cmunbx-webfont.ttf') format('truetype'), url('../fonts/cmunbx-webfont.svg#webfont') format('svg');
}
@font-face {
  font-family: "cmr";
  font-style: italic;
  src: url('../fonts/cmunci-webfont.eot');
  src: url('../fonts/cmunci-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/cmunci-webfont.woff') format('woff'), url('../fonts/cmunci-webfont.ttf') format('truetype'), url('../fonts/cmunci-webfont.svg#webfont') format('svg');
}

@font-face {
  font-family: 'cmb';
  src: url('../fonts/cmunbmr-webfont.eot');
  src: url('../fonts/cmunbmr-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/cmunbmr-webfont.woff') format('woff'), url('../fonts/cmunbmr-webfont.ttf') format('truetype'), url('../fonts/cmunbmr-webfont.svg#webfont') format('svg');
}
@font-face {
  font-family: 'cmb';
  font-weight: bold;
  src: url('../fonts/cmunbbx-webfont.eot');
  src: url('../fonts/cmunbbx-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/cmunbbx-webfont.woff') format('woff'), url('../fonts/cmunbbx-webfont.ttf') format('truetype'), url('../fonts/cmunbbx-webfont.svg#webfont') format('svg');
}
@font-face {
  font-family: 'cmb';
  font-style: italic;
  src: url('../fonts/cmunbmo-webfont.eot');
  src: url('../fonts/cmunbmo-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/cmunbmo-webfont.woff') format('woff'), url('../fonts/cmunbmo-webfont.ttf') format('truetype'), url('../fonts/cmunbmo-webfont.svg#webfont') format('svg');
}


body {
  background-color: #f5f5f5;
  color: black;
  font-family: "cmb";
  line-height: 130%;
}

a:link {
  text-decoration: none;
  color: #454545;
  background-color: inherit;
  font-weight: 200;
}

a:visited {
  text-decoration: none;
  color: #787878;
  background-color: inherit;
  font-weight: 200;
}

a:hover {
  text-decoration: none;
  color: #f55555;
  background-color: inherit;
}


h1 {
  font-size: 170%;
  font-family: 'cmb';
}
h2 {
  font-family: 'cmb';
  font-size: 130%;
}
h3 {
  font-family: 'cmb';
  font-size: 120%;
  font-weight: normal;
  margin-bottom: .5ex;
}
p {
  font-family: 'cmb';
  font-size: 100%;
  width: 100%;
  margin-top: 0;
}
img {
  padding: 0 10px 10px 0;
}


#outer {
  font-family: 'cmb';
  width: 100%;
}

#pcontainer {
  /*font-size: 14px%;*/
  font-family: 'cmb';
}
.containerelem {
  margin: auto;
  max-width: 45em;
}

.category {
  font-size: 150%;
}
/*
 * The title box
 */
#name {
  padding: 0ex 1ex 0ex 1ex;
  text-align: right;
  /*font-size: 130%;*/
}
#name h1 {
  margin-bottom: 0;
  padding-bottom: .5ex;
  border-bottom: 3px solid #c5c5c5;
  font-size: 110%;
  /*font-weight: bold;*/
}
#name h1 a {
  font-weight: normal;
  color: black;
}
#name a {
  font-weight: bold;
  color: #656565;
}
#name a:hover {
  text-decoration: none;
  color: #f55555;
  background-color: inherit;
}
/*
 * The content box
 */
#contentbox {
  color: inherit;
  background-color: #f9f9f9;
  margin-top: 0;
  padding: 1ex;
  border-top: 2px solid white;
  border-bottom: 2px solid white;
  /*height: 50em;*/
}

#content {
  /*overflow: hidden;*/
}

#pagetitle h1 {
  text-align: center;
}

/*
 * Publications
 */
#pubs {
  /*float: left;*/
  margin-top: 2ex;
}
#pubs div h3 {
  font-weight: normal;
}
.pubtitle {
  font-style: italic;
}
.pubyear {
  font-weight: bold;
  font-size: 90%;
}
/*
 * Projects
 */
#projects-container {
  width: 100%;
  overflow: hidden;
}
#projects-container .left {
  float: left;
  padding-right: 4%;
}
#projects-container .right {
  float: left;
}
#projects-container .right,
.left {
  width: 48%;
}
/*.overlay {
    min-height: 4em;
    background-color: rgba(255, 255, 255, .66);
    color: inherit;
    padding: 0;
    margin-right: 0;
}*/
.project-title {
    font-family: 'cmb', sans-serif;
    font-size: 95%;
    font-weight: bold;
    text-align: center;
    text-transform: capitalize;
    /*min-height: 5ex;*/
    margin: 0 0 0 0;
    border-bottom: 1px solid #c5c5c5;
}
.project-content {
    background-repeat: no-repeat;
    /*min-height: 500px;*/
    width: 100%;
    padding: 1ex .0ex .5ex .5ex;
}
/*
 * Address box
 */
#addressbox {
  /*float: left;*/
}
/*
 * Legal notice at bottom
 */
#legal {
  font-size: 70%;
  margin: 5% 0 0 0;
  border-top: 3px solid #c5c5c5;
  padding: 0 1ex 0 1ex;
  /*float: left;*/
}
.contact {
  width: 35ex;
}
.contact-type {
  /*float: left;*/
  font-style: italic;
  width: 7ex;
}
.contact-info {
  float: right;
  width: 28ex;
}
.email {
  color: #555555;
  background-color: inherit;
  font-weight: bold;
  text-decoration: none;
}
.email:hover {
  color: red;
  background-color: inherit;
}
