/* Generated by less 2.5.1 */
@charset "UTF-8";
/*
    Created on : 7.10.2016, 11:23:05
    Author     : Mediaporrass
*/
@import url('https://fonts.googleapis.com/css?family=Fira+Sans:300,300i,400,400i,500,500i,600,700,700i');
@font-face {
  font-family: "palkane-icons";
  src: url("/fonts/palkane-icons.eot");
  src: url("/fonts/palkane-icons.eot?#iefix") format("embedded-opentype"), url("/fonts/palkane-icons.woff") format("woff"), url("/fonts/palkane-icons.ttf") format("truetype"), url("/fonts/palkane-icons.svg#palkane-icons") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-Regular.otf') format("opentype");
}
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-Medium.otf') format("opentype");
  font-weight: 500;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-Light.otf') format("opentype");
  font-weight: 300;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-SemiBold.otf') format("opentype");
  font-weight: 600;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-Bold.otf') format("opentype");
  font-weight: 700;
}
[data-icon]:before {
  font-family: "palkane-icons" !important;
  content: attr(data-icon);
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[class^="icon-"]:before,
[class*=" icon-"]:before {
  font-family: "palkane-icons" !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-bars:before {
  content: "\73";
}
.icon-calendar:before {
  content: "\41";
}
.icon-chevron-down:before {
  content: "\74";
}
.icon-facebook:before {
  content: "\63";
}
.icon-minus-circle:before {
  content: "\72";
}
.icon-star:before {
  content: "\79";
}
.icon-like-linear:before {
  content: "\78";
}
.icon-like:before {
  content: "\77";
}
.icon-twitter:before {
  content: "\76";
}
.icon-youtube:before {
  content: "\61";
}
.icon-search:before {
  content: "\75";
}
.icon-arrow-left:before {
  content: "\6f";
}
.icon-arrow-right:before {
  content: "\6c";
}
.icon-arrow-up:before {
  content: "\6e";
}
.icon-arrow-down:before {
  content: "\6d";
}
.icon-down-big:before {
  content: "\68";
}
.icon-down-mini:before {
  content: "\6a";
}
.icon-instagram:before {
  content: "\62";
}
.icon-left-big:before {
  content: "\66";
}
.icon-left-mini:before {
  content: "\67";
}
.icon-up-big:before {
  content: "\69";
}
.icon-up-mini:before {
  content: "\6b";
}
.icon-google-plus:before {
  content: "\7a";
}
.icon-copyright:before {
  content: "\70";
}
.icon-plus-circle:before {
  content: "\71";
}
.icon-right-big:before {
  content: "\65";
}
.icon-right-mini:before {
  content: "\64";
}
.icon-linkedin-square:before {
  content: "\42";
}
.icon-plus:before {
  content: "\43";
}
.icon-minus:before {
  content: "\44";
}
.icon-trash:before {
  content: "\45";
}
.icon-x:before {
  content: "\46";
}
.icon-user:before {
  content: "\47";
}
.icon-logout:before {
  content: "\48";
}
.icon-warning:before {
  content: "\49";
}
/****COMMONSTYLES****/
* {
  font-family: 'Fira Sans', sans-serif;
  word-wrap: break-word;
}
img {
  max-width: 100%;
  height: auto!important;
}
.container {
  padding: 0;
  width: 90%;
}
.no-mobile {
  display: block;
}
.mobile {
  display: none!important;
}
header > .container {
  padding: 0px;
}
img.left,
.main-content img[style*="float:left"],
.main-content img[style*="float: left"] {
  padding: 10px 15px 10px 0px;
  float: left;
}
img.right,
.main-content img[style*="float:right"],
.main-content img[style*="float: right"] {
  padding: 10px 0px 10px 15px;
  float: right;
}
.main-content ul li {
  font-size: 16px;
}
:before,
:after {
  display: inline-block;
}
td {
  vertical-align: top;
}
/*****FRONTPAGE******/
.warning-box {
  background: #c50b0b;
  width: 100%;
  padding: 10px 0;
  position: relative;
  z-index: 1001;
  top: 0;
}
.warning-box .warning {
  color: white;
  float: left;
  -js-display: flex;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
}
.warning-box .warning .icon-warning {
  color: #fdcc44;
  font-size: 20px;
}
.warning-box .warning p {
  margin: 0 10px;
}
.warning-box .warning a {
  color: white;
}
.warning-box .icon-x {
  color: white;
  position: absolute;
  right: 8px;
  top: 9px;
  cursor: pointer;
  font-size: 25px;
}
header.sticky {
  position: fixed;
  width: 100%;
  z-index: 900;
  background: white;
  top: 0;
}
header.sticky .navbar-header {
  height: 65px;
  overflow: hidden;
  margin-top: 0px;
  text-align: center;
}
header.sticky hr {
  top: 57px;
}
header.sticky .last-line {
  display: none;
}
header.sticky .navbar-nav > li {
  padding-bottom: 0px!important;
}
header.sticky .navbar-nav > li:before {
  display: none!important;
}
header.sticky .navi-top .navbar-nav > li.kunta:after,
header.sticky .navi-top .navbar-nav > li.terveys:after,
header.sticky .navi-top .navbar-nav > li.nuoret:after,
header.sticky .navi-top .navbar-nav > li.tyo:after,
header.sticky .navi-top .navbar-nav > li.kasvatus:after,
header.sticky .navi-top .navbar-nav > li.asuminen:after,
header.sticky .navi-top .navbar-nav > li.kulttuuri:after {
  display: none!important;
}
header.sticky .navbar-nav > li a {
  min-height: 77px!important;
}
header {
  position: relative;
}
header .navbar {
  margin-bottom: 0;
  position: initial;
}
header hr {
  position: absolute;
  height: 3px;
  width: 100%;
  left: 0;
  top: 89px;
  border: none;
  background-image: linear-gradient(45deg, #b7b7b8 25%, transparent 25%), linear-gradient(-45deg, #383636 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #b7b7b8 75%), linear-gradient(-45deg, transparent 75%, #b7b7b8 75%);
  -moz-background-size: 2px 2px;
  background-size: 2px 2px;
  -webkit-background-size: 2px 2.1px;
  background-position: 0 0, 1px 0, 1px -1px, 0px 1px;
}
header .navi-top {
  float: right;
}
header .nav.navbar-nav {
  float: left;
  width: 100%;
  /**li:hover .dropdown-menu,
        .dropdown-menu:hover {
            display: block!important;
        }
        li:hover .triangle {
            display: flex;
        }**/
}
header .nav.navbar-nav .triangle,
header .nav.navbar-nav .triangle.open {
  justify-content: center;
}
header .nav.navbar-nav li:focus,
header .nav.navbar-nav li:focus a,
header .nav.navbar-nav a:focus {
  text-decoration: underline!important;
}
header .nav.navbar-nav > li {
  width: 14.2%;
}
header .nav.navbar-nav > li > a {
  min-height: 90px;
  -js-display: flex;
  display: flex;
  align-items: center;
}
header .nav.navbar-nav li > a {
  color: white;
  text-align: center;
  text-transform: uppercase;
}
header .nav.navbar-nav .kunta > a,
header .nav.navbar-nav .kunta .dropdown-menu.multi-column {
  background: #455eb0;
}
header .nav.navbar-nav .terveys > a,
header .nav.navbar-nav .terveys .dropdown-menu.multi-column {
  background: #25ad78;
}
header .nav.navbar-nav .kasvatus > a,
header .nav.navbar-nav .kasvatus .dropdown-menu.multi-column {
  background: #9056a2;
}
header .nav.navbar-nav .nuoret > a,
header .nav.navbar-nav .nuoret .dropdown-menu.multi-column {
  background: #6ecacc;
}
header .nav.navbar-nav .kulttuuri > a,
header .nav.navbar-nav .kulttuuri .dropdown-menu.multi-column {
  background: #efc31b;
}
header .nav.navbar-nav .asuminen > a,
header .nav.navbar-nav .asuminen .dropdown-menu.multi-column {
  background: #f1575c;
}
header .nav.navbar-nav .tyo > a,
header .nav.navbar-nav .tyo .dropdown-menu.multi-column {
  background: #b9b9b4;
}
header .nav.navbar-nav .dropdown-menu.multi-column.open {
  display: block;
}
header .nav.navbar-nav .visit > a {
  background: #a5d141;
}
header .triangle {
  position: relative;
  justify-content: center;
  display: none;
}
header .triangle.open {
  -js-display: flex;
  display: flex;
}
header .triangle:after {
  content: ' ';
  display: block;
  background: transparent;
  width: 0;
  height: 0;
  z-index: 999;
  margin-top: 2px;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  position: absolute;
}
header .kunta .triangle:after {
  border-bottom: 21px solid #455eb0;
}
header .terveys .triangle:after {
  border-bottom: 21px solid #25ad78;
}
header .kasvatus .triangle:after {
  border-bottom: 21px solid #9056a2;
}
header .nuoret .triangle:after {
  border-bottom: 21px solid #6ecacc;
}
header .kulttuuri .triangle:after {
  border-bottom: 21px solid #efc31b;
}
header .asuminen .triangle:after {
  border-bottom: 21px solid #f1575c;
}
header .tyo .triangle:after {
  border-bottom: 21px solid #b9b9b4;
}
header .dropdown-menu.multi-column {
  min-width: 620px;
  padding: 25px 10px 30px;
  border-radius: 0px;
  border: none;
  list-style-type: none;
}
header .dropdown-menu.multi-column ul {
  padding: 0;
  list-style-type: none;
  display: inline-block;
  vertical-align: text-top;
  width: 49%;
}
header .dropdown-menu.multi-column li:hover > a,
header .dropdown-menu.multi-column li a:focus {
  background: transparent;
  text-decoration: underline;
}
header .dropdown-menu.multi-column li > a {
  text-transform: none!important;
  min-height: 0!important;
  text-align: left;
  display: inline;
}
header .dropdown-menu.multi-column li:hover {
  background: transparent;
}
header .dropdown-menu.multi-column li:before {
  content: '\64';
  font-family: 'palkane-icons';
  color: white;
  vertical-align: middle;
  display: inline;
  margin-left: 10px;
}
header .dropdown-menu.multi-column li.fav-title {
  color: white;
  font-family: 'Montserrat';
  font-size: 18px;
  padding-bottom: 10px;
  padding-left: 23px;
  border-left: solid rgba(255, 255, 255, 0.16) 1px;
}
header .dropdown-menu.multi-column li.fav-title:before {
  display: none;
}
header .dropdown-menu.multi-column li.fav {
  padding: 0;
  -js-display: flex;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  border-left: solid rgba(255, 255, 255, 0.16) 1px;
}
header .dropdown-menu.multi-column li.fav a {
  font-size: 15px;
  font-weight: bold;
}
header .dropdown-menu.multi-column li.fav:before {
  margin-left: 20px;
}
header .navbar-collapse {
  float: right;
}
header div#second-nav li {
  float: left;
}
header .second-nav {
  float: right;
  width: 100%;
}
header .secondary-nav {
  float: left;
}
header .secondary-nav a {
  font-size: 15px;
  font-weight: 600;
  color: black;
  padding: 10px 0;
}
header .secondary-nav li a:focus {
  text-decoration: underline;
}
header .secondary-nav li a:hover,
header .secondary-nav li a:focus {
  background: transparent;
}
header .secondary-nav a:after {
  content: '|';
  font-weight: 500;
  margin: 0 13px;
}
header .options {
  float: right;
  padding-top: 10px;
  font-size: 14px;
}
header .options div {
  float: left;
}
header .options #kontrasti,
header .options #fontsize {
  margin-right: 20px;
}
header .options .big,
header .options .default,
header .options .small {
  line-height: 20px;
  vertical-align: text-bottom;
  margin-right: 5px;
}
header .options .big {
  font-size: 18px;
}
header .options .default {
  font-size: 16px;
}
header .options .small {
  font-size: 14px;
}
header .language {
  float: left;
  padding: 10px;
  display: none;
}
header .language a {
  color: #4d61ae;
  font-weight: bold;
  font-size: 14px;
}
header .mobile-nav {
  display: none;
}
.frontpage header .last-line {
  height: 100%;
  width: 2px;
  display: block;
  right: 0px;
  top: 0;
  position: absolute;
  z-index: 110;
  background-image: -moz-linear-gradient(45deg, #b7b7b8 25%, transparent 25%), -moz-linear-gradient(-45deg, #b7b7b8 25%, transparent 25%), -moz-linear-gradient(45deg, transparent 75%, #b7b7b8 75%), -moz-linear-gradient(-45deg, transparent 75%, #b7b7b8 75%);
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, #b7b7b8), color-stop(0.25, transparent)), -webkit-gradient(linear, 0 0, 100% 100%, color-stop(0.25, #b7b7b8), color-stop(0.25, transparent)), -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.75, transparent), color-stop(0.75, #b7b7b8)), -webkit-gradient(linear, 0 0, 100% 100%, color-stop(0.75, transparent), color-stop(0.75, #b7b7b8));
  background-image: -webkit-linear-gradient(45deg, #b7b7b8 25%, transparent 25%), -webkit-linear-gradient(-45deg, #b7b7b8 25%, transparent 25%), -webkit-linear-gradient(45deg, transparent 75%, #b7b7b8 75%), -webkit-linear-gradient(-45deg, transparent 75%, #b7b7b8 75%);
  background-image: -o-linear-gradient(45deg, #b7b7b8 25%, transparent 25%), -o-linear-gradient(-45deg, #b7b7b8 25%, transparent 25%), -o-linear-gradient(45deg, transparent 75%, #b7b7b8 75%), -o-linear-gradient(-45deg, transparent 75%, #b7b7b8 75%);
  background-image: linear-gradient(45deg, #b7b7b8 25%, transparent 25%), linear-gradient(-45deg, #b7b7b8 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #b7b7b8 75%), linear-gradient(-45deg, transparent 75%, #b7b7b8 75%);
  -moz-background-size: 2px 2px;
  background-size: 2px 2px;
  -webkit-background-size: 2px 2.1px;
  background-position: 0 0, 1px 0, 1px -1px, 0px 1px;
}
.frontpage header nav .navbar-nav > li:before {
  content: ' ';
  height: 100%;
  width: 2px;
  display: block;
  position: absolute;
  z-index: 110;
  background-image: -moz-linear-gradient(45deg, #b7b7b8 25%, transparent 25%), -moz-linear-gradient(-45deg, #b7b7b8 25%, transparent 25%), -moz-linear-gradient(45deg, transparent 75%, #b7b7b8 75%), -moz-linear-gradient(-45deg, transparent 75%, #b7b7b8 75%);
  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, #b7b7b8), color-stop(0.25, transparent)), -webkit-gradient(linear, 0 0, 100% 100%, color-stop(0.25, #b7b7b8), color-stop(0.25, transparent)), -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.75, transparent), color-stop(0.75, #b7b7b8)), -webkit-gradient(linear, 0 0, 100% 100%, color-stop(0.75, transparent), color-stop(0.75, #b7b7b8));
  background-image: -webkit-linear-gradient(45deg, #b7b7b8 25%, transparent 25%), -webkit-linear-gradient(-45deg, #b7b7b8 25%, transparent 25%), -webkit-linear-gradient(45deg, transparent 75%, #b7b7b8 75%), -webkit-linear-gradient(-45deg, transparent 75%, #b7b7b8 75%);
  background-image: -o-linear-gradient(45deg, #b7b7b8 25%, transparent 25%), -o-linear-gradient(-45deg, #b7b7b8 25%, transparent 25%), -o-linear-gradient(45deg, transparent 75%, #b7b7b8 75%), -o-linear-gradient(-45deg, transparent 75%, #b7b7b8 75%);
  background-image: linear-gradient(45deg, #b7b7b8 25%, transparent 25%), linear-gradient(-45deg, #383636 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #b7b7b8 75%), linear-gradient(-45deg, transparent 75%, #b7b7b8 75%);
  -moz-background-size: 2px 2px;
  background-size: 2px 2px;
  -webkit-background-size: 2px 2.1px;
  background-position: 0 0, 1px 0, 1px -1px, 0px 1px;
}
.top-area {
  background: url('../../images/site_images/bg_talvi.jpg') no-repeat;
  background-position: left bottom;
  background-size: cover;
  padding: 20px 0;
}
.top-area .pager {
  padding-left: 0;
  margin: 20px 0;
  text-align: center;
  list-style: none;
  position: absolute;
  bottom: 10%;
  right: 10%;
  z-index: 885;
}
.top-area .pager .cycle-pager-active a {
  background: #4d61ae;
}
.top-area .pager strong a {
  width: 20px;
  display: inline-block;
  height: 20px;
  background: black;
  margin-right: 10px;
  font-size: 12px;
  font-weight: 400;
  color: white;
  padding-top: 3px;
}
.top-area .slide {
  width: 100%;
}
.top-area .slide .slide-text {
  position: absolute;
  width: 99.59%;
  bottom: 0;
  padding: 0px 35px 20px;
  margin: 2px;
  opacity: 0.95;
  background: url('images/slider_pattern.png') right bottom no-repeat, #ededeb;
  background-size: auto 101%;
}
.top-area .slide .slide-text h2 {
  font-family: 'Montserrat', sans-serif;
  max-width: 65%;
  font-size: 28px;
}
.top-area .slide .slide-text p {
  color: #3c3d41;
  max-width: 65%;
}
.top-area .slide .slide-text a {
  font-weight: 600;
  color: #4d61ae;
}
.top-area .slide .slide-text a:after {
  content: '\64';
  font-family: 'palkane-icons';
  vertical-align: middle;
}
.top-area .slide .slide-image {
  background: #fff;
  border-radius: 3px;
  padding: 2px;
  -webkit-box-shadow: 4px 3px 23px 5px rgba(108, 109, 113, 0.3);
  -moz-box-shadow: 4px 3px 23px 5px rgba(108, 109, 113, 0.3);
  box-shadow: 4px 3px 23px 5px rgba(108, 109, 113, 0.3);
  width: 100%;
}
.top-area .slide .slide-image img {
  width: 100%;
}
.top-area .banners > p {
  margin-bottom: 0;
  background: black;
}
.top-area .banners img {
  margin: 0 auto;
  display: block;
}
.top-area .banners img:hover {
  opacity: 0.8;
}
.top-area.talvi,
.main.talvi {
  background: url('../../images/site_images/bg_talvi.jpg') no-repeat;
  background-size: 100% auto;
}
.top-area.kesa,
.main.kesa {
  background: url('../../images/site_images/bg_kesa.jpg') no-repeat;
  background-size: 100% auto;
}
.top-area.kevat,
.main.kevat {
  background: url('../../images/site_images/bg_kevat.jpg') no-repeat;
  background-size: 100% auto;
}
.top-area.syksy,
.main.syksy {
  background: url('../../images/site_images/bg_syksy.jpg') no-repeat;
  background-size: 100% auto;
}
.yt-vids {
  background: white;
  float: left;
  width: 100%;
  padding: 21px 0;
}
.yt-vids .yt-img {
  width: 45%;
  float: left;
}
.yt-vids h3 {
  font-weight: bold;
  margin-top: 0;
  text-transform: uppercase;
  font-size: 14px;
}
.yt-vids ul {
  float: left;
  list-style-type: none;
  padding: 0;
  max-width:55%;
}
.yt-vids li{
	display:table-row;
}
.yt-vids ul li a {
  color: #455eb0;
  display:table-cell;
  padding-left:10px;
}
.yt-vids ul li:before {
  content: '\6c';
  font-family: 'palkane-icons';
  color: #455eb0;
  font-size: 21px;
  vertical-align: middle;
  display:table-cell;
}
.yt-vids ul li:after {
  content: ' ';
  height: 3px;
  width: 100%;
  left: 0;
  display: block;
  top: 129px;
  border: none;
  background-image: linear-gradient(45deg, #000000 25%, transparent 25%), linear-gradient(-45deg, #383636 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #000000 75%), linear-gradient(-45deg, transparent 75%, #000000 75%);
  -moz-background-size: 2px 2px;
  background-size: 2px 2px;
  -webkit-background-size: 2px 2.1px;
  background-position: 0 0, 1px 0, 1px -1px, 0px 1px;
}
.event-area {
  padding: 35px 0;
}
.event-area .events h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 30px;
}
.event-area .events .header {
  -js-display: flex;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}
.event-area .events .readall {
  color: #f1575c;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  display: block;
  font-size: 16px;
}
.event-area .events .readall:after {
  content: '\64';
  font-family: "palkane-icons";
  color: #f1575c;
  vertical-align: middle;
}
.event-area .events .event-block.title {
  background: black;
  padding-top: 27px;
}
.event-area .events .event-block.title h2 {
  color: white;
  font-size: 25px;
  font-weight: 500;
}
.event-area .events .event-block.title a {
  color: white;
  font-size: 16px;
  display: block;
}
.event-area .events .event-block.title a:before {
  content: '\64';
  font-family: 'palkane-icons';
  vertical-align: middle;
}
.event-area .events .event-block.img {
  padding: 0;
  overflow: hidden;
  max-height: 218px;
}
.event-area .events .event-block.img img {
  height: auto;
  width: 100%;
  max-width: none;
}
.event-area .events .event-block {
  background: #858586;
  width: 49%;
  min-height: 218px;
  float: left;
  padding: 0px 25px;
  margin: 2px;
}
.event-area .events .event-block .date {
  color: #cbcbcb;
  font-weight: 300;
  font-style: italic;
  float: right;
  margin-top: 10px;
  margin-bottom: 20px;
  width: 100%;
  text-align: right;
}
.event-area .events .event-block p {
  color: white;
  font-weight: 300;
  font-size: 13px;
  margin-bottom: 16px;
}
.event-area .events .event-block h3 {
  color: white;
  font-size: 18px;
  font-weight: 400;
  display: block;
  width: 100%;
  word-wrap: normal;
  text-overflow: ellipsis;
  overflow: hidden;
}
.event-area .events .event-block .readmore-btn {
  background: #f1575c;
  color: white;
  -js-display: flex;
  display: flex;
  padding: 4px 10px;
  width: 130px;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}
.event-area .events .event-block .readmore-btn:hover {
  text-decoration: none;
}
.event-area .events .event-block .readmore-btn:after {
  content: '\64';
  color: white;
  font-family: "palkane-icons";
}
.notifications {
  padding: 0 10px;
  float: left;
}
.notifications .col-md-12 {
  padding: 0;
  float: none;
}
.notifications .col-md-12 a {
  color: #455eb0;
  float: right;
  font-size: 16px;
  margin-top: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}
.notifications .col-md-12 h1 {
  float: left;
}
.notifications h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 28px;
  text-transform: uppercase;
}
.notifications .read-all:after {
  content: '\64';
  font-family: 'palkane-icons';
  font-size: 16px;
  vertical-align: middle;
  color: #455eb0;
}
.notifications .noti-block:hover {
  background: #f5f3f3;
}
.notifications .noti-block:hover i {
  background: #6a81cd;
}
.notifications .noti-block {
  float: left;
  width: 100%;
  -js-display: flex;
  display: flex;
  align-items: center;
  max-height: 90px;
  overflow: hidden;
  justify-content: space-between;
  border-bottom: #e6e5e3 solid 1px;
}
.notifications .noti-block p {
  margin: 20px 0;
  color: #3c3d41;
  font-size: 14px;
  max-width: 80%;
  padding-left: 10px;
}
.notifications .noti-block p strong {
  font-size: 18px;
  font-weight: 400;
  color: #455eb0;
}
.notifications .noti-block i {
  width: 20%;
  background: #455eb0;
  text-align: center;
  font-size: 30px;
  -js-display: flex;
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  color: white;
}
.service-info {
  background: url(images/pattern_blue1.png) top left, url(images/pattern_blue2.png) bottom right, #4d61ae;
  background-repeat: no-repeat;
  background-size: contain;
  padding: 25px 0;
}
.service-info h1 {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  color: #c5d6e8;
  font-size: 28px;
}
.service-info a {
  color: #c5d6e8;
  font-weight: 500;
  order: 3;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
}
.service-info p {
  font-size: 16px;
  color: white;
  font-weight: 300;
  margin-bottom: 15px;
}
.service-info h3 {
  font-size: 18px;
  color: white;
  font-weight: bold;
  margin-bottom: 17px;
}
.service-info .service-header {
  -js-display: flex;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.service-info .row > div {
  min-height: 212px;
}
.search-result {
  border-bottom: 1px #b9b9b4 solid;
  padding: 10px 0;
}
.search-form-not-compact form {
  background: transparent!important;
}
.search-form-not-compact input[type="text"] {
  width: 78%!important;
}
.some-news {
  background: url('images/pattern_grey.jpg');
  padding-bottom: 60px;
  max-width: 100%;
  overflow: hidden;
}
.some-news .some-header {
  background: white;
  margin-bottom: 30px;
  padding-top: 10px;
  padding-bottom: 20px;
  border-bottom: #e5e5e5 solid 1px;
}
.some-news .some-header .pull-right > a {
  font-size: 16px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  margin-top: 20px;
  display: block;
  color: #455eb0;
}
.some-news .some-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  text-transform: uppercase;
  float: left;
}
.some-news .some-header ul {
  margin-left: 60px;
  float: left;
  margin-top: 15px;
}
.some-news .some-header ul li a {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #3c3d41;
  font-weight: 500;
  padding: 5px 0;
  margin-right: 45px;
  text-transform: uppercase;
}
.some-news .some-header ul li a:hover {
  background: transparent;
}
.some-news .some-header ul li.active {
  background: transparent;
}
.some-news .some-header ul li.active a {
  color: #455eb0;
  background: transparent;
  border-bottom: #ededeb solid 4px;
  border-radius: 0;
}
.some-news .tab-pane {
  width: 100%!important;
}
.some-news .article-sizer {
  width: 21%;
}
.some-news #news-pane,
.some-news #facebook-pane,
.some-news #instagram-pane {
  position: relative;
  width: 100%;
}
.some-news .read-all {
  position: relative;
  bottom: 0;
  text-align: center;
}
.some-news .read-all a {
  background: #f1575c;
  color: white;
  font-weight: 300;
  font-size: 28px;
  padding: 10px 25px;
  font-family: 'Montserrat', sans-serif;
  padding: 15px 50px;
}
.some-news .read-all a:after {
  content: '\6c';
  font-family: 'palkane-icons';
  vertical-align: middle;
}
.some-news #facebook .article img {
  margin-bottom: 10px;
}
.some-news #news,
.some-news #facebook,
.some-news #instagram {
  width: 100%!important;
}
.some-news #news .article,
.some-news #facebook .article,
.some-news #instagram .article {
  margin: 0 auto;
  width: 23.5%;
  background: white;
  padding: 20px 15px;
  border-bottom: 6px #d9dadf solid;
  margin-bottom: 30px;
}
.some-news #news .article h3,
.some-news #facebook .article h3,
.some-news #instagram .article h3 {
  color: #3c3d41;
  font-size: 18px;
  font-weight: 600;
}
.some-news #news .article img,
.some-news #facebook .article img,
.some-news #instagram .article img {
  height: 198px;
  width: 100%;
}
.some-news #news .article .date,
.some-news #facebook .article .date,
.some-news #instagram .article .date {
  font-style: italic;
  color: #455eb0;
  font-size: 15px;
  font-weight: 400;
}
.some-news #news .article p,
.some-news #facebook .article p,
.some-news #instagram .article p {
  color: #3c3d41;
  font-size: 15px;
  font-weight: 400;
}
.some-news #news .article a,
.some-news #facebook .article a,
.some-news #instagram .article a {
  color: #3c3d41;
  font-weight: 600;
  font-size: 14px;
}
.some-news #news .article a:after,
.some-news #facebook .article a:after,
.some-news #instagram .article a:after {
  content: '\64';
  font-family: 'palkane-icons';
  vertical-align: middle;
}
.main-picture:not(.no-table) table {
  border: 1px solid #455eb0;
}
.main-picture:not(.no-table) thead {
  background: #455eb0;
  color: white;
}
.main-picture:not(.no-table) thead span {
  color: white;
}
.main-picture:not(.no-table) td,
.main-picture:not(.no-table) th {
  padding: 7px 5px;
  border-bottom: #455eb0 solid 1px;
  min-width: 120px;
}
footer {
  background: #455eb0;
}
footer .some {
  width: 100%;
  float: left;
  margin-top: 15px;
  margin-bottom: 45px;
}
footer .some a {
  color: #c5d6e8;
  font-size: 20px;
  margin-right: 13px;
}
footer .footer-header {
  color: white;
  -js-display: flex;
  display: flex;
  justify-content: space-between;
  font-weight: 300;
}
footer .footer-header > .container {
  padding: 30px 0;
  border-bottom: 1px solid #c5d6e8;
}
footer .footer-header img {
  width: auto;
  float: left;
  max-width: 58%;
}
footer .footer-header p {
  float: left;
  width: 39%;
}
footer .footer-list {
  display: inline-block;
  vertical-align: top;
  width: 12%;
  margin-left: 25px;
}
footer .footer-list h3 {
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 16px;
  min-height: 32px;
  white-space: pre;
  margin: 30px 0;
}
footer .footer-list ul {
  padding: 0px;
  list-style-type: none;
}
footer .footer-list ul li {
  padding: 4px 0;
}
footer .footer-list ul li a {
  color: white;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4em;
}
footer .footer-list:nth-child(1) {
  /** margin-left: 0px;**/
}
footer .footer-bottom {
  background: #374889;
  padding: 20px 0;
}
footer .footer-bottom span {
  color: #6276c2;
  float: left;
  font-size: 12px;
}
footer .footer-bottom a {
  float: right;
}
/**FORMIT***/
.search-btn {
  background: black;
  color: white;
  border: none;
  float: left;
  font-size: 17px;
  height: 40px;
  padding: 7px 14px 0;
}
.search-form {
  float: left;
  margin-top: 2px;
}
.search-form input[type="text"] {
  border: none;
  background: #ededeb;
  padding: 10px;
  min-width: 209px;
}
.search-form ::-webkit-input-placeholder {
  color: black;
  font-style: italic;
}
.search-form ::-moz-placeholder {
  color: black;
  font-style: italic;
}
.search-form :-ms-input-placeholder {
  color: black;
  font-style: italic;
}
.search-form :-moz-placeholder {
  color: black;
  font-style: italic;
}
#instagram .article a:after {
  content: ' ' !important;
}
#instagram .article img:hover {
  opacity: 0.8;
  transition: all 0.4s ease-in;
}
#instagram .article > a {
  position: relative;
  height: 100%;
  display: block;
  background: black;
}
#instagram .article p {
  margin-top: 10px;
}
#instagram .article p a {
  font-weight: 400!important;
}
/***RESPOT***/
@media (min-width: 1200px) {
  .container {
    width: 1350px;
    max-width: 98%;
  }
  .side-bar {
    padding-left: 0;
    padding-right: 30px;
  }
  .main > .container {
    padding-bottom: 145px;
  }
  header:after {
    content: ' ';
    position: absolute;
    height: 2px;
    width: 100%;
    left: 0;
    margin-top: -1px;
    border: none;
    background-image: linear-gradient(45deg, #b7b7b8 25%, transparent 25%), linear-gradient(-45deg, #383636 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #b7b7b8 75%), linear-gradient(-45deg, transparent 75%, #b7b7b8 75%);
    -moz-background-size: 2px 2px;
    background-size: 2px 2px;
    -webkit-background-size: 2px 2.1px;
    background-position: 0 0, 1px 0, 1px -1px, 0px 1px;
  }
  .magz {
    column-count: 3!important;
    column-gap: 0;
  }
  header .triangle:after {
    margin-top: 15px;
  }
  header .navbar-header {
    max-width: 20%;
    margin-top: 0px;
    margin-right: 13px;
  }
  header .navbar-header > a {
    width: auto;
  }
  header .event-block {
    width: 24.5%;
  }
  header .navi-top {
    width: 80%;
  }
  header .navi-top .navbar-nav {
    width: 100%;
    margin-top: -1px;
  }
  header .navi-top .navbar-nav > li {
    width: 14.27%;
    padding-bottom: 0px;
  }
  header .navi-top .navbar-nav > li > a {
    min-height: 109px;
    -js-display: flex;
    display: flex;
    padding-left: 17px;
    padding-right: 17px;
    justify-content: center;
    align-items: center;
    padding-bottom: 6px;
    white-space: pre;
  }
  .english header .navi-top .navbar-nav > li > a {
      white-space: unset;
  }
  header .secondary-nav {
    margin-left: 1%;
  }
  header .search-form input[type="text"] {
    min-width: 198px;
  }
  header .second-nav {
    display: flex;
    justify-content: space-between;
  }
  header.sticky .navbar-header {
    width: 18%;
  }
  header.sticky hr {
    top: 56px!important;
  }
  .frontpage header .navbar-header {
    margin-top: 17px;
  }
  .frontpage header hr {
    top: 127px;
  }
  .frontpage header .navi-top .navbar-nav > li {
    padding-bottom: 15px;
  }
  .frontpage header .navi-top .navbar-nav > li a {
    min-height: 112px;
  }
  .frontpage header .navi-top .navbar-nav > li.kunta:after {
    content: ' ';
    display: block;
    width: 100%;
    bottom: 0;
    top: 134px;
    border-top: 21px solid #455eb0;
    border-right: 152px solid transparent;
  }
  .frontpage header .navi-top .navbar-nav > li.terveys:after {
    content: ' ';
    display: block;
    width: 100%;
    bottom: 0;
    top: 134px;
    border-top: 21px solid #25ad78;
    border-right: 152px solid transparent;
  }
  .frontpage header .navi-top .navbar-nav > li.kasvatus:after {
    content: ' ';
    display: block;
    width: 100%;
    bottom: 0;
    top: 134px;
    border-top: 21px solid #9056a2;
    border-right: 152px solid transparent;
  }
  .frontpage header .navi-top .navbar-nav > li.nuoret:after {
    content: ' ';
    display: block;
    width: 100%;
    bottom: 0;
    top: 134px;
    border-top: 21px solid #6ecacc;
    border-right: 152px solid transparent;
  }
  .frontpage header .navi-top .navbar-nav > li.kulttuuri:after {
    content: ' ';
    display: block;
    width: 100%;
    bottom: 0;
    top: 134px;
    border-top: 21px solid #efc31b;
    border-right: 152px solid transparent;
  }
  .frontpage header .navi-top .navbar-nav > li.asuminen:after {
    content: ' ';
    display: block;
    width: 100%;
    bottom: 0;
    top: 134px;
    border-top: 21px solid #f1575c;
    border-right: 152px solid transparent;
  }
  .frontpage header .navi-top .navbar-nav > li.tyo:after {
    content: ' ';
    display: block;
    width: 100%;
    bottom: 0;
    top: 134px;
    border-top: 21px solid #b9b9b4;
    border-right: 152px solid transparent;
  }
  .frontpage header.sticky .navbar-header {
    margin-top: 0px;
  }
  .event-area .events .event-block {
    width: 24.5%;
  }
  .event-area .events .event-block.img img {
    height: 100%!important;
    width: auto!important;
  }
  .some-news #news .article,
  .article-sizer,
  #facebook .article,
  #instagram .article {
    width: 21%;
  }
  .service-info .service-header:after {
    content: ' ';
    width: 50%;
    height: 1px;
    order: 2;
    background: #c5d6e8;
    display: block;
  }
  header.sticky .triangle:after {
    margin-top: 0px;
  }
  footer .footer-header .col-md-4 img {
    margin-right: 20px;
  }
  footer .footer-list {
    margin-left: 35px;
  }
  footer .footer-list:nth-child(1) {
    margin-left: 0px;
  }
}
@media (max-width: 1300px) {
  header .navbar-header {
    margin-right: 0;
  }
  header .secondary-nav a:after {
    margin: 0 7px;
  }
  header.frontpage .navi-top .navbar-nav > li:after {
    border-right: 145px solid transparent;
  }
}
@media (min-width: 1301px) {
  header .secondary-nav {
    margin-left: 1%;
  }
  header .search-form input[type="text"] {
    min-width: 224px;
  }
}
.side-bar > a {
  display: flex;
  justify-content: center;
}
.side-bar > a > img {
  margin-top: 25px;
}
@media (max-width: 1000px) {
  .events-area {
    padding: 0 0 35px 0;
  }
  .lib .img-area {
    width: 100%;
  }
  .lib .img-area img {
    width: 100%!important;
  }
  .lib .text-area {
    margin-left: 0!important;
    width: 100%!important;
  }
  .notifications .noti-block i {
    width: 12%;
  }
  .yt-vids {
    background: black;
    padding: 0;
    margin-top: 15px;
  }
}
@media (max-width: 767px) {
  table.stacktable.large-only {
    display: none;
  }
  .container {
    width: 100%;
  }
  .no-mobile {
    display: none!important;
  }
  .mobile {
    display: block!important;
  }
  .main {
    margin-top: 65px;
  }
  .main > .container {
    padding: 16px 10px 60px;
  }
  header {
    position: fixed;
    width: 100%;
    top: 0;
    box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.33);
    z-index: 1000;
    background-color: white;
    /**.navi-top .navbar-nav  li:hover .dropdown-menu {
            display: none!important;
        }**/
  }
  header > .container {
    padding: 0;
  }
  header .navbar-toggle {
    color: black;
    float: right;
    text-align: left;
    line-height: 1.2em;
    padding: 23px 7px 5px 15px;
    margin: 0 20px 0;
  }
  header .navbar-toggle i {
    font-size: 30px;
    float: right;
    margin-right: 10px;
  }
  header .navbar-header {
    text-align: center;
    max-width: 170px;
    margin-left: 5px;
    float: left;
  }
  header .nav.navbar-nav {
    margin: 7.5px 2px;
    max-width: 100%;
  }
  header .nav.navbar-nav .kunta > a,
  header .nav.navbar-nav .kunta .dropdown-menu.multi-column {
    background: transparent;
    border-left: #455eb0 solid 15px;
  }
  header .nav.navbar-nav .terveys > a,
  header .nav.navbar-nav .terveys .dropdown-menu.multi-column {
    background: transparent;
    border-left: #25ad78 solid 15px;
  }
  header .nav.navbar-nav .kasvatus > a,
  header .nav.navbar-nav .kasvatus .dropdown-menu.multi-column {
    background: transparent;
    border-left: #9056a2 solid 15px;
  }
  header .nav.navbar-nav .nuoret > a,
  header .nav.navbar-nav .nuoret .dropdown-menu.multi-column {
    background: transparent;
    border-left: #6ecacc solid 15px;
  }
  header .nav.navbar-nav .kulttuuri > a,
  header .nav.navbar-nav .kulttuuri .dropdown-menu.multi-column {
    background: transparent;
    border-left: #efc31b solid 15px;
  }
  header .nav.navbar-nav .asuminen > a,
  header .nav.navbar-nav .asuminen .dropdown-menu.multi-column {
    background: transparent;
    border-left: #f1575c solid 15px;
  }
  header .nav.navbar-nav .tyo > a,
  header .nav.navbar-nav .tyo .dropdown-menu.multi-column {
    background: transparent;
    border-left: #b9b9b4 solid 15px;
  }
  header .nav.navbar-nav .visit > a {
    background: transparent;
    border-left: #a5d141 solid 15px;
  }
  header .nav.navbar-nav > li {
    width: 100%;
    float: left;
    font-size: 14px;
    padding: 2px;
  }
  header .nav.navbar-nav > li > a {
    min-height: 0;
    display: block;
    color: black;
    font-weight: 500;
    justify-content: center;
    background: none!important;
    font-size: 14px;
    text-align: left;
    padding: 12px 12px;
    line-height: 1.2em;
    -webkit-box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.33);
    -moz-box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.33);
    box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.33);
  }
  header .nav.navbar-nav > li .visit {
    float: left;
  }
  header .dropdown-menu.multi-column {
    min-width: 0!important;
    width: 100%;
    position: relative!important;
    padding: 15px 0px 15px!important;
  }
  header .dropdown-menu.multi-column ul {
    width: 100%;
    padding-left: 15px;
  }
  header .dropdown-menu.multi-column li:before {
    display: none!important;
  }
  header .dropdown-menu.multi-column li.fav-title {
    color: black;
    padding-left: 0;
  }
  header .dropdown-menu.multi-column li {
    padding: 5px 0;
  }
  header .dropdown-menu.multi-column li a {
    color: black!important;
  }
  header .navbar .navbar-collapse {
    background: white;
    float: left;
    position: relative;
    z-index: 100;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    color: white;
    padding-right: 10px;
    padding-left: 10px;
    box-shadow: none;
  }
  .second-nav {
    width: 100%;
    background: black;
    padding: 0px 15px;
    display: none;
    float: left;
  }
  .second-nav.open {
    display: block;
  }
  button.mobile.dropdown-toggle {
    background: black;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    text-align: left;
    width: 100%;
    padding: 10px 10px 4px 10px;
  }
  button.mobile.dropdown-toggle i {
    float: right;
    font-size: 20px;
    margin-right: 10px;
  }
  .secondary-nav {
    float: left;
    width: 100%;
  }
  .secondary-nav a {
    color: white!important;
  }
  .secondary-nav a:after {
    content: '' !important;
  }
  .secondary-nav li {
    float: none!important;
    width: 100%;
  }
  .triangle {
    display: none!important;
  }
  .options {
    float: left;
    width: 100%;
    padding: 0;
  }
  .language {
    float: left;
    width: 100%;
    padding: 0;
  }
  .language a {
    color: white!important;
  }
  .search-form.margin {
    margin-top: -38px;
  }
  .search-form {
    position: relative;
    padding: 0px;
    width: 100%;
    float: left;
    margin-top: 5px;
  }
  .search-form .search-btn {
    right: 5px;
    position: absolute;
  }
  .search-form input[type="text"] {
    border: none;
    height: 40px;
    font-size: 14px;
    background: black;
    color: white;
    padding: 0 10px;
    font-weight: bold;
    text-transform: uppercase;
    float: left;
    width: 100%;
  }
  .search-form ::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color: white;
    font-style: normal;
  }
  .search-form :-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: white;
    font-style: normal;
  }
  .search-form ::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: white;
    font-style: normal;
  }
  .search-form :-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: white;
    font-style: normal;
  }
  .navbar-header {
    background-color: white;
  }
  .service-info {
    background: url('images/pattern_blue1.png') no-repeat, #455eb0;
    text-align: center;
  }
  .service-info .service-header {
    display: block;
  }
  .service-info .service-header:after {
    display: none;
  }
  .service-info h1 {
    font-size: 28px;
  }
  .service-info a {
    font-size: 16px;
  }
  .service-info i {
    vertical-align: text-top;
  }
  .top-area {
    background: #fff;
    margin-top: 75px;
  }
  .top-area .slider {
    padding: 0 10px 20px;
  }
  .top-area .pager {
    display: none;
  }
  .top-area .slide .slide-text {
    position: relative;
    padding: 10px;
  }
  .top-area .slide .slide-text h2 {
    font-size: 30px;
    max-width: 100%;
  }
  .top-area .slide .slide-text p {
    font-size: 16px;
    max-width: 100%;
  }
  .top-area .slide .slide-text a {
    font-size: 16px;
  }
  .banners {
    padding: 20px 15px;
  }
  .event-area .events {
    padding: 20px 15px;
    float: left;
    background: #ededeb;
  }
  .event-area .events h1 {
    font-size: 22px;
  }
  .event-area .events .readall {
    font-size: 16px;
  }
  .event-area .events .event-block {
    width: 100%;
    -js-display: flex;
    display: flex;
    justify-content: space-between;
    align-content: center;
    margin-bottom: 3px;
    padding: 0;
    min-height: 0;
  }
  .event-area .events .event-block .date {
    width: 15%;
    background: #6f6f6f;
    font-size: 18px;
    -js-display: flex;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
  }
  .event-area .events .event-block h3 {
    width: 69%;
    background: #858586;
    margin: 0;
    font-size: 18px;
    padding: 15px 25px;
  }
  .event-area .events .event-block .readmore-btn {
    width: 15%;
  }
  .notifications h1 {
    font-size: 22px;
  }
  .notifications a {
    font-size: 16px;
    float: left;
    width: 100%;
  }
  .notifications .col-md-12 a {
    width: auto;
  }
  .notifications .noti-block {
    max-height: 120px;
  }
  .notifications .noti-block i {
    width: 17%;
  }
  .some-news .some-header {
    background: transparent;
    margin: 0;
    border-bottom: none;
    padding: 15px 15px 0;
  }
  .some-news #news .article,
  .some-news #facebook .article,
  .some-news #instagram .article {
    width: 100%;
    background: transparent;
    border-bottom: none;
    margin: 0;
    padding-top: 0;
  }
  .some-news #news .article .article-image,
  .some-news #facebook .article .article-image,
  .some-news #instagram .article .article-image {
    display: none;
  }
  .some-news #news .article-text p,
  .some-news #facebook .article-text p,
  .some-news #instagram .article-text p {
    display: none;
    word-wrap: break-word;
  }
  .some-news #news .article-text > a,
  .some-news #facebook .article-text > a,
  .some-news #instagram .article-text > a {
    display: none;
  }
  footer {
    overflow: hidden;
    -js-display: flex;
    display: flex;
    position: relative;
    flex-direction: column;
  }
  footer .footer-header {
    order: 2;
    flex-direction: column;
  }
  footer .footer-header .container {
    border-bottom: none;
  }
  footer .footer-header p {
    width: 50%;
  }
  footer .footer-header img {
    width: 215px;
    margin-bottom: 25px;
  }
  footer .footer-bottom {
    order: 3;
  }
  footer .footer-list {
    width: 100%;
    margin-left: 0;
    padding: 0 15px;
  }
  footer .footer-list h3 {
    font-size: 16px;
    min-height: 0;
    cursor: pointer;
  }
  footer .footer-list h3 i {
    font-size: 20px;
  }
  footer .footer-list ul {
    display: none;
  }
  footer .footer-list:after {
    content: ' ';
    display: block;
    background: #6276c2;
    width: 105%;
    height: 1px;
    position: absolute;
    left: 0;
    margin-left: -15px;
    right: 0;
    margin-right: 0;
  }
  footer .footer-bottom {
    padding: 0 30px;
  }
  footer .footer-bottom span {
    font-size: 12px;
  }
  footer .footer-bottom a {
    float: right;
  }
  .events-area {
    margin-top: 70px!important;
  }
  .mobile-calendar {
    background: #455eb0;
    color: white;
    margin-top: 20px;
    padding: 10px 15px 5px;
    margin-bottom: 10px;
  }
  .mobile-calendar h2 {
    display: inline-block;
    margin: 0;
    font-size: 18px;
  }
  .mobile-calendar i {
    display: inline-block;
    font-size: 27px;
    vertical-align: middle;
    height: 27px;
    float: right;
  }
  .side-bar > a > img {
    display: none;
  }
  .calendar {
    display: none;
  }
  .mobile-filters {
    margin-top: 10px;
    margin-bottom: 25px;
    background: #f1575c;
    color: white;
    padding: 10px 15px 10px 15px;
  }
  .mobile-filters h2 {
    margin: 0;
    display: inline-block;
    font-size: 18px;
  }
  .mobile-filters i {
    float: right;
    display: inline-block;
    font-size: 27px;
    height: 27px;
  }
}
@media (max-width: 480px) {
  header .navbar-toggle {
    margin-bottom: 5px;
  }
  header .navbar-collapse {
    color: white;
  }
  header .navbar-collapse a {
    color: white;
  }
  header .search-form,
  header .links-toggle,
  header .second-nav {
    width: 98%!important;
  }
  .main-content .no-table table td {
    display: block;
  }
  .event-area .events .event-block {
    margin-bottom: 5px;
    display: block;
  }
  .event-area .events .event-block .date {
    width: 100%;
    margin-bottom: 2px;
  }
  .event-area .events .event-block h3 {
    width: 100%;
    margin-bottom: 2px;
  }
  .event-area .events .event-block .readmore-btn {
    width: 100%;
  }
  .search-form input[type="text"] {
    width: 100%;
  }
  .search-form button {
    top: 0px;
  }
  .notifications .noti-block i {
    font-size: 21px;
  }
  .event-search span {
    display: block;
  }
  .event-search .fields input[type="submit"] {
    margin-top: 5px;
    width: 98%;
    display: block;
  }
  .some-news .some-header .pull-right {
    width: 100%;
  }
  .some-news .some-header .pull-right a {
    margin: 0;
  }
}
@media (min-width: 768px) {
  .navi-top.navbar-collapse {
    padding: 0!important;
  }
  .pick-ups .pick-up {
    min-height: 250px;
  }
}
@media (min-width: 991px) {
  .banners p {
    width: 100%!important;
  }
  header .nav.navbar-nav > li:hover .multi-column {
    display: block;
  }
  header .nav.navbar-nav > li:hover .triangle {
    -js-display: flex;
    display: flex;
  }
}
@media (max-width: 990px) {
  .top-area > .container {
    -js-display: flex;
    display: flex;
    flex-direction: column-reverse;
  }
  .main-content .basic-button {
    margin-top: 20px;
  }
  .some-news #news .article,
  .some-news #facebook .article,
  .some-news #instagram .article {
    width: 44%;
  }
  footer .footer-header img {
    max-width: 55%;
  }
  footer .footer-header .container > div:nth-child(1) {
    margin-bottom: 10px;
  }
}
/****FONTSIZE JA KONTRASTI****/
#kontrasti {
  cursor: pointer;
}
.kontrasti header.sticky .navi-top .navbar-nav > li > a {
  border-right: white dotted 1px;
}
.kontrasti header .navi-top .navbar-nav > li > a {
  background: #3c3d41;
}
.kontrasti header .navi-top .navbar-nav > li:after {
  border-top-color: #3c3d41 !important;
}
.kontrasti header .navi-top .navbar-nav .triangle:after {
  border-bottom-color: #3c3d41;
}
.kontrasti header .navi-top .navbar-nav .dropdown-menu.multi-column {
  background: #3c3d41;
}
.kontrasti .top-area .slide-text {
  background-color: white;
}
.kontrasti .top-area .banners img {
  -webkit-filter: grayscale(100%);
  /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}
