@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

#footer-container, #main-container, #nav-container, #header-container {
  max-width: 760px;
  margin: 0 auto;
}

/*
#FFFFF0 Ivory
#191970 Midnight Blue
#FEFCD7 Moon Glow
#228B22 Forest Green
#B6B6B4 Gray Cloud
#0C090A Night
*/
@font-face {
  font-family: Square;
  src: url("/font/Square.ttf");
}
@font-face {
  font-family: Squareo;
  src: url("/font/Squareo.ttf");
}
body {
  background: #09092a;
  color: #FFFFF0;
  font-family: Arial, "Liberation Sans", sans-serif;
}

header {
  background: #191970;
  background: linear-gradient(-2deg, #202092 0%, black 100%);
  text-align: center;
}

#header-container {
  color: #FFFFF0;
  position: relative;
}

#header-left {
  position: absolute;
  left: 0px;
  bottom: 0px;
}

#header-center {
  display: inline-block;
}

#header-right {
  position: absolute;
  right: 0px;
  bottom: 0px;
}

main {
  background-color: white;
}

#main-container {
  background: white;
  background: linear-gradient(90deg, white 0%, #191970 100%);
  color: #000;
  position: relative;
}

#main-content {
  background: white;
  min-height: 760px;
}

#sidebar-left {
  background: none;
  color: #000;
  float: left;
  overflow: hidden;
  position: absolute;
  z-index: 999;
}

#sidebar-right {
  background: white;
  color: #000;
  float: right;
}

footer {
  background: #4343d6;
  background: linear-gradient(-1deg, black 0%, #202092 100%);
  text-align: center;
}

#footer-container {
  color: #FFFFF0;
  font-size: 80%;
}

nav {
  color: #000;
  font-family: Square, Arial, "Liberation Sans", sans-serif;
  font-size: 120%;
  overflow-x: hidden;
}

#nav-container ul {
  display: inline-block;
  list-style: none;
  padding: 6px 12px;
  margin: 0;
  vertical-align: middle;
  line-height: 100%;
}
#nav-container li {
  padding: 6px;
  display: block;
  vertical-align: middle;
  border-bottom: 1px solid lightgray;
}
#nav-container a, #nav-container form {
  height: 100%;
  display: flex;
  align-items: center;
}
#nav-container a {
  padding-top: 2px;
}
#nav-container a:link, #nav-container a:visited {
  color: #000;
  text-decoration: none;
}
#nav-container a:hover, #nav-container a:active {
  color: #00964B;
  text-decoration: none;
}

.title {
  font-family: Squareo, Arial, "Liberation Sans", sans-serif;
  font-size: 400%;
  line-height: 100%;
}
.title a:link, .title a:visited {
  color: #FFFFF0;
  text-decoration: none;
}
.title a:hover, .title a:active {
  color: #FF69B4;
}

.subtitle {
  font-family: Square, Arial, "Liberation Sans", sans-serif;
}

#search-form {
  white-space: nowrap;
}

#search-input {
  font-family: Arial, "Liberation Sans", sans-serif;
  font-size: 80%;
  width: 120px;
}

#menu-button {
  padding: 6px;
}

#search-button {
  padding: 2px;
}

#menu-button, #search-button {
  border: none;
  background: none;
  color: inherit;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
  font: 120% Square, Arial, "Liberation Sans", sans-serif;
  line-height: 100%;
  cursor: pointer;
  outline: none;
}

#menu-button:hover {
  color: #FF69B4;
}

#search-button:hover {
  color: #00964B;
}

h1, h2, h3, h4, h5, h6 {
  color: #191970;
  font-family: Square, Arial, "Liberation Sans", sans-serif;
  padding: 12px 6px 6px 6px;
}

h1 {
  font-size: 280%;
}

h2 {
  font-size: 200%;
}

h3 {
  font-size: 180%;
}

h4 {
  font-size: 160%;
}

h5 {
  font-size: 140%;
}

h6 {
  font-size: 120%;
}

p {
  line-height: 150%;
  padding: 6px;
}

