/*
Original design: Basic Profile (v2.0 - Sep 11, 2012) - A free xhtml/css 
website template by Andreas Viklund. For more information, see 
http://andreasviklund.com/templates/basic-profile/
*/

* {
  margin: 0;
  padding: 0;
}

body {
  color: #303030;
  font: 84% helvetica, sans-serif;
  line-height: 1.6em;
}

a {
  color: #2a7f45;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1 {
  color: #888;
  font-size: 3em;
  font-weight: bold;
  color: #214f8c;
}

h1 a {
  text-transform: none;
  font-weight: bold;
}

h1 a:hover {
  text-decoration: none;
  color: #eee;
  font-wight: bold;
}

h2 {
  font-size: 2em;
  color: #333;
  margin: 0 0 5px;
  font-weight: bold;
  color: #214f8c;
}

h4 {
  font-size: 1.3em;
  margin: 20px 0;
  font-weight: bold;
  color: #8B0000;
}

h4 a {
  text-transform: none;
  color: #8B0000
  font-weight: bold;
}

h4 a:hover {
  text-decoration: none;
  color: #8B0000;
  font-wight: bold;
}
    

h3,
.seminars > dl > dt {
  font-size: 1.3em;
  margin: 20px 0;
  font-weight: bold;
  color: #214f8c;
}

.seminars > dl > dt a {
  color: inherit;
}

h1,
h2,
h3,
main > dl > dt {
  line-height: 1.2em;
  font-family: "helvetica", sans-serif;
}

main > * {
  margin: 20px 0;
}

main h1:first-child {
  margin-top: 0;
}

main dt {
  font-weight: bold;
}

dd {
  margin-left: 20px;
}

.seminars > dl > dd {
  margin: 0;
}

#wrap {
  color: #303030;
  margin: 40px 40px 0 40px;
  padding: 0;

  display: grid;
  grid-template-areas: 
    'sidebar'
    'main';
  grid-gap: 20px;
}

@media (orientation: landscape) {
  #wrap {
    margin: 40px 200px 0 200px;

    grid-template-areas: 'main sidebar';
    grid-template-columns: 3fr 280px;
    grid-template-rows: auto;
    grid-gap: 40px;
  }
}

main {
  text-align: left;
  grid-area: main;
}

main li {
  list-style: outside;
}

li, ul {
  list-style: outside;
}

li::marker {
  color: #2a7f45;
}

nav {
  grid-area: sidebar;
}

@media (orientation: landscape) {
  nav {
    padding-left: 40px;
    border-left: 2px solid #ccc;
  }
}

nav header {
  max-height: 100%;
}

nav img {
  width: 100%;
  display: none;
  margin-bottom: 40px;
}

@media (orientation: landscape) {
  nav img {
    display: block;
  }
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 10px 0 0 0;
  border-top: 1px solid #eee;
}

nav li {
  list-style: none;
  font-size: 1.2em;
  margin: 0 0 10px;
  padding: 0 0 10px 0;
  color: #888;
  border-bottom: 1px solid #eee;
}

nav li a {
  font-size: 1.2em;
  color: #214f8c;
}

nav h2 {
  font-size: 1.4em;
}

figure {
  width: 100%;
}

figure img {
  display: block;

  max-width: 100%;
  max-height: 70vh;
  margin: 0 auto;
}

figcaption {
  text-align: center;
  font-style: italic;
}

footer {
  color: #555;
  border-top: 1px #1a1a1a;
  padding: 20px 0;
  font-size: 80%;
}

footer p {
  text-align: center;
}

footer a {
  color: #555;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px #333;
}

footer a:hover {
  color: #2a7f45;
  text-decoration: underline;
}

#info {
  font-size: 80%;
}

