/* 
 * Simple website style
 * ---------------------------------------------------------------------
 */
/* 
 * Layout
 * ---------------------------------------------------------------------
 */
html {
  height: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: inherit;
}

body {
  min-height: 100%;
  margin: 0;
  padding: 1em 0 0 0;
  display: grid;
  grid-template-rows: 1fr;
}

div#bodywrap {
  min-height: 100%;
  max-width: 45em;
  min-width: 15em;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

header, main, footer {
  padding: 1em;
  margin: 1em;
}

footer hr {
  display: none;
}

footer {
  text-align: center;
}

#footer_quotation {
  margin: 1.5em 1em;
  font-size: 75%;
  background-color: #f5f5f5;
  position: absolute;
  left: 0;
  margin: 0;
  padding: 1em;
  width: 100%;
}

div#footer_quotation blockquote {
  max-width: 45em;
  margin: 0 auto;
}

div#admin_links {
  display: block;
  font-size: 70%;
  margin: 2em auto 0 auto;
  padding: 1em;
}

div#top_header {
  display: block;
  width: 100%;
  padding: 10px;
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: #f5f5f5;
}

/* 
 * Modify design for larger screens
 * ---------------------------------------------------------------------
 */
/* 
 * Colors and fonts
 * ---------------------------------------------------------------------
 */
body {
  background-color: white;
  font-family: Palatino;
  font-size: 1.4em;
  line-height: 1.35;
  color: #63616a;
}

div#bodywrap {
  background-color: transparent;
}

header, main, footer {
  background-color: transparent;
}

div#bodywrap h1:first-of-type {
  margin-top: 0;
}

header h1 {
  margin: 0.5em !important;
  padding: 0;
  border: none;
  text-align: center;
  font-family: sans-serif;
  font-weight: lighter;
}

footer {
  font-family: sans-serif;
}

h1 {
  border-bottom: 1px solid;
  padding-bottom: 0.3em;
}

/* 
 * ---------------------------------------------------------------------
 */
/* Links */
a:link {
  text-decoration: none;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 1px solid blue;
}

a:hover {
  color: #7070ff;
}

/* 
 * Image gallery
 * ---------------------------------------------------------------------
 */
div.gallery {
  text-align: center;
}

/* ***** better use grid */
div.gallery img {
  transition: filter 0.5s;
  filter: grayscale(100%);
  object-fit: cover;
  width: 280px;
  height: 280px;
  border: 1px solid red;
}

div.gallery img:hover {
  filter: grayscale(0%);
}

/* 
 * Buttons
 * ---------------------------------------------------------------------
 */
a.button {
  display: block;
  margin: auto;
  text-align: center;
  font-size: 140%;
  font-weight: bold;
  padding: 0.6em;
  background-color: white;
  border: 1px solid;
  transition: background-color 0.3s;
}

a.button:hover {
  background-color: #eee;
}

/* 
 * Figures
 * ---------------------------------------------------------------------
 */
figure {
  margin: 0;
  text-align: center;
  width: 100%;
}

figure img {
  margin: auto;
  padding: 8px;
  border: 1px solid #63616a;
  max-width: 100% !important;
}

figure.side img {
  margin: 0;
}

@media (min-width: 1400px) {
  figure.side img {
    float: right;
    margin-left: -6em;
    position: relative;
    left: 10em;
    background-color: white;
  }
}
/* 
 * Dates
 * ---------------------------------------------------------------------
 */
span.date {
  display: block;
  margin-top: -1em;
  opacity: 80%;
}

/* 
 * Publications
 * ---------------------------------------------------------------------
 */
ul.publications li, ol.publications li {
  margin-top: 1em;
}

ul.publications div.abstract, ol.publications div.abstract {
  display: none;
  margin-top: 0.5em;
  margin-left: 1em;
  font-size: 90%;
  overflow: hidden;
}

/*# sourceMappingURL=simple.css.map */