ul, ol {
  line-height: 150%;
  padding: 0 12px;
  margin: 0 24px;
}

ul {
  list-style: disc;
}

ul ul {
  list-style: circle;
}

ul ul ul {
  list-style: square;
}

ol {
  list-style: decimal;
}

ol ol {
  list-style: lower-alpha;
}

ol ol ol {
  list-style: lower-roman;
}

li {
  display: list-item;
  padding-left: 6px;
}

table {
  margin: 12px;
  padding: 6px;
  border: solid black 1px;
  border-spacing: 10px;
}
table th {
  font-weight: bold;
}
table td, table th {
  padding: 6px;
  border: solid black 1px;
}

pre {
  margin: 12px;
  padding: 6px;
  border: dotted black 1px;
  border-spacing: 10px;
  overflow: auto;
}

.search-title a {
  font-family: inherit;
  font-size: inherit;
}

.search-result {
  font-family: Square, Arial, "Liberation Sans", sans-serif;
  font-size: 120%;
  padding-bottom: 6px;
  /*blockquote:before {
    color: light($palette);
    content: open-quote;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
  }*/
}
.search-result blockquote {
  background: #eaeafa;
  border-left: 12px solid #202092;
  margin: 6px 0px 6px 12px;
  padding: 6px 12px;
  quotes: "“" "”";
  font-family: Arial, "Liberation Sans", sans-serif;
  font-size: 100%;
}
.search-result blockquote p {
  display: inline;
}
.search-result label {
  margin-left: 6px;
  font-family: Arial, "Liberation Sans", sans-serif;
}
.search-result em {
  background: lightgreen;
  font-style: normal;
}
.search-result .match {
  padding: 0 1px;
  border: 2px solid lightgreen;
  border-radius: 0.25em;
}

a:link {
  color: #191970;
  text-decoration: underline;
}

a:visited {
  color: #FF69B4;
  text-decoration: underline;
}

a:hover, a:active {
  color: #00964B;
  text-decoration: none;
}

a.headerlink {
  color: #191970;
  font-size: 80%;
  padding: 0 6px 0 6px;
  text-decoration: none;
}

a.headerlink:hover {
  color: #00964B;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

.contact-box {
  border-radius: 5px;
  padding: 12px;
}

#contact-form input[type=text], #contact-form select, #contact-form textarea {
  width: 100%;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 12px;
  resize: vertical;
}
#contact-form input, #contact-form select {
  font-family: Arial, "Liberation Sans", sans-serif;
  font-size: 100%;
}
#contact-form textarea {
  height: 200px;
}
#contact-form button, #contact-form input[type=submit] {
  background-color: #202092;
  color: #FFFFF0;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#contact-form button:hover, #contact-form input[type=submit]:hover {
  background-color: #121254;
}
#contact-form button:disabled, #contact-form input[type=submit]:disabled {
  background-color: #121254;
  color: darkgray;
  cursor: default;
}
#contact-form #contact-status {
  display: inline;
  width: auto;
  height: 30px;
  margin: 0 12px;
}
#contact-form .label {
  display: inline-block;
  width: 100px;
  margin: 3px 0;
}
.smallprint {
  font-size: 20%;
}

img[src~=photo] {
  display: block;
  width: 100%;
  margin: 2px auto;
}

img[src~=original] {
  display: block;
  margin: 2px auto;
}

img[src~=photo] + em, img[src~=original] + em {
  display: block;
  width: 100%;
  margin: 2px auto;
  font-size: 90%;
  text-align: center;
}

img[src~=image] {
  display: block;
  width: 40%;
}

img[src~=left] {
  float: left;
  margin: 2px;
}

img[src~=right] {
  float: right;
  margin: 2px;
}

img[src~=center] {
  margin: 2px auto;
  clear: both;
}

img[src~=image] + em {
  display: block;
  width: 40%;
  font-size: 90%;
  text-align: center;
}

img[src~=left] + em {
  clear: left;
  float: left;
}

img[src~=right] + em {
  clear: right;
  float: right;
}

img[src~=center] + em {
  margin: 2px auto;
  clear: both;
}

