/*!
Theme Name:     Combat Academy
Description:    
Author:         Ulkoasu: Tuomo Povelainen, Ohjelmointi: Jari Pennanen
Version:        development
License:
*/
/* HTML5 support for IE6,7,8 */
/**
 * @license
 * MyFonts Webfont Build ID 3076383, 2015-08-17T04:17:39-0400
 * 
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are 
 * explicitly restricted from using the Licensed Webfonts(s).
 * 
 * You may obtain a valid license at the URLs below.
 * 
 * Webfont: Industry-Ultra by Fort Foundry
 * URL: http://www.myfonts.com/fonts/fort-foundry/industry/ultra/
 * Copyright: Copyright &#x00A9; 2014 by Mattox Shuler. All rights reserved.
 * Licensed pageviews: 10,000
 * 
 * 
 * License: http://www.myfonts.com/viewlicense?type=web&buildid=3076383
 * 
 * © 2015 MyFonts Inc
*/
/* @import must be at top of file, otherwise CSS will not work */
@import url("//hello.myfonts.net/count/2ef11f");
@font-face {
  font-family: "Industry-Ultra";
  src: url("css/2EF11F_0_0.eot");
  src: url("css/2EF11F_0_0.eot?#iefix") format("embedded-opentype"), url("css/2EF11F_0_0.woff2") format("woff2"), url("css/2EF11F_0_0.woff") format("woff"), url("css/2EF11F_0_0.ttf") format("truetype");
}
@font-face {
  font-family: "MochaMattari";
  src: url("css/2E00DB_0_0.eot");
  src: url("css/2E00DB_0_0.eot?#iefix") format("embedded-opentype"), url("css/2E00DB_0_0.woff2") format("woff2"), url("css/2E00DB_0_0.woff") format("woff"), url("css/2E00DB_0_0.ttf") format("truetype");
}
@font-face {
  font-family: "bebas_neuebold";
  src: url("css/bebasneue_bold-webfont.eot");
  src: url("css/bebasneue_bold-webfont.eot?#iefix") format("embedded-opentype"), url("css/bebasneue_bold-webfont.woff2") format("woff2"), url("css/bebasneue_bold-webfont.woff") format("woff"), url("css/bebasneue_bold-webfont.ttf") format("truetype"), url("css/bebasneue_bold-webfont.svg#bebas_neuebold") format("svg");
  font-weight: normal;
  font-style: normal;
}
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;
}
.screen-reader-response,
.skip-link,
.assistive-text,
.assistive-navigation {
  position: absolute;
  height: 0;
  width: 0;
  left: -1000px;
  opacity: 0;
  overflow: hidden;
}
.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;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-gap: 1.5em;
  gap: 1.5em;
  padding-bottom: 2em;
  padding-top: 1em;
}
@media (max-width: 760px) {
  .gallery {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.gallery figure {
  margin: 0;
}
.gallery .gallery-caption,
.gallery .gallery-content,
.gallery .gallery-icon {
  margin: 0;
  display: block;
}
.gallery .gallery-icon .preview {
  display: block;
}
.gallery-columns-2 .gallery-item {
  width: 100%;
}
.gallery-columns-3 .gallery-item {
  width: 100%;
}
.gallery-columns-4 .gallery-item {
  width: 100%;
}
.gallery-columns-5 .gallery-item {
  width: 100%;
}
#ie7 .gallery-columns-2 .gallery-item {
  width: 100%;
}
#ie7 .gallery-columns-3 .gallery-item {
  width: 100%;
}
#ie7 .gallery-columns-4 .gallery-item {
  width: 100%;
}
#ie7 .gallery-columns-5 .gallery-item {
  width: 100%;
}
.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;
  width: 100%;
  margin: 0 auto;
  border: 1px solid #d3d4d4;
}
.gallery .attachment-thumbnail,
.gallery .attachment-medium {
  max-width: 100%;
  max-height: 100%;
  width: 100% !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
 * */
/* 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;
  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: zoom-out;
}
.mfp-zoom {
  cursor: pointer;
  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;
  -ms-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;
  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;
  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;
    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 {
    transform: scale(0.75);
  }
  .mfp-arrow-left {
    transform-origin: 0;
  }
  .mfp-arrow-right {
    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;
}
.nform select,
.nform textarea,
.nform input[type=text],
.nform input[type=email] {
  box-sizing: border-box;
  width: 100%;
  height: 3.5em;
  padding: 0 1.2em;
  font-size: 13pt;
  line-height: 2.2em;
  display: block;
  margin: 0;
}
.nform select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: #fff url('../images/select.png') right center no-repeat;
  background-size: 30px auto;
  padding: 0.2em 0.55em;
}
.nform textarea {
  height: 130px;
  max-width: none;
  padding: 1em 1.2em;
  font-size: 110%;
  overflow: auto;
}
.nform fieldset {
  margin: 0;
  padding: 0 0 1em 0;
  border: 0;
}
.nform .radio {
  line-height: 1.7em;
  display: block;
  position: relative;
  cursor: hand;
  cursor: pointer;
}
.nform .radio .name {
  padding: 0 0 0 22px;
  display: inline-block;
}
.nform .radio input {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.nform .radio input + i {
  position: absolute;
  top: 1px;
  left: 0;
  background: url('radio.png') 0 0;
  width: 18px;
  height: 18px;
  background-size: 20px 40px;
  display: inline-block;
  vertical-align: middle;
}
.nform .radio input:checked + i {
  background-position: 0 -20px;
}
.nform .radio:hover {
  color: gray;
}
.nform .radio:hover + i {
  opacity: 0.7;
}
.nform .msg,
.nform .wpcf7-response-output {
  padding: 1.5em 0 0 0;
}
.nform .msg.wpcf7-mail-sent-ok,
.nform .wpcf7-response-output.wpcf7-mail-sent-ok {
  color: white;
  background: green;
  padding: 1em 1.3em;
  margin: 1.5em 0 0 0;
}
.nform .msg.errors,
.nform .wpcf7-response-output.errors,
.nform .msg.wpcf7-validation-errors,
.nform .wpcf7-response-output.wpcf7-validation-errors {
  color: white;
  background: red;
  padding: 1em 1.3em;
  margin: 1.5em 0 0 0;
}
.nform .wpcf7-display-none {
  display: none;
}
.nform .wpcf7-not-valid,
.nform textarea.error,
.nform input.error,
.nform select.error {
  border: 1px solid red;
}
.nform .wpcf7-not-valid-tip,
.nform span.error {
  font-size: 80%;
  color: red;
  line-height: 1.1;
}
.nform .required {
  color: inherit;
}
.nform .form-row {
  margin: 0 0 5px 0;
}
.nform .form-row > .name {
  display: block;
  padding: 0.3em 0 0 0;
}
.nform .form-row label.error {
  color: red;
  padding: 0.5em 0 1em 0;
  display: block;
  font-size: 80%;
  line-height: 1;
}
.nform .form-row-checkbox {
  padding: 0.5em 0 0 0;
  display: block;
}
.nform .watermark {
  position: relative;
  display: block;
}
.nform .watermark br {
  display: none;
}
.nform .watermark .name {
  position: absolute;
  top: 0.65em;
  left: 1.2em;
  line-height: 2.2;
  pointer-events: none;
  padding: 0;
  font-size: 110%;
  white-space: nowrap;
  z-index: 10;
}
.nform .watermark.filled .name {
  display: none;
}
.nform .watermark.focused .name {
  top: -2.85em;
  left: -0.1em;
  background: #777;
  color: #fff;
  padding: 0.3em 0.75em;
  position: absolute;
  z-index: 90;
  font-weight: normal;
  display: block;
  border-radius: 10px;
}
.nform .watermark.focused .name:after {
  display: block;
  content: "";
  border: 7px solid transparent;
  border-top-color: #777;
  height: 0;
  width: 0;
  position: absolute;
  bottom: -14px;
  margin-left: -7px;
  left: 50%;
}
.nform .watermark input:focus {
  position: relative;
  z-index: 20;
}
.page-title-size {
  font-family: "Industry-Ultra", sans-serif;
  font-weight: normal;
  line-height: 1;
  text-transform: uppercase;
  font-size: 50px;
  padding: 0.3em 0 0.6em;
  margin: 0;
  font-size: 110px;
  display: block;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
  letter-spacing: -0.05em;
}
.ingress {
  font-size: 28px;
  font-family: "Oswald";
  font-weight: 300;
  line-height: 1.4;
  text-transform: uppercase;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}
.slight {
  font-size: 33px;
}
.greater {
  font-size: 44px;
}
.smaller {
  font-size: 15px;
}
.socmed > .title {
  position: absolute;
  height: 0;
  width: 0;
  left: -1000px;
  opacity: 0;
  overflow: hidden;
}
.socmed-share,
.socmed-follow {
  display: block;
  text-align: center;
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-image: none;
  margin: 0 auto;
}
.socmed-share > li,
.socmed-follow > li {
  display: inline-block;
}
.socmed-share .some-link,
.socmed-follow .some-link {
  color: #fff;
  position: relative;
  display: block;
  padding: 0 4px 2.2em 4px;
  font-size: 8px;
}
@media (min-width: 700px) {
  .socmed-share .some-link.whatsapp,
  .socmed-follow .some-link.whatsapp {
    display: none;
  }
}
.socmed-share .some-link > .img,
.socmed-follow .some-link > .img {
  padding: 12px;
  display: inline-block;
  vertical-align: middle;
  box-sizing: border-box;
  transition: background-color 0.25s, border-color 0.25s;
  transform: translateZ(0);
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: #f9de00;
}
.socmed-share .some-link > .img > svg,
.socmed-follow .some-link > .img > svg {
  transition: fill 0.25s;
  fill: #000;
  display: block;
  width: 100%;
  height: 100%;
}
.socmed-share .some-link > .txt,
.socmed-follow .some-link > .txt {
  transform: translateZ(0);
  display: block;
  position: absolute;
  bottom: 0;
  left: -3.2em;
  right: -3.2em;
  text-align: center;
  opacity: 0;
  transition: opacity 0.1s;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
}
.socmed-share .some-link:focus,
.socmed-follow .some-link:focus {
  outline: 0;
}
.socmed-share .some-link:hover > .img,
.socmed-follow .some-link:hover > .img {
  background: #ffe514;
}
.socmed-share .some-link:hover > .txt,
.socmed-follow .some-link:hover > .txt {
  opacity: 1;
  color: #fff;
}
.style-dark .socmed-share .some-link > .txt,
.style-dark .socmed-follow .some-link > .txt {
  color: #fff;
}
.style-dark .socmed-share .some-link > .img > svg,
.style-dark .socmed-follow .some-link > .img > svg {
  fill: #fff;
}
.style-dark .socmed-share .some-link:hover > .img,
.style-dark .socmed-follow .some-link:hover > .img {
  background: #f9de00;
}
.style-dark .socmed-share .some-link:hover > .img > svg,
.style-dark .socmed-follow .some-link:hover > .img > svg {
  fill: #000;
}
.style-dark .socmed-share .some-link:hover > .txt,
.style-dark .socmed-follow .some-link:hover > .txt {
  opacity: 1;
}
.fb-article-list {
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-image: none;
}
.fb-article-list > li {
  display: block;
}
.fb-article-list > li + li {
  padding: 1em 0 0 0;
}
.fb-article-list a {
  position: relative;
  display: block;
  color: #fff;
  transition: color 0.25s;
  padding-bottom: 1em;
}
.fb-article-list a:after {
  content: "";
  background: url("images/splitter-vaaka.png");
  position: absolute;
  display: block;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
}
.fb-article-list .date {
  width: 4em;
  display: block;
  float: left;
  padding-right: 0.5em;
}
.fb-article-list .date > .text {
  font-family: "bebas_neuebold", sans-serif;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
  font-size: 340%;
  display: block;
  margin-top: -0.25em;
  padding: 0 0 0.025em 0;
}
.fb-article-list .date > .month {
  font-family: "bebas_neuebold", sans-serif;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
  font-size: 200%;
  display: block;
  padding: 0 0 0.2em 0;
}
.fb-article-list .date > .since {
  font-family: "Oswald";
  font-weight: 300;
  line-height: 1.4;
  text-transform: uppercase;
  color: gray;
  display: block;
}
.fb-article-list .description {
  display: block;
  overflow: hidden;
}
.kouluttaja-dialog {
  padding: 1em 3em;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}
.kouluttaja-dialog > i {
  display: block;
  padding-top: 80%;
  background-size: 100% auto;
  background-size: cover;
  border-style: solid;
  border-width: 15px 15px 15px 15px;
  -o-border-image: url(images/borders.png) 30 30 30 30 fill repeat;
  border-image: url(images/borders.png) 30 30 30 30 fill repeat;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5);
}
.kouluttajat {
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-image: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-gap: 1.5em;
  gap: 1.5em;
  text-align: center;
}
@media (max-width: 760px) {
  .kouluttajat {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.kouluttajat > .kouluttaja {
  position: relative;
  padding-bottom: 2.5em;
}
.kouluttajat > .kouluttaja > .esittely {
  font-size: 80%;
}
.kouluttajat > .kouluttaja > a {
  color: #fff;
}
.kouluttajat > .kouluttaja > a:hover {
  color: #f9de00;
}
.kouluttajat > .kouluttaja .img-wrapper {
  padding-top: 100%;
  position: relative;
}
.kouluttajat > .kouluttaja .img-wrapper > .img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.breadcrumbs {
  position: relative;
  z-index: 10000;
  font-size: 15px;
  color: #fff;
  color: rgba(255, 255, 255, 0.5);
}
.breadcrumbs ul {
  margin: 0;
  list-style: none;
  list-style-image: none;
  padding: 0;
  display: inline;
}
.breadcrumbs li {
  display: inline;
}
.breadcrumbs li:after {
  content: " > ";
}
.breadcrumbs a {
  color: #fff;
  color: rgba(255, 255, 255, 0.5);
}
.breadcrumbs a:hover {
  color: #fff;
}
.breadcrumbs li:last-child:after {
  content: "";
}
.jump-target {
  display: block;
  height: 1px;
}
.border-top-bottom:after,
.border-top-bottom:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: -37px;
  height: 37px;
  background: url("images/niitit-vaaka.jpg") 0 0 no-repeat;
  background-size: 1500px auto;
}
.border-top-bottom:after {
  top: auto;
  bottom: -37px;
  background-position: 0 -37px;
}
.border-around {
  border-style: solid;
  border-width: 15px 15px 15px 15px;
  -o-border-image: url(images/borders.png) 30 30 30 30 fill repeat;
  border-image: url(images/borders.png) 30 30 30 30 fill repeat;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5);
}
.border-around-2 {
  border-style: solid;
  border-width: 32px 32px 32px 32px;
  -o-border-image: url(images/borders2.png) 32 32 32 32 fill repeat;
  border-image: url(images/borders2.png) 32 32 32 32 fill repeat;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5);
}
.border-with-bg {
  background: url("images/bg-small.jpg") top left;
}
#go-top {
  display: none;
}
.scrolled #go-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #f9de00;
  color: #000;
  font-family: "Oswald";
  font-weight: 300;
  line-height: 1.4;
  text-transform: uppercase;
  display: block;
  padding: 8px 13px;
  font-size: 17px;
  z-index: 10005;
  opacity: 1;
  transition: opacity 0.25s;
}
.scrolled #go-top:hover {
  opacity: 0.8;
}
body,
html {
  padding: 0;
  margin: 0;
}
body {
  background: #282828 url("images/bg.jpg") top center;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  font-size: 15px;
  color: #fff;
}
a {
  color: #f9de00;
}
a:hover {
  color: #e0c700;
}
h1:first-child,
h2:first-child,
h3:first-child {
  margin-top: 0;
  padding-top: 0;
}
h1 {
  font-family: "Industry-Ultra", sans-serif;
  font-weight: normal;
  line-height: 1;
  text-transform: uppercase;
  font-size: 50px;
  padding: 0.3em 0 0.6em;
  margin: 0;
}
h2 {
  font-family: "Industry-Ultra", sans-serif;
  font-weight: normal;
  line-height: 1;
  text-transform: uppercase;
  font-size: 32px;
  padding: 0.3em 0 0.6em;
  margin: 0;
}
h3 {
  font-family: "Industry-Ultra", sans-serif;
  font-weight: normal;
  line-height: 1;
  text-transform: uppercase;
  font-size: 25px;
  padding: 0.7em 0 0.25em;
  margin: 0;
}
h4 {
  font-family: "Oswald";
  font-weight: 300;
  line-height: 1.4;
  text-transform: uppercase;
  font-size: 18px;
  padding: 0.7em 0 0.25em;
  margin: 0;
}
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: 1180px;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
.aukioloajat {
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-image: none;
  text-align: left;
}
.aukioloajat > li > .pv {
  display: inline-block;
  min-width: 2.25em;
}
.harjoitusajat {
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-image: none;
  text-align: left;
}
.harjoitusajat > li > .klo {
  display: block;
  width: 7em;
  float: left;
}
.harjoitusajat > li > .nimike {
  display: block;
  overflow: hidden;
}
.lajin-kouluttajat {
  text-align: left;
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-image: none;
  margin: 0 -2em;
  padding-bottom: 3em;
}
.lajin-kouluttajat > li {
  float: left;
  width: 20%;
  padding: 0 2em;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
.lajin-kouluttajat > li:nth-child(5n + 1) {
  clear: both;
}
.lajin-kouluttajat .titteli {
  font-size: 80%;
}
.lajit {
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-image: none;
  margin: 0 -1%;
}
.lajit > li {
  float: left;
  width: 33.33333333%;
  padding: 0 1%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
.lajit > li:nth-child(3n + 1) {
  clear: both;
}
.lajit > li {
  padding-bottom: 2%;
}
.lajit a {
  display: block;
  position: relative;
  background: center center no-repeat;
  background-size: 100% auto;
  background-size: cover;
  border-style: solid;
  border-width: 15px 15px 15px 15px;
  -o-border-image: url(images/borders.png) 30 30 30 30 fill repeat;
  border-image: url(images/borders.png) 30 30 30 30 fill repeat;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5);
  transform: translateZ(0);
  transition: opacity 0.25s;
}
.lajit a > .empty {
  display: block;
  padding-top: 50%;
}
.lajit a > .title {
  position: absolute;
  top: 50%;
  margin-top: -0.5em;
  left: 0;
  right: 0;
  font-family: "bebas_neuebold", sans-serif;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
}
.lajit a:hover {
  outline: 5px solid #f9de00;
}
.kurssit {
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-image: none;
}
.kurssit > li {
  position: relative;
  padding: 0 0 1em 0;
}
.kurssit > li + li {
  padding-top: 1.2em;
}
.kurssit > li + li:after {
  content: "";
  background: url("images/splitter-vaaka.png");
  position: absolute;
  display: block;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
}
.kurssit > li > .col {
  display: block;
  float: left;
}
.kurssit > li > .col.details {
  width: 37%;
}
.kurssit > li > .col.details > .title {
  font-family: "bebas_neuebold", sans-serif;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
  font-size: 170%;
  display: block;
  padding: 0 0 5px 0;
}
.kurssit > li > .col.details > .title > .salit {
  display: block;
  font-size: 70%;
  font-family: "Oswald";
  font-weight: 300;
  line-height: 1.4;
  text-transform: uppercase;
}
.kurssit > li > .col.alkamisajankohta {
  box-sizing: border-box;
  padding-left: 1.5em;
  font-family: "Oswald";
  font-weight: 300;
  line-height: 1.4;
  text-transform: uppercase;
  width: 33%;
}
.kurssit > li > .col.more-link-wrapper {
  padding: 0;
  width: 30%;
  text-align: right;
}
.kurssit > li > .huomio {
  padding: 0.5em 0 0 0;
}
.kurssit > li > .lisatietoja {
  font-size: 90%;
}
.more-link-wrapper-light {
  font-family: "Oswald";
  font-weight: 300;
  line-height: 1.4;
  text-transform: uppercase;
  font-size: 16px;
  padding: 1.5em 0 0 0;
}
.more-link-wrapper-light > .more-link {
  color: #fff;
}
.more-link-wrapper-light > .more-link:hover {
  color: #f9de00;
}
.more-link-wrapper {
  font-family: "Oswald";
  font-weight: 300;
  line-height: 1.4;
  text-transform: uppercase;
  font-size: 16px;
  padding: 1.5em 0 0 0;
}
.more-link-wrapper > .more-link {
  background: #f9de00;
  color: #000;
  display: inline-block;
  padding: 0.35em 0.8em 0.35em 0.8em;
  position: relative;
  transition: all 0.15s;
  margin-right: 20px;
}
.more-link-wrapper > .more-link:hover {
  opacity: 0.7;
}
.more-link-wrapper > .more-link:after {
  content: "";
  display: block;
  position: absolute;
  right: -20px;
  top: 0;
  bottom: 0;
  width: 20px;
  background: url("images/btn.png") right center no-repeat;
}
.style-colored .more-link-wrapper > .more-link {
  background: #fffef9;
  color: #f9de00;
}
.style-colored .more-link-wrapper > .more-link:hover {
  opacity: 0.7;
}
.more-link-wrapper.big {
  font-size: 26px;
}
.more-link-wrapper.big > .more-link {
  margin-right: 44px;
}
.more-link-wrapper.big > .more-link:after {
  right: -44px;
  width: 44px;
}
.meta {
  font-size: 90%;
  padding: 0 0 1em 0;
}
.meta > .date {
  padding: 0 0.25em 0 0;
}
.meta > .author {
  white-space: nowrap;
}
.meta > .author > i {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -0.1em;
  width: 2.2em;
  height: 2.2em;
  margin-right: 0.2em;
  border-radius: 50%;
  background: #fff no-repeat center center;
  background-size: 100% auto;
  background-size: cover;
}
.block-articles-home .more-wrapper-all,
.block-articles .more-wrapper-all {
  padding-top: 2em;
}
.block-articles-home .more-wrapper-all > .buttons,
.block-articles .more-wrapper-all > .buttons {
  text-align: left;
}
@media (max-width: 760px) {
  .block-articles-home .more-wrapper-all,
  .block-articles .more-wrapper-all {
    padding-top: 2em;
  }
}
.block-articles-home .article-list,
.block-articles .article-list {
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-image: none;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-gap: 1.5em;
  gap: 1.5em;
}
@media (max-width: 760px) {
  .block-articles-home .article-list,
  .block-articles .article-list {
    grid-template-columns: minmax(0, 1fr);
    grid-gap: 1.5em;
    gap: 1.5em;
  }
}
.block-articles-home .article-list > li,
.block-articles .article-list > li {
  box-sizing: border-box;
  padding-bottom: 0;
  position: relative;
}
.block-articles-home .article-list > li > a,
.block-articles .article-list > li > a {
  position: relative;
  z-index: 3;
}
.block-articles-home .article-list > li > a h2,
.block-articles .article-list > li > a h2 {
  font-size: 130%;
}
.block-articles-home .article-list-item,
.block-articles .article-list-item {
  position: relative;
  padding: 0;
  padding-left: 0;
  text-align: left;
}
.block-articles-home .article-list-item > svg,
.block-articles .article-list-item > svg {
  position: absolute;
  left: 0;
  width: 2em;
  top: 0;
  display: none;
}
.block-articles-home .article-list-item > a,
.block-articles .article-list-item > a {
  color: #fff;
  height: 100%;
  text-decoration: none;
  display: grid;
  grid-template: "i" "t" "d";
  grid-template-rows: -webkit-min-content -webkit-min-content auto -webkit-min-content;
  grid-template-rows: min-content min-content auto min-content;
  /*
        @media (max-width: 760px) {
            position: relative;
            padding-top: 1.5em;
            padding-bottom: 1.5em;
            > .i {
                flex: 0 0 25%;
            }
            > .details {
                align-self: center;
                padding-left: 1.5em;
                @media (max-width: 760px) {
                    font-size: 80%;
                }
                > h2 {
                    font-size: 15px;
                }
                > svg {
                    display: block;
                    position: absolute;
                    width: 1em;
                    right: 1em;
                    bottom: auto;
                    top: 50%;
                    transform: translateY(-50%);
                }
            }
            > .excerpt {
                display: none;
            }
        }
        */
}
@media (max-width: 760px) {
  .block-articles-home .article-list-item > a,
  .block-articles .article-list-item > a {
    grid-template: "i t" "i d" / 7em 1fr;
  }
}
.block-articles-home .article-list-item > a > .i,
.block-articles .article-list-item > a > .i {
  grid-area: i;
  display: block;
}
@media (max-width: 760px) {
  .block-articles-home .article-list-item > a > .i,
  .block-articles .article-list-item > a > .i {
    margin-right: 0.5em;
  }
}
.block-articles-home .article-list-item > a > .i > .img-wrapper,
.block-articles .article-list-item > a > .i > .img-wrapper {
  position: relative;
  transition: opacity 0.25s;
}
.block-articles-home .article-list-item > a > .i > .img-wrapper:before,
.block-articles .article-list-item > a > .i > .img-wrapper:before {
  content: "";
  display: block;
  padding-top: 100%;
}
.block-articles-home .article-list-item > a > .i > .img-wrapper > .img,
.block-articles .article-list-item > a > .i > .img-wrapper > .img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.block-articles-home .article-list-item > a > .date,
.block-articles .article-list-item > a > .date {
  align-self: flex-end;
  grid-area: d;
  padding-top: 1em;
  padding-bottom: 0;
  font-weight: 800;
}
@media (max-width: 760px) {
  .block-articles-home .article-list-item > a > .date,
  .block-articles .article-list-item > a > .date {
    font-size: 14px;
  }
}
@media (max-width: 760px) {
  .block-articles-home .article-list-item > a > .date,
  .block-articles .article-list-item > a > .date {
    padding-top: 0;
    position: relative;
    top: 0.2em;
  }
}
.block-articles-home .article-list-item > a > h2,
.block-articles .article-list-item > a > h2 {
  text-align: left;
  grid-area: t;
  padding: 0.5em 0 0.5em 0;
}
@media (max-width: 760px) {
  .block-articles-home .article-list-item > a > h2,
  .block-articles .article-list-item > a > h2 {
    padding: 0;
    font-size: 17px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
.block-articles-home .article-list-item > a > .more-wrapper,
.block-articles .article-list-item > a > .more-wrapper {
  grid-area: m;
}
@media (max-width: 760px) {
  .block-articles-home .article-list-item > a > .more-wrapper,
  .block-articles .article-list-item > a > .more-wrapper {
    position: static;
    display: none;
  }
}
.block-articles-home .article-list-item > a:hover > .img-wrapper,
.block-articles .article-list-item > a:hover > .img-wrapper {
  opacity: 0.8;
}
.block-articles-home .more-link-wrapper,
.block-articles .more-link-wrapper {
  padding: 1.5em 0 0 0;
  text-align: center;
}
.block-articles-home .buttons,
.block-articles .buttons {
  text-align: center;
}
/*
.block-articles-home_DISABLED {
    .article-list {
        .no-bullets;
        .box-sizing;
        // display: flex;
        .palstoita(3, 2%);
        > li {
            // flex: 1;
            // padding: 0 1em;
            // border-right: 1px solid #ccc;
            &:last-child {
                border-right: 0;
            }
        }

        @media (max-width: 760px) {
            display: block;
            > li:nth-child(3n + 1) {
                clear: none;
            }
            .palstoita(2, 2%);
            > li {
                border-right: 0;
            }
        }

        // @media (max-width: 760px) {
        //     .palstoita(2, 2%);
        //     > li:nth-child(4n + 1) {
        //         clear: none;
        //     }
        // }
    }
    .article-list-item {
        padding: 0 0 3em 0;
        .image {
            margin-bottom: 1.5em;
            -webkit-background-size: cover;
            background-position: center center;
            background-size: cover;
            border: 1px solid #efefef;
            .accelerate;
            .transition(opacity @anim-speed);
            > .empty {
                padding: (9/16 * 100%) 0 0 0;
            }
        }
        .details {
            overflow: hidden;
            .meta {
                padding: 0 0 1em 0;
            }
            h2 {
                color: inherit;
                text-align: left;
                padding-top: 0;
                padding-bottom: 1em;
                .font-sizer-px(20);
            }
            .excerpt {
                font-size: 90%;
                line-height: 1.4;
            }
            padding: 0 0 2em 0;
        }
        > a {
            text-decoration: none;
            display: block;
            color: @colorfg;
            &:hover {
                color: @color1;
            }
        }

        @media (max-width: 760px) {
            .excerpt {
                display: none;
            }
        }
    }
    .more-link-wrapper {
        padding: 1.5em 0 0 0;
        text-align: center;
    }
}
*/
#content.article {
  position: relative;
  max-width: 50em;
  padding-top: 3em;
  margin: 0 auto;
}
#content.article .attachment-post-thumbnail {
  margin-bottom: 2em;
}
#content.article .meta {
  padding: 0 0 1em 0;
}
#content.article > footer {
  margin-top: 1.5em;
  padding-top: 1.5em;
}
#content.p404 {
  text-align: center;
}
#content.p404 > div {
  padding: 1em 0 2em 0;
}
.blog #content > h1 {
  position: absolute;
  height: 0;
  width: 0;
  left: -1000px;
  opacity: 0;
  overflow: hidden;
}
.cols-3 {
  margin: 0 -2%;
}
.cols-3 > .col {
  float: left;
  width: 33.33333333%;
  padding: 0 2%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
.cols-3 > .col:nth-child(3n + 1) {
  clear: both;
}
.cols-2 {
  margin: 0 -2%;
}
.cols-2 > .col {
  float: left;
  width: 50%;
  padding: 0 2%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
.cols-2 > .col:nth-child(2n + 1) {
  clear: both;
}
.textblock-link {
  color: #fff;
}
.textblock-link:hover {
  color: #ffffff;
}
.style-light {
  color: #333;
  background: #001d2d url("images/bg-light.jpg") top center;
}
.style-normal h1 {
  color: #fff;
}
.style-normal .ingress {
  color: #fff;
}
.style-colored {
  background: #f9de00 url("images/bg-colored.jpg") top center;
  color: #000;
}
.style-colored .ingress {
  color: #333;
}
.style-colored .textblock-link {
  color: #000;
}
.style-colored .textblock-link:hover {
  color: #fffef9;
}
.style-dark {
  background: url("images/bg-metalli.jpg") top center;
  background-size: 400px auto;
  margin-top: 1.5em;
}
.style-dark:before,
.style-dark:after {
  display: block;
  background: url("images/bg-metalli-top.png") top center repeat-x;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
}
.style-dark:after {
  background-image: url("images/bg-metalli-bottom.png");
  top: auto;
  bottom: 0;
}
.style-dark-bg {
  background: no-repeat center center;
  background-size: 100% auto;
  background-size: cover;
  margin-top: 3.5em;
}
.style-dark-bg:after,
.style-dark-bg:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: -37px;
  height: 37px;
  background: url("images/niitit-vaaka.jpg") 0 0 no-repeat;
  background-size: 1500px auto;
}
.style-dark-bg:after {
  top: auto;
  bottom: -37px;
  background-position: 0 -37px;
}
#next-prev-nav-below {
  margin: 1.5em 0 0 auto;
  border-bottom: 0;
}
#next-prev-nav-below a {
  display: block;
  width: 48%;
}
#next-prev-nav-below .title {
  display: block;
}
.next-prev-nav {
  overflow: hidden;
  padding: 0;
}
.next-prev-nav .title {
  display: none;
  color: #f9de00;
}
.next-prev-nav a {
  display: block;
  width: 40%;
  color: #fff;
}
.next-prev-nav a:hover {
  color: #ffffff;
}
.next-prev-nav a:hover .title {
  color: #ffe514;
}
.next-prev-nav a[rel="next"] {
  float: right;
  text-align: right;
}
.next-prev-nav a[rel="previous"] {
  float: left;
}
.media-author {
  position: absolute;
  bottom: 0.2em;
  left: 0.2em;
  font-size: 10px;
  z-index: 10;
}
.style-normal .media-author > a {
  color: #000;
  color: rgba(0, 0, 0, 0.6);
}
.style-light .media-author > a {
  color: #000;
  color: rgba(0, 0, 0, 0.6);
}
.media-author > a {
  color: #fff;
  color: rgba(255, 255, 255, 0.6);
}
.page-title {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-size: cover;
  padding-bottom: 0.5em;
  text-align: center;
  position: relative;
  /*
    &:after {
        display: block;
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.22);
        .barrel-gradient(top, rgba(0,0,0,0.15), rgba(0,0,0,0.62), rgba(0,0,0,0.15));
    }
    */
}
.page-title.text-position-bottom:before {
  display: block;
  content: "";
  height: 1.75em;
}
.page-title .page-wrapper {
  position: relative;
  z-index: 10;
}
.page-title-bg-wrapper {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.page-title-bg {
  position: absolute;
  top: 0;
  left: -15%;
  right: -15%;
  bottom: 0;
  margin: 0 auto;
  max-width: 1800px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: top center;
}
.page-title {
  padding-top: 350px !important;
  padding-bottom: 125px;
  /*
    .home & {
        background-position: 50% 25%;
        padding-top: 48.8% !important;
        > span {
            .assistive-text;
        }
        position: relative;
        > video {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            opacity: 0;
            .transition(opacity 0.5s);
        }
    }
    
    .ios.home & {
        > video {
            display: none;
        }
    }
    */
}
.home .page-title {
  padding-top: 300px !important;
  padding-bottom: 0;
}
.page-title-bg {
  padding-top: 160px !important;
}
.article footer {
  padding: 1em 0 0 0;
}
.article .socmed-share {
  padding: 0 0 1em 0;
}
.article .related ul {
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-image: none;
  display: inline;
  padding: 0 1em 0 0;
}
.article .related ul li {
  display: inline;
}
.article .related ul li a:after {
  content: ",";
}
.article .related ul li:last-child > a:after {
  content: "";
}
.slider {
  position: relative;
  padding: 0 0 3em 0;
  margin: 0 auto;
}
.slider > .slides {
  position: relative;
}
.slider > .slides > .empty {
  padding-top: 33%;
}
.slider > .slides > .slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  transform: translateZ(0);
  transition: opacity 0.5s;
  opacity: 0;
  z-index: 10;
}
.slider > .slides > .slide.init {
  z-index: 11;
  transition: none;
  opacity: 1;
}
.slider > .slides > .slide.selected {
  transition: opacity 0.5s;
  opacity: 1;
  transition-delay: 0s;
}
.slider > .slides > .slide:first-child {
  position: relative;
}
.slider > .nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-image: none;
}
.slider > .nav > li {
  display: inline-block;
}
.slider > .nav > li > a {
  display: block;
  padding: 0.5em;
  margin: 0 -0.25em;
}
.slider > .nav > li > a:after {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  transition: all 0.25s;
  border-radius: 50%;
  background: gray;
}
.slider > .nav > li > a.selected:after,
.slider > .nav > li > a:hover:after {
  background: #f9de00;
}
.slider > .nav > li > a > span {
  display: none;
}
.block {
  position: relative;
  text-align: center;
}
.block > .txt {
  padding-top: 4.3em;
  padding-bottom: 4.3em;
}
.block > .txt > .ingress {
  max-width: 27em;
  margin: 0 auto;
  padding-bottom: 1em;
}
.block > .anchor {
  position: absolute;
  margin-top: -106px;
}
.block.text-alignment-center {
  text-align: center;
}
.block.style-normal + .block.style-normal > .txt {
  padding-top: 0.25em;
}
.lajit-nav-wrapper {
  font-family: "Oswald";
  font-weight: 300;
  line-height: 1.4;
  text-transform: uppercase;
  position: relative;
  padding: 0 20px;
  font-size: 16px;
}
.lajit-nav-wrapper > .lajit-nav {
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-image: none;
  text-align: center;
}
.lajit-nav-wrapper > .lajit-nav > li {
  display: inline-block;
}
.lajit-nav-wrapper > .lajit-nav > li > a {
  display: block;
  padding: 0.33em 0.33em;
  color: #fff;
}
.lajit-nav-wrapper > .lajit-nav > li > a:hover,
.lajit-nav-wrapper > .lajit-nav > li > a.active {
  color: #f9de00;
}
.block-lajin-kurssit {
  text-align: left;
}
.block-lajin-kurssit > .txt {
  padding-top: 1.5em;
}
.block-lajin-kurssit .bordered {
  border-style: solid;
  border-width: 32px 32px 32px 32px;
  -o-border-image: url(images/borders2.png) 32 32 32 32 fill repeat;
  border-image: url(images/borders2.png) 32 32 32 32 fill repeat;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5);
  background: url("images/bg-small.jpg") top left;
  padding: 2em 1.5em;
}
.block-lajin-kurssit .content {
  position: relative;
}
.block-lajin-kurssit .content > .more-link-wrapper-light {
  float: right;
  position: absolute;
  right: 3em;
  top: 2em;
  width: 7em;
}
.block-lajin-kurssit .content > .temp-text {
  overflow: hidden;
  position: relative;
  padding-right: 7em;
  padding-top: 1.9em;
  padding-bottom: 1.9em;
}
.block-lajin-kurssit .content > .kurssit {
  padding: 0.5em 0 0 0;
  overflow: hidden;
}
.block-lajin-kurssit .content > h1 {
  position: relative;
  float: left;
  max-width: 8em;
  letter-spacing: -0.01em;
  font-size: 250%;
  padding: 0 17px 0 0;
  margin: 0 17px 0 0;
}
.block-lajin-kurssit .content > h1 > em {
  font-family: "Oswald";
  font-weight: 300;
  line-height: 1.4;
  text-transform: uppercase;
  font-style: normal;
  font-size: 50%;
  display: block;
}
.block-lajin-kurssit .content > h1:before {
  content: "";
  background: url("images/splitter-pysty.png");
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}
.block-lajin-kurssit .content > h1:before {
  left: auto;
  right: 0;
}
.block-salit .salit {
  text-align: left;
  margin: 0 -1%;
}
.block-salit .salit > .sali {
  float: left;
  width: 50%;
  padding: 0 1%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
.block-salit .salit > .sali:nth-child(2n + 1) {
  clear: both;
}
.block-salit .salit .img-wrap {
  border-style: solid;
  border-width: 15px 15px 15px 15px;
  -o-border-image: url(images/borders.png) 30 30 30 30 fill repeat;
  border-image: url(images/borders.png) 30 30 30 30 fill repeat;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5);
}
.block-salit .salit .img-wrap > img {
  width: 100%;
  display: block;
}
.block-salit .salit .salin-sijainti {
  width: 49%;
  float: left;
}
.block-salit .salit .salin-aukioloajat {
  width: 49%;
  float: right;
}
.block-harjoitusajat {
  text-align: left;
}
.block-harjoitusajat .txt > .content {
  overflow: hidden;
  padding-left: 3em;
}
.block-harjoitusajat .txt > .content .poikkeukset {
  padding-top: 1em;
}
.block-harjoitusajat .txt > .harjoitusajat {
  float: left;
  width: 70%;
  overflow: hidden;
}
.block-harjoitusajat .txt > .harjoitusajat .paiva {
  padding: 0 0 1.75em 0;
  margin: 0 0 1.75em 0;
  position: relative;
}
.block-harjoitusajat .txt > .harjoitusajat .paiva:after {
  content: "";
  background: url("images/splitter-vaaka.png");
  position: absolute;
  display: block;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
}
.block-harjoitusajat .txt > .harjoitusajat .paiva > h1 {
  padding: 0;
}
.block-harjoitusajat .txt > .harjoitusajat .tilat {
  margin: 0 -0.5em;
  padding: 1.1em 0 0.75em 0;
}
.block-harjoitusajat .txt > .harjoitusajat .tilat > .tila {
  float: left;
  width: 33.33333333%;
  padding: 0 0.5em;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
.block-harjoitusajat .txt > .harjoitusajat .tilat > .tila:nth-child(3n + 1) {
  clear: both;
}
.page-id-872 .page-title {
  padding-bottom: 10px;
}
.block-harjoitusajat2 {
  text-align: left;
}
.block-harjoitusajat2 .kausi-nav {
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-image: none;
  text-align: center;
  padding-bottom: 150px;
}
.block-harjoitusajat2 .kausi-nav > li {
  display: inline-block;
}
.block-harjoitusajat2 .kausi-nav > li > a {
  display: block;
  margin: 0 0.3em;
  padding: 0.2em 0.5em;
  font-size: 25px;
  border: 2px solid #f9de00;
  color: #f9de00;
}
.block-harjoitusajat2 .kausi-nav > li > a.active {
  background: #f9de00;
  color: #000;
}
.block-harjoitusajat2 .kausi.hidden {
  display: none;
}
.block-harjoitusajat2 .kausi.active {
  display: block;
}
.block-harjoitusajat2 .poikkeukset {
  padding-top: 1em;
}
.block-harjoitusajat2 .content {
  overflow: hidden;
  padding-left: 3em;
}
.block-harjoitusajat2 div.harjoitusajat {
  float: left;
  width: 70%;
  overflow: hidden;
}
.block-harjoitusajat2 div.harjoitusajat .paiva {
  padding: 0 0 1.75em 0;
  margin: 0 0 1.75em 0;
  position: relative;
}
.block-harjoitusajat2 div.harjoitusajat .paiva:after {
  content: "";
  background: url("images/splitter-vaaka.png");
  position: absolute;
  display: block;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
}
.block-harjoitusajat2 div.harjoitusajat .paiva > h1 {
  padding: 0;
}
.block-harjoitusajat2 div.harjoitusajat .tilat {
  margin: 0 -0.5em;
  padding: 1.1em 0 0.75em 0;
}
.block-harjoitusajat2 div.harjoitusajat .tilat > .tila {
  float: left;
  width: 33.33333333%;
  padding: 0 0.5em;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
.block-harjoitusajat2 div.harjoitusajat .tilat > .tila:nth-child(3n + 1) {
  clear: both;
}
@media screen and (max-width: 900px) {
  .block-harjoitusajat2 .content {
    padding-left: 0;
    padding-bottom: 1.5em;
  }
  .block-harjoitusajat2 div.harjoitusajat {
    overflow: hidden;
    float: none;
    width: auto;
  }
}
@media screen and (max-width: 767px) {
  .block-harjoitusajat2 div.harjoitusajat .paiva {
    padding: 0 0 1.5em 0;
    margin: 0 0 1.5em 0;
    position: relative;
  }
  .block-harjoitusajat2 div.harjoitusajat .paiva:after {
    content: "";
    background: url("images/splitter-vaaka.png");
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
  }
  .block-harjoitusajat2 div.harjoitusajat .paiva > h1 {
    padding: 0;
  }
  .block-harjoitusajat2 div.harjoitusajat .tilat {
    padding-bottom: 0;
    margin: 0;
  }
  .block-harjoitusajat2 div.harjoitusajat .tilat > .tila {
    padding: 0 0 1em 0;
    width: auto;
    float: none;
  }
}
.block-kurssit {
  text-align: left;
}
.block-kurssit .content {
  float: right;
  width: 16em;
  padding-left: 3em;
}
.block-kurssit .salien-kurssit {
  overflow: hidden;
}
.block-kurssit .salien-kurssit > .sali {
  padding: 0 0 2em 0;
}
.block-kurssit .salien-kurssit > .sali > h1 {
  padding: 0 0 0.3em 0;
}
.block-kurssit .salien-kurssit > .sali > .yhteystiedot {
  font-size: 120%;
  font-family: "Oswald";
  font-weight: 300;
  line-height: 1.4;
  text-transform: uppercase;
  position: relative;
  padding: 0 0 1.5em 0;
  margin: 0 0 1em 0;
}
.block-kurssit .salien-kurssit > .sali > .yhteystiedot > p > br {
  display: none;
}
.block-kurssit .salien-kurssit > .sali > .yhteystiedot:after {
  content: "";
  background: url("images/splitter-vaaka.png");
  position: absolute;
  display: block;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
}
.block-kurssit .socmed {
  text-align: left;
  padding-top: 0.5em;
}
.block-kurssit .socmed-share,
.block-kurssit .socmed-follow {
  margin: 0;
  text-align: left;
}
.block-kurssit .socmed-share .some-link,
.block-kurssit .socmed-follow .some-link {
  padding: 0 3px 2.2em 3px;
  font-size: 8px;
}
.block-kurssit .socmed-share .some-link > .img,
.block-kurssit .socmed-follow .some-link > .img {
  padding: 7px;
  width: 33px;
  height: 33px;
  border-radius: 16.5px;
}
.block-kurssit .socmed-share .some-link > .txt,
.block-kurssit .socmed-follow .some-link > .txt {
  bottom: 0;
  left: -3.2em;
  right: -3.2em;
}
.block-nosto-harjoitusajat {
  text-align: left;
}
.block-nosto-harjoitusajat .bordered {
  border-style: solid;
  border-width: 32px 32px 32px 32px;
  -o-border-image: url(images/borders2.png) 32 32 32 32 fill repeat;
  border-image: url(images/borders2.png) 32 32 32 32 fill repeat;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5);
  background: url("images/bg-small.jpg") top left;
  padding: 2em 1.5em;
}
.block-nosto-harjoitusajat .details {
  float: left;
  width: 17em;
  padding-right: 1.5em;
}
.block-nosto-harjoitusajat .details > .date {
  font-family: "bebas_neuebold", sans-serif;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
  font-size: 160%;
}
.block-nosto-harjoitusajat .details > .more-link-wrapper {
  padding: 0 0 2em 0;
}
.block-nosto-harjoitusajat h1 {
  font-size: 32px;
}
.block-nosto-harjoitusajat .tilat {
  overflow: hidden;
  margin: 0 -0.5em;
  padding: 0 0 0.75em 0;
}
.block-nosto-harjoitusajat .tilat > .tila {
  float: left;
  width: 33.33333333%;
  padding: 0 0.5em;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
.block-nosto-harjoitusajat .tilat > .tila:nth-child(3n + 1) {
  clear: both;
}
.block-nosto-ajankohtaista-peruskurssit section {
  float: left;
  width: 50%;
  text-align: left;
  box-sizing: border-box;
}
.block-nosto-ajankohtaista-peruskurssit section + section {
  padding-left: 1.5em;
}
.block-nosto-blocks .above-blocks {
  text-align: left;
  margin: 0 -1%;
}
.block-nosto-blocks .above-blocks > .nosto {
  float: left;
  width: 33.33333333%;
  padding: 0 1%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
.block-nosto-blocks .above-blocks > .nosto:nth-child(3n + 1) {
  clear: both;
}
.block-nosto-blocks .above-blocks > .nosto {
  display: block;
}
.block-nosto-blocks .above-blocks > .nosto > div {
  border-style: solid;
  border-width: 15px 15px 15px 15px;
  -o-border-image: url(images/borders.png) 30 30 30 30 fill repeat;
  border-image: url(images/borders.png) 30 30 30 30 fill repeat;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5);
  background: #414141 center center no-repeat;
  background-size: 100% auto;
  background-size: cover;
  padding: 1.4em 1.5em 1.5em 1.5em;
  min-height: 8em;
  color: #fff;
  font-family: "bebas_neuebold", sans-serif;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
}
.block-nosto-blocks .above-blocks > .nosto > div > .title {
  display: block;
  padding: 0 0 0.33em 0;
}
.block-nosto-blocks .above-blocks > .nosto > div > .more-link-wrapper {
  padding: 0.5em 0 0 0;
}
.block-nosto-blocks .above-blocks > .nosto > div > .more-link-wrapper > .more-link:hover {
  opacity: 1;
}
.block-nosto-blocks .above-blocks > .nosto:hover > div {
  outline: 5px solid #f9de00;
}
.block-nosto-blocks .below-blocks {
  margin: 1em 0 0 0;
  text-align: left;
  font-family: "bebas_neuebold", sans-serif;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
  font-size: 25px;
}
.block-nosto-blocks .below-blocks > div {
  display: inline-block;
  float: left;
  padding: 0 0.75em 0 0;
  margin: 0 0.75em 1em 0;
}
.block-nosto-blocks .below-blocks > div > .content {
  display: block;
  position: relative;
}
.block-nosto-blocks .below-blocks > div > .content > .title {
  display: block;
  font-size: 31px;
}
.block-nosto-blocks .below-blocks > div > .content > .subtitle {
  display: block;
  font-size: 19px;
}
.block-nosto-blocks .below-blocks > div > .content:after {
  right: -1em;
  top: -0.35em;
  position: absolute;
  content: "";
  display: block;
  background: url("images/splitter-pysty-short.png") 0 0 no-repeat;
  width: 3px;
  height: 74px;
}
.block-nosto-blocks .below-blocks > div > .content > a {
  transition: color 0.25s;
  color: #fff;
}
.block-nosto-blocks .below-blocks > div > .content > a:hover {
  color: #f9de00;
}
.block-nosto-blocks .below-blocks > div:last-child > .content:after {
  display: none;
}
.block-nosto-linkkeja .linkkeja {
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-image: none;
  margin: 0 -2%;
  font-size: 130%;
}
.block-nosto-linkkeja .linkkeja > li {
  float: left;
  width: 33.33333333%;
  padding: 0 2%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
.block-nosto-linkkeja .linkkeja > li:nth-child(3n + 1) {
  clear: both;
}
.block-nosto-linkkeja .linkkeja .link-title {
  display: block;
  font-family: "Oswald";
  font-weight: 300;
  line-height: 1.4;
  text-transform: uppercase;
}
.block-nosto-linkkeja .linkkeja .link-text {
  display: block;
  font-size: 170%;
  font-family: "bebas_neuebold", sans-serif;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
}
.block-nosto-linkkeja .linkkeja a {
  display: block;
  color: #fff;
  transition: color 0.25s;
}
.block-nosto-linkkeja .linkkeja a:hover {
  color: #f9de00;
}
.block-text-slider {
  position: static;
}
.block-text-slider > .txt {
  padding-top: 8.3em;
}
.block-text-slider > .slide-bgs {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.block-text-slider > .slide-bgs > .slide-bg {
  position: absolute;
  top: 0;
  left: -15%;
  right: -15%;
  bottom: 0;
  background-repeat: no-repeat;
  background-size: 100% auto;
  max-width: 1800px;
  margin: 0 auto;
  opacity: 0;
  transform: translateZ(0);
  transition: opacity 0.5s;
}
.block-text-slider > .slide-bgs > .slide-bg.selected {
  opacity: 1;
}
.block-text-slider .slide {
  text-align: left;
  padding: 0 0 1.5em 0;
}
.block-text-slider .slide h2 {
  padding: 0 0 0.15em 0;
  width: 75%;
}
.block-text-slider .slide .ingress {
  width: 75%;
  padding-bottom: 0.25em;
}
.block-text-slider .slide .more-link-wrapper {
  padding: 0.55em 0 0.2em 0;
}
.block-video .embed {
  border-style: solid;
  border-width: 32px 32px 32px 32px;
  -o-border-image: url(images/borders2.png) 32 32 32 32 fill repeat;
  border-image: url(images/borders2.png) 32 32 32 32 fill repeat;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5);
  max-width: 800px;
  margin: 0 auto;
}
.block-video .embed iframe {
  display: block;
}
.block-content > .txt {
  text-align: left;
  max-width: 50em;
}
.home .page-title + .block {
  margin-top: -100px;
}
.home .page-title-bg {
  display: none;
}
.home .block-content > .txt {
  text-align: center;
}
.home .block-content .content {
  margin: 0 auto;
  max-width: 45em;
}
.home .block-content h1:before {
  content: "";
  display: block;
  width: 200px;
  height: 90px;
  background: url("images/logo.png") 0 0 no-repeat;
  background-size: contain;
  margin: 0 auto;
}
#map {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 5em;
  z-index: 10;
}
.datelist {
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-image: none;
  margin: 0 -10px;
  margin-top: 1.5em;
}
.datelist > li {
  float: left;
  width: 25%;
  padding: 0 10px;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
.datelist > li:nth-child(4n + 1) {
  clear: both;
}
.datelist > li {
  padding-bottom: 1.5em;
  color: #000;
}
.datelist > li > .segment {
  display: block;
  border-radius: 10px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-size: cover;
  padding: 1em;
  color: #000;
  text-align: center;
  position: relative;
  border-style: solid;
  border-width: 15px 15px 15px 15px;
  -o-border-image: url(images/borders.png) 30 30 30 30 fill repeat;
  border-image: url(images/borders.png) 30 30 30 30 fill repeat;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5);
}
.datelist > li > .segment > .segment-content {
  display: block;
  position: relative;
  font-family: "bebas_neuebold", sans-serif;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
}
.datelist > li > .segment > .segment-meta {
  display: block;
  position: relative;
  margin: 0 0 1em 0;
  font-family: "bebas_neuebold", sans-serif;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
  font-size: 80%;
  /*
                > .avatar {
                    display: block;
                    .background-size-cover();
                    height: 80px;
                    width: 80px;
                    border-radius: 50%;
                    margin: 1em auto 1.5em auto;
                } */
}
.datelist > li > .segment > .segment-meta > .user {
  display: block;
  padding: 0 0 0 0;
  position: relative;
}
.datelist > li > .segment > .segment-meta > .since {
  color: #f9de00;
  display: block;
  padding: 0.2em 0 0 0;
  position: relative;
}
.datelist > li > .segment > .segment-meta:before {
  content: "";
  display: block;
  position: absolute;
  top: -5px;
  right: -5px;
  background: url("images/logo-gray.png") 0 0 no-repeat;
  background-size: contain;
  width: 13%;
  padding-top: 13%;
}
.datelist > li > .segment > i {
  display: block;
  float: left;
  padding-top: 100%;
}
.datelist > li > .segment:hover > .segment-meta {
  color: gray;
}
.datelist > li > .segment:hover > .segment-meta > .since {
  color: #ffe514;
}
.datelist > li > .segment:hover > .segment-content {
  color: gray;
}
.block-content-image > .txt {
  text-align: left;
  width: 100%;
}
.block-content-image > .txt > .img {
  width: 47%;
  box-sizing: border-box;
  position: relative;
  vertical-align: top;
  float: left;
}
.block-content-image > .txt > .img > .img-wrap {
  display: block;
  border-style: solid;
  border-width: 15px 15px 15px 15px;
  -o-border-image: url(images/borders.png) 30 30 30 30 fill repeat;
  border-image: url(images/borders.png) 30 30 30 30 fill repeat;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5);
}
.block-content-image > .txt > .img > .img-wrap > i {
  display: block;
  padding-top: 100%;
  background-size: 100% auto;
  background-size: cover;
  background-position: center center;
}
.block-content-image > .txt > .img > .media-author {
  position: static;
  float: left;
}
.block-content-image > .txt > .content {
  box-sizing: border-box;
  width: 47%;
  vertical-align: middle;
  float: right;
}
.block-content-image.image-position-background > .txt > .img,
.block-content-image.image-position-right > .txt > .img {
  float: right;
}
.block-content-image.image-position-background > .txt > .img > .media-author,
.block-content-image.image-position-right > .txt > .img > .media-author {
  position: static;
  float: right;
}
.block-content-image.image-position-background > .txt > .content,
.block-content-image.image-position-right > .txt > .content {
  float: left;
}
.block-content-image.image-position-background {
  margin-top: 37px;
}
.block-content-image.image-position-background:after,
.block-content-image.image-position-background:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: -37px;
  height: 37px;
  background: url("images/niitit-vaaka.jpg") 0 0 no-repeat;
  background-size: 1500px auto;
}
.block-content-image.image-position-background:after {
  top: auto;
  bottom: -37px;
  background-position: 0 -37px;
}
.block-content-image.style-normal + .block-content-image.style-normal > .txt {
  padding-top: 0;
}
.block-form > .txt .content {
  text-align: left;
  float: right;
  width: 16em;
  padding-left: 3em;
}
.block-form > .txt .form {
  text-align: left;
  overflow: hidden;
}
.nform {
  text-align: left;
}
.nform .watermark .name {
  color: #000;
}
.nform .form-row {
  display: block;
  margin-top: 1.1em;
}
.nform .form-row + br {
  display: none;
}
.nform .form-row .name + br {
  display: none;
}
.nform select,
.nform input,
.nform textarea {
  background: #fff;
  border: 1px solid transparent;
  color: #000;
  transition: background 0.25s;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  text-transform: normal;
}
.nform select:focus,
.nform input:focus,
.nform textarea:focus {
  outline: 0;
  background: #efefef;
  color: #000;
}
.nform .wpcf7-form-control-wrap {
  display: block;
  position: relative;
}
.nform .form-row-checkbox {
  cursor: pointer;
  cursor: hand;
  transition: color 0.25s;
}
.nform .form-row-checkbox:hover {
  color: #f9de00;
}
.nform .form-row-checkbox .wpcf7-form-control-wrap input {
  cursor: pointer;
  cursor: hand;
  display: block;
  float: left;
  margin: 0.15em 0.5em 0 0;
  width: 1.5em;
  height: 1.5em;
  position: relative;
  vertical-align: middle;
}
.nform .form-row-checkbox .wpcf7-list-item-label,
.nform .form-row-checkbox .name {
  display: inline;
}
.nform .select .wpcf7-form-control-wrap:after {
  display: block;
  content: "▼";
  position: absolute;
  color: #fff;
  right: 1em;
  top: 50%;
  margin-top: -0.75em;
  pointer-events: none;
}
.nform button[type="submit"],
.nform input[type="submit"] {
  /*
        background: @color1;
        color: @color1-fg;
        padding: 1em 1.5em;
        .font-mocha;
        font-size: 125%;
        .cursor;
        
        &:hover {
            background: @color1-hover;
        }
        */
  border: 0;
  font-family: "Oswald";
  font-weight: 300;
  line-height: 1.4;
  text-transform: uppercase;
  font-size: 16px;
  cursor: pointer;
  cursor: hand;
  background: #f9de00;
  color: #000;
  display: inline-block;
  padding: 0.35em 0.8em 0.35em 0.8em;
  position: relative;
  transition: all 0.15s;
  margin-right: 20px;
  font-size: 150%;
  margin-right: 22px;
}
.nform button[type="submit"]:hover,
.nform input[type="submit"]:hover {
  opacity: 0.7;
}
.nform button[type="submit"]:after,
.nform input[type="submit"]:after {
  content: "";
  display: block;
  position: absolute;
  right: -20px;
  top: 0;
  bottom: 0;
  width: 20px;
  background: url("images/btn.png") right center no-repeat;
}
.style-colored .nform button[type="submit"],
.style-colored .nform input[type="submit"] {
  background: #fffef9;
  color: #f9de00;
}
.style-colored .nform button[type="submit"]:hover,
.style-colored .nform input[type="submit"]:hover {
  opacity: 0.7;
}
.nform button[type="submit"]:after,
.nform input[type="submit"]:after {
  right: -22px;
  width: 22px;
}
.nform .maksutapa label {
  display: block;
  cursor: pointer;
  cursor: hand;
}
.nform .maksutapa label:hover {
  color: #f9de00;
}
.nform .maksutapa input {
  width: 1.25em;
  height: 1.25em;
  vertical-align: top;
}
.nform .maksutapa input[name="maksutapa"]:checked + .wpcf7-list-item-label {
  color: #f9de00;
}
.nform .maksutapa input[name="maksutapa"][disabled] + .wpcf7-list-item-label {
  color: gray;
}
.nform .actions {
  padding: 1em 0 0 0;
  clear: both;
}
.nform h2 {
  padding: 0.5em 0 0.1em 0;
}
.nform .primary-inputs {
  float: left;
  width: 48%;
  padding-right: 2%;
}
.nform .secondary-inputs {
  float: left;
  width: 50%;
}
.nform .email,
.nform .postcode,
.nform .first-name {
  float: left;
  width: 49%;
}
.nform .phone,
.nform .city,
.nform .last-name {
  float: right;
  width: 49%;
}
.nform .your-message textarea {
  min-height: 13em;
  max-width: 100%;
}
.nform .maksutavat {
  display: block;
  max-width: 100%;
  margin: 2.5em 0 0 0;
}
.nform .avaa-lisatiedot {
  margin-left: 31px;
  font-size: 90%;
  display: block;
}
#header {
  background: url("images/header-bg.jpg") bottom center repeat-x;
  background-size: 1500px auto;
  z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: height 0.25s;
  height: 110px;
}
#header > .page-wrapper > div {
  position: relative;
}
.scrolled #header {
  position: fixed;
  height: 90px;
}
#header-title {
  position: absolute;
  left: 0;
  margin: 0;
  padding: 0;
  width: 200px;
}
#header-title > a {
  display: block;
}
#header-title > a:after {
  content: "";
  transform: translateZ(0);
  margin: 0 auto;
  background: url("images/logo.png") 0 0 no-repeat;
  background-size: 100% auto;
  width: 200px;
  height: 90px;
  display: block;
  max-width: 100%;
  transition: all 0.25s;
}
.scrolled #header-title > a:after {
  width: 133.33333333px;
  height: 60px;
}
#header-title > a:hover:after {
  opacity: 0.8;
}
#languages {
  position: absolute;
  right: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-image: none;
  margin-top: 0.2em;
  text-transform: uppercase;
}
#languages li {
  display: inline-block;
  margin: 0 7px;
}
#languages li > a {
  color: #fff;
}
@media (max-width: 760px) {
  #languages {
    display: none;
  }
}
#more,
#navigation-mobile {
  display: none;
}
#navigation {
  font-family: "bebas_neuebold", sans-serif;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
  font-size: 20px;
  transition: all 0.25s;
  padding: 28px 0 20px 170px;
}
#navigation .menu {
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-image: none;
  box-sizing: border-box;
  text-align: right;
}
#navigation .menu li {
  display: inline-block;
  margin: 0 7px;
}
#navigation .menu a {
  display: block;
  padding: 0.35em 0.12em 0.35em 0.12em;
  color: #fff;
  text-transform: uppercase;
  transition: all 0.15s;
  position: relative;
}
#navigation .menu a:hover,
#navigation .menu .current_page_parent > a,
#navigation .menu .current_page_item > a {
  color: #f9de00;
}
.scrolled #navigation {
  padding: 12px 0 8px 170px;
}
#tabnav {
  text-align: center;
}
#tabnav h2 {
  display: inline;
  font-size: inherit;
}
#tabnav > div {
  padding-top: 1.5em;
  padding-bottom: 1.5em;
}
#tabnav .menu {
  display: inline;
  list-style: none;
}
#tabnav .menu li {
  display: inline-block;
  margin: 0 7px;
}
#tabnav .menu li.active > a {
  color: #fff;
}
#main {
  overflow: hidden;
  padding-bottom: 37px;
}
#pagenav {
  font-size: 16px;
  text-align: left;
  padding: 0 0 2em 0;
}
#pagenav > .page-numbers {
  margin: 0 0 4px 0;
  padding: 4px 0;
  min-width: 2.2em;
  text-align: center;
  display: inline-block;
  color: #f9de00;
  border: 1px solid #f9de00;
}
#pagenav > .dots {
  position: relative;
  top: -5px;
  border: none;
}
#pagenav > a.page-numbers:hover,
#pagenav > .current {
  border-color: #fff;
  color: #fff;
}
#pagenav > .next,
#pagenav > .prev {
  display: none;
}
#pagenav > .next {
  float: right;
}
#footer {
  position: relative;
  background: url("images/bg-footer.jpg") top center;
  font-size: 95%;
  color: #aaa;
}
#footer:before {
  display: block;
  background: url("images/bg-footer-top.png") top center repeat-x;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
}
#footer > div {
  padding-top: 3em;
  padding-bottom: 3em;
}
#footer > div > .salit > h2 {
  float: left;
  width: 17%;
  margin-top: -0.2em;
  color: #fff;
}
#footer > div > .salit > .sali {
  width: 18%;
  float: left;
}
#footer > div > .yhteystiedot {
  width: 25%;
  float: left;
}
#footer > div > .follow-copyright {
  float: left;
  width: 21%;
  font-family: "Oswald";
  font-weight: 300;
  line-height: 1.4;
  text-transform: uppercase;
}
#footer > div > .follow-copyright > .follow > .socmed-follow {
  padding: 1em 0 0 0;
  overflow: hidden;
  text-align: left;
}
#footer > div > .follow-copyright > .copyright {
  padding: 0.2em 0 0 0;
  clear: both;
  font-size: 90%;
  color: #555;
}
#footer > div > .follow-copyright > .copyright a {
  color: #555;
}
#footer > div > .follow-copyright > .copyright a:hover {
  color: #f9de00;
}
.block-popup {
  display: none;
  overflow: auto;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  color: #fff;
}
.block-popup::scrollbar {
  width: 2px;
}
.block-popup::-moz-scrollbar {
  width: 2px;
}
.block-popup::-webkit-scrollbar {
  width: 2px;
}
.block-popup::-webkit-scrollbar-button {
  width: 2px;
  height: 2px;
}
.block-popup::-webkit-scrollbar-track {
  background: #eee;
  border: thin solid lightgray;
  box-shadow: 0px 0px 3px #dfdfdf inset;
  border-radius: 10px;
}
.block-popup::-webkit-scrollbar-thumb {
  background: #999;
  border: thin solid gray;
  border-radius: 10px;
}
.block-popup::-webkit-scrollbar-thumb:hover {
  background: #7d7d7d;
}
body.admin-bar .block-popup {
  top: 32px;
}
.block-popup.shown {
  display: block;
}
.block-popup .border-loota2 {
  margin-bottom: 1.5em;
}
.block-popup .border-loota2 > img {
  display: block;
  width: 100%;
}
.block-popup > .popup-txt {
  background: none;
  max-width: 600px;
  margin: 0 auto;
  padding-top: 5vw;
  padding-bottom: 5vw;
  overflow: auto;
}
.block-popup > a.close {
  position: absolute;
  right: 15px;
  top: 15px;
  background: #f9de00;
  display: block;
  width: 2em;
  height: 2em;
  z-index: 2;
}
.block-popup > a.close:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M 10,10 L 30,30 M 30,10 L 10,30' stroke-width='3' stroke='%23000000' /%3E%3C/svg%3E");
  background-size: contain;
}
body.popup-is-shown {
  overflow: hidden;
}
.block-some-feed > .txt {
  margin-top: 4em;
  margin-bottom: 4em;
}
.block-some-feed .some-feed {
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-image: none;
  margin: 0 -1.4%;
}
.block-some-feed .some-feed > li {
  float: left;
  width: 25%;
  padding: 0 1.4%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
.block-some-feed .some-feed > li:nth-child(4n + 1) {
  clear: both;
}
.block-some-feed .some-feed > li {
  padding-bottom: 1.5em;
  font-size: 90%;
  position: relative;
}
.block-some-feed .some-feed > li > .some-link {
  border-style: solid;
  border-width: 32px 32px 32px 32px;
  -o-border-image: url(images/borders2.png) 32 32 32 32 fill repeat;
  border-image: url(images/borders2.png) 32 32 32 32 fill repeat;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5);
  background: url("images/bg-small.jpg") top left;
  padding: 1em 1em 1em 1em;
  margin-bottom: 2em;
  min-height: 16em;
  color: #fff;
  display: block;
  position: relative;
  transform: translateZ(0);
}
.block-some-feed .some-feed > li > .some-link > .date {
  font-size: 70%;
  position: absolute;
  bottom: -3.2em;
  left: 0;
  right: 0;
  text-align: center;
}
.block-some-feed .some-feed > li > .some-link > .service-icon {
  position: absolute;
  bottom: -1.95em;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  display: block;
  height: 3em;
  padding-top: 2em;
  padding-bottom: 0.5em;
}
.block-some-feed .some-feed > li > .some-link > .service-icon > .icon {
  display: inline-block;
  padding: 0.5em;
  margin: 0 auto;
  border-radius: 50%;
  background: #f9de00;
}
.block-some-feed .some-feed > li > .some-link > .service-icon > .icon > svg {
  fill: #000;
  display: block;
  width: 20px;
  height: 20px;
}
.block-some-feed .some-feed > li > .image-link {
  display: block;
  position: relative;
  transform: translateZ(0);
}
.block-some-feed .some-feed > li > .image-link > .user {
  display: none;
}
.block-some-feed .some-feed > li > .image-link > .image {
  transform: translateZ(0);
  transition: opacity 0.25s;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: block;
}
.block-some-feed .some-feed > li > .image-link > .msg {
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-overflow: ellipsis;
  overflow: hidden;
  position: absolute;
  padding: 0.5em 1em 2.2em 1em;
  opacity: 0;
  transition: opacity 0.25s;
}
.block-some-feed .some-feed > li > .image-link:hover {
  /*
                    > .date {
                        opacity: 0.9;
                    }
                    > .msg {
                        opacity: 1;
                    }
                    */
}
.block-some-feed .some-feed > li > .image-link:hover > .image {
  opacity: 0.9;
}
.block-some-feed .some-feed > li > .text-link > .user {
  display: none;
}
.block-some-feed .some-feed > li > .text-link > .user > .avatar {
  transform: translateZ(0);
  transition: opacity 0.25s;
  opacity: 1;
  margin: 0 auto;
  display: block;
  height: 7em;
  width: 7em;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
.block-some-feed .some-feed > li > .text-link > .msg {
  padding: 1.5em;
  text-overflow: ellipsis;
  overflow: hidden;
  max-height: 8em;
  text-align: center;
}
.block-some-feed .some-feed > li > .text-link:hover {
  color: #f9de00;
}
.block-some-feed .some-feed > li > .text-link:hover > .user > .avatar {
  opacity: 0.8;
}
@media (max-width: 950px) {
  .block-some-feed .some-feed {
    margin: 0 -10px;
  }
  .block-some-feed .some-feed > li:nth-child(4n+1) {
    clear: none;
  }
  .block-some-feed .some-feed > li {
    float: left;
    width: 33.33333333%;
    padding: 0 10px;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
  .block-some-feed .some-feed > li:nth-child(3n + 1) {
    clear: both;
  }
  .block-some-feed .some-feed > li:nth-child(n+7) {
    display: none;
  }
}
@media (max-width: 665px) {
  .block-some-feed .some-feed {
    margin: 0 -10px;
  }
  .block-some-feed .some-feed > li:nth-child(3n+1) {
    clear: none;
  }
  .block-some-feed .some-feed > li {
    float: left;
    width: 50%;
    padding: 0 10px;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
  .block-some-feed .some-feed > li:nth-child(2n + 1) {
    clear: both;
  }
  .block-some-feed .some-feed > li:nth-child(n+5) {
    display: none;
  }
}
@media (max-width: 450px) {
  .block-some-feed .some-feed > li {
    padding: 0 0 10px 0;
    float: none;
    width: auto;
  }
}
.block-kurssi > .txt {
  text-align: left;
  max-width: 40em;
  padding-top: 15em;
}
.block-kurssi > .txt > .ingress {
  max-width: none;
  width: auto;
}
.block-kurssi > .txt > .socmed {
  padding-top: 3em;
  float: left;
  padding-bottom: 6em;
}
.block-kurssi .huomio {
  padding: 0 0 1em 0;
}
@media screen and (max-width: 900px) {
  .block-kurssi > .txt {
    padding-top: 13em !important;
  }
}
html {
  min-height: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}
body {
  margin: 0;
  padding: 0;
}
#page {
  min-height: 100%;
  height: 100%;
  position: relative;
}
#ie6 #page {
  height: 100%;
}
.admin-bar #header {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar #header {
    top: 46px;
  }
}
html #wpadminbar {
  z-index: 20000 !important;
}
@media screen and (max-width: 1085px) {
  #navigation > .menu a {
    font-size: 90%;
    padding-left: 0.1em;
    padding-right: 0.1em;
  }
}
@media screen and (max-width: 1023px) {
  #header-title {
    float: none;
  }
  #header-title > a > img {
    margin: 0 auto;
  }
  .block > .anchor {
    position: absolute;
    margin-top: -208px;
  }
  .page-title {
    padding-top: 285px !important;
    padding-bottom: 62.5px;
  }
  .home .page-title {
    padding-top: 215px !important;
  }
  /*
    #navigation {
        float: none;
        padding: 0 0 0 0;
        > .menu {
            text-align: center;
            li {
                display: inline-block;
                float: none;
                margin: 0 0 5px 0;
            }
            a {
            }
            
        }   
    }
   */
  .datelist {
    margin: 0 -10px;
  }
  .datelist > li:nth-child(4n + 1) {
    clear: none;
  }
  .datelist > li {
    float: left;
    width: 33.33333333%;
    padding: 0 10px;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
  .datelist > li:nth-child(3n + 1) {
    clear: both;
  }
  .datelist > li {
    margin-bottom: 2.5em;
  }
  .block-nosto-ajankohtaista-peruskurssit section {
    float: none;
    width: auto;
    text-align: left;
    padding: 0 0 1em 0;
  }
  .block-nosto-harjoitusajat .details {
    float: none;
    width: auto;
    padding-right: 0;
  }
  #footer > div > .salit > h2 {
    float: none;
    width: auto;
    margin-top: -0.2em;
    color: #fff;
  }
  #footer > div > .salit > .sali {
    width: 50%;
    float: left;
  }
  #footer > div > .yhteystiedot {
    clear: both;
    width: 50%;
    padding-top: 1em;
  }
  #footer > div > .follow-copyright {
    padding-top: 1em;
    float: left;
    width: 50%;
  }
}
@media screen and (max-width: 900px) {
  body {
    font-size: 15px;
  }
  .block > .txt {
    padding-top: 2.3em;
    padding-bottom: 2.3em;
  }
  .page-title {
    padding-top: 200px !important;
    padding-bottom: 80px;
    /*
        .home & {
            background-position: 50% 25%;
            > span {
                .assistive-text;
            }
        }
        */
  }
  .page-title-bg {
    padding-top: 0px !important;
  }
  #navigation {
    display: none;
  }
  #header {
    background: none;
    position: absolute;
  }
  .scrolled #header {
    position: absolute;
  }
  .scrolled #header-title > a:after {
    width: 200px;
    height: 90px;
  }
  .show-mobile-menu #page {
    width: 100%;
    overflow: hidden;
    position: absolute;
  }
  .show-mobile-menu #footer {
    display: none;
  }
  #navigation-mobile {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    margin-top: 0px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    z-index: 90;
    transition: opacity 0.25s;
    transform: translateZ(0);
    background: #282828 url("images/bg.jpg") top center;
    font-family: "MochaMattari", sans-serif;
    font-weight: 300;
    line-height: 1;
    text-transform: uppercase;
    font-size: 125%;
  }
  .show-mobile-menu #navigation-mobile {
    min-height: 100%;
    height: auto;
    opacity: 1;
  }
  #navigation-mobile > .padder {
    padding-top: 140px;
  }
  .admin-bar #navigation-mobile > .padder {
    padding-top: 186px;
  }
  #navigation-mobile > .page-wrapper {
    max-width: 35em;
  }
  #navigation-mobile .menu-primary {
    font-size: 150%;
    text-align: center;
    padding: 0 0 50px 0;
  }
  #navigation-mobile ul {
    padding: 0;
    margin: 0;
    list-style: none;
    list-style-image: none;
    overflow: hidden;
  }
  #navigation-mobile li {
    padding: 0 0 0.55em 0;
  }
  #navigation-mobile li a {
    display: block;
    color: #fff;
  }
  #navigation-mobile li a:hover,
  #navigation-mobile li.active > a,
  #navigation-mobile li.current_page_item > a {
    color: #f9de00;
  }
  #languages-mobile {
    text-align: center;
    font-size: 150%;
  }
  #languages-mobile > li {
    display: inline-block;
  }
  #languages-mobile > li a {
    display: block;
    padding: 0.2em 0.5em;
  }
  #more {
    position: absolute;
    right: 0;
    display: block;
    z-index: 1010;
    opacity: 1;
    text-align: center;
    color: #000;
    transition: all 0.25s;
  }
  #more:after {
    content: "";
    display: block;
    width: 88px;
    height: 88px;
    background: url("images/hamburger@3x.png") 50% 55% no-repeat;
    background-size: 100% auto;
  }
  #more > span {
    display: none;
  }
  #more.show {
    opacity: 0.68;
  }
  #more.show:after {
    background-image: url("images/close@3x.png");
  }
  #header-title > a > i {
    margin: 0;
  }
  .block-text-slider .slide h2 {
    width: auto;
  }
  .block-text-slider .slide .ingress {
    width: auto;
  }
  .block-lajin-kurssit {
    text-align: left;
  }
  .block-lajin-kurssit .bordered {
    padding: 1em 0.75em;
  }
  .block-lajin-kurssit .content {
    position: relative;
  }
  .block-lajin-kurssit .content > .more-link-wrapper-light {
    float: none;
    position: static;
    right: auto;
    top: auto;
    width: auto;
  }
  .block-lajin-kurssit .content > .temp-text {
    padding-left: 0;
    padding-right: 0;
  }
  .block-lajin-kurssit .content > .temp-text:before {
    display: none;
  }
  .block-lajin-kurssit .content > .kurssit {
    padding-top: 1em;
  }
  .block-lajin-kurssit .content > h1 {
    float: none;
    width: auto;
    padding-right: 0;
    margin-right: 0;
  }
  .block-lajin-kurssit .content > h1:before {
    display: none;
  }
  .block-nosto-blocks .above-blocks {
    text-align: left;
    margin: 0;
  }
  .block-nosto-blocks .above-blocks > .nosto {
    padding: 0 0 1.5em 0;
    float: none;
    width: auto;
  }
  .block-nosto-blocks .above-blocks > .nosto > div {
    min-height: 0;
  }
  .block-nosto-blocks .below-blocks {
    margin: 1em 0 0 0;
    text-align: left;
    font-family: "MochaMattari", sans-serif;
    font-weight: 300;
    line-height: 1;
    text-transform: uppercase;
    font-size: 25px;
  }
  .block-nosto-blocks .below-blocks > div.nosto {
    display: block;
    width: 33.333%;
    box-sizing: border-box;
    float: left;
    text-align: center;
    padding: 0;
    margin: 0;
  }
  .block-nosto-blocks .below-blocks > div.nosto > .content:after {
    display: none;
  }
  .block-nosto-blocks .below-blocks > div.nosto a {
    display: block;
    padding: 0 0 0.5em 0;
  }
  .block-nosto-blocks .below-blocks > div.nosto br {
    display: none;
  }
  .block-nosto-blocks .below-blocks > div.nosto-first {
    float: none;
    display: block;
    padding: 0 0 1em 0;
    margin: 0;
    text-align: center;
  }
  .block-nosto-blocks .below-blocks > div.nosto-first > .content:after {
    display: none;
  }
  .block-harjoitusajat .txt > .content {
    padding-left: 0;
    padding-bottom: 1.5em;
  }
  .block-harjoitusajat .txt > .harjoitusajat {
    overflow: hidden;
    float: none;
    width: auto;
  }
  .lajin-kouluttajat {
    margin: 0 -2em;
  }
  .lajin-kouluttajat > li:nth-child(5n + 1) {
    clear: none;
  }
  .lajin-kouluttajat > li {
    float: left;
    width: 33.33333333%;
    padding: 0 2em;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
  .lajin-kouluttajat > li:nth-child(3n + 1) {
    clear: both;
  }
  .lajin-kouluttajat > li {
    padding-bottom: 0.35em;
  }
}
@media screen and (max-width: 767px) {
  h1 {
    font-size: 34.32px;
  }
  h2 {
    font-size: 21.12px;
  }
  .page-title-size {
    font-size: 42.60000000000001px;
  }
  .page-title-ingress {
    font-size: 21.12px;
  }
  .ingress {
    font-size: 18.48px;
  }
  .slight {
    font-size: 21.78px;
  }
  .greater {
    font-size: 29.040000000000003px;
  }
  .smaller {
    font-size: 11.22px;
  }
  .more-link-wrapper {
    font-size: 14.520000000000001px;
  }
  .more-link-wrapper.big {
    font-size: 19.8px;
  }
  .datelist {
    margin-top: 1.5em;
  }
  .datelist > li {
    display: block;
    clear: both;
    float: none;
    margin-bottom: 3em;
    width: auto;
  }
  .datelist > li > .segment > i {
    display: none;
  }
  .cols-3 {
    margin: 0;
  }
  .cols-3 > .col {
    clear: both;
    float: none;
    width: auto;
    padding: 0.75em 0 0.75em 0;
  }
  .cols-3 > .col:nth-child(3n + 1) {
    clear: none;
  }
  .cols-3 > .col:before {
    display: none;
  }
  .cols-2 {
    margin: 0 -2%;
  }
  .cols-2 > .col {
    float: left;
    width: 50%;
    padding: 0 2%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
  .cols-2 > .col:nth-child(2n + 1) {
    clear: both;
  }
  .related-articles {
    border-top: 0;
    margin-top: 0;
  }
  .socmed-share > li > a {
    min-width: 0;
    padding: 3px;
  }
  .socmed-share > li > a > span {
    display: none;
  }
  .socmed-share > li > a > i {
    margin-right: 0;
  }
  .lajit {
    margin: 0 -2.5%;
  }
  .lajit > li:nth-child(3n + 1) {
    clear: none;
  }
  .lajit > li {
    float: left;
    width: 50%;
    padding: 0 2.5%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
  .lajit > li:nth-child(2n + 1) {
    clear: both;
  }
  .lajit > li {
    padding-bottom: 4%;
  }
  .kurssit > li > .col {
    float: none;
  }
  .kurssit > li > .col.details {
    width: auto;
  }
  .kurssit > li > .col.alkamisajankohta {
    padding-left: 0;
    width: auto;
  }
  .kurssit > li > .col.more-link-wrapper {
    padding: 1em 0 0 0;
    width: auto;
    text-align: left;
  }
  .block-kurssit .content {
    float: none;
    width: auto;
    padding-left: 0;
    padding: 0 0 1.5em 0;
  }
  #footer-info .info {
    float: none;
    width: auto;
    clear: both;
  }
  #footer-info .info:before {
    width: 58px;
    height: 36px;
  }
  #footer-info .facebook {
    padding-top: 1.5em;
    float: none;
    width: auto;
    clear: both;
  }
  .article-list {
    margin: 0;
  }
  .article-list > .article-list-item {
    float: none;
    width: auto;
    padding: 0 0 2.2em 0;
  }
  .article-list > .article-list-item:nth-child(2n + 1) {
    clear: both;
  }
  .block-nosto-linkkeja .linkkeja {
    margin: 0;
  }
  .block-nosto-linkkeja .linkkeja > li {
    padding: 1.5em 0 0 0;
    width: auto;
    float: none;
  }
  .block-salit .salit {
    margin: 0;
  }
  .block-salit .salit > .sali {
    padding: 1.5em 0 0 0;
    width: auto;
    float: none;
  }
  .block-harjoitusajat .txt > .harjoitusajat .paiva {
    padding: 0 0 1.5em 0;
    margin: 0 0 1.5em 0;
    position: relative;
  }
  .block-harjoitusajat .txt > .harjoitusajat .paiva:after {
    content: "";
    background: url("images/splitter-vaaka.png");
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
  }
  .block-harjoitusajat .txt > .harjoitusajat .paiva > h1 {
    padding: 0;
  }
  .block-harjoitusajat .txt > .harjoitusajat .tilat {
    padding-bottom: 0;
    margin: 0;
  }
  .block-harjoitusajat .txt > .harjoitusajat .tilat > .tila {
    padding: 0 0 1em 0;
    width: auto;
    float: none;
  }
  .block-nosto-harjoitusajat .bordered {
    padding: 1em 0.75em;
  }
  .block-nosto-harjoitusajat .tilat {
    margin: 0;
  }
  .block-nosto-harjoitusajat .tilat > .tila {
    width: auto;
    float: none;
    padding: 0 0 1em 0;
  }
  .block-form > .txt .content {
    float: none;
    width: auto;
    padding: 0 0 2em 0;
  }
  .block-content-image > .txt {
    display: block;
    -webkit-flex-align: none;
    align-items: none;
  }
  .block-content-image > .txt > .img {
    display: block;
    float: none;
    width: auto;
    margin: 0 auto 1.5em auto;
  }
  .block-content-image > .txt > .content {
    float: none;
    width: auto;
    padding-left: 0;
  }
  .block-content-image.image-position-right > .txt {
    display: block;
    -webkit-flex-align: none;
    align-items: none;
  }
  .block-content-image.image-position-right > .txt > .img {
    display: block;
    float: none;
    width: auto;
    margin: 0 auto 1.5em auto;
  }
  .block-content-image.image-position-right > .txt > .content {
    float: none;
    width: auto;
    padding-right: 0;
  }
  .lajin-kouluttajat {
    margin: 0 -2em;
  }
  .lajin-kouluttajat > li:nth-child(5n + 1),
  .lajin-kouluttajat > li:nth-child(3n + 1) {
    clear: none;
  }
  .lajin-kouluttajat > li {
    float: left;
    width: 50%;
    padding: 0 2em;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
  .lajin-kouluttajat > li:nth-child(2n + 1) {
    clear: both;
  }
  .lajin-kouluttajat > li {
    padding-bottom: 0.35em;
  }
  /*
    .block-code-articles {
        .article-excerpt {
            float: none;
            width: auto;
            padding-right: 0;
        }
        .article-listing {
            float: none;
            width: auto;
            padding-top: 2.5em;
            padding-bottom: 0;
            padding-left: 0;
        }
        
    }
    .block-title-content {
        .txt h1 {
            float: none;
            width: auto;
            padding-right: 0;
        }
        .txt .details {
            float: none;
            width: auto;
        }
    }
    .block-featured-data {
        .texts-4 > .text {
            width: 50%;
            
            &:nth-child(2n+1) {
                clear: both;
            }
        }
        
        .data {
        }
    }
    .block-contact-form {
        .content {
            width: auto;
            float: none;
            padding-right: 0;
        }
        
        .form {
            width: auto;
            float: none;
        }
    }
    .block-contact-long-form {
        > .txt { 
            > .content {
                width: auto;
                float: none;
                padding-bottom: 1.5em;
            }
            > .form {
                width: auto;
                float: none;
                padding-bottom: 1.5em;
            }
        }
    } */
  .scrolled #header {
    position: absolute;
    background: none;
  }
  #footer {
    position: static;
  }
  #footer > div > .salit > h2 {
    float: none;
    width: auto;
    margin-top: 0;
  }
  #footer > div > .salit > .sali {
    float: none;
    width: auto;
    padding: 0.5em 0 0 0;
  }
  #footer > div > .yhteystiedot {
    clear: both;
    float: none;
    width: auto;
    margin-left: 0;
    padding-top: 1em;
  }
  #footer > div > .follow-copyright {
    clear: both;
    float: none;
    width: auto;
    margin-left: 0;
  }
  #footer > div > .follow-copyright > .follow > h3 {
    width: auto;
    float: none;
    padding-right: 0;
  }
  #main {
    padding-bottom: 1em;
  }
}
@media (max-width: 600px) {
  .nform .primary-inputs {
    float: none;
    width: auto;
    padding-right: 0;
  }
  .nform .secondary-inputs {
    float: none;
    width: auto;
    padding: 1em 0 0 0;
  }
  .page-title-bg {
    left: -35%;
    right: -35%;
  }
  .block-text-slider > .slide-bgs > .slide-bg {
    left: -35%;
    right: -35%;
  }
}
@media (max-width: 470px) {
  .block-salit .salit .salin-sijainti {
    width: auto;
    float: none;
  }
  .block-salit .salit .salin-aukioloajat {
    width: auto;
    float: none;
  }
  .lajit {
    margin: 0;
  }
  .lajit > li:nth-child(3n + 1),
  .lajit > li:nth-child(2n + 1) {
    clear: none;
  }
  .lajit > li {
    float: none;
    padding: 0 0 3em 0;
    width: auto;
  }
  .block > .txt {
    padding-top: 2.3em;
    padding-bottom: 2.3em;
  }
  #navigation-mobile .menu-primary {
    float: none;
    width: auto;
  }
  #more > span {
    display: none;
  }
}
