/*!
Theme Name:     KD Vaalit
Description:    
Author:         
Version:        development
License:        
*/
/* HTML5 support for IE6,7,8 */
section,
article,
aside,
footer,
header,
nav,
hgroup {
  display: block;
}
body {
  font-family: sans-serif;
}
ul,
ol {
  padding: 0 0 1em 1.5em;
  margin: 0;
}
p {
  padding: 0 0 1em 0;
  margin: 0;
}
p:last-child {
  padding-bottom: 0;
}
a {
  text-decoration: none;
}
.skip-link,
.assistive-text,
.assistive-navigation {
  display: none;
}
.clear,
.clearfix {
  clear: both;
}
div.error,
p.error,
span.error {
  color: #D32A24;
}
blockquote {
  border-left: 3px solid #efefef;
  margin: 0 0 1em 1.0em;
  padding: 0.2em 0 0.2em 1.5em;
  overflow: hidden;
}
blockquote p:last-child {
  padding-bottom: 0;
}
/* Embeds */
.ownskit-embedhtmlshort {
  margin: 0 0 1em 0;
}
/* =Images
-------------------------------------------------------------- */
img {
  border: 0;
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
  max-width: 100%;
  /* When images are too wide for containing element, force them to fit. */
  width: auto !important;
  height: auto;
  /* Override height to match resized width for correct aspect ratio. */
}
.alignleft-wrap {
  float: left;
}
.alignnone,
.entry-content img {
  max-width: 100%;
  height: auto;
}
.alignleft,
img.alignleft {
  max-width: 55% !important;
  height: auto !important;
  display: inline;
  float: left;
  clear: left;
  margin-right: 14px;
  margin-top: 4px;
}
.alignright,
img.alignright {
  max-width: 55% !important;
  height: auto !important;
  display: inline;
  float: right;
  clear: right;
  margin-left: 14px;
  margin-top: 4px;
}
.alignnone,
.aligncenter,
.wp-post-image,
img.aligncenter {
  max-width: 100%;
  height: auto !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.aligncenter iframe {
  display: block;
  margin: 0 auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
  margin-bottom: 12px;
}
.wp-caption {
  margin-top: 5px;
  margin-bottom: 10px;
  width: auto !important;
}
.wp-caption-text {
  margin: 0;
  padding: 0;
  max-width: 100%;
  /* prevent too-wide images from breaking layout */
  text-align: center;
  color: gray;
  font-family: Georgia;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.2;
}
.gallery-icon img,
.wp-caption img {
  display: block;
  margin: 0 auto 3px auto;
  max-width: 100%;
  width: auto !important;
  height: auto !important;
}
.wp-smiley {
  margin: 0;
}
/* WP-Gallery feature */
.gallery {
  clear: both;
  margin: 0 -10px;
}
.gallery .gallery-caption,
.gallery .gallery-content,
.gallery .gallery-icon {
  margin: 0 10px;
  display: block;
}
.gallery .gallery-icon .preview {
  display: block;
}
.gallery .gallery-item {
  float: left;
  margin-top: 0;
  text-align: center;
  margin-bottom: 14px;
}
.gallery-columns-2 .gallery-item {
  width: 50%;
}
.gallery-columns-3 .gallery-item {
  width: 33%;
}
.gallery-columns-4 .gallery-item {
  width: 25%;
}
.gallery-columns-5 .gallery-item {
  width: 20%;
}
#ie7 .gallery-columns-2 .gallery-item {
  width: 48%;
}
#ie7 .gallery-columns-3 .gallery-item {
  width: 31%;
}
#ie7 .gallery-columns-4 .gallery-item {
  width: 23%;
}
#ie7 .gallery-columns-5 .gallery-item {
  width: 18%;
}
.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1) {
  clear: both;
}
.gallery img {
  display: block;
  margin: 0 auto;
  border: 1px solid #D3D4D4;
}
.gallery .attachment-thumbnail,
.gallery .attachment-medium {
  max-width: 100%;
  max-height: 100%;
  width: auto !important;
  height: auto !important;
}
.gallery .gallery-caption {
  font-size: 12px;
  margin: 3px 0 12px;
}
.ownskit-galleries .gallery-content {
  display: none;
}
.gallery .gallery-content {
  margin: 0 0 12px;
}
.gallery dl {
  margin: 0;
}
.gallery br + br {
  display: none;
}
#content .attachment img {
  /* single attachment images should be centered */
  display: block;
  margin: 0 auto;
}
@media (max-width: 460px) {
  .alignleft,
  img.alignleft,
  .alignright,
  img.alignright {
    max-width: 45% !important;
  }
}
/* LESS Mixins 
 * https://github.com/dmitryf/elements/blob/master/elements.less
 * */