.kontrasti .event-area .events .event-block .readmore-btn {
  background: black;
}
.kontrasti .event-area .notifications .noti-block i {
  background: black;
}
.kontrasti .service-info {
  background: #3c3d41;
}
.kontrasti .some-news .read-all a {
  background: black!important;
}
.kontrasti footer {
  background: #3c3d41;
}
.kontrasti footer .footer-bottom {
  background: black;
}
#fontsize > div {
  cursor: pointer;
}
#kontrasti.active {
  border-bottom: #b9b9b4 ridge 2px;
}
#fontsize > div.active {
  border-bottom: #b9b9b4 ridge 2px;
}
.main-content h1 {
  font-size: 30px;
  font-family: 'Montserrat', sans-serif;
  margin-top: 0;
  font-weight: 500;
}
.main-content h3 {
  font-size: 18px;
  font-weight: 600;
}
.main-content h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}
.main-content p {
  font-size: 16px;
  line-height: 1.6em;
  margin-bottom: 21px;
}
.main-content a {
  color: #455eb0;
  font-weight: 500;
}
.main-content .no-table table {
  margin-top: 40px;
}
.main-content .no-table table td {
  padding-right: 80px;
}
.main-picture {
  padding: 0;
  margin-bottom: 24px;
}
.main-picture #map {
  width: 100%;
  height: 374px;
  position: relative;
  overflow: hidden;
}
.contact-info .large-slot {
  padding-left: 0;
}
.contact-info .small-slot {
  padding-right: 0;
  margin-top: 60px;
  padding-left: 30px;
}
.main > .container {
  background: white;
  padding: 15px 25px 60px;
}
.pick-ups a {
  color: #3c3d41;
}
.pick-ups h2 {
  font-weight: bold;
  margin-bottom: 30px;
}
.pick-ups img {
  border-bottom: 8px solid #455eb0;
  width: 100%!important;
}
.pick-ups h3 {
  text-align: center;
  font-weight: 500;
  margin-bottom: 0;
  margin-top: 10px;
}
.pick-ups h3:after {
  content: '\64';
  font-family: 'palkane-icons';
  vertical-align: middle;
}
.pick-ups .overlay {
  position: absolute;
  top: 0;
  background: #455eb0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.4s ease-in;
}
.pick-ups .pick-up {
  margin-bottom: 25px;
  padding: 0 8px;
}
.pick-ups .pick-up:hover .overlay {
  opacity: 0.8;
}
.pick-ups .image-area {
  position: relative;
}
.main-content h1:after {
  content: ' ';
  height: 4px;
  margin-top: 15px;
  margin-bottom: 25px;
  background: white;
  display: block;
  width: 100%;
  border-top: 1px solid #7f7f7f;
  border-bottom: 2px ridge #b7b7b7;
}
.menu-button i:before {
  font-size: 30px;
}
.touch-button.active i:before {
  content: '\6a';
}
.side-nav h2 {
  color: white;
  background: black;
  margin: 0;
  font-weight: 500;
  padding: 15px 25px;
}
.side-nav > li:nth-child(1) a {
  padding: 0;
}
.side-nav > li > a {
  font-size: 16px;
  color: #1e1f21;
  font-weight: 500;
  padding: 15px 25px;
}
.side-nav li ul li a {
  color: #1e1f21;
}
.side-nav li ul li a:before {
  content: '\64';
  font-family: 'palkane-icons';
  vertical-align: middle;
  color: #1e1f21;
}
.contacts {
  margin-top: 50px;
}
.contacts h2 {
  font-weight: bold;
}
.contacts .contact {
  margin-top: 20px;
  padding: 0;
}
.contacts .contact-img-area {
  float: left;
}
.contacts .contact-text-area {
  float: left;
  margin-left: 25px;
  margin-top: 10px;
  display: block;
  width: 50%;
  word-wrap: break-word;
}
.contacts .contact-text-area:after {
  content: ' ';
  display: block;
  height: 1%;
  bottom: 0;
  width: 50%;
  position: absolute;
  border-bottom: #9b9b9d 1px solid;
}
.breadcrumb {
  background: transparent;
  padding: 0;
}
.breadcrumb ul {
  padding: 0;
  margin: 0;
}
.breadcrumb ul li {
  font-weight: 400;
  display: inline-block;
}
.breadcrumb ul li a {
  color: black;
  font-weight: 400;
}
.breadcrumb ul li:after {
  content: '\64';
  font-family: 'palkane-icons';
  vertical-align: middle;
}
.breadcrumb ul li:last-child:after {
  content: '';
}
.event-list .notice {
  color: #939393;
  font-style: italic;
  margin-top: 10px;
  display: block;
  float: left;
}
.event-list .event-item {
  float: left;
  width: 100%;
  display: none;
  border-bottom: 1px solid #b9b9b4;
  padding: 15px 0;
}
.event-list .event-item .text {
  float: left;
  max-width: 70%;
}
.event-list .event-item span.date {
  color: #1e1f21;
  font-size: 16px;
  display: block;
  margin-bottom: 25px;
}
.event-list .event-item h2 a {
  margin-top: 10px;
  color: #f1575c;
  font-weight: bold;
  font-size: 26px;
}
.event-list .event-item h2 i {
  color: #efc31b;
  vertical-align: middle;
}
.event-list .event-item h2.canceled a {
  text-decoration: line-through;
}
.event-list .event-item h2.canceled small {
  color: red;
  font-size: 15px;
  text-transform: uppercase;
}
.event-list .event-item h4 {
  font-size: 16px;
}
.event-list .event-item .event-categories {
  list-style-type: none;
  float: right;
}
.event-list .event-item .event-categories li {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #757575;
  font-weight: 300;
}
.event-list .other-dates {
  margin-bottom: 20px;
}
.event-list .other-dates ul {
  padding: 0;
  list-style-type: none;
}
.event-list .other-dates li {
  padding: 2px 5px;
}
.event-list .other-dates li.canceled {
  text-decoration: line-through;
}
.event-list .other-dates li.canceled:after {
  content: 'Peruttu';
  color: red;
  text-transform: uppercase;
  margin-left: 5px;
  display: inline-block;
}
.event-list .other-dates li:nth-child(2n+1) {
  background: #f2f4fc;
}
.event-list .event-item.visible {
  display: block;
}
.form-group .col-md-3,
.form-group .col-md-8 {
  padding: 4px 0px;
}
.event_time {
  margin-bottom: 10px;
}
.btn-ilmoita {
  margin-top: 20px;
}
.event-search {
  text-align: center;
  margin-bottom: 50px;
}
.event-search h2 {
  color: white;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 50px;
  font-size: 33px;
  font-weight: 400;
}
.event-search span {
  color: white;
  margin-right: 15px;
}
.event-search .fields,
.event-search .popular-events {
  background: rgba(61, 84, 157, 0.65);
  padding: 10px;
  display: inline-block;
}
.event-search .popular-events {
  padding: 21px 10px;
}
.event-search .popular-events a {
  background: #f1575c;
  color: white;
  padding: 12px 15px;
  font-style: italic;
}
.event-search .popular-events i:before {
  color: #ffd01c;
  vertical-align: middle;
  margin-right: 8px;
  font-size: 20px;
}
.event-search .popular-events a:hover,
.event-search .popular-events a:active {
  text-decoration: none;
}
.event-search .fields input[type="submit"] {
  background: #6ecacc;
  border: none;
  text-transform: uppercase;
  color: white;
  font-weight: bold;
  font-size: 18px;
  padding: 8px 20px;
}
.event-search .fields i.icons:before {
  vertical-align: middle;
}
.event-search .fields input[type="text"] {
  padding: 10px 15px;
  margin-right: 5px;
  font-size: 16px;
  border: none;
}
.event-search .fields i.icons {
  margin-right: 0;
  background: white;
  color: #dcdada;
  padding: 11px 0px 12px 10px;
  font-size: 16px;
  max-height: 42px;
  display: inline-block;
  vertical-align: bottom;
}
.event-search ::-webkit-input-placeholder {
  color: #3c3d41;
  font-style: italic;
  font-size: 14px;
}
.event-search ::-moz-placeholder {
  color: #3c3d41;
  font-style: italic;
  font-size: 14px;
}
.event-search :-ms-input-placeholder {
  color: #3c3d41;
  font-style: italic;
  font-size: 14px;
}
.event-search :-moz-placeholder {
  color: #3c3d41;
  font-style: italic;
  font-size: 14px;
}
.events-area.kevat {
  background: linear-gradient(to bottom, rgba(69, 94, 176, 0.66), rgba(69, 94, 176, 0.66)), url('../../images/site_images/bg_kevat.jpg') !important;
  background-size: 100% 463px, auto 463px!important;
  background-repeat: no-repeat !important;
}
.events-area.kesa {
  background: linear-gradient(to bottom, rgba(69, 94, 176, 0.66), rgba(69, 94, 176, 0.66)), url('../../images/site_images/bg_kesa.jpg') !important;
  background-size: 100% 463px, auto 463px!important;
  background-repeat: no-repeat !important;
}
.events-area.syksy {
  background: linear-gradient(to bottom, rgba(69, 94, 176, 0.66), rgba(69, 94, 176, 0.66)), url('../../images/site_images/bg_syksy.jpg') !important;
  background-size: 100% 463px, auto 463px!important;
  background-repeat: no-repeat !important;
}
.events-area.talvi {
  background: linear-gradient(to bottom, rgba(69, 94, 176, 0.66), rgba(69, 94, 176, 0.66)), url('../../images/site_images/bg_talvi.jpg') !important;
  background-size: 100% 463px, auto 463px!important;
  background-repeat: no-repeat !important;
}
.events-area .button-row a:after {
  content: '\65';
  font-family: 'palkane-icons';
  vertical-align: middle;
  color: white;
  margin-left: 4px;
  font-size: 10px;
}
.events-area .button-row a {
  color: white;
  font-weight: bold;
  font-size: 14px;
  padding: 16px;
  display: inline-block;
  margin-right: 5px;
}
.events-area .button-row a:nth-child(1) {
  background: #f1575c;
}
.events-area .button-row a:nth-child(2) {
  background: #455eb0;
}
.events-area .mobile-calendar h2 {
  font-size: 22px;
  border-bottom: #455eb0 solid 6px;
}
.events-area .mobile-foilters h2 {
  font-size: 20px;
}
.events-area .filters h3 {
  font-size: 18px;
  font-weight: 400;
  border-bottom: #455eb0 solid 6px;
}
.events-area .filters ul {
  list-style-type: none;
  padding: 0;
}
.events-area .filters ul li {
  background: #f2f4fc;
  padding: 10px 10px 5px;
  margin: 2px 0;
}
.events-area .filters ul input[type="checkbox"] {
  display: none;
}
.events-area .filters ul label {
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.events-area .filters ul label:before {
  content: ' ';
  display: inline-block;
  border: solid 3px #d0d8f7;
  width: 20px;
  height: 20px;
  cursor: pointer;
  border-radius: 10px;
  vertical-align: middle;
  margin-right: 10px;
}
.events-area .filters ul input[type=checkbox]:checked + label:before {
  background: #455eb0;
  border-color: #455eb0;
}
.share {
  margin-bottom: 15px;
}
.share .at-share-btn {
  background: #939393!important;
}
.instructions {
  margin-top: 40px;
}
.event-container {
  padding-left: 0;
}
.event-container .datetime {
  margin: 20px 0;
}
.event-container .datetime .date {
  display: inline-block;
  color: white;
  background: #f1575c;
  padding: 10px 20px;
  font-weight: 500;
  font-size: 22px;
  margin-right: 5px;
}
.event-container .datetime .time {
  display: inline-block;
  background: #455eb0;
  color: white;
  font-weight: 500;
  font-size: 22px;
  padding: 10px 20px;
}
.event-container p {
  margin-bottom: 22px;
}
.event-container .event-chain {
  border-top: #b1b2b3 solid 1px;
}
.event-container .event-chain h3 {
  text-transform: uppercase;
  font-weight: bold;
  margin: 40px 0 25px;
}
.event-container .event-chain .event:nth-child(2n) {
  background: #f2f4fc;
}
.event-container .event-chain .event {
  padding: 15px;
}
.event-container .event-chain .event a.canceled {
  display: block;
}
.event-container .event-chain .event a.canceled small {
  color: red;
  text-decoration: none!important;
  text-transform: uppercase;
  margin-left: 5px;
}
.event-container .event-chain .event a.canceled h4 {
  text-decoration: line-through;
  display: inline-block;
}
.event-container .event-chain .event a {
  color: #455eb0;
  text-transform: uppercase;
}
.event-container .event-chain .event a h4 {
  font-size: 16px;
  font-weight: 400;
}
.event-container .event-chain .event span {
  font-size: 16px;
}
.side-column {
  padding-right: 0;
}
.result-count {
  font-size: 14px;
  margin-top: 19px;
  font-family: 'Montserrat', sans-serif;
}
.location {
  margin-bottom: 20px;
}
.adress-block {
  background: #f3f1f1;
  color: #3c3d41;
  line-height: 1.7em;
  padding: 30px 20px;
}
.adress-block p {
  margin-bottom: 17px;
  line-height: 1.7em;
}
.adress-block strong {
  color: #616060;
  font-weight: 400;
  text-transform: uppercase;
}
.adress-block a {
  color: #455eb0;
}
.adress-block ul {
  list-style-type: none;
  padding: 0;
}
.adress-block ul li:after {
  content: '\64';
  color: #455eb0;
  font-family: 'palkane-icons';
  vertical-align: middle;
}
.adress-block ul li a {
  text-transform: uppercase;
  font-size: 16px;
}
.main-content form {
  background: #f3f1f1;
  padding: 35px;
}
.main-content form h3 {
  margin-top: 25px;
  margin-bottom: 15px;
}
.main-content form .basic-button {
  background: #455eb0;
  color: white!important;
  border: 0;
  font-weight: 400!important;
  padding: 15px;
  line-height: 14px;
  border-radius: 0;
  min-height: 48px;
}
.main-content form hr {
  border-top-color: #c9c7c8;
}
.main-content form .help-block,
.main-content form .note {
  display: block;
  margin-top: 5px;
  margin-bottom: 10px;
  color: #1e1f21;
  font-size: 14px!Important;
}
.main-content form .submit-button {
  background: #f1575c;
  color: white;
  border-radius: 0px;
  font-weight: 500;
  padding: 15px 20px;
  border: none;
  font-size: 18px;
}
.main-content form .form-group .col-md-9 {
  padding: 0 0 5px 0;
}
.main-content form .radio,
.main-content form .checkbox {
  background: white;
  padding: 15px 20px;
  border: solid 1px #dedede;
}
.main-content form .radio label,
.main-content form .checkbox label {
  font-weight: 500;
  padding: 0;
}
.main-content form .required-label:after,
.main-content form .required label:after {
  content: '*';
  color: #f1575c;
}
.main-content form input[type="radio"],
.main-content form input[type="checkbox"] {
  display: none;
}
.main-content form input[type="radio"] + label:before,
.main-content form input[type="checkbox"] + label:before {
  content: ' ';
  display: inline-block;
  border: solid 3px #d0d8f7;
  width: 20px;
  height: 20px;
  background: #f2f4fc;
  cursor: pointer;
  border-radius: 10px;
  vertical-align: middle;
  margin-right: 10px;
}
.main-content form input[type=checkbox]:checked + label:before,
.main-content form input[type=radio]:checked + label:before {
  background: #455eb0;
  border-color: #455eb0;
}
.main-content form .bootstrap-filestyle {
  -js-display: flex;
  display: flex;
  width: 40%;
  align-items: center;
  flex-wrap: wrap;
}
.main-content form .bootstrap-filestyle input[type="text"] {
  background: transparent;
  border: none;
  box-shadow: none;
  min-width: 200px;
}
.main-content form .bootstrap-filestyle span {
  width: 100%;
}
.main-content form p {
  font-size: 14px;
}
.main-content form input[type="text"],
.main-content form input[type="email"],
.main-content form input[type="password"],
.main-content form textarea {
  border: #dedede solid 1px;
  padding: 10px 15px;
  width: 100%;
  cursor: auto;
  border-radius: 0;
  box-shadow: none;
}
.main-content form select {
  border-radius: 0;
  border: #dedede solid 1px;
  padding: 5px 15px;
  width: 100%;
}
.main-content form ::-webkit-input-placeholder,
.main-content form ::-moz-placeholder,
.main-content form :-ms-input-placeholder,
.main-content form :-moz-placeholder {
  color: #afafaf;
}
.main-content form .input-inline label {
  width: 25%;
}
.main-content form .input-inline input {
  width: 70%;
}
.main-content form .no-bg {
  background: transparent;
  border: none;
}
.lib {
  margin-top: 30px;
  float: left;
  width: 100%;
  border-bottom: solid 1px #b1b2b3;
  padding-bottom: 30px;
}
.lib h2 {
  margin-top: 0;
  font-weight: bold;
}
.lib .img-area {
  float: left;
  max-width: 490px;
}
.lib .img-area a {
  height: 100%;
  display: block;
}
.lib .text-area {
  width: 40%;
  float: left;
  margin-left: 35px;
}
.lib .text-area > * {
  margin-bottom: 25px;
}
.libs ul {
  padding: 0;
  list-style-type: none;
  margin: 35px 0 15px;
}
.libs ul li {
  display: inline-block;
}
.libs ul li a {
  color: #3c3d41;
  font-size: 16px;
  font-weight: 500;
}
.libs ul li:after {
  content: '|';
  display: inline-block;
  margin: 0 10px 0 12px;
}
.libs ul li:last-child:after {
  content: ' ';
}
.filter-row button {
  color: #3c3d41;
  font-size: 16px;
  font-weight: 500;
  background: none;
  position: relative;
  border: none;
  padding: 0;
}
.filter-row button:after {
  content: ' ';
  margin: 0 15px;
  height: 0.8em;
  width: 1px;
  display: inline-block;
  background: black;
}
.filter-row button:focus {
  outline: 0;
}
.filter-row button:last-child:after {
  content: '';
}
.filter-row button.active {
  text-decoration: underline;
}
.magz {
  margin-top: 30px;
  column-count: 2;
  column-gap: 0;
  min-height: 210px;
}
.magz p {
  margin-bottom: 0;
  display: inline-block;
  width: 190px;
}
.library {
  width: 14px;
  height: 14px;
  display: inline-block;
  border-radius: 14px;
  margin-right: 3px;
}
.aitoon_lainausasema {
  background: #efc31b;
}
.luopioisten_kirjasto {
  background: #25ad78;
}
.paakirjasto {
  background: #455eb0;
}
.laitikkalan_lainausasema {
  background: #f1575c;
}
.sitemap > ul > li {
  margin: 20px 0;
  font-weight: 600;
}
.sitemap > ul > ul {
  column-count: 2;
  column-gap: 0;
}

/*eng-site*/
.english footer .footer-list h3{
    white-space: unset;
}


@media (max-width: 1199px) and (min-width: 768px) {
  header > .container {
    padding: 0 15px;
    width: 100%;
  }
  header.stikcy .navbar-header {
    margin-top: -7;
  }
  .banners {
    margin-top: 15px;
  }
  .banners > p {
    float: left;
    width: 50%;
  }
  header hr {
    display: none!important;
  }
  header .navbar-collapse {
    float: left;
    padding: 0;
  }
  header .navbar-header {
    width: 100%;
    position: relative;
  }
  header .navbar-header > a {
    width: 25%;
    display: block;
    float: left;
  }
  header .navbar-header > a img {
    float: left;
  }
  header .navbar-header .options {
    padding: 10px;
    font-size: 15px;
    display: inline-block;
    position: absolute;
    bottom: 0;
    right: 251px;
  }
  header .navbar-header .search-form {
    display: inline-block;
    position: absolute;
    right: 5px;
    bottom: 5px;
  }
  header .secondary-nav a {
    font-size: 14px;
  }
  header .language a {
    font-size: 14px;
  }
  header .nav.navbar-nav > li > a {
    min-height: 90px;
    font-size: 13px;
  }
  footer .footer-header p {
    width: 38%;
  }
  footer .footer-list {
    width: 21%;
  }
}
.main-content .article {
  border-bottom: #b1b2b3 solid 1px;
  padding: 40px 0px;
}
.main-content .article h2 {
  color: #3c3d41;
}
.main-content .article span.date {
  font-size: 16px;
  font-weight: 600;
}
table.stacktable.small-only {
  margin-bottom: 10px;
  float: left;
  margin-right: 10px;
}
table.stacktable.small-only td.st-key {
  background: #455eb0;
  color: white;
}
table.stacktable.small-only td.st-key strong {
  font-weight: 400;
}
article {
  border-bottom: solid #b1b2b3 1px;
  padding: 45px 0 40px;
}
article .date {
  font-size: 16px;
  font-weight: bold;
}
article h2 a {
  font-weight: 700!important;
  color: #3c3d41 !important;
}
article p {
  word-wrap: break-word;
}
article:nth-of-type(1) {
  padding-top: 15px;
}
.base-blog .col-md-4 {
  padding-right: 0px;
  padding-left: 30px;
}
aside h3 {
  font-weight: bold!important;
  margin-bottom: 5px;
}
aside ul {
  list-style-type: none;
  padding: 0;
}
aside ul ul {
  padding-left: 15px;
}
aside ul li:before {
  content: '\64';
  font-family: 'palkane-icons';
  display: inline-block;
  vertical-align: middle;
}
aside ul li a {
  color: #3c3d41 !important;
  font-weight: 400!important;
  font-size: 16px;
  line-height: 1.2em;
}
aside form {
  background: none!important;
  padding: 0px!Important;
}
aside form input[type="text"] {
  border: none!Important;
  box-shadow: none;
}
aside form .input-group-addon {
  background: none;
  border: none;
}
aside form ::-webkit-input-placeholder {
  color: #3c3d41 !important;
  font-style: italic;
}
aside form :-moz-placeholder {
  /* Firefox 18- */
  color: #3c3d41 !important;
  font-style: italic;
}
aside form ::-moz-placeholder {
  /* Firefox 19+ */
  color: #3c3d41 !important;
  font-style: italic;
}
aside form :-ms-input-placeholder {
  color: #3c3d41 !important;
  font-style: italic;
}
aside form i {
  color: #b9b9b4;
  font-size: 16px;
}
aside form input:focus {
  outline-width: 0;
}
aside .base-blog-search:after {
  content: ' ';
  height: 4px;
  margin-top: 10px;
  margin-bottom: 25px;
  background: white;
  display: block;
  width: 100%;
  border-top: 1px solid #7f7f7f;
  border-bottom: 2px ridge #b7b7b7;
}
article.hide {
  display: none;
}
a:hover:before,
a:focus:before,
a:active:before,
a:hover:after,
a:focus:after,
a:active:after,
a i:hover,
a:hover i {
  text-decoration: none!important;
}
@media print {
  header,
  footer,
  .breadcrumb,
  .sidebar {
    display: none;
  }
}
@media (max-width: 480px) {
  .magz {
    column-count: 1;
    column-gap: 0;
  }
  .events-area .sidebar,
  .events-area .main-content {
    padding: 0;
  }
}
.success-thank-you {
  padding: 15px 20px;
  border: green solid 1px;
  background: #e0ece0;
  font-weight: 500;
  color: green;
  /* max-width: 50%; */
  text-align: center;
  margin: 10px auto;
}
form small.error {
  color: red;
  margin-left: 15px;
}
.ui-datepicker {
  background: #f2f4fc!important;
  border: none;
  padding: 10px;
  border-radius: 0;
}
.ui-datepicker .ui-datepicker-header {
  background: transparent!Important;
  border-radius: 0!important;
  border: none!important;
  border-bottom: #a6a6a9 1px solid!important;
}
.ui-datepicker a.ui-datepicker-next.ui-corner-all:after {
  color: #1e1f21;
  content: '\64';
  font-family: 'palkane-icons';
  display: block;
  font-size: 20px;
}
.ui-datepicker a.ui-datepicker-prev.ui-corner-all:after {
  color: #1e1f21;
  content: '\67';
  font-family: 'palkane-icons';
  display: block;
  font-size: 20px;
}
.ui-datepicker a.ui-datepicker-next span,
.ui-datepicker a.ui-datepicker-prev span {
  background-image: none!important;
}
.ui-datepicker .ui-datepicker-next-hover,
.ui-datepicker .ui-datepicker-prev-hover {
  border: none!important;
  background: none!important;
  cursor: pointer;
  border-bottom: none!Important;
  text-decoration: none!important;
}
.ui-datepicker .ui-datepicker-next-hover span,
.ui-datepicker .ui-datepicker-prev-hover span {
  background-image: none!important;
}
.ui-datepicker .ui-datepicker-title span {
  color: #1e1f21;
  text-transform: uppercase;
}
.ui-datepicker th span {
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Fira Sans', sans-serif;
}
.ui-datepicker td a {
  background: transparent!important;
  border: none!important;
  font-weight: 400!important;
  color: black!important;
  font-family: 'Fira Sans', sans-serif;
  text-align: center;
  height: 30px;
  width: 30px;
}
.ui-datepicker td.has-event a {
  background: #dedee4!important;
  color: #171515!important;
  border-radius: 32px;
  -js-display: flex;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ui-datepicker td.ui-datepicker-today a {
  background: #939393!important;
  color: white!important;
}
.ui-datepicker a.ui-state-default.ui-state-active {
  background: #455eb0!important;
  color: white!important;
}
.ui-datepicker-inline {
  width: 100%!important;
  border: none!important;
}
.mobile-filters.open i,
.mobile-calendar.open i {
  transform: rotate(180deg);
}
.events-area .breadcrumb {
  margin-bottom: 35px;
  width: 100%;
  min-height: 5px;
}
.events-area .breadcrumb ul {
  float: left;
}
.event-logged {
  float: right;
}
.event-logged a {
  margin-right: 5px;
  font-weight: 500;
  color: #455eb0;
}
.event-logged i {
  font-size: 16px;
  display: inline-block;
  vertical-align: sub;
}
.contact-block {
  display: none;
  padding: 10px 15px;
}
.contact-toggle {
  margin-top: 5px;
  margin-bottom: 0!important;
  font-size: 20px!important;
  padding: 10px 15px;
  color: #fff;
}
.all-contacts .contact-toggle:nth-child(1) {
  background: #455eb0;
}
.all-contacts .contact-toggle:nth-child(3) {
  background: #25ad78;
}
.all-contacts .contact-toggle:nth-child(5) {
  background: #9056a2;
}
.all-contacts .contact-toggle:nth-child(7) {
  background: #6ecacc;
}
.all-contacts .contact-toggle:nth-child(9) {
  background: #efc31b;
}
.all-contacts .contact-toggle:nth-child(11) {
  background: #f1575c;
}
.all-contacts .contact-toggle:nth-child(13) {
  background: #b9b9b4;
}
/******SELAIMIEN ERIKOISLAPSET*******/
@-moz-document url-prefix() {
  header .nav.navbar-nav .triangle {
    margin-left: 50%;
  }
  header hr {
    background-size: 2px 3px;
    height: 2px;
  }
  .frontpage header nav .navbar-nav > li:before {
    background-size: 2px 3px;
  }
  .frontpage header .last-line {
    background-size: 2px 3px;
  }
  header:after {
    background-size: 2px 3px;
  }
}
.no-flexbox .noti-block i {
  display: none!important;
}
.base-blog-archive li{cursor:pointer;}
@media (min-width: 768px) {
  .no-flexbox header .navi-top .navbar-nav > li > a {
    padding-top: 25%;
  }
  .no-flexbox header.sticky .navi-top .navbar-nav > li > a {
    padding-top: 15%;
  }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .main-content img[style*="float:right"],
  .main-content img[style*="float: right"] {
    max-width: 50% !important;
  }
}

.maalle-btn {
  background-color: #efc31b;
  color: #fff !important;
  border-radius: 0;
}
.maalle-btn span {
  font-size: 16px !important;
}
.maalle-btn:hover	{
  color:#3a3a3a !important;
}
 
.yellow-line-break {
  background-color: #efc31b;
  height: 2px;
  margin: 3.5em 0 2em;
}