/*!
Theme Name:     Areiopagi
Description:    
Author:         Ulkoasu: Tero Ahonen, Ohjelmointi: Jari Pennanen
Version:        development
License:        
*/
/* HTML5 support for IE6,7,8 */
section,
article,
aside,
footer,
header,
nav,
hgroup {
  display: block;
}
body {
  font-family: Arial;
}
ul,
ol {
  padding: 0 0 1em 1.5em;
  margin: 0;
}
/*p { padding: 0 0 1em 0; margin: 0; }
p:last-child { padding-bottom: 0; }*/
a {
  text-decoration: none;
}
.skip-link,
.assistive-text,
.assistive-navigation {
  display: none;
}
.clear,
.clearfix {
  clear: both;
}
div.error,
p.error,
span.error {
  color: #d32a24;
}
blockquote {
  border-left: 3px solid #efefef;
  margin: 0 0 1em 1em;
  padding: 0.2em 0 0.2em 1.5em;
  overflow: hidden;
}
blockquote p:last-child {
  padding-bottom: 0;
}
/* Embeds */
.ownskit-embedhtmlshort {
  margin: 0 0 1em 0;
}
/* =Images
-------------------------------------------------------------- */
img {
  border: 0;
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
  max-width: 100%;
  /* When images are too wide for containing element, force them to fit. */
  width: auto !important;
  height: auto;
  /* Override height to match resized width for correct aspect ratio. */
}
.alignleft-wrap {
  float: left;
}
.alignnone,
.entry-content img {
  max-width: 100%;
  height: auto;
}
.alignleft,
img.alignleft {
  max-width: 55% !important;
  height: auto !important;
  display: inline;
  float: left;
  clear: left;
  margin-right: 14px;
  margin-top: 4px;
}
.alignright,
img.alignright {
  max-width: 55% !important;
  height: auto !important;
  display: inline;
  float: right;
  clear: right;
  margin-left: 14px;
  margin-top: 4px;
}
.alignnone,
.aligncenter,
.wp-post-image,
img.aligncenter {
  max-width: 100%;
  height: auto !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.aligncenter iframe {
  display: block;
  margin: 0 auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
  margin-bottom: 12px;
}
.wp-caption {
  margin-top: 5px;
  margin-bottom: 10px;
  width: auto !important;
}
.wp-caption-text {
  margin: 0;
  padding: 0;
  max-width: 100%;
  /* prevent too-wide images from breaking layout */
  text-align: center;
  color: gray;
  font-family: Georgia;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.2;
}
.gallery-icon img,
.wp-caption img {
  display: block;
  margin: 0 auto 3px auto;
  max-width: 100%;
  width: auto !important;
  height: auto !important;
}
.wp-smiley {
  margin: 0;
}
/* WP-Gallery feature */
.gallery {
  clear: both;
  margin: 0 -10px;
}
.gallery .gallery-caption,
.gallery .gallery-content,
.gallery .gallery-icon {
  margin: 0 10px;
  display: block;
}
.gallery .gallery-icon .preview {
  display: block;
}
.gallery .gallery-item {
  float: left;
  margin-top: 0;
  text-align: center;
  margin-bottom: 14px;
}
.gallery-columns-2 .gallery-item {
  width: 50%;
}
.gallery-columns-3 .gallery-item {
  width: 33%;
}
.gallery-columns-4 .gallery-item {
  width: 25%;
}
.gallery-columns-5 .gallery-item {
  width: 20%;
}
#ie7 .gallery-columns-2 .gallery-item {
  width: 48%;
}
#ie7 .gallery-columns-3 .gallery-item {
  width: 31%;
}
#ie7 .gallery-columns-4 .gallery-item {
  width: 23%;
}
#ie7 .gallery-columns-5 .gallery-item {
  width: 18%;
}
.gallery-columns-2 .gallery-item:nth-child(2n + 1),
.gallery-columns-3 .gallery-item:nth-child(3n + 1),
.gallery-columns-4 .gallery-item:nth-child(4n + 1),
.gallery-columns-5 .gallery-item:nth-child(5n + 1) {
  clear: both;
}
.gallery img {
  display: block;
  margin: 0 auto;
  border: 1px solid #d3d4d4;
}
.gallery .attachment-thumbnail,
.gallery .attachment-medium {
  max-width: 100%;
  max-height: 100%;
  width: auto !important;
  height: auto !important;
}
.gallery .gallery-caption {
  font-size: 12px;
  margin: 3px 0 12px;
}
.ownskit-galleries .gallery-content {
  display: none;
}
.gallery .gallery-content {
  margin: 0 0 12px;
}
.gallery dl {
  margin: 0;
}
.gallery br + br {
  display: none;
}
#content .attachment img {
  /* single attachment images should be centered */
  display: block;
  margin: 0 auto;
}
@media (max-width: 460px) {
  .alignleft,
  img.alignleft,
  .alignright,
  img.alignright {
    max-width: 45% !important;
  }
}
/* LESS Mixins 
 * https://github.com/dmitryf/elements/blob/master/elements.less
 * */
#aiheet {
  max-width: 500px;
  margin: auto;
}
/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  overflow: hidden;
  position: fixed;
  background: rgba(0, 0, 0, 0.9);
}
.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100001;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}
.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.mfp-align-top .mfp-container:before {
  display: none;
}
.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}
.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}
.mfp-ajax-cur {
  cursor: progress;
}
.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}
.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}
.mfp-auto-cursor .mfp-content {
  cursor: auto;
}
.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.mfp-loading.mfp-figure {
  display: none;
}
.mfp-hide {
  display: none !important;
}
.mfp-preloader {
  color: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
}
.mfp-preloader a {
  color: #cccccc;
}
.mfp-preloader a:hover {
  color: white;
}
.mfp-s-ready .mfp-preloader {
  display: none;
}
.mfp-s-error .mfp-content {
  display: none;
}
button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  filter: alpha(opacity=65);
  padding: 0 0 18px 10px;
  color: white;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
}
.mfp-close:hover,
.mfp-close:focus {
  opacity: 1;
  filter: alpha(opacity=100);
}
.mfp-close:active {
  top: 1px;
}
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: white;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}
.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #cccccc;
  font-size: 12px;
  line-height: 18px;
}
.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  filter: alpha(opacity=65);
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.mfp-arrow:active {
  margin-top: -54px;
}
.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1;
  filter: alpha(opacity=100);
}
.mfp-arrow:before,
.mfp-arrow:after,
.mfp-arrow .mfp-b,
.mfp-arrow .mfp-a {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent;
}
.mfp-arrow:after,
.mfp-arrow .mfp-a {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px;
}
.mfp-arrow:before,
.mfp-arrow .mfp-b {
  border-top-width: 21px;
  border-bottom-width: 21px;
  opacity: 0.7;
}
.mfp-arrow-left {
  left: 0;
}
.mfp-arrow-left:after,
.mfp-arrow-left .mfp-a {
  border-right: 17px solid white;
  margin-left: 31px;
}
.mfp-arrow-left:before,
.mfp-arrow-left .mfp-b {
  margin-left: 25px;
  border-right: 27px solid #3f3f3f;
}
.mfp-arrow-right {
  right: 0;
}
.mfp-arrow-right:after,
.mfp-arrow-right .mfp-a {
  border-left: 17px solid white;
  margin-left: 39px;
}
.mfp-arrow-right:before,
.mfp-arrow-right .mfp-b {
  border-left: 27px solid #3f3f3f;
}
.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}
.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}
.mfp-iframe-holder .mfp-close {
  top: -40px;
}
.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}
.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: black;
}
/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}
/* The shadow behind the image */
.mfp-figure {
  line-height: 0;
}
.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444444;
}
.mfp-figure small {
  color: #bdbdbd;
  display: block;
  font-size: 12px;
  line-height: 14px;
}
.mfp-figure figure {
  margin: 0;
}
.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}
.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  word-wrap: break-word;
  padding-right: 36px;
}
.mfp-image-holder .mfp-content {
  max-width: 100%;
}
.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }
  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }
}
@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0;
  }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
  }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}
.mfp-ie7 .mfp-img {
  padding: 0;
}
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px;
}
.mfp-ie7 .mfp-container {
  padding: 0;
}
.mfp-ie7 .mfp-content {
  padding-top: 44px;
}
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0;
}
/**
 * New UI
 */