/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  overflow: hidden;
  position: fixed;
  background: rgba(255, 255, 255, 0.95);
}
#ie8 .mfp-bg {
  background: #fff;
}
.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100001;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}
.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.mfp-align-top .mfp-container:before {
  display: none;
}
.mfp-content {
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}
.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}
.mfp-ajax-cur {
  cursor: progress;
}
.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}
.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}
.mfp-auto-cursor .mfp-content {
  cursor: auto;
}
.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.mfp-loading.mfp-figure {
  display: none;
}
.mfp-hide {
  display: none !important;
}
.mfp-preloader {
  color: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
}
.mfp-preloader a {
  color: #cccccc;
}
.mfp-preloader a:hover {
  color: white;
}
.mfp-s-ready .mfp-preloader {
  display: none;
}
.mfp-s-error .mfp-content {
  display: none;
}
button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
.mfp-close {
  width: 100px;
  height: 100px;
  line-height: 100px;
  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: #000;
  font-family: serif;
  font-style: normal;
  font-size: 100px;
}
.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: #000;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}
.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #cccccc;
  font-size: 12px;
  line-height: 18px;
}
.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  filter: alpha(opacity=65);
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.mfp-arrow:active {
  margin-top: -54px;
}
.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1;
  filter: alpha(opacity=100);
}
.mfp-arrow:before,
.mfp-arrow:after,
.mfp-arrow .mfp-b,
.mfp-arrow .mfp-a {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent;
}
.mfp-arrow:after,
.mfp-arrow .mfp-a {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px;
}
.mfp-arrow:before,
.mfp-arrow .mfp-b {
  border-top-width: 21px;
  border-bottom-width: 21px;
  opacity: 0.7;
}
.mfp-arrow-left {
  left: 0;
}
.mfp-arrow-left:after,
.mfp-arrow-left .mfp-a {
  border-right: 17px solid white;
  margin-left: 31px;
}
.mfp-arrow-left:before,
.mfp-arrow-left .mfp-b {
  margin-left: 25px;
  border-right: 27px solid #3f3f3f;
}
.mfp-arrow-right {
  right: 0;
}
.mfp-arrow-right:after,
.mfp-arrow-right .mfp-a {
  border-left: 17px solid white;
  margin-left: 39px;
}
.mfp-arrow-right:before,
.mfp-arrow-right .mfp-b {
  border-left: 27px solid #3f3f3f;
}
.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}
.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}
.mfp-iframe-holder .mfp-close {
  top: -40px;
}
.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}
.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: black;
}
/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}
/* The shadow behind the image */
.mfp-figure {
  line-height: 0;
}
.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
}
.mfp-figure small {
  color: #bdbdbd;
  display: block;
  font-size: 12px;
  line-height: 14px;
}
.mfp-figure figure {
  margin: 0;
}
.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}
.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  word-wrap: break-word;
  padding-right: 36px;
}
.mfp-image-holder .mfp-content {
  max-width: 100%;
}
.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }
  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }
}
@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0;
  }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
  }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}
