/*

*/

/* Reset
-------------------------------------------------- */
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}



/* Pix
-------------------------------------------------- */
img {
  display: block;
  max-width: 100%;
}


/* Links
-------------------------------------------------- */
a {
  color: #000;
  text-decoration: none;
  transition: color .3s, background .3s, border .3s;
}
a:hover {
  color: red;
}


/* Clearfix
-------------------------------------------------- */
.cf:after {
  content: "";
  display: table;
  clear: both;
}


/* Header
-------------------------------------------------- */
.header {
}

.logo {
  display: block;
  margin-bottom: 3em;
  margin-left: 2em;
  float: left;
}

.logo img {
  width: 4em;
}

.homelogo {
  display: block;
  margin-bottom: 3em;
  margin-left: 2em;
  float: left;
}

.homelogo img {
  width: 16em;
}

/* project */

.projectitem {
  width:  auto;
  min-width:  11em;
  min-height: 14em;
  max-height: 14em;
  float: left;
  margin: 0em;
  padding: 0em;
  display: table-cell;
  position: relative;
}

/* position title on bottom of projectitem */

.projectitem-title {
  position: absolute;
  bottom: 4.5em;
  color: #666;
  font-size: 0.9em; /* currently ems cause chrome bug misinterpreting rems on body element */

}

/* position image left */
.projectitem img {
  max-height: 8em;
  height: auto;
  max-width: 15em;
  width: auto;
  position: relative;
  float: left;

}

.projects-content {
  margin: 12px 0 0 1.5rem;
}

.texts-content {
  margin: 2px 0 0 1.5rem;
  font-size: 0.9em;
}

.texts-content a {
  color: #666;
}

.textPageText p {
  margin: 0 0 0 0;
}

.textPageText a {
  margin: 0 0 0 0;
}

.textPageDate p {
  margin: -2rem 0 0 0;
}

.textPageImage img {
  max-width: 20rem;
}

.contact-content {
  margin: 8px 0 0 1.5rem;
}

.vita-content {
  margin: 8px 0 0 1.5rem;
  font-size: 0.9em;
}

.news-content {
  margin: 8px 0 0 1.5rem;
}

/* Navigation
-------------------------------------------------- */

.menu {
  float: right;
  margin-right: -1em;
}
.menu > li {
  float: left;
}
.menu > li > a {
  padding: .35em 1em;
  border: 0;
}

.menu a {
  display: block;
  color: #222;
}
.menu a:hover {
  color: #333;
  text-decoration: none;
}
.menu .active {
  color: #666;
  text-decoration: underline;
}

.menu li {
  list-style: none;
}

.sidemenu {
  margin-right: -1em;
  display: block;

}
.sidemenu > li {
}

.sidemenu > li > a {
  padding: .35em 1em;
  border: 0;
}

.sidemenu a {
  display: block;
  color: #222;
}
.sidemenu a:hover {
  color: #333;
  text-decoration: underline;
}
.sidemenu .active {
  color: #666;
  text-decoration: underline;
}

.sidemenu span {
  color: #666;
  padding: .35em 1em;
}

.sidemenu li {
  list-style: none;
}

.submenu {
  position: absolute;
  z-index: 1;
  display: none;
  left: 1em;
}
.submenu:before {
  position: absolute;
  z-index: -1;
  content: '';
  top: -.5em;
  left: 0;
  border-top: .5em solid transparent;
  border-bottom: .5em solid transparent;
  border-left: .5em solid #222;
}
.submenu li {
  border-bottom: 1px solid #444;
}
.submenu a {
  padding: .5em 1.5em;
  font-size: .9em;
  font-weight: 300;
  color: #fff;
  background: #222;
  white-space: nowrap;
}
.submenu a:hover {
  background: #333;
  color: #fff;
}


/* Headings - handled in skeleton
-------------------------------------------------- */

/* Main
-------------------------------------------------- */
.main {
}
.main hr {
  margin: 3em 0;
  height: 2px;
  background: #ddd;
}
.main p,
.main figure,
.main ul,
.main ol {
  margin-bottom: 1.5em;
}
.main a {
}
.main a:hover {
  text-decoration: none;
}

/* Text blocks */
.text ul,
.text ol {
  margin-left: 1em;
}

/* Project meta
-------------------------------------------------- */
.meta {
  margin-bottom: 1.5em;
}
.meta li {
  float: left;
  list-style: none;
  margin-right: 2em;
  color: red;
}
.meta li b {
  font-weight: 400;
  color: #000;
  padding-right: .25em;
}

/* Footer
-------------------------------------------------- */
.footer {
  padding: 1em 0 6em;
  font-size: .8em;
}
.copyright {
  float: left;
}
.colophon {
  float: right;
}
.colophon a b {
  color: red;
  padding-left: .25em;
}


/* */