.newui input[type="password"],
.newui input[type="number"],
.newui input[type="text"],
.newui input[type="email"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 0.5em 0.75em;
  border: 1px solid gray;
  display: block;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.5em;
  font-size: inherit;
  font-weight: normal;
  font-family: inherit;
}
.newui input[type="password"]:focus::placeholder,
.newui input[type="number"]:focus::placeholder,
.newui input[type="text"]:focus::placeholder,
.newui input[type="email"]:focus::placeholder {
  color: transparent;
}
.newui input[type="radio"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  cursor: pointer;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  margin: 0 0.6em 0 0;
  width: 1.7em;
  height: 1.7em;
  position: relative;
  top: -0.1em;
  vertical-align: middle;
  display: inline-block;
  font-size: inherit;
  font-weight: normal;
  font-family: inherit;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
  background: -moz-radial-gradient(center, ellipse cover, #ffffff 39%, #ffffff 54%, #000000 57%, #000000 69%, rgba(0, 0, 0, 0) 71%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, 0) 100%);
  /* FF3.6-15 */
  background: -webkit-radial-gradient(center, ellipse cover, #ffffff 39%, #ffffff 54%, #000000 57%, #000000 69%, rgba(0, 0, 0, 0) 71%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, 0) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: radial-gradient(ellipse at center, #ffffff 39%, #ffffff 54%, #000000 57%, #000000 69%, rgba(0, 0, 0, 0) 71%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, 0) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  background-repeat: no-repeat;
}
.newui input[type="radio"]:checked {
  background: -moz-radial-gradient(center, ellipse cover, #F3C500 0%, #F3C500 37%, #ffffff 39%, #ffffff 54%, #000000 57%, #000000 69%, rgba(0, 0, 0, 0) 71%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, 0) 100%);
  /* FF3.6-15 */
  background: -webkit-radial-gradient(center, ellipse cover, #F3C500 0%, #F3C500 37%, #ffffff 39%, #ffffff 54%, #000000 57%, #000000 69%, rgba(0, 0, 0, 0) 71%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, 0) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: radial-gradient(ellipse at center, #F3C500 0%, #F3C500 37%, #ffffff 39%, #ffffff 54%, #000000 57%, #000000 69%, rgba(0, 0, 0, 0) 71%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, 0) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  background-repeat: no-repeat;
}
.newui input[type="checkbox"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  vertical-align: middle;
  top: 0;
  margin: 0 0.6em 0 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  background: none no-repeat center center;
  border-radius: 0;
  border: 0.15em solid #000;
  width: 1.7em;
  height: 1.7em;
  position: relative;
  top: -0.1em;
  font-size: inherit;
  font-weight: normal;
  font-family: inherit;
  cursor: pointer;
  cursor: hand;
}
.newui input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' version='1.1' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='translate(2 2)' stroke='%23F3C500' stroke-width='3'%3E%3Cline x1='1' y1='11' x2='11' y2='1'/%3E%3Cline x1='1' y1='1' x2='11' y2='11'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
}
.newui select {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0.5em 0.75em;
  display: block;
  width: 100%;
  background: #fff no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 100 50'%3E%3Cpolygon fill='%23F3C500' points='0,0 100,0 50,50'/%3E%3C/svg%3E");
  background-position: right 0.5em center;
  background-size: 0.75em;
  border-radius: 0;
  border: 1px solid gray;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.5em;
  font-size: inherit;
  font-weight: normal;
  font-family: inherit;
}
.newui input[data-newui-icon-search] {
  background: #fff no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20version%3D%221.1%22%20viewBox%3D%220%200%2043.637223%2043.648591%22%3E%3Cpath%20style%3D%22fill%3Anone%3Bstroke%3A%23F3C500%3Bstroke-width%3A5%3B%22%20d%3D%22m%2018.654651,2%20c%20-4.2655,1.666e-4%20-8.531156,1.6268594%20-11.7851559,4.8808594%20-6.50933324,6.5080016%20-6.50933324,17.0623136%200,23.5703136%206.5079999,6.5093%2017.0609789,6.508%2023.5703119,0%206.508,-6.509333%206.508,-17.062312%200,-23.5703136%20C%2027.185141,3.6261928%2022.920151,1.9998333%2018.654651,2%20c%200,0%200,0%200,0%20M%2030.91051,30.921876%20c%200,0%2011.3125,11.3125%2011.3125,11.3125%200,0%20-11.3125,-11.3125%20-11.3125,-11.3125%200,0%200,0%200,0%22/%3E%3C/svg%3E");
  background-position: right 0.5em center;
  background-size: 0.95em;
  padding-right: 1.75em;
}
.kalenteri-tapahtumat {
  font-size: 60%;
  text-align: left;
  line-height: 1.2;
}
article.yhteistyosssa {
  clear: both;
  padding-top: 4%;
}
article.yhteistyosssa h1 {
  text-align: center;
  border-bottom: 0;
  font-size: 24px;
}
ul.yhteistyosssa {
  margin-top: 2em;
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-image: none;
  margin: 0 -0.8%;
}
ul.yhteistyosssa > li {
  float: left;
  width: 16.66666667%;
  padding: 0 0.8%;
  margin-left: 0;
  margin-right: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
ul.yhteistyosssa > li:nth-child(6n + 1) {
  clear: both;
}
ul.yhteistyosssa li {
  border: 1px solid #ddd;
  border-width: 0 1px 1px 0;
}
ul.yhteistyosssa li:nth-child(n+7) {
  border-bottom-width: 0;
}
ul.yhteistyosssa li:nth-child(6n) {
  border-right-width: 0;
}
ul.yhteistyosssa a:hover > img {
  opacity: 0.7;
}
ul.yhteistyosssa a {
  display: block;
  margin-bottom: 10%;
  margin-top: 10%;
}
ul.yhteistyosssa img {
  filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale");
  filter: gray;
  -webkit-filter: grayscale(100%);
  margin: 0 auto;
  padding: 0;
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 70px;
}
#topbg {
  margin-bottom: 3em;
  position: relative;
}
#topbg > .empty {
  padding-top: 43%;
  background: #000;
}
#topbg > .img {
  opacity: 0.8;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: 50% 30%;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}
#topbg > .txt {
  color: #fff;
  position: absolute;
  bottom: 57px;
  left: 0;
  right: 0;
}
#topbg > .txt > h1 > a {
  color: #fff;
}
#topbg > .txt > h1 > a:hover {
  color: #F3C500;
}
#topbg > .txt > .comment-count {
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #fff;
}
#topbg > .txt > .meta {
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 14px;
  text-transform: uppercase;
}
#topbg > .txt > .meta:after {
  content: "";
  display: block;
  width: 110px;
  margin-top: 30px;
  margin-bottom: 26px;
  border-bottom: 6px solid #F3C500;
}
/*
#slider {
    position: relative;
    //margin-top: -60px;
    .page-wrapper {
    }
    background: #000;
    
    .slider {
        position: relative;
        .slider();
        > .empty {
            padding-top: 43%;
        }
        
        > .slide {
            > .img {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background-position: 50% 30%;
                background-size: cover;
                background-repeat: no-repeat;
                opacity: 0.8;
            }
            
            > .texts {
                
                position: absolute;
                bottom: 0;
                right: 0;
                text-align: center;
                z-index: 2;
                > div {
                    background: @bgcolor;
                    padding: 8px 18px 3px 18px;
                    display: inline-block;
                }
                font-size: 20px;
                text-transform: uppercase;
                color: #fff;
                .nimi {
                    .font-pysty;
                }
                
                .ajankohta {
                    letter-spacing: 1px;
                    .font-pysty;
                }
            }
            
            &:hover {
                > .texts {
                    color: lighten(@bgcolor, 37%);
                    > div {
                        //background: rgba(255,255,255,0.9);
                    }
                    //color: #222;
                }
            }
        }
    }
} */
@media (max-height: 700px) {
  #slider .slider > .empty {
    padding-top: 37%;
  }
}
@media (max-height: 600px) {
  #slider .slider > .empty {
    padding-top: 33%;
  }
}
.julkaisut {
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-image: none;
  margin: 0 -10px;
  font-size: 17px;
}
.julkaisut > li {
  float: left;
  width: 33.33333333%;
  padding: 0 10px;
  margin-left: 0;
  margin-right: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.julkaisut > li:nth-child(3n + 1) {
  clear: both;
}
.julkaisut > li {
  margin-bottom: 2em;
}
.julkaisut > li a {
  display: block;
  color: #2d2d2d;
  font-weight: 400;
  text-align: center;
}
.julkaisut > li a img {
  width: 100% !important;
  height: auto !important;
  display: block;
}
.julkaisut > li a:hover {
  color: #6d6d6d;
}
.julkaisut > li a:hover img {
  opacity: 0.7;
}
.julkaisut > li.current a {
  color: #F3C500;
}
.tweet-wrap {
  /*margin-top: 20px;*/
}
.tweet-wrap h1 {
  background: url('images/icon-twitter.png') right 0.35em no-repeat;
  background-size: 30px 30px;
}
.tweet-wrap .tweet-container {
  text-align: center;
  height: 50px;
  display: inline-block;
  text-align: left;
}
.ownskit-ytgallery-player {
  max-width: 635px;
  width: 100%;
  display: block;
  margin-bottom: 28px;
}
.ownskit-ytgallery {
  list-style: none;
  padding: 0;
  max-width: 668px;
  display: block;
  margin: 0 -15px;
}
.ownskit-ytgallery > li {
  float: left;
  width: 25%;
  padding: 0 15px;
  margin-left: 0;
  margin-right: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.ownskit-ytgallery > li:nth-child(4n + 1) {
  clear: both;
}
.ownskit-ytgallery .ownskit-ytgallery-item {
  position: relative;
  overflow: hidden;
}
.ownskit-ytgallery .ownskit-ytgallery-item a {
  text-decoration: none;
  color: black;
}
.ownskit-ytgallery .ownskit-ytgallery-item img {
  width: 100%;
  height: auto;
}
.ownskit-ytgallery .ownskit-ytgallery-item .title {
  display: block;
  text-decoration: none;
  color: #2d2d2d;
}
.ownskit-ytgallery .ownskit-ytgallery-item .duration {
  position: absolute;
  top: 83px;
  right: 15px;
  background: black;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 3px;
  font-size: 10px;
  font-weight: bold;
  padding: 0 3px;
  color: white;
}
.ownskit-ytgallery .ownskit-ytgallery-item-current img,
.ownskit-ytgallery .ownskit-ytgallery-item:hover img {
  opacity: 0.75;
}
.ownskit-ytgallery .ownskit-ytgallery-item-current .title,
.ownskit-ytgallery .ownskit-ytgallery-item:hover .title {
  color: #F3C500;
}
.twocol .col1 {
  float: left;
  width: 48%;
}
.twocol .col2 {
  float: right;
  width: 48%;
}
.gallery {
  margin: 0 -4%;
  margin-top: 2em;
  text-align: center;
}
.gallery > figure {
  float: left;
  width: 33.33333333%;
  padding: 0 4%;
  margin-left: 0;
  margin-right: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.gallery > figure:nth-child(3n + 1) {
  clear: both;
}
.gallery .gallery-item {
  margin-bottom: 5%;
}
.gallery .gallery-item .preview {
  position: relative;
  display: block;
}
.gallery .gallery-item .preview .empty {
  display: block;
  padding-top: 100%;
}
.gallery .gallery-item .preview .zoom {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: center center no-repeat;
  background-size: cover;
}
.gallery .gallery-item .preview:hover .zoom,
.gallery .gallery-item .preview:hover img {
  opacity: 0.7;
}
.gallery .gallery-item .caption {
  min-height: 2em;
  color: #F3C500;
  margin-top: 10px;
}
.gallery .gallery-item .author {
  font-size: 90%;
}
#fancybox-overlay {
  z-index: 11000 !important;
  opacity: 1.0 !important;
  background: rgba(0, 0, 0, 0.9) !important;
}
#fancybox-wrap {
  z-index: 11001 !important;
}
#fancybox-outer {
  background: none !important;
}
#fancybox-title {
  padding: 5px 0 0 0 !important;
  font-family: inherit !important;
  font-size: inherit !important;
  background: none !important;
  color: #fff !important;
}
.kuvagalleria {
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-image: none;
  margin: 0 -8px;
}
.kuvagalleria > li {
  float: left;
  width: 25%;
  padding: 0 8px;
  margin-left: 0;
  margin-right: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.kuvagalleria > li:nth-child(4n + 1) {
  clear: both;
}
.kuvagalleria li {
  margin-bottom: 20px;
}
.kuvagalleria li a {
  color: #2d2d2d;
  text-decoration: none;
  text-align: center;
}
.kuvagalleria li a .esikatselu {
  position: relative;
  border: 1px solid #ddd;
  margin-bottom: 5px;
}
.kuvagalleria li a .esikatselu .empty {
  padding-top: 100%;
}
.kuvagalleria li a .esikatselu .zoom {
  position: absolute;
  top: 4%;
  left: 4%;
  right: 4%;
  bottom: 4%;
}
.kuvagalleria li a .esikatselu .zoom img {
  display: block;
  margin: 0 auto;
  padding: 0;
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
}
.kuvagalleria li a .nimi {
  font-size: 13px;
}
.kuvagalleria li a .tekijat {
  font-size: 13px;
}
.kuvagalleria li a:hover {
  color: #6d6d6d;
}
.kuvagalleria li a:hover img {
  opacity: 0.7;
}
#hero .hero-wrap {
  background-color: #232324;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  max-width: 960px;
  margin: auto;
}
#hero .hero-wrap .empty {
  padding-top: 45.5%;
}
#hero .hero-wrap img {
  width: 100% !important;
  position: absolute;
  top: 0;
}
.tiedot .tiedot-item {
  margin-bottom: 40px;
}
.tiedot .tiedot-item .image {
  overflow: hidden;
  min-height: 1px;
  float: left;
  width: 25%;
  margin-right: 20px;
  text-align: center;
  color: gray;
}
.tiedot .tiedot-item .image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
}
.tiedot .tiedot-item .details {
  overflow: hidden;
}
.tiedot .tiedot-item .details h2 {
  line-height: 1.2;
}
.tiedot .tiedot-item .details h2:first-child {
  margin-top: 0;
}
.tiedot .tiedot-item .details h2 small {
  color: #F3C500;
  font-style: italic;
  font-size: 15px;
  font-weight: 400;
}
#nav-above {
  display: none;
}
.paged #nav-above {
  display: block;
}
.nav-inside {
  height: 1em;
}
.nav-inside a {
  color: #000;
  text-decoration: none;
}
.nav-inside a:hover {
  color: gray;
}
.nav-inside .nav-previous {
  float: left;
}
.nav-inside .nav-next {
  float: right;
}
#go-top {
  display: none;
}
.scrolled #go-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #F3C500;
  color: #fff;
  display: block;
  padding: 8px 13px;
  font-size: 20px;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  z-index: 10005;
}
.home #topbg .loota {
  display: none;
}
.home #go-top {
  display: none;
}
#more-mobile,
#navigation-mobile {
  display: none;
}
body,
html {
  padding: 0;
  margin: 0;
}
body {
  background: #fff;
  font-family: "freight-text-pro", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  font-size: 19px;
  color: #2d2d2d;
}
a {
  color: #FACC00;
}
a:hover {
  color: #ffa50c;
}
p {
  margin: 0 0 1em;
}
h1:first-child,
h2:first-child,
h3:first-child {
  margin-top: 0;
  padding-top: 0;
}
h1 {
  font-size: 42px;
  margin: 15px 0 15px;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: 1.1;
}
h2 {
  font-size: 26px;
  margin: 2em 0 0.45em;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: 1.1;
}
h3 {
  font-size: 20px;
  margin: 0.7em 0 0.25em;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: 1.1;
}
h4 {
  font-family: "garamond-premier-pro", sans-serif;
  font-size: 13px;
  margin: 0.7em 0 0.25em;
  text-transform: uppercase;
}
h1 + h2 {
  margin-top: 0;
}
a.pdf-icon:before {
  display: inline-block;
  content: "";
  background: url('images/pdf.png') no-repeat;
  background-size: 16px 16px;
  width: 16px;
  height: 16px;
  position: relative;
  top: -3px;
  padding-right: 5px;
  vertical-align: middle;
}
.page-wrapper {
  max-width: 960px;
  padding: 0 25px;
  margin: 0 auto;
}
.no-topbg #content .page-wrapper {
  max-width: 700px;
}
.single-writer #content .page-wrapper,
.page-id-16 #content .page-wrapper {
  max-width: 960px;
}
.ingress {
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
  font-size: 25px;
}
.kuvakkeet {
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-image: none;
  text-align: center;
}
.kuvakkeet > li {
  display: inline-block;
}
.kuvakkeet > li + li {
  margin-left: 5px;
}
.kuvakkeet > li > a {
  display: block;
  position: relative;
  padding-bottom: 16px;
}
.kuvakkeet > li > a > i {
  position: relative;
  vertical-align: middle;
  width: 38px;
  height: 38px;
  display: block;
  background-size: 100% auto;
  background-position: 0 0;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}