.mfp-ie7 .mfp-img {
  padding: 0;
}
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px;
}
.mfp-ie7 .mfp-container {
  padding: 0;
}
.mfp-ie7 .mfp-content {
  padding-top: 44px;
}
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0;
}
@font-face {
  font-family: "vaalifonttiregular";
  src: url("css/vaalifontti5.woff2") format("woff2"), url("css/vaalifontti5.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
#go-top {
  display: none;
}
.socmed-sharing-title {
  display: none;
}
.socmed-sharing,
.socmed-follow {
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-image: none;
  text-align: center;
}
.socmed-sharing > li,
.socmed-follow > li {
  display: inline-block;
}
.socmed-sharing > li + li,
.socmed-follow > li + li {
  margin-left: 2px;
}
.socmed-sharing > li > a,
.socmed-follow > li > a {
  display: block;
  position: relative;
  padding-bottom: 1.15em;
}
.socmed-sharing > li > a > i,
.socmed-follow > li > a > i {
  position: relative;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  display: block;
  background-size: 100% auto;
  background-position: 0 0;
}
.socmed-sharing > li > a > span,
.socmed-follow > li > a > span {
  position: absolute;
  bottom: 0em;
  left: -1.3em;
  right: -1.3em;
  text-align: center;
  font-size: 9pt;
  color: #000;
  opacity: 0;
}
.socmed-sharing > li > a:hover > span,
.socmed-follow > li > a:hover > span {
  opacity: 1;
}
.socmed-sharing > li > a:hover > i,
.socmed-follow > li > a:hover > i {
  background-position: 0 90px;
}
#navigation-mobile .socmed-sharing > li > a:hover > span,
#navigation-mobile .socmed-follow > li > a:hover > span {
  display: none;
}
.scrolled #go-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #005fab;
  color: #fff;
  display: block;
  padding: 8px 13px;
  font-size: 20px;
  z-index: 10005;
}
body,
html {
  padding: 0;
  margin: 0;
}
body {
  background: #fff;
  font-family: "Nimbus Sans";
  color: #333;
}
a {
  color: #e67800;
}
a:hover {
  color: #202848;
}
h1:first-child,
h2:first-child,
h3:first-child {
  margin-top: 0;
  padding-top: 0;
}
h1 {
  font-size: 38px;
  color: #202848;
  padding: 15px 0 35px;
  line-height: 1.1;
  margin: 0;
}
h1 a {
  color: #e67800;
}
h2 {
  font-size: 28px;
  color: #202848;
  padding: 0.85em 0 0.85em;
  line-height: 1.1;
  margin: 0;
}
h2 a {
  color: #e67800;
}
h3 {
  font-size: 18px;
  color: #202848;
  padding: 0.7em 0 0.25em;
  line-height: 1.1;
  margin: 0;
}
h3 a {
  color: #e67800;
}
h4 {
  font-size: 15px;
  color: #202848;
  padding: 0.7em 0 0.25em;
  line-height: 1.1;
  margin: 0;
}
h4 a {
  color: #e67800;
}
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;
}
.ingress {
  font-weight: 700;
  font-size: 19px;
}
.page-wrapper {
  max-width: 1050px;
  padding: 0 3%;
  margin: 0 auto;
}
body.single-o_join_target .page-wrapper {
  max-width: 1200px;
}
#header {
  padding: 20px 0 30px 0;
}
#header h1 {
  padding: 0;
}
#header #header-link {
  display: block;
}
#header #header-link > span {
  display: none;
}
#header #header-link > img {
  display: block;
  margin: 0 auto;
  max-width: 180px;
}
#header #header-link:hover > img {
  opacity: 0.7;
}
#header #main-navigation {
  text-align: center;
  padding: 0 0 30px 0;
}
#header #main-navigation .menu {
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-image: none;
}
#header #main-navigation .menu li {
  display: inline-block;
  padding: 3px 10px;
}
#header #main-navigation .menu a {
  display: block;
  padding: 3px 5px;
  color: #999999;
}
#header #main-navigation .menu li > a:hover,
#header #main-navigation .menu li.current-menu-item > a {
  color: #005fab;
}
#content > h1 {
  text-align: center;
}
#content.event .search {
  padding-bottom: 1.5em;
}
#content.event h1 {
  font-size: 150%;
  padding-bottom: 0.5em;
}
#content.event h1 .timespan {
  display: block;
  font-size: 70%;
}
#content.event .content {
  font-size: 90%;
}
#content.event .location {
  font-weight: bold;
}
#content.event > .map-details {
  width: 50%;
  float: left;
  margin-right: 1.5em;
}
#content.event > .details {
  overflow: hidden;
}
#content.event .socmed-sharing {
  padding-top: 1.5em;
  text-align: left;
}
#content.event-listing .content {
  padding-top: 1.5em;
}
#content.event-listing .content > #events-google-map {
  width: 50%;
  float: left;
  margin-right: 1.5em;
}
#content.event-listing .content > .events-list {
  overflow: hidden;
}
.post-type-archive-ownskit_event {
  /*
    #header h1 {
        display: none;
    }
    */
}
#events-google-map {
  margin: 0 auto 1em auto;
}
#events-google-map.loading {
  height: 19em;
  background: url("images/loader.gif") center center no-repeat;
  background-size: 32px auto;
}
#events-google-map.loading > * {
  opacity: 0 !important;
}
#events-google-map.loaded {
  height: 19em;
}
#events-google-map.loaded > * {
  opacity: 1 !important;
}
.se {
  color: gray;
  font-size: 1rem;
}
.lomake #selectfiles .se,
button .se,
.help .se {
  display: block;
  color: inherit;
}
.jump-links {
  text-align: center;
  display: block;
  padding: 0 0 2em 0;
}
.jump-links a {
  display: block;
}
.events-list {
  font-size: 16.7999992370605px;
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-image: none;
}
.events-list .timespan {
  width: 5.5em;
  padding-right: 0.5em;
  display: block;
  float: left;
  text-align: right;
}
.events-list .timespan .date {
  font-weight: normal;
}
.events-list .title {
  display: block;
  overflow: hidden;
  color: #000;
}
.events-list li {
  overflow: hidden;
  padding: 1em 0 1em 0;
  border-bottom: 1px solid #e5e5e5;
}
.events-list a:hover .title {
  color: gray;
}
.events-list a:hover .timespan {
  color: gray;
}
.downloads {
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-image: none;
  padding: 10px 0 0 0;
}
.downloads li {
  padding: 5px 0;
}
.downloads li a {
  padding: 5px 10px;
  text-align: center;
  display: block;
  background: #f39a00;
  color: #fff;
  border-radius: 2px;
}
.downloads li a:hover {
  background: #ffb941;
}
.gallery-files {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}
.gallery-files img {
  width: 100%;
}
.gallery-files .downloads .author {
  font-style: italic;
  font-size: 80%;
}
.gallery-files .downloads .size {
  font-size: 80%;
}
/*
.gallery-press {
    > figure {
        margin: 0;
        padding: 0;
        text-align: center;
        .img {
            display: block;
            position: relative;
            > .empty {
                display: block;
                padding-top: 100%;
            }
            > .zoom {
                display: block;
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background-repeat: no-repeat;
                background-position: center center;
                background-size: contain;
            } 
        }
        
        .name {
            
        }
        
        .author {
            display: block;
            font-style: italic;
            color: #888;
        }
        
        .size {
            font-size: 80%;
            color: #888;
        }
    }
    .palstoita(3, 10px, ~"figure");
}
*/
.not-found {
  padding: 2.5em 0 0 0;
  text-align: center;
}
#footer {
  padding: 50px 0 10px 0;
  font-size: 15px;
  color: #999999;
}
#footer a {
  color: #999999;
}
#footer a:hover {
  text-decoration: underline;
}
#footer .footer-left {
  float: left;
}
#footer .footer-right {
  float: right;
}
#footer .copyrights {
  margin-right: 20px;
}
#footer .tekija {
  font-size: 12px;
  display: block;
  margin: 6px 0 0 0;
}
#footer .kuvakkeet {
  display: inline-block;
  vertical-align: top;
  bottom: 2px;
  margin-left: 10px;
  position: relative;
}
#pagenav {
  font-size: 16px;
  text-align: center;
  padding: 1.5em 0 0 0;
}
#pagenav > .page-numbers {
  margin: 0 0 4px 0;
  padding: 4px 0;
  min-width: 2.2em;
  text-align: center;
  display: inline-block;
  color: #999999;
  border: 1px solid #999999;
}
#pagenav > .dots {
  position: relative;
  top: -5px;
  border: none;
}
#pagenav > a.page-numbers:hover,
#pagenav > .current {
  border-color: #005fab;
  color: #005fab;
}
#pagenav > .next,
#pagenav > .prev {
  display: none;
}
#pagenav > .next {
  float: right;
}
.note {
  color: #005fab;
}
.saved {
  color: #fff;
  background: #3ca05c;
  padding: 10px 20px;
  margin: 0 0 2em 0;
}
.intro {
  padding: 0 0 1.5em 0;
}
.kuvakkeet {
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-image: none;
  text-align: center;
}
.kuvakkeet > li {
  display: inline-block;
}
.kuvakkeet > li + li {
  margin-left: 5px;
}
.kuvakkeet > li > a {
  display: block;
  position: relative;
  padding-bottom: 16px;
}
.kuvakkeet > li > a > i {
  position: relative;
  vertical-align: middle;
  width: 32px;
  height: 32px;
  display: block;
  background-size: 100% auto;
  background-position: 0 0;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}