@keyframes hammer {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(90deg);
  }
}
.hammer {
  display: inline-block;
  transform: rotate(0deg);
  transform-origin: 20% 50% 0;
  animation-name: hammer;
  animation-duration: 0.1s;
  animation-iteration-count: 16;
  animation-direction: alternate;
  animation-delay: 1s;
}

@keyframes shaking {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-1deg);
  }
  100% {
    transform: rotate(1deg);
  }
}
.shaking {
  display: inline-block;
  transform: rotate(0deg);
  transform-origin: 100% 50% 0;
  animation-name: shaking;
  animation-duration: 0.2s;
  animation-iteration-count: 8;
  animation-direction: alternate;
  animation-delay: 1.2s;
}

.read-more-state {
  display: none;
}

.read-more-target {
  opacity: 0;
  max-height: 0;
  font-size: 0;
  transition: 0.25s ease;
  overflow: hidden;
}

.read-more-state:checked ~ .read-more-wrap .read-more-target {
  opacity: 1;
  font-size: inherit;
  max-height: 999em;
}

.read-more-state ~ .read-more-trigger:before {
  content: "Näytä lisää osumia";
}

.read-more-state:checked ~ .read-more-trigger:before {
  content: "Näytä vähemmän osumia";
}

.read-more-trigger {
  cursor: pointer;
  display: inline-block;
  padding: 0.5em;
  color: #000;
  font-size: 80%;
  line-height: 1;
  border: 1px solid #eaeafa;
  border-radius: 0.25em;
}

@media screen and (max-width: 759px) {
  #header-container, #nav-container, #main-container, #footer-container {
    max-width: 760px;
  }

  #menu-button {
    display: block;
  }

  #main-content {
    margin-left: 0px;
  }

  #nav-container {
    background: white;
    background: linear-gradient(179deg, white 0%, lightgray 100%);
  }
  #nav-container li {
    padding: 2px;
    display: inline-block;
    vertical-align: middle;
    border-bottom: none;
  }

  #sidebar-left {
    display: none;
    float: none;
    width: 100%;
    position: static;
  }
}
@media screen and (min-width: 760px) {
  #header-container, #nav-container, #main-container, #footer-container {
    max-width: 960px;
  }

  #menu-button {
    display: none;
  }

  #main-content {
    margin-left: 200px;
  }

  #nav-container {
    background: none;
  }

  #sidebar-left {
    display: block;
    float: left;
  }
}
@media print {
  header, nav, footer, aside {
    display: none;
  }

  body {
    background: white;
    color: black;
    font-family: "Times New Roman", "Liberation Serif", serif;
  }

  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }

  h1::after, h2::after, h3::after, h4::after, h5::after, h6::after {
    content: "\a\a\a";
    white-space: pre;
    display: block;
    height: 100px;
    margin-bottom: -100px;
  }

  p {
    orphans: 2;
    widows: 2;
  }

  a:link, a:visited, a:hover, a:active {
    color: black;
    text-decoration: none;
  }

  a:after {
    content: " (" attr(href) ") ";
    font-size: 80%;
    font-weight: normal;
  }

  table {
    page-break-inside: auto;
  }

  tr {
    page-break-inside: avoid;
    page-break-after: auto;
  }

  thead {
    display: table-header-group;
  }

  tfoot {
    display: table-footer-group;
  }
}
html, body, #body-container {
  height: 100%;
  min-height: 100%;
}

*:hover > a.headerlink {
  visibility: visible;
}

a.headerlink {
  visibility: hidden;
}

.show {
  display: block;
}

.hide {
  display: none;
}

#annoying-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40px;
  background: #FF0000;
}

.box {
  -webkit-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  transform: rotate(30deg);
}

.warning, .error, .success, .message {
  border: 1px solid #ccc;
  padding: 2px;
  border-radius: 4px;
}

.success {
  border-color: green;
}

.error {
  border-color: red;
}

.warning {
  border-color: yellow;
}

article[role=main] {
  float: left;
  width: 62.5%;
}

aside[role=complementary] {
  float: right;
  width: 31.25%;
}