.kuvakkeet > li > a > span {
  position: absolute;
  bottom: -13px;
  left: -1.5em;
  right: -1.5em;
  text-align: center;
  display: block;
  font-size: 9pt;
  color: #fff;
  opacity: 0;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
}
.kuvakkeet > li > a:hover > span {
  opacity: 1;
}
.kuvakkeet > li > a:hover > i {
  background-position: 0 38px;
}
#socmed-follow {
  display: none;
  float: right;
  margin-top: 44px;
  margin-left: 10px;
  position: relative;
  z-index: 10000;
}
#navigation {
  padding-top: 10px;
  z-index: 100;
}
#navigation h1 {
  display: none;
}
#navigation #menu-tiputusvalikko,
#navigation .menu-primary {
  list-style: none;
  margin: 0;
  text-align: right;
  padding: 26px 0 5px 0;
}
#navigation #menu-tiputusvalikko li,
#navigation .menu-primary li {
  display: inline-block;
  padding: 0 0 0 2px;
}
#navigation #menu-tiputusvalikko li:first-child,
#navigation .menu-primary li:first-child {
  padding-left: 0;
}
#navigation #menu-tiputusvalikko li:last-child,
#navigation .menu-primary li:last-child {
  padding-right: 0;
}
#navigation #menu-tiputusvalikko a,
#navigation .menu-primary a {
  display: block;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #fff;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  line-height: 1.1;
  padding: 7px 15px 6px 15px;
}
#navigation #menu-tiputusvalikko a:hover,
#navigation .menu-primary a:hover {
  color: #F3C500;
}
#navigation #menu-tiputusvalikko .current_page_parent > a,
#navigation .menu-primary .current_page_parent > a,
#navigation #menu-tiputusvalikko .current-page-ancestor > a,
#navigation .menu-primary .current-page-ancestor > a,
#navigation #menu-tiputusvalikko .current-menu-item > a,
#navigation .menu-primary .current-menu-item > a {
  color: #F3C500;
}
#navigation #menu-tiputusvalikko li.search a,
#navigation .menu-primary li.search a,
#navigation #menu-tiputusvalikko li.hellip a,
#navigation .menu-primary li.hellip a {
  letter-spacing: 2px;
  position: relative;
  border: 1px solid transparent;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.no-js #navigation #menu-tiputusvalikko li.search a,