.kuvakkeet > li > a > span {
  position: absolute;
  bottom: -3px;
  left: -1.5em;
  right: -1.5em;
  text-align: center;
  display: block;
  font-size: 9pt;
  color: #333;
  opacity: 0;
}
.kuvakkeet > li > a:hover > span {
  opacity: 1;
}
.kuvakkeet > li > a:hover > i {
  background-position: 0 32px;
}
.msg {
  text-align: center;
  padding: 0.5em 0.9em;
  margin: 0 0 1em 0;
  background: #efefef;
  color: #555;
}
.msg.error {
  background: #ffe3e3;
}
.msg.warning {
  background: #fffde3;
}
.ac_results {
  background: #fff;
}
.ac_results > ul {
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-image: none;
  border: 1px solid #005fab;
}
.ac_results > ul > li {
  padding: 0.25em;
  border-bottom: 1px solid #005fab;
}
.ac_results > ul > li:last-child {
  border-bottom: 0;
}
.ac_over {
  background-color: Highlight;
  color: HighlightText;
}
.kuntalist {
  -webkit-column-count: 4;
  -moz-column-count: 4;
  column-count: 4;
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-image: none;
  padding-top: 1.5em;
}
.kuntalist .no-children {
  color: gray;
}
.kuntalist .count {
  color: gray;
}
.kuntalist strong {
  display: block;
  padding: 0.2em 0 0 0;
  font-size: 120%;
}
@media (max-width: 800px) {
  .kuntalist {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
  }
}
@media (max-width: 600px) {
  .kuntalist {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }
}
@media (max-width: 400px) {
  .kuntalist {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
}
.maakuntalist {
  max-width: 500px;
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-image: none;
  padding-top: 2.5em;
  font-size: 150%;
  margin: 0 auto;
}
.maakuntalist .no-children {
  color: gray;
}
.maakuntalist .count {
  color: gray;
}
.maakuntalist strong {
  display: block;
  padding: 0.2em 0 0 0;
  font-size: 120%;
}
.listing {
  padding: 2em 0 0 0;
}
.listing .listing-group {
  padding: 3em 0 0 0;
}
.listing .listing-group.jumpped > h2 {
  -webkit-transition: color 1.25s;
  -moz-transition: color 1.25s;
  -ms-transition: color 1.25s;
  -o-transition: color 1.25s;
  transition: color 1.25s;
  color: #e67800;
}
.listing .listing-items {
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-image: none;
  margin: 0 -10px;
}
.listing .listing-items > li {
  float: left;
  width: 33.33333333%;
  padding: 0 10px;
  margin-left: 0;
  margin-right: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.listing .listing-items > li:nth-child(3n + 1) {
  clear: both;
}
.listing .listing-items > li {
  padding-bottom: 30px;
}
.listing .listing-items > li > a {
  display: block;
}
.listing .listing-items > li .image {
  display: block;
  width: 80px;
  height: 80px;
  background-position: center 25%;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 50%;
  border: 3px solid #e67800;
  float: left;
}
.listing .listing-items > li .image > img {
  display: none;
}
#ie8 .listing .listing-items > li .image {
  background: none !important;
}
#ie8 .listing .listing-items > li .image > img {
  display: block;
  height: auto;
  width: auto;
  max-height: 100%;
  max-width: 100%;
  margin: 0 auto;
}
.listing .listing-items > li .image.placeholder {
  background-position: 0 5px;
  background-image: url("https://www.kdpuolue.fi/vaalit/files/2023/01/sydan-2022.png");
}
.listing .listing-items > li .details {
  display: block;
  overflow: hidden;
  min-height: 80px;
  padding-left: 20px;
  font-size: 15px;
}
.listing .listing-items > li .details > .title {
  font-size: 20px;
  padding: 0 0 5px 0;
  font-weight: bold;
  color: #202848;
  display: block;
}
.listing .listing-items > li .details > .title > .aanestysnumero {
  font-family: "vaalifonttiregular";
  color: #e67800;
  font-weight: normal;
  font-style: normal;
}
.listing .listing-items > li .details > .cat {
  font-family: Poppins;
  font-weight: 400;
  display: block;
  color: #e67800;
}
.listing .listing-items > li .details > .subtitle {
  color: #202848;
  font-family: Poppins;
  font-weight: 500;
  display: block;
  padding: 0 0 3px 0;
}
.listing .listing-items > li > a:hover > .image {
  opacity: 0.7;
}
.listing .listing-items > li > a:hover > .details > .title {
  color: #e67800;
}
.hakemus-view,
.item-dialog {
  max-width: 700px;
  margin: 0 auto;
  padding: 10px 20px;
}
.hakemus-view .image,
.item-dialog .image {
  float: left;
}
.hakemus-view .image > .img,
.item-dialog .image > .img {
  width: 150px;
  height: 150px;
  display: block;
  background-position: center 25%;
  background-size: cover;
  border-radius: 50%;
  border: 4px solid #e67800;
}
.hakemus-view .image > .img > img,
.item-dialog .image > .img > img {
  display: none;
}
#ie8 .hakemus-view .image > .img,
#ie8 .item-dialog .image > .img {
  background: none !important;
}
#ie8 .hakemus-view .image > .img > img,
#ie8 .item-dialog .image > .img > img {
  display: block;
  height: auto;
  width: auto;
  max-height: 100%;
  max-width: 100%;
  margin: 0 auto;
}
.hakemus-view .details,
.item-dialog .details {
  font-family: Roboto;
  font-weight: 400;
  text-align: justify;
  display: block;
  overflow: hidden;
  min-height: 150px;
  padding-left: 40px;
}
.hakemus-view .details h1,
.item-dialog .details h1 {
  padding: 24px 0 0 0;
}
.hakemus-view .details h1 > .aanestysnumero,
.item-dialog .details h1 > .aanestysnumero {
  font-family: "vaalifonttiregular";
  color: #e67800;
  font-weight: normal;
  font-style: normal;
}
.hakemus-view .details > .cat,
.item-dialog .details > .cat,
.hakemus-view .details > .paikka,
.item-dialog .details > .paikka {
  font-style: Poppins;
  font-weight: 400;
  display: block;
  color: #e67800;
  padding: 0 0 13px 0;
  font-size: 20px;
}
.hakemus-view .details > .ammatti_arvo,
.item-dialog .details > .ammatti_arvo {
  font-style: Poppins;
  font-weight: 500;
  color: #202848;
  display: block;
  padding: 0 0 3px 0;
  font-size: 20px;
}
.hakemus-view .details > .yhteystiedot,
.item-dialog .details > .yhteystiedot {
  font-style: Poppins;
  font-weight: 500;
  color: #202848;
  padding: 0 0 10px 0;
}
.hakemus-view .linkit-wrapper,
.item-dialog .linkit-wrapper {
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-image: none;
}
.hakemus-view h2,
.item-dialog h2 {
  font-size: 20px;
  padding: 0.8em 0 0.25em 0;
}
.loading {
  position: relative;
}
.loading > .loading-overlay {
  background: rgba(255, 255, 255, 0.7);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
}
.loading > .loading-overlay > i {
  display: block;
  width: 64px;
  height: 64px;
  position: absolute;
  bottom: 30px;
  left: 50%;
  margin-left: -32px;
  background: url("images/loader.gif") 0 0 no-repeat;
  background-size: 100% auto;
}
.lomake {
  position: relative;
}
.lomake * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.lomake .help {
  display: block;
  padding: 0.2em 0 0 0;
  color: #999999;
}
.lomake select {
  border-radius: 0;
  appearance: none;
  -ms-appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  text-indent: 0;
}
.lomake select:-moz-focusring {
  border: 0;
  outline: 0;
  color: transparent;
  text-shadow: 0 0 0 #efefef;
}
.lomake span.label {
  display: block;
  padding: 0 0 0.15em 0;
}
.lomake span.label + br {
  display: none;
}
.lomake #plupload {
  text-align: center;
}
.lomake #selectfiles {
  display: inline-block;
  font-size: 20px;
  padding: 17px 42px;
  background: #005fab;
  color: #fff;
  cursor: hand;
  cursor: pointer;
}
.lomake #selectfiles:hover {
  background: #1296ff;
}
.lomake #filelist {
  padding: 0.25em 0 0 0;
}
.lomake .field-image.ajax > .label {
  display: none;
}
.lomake .file .filename {
  font-size: 80%;
}
.lomake .file .percent {
  display: block;
  height: 25px;
  line-height: 25px;
  border: 1px solid #0067b1;
  position: relative;
  border-radius: 2px;
}
.lomake .file .percent b {
  position: relative;
  padding: 0 5px;
  float: right;
  color: #0067b1;
}
.lomake .file .percent div {
  background: #3bbfe9;
  height: 25px;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 2px;
}
.lomake .file.uploaded .percent div {
  background: #4cb849;
}
.lomake textarea,
.lomake select,
.lomake input {
  font-family: "nimbus-sans";
  font-style: normal;
  font-weight: 300;
  width: 100%;
  display: block;
  height: 50px;
  font-size: 20px;
  line-height: 1;
  padding: 15px 15px;
  border: 0;
  color: #000;
  background: #efefef;
  -webkit-transition: all 0.25s;
  -moz-transition: all 0.25s;
  -ms-transition: all 0.25s;
  -o-transition: all 0.25s;
  transition: all 0.25s;
}
.lomake textarea:focus,
.lomake select:focus,
.lomake input:focus {
  background: #dedede;
  color: #000;
  outline: 0;
}
.lomake textarea {
  height: 8em;
}
.lomake input[type="checkbox"] {
  padding: 0;
  border-radius: 0;
  margin: 0 5px 0 0;
  position: relative;
  top: -1px;
  display: inline-block;
  width: 23px;
  height: 23px;
  vertical-align: middle;
}
.lomake .required .label:after {
  content: "*";
  color: red;
}
.lomake label.checkbox {
  display: block;
  cursor: hand;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.lomake label.checkbox:hover {
  color: #005fab;
}
.lomake label.checkbox input {
  cursor: hand;
  cursor: pointer;
}
.lomake .label {
  padding: 0;
}
.lomake .label > label {
  display: block;
}
.lomake .fieldset + .fieldset {
  padding: 3.5em 0 0 0;
}
.lomake .field-user_sahkoposti {
  clear: both;
}
.lomake .field-image img {
  display: block;
  margin: 0 auto;
}
.lomake .field-etunimi {
  float: left;
  width: 46%;
  margin-right: 1em;
}
.lomake .field-sukunimi {
  overflow: hidden;
}
/*.lomake .field-postinumero {
  float: left;
  width: 7em;
  margin-right: 1em;
}
.lomake .field-postitoimipaikka {
  overflow: hidden;
}*/
.lomake .actions {
  padding: 1.5em 0 0 0;
}
.lomake button {
  border-radius: 0;
  appearance: none;
  -ms-appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border: 0;
  clear: both;
  display: block;
  margin: 0 auto;
  font-size: 20px;
  padding: 17px 42px;
  background: #e67800;
  color: #fff;
  cursor: hand;
  cursor: pointer;
}
.lomake button:hover {
  background: #eaa254;
}
.search {
  margin: 0 auto;
  max-width: 500px;
}
.search button {
  display: none;
}
.search form {
  padding: 0 0 1em 0;
  position: relative;
  display: block;
}
.search .search-row {
  margin: 0 0 0.45em 0;
  padding: 0;
  position: relative;
}
.search .search-row select,
.search .search-row input {
  padding-right: 6.5em;
}
.search .search-row button {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  line-height: 1;
  font-size: 19px;
}
@media (max-width: 900px) {
  .listing .listing-items {
    margin: 0 -10px;
  }
  .listing .listing-items > li:nth-child(3n + 1) {
    clear: none;
  }
  .listing .listing-items > li {
    float: left;
    width: 50%;
    padding: 0 10px;
    margin-left: 0;
    margin-right: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .listing .listing-items > li:nth-child(2n + 1) {
    clear: both;
  }
  .listing .listing-items > li {
    padding-bottom: 30px;
  }
}
@media (max-width: 760px) {
  #events-google-map.loaded,
  #events-google-map.loading {
    height: 12em;
  }
  .events-list {
    font-size: 100%;
  }
  #content > h1 {
    text-align: center;
  }
  #content.event > .map-details {
    width: auto;
    float: none;
    margin-right: auto;
    margin-bottom: 1.5em;
  }
  #content.event > .details {
    overflow: hidden;
  }
  #content.event-listing .content > #events-google-map {
    width: auto;
    float: none;
    margin-right: auto;
    margin-bottom: 1.5em;
  }
  #content.event-listing .content > .events-list {
    overflow: hidden;
  }
  .hakemus-view .image,
  .item-dialog .image {
    float: none;
  }
  .hakemus-view .image > .img,
  .item-dialog .image > .img {
    margin: 0 auto;
  }
  .hakemus-view .details,
  .item-dialog .details {
    min-height: 0;
    padding-left: 0;
    padding-bottom: 10px;
  }
  .hakemus-view .info,
  .item-dialog .info {
    padding-left: 0;
  }
  .listing .listing-items > li:nth-child(2n + 1) {
    clear: none;
  }
  .listing .listing-items > li {
    float: none;
    padding-bottom: 30px;
    clear: both;
    width: auto;
  }
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
#page {
  min-height: 100%;
  height: 100%;
  position: relative;
}
#ie6 #page {
  height: 100%;
}
#main {
  padding-bottom: 20px;
}
.admin-bar #top {
  height: 32px;
}
@media (max-width: 782px) {
  .admin-bar #top {
    height: 46px;
  }
}
html #wpadminbar {
  z-index: 20000 !important;
}
/*# sourceMappingURL=style.css.map */