/* Content start*/
body {
  display: grid;
  grid-template-columns: 1fr 960px 1fr;
  grid-template-rows: auto auto auto 1fr auto;
  grid-template-areas: ". header ." ". cover-image ." ". body ." ". . ." ". footer .";
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Mobile layout */
@media only screen and (max-width: 960px) {
  body {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto 1fr auto;
    grid-template-areas: "header" "cover-image" "body" " . " "footer";
    margin: 0;
    padding: 0;
    min-height: 100vh;
  }
}
body > * {
  margin-top: 1em;
  margin-bottom: 1em;
}

/* Assign components to grid cells */
.site-header {
  grid-area: header;
}

.cover-image {
  grid-area: cover-image;
  justify-self: center;
}

main {
  grid-area: body;
}

footer {
  grid-area: footer;
}

/*Base colors*/
/*Derived Colors*/
/*Base colors*/
/*Derived Colors*/
/*Base colors*/
/*Derived Colors*/
.cover-image {
  background: white;
  box-shadow: 0.5em 0.5em 1em rgba(0, 0, 0, 0.8156862745);
  padding: 1em;
  border-radius: 0.2em;
  max-width: 100%;
  box-sizing: border-box;
}

img {
  overflow: hidden;
  object-fit: cover;
}

/*Base colors*/
/*Derived Colors*/
/*Base colors*/
/*Derived Colors*/
.site-header {
  display: grid;
  grid-template-areas: "logo navigation";
  padding: 0.5em;
}
.site-header .logo {
  grid-area: logo;
  align-self: center;
  display: block;
  max-width: 218px;
}
.site-header .logo img {
  max-width: 100%;
}
.site-header nav {
  grid-area: navigation;
  align-self: center;
  justify-self: right;
  min-width: 200px;
}
.site-header nav ul {
  display: inline-block;
  list-style-type: none;
  padding-left: 0;
}
.site-header nav li {
  display: inline-block;
  margin-left: 1em;
}
@media only screen and (max-width: 960px) {
  .site-header nav li {
    display: block;
    float: right;
    clear: both;
    margin: 0.2em;
  }
}
.site-header nav a {
  font: 12px/1 "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
  color: white;
  text-transform: uppercase;
  font-size: large;
  font-weight: 700;
  text-decoration: none;
}
.site-header nav a.active {
  text-decoration: underline;
}
.site-header nav a:hover {
  color: #2B3A41;
}

/*Base colors*/
/*Derived Colors*/
/*Base colors*/
/*Derived Colors*/
footer {
  padding: 0.5em;
}
footer nav a {
  font: 12px/1 "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
  color: white;
  text-decoration: none;
  margin-right: 1.5em;
}
footer nav a:hover {
  text-decoration: underline;
}

/*Base colors*/
/*Derived Colors*/
/*Base colors*/
/*Derived Colors*/
.doc-nav a {
  display: inline-block;
  border-radius: 0.5em;
  margin: 0.2em;
  padding: 0.7em;
  text-decoration: none;
  background: #2B3A41;
  font-family: "Graduate", cursive;
  text-transform: uppercase;
  color: white;
}
.doc-nav a:hover, .doc-nav a.active.hover {
  background: #57a385;
}
.doc-nav a.active {
  background: #57a385;
}

.image-galery {
  overflow: auto; /*Dirty, ugly, hack. But should work.*/
}

.image-galery ul {
  list-style-type: none;
  padding: 0;
  display: block;
}

.image_container {
  display: block;
  margin-left: 0;
  margin-right: 1em;
  float: left;
}

main img {
  max-height: 200px;
  max-width: 100%;
}

th {
  text-align: left;
  padding-right: 1em;
}

td {
  text-align: left;
  padding-right: 1em;
}

body::before {
  content: "";
  position: fixed;
  display: block;
  z-index: -1;
  width: 110%;
  height: 110%;
  left: -5%;
  top: -5%;
  background: url(/res/images/background-comp.jpg) no-repeat;
  background-size: cover;
  filter: blur(5px);
}

body {
  background: rgba(0, 0, 0, 0.4);
  overflow-y: scroll;
}

header, footer {
  background: white;
  box-shadow: 0.5em 0.5em 1em rgba(0, 0, 0, 0.8156862745);
  padding: 1em;
  border-radius: 0.2em;
  background: #57a385;
}

h1, h2, h3, h4 {
  text-transform: capitalize;
  font-family: "Graduate", cursive;
  color: #2a3c3e;
  line-height: 1em;
}

main {
  background: white;
  box-shadow: 0.5em 0.5em 1em rgba(0, 0, 0, 0.8156862745);
  padding: 1em;
  border-radius: 0.2em;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #2a3c3e;
}

/** Fonts from Google Fonts. Local copy for GDPR reasons
Refer to: https://fonts.google.com/specimen/Graduate/about?query=Graduate
Original Author: Eduardo Tunni
**/
@font-face {
  font-family: "Graduate";
  font-style: normal;
  font-weight: 400;
  src: url(/res/style/graduate-font.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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