.no-js #navigation .menu-primary li.search a,
.no-js #navigation #menu-tiputusvalikko li.hellip a,
.no-js #navigation .menu-primary li.hellip a {
  opacity: 0;
}
#navigation #menu-tiputusvalikko li.hellip a span,
#navigation .menu-primary li.hellip a span {
  position: relative;
  top: -4px;
}
#navigation #menu-tiputusvalikko li.search a > span,
#navigation .menu-primary li.search a > span {
  display: none;
}
#navigation #menu-tiputusvalikko li.search a:before,
#navigation .menu-primary li.search a:before {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  position: relative;
  top: -2px;
  left: -1px;
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 15px;
  height: 15px;
  background: url('images/search-icon.png') top center no-repeat;
  background-size: 100% auto;
}
#navigation #menu-tiputusvalikko li.search a:hover:before,
#navigation .menu-primary li.search a:hover:before {
  background-position: bottom center;
}
#navigation #menu-tiputusvalikko li.search.shown a:before,
#navigation .menu-primary li.search.shown a:before {
  background-position: bottom center;
}
#navigation #menu-tiputusvalikko li.search.shown a,
#navigation .menu-primary li.search.shown a,
#navigation #menu-tiputusvalikko li.hellip.shown a,
#navigation .menu-primary li.hellip.shown a {
  border: 1px solid #F3C500;
  color: #F3C500;
}
#navigation #menu-tiputusvalikko {
  position: absolute;
  top: -5px;
  right: 0;
}
#navigation #menu-tiputusvalikko > li > a {
  font-size: 12px;
}
#search {
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid #F3C500;
  margin: 0;
  padding: 16px 20px;
  position: absolute;
  z-index: 100;
  right: 54px;
  display: none;
}
#search.shown {
  display: block;
}
#search input {
  background: none;
  border: 0;
  color: #fff;
  line-height: 1.75;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  border-bottom: 2px solid #F3C500;
  width: 300px;
}
#search input:focus {
  outline: 0;
}
#search button {
  position: absolute;
  right: 20px;
  bottom: 27px;
  background: #F3C500;
  color: #000;
  padding: 2px 25px;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 14px;
  margin: 0;
  border: 1px solid #F3C500;
  cursor: hand;
  cursor: pointer;
}
#search button:hover {
  color: #F3C500;
  background: #000;
}
#category-dropdown,
#menu-hidden {
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid #F3C500;
  margin: 0;
  padding: 46px 0 26px 0;
  position: absolute;
  z-index: 100;
  right: 0;
  list-style: none;
  display: none;
}
#category-dropdown > li > a,
#menu-hidden > li > a {
  display: block;
  padding: 13px 46px 13px 46px;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #fff;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  line-height: 1.1;
  text-align: center;
}
#category-dropdown > li > a:hover,
#menu-hidden > li > a:hover {
  color: #F3C500;
}
#category-dropdown .active > a,
#menu-hidden .active > a,
#category-dropdown .current_page_parent > a,
#menu-hidden .current_page_parent > a,
#category-dropdown .current-page-ancestor > a,
#menu-hidden .current-page-ancestor > a,
#category-dropdown .current-menu-item > a,
#menu-hidden .current-menu-item > a {
  color: #F3C500;
}
#category-dropdown > li.socmed,
#menu-hidden > li.socmed {
  margin-top: 10px;
}
#category-dropdown.shown,
#menu-hidden.shown {
  display: block;
}
#category-dropdown {
  left: 0;
  padding: 46px 0 46px 0;
}
.filters {
  position: relative;
  margin: 0 auto 2.5em auto;
  max-width: 320px;
}
.filters p {
  color: #aaa;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  text-align: center;
}
.filters h1 > a.more-link {
  line-height: 1.5;
  display: block;
  text-align: center;
}
.filters h1.shown > a {
  color: #F3C500;
}
#languages {
  padding-top: 13px;
}
#languages .menu-languages {
  list-style: none;
  margin: 0;
  list-style-image: none;
  padding: 0;
  position: relative;
  float: right;
  z-index: 20;
}
#languages .menu-languages li {
  display: inline-block;
  padding-left: 10px;
}
#languages .menu-languages li a {
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 13px;
  color: #fff;
}
#languages .menu-languages li a:hover {
  color: #F3C500;
}
#languages .menu-languages li.current-menu-item a {
  color: #F3C500;
}
#header {
  position: absolute;
  z-index: 10000;
  left: 0;
  right: 0;
}
#header h1.header {
  display: block;
  padding: 0;
  margin: 0;
}
#header h1.header a {
  position: relative;
  z-index: 10;
  display: block;
  float: left;
  padding: 30px 0 30px;
}
#header h1.header a img {
  width: 300px;
  height: auto;
  display: block;
}
#header h1.header a #logo-mobile {
  display: none;
}
#header h1.header a:hover img {
  -webkit-filter: sepia() saturate(20000%) hue-rotate(317deg);
  -moz-filter: sepia() saturate(20000%) hue-rotate(317deg);
  -ms-filter: sepia() saturate(20000%) hue-rotate(317deg);
  filter: sepia() saturate(20000%) hue-rotate(317deg);
}
#header h1.header a span {
  display: none;
}
#header .header-container {
  position: relative;
}
.no-topbg #header {
  background: #000;
  position: relative;
  margin-bottom: 3em;
}
.more-link-wrapper {
  display: block;
  margin: 1em 0 0 0;
}
.more-link {
  display: inline-block;
  border: 3px solid #F3C500;
  padding: 0.4em 1.2em 0.4em 1.4em;
  color: #2d2d2d;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}
.more-link:hover {
  color: #F3C500;
}
#pagenav {
  font-size: 16px;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  text-align: center;
}
#pagenav > .page-numbers {
  margin: 0 0 4px 0;
  padding: 4px 0;
  min-width: 2.2em;
  text-align: center;
  display: inline-block;
  color: #aaa;
  border: 1px solid #aaa;
}
#pagenav > .dots {
  position: relative;
  top: -5px;
  border: none;
}
#pagenav > a.page-numbers:hover,
#pagenav > .current {
  border-color: #F3C500;
  color: #F3C500;
}
#pagenav > .next,
#pagenav > .prev {
  display: none;
}
#pagenav > .next {
  float: right;
}
#content {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#content .post-edit-link {
  padding-top: 1em;
  display: block;
}
#content .content > .article {
  overflow: hidden;
}
#content footer {
  clear: both;
}
.content.to-left > .article {
  float: left;
  width: 65%;
}
.share {
  position: relative;
  margin-left: 4%;
  float: right;
  clear: right;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 293px;
  text-align: center;
}
.share > .share-wrap {
  width: 293px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 1.2em 1em 1.2em 1em;
  border: 3px solid #F3C500;
  margin-top: 2em;
}
.fixed-share .share > .share-wrap {
  position: fixed;
  top: 0px;
}
.fixed-share-bottom .share > .share-wrap {
  position: absolute;
  bottom: 20px;
  top: auto;
}
.fixed-share-bottom .share {
  position: static;
}
.share h1 {
  text-align: center;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
}
.share .kuvakkeet {
  max-width: 12em;
  margin: 0 auto;
}
.share .kuvakkeet > li {
  margin: 5px 20px 10px 20px;
}
.share .kuvakkeet > li > a > span {
  color: #000;
  bottom: -5px;
}
.share .kuvakkeet > li > a > i {
  width: 52px;
  height: 52px;
  margin-right: 5px;
}
.share .kuvakkeet > li > a > b {
  position: absolute;
  top: 24%;
  left: 100%;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #000;
  font-size: 12px;
  display: block;
}
.share .kuvakkeet > li > a:hover > i {
  background-position: 0 52px;
}
.loota {
  text-align: center;
  width: 31%;
  margin-left: 4%;
  float: right;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 2.3em 2em 3.75em 2em;
  background: #F3C500;
  color: #000;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
}
.loota a {
  color: #000;
  text-decoration: underline;
}
.loota a.more-link {
  padding: 0.8em 1.3em 0.8em 1.3em;
  text-decoration: none;
  border-color: white;
}
.loota a.more-link:hover {
  color: white;
}
.loota > h1 {
  display: block;
  padding-bottom: 47px;
  margin-bottom: 35px;
  background: url('images/laita-icon-etusivu.png') top center no-repeat;
  background-size: 78px auto;
  height: 78px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.loota > h1 > span {
  display: none;
}
.loota > h1:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  content: "";
  display: block;
  margin: 0 auto;
  width: 112px;
  border-bottom: 6px solid black;
}
.to-left .loota {
  width: 293px;
}
.profile-link {
  display: inline-block;
  color: #aaa;
}
.profile-link > i {
  position: relative;
  top: -2px;
  vertical-align: middle;
  margin: 0 auto;
  display: inline-block;
  width: 46px;
  height: 46px;
  background-size: cover;
  border-radius: 23px;
  margin-right: 5px;
}
.profile {
  padding: 2.3em 2em 2.3em 2em;
}
.profile > i {
  margin: 0 auto;
  display: block;
  width: 90px;
  height: 90px;
  background-size: cover;
  border-radius: 56px;
  margin-top: 56px;
}
.profile h2 {
  margin-top: 1em;
}
.profile .more-link {
  margin-top: 1em;
}
.text-btn {
  display: block;
  background: #e3e3e3;
  padding: 9px 5px 8px 5px;
  border-radius: 2px;
  text-align: center;
  font-weight: bold;
  color: #F3C500;
}
.text-btn:hover {
  background: #F3C500;
  color: #fff;
}
.audioButton {
  color: inherit;
}
.audioButton > i {
  display: inline-block;
  margin-right: 5px;
  width: 10px;
  height: 10px;
  background: url('images/playpause.png') 0 0 no-repeat;
  background-size: 40px 10px;
  opacity: 0.3;
}
.audioButton.paused > i,
.audioButton.stopped > i {
  background-position: 0 0;
}
.audioButton.playing > i {
  background-position: -10px 0;
}
.audioButton.playing > i,
.audioButton:hover > i {
  opacity: 1;
}
ul .audioButton,
ol .audioButton {
  position: relative;
}
ul .audioButton > i,
ol .audioButton > i {
  position: absolute;
  left: -46px;
  top: 0.6em;
  margin-top: -5px;
}
#footer {
  text-align: center;
  font-size: 14px;
  color: #4c4c4c;
}
#footer #footer-logo {
  display: block;
  margin: 0 auto;
  width: 260px;
  margin-bottom: 8px;
}
#footer p.yhteystiedot {
  font-size: 15px;
  margin: 0;
  padding: 0 0 8px 0;
}
#footer p.copyrights {
  padding: 0 0 10px 0;
  font-size: 12px;
  color: #6B6B6B;
  text-decoration: none;
}
#footer a {
  color: #4c4c4c;
  text-decoration: none;
}
#footer a:hover {
  color: #F3C500;
}
.widget {
  background: #fff;
  padding: 16px 20px;
  -webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.125);
  -moz-box-shadow: 0 0 12px rgba(0, 0, 0, 0.125);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.125);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.widget > h1 {
  text-align: center;
  color: #F3C500;
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  padding: 23px 0;
  margin: -16px -20px 16px -20px;
  border-bottom: 3px solid #F3C500;
}
.widget + .widget {
  margin-top: 22px;
}
.widget .btn-more {
  padding: 0 20px;
  margin: 16px -20px -16px -20px;
  border-top: 1px solid #eeeeee;
  text-align: center;
}
.widget .btn-more a {
  display: inline-block;
  margin-left: -32px;
  padding: 8px 0;
  font-weight: 700;
  text-transform: uppercase;
  color: #7b7b7b;
  line-height: 32px;
}
.widget .btn-more a i {
  vertical-align: middle;
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url('images/icon-silma.png') 0 0 no-repeat;
  background-size: 32px auto;
}
.widget .btn-more a:hover {
  color: #a1a1a1;
}
.widget .btn-more a:hover i {
  opacity: 0.75;
}
#cmt-btn {
  text-align: center;
  padding: 5em 0 2em 0;
}
#cmt-btn > a {
  padding: 0.4em 0.7em;
  background: #F3C500;
  color: #000;
  display: inline-block;
  font-size: 32px;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: 1.1;
}
#cmt-btn > a:hover {
  background: #ffa50c;
}
.article-actions {
  clear: both;
  margin-top: 1.3em;
  border-bottom: 2px solid #B4AFAB;
}
.article-actions .post-edit-link {
  color: #B4AFAB;
  line-height: 30px;
  float: left;
}
.article-actions .socmed {
  float: right;
}
.article-actions .socmed a {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.socmed {
  line-height: 21px;
}
.socmed .title {
  color: #B4AFAB;
  display: block;
  float: left;
  padding: 0 10px 0 0;
  line-height: 30px;
}
.socmed-links {
  display: inline;
  list-style: none;
  padding: 0;
}
.socmed-links li {
  display: block;
  float: left;
}
.socmed-links li + li {
  margin-left: 4px;
}
.socmed-links a {
  width: 30px;
  height: 30px;
  background: #B4AFAB url('images/socmed.png?v3') 0 0 no-repeat;
  overflow: hidden;
  text-indent: -999em;
  display: block;
  border-radius: 3px;
}
.socmed-links a:hover {
  background-color: #c7c4c1;
}
.socmed-links .facebook a {
  background-position: -30px 0;
}
.socmed-links .pinterest a {
  background-position: -60px 0;
}
.socmed-links .rssf a {
  background-position: -90px 0;
}
.socmed-links .email a {
  background-position: -120px 0;
}
.socmed-links .linkedin a {
  background-position: -150px 0;
}
.socmed-links .gplus a {
  background-position: -180px 0;
}
.socmed-tiny .title {
  color: #000;
  line-height: 20px;
  font-weight: normal;
}
.socmed-tiny a {
  width: 20px;
  height: 20px;
  background-image: url('images/socmed-tiny.png?v3');
  border-radius: 3px;
}
.socmed-tiny .facebook a {
  background-position: -20px 0;
}
.socmed-tiny .pinterest a {
  background-position: -40px 0;
}
.socmed-tiny .rssf a {
  background-position: -60px 0;
}
.socmed-tiny .email a {
  background-position: -80px 0;
}
.socmed-tiny .linkedin a {
  background-position: -100px 0;
}
.socmed-tiny .gplus a {
  background-position: -120px 0;
}
.black .socmed-links a {
  background-color: #fff;
  background-image: url('images/socmed-black.png?v3');
}
.black .socmed-tiny a {
  background-color: #fff;
  background-image: url('images/socmed-tiny-black.png?v3');
}
.black .socmed-links a:hover {
  background-color: #ddd;
}
.download-attachments {
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-image: none;
  font-size: 17px;
  /*
	a {
		display: inline-block;
		position: relative;
		line-height: @lataukset-ikonin-koko;
		padding-left: (@lataukset-ikonin-koko + @lataukset-ikonin-valitys);
		vertical-align: middle;
		
		&:after  {
			position: absolute;
			left: 0;
			top: 0;
			display: block;
			width: @lataukset-ikonin-koko;
			height: @lataukset-ikonin-koko;
			background-size: @lataukset-ikonin-koko @lataukset-ikonin-koko;
			background-position: 0 0;
			background-repeat: no-repeat;
			content: "";
		}
		
		&:hover:after {
			opacity: 0.7;
		}
	}
	
	.download-pdf a:after {
		background-image: url('images/pdf.png');
	}
	*/
}
.download-attachments li {
  margin-bottom: 5px;
}
.lomake p {
  max-width: 17em;
}
.lomake input {
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.lomake .wpcf7-number,
.lomake .wpcf7-text {
  padding: 5px;
}
.lomake .osoite .laskutus_postinumero input,
.lomake .osoite .toimitus_postinumero input {
  width: 40%;
}
.lomake .osoite .laskutus_postitoimipaikka input,
.lomake .osoite .toimitus_postitoimipaikka input {
  width: 58%;
  float: right;
}
.lomake .wpcf7-number {
  max-width: 3em;
  font-size: 20px;
}
.lomake .wpcf7-submit {
  width: auto;
  padding: 5px 10px;
}
div.wpcf7-mail-sent-ok {
  border: 2px solid #398f14;
  background: #398f14;
  color: #fff;
}
.events-list {
  list-style: none;
  margin: 0;
  list-style-image: none;
  padding: 0;
}
h2.ohjelma {
  font-size: 32px;
  border-top: 1px solid #ddd;
  margin-top: 0;
  padding-top: 1.1em;
}
h1 + h2.ohjelma {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}
.events-list-long {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
  margin-bottom: 3px;
}
.events-list-long li {
  padding-bottom: 1.5em;
}
.events-list-long li .title {
  color: #2d2d2d;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 23px;
}
.events-list-long li .location {
  color: #2d2d2d;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 23px;
  display: block;
  padding: 0 0 0.65em 0;
}
.event .datetime {
  width: 107px;
  height: 107px;
  background: url('images/iso-pallo.png') no-repeat;
  display: block;
}
.event .datetime .date {
  color: #fff;
  font-weight: 700;
  font-size: 30px;
  text-align: center;
  padding: 27px 0 0 0;
  line-height: 1.2;
  display: block;
}
.event .datetime .time {
  color: #fff;
  font-size: 13px;
  text-align: center;
  line-height: 1;
  display: block;
}
.event .tickets {
  font-weight: bold;
}
.event .details {
  float: left;
  width: 107px;
  padding-right: 30px;
}
.event .the_content {
  overflow: hidden;
}
.lessons-listing {
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-image: none;
  text-align: left;
}
.lessons-listing li {
  padding: 0 0 0.75em 0;
}
.lessons-listing a {
  text-decoration: none;
}
.lessons-listing a:hover {
  text-decoration: underline;
}
.lessons-listing a.active {
  font-weight: bold;
}
.courses-table > .course-row {
  color: inherit;
  display: block;
  margin-bottom: 1.7em;
  padding: 2em 1.5em;
  background: #000;
  background-size: cover;
  color: #fff;
  position: relative;
}
.courses-table > .course-row:before {
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, 0.2);
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.courses-table > .course-row:hover:before {
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, 0.3);
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.courses-table > .course-row > .course-row-content {
  position: relative;
}
.courses-table > .course-row > .course-row-content > .info {
  overflow: hidden;
}
.courses-table > .course-row > .course-row-content > .info > .introduction {
  padding-bottom: 0.2em;
}
.lessons-table > .lesson-row {
  color: inherit;
  display: block;
  margin-bottom: 1.7em;
  padding: 2em 1.5em;
  background: #000;
  background-size: cover;
  color: #fff;
  position: relative;
}
.lessons-table > .lesson-row:before {
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, 0.2);
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.lessons-table > .lesson-row:hover:before {
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, 0.3);
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.lessons-table > .lesson-row > .lesson-row-content {
  position: relative;
}
.lessons-table > .lesson-row > .lesson-row-content > .number {
  float: left;
  display: block;
  margin-right: 0.5em;
  padding: 0.8em;
  border-radius: 50%;
  border: 1px solid #fff;
  font-size: 120%;
  line-height: 1;
  position: relative;
}
.lessons-table > .lesson-row > .lesson-row-content > .number > div {
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
  right: 0;
  text-align: center;
}
.lessons-table > .lesson-row > .lesson-row-content > .info {
  overflow: hidden;
}
.lessons-table > .lesson-row > .lesson-row-content > .info > .introduction {
  padding-bottom: 0.2em;
}
.lessons-table > .lesson-row > .lesson-row-content > .info > .right-answers {
  padding-bottom: 0.4em;
  font-style: italic;
}
.prev-next {
  display: block;
}
.prev-next > a {
  display: inline-block;
  border: 3px solid #F3C500;
  padding: 0.4em 1.2em 0.4em 1.4em;
  color: #2d2d2d;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}
.prev-next > a:hover {
  color: #F3C500;
}
.prev-next > .prev {
  display: block;
  float: left;
}
.prev-next > .next {
  display: block;
  float: right;
}
.lesson {
  display: none;
}
.lesson .answers {
  padding-bottom: 1.5em;
}
.lesson .after-test {
  padding-top: 1.5em;
}
.lesson .featured-image {
  display: block;
  padding-bottom: 1em;
}
.lesson .featured-image > img {
  display: block;
  width: 100%;
  height: auto;
}
.answers-popup {
  display: none;
}
.mfp-container .answers-popup {
  background: white;
  padding: 1.5em;
  position: relative;
  display: block;
  max-width: 30em;
  margin: 0 auto;
}
.mfp-container .answers-popup .mfp-close {
  background: #000;
  border-radius: 50%;
  margin: 0.5em;
}
.answers-popup .your-choice {
  display: block;
  color: red;
}
.answers-popup .your-choice.correct {
  color: green;
}
.questions .question {
  display: block;
  padding-bottom: 1em;
}
.questions .question .choices label {
  cursor: pointer;
  cursor: hand;
  display: block;
  padding-bottom: 0.5em;
  position: relative;
}
.questions .question .choices label > input {
  position: absolute;
  left: 0;
}
.questions .question .choices label > .text {
  padding-left: 2.25em;
  display: block;
}
.questions .question .choices label > .checkmark {
  display: none;
}
.article-list-item {
  margin-bottom: 2em;
  padding-bottom: 2em;
  border-bottom: 1px solid #eee;
}
.article-list-item .meta {
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #aaa;
}
.article-list-item .meta > a {
  color: #aaa;
}
.article-list-item > header > .meta {
  margin: 0;
}
.article-list-item > header > h1 {
  font-size: 36px;
}
.article-list-item > header > h1 > a {
  color: #2d2d2d;
}
.article-list-item > header > h1 > a:hover {
  color: #F3C500;
}
.article-list-item > footer {
  clear: none !important;
}
.article-list-item .more-link-wrapper {
  float: right;
  margin-top: 2em;
}
.article-list-item .post-edit-link {
  float: right;
  margin-right: 2em;
}
#news-nosto:before {
  margin-top: 70px;
  padding-top: 85px;
  content: "";
  display: block;
  border-top: 9px solid black;
}
#post {
  position: relative;
}
#post .loota > h1 {
  background-image: url('images/laita-icon-artikkeli.png');
}
#kirjoittajan-artikkelit .loota {
  margin-left: 0;
  height: 621px;
  margin-bottom: 41px;
  overflow-y: auto;
}
#kirjoittajan-artikkelit .loota::scrollbar {
  width: 2px;
}
#kirjoittajan-artikkelit .loota::-moz-scrollbar {
  width: 2px;
}
#kirjoittajan-artikkelit .loota::-webkit-scrollbar {
  width: 2px;
}
#kirjoittajan-artikkelit .loota::-webkit-scrollbar-button {
  width: 2px;
  height: 2px;
}
#kirjoittajan-artikkelit .loota::-webkit-scrollbar-track {
  background: #eee;
  border: thin solid lightgray;
  box-shadow: 0px 0px 3px #dfdfdf inset;
  border-radius: 10px;
}
#kirjoittajan-artikkelit .loota::-webkit-scrollbar-thumb {
  background: #999;
  border: thin solid gray;
  border-radius: 10px;
}
#kirjoittajan-artikkelit .loota::-webkit-scrollbar-thumb:hover {
  background: #7d7d7d;
}
#kirjoittajan-artikkelit .loota > h1 {
  background-image: url('images/laita-icon-kirjoittajan-sivu.png');
}
#comments {
  margin-top: 2em;
  padding: 2em 0;
  background: #F9F9F9;
  border-bottom: 1px solid #e0e0e0;
}
#comments .etiketti {
  display: none;
}
#comments .etiketti.shown {
  display: block;
}
#lisaa-luettavaa {
  padding-top: 2em;
  padding-bottom: 2em;
}
#lisaa-luettavaa > h1 {
  text-align: center;
  margin-bottom: 1em;
}
/*
#kirjoittajat {
    .loota {
        > h1 {
            background-image: url('images/laita-icon-kirjoittajat.png');
        }
        margin-left: 0;
        height: 1035px;
        margin-bottom: 42px;
        overflow-y: auto;
        .scrollbar;
    }
    .nostot {
        > li {
            > a {
                > .zoom {
                    position: relative;
                    display: block;
                    .box-sizing;
                    padding: 15% 15% 25% 15%;
                    text-align: left;
                    height: 497px;
                    color: #fff;
                    font-size: 15px;
                    
                    > .cat {
                        .font-pysty;
                        font-size: 14px;
                    }
                    > h2 {
                        font-size: 37px;
                        margin: 0.1em 0 0.7em 0;
                    }
                    > .intro {
                        position: absolute;
                        bottom: 9%;
                        left: 15%;
                        right: 15%;
                        padding-bottom: 4em;
                    }
                    > .more {
                        position: absolute;
                        bottom: 9%;
                        left: 15%;
                        right: 15%;
                        text-align: center;
                        padding: 0.5em 0.5em;
                        border: 3px solid @color1;
                        display: block;
                        font-size: 15px;
                        .font-pysty;
                        text-transform: uppercase;
                    }
                }
                
                &:hover > .zoom {
                    > .more {
                        color: @color1;
                    }
                }
            }
        }
    }
}
*/
.kirjoittajat {
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-image: none;
  margin: 15px 0 0 0;
}
.kirjoittajat > li {
  margin: 0 0 65px 0;
}
.kirjoittajat > li > a {
  color: #000;
}
.kirjoittajat > li > a > i {
  width: 6em;
  height: 6em;
  border-radius: 3em;
  margin-right: 1.0em;
  display: block;
  float: left;
  background-size: cover;
}
.kirjoittajat > li > a > .content {
  overflow: hidden;
  font-size: 15px;
}
.kirjoittajat > li > a > .content > .more {
  margin: 0.5em 0 2px 0;
  display: inline-block;
  border: 3px solid #F3C500;
  padding: 0.4em 1.2em 0.4em 1.4em;
  color: #2d2d2d;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}
.kirjoittajat > li > a > .content > .more:hover {
  color: #F3C500;
}
.kirjoittajat > li > a:hover > .content > h2 {
  color: #F3C500;
}
.kirjoittajat > li > a:hover > .content > .more {
  color: #F3C500;
}
.kirjoittajat > li > a:hover > i {
  opacity: 0.8;
}
.nostot {
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-image: none;
  margin: 0 -2%;
}
.nostot > li {
  float: left;
  width: 33.33333333%;
  padding: 0 2%;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 41px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}
.nostot > li > a.comments-link {
  padding: 0;
  margin: 0;
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: block;
  font-size: 13px;
  text-align: center;
  color: #fff;
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
}
.nostot > li > a {
  display: block;
  position: relative;
  background: center center no-repeat;
  background-size: cover;
}
.nostot > li > a > .zoom {
  position: relative;
  display: block;
  height: 290px;
  background: rgba(0, 0, 0, 0.15);
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.nostot > li > a > .zoom > .content {
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  padding: 1em 30px;
  display: block;
  width: 100%;
}
.nostot > li > a > .zoom > .content > span {
  display: block;
  color: #fff;
}
.nostot > li > a > .zoom > .content > .cat {
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 80%;
}
.nostot > li > a > .zoom > .content > .otsikko {
  padding: 0.7em 0;
  line-height: 1.1;
}
.nostot > li > a > .zoom > .content > .otsikko-alla {
  font-family: "brandon-grotesque", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 80%;
}
.nostot > li > a:hover > .zoom {
  background: rgba(0, 0, 0, 0.25);
}
.nostot.regular > li:nth-child(8n-3) > a > .zoom,
.nostot.regular > li:nth-child(8n-5) > a > .zoom {
  height: 621px;
}
.nostot.regular > li:nth-child(8n-3) > a > .zoom > .content > .otsikko,
.nostot.regular > li:nth-child(8n-5) > a > .zoom > .content > .otsikko {
  font-size: 150%;
}
.nostot.regular > li:nth-child(8n-5) {
  float: right;
}
.nostot.regular > li:nth-child(8n),
.nostot.regular > li:nth-child(8n-4) {
  width: 66.66666667%;
}
.nostot.regular > li:nth-child(8n) > a > .zoom > .content > .otsikko,
.nostot.regular > li:nth-child(8n-4) > a > .zoom > .content > .otsikko {
  font-size: 150%;
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
#page {
  min-height: 100%;
  position: relative;
}
#ie6 #page {
  height: 100%;
}
#main {
  padding-bottom: 140px;
}
#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  margin-bottom: 20px;
  padding: 0;
}
.admin-bar #top {
  height: 32px;
}
.admin-bar #navigation {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar #top {
    height: 46px;
  }
  .admin-bar #navigation {
    top: 46px;
  }
}
html #wpadminbar {
  z-index: 20000 !important;
}
@media (max-height: 700px) {
  /*
	#hero .hero-wrap .empty {
		padding-top: 35%;
	}
	#navigation .menu-main {
		padding: 15px 0;
	}
	
	#header h1.header a img {
		width: 250px;
	}
	
	#navigation .menu-main a {
		font-size: 12px;
	}
	*/
}
@media (max-width: 1010px) {
  .page-wrapper {
    width: auto;
    padding: 0 20px;
  }
  #content.front > .content br {
    display: none;
  }
  .content.to-left > .share > .share-wrap,
  .content.to-left > .share,
  .content.to-left > .loota {
    width: 230px;
  }
  .content.to-left > .article {
    width: -webkit-calc(100% - 268.4px);
    width: -moz-calc(100% - 268.4px);
    width: calc(100% - 268.4px);
  }
  /*
	#kirjoittajat .nostot>li>a>.zoom>.more {
	    font-size: 13px;
	}
	 */
  #navigation-hidden {
    left: 56%;
    right: auto;
    margin-top: -10px;
  }
  #search {
    right: 50%;
    margin-top: -10px;
  }
  /*
    #kirjoittajat {
        .nostot {
            > li {
                > a {
                    > .zoom {
                        padding: 9% 9% 15% 9%;
                        >.more {
                            left: 9%;
                            right: 9%;
                            bottom: 7%;
                        }
                        >.intro {
                            left: 9%;
                            right: 9%;
                            bottom: 7%;
                        }
                    }
                }
            }
        }
    }
     */
  #menu-hidden {
    left: 56%;
    right: auto;
    margin-top: -10px;
  }
  body.fixed-left #left {
    margin-top: -150px;
  }
  #header .header-container {
    position: relative;
  }
  #header h1.header a {
    padding: 55px 0 0 0;
    float: none;
  }
  #header h1.header a img {
    margin: 0 auto;
  }
  #header h1.header a #logo {
    display: none;
  }
  #header h1.header a #logo-mobile {
    display: block;
  }
  #header .meta-nav {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
  }
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 21px;
  }
  h3 {
    font-size: 17px;
  }
  h4 {
    font-size: 13px;
  }
  .article-listing li a .title {
    padding-top: 0.5em;
    margin: 0;
    color: #2d2d2d;
  }
  ul.yhteistyosssa {
    margin: 0 -0.8%;
  }
  ul.yhteistyosssa > li {
    float: left;
    width: 25%;
    padding: 0 0.8%;
    margin-left: 0;
    margin-right: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  ul.yhteistyosssa > li:nth-child(4n + 1) {
    clear: both;
  }
  ul.yhteistyosssa > li:nth-child(6n+1) {
    clear: none;
  }
  ul.yhteistyosssa li {
    border: 1px solid #ddd;
    border-width: 0 1px 1px 0;
  }
  ul.yhteistyosssa li:nth-child(6n),
  ul.yhteistyosssa li:nth-child(n+7) {
    border-width: 0 1px 1px 0;
  }
  ul.yhteistyosssa li:nth-last-child(-n+3) {
    border-bottom-width: 0;
  }
  ul.yhteistyosssa li:nth-child(4n) {
    border-right-width: 0;
  }
  #topbg {
    margin-bottom: 0;
    position: relative;
  }
  #topbg > .empty {
    padding-top: 43%;
  }
  #topbg > .img {
    bottom: auto;
    padding-top: 43%;
  }
  #topbg > .txt {
    color: #000;
    position: static;
    margin-top: 0.65em;
  }
  #topbg > .txt > a,
  #topbg > .txt > h1 > a {
    color: #000;
  }
  #navigation #menu-tiputusvalikko {
    left: 0;
    text-align: center;
  }
  #navigation .menu-primary {
    text-align: center;
    padding: 5px 0 15px 0;
  }
}
@media (max-width: 750px) {
  .page-wrapper {
    width: auto;
    padding: 0 20px;
  }
  .article-list-item .more-link-wrapper {
    float: none;
    margin-top: 1em;
  }
  .more-link-wrapper {
    margin: 0.5em 0 0 0;
  }
  .filters {
    max-width: none;
  }
  .more-link {
    display: block;
    text-align: center;
  }
  #page {
    padding: 0;
  }
  .home #topbg .loota {
    display: block;
  }
  .home #content > .content > .loota {
    display: none;
  }
  /*
	#kirjoittajat {
        .nostot {
            margin: 0;
            > li {
                padding: 0;
                float: none;
                width: auto;
                clear: both;
            }
        }
	}
	 */
  #slider .page-wrapper {
    position: relative;
  }
  #slider .slider {
    position: static;
  }
  #slider .slider > .empty {
    padding-bottom: 8em;
  }
  #slider .slider > .slide > .texts {
    left: 0;
  }
  ul.yhteistyosssa {
    margin: 0 -0.8%;
  }
  ul.yhteistyosssa > li {
    float: left;
    width: 33.33333333%;
    padding: 0 0.8%;
    margin-left: 0;
    margin-right: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  ul.yhteistyosssa > li:nth-child(3n + 1) {
    clear: both;
  }
  ul.yhteistyosssa > li:nth-child(4n+1) {
    clear: none;
  }
  ul.yhteistyosssa li {
    border: none;
    padding: 0 3%;
  }
  body.fixed-left #left {
    position: static;
  }
  body.fixed-left #content {
    margin-left: 0;
  }
  .events-list-long.twohalfs li > .date {
    float: none;
    width: auto;
  }
  .events-list-long.twohalfs li > .date .date {
    display: inline;
  }
  .events-list-long.twohalfs li > .content {
    overflow: hidden;
  }
  .events-list-long.twohalfs li > .content > .title {
    display: block;
    padding-bottom: 0.35em;
  }
  .julkaisu {
    padding-bottom: 2em;
  }
  .julkaisu .meta {
    float: none;
    width: auto;
  }
  .julkaisu .content {
    float: none;
    width: auto;
  }
  .julkaisu .lisatietoja {
    float: none;
    width: auto;
  }
  .mobile-wrapped-opener {
    display: block;
    background: #F3C500;
    padding: 5px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    font-family: "brandon-grotesque", sans-serif;
    font-style: normal;
    font-weight: 400;
  }
  .mobile-wrapped-opener.shown,
  .mobile-wrapped-opener:active,
  .mobile-wrapped-opener:hover {
    color: #fff;
    background-color: #ffd10e;
  }
  .mobile-wrapped-content {
    display: none;
  }
  .mobile-wrapped-content.shown {
    display: block;
  }
  #socmed-follow {
    display: none;
  }
  #languages {
    text-align: center;
  }
  #languages .menu-languages {
    position: absolute;
    top: 4px;
    right: 0;
    left: 0;
  }
  #header {
    background: #000;
    padding: 0;
    height: 72px;
    position: relative;
  }
  #header .page-wrapper {
    padding: 0;
  }
  #header .header-container {
    height: 72px;
  }
  #header h1.header a {
    float: none;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 72px;
    bottom: 0;
  }
  #header h1.header a img {
    width: auto;
    margin: 0 auto;
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    height: 63%;
  }
  .article-list-item h1 {
    font-size: 19px;
  }
  #content.front .blocks {
    margin: 0;
  }
  #content.front .blocks > div {
    float: none;
    width: auto !important;
    padding: 0;
  }
  #content.front .tweet-wrap,
  #content.front .julkaisut,
  #content.front .kuulumiset {
    margin-top: 0;
    padding-top: 1em;
  }
  #content.front .tweet-wrap .article-list-item,
  #content.front .julkaisut .article-list-item,
  #content.front .kuulumiset .article-list-item {
    padding-bottom: 0;
    margin-bottom: 1em;
  }
  #navigation {
    display: none;
  }
  #more-mobile {
    display: block;
    width: 72px;
    height: 72px;
    position: absolute;
    bottom: 0;
    top: 0;
    right: 0;
    z-index: 20;
    text-align: center;
    vertical-align: bottom;
  }
  #more-mobile > span {
    display: none;
  }
  #more-mobile > i {
    position: absolute;
    vertical-align: middle;
    display: block;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #F3C500 url('images/hamburger@2x.png') 0 0 no-repeat;
    background-position: center center;
    background-size: 34px 27px;
  }
  #more-mobile.shown > i,
  #more-mobile:active > i,
  #more-mobile:hover > i {
    background-color: #ffd10e;
  }
  #navigation-mobile {
    clear: both;
    display: block;
    overflow: hidden;
    position: absolute;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 10000;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    max-height: 0;
    opacity: 0;
    -webkit-transition: max-height 0.5s, opacity 0.5s;
    -moz-transition: max-height 0.5s, opacity 0.5s;
    -ms-transition: max-height 0.5s, opacity 0.5s;
    -o-transition: max-height 0.5s, opacity 0.5s;
    transition: max-height 0.5s, opacity 0.5s;
  }
  #navigation-mobile > ul {
    list-style: none;
    margin: 0;
    list-style-image: none;
    padding: 0;
  }
  #navigation-mobile > ul > li {
    display: block;
    border-top: 1px solid #000;
    background: #fff;
  }
  #navigation-mobile > ul > li > a {
    display: block;
    background: #fff;
    text-align: center;
    color: #F3C500;
    font-size: 16px;
    padding: 15px 0;
    letter-spacing: 3.2px;
    text-transform: uppercase;
    font-family: "brandon-grotesque", sans-serif;
    font-style: normal;
    font-weight: 400;
  }
  #navigation-mobile > ul > li > a:active,
  #navigation-mobile > ul > li > a:hover {
    background: #F3C500;
    color: #000;
  }
  #navigation-mobile > ul > li.current-menu-item > a {
    background: #F3C500;
    color: #000;
  }
  #navigation-mobile > ul > li:last-child > a {
    border-bottom: 1px solid #000;
  }
  #navigation-mobile > ul > li.socmed {
    padding: 20px 0 5px 0;
    border-bottom: 1px solid #000;
  }
  #navigation-mobile > ul > li.socmed .kuvakkeet > li {
    margin: 0 5px;
  }
  #navigation-mobile > ul > li.socmed .kuvakkeet > li > a > span {
    color: #000;
  }
  #navigation-mobile.show {
    max-height: 1024px;
    opacity: 1;
  }
  .nostot.squares {
    /*&.remove-3rd {
            > li:nth-child(3) { 
                display: none;
            }
        } */
  }
  .nostot.squares > li {
    width: 50%;
    float: left;
    margin-bottom: 21px;
  }
  .nostot.regular > li:nth-child(8n),
  .nostot.regular > li:nth-child(8n-4),
  .nostot.regular > li:nth-child(8n-3),
  .nostot.regular > li:nth-child(8n-5),
  .nostot.regular > li {
    float: left;
    width: 50%;
    margin-bottom: 12%;
  }
  .nostot.regular > li:nth-child(8n) > a > .zoom,
  .nostot.regular > li:nth-child(8n-4) > a > .zoom,
  .nostot.regular > li:nth-child(8n-3) > a > .zoom,
  .nostot.regular > li:nth-child(8n-5) > a > .zoom,
  .nostot.regular > li > a > .zoom {
    height: 270px;
  }
  .nostot.regular > li:nth-child(8n) > a > .zoom .content > .otsikko,
  .nostot.regular > li:nth-child(8n-4) > a > .zoom .content > .otsikko,
  .nostot.regular > li:nth-child(8n-3) > a > .zoom .content > .otsikko,
  .nostot.regular > li:nth-child(8n-5) > a > .zoom .content > .otsikko,
  .nostot.regular > li > a > .zoom .content > .otsikko {
    font-size: 100%;
  }
  .content.to-left > .article {
    float: none;
    width: auto;
  }
  .kirjoittajat > li {
    margin: 0 0 2em 0;
  }
  .kirjoittajat > li > a > i {
    width: 4em;
    height: 4em;
    border-radius: 2em;
  }
  .content.to-left > .share > .share-wrap,
  .content.to-left > .share,
  .share,
  .share > .share-wrap {
    clear: both;
    float: none;
    width: auto;
    margin: 0;
  }
  .fixed-share .share > .share-wrap {
    position: static;
  }
  .fixed-share-bottom .share > .share-wrap {
    position: static;
  }
  .content.to-left > .loota,
  .loota {
    clear: both;
    float: none;
    width: auto;
    padding: 2.3em 2em 1.3em 2em;
    min-height: 0 !important;
    height: auto !important;
    margin-left: 0;
    margin-bottom: 5%;
  }
  .content.to-left > .loota > h1,
  .loota > h1 {
    display: none;
  }
  .content.to-left > .loota.profile > i,
  .loota.profile > i {
    margin-top: 0;
  }
  .kuvagalleria {
    margin: 0 -6px;
  }
  .kuvagalleria > li:nth-child(4n+1) {
    clear: none;
  }
  .kuvagalleria > li {
    float: left;
    width: 50%;
    padding: 0 6px;
    margin-left: 0;
    margin-right: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .kuvagalleria > li:nth-child(2n + 1) {
    clear: both;
  }
  .twocol.secondaryfront .col1,
  .twocol.secondaryfront .col2,
  .twocol .col1,
  .twocol .col2 {
    float: none;
    width: auto;
    clear: both;
    padding: 0 0 20px 0;
  }
  .article-list-image {
    float: none;
    width: auto;
  }
  .article-list-image > li {
    float: none;
    clear: both;
    width: auto;
    padding: 0 0 20px 0;
  }
  .article-list-image > li img {
    margin: 0 auto;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 19px;
  }
  h3 {
    font-size: 16px;
  }
  h4 {
    font-size: 12px;
  }
  .article-listing li a .title {
    font-size: 16px;
    padding-top: 0.5em;
    margin: 0;
    color: #2d2d2d;
  }
  .article-listing li a .datetime {
    margin-right: 1em;
  }
  .widget_ownskit_events li:nth-child(2n) {
    display: none;
  }
  .julkaisut {
    margin: 0 -10px;
  }
  .julkaisut > li:nth-child(3n+1) {
    clear: none;
  }
  .julkaisut > li {
    float: left;
    width: 50%;
    padding: 0 10px;
    margin-left: 0;
    margin-right: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .julkaisut > li:nth-child(2n + 1) {
    clear: both;
  }
  .event .details {
    float: none;
    padding-right: 0;
    margin: 0 auto;
  }
  #main {
    padding-bottom: 20px;
  }
  #footer {
    position: static;
  }
  #footer aside:first-child {
    float: none;
  }
  #footer .sep {
    display: none;
  }
  #footer .sivusto-a {
    display: block;
  }
  #left .menu a,
  #left h1 {
    text-align: center;
  }
}
@media (max-width: 512px) {
  .page-wrapper {
    width: auto;
    padding: 0 20px;
  }
  #kirjoittajan-artikkelit .loota {
    float: none;
    width: auto;
    height: auto;
    margin-bottom: 10px;
  }
  .kirjoittajat > li > a > .content > .more {
    font-size: 12px;
  }
  .nostot.squares > li {
    width: auto;
    float: none;
  }
  .nostot.regular > li:nth-child(n),
  .nostot.regular > li {
    margin-bottom: 10px;
    float: none;
    clear: both;
    width: auto;
  }
}
@media (only screen and (-webkit-min-device-pixel-ratio: 1.3),  only screen and (-o-min-device-pixel-ratio: 13/10),  only screen and (min-resolution: 120dpi)) {
  .socmed-listing li a:before {
    background-image: url('images/socmed-colored@2x.png');
    background-size: 30px 60px;
  }
  .socmed-links a {
    background-image: url('images/socmed@2x.png?v4');
    background-size: 210px 30px;
  }
  .socmed-tiny a {
    background-image: url('images/socmed-tiny@2x.png?v4');
    background-size: 140px 20px;
  }
  .black .socmed-links a {
    background-image: url('images/socmed-black@2x.png?v4');
  }
  .black .socmed-tiny a {
    background-image: url('images/socmed-tiny-black@2x.png?v4');
  }
}
/*# sourceMappingURL=style.css.map */