/*
Theme Name: Sley Theme
Author: TBWA did it wrong
Author URI: https://www.sley.fi
Description: Custom X based theme for SLEY
Version: 0.0.1
Template: x

*/
/*
	colors
*/
h1 {
  font-family: 'Merriweather' !important;
}
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Merriweather Sans' !important;
}
.entry-content {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
html h2 {
  color: #1c8559;
  text-transform: uppercase;
  font-size: 16px;
  margin: 1.5em 0 1.4em;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision !important;
  letter-spacing: 0.1em;
}
html h2.latest {
  text-transform: none !important;
}
body {
  color: #272727;
  background: #fff !important;
}
body .x-navbar {
  border-bottom: none !important;
  background-color: #fff !important;
  box-shadow: 0 0.15em 0.35em 0 rgba(0, 0, 0, 0.1) !important;
  -webkit-transform: translate3d(0, 0, 0) !important;
  -ms-transform: translate3d(0, 0, 0) !important;
  transform: translate3d(0, 0, 0) !important;
}
body,
input,
button,
select,
textarea {
  font-family: 'Merriweather Sans' !important;
}
ul.latest {
  list-style-type: none;
}
ul.latest li {
  padding-top: 0.25em;
  padding-bottom: 0.25em;
  border-bottom: 1px #f2f2f2 solid;
}
.single-laulut .x-breadcrumb-wrap {
  display: none;
}
.x-breadcrumb-wrap .x-nav-articles {
  display: none !important;
}
.x-brand img {
  width: 71px;
  height: auto;
}
.floatleft {
  float: left;
}
.floatright {
  float: right;
}
.clear {
  clear: both;
}
/*
	readmore buttons
*/
a img {
  height: auto;
}
a img.lue_lisaa {
  width: 116px !important;
}
a img.tutustu {
  width: 104px !important;
}
a img.lahjoita {
  width: 112px !important;
}
a img.ota_yhteytta {
  width: 144px !important;
}
a img.ilmoittaudu {
  width: 141px !important;
}
img.icon_search {
  width: 39px;
  height: 39px;
}
.x-navbar .mobile .x-nav > li.x-menu-item-search > a {
  border-radius: 2px !important;
}
.x-btn-navbar {
  border-radius: 2px !important;
}
/*
	readmore buttons
*/
.x-btn-filterable.x-btn {
  display: none !important;
}
.x-filterable-index .entry-featured span.view {
  display: none;
}
.slider-title-hero.slider-title {
  font-size: 44px !important;
}
.x-slider-container.below {
  border-bottom: none !important;
}
.x-btn {
  border: none;
}
.s-post-heading.h-custom-headline {
  font-weight: 700;
  line-height: 1.6;
  font-size: 38px;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  margin-top: 0;
}
@media (max-width: 767px) {
  .s-post-heading.h-custom-headline {
    line-height: 1.4;
    font-size: 26px;
  }
}
.s-post-col {
  padding-left: 30px;
}
@media (max-width: 600px) {
  .s-post-col {
    padding-left: 0;
  }
}
.s-post-col .s-post-text {
  border-left: 1px solid black;
  padding-left: 30px;
}
@media (max-width: 600px) {
  .s-post-col .s-post-text {
    padding-left: 0;
    border: none;
  }
}
.s-post-col .s-post-text h2 {
  color: #1c8559;
  text-transform: uppercase;
  font-size: 17px;
  margin: 1.25em 0 1.25em;
}
.s-post-bottom {
  padding-left: 30px;
}
.s-post-bottom img {
  max-width: 150px;
}
.s-post-date p {
  margin-top: 20px;
  font-family: 'Merriweather' !important;
  color: #272727;
  font-weight: 800;
}
.s-post-category.x-feature-list {
  margin: 2.313em 0;
}
.lbrown-bg {
  background-color: #fbfaf8 !important;
}
.background-image {
  background-size: cover;
  background-repeat: no-repeat;
}
.x-navbar .desktop .x-nav > li.x-menu-item-search > a {
  padding-top: 25px;
}
@media (max-width: 767px) {
  .h-custom-headline.cs-ta-right {
    text-align: left !important;
  }
}
/*
	Four categories block
*/
@media (max-width: 960px) {
  .icon-responsive .x-column.x-1-4 {
    width: 50% !important;
    margin-top: 20px;
    display: inline-block !important;
  }
}
@media (max-width: 767px) {
  .icon-responsive .x-column.x-1-4 {
    width: 100% !important;
  }
}
.tg-ajankohtaista,
.cat-column {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
}
.tg-ajankohtaista .cat-thumb-wrap,
.cat-column .cat-thumb-wrap {
  max-height: 200px;
  overflow: hidden;
}
.tg-ajankohtaista.eight-of-kind,
.cat-column.eight-of-kind {
  min-height: 400px;
  max-height: 400px;
  overflow: hidden;
  transform: scaleY(1) scaleX(1);
}
.tg-ajankohtaista.eight-of-kind.toiminta,
.cat-column.eight-of-kind.toiminta {
  transform: scaleY(1) scaleX(1);
  max-height: 100%;
}
.tg-ajankohtaista.eight-of-kind.toiminta.do-hover.onhover,
.cat-column.eight-of-kind.toiminta.do-hover.onhover {
  transform: scaleY(1.01) scaleX(1.01);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
}
.tg-ajankohtaista.eight-of-kind.toiminta.do-hover.onhover .cat-description,
.cat-column.eight-of-kind.toiminta.do-hover.onhover .cat-description {
  display: none;
}
.tg-ajankohtaista.eight-of-kind.toiminta.do-hover.onhover .cat-description-long,
.cat-column.eight-of-kind.toiminta.do-hover.onhover .cat-description-long {
  display: block;
}
@media (max-width: 767px) {
  .tg-ajankohtaista.eight-of-kind,
  .cat-column.eight-of-kind {
    margin-top: 20px;
  }
}
.tg-ajankohtaista.eight-of-kind .cat-description,
.cat-column.eight-of-kind .cat-description {
  padding-top: 5px;
}
.tg-ajankohtaista.eight-of-kind.linkout.onhover.do-hover .cat-thumb-wrap,
.cat-column.eight-of-kind.linkout.onhover.do-hover .cat-thumb-wrap {
  background-color: #eee6d5;
}
.tg-ajankohtaista.eight-of-kind.linkout .cat-thumb-wrap,
.cat-column.eight-of-kind.linkout .cat-thumb-wrap {
  background-image: var(--wpr-bg-bd81e50a-5be9-435e-ab06-5f9a304b77d6);
  background-repeat: no-repeat;
  background-position: 97% 6%;
  background-size: 19px 20px;
}
.tg-ajankohtaista.eight-of-kind.opacity-box,
.cat-column.eight-of-kind.opacity-box {
  background-color: rgba(255, 255, 255, 0.6);
}
.tg-ajankohtaista.eight-of-kind.opacity-box .cat-thumb-wrap,
.cat-column.eight-of-kind.opacity-box .cat-thumb-wrap {
  background-color: rgba(255, 255, 255, 0);
}
.tg-ajankohtaista.eight-of-kind.opacity-box .cat-description,
.cat-column.eight-of-kind.opacity-box .cat-description {
  font-size: 18px;
  padding-top: 0;
}
.tg-ajankohtaista.eight-of-kind.opacity-box .cat-heading,
.cat-column.eight-of-kind.opacity-box .cat-heading {
  min-height: 50px;
}
.tg-ajankohtaista.eight-of-kind hr,
.cat-column.eight-of-kind hr {
  display: none;
}
.tg-ajankohtaista.eight-of-kind .cat-cta,
.cat-column.eight-of-kind .cat-cta {
  background: transparent !important;
  display: block;
}
.tg-ajankohtaista.eight-of-kind .cat-thumb-wrap,
.cat-column.eight-of-kind .cat-thumb-wrap {
  width: 100%;
  min-height: 150px;
  background-color: #fbfaf8;
}
.tg-ajankohtaista.eight-of-kind .cat-thumb-wrap .cat-thumb,
.cat-column.eight-of-kind .cat-thumb-wrap .cat-thumb {
  width: auto;
  text-align: center;
  margin: 0 auto;
  padding-top: 40px;
}
.tg-ajankohtaista.eight-of-kind .cat-thumb-wrap .cat-thumb.icon,
.cat-column.eight-of-kind .cat-thumb-wrap .cat-thumb.icon {
  width: 60px !important;
}
.tg-ajankohtaista.eight-of-kind .cat-description-long,
.cat-column.eight-of-kind .cat-description-long {
  display: none;
}
.tg-ajankohtaista.eight-of-kind.onhover,
.cat-column.eight-of-kind.onhover {
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  transform: scaleY(1) scaleX(1);
}
.tg-ajankohtaista.eight-of-kind.onhover .cat-icon,
.cat-column.eight-of-kind.onhover .cat-icon {
  display: none;
}
.tg-ajankohtaista.eight-of-kind.onhover .cat-thumb,
.cat-column.eight-of-kind.onhover .cat-thumb {
  display: block;
  margin: 0 auto;
  padding-top: 40px;
}
.tg-ajankohtaista.eight-of-kind.onhover .cat-description,
.cat-column.eight-of-kind.onhover .cat-description {
  display: block;
}
.tg-ajankohtaista.eight-of-kind.onhover .cat-excerpt,
.cat-column.eight-of-kind.onhover .cat-excerpt {
  display: none;
}
.tg-ajankohtaista.eight-of-kind.onhover .cat-description-long,
.cat-column.eight-of-kind.onhover .cat-description-long {
  display: none;
}
.cat-heading {
  color: #272727;
  padding: 10px 20px !important ;
  font-size: 14px !important;
  text-transform: uppercase;
  font-weight: 900 !important ;
  letter-spacing: 0.1em !important ;
  line-height: 1.3em;
}
@media (max-width: 767px) {
  .cat-heading {
    min-height: 0px;
  }
}
.cat-column {
  transition: transform 0.25s ease-in-out;
  text-align: center;
  background: #fff;
  padding-bottom: 25px;
  min-height: inherit;
}
.cat-column .cat-thumb {
  width: 100%;
}
.cat-column .cat-description {
  color: #272727;
  padding: 20px 20px;
  font-size: 13px;
  font-family: 'Merriweather', serif-italic;
  font-style: italic;
}
.cat-column .cat-description-long {
  color: #272727;
  padding: 0 20px 20px 20px;
  font-size: 13px;
  font-family: 'Merriweather', serif-italic;
  font-style: italic;
}
.cat-column.onhover {
  transform: scaleY(1.02) scaleX(1.02);
  box-shadow: 2px 2px 10px;
  z-index: 10;
}
.cat-column.onhover .cat-icon {
  display: block;
  width: 100%;
  transition: transform 0.25s ease-in-out;
}
.cat-column.onhover .cat-thumb {
  display: none;
}
.cat-column.onhover .cat-description {
  display: block;
}
.cat-column.onhover .cat-excerpt {
  display: none;
}
.cat-icon {
  /*
		värillinen ikoni
		default: hidden
	*/
  display: none;
  width: 1%;
  transition: all 0.25s ease-in-out;
}
.cat-thumb {
  /*thumbnail*/
}
.cat-title {
  text-transform: uppercase;
}
.cat-description {
  /*
		kursiiviteksti alhaalla
		default: hidden
	*/
  /*display:none;*/
}
/*
	Esirukous
*/
.background-image.esirukous-nosto {
  background-image: var(--wpr-bg-84ed6def-b495-48c8-baca-58e981e4b259);
}
.esirukous-nosto {
  color: #fff;
  text-align: left;
}
.esirukous-nosto .x-text p {
  color: #fff;
}
.esirukous-nosto a.x-img > img {
  margin-left: 0;
  margin-right: 0;
}
.background-image.quote-nosto {
  background-image: var(--wpr-bg-978f513b-483f-470f-9d9d-0b0e4f4a816f);
}
.quote-nosto blockquote {
  border: none;
  color: #bab17d;
  font-style: italic;
  font-weight: bold;
}
.quote-nosto cite::before {
  content: "";
}
.quote-nosto cite {
  color: #fff;
}
/*
	Bloginostot
*/
.blog-links a.x-img > img {
  margin-left: 0 !important;
  margin-right: 0  !important;
}
.blog-links .heading img {
  margin-top: 2px !important;
}
.blog-links .heading h4 {
  color: #1c8559;
  font-size: 1em;
  font-weight: bold;
  text-transform: uppercase;
}
.blog-links .article-block {
  color: #000;
  padding: 25px !important;
}
@media (max-width: 767px) {
  .blog-links .article-block {
    margin: 20px 0!important;
  }
}
.blog-links .article-block h4 {
  font-size: 1em;
  font-weight: bold;
  text-transform: uppercase;
  color: #000;
}
.blog-links .article-block .x-feature-box-text {
  font-family: serif;
  color: #000;
}
/*
	Yhden ja Kahden nosto
*/
.post-nosto .cat-column {
  box-shadow: none;
}
@media (min-width: 768px) {
  .post-nosto .x-container {
    min-height: 450px;
    height: 450px;
  }
}
.post-nosto .bg-img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
@media (max-width: 767px) {
  .post-nosto .bg-img {
    padding-bottom: 220px !important;
    background-position: top left;
  }
}
@media (max-width: 767px) {
  .post-nosto.x-section {
    padding: 0px 0;
  }
}
.post-nosto.x-section a img {
  padding: 20px 0;
  width: auto;
}
@media (max-width: 767px) {
  .post-nosto.x-section a img {
    display: block;
  }
}
.post-nosto.x-section img {
  width: 100%;
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .post-nosto.x-section img {
    display: none;
  }
}
@media (max-width: 767px) {
  .post-nosto .x-feature-box-graphic {
    display: block !important;
  }
}
.post-nosto .x-feature-box-graphic .x-feature-box-graphic-inner {
  width: 60px !important;
}
.post-nosto .x-feature-box-graphic .x-feature-box-graphic-inner img.icon {
  width: 60px !important;
}
.post-nosto h3 {
  padding-left: 0 !important;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .post-nosto h3 {
    padding-top: 42px !important;
    padding: 0 !important;
  }
}
.post-nosto h4 {
  color: #272727;
  padding: 7px 20px 7px 0px !important;
  font-size: 40px !important;
  text-transform: uppercase;
  font-weight: 900 !important ;
  letter-spacing: 0.01em !important ;
}
.post-nosto h4.iconpadding {
  padding: 7px 20px !important;
}
@media (max-width: 767px) {
  .post-nosto h4 {
    font-size: 25px !important;
    padding: 7px 20px 7px 0px !important;
  }
  .post-nosto h4.iconpadding {
    padding: 7px 20px 7px 0px !important;
  }
}
.post-nosto p {
  color: #272727;
  font-size: 13px;
  font-family: 'Merriweather';
  font-style: italic;
}
.post-nosto p.x-feature-box-text {
  padding: 10px 20px 0 0px;
  font-family: 'Merriweather' !important;
  font-style: italic;
  font-size: 13px;
}
.post-nosto p.x-feature-box-text.iconpadding {
  padding: 10px 20px 0 20px;
}
@media (max-width: 767px) {
  .post-nosto p.x-feature-box-text.iconpadding {
    padding: 10px 20px 0 0px;
  }
}
.post-nosto a img {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.post-nosto .cat-column {
  text-align: left !important;
  padding: 20px !important;
}
.post-nosto .cat-column.one {
  padding: 50px 80px !important;
}
@media (max-width: 767px) {
  .post-nosto .cat-column.one {
    padding: 30px !important;
  }
}
.post-nosto .cat-column.one p {
  font-family: 'Merriweather', serif;
  font-size: 16px;
}
.post-nosto .cat-column:hover {
  transform: none;
  box-shadow: none;
}
/*
	FOOTER
*/
.footer-green {
  color: #fff;
}
.footer-green .x-columnize {
  -webkit-column-rule: none;
  -moz-column-rule: none;
  column-rule: none;
}
.footer-green h5 {
  color: #bab17d;
  text-transform: uppercase;
  font-size: 15px;
}
.sley-footer .x-column.x-1-2.footer-col {
  width: 50%;
}
.sley-footer .footer-col {
  margin-right: 0;
  border-right: 1px solid #bab17d;
}
@media (max-width: 767px) {
  .sley-footer .footer-col {
    border-right: none;
  }
}
.sley-footer .footer-col-right {
  height: 214px;
}
@media (max-width: 767px) {
  .sley-footer .footer-col-right {
    height: auto;
  }
}
.sley-footer .top-space {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 767px) {
  .sley-footer .top-space {
    height: auto;
  }
}
.sley-footer .top-space .f-navi {
  align-self: flex-start;
  padding-top: 5.7em;
}
.sley-footer .x-column {
  color: #fff;
}
.sley-footer h4,
.sley-footer a {
  color: #bab17d;
  text-transform: uppercase;
  font-size: 15px;
}
.sley-footer a {
  font-size: 13px;
  text-transform: none;
}
.sley-footer a:hover {
  color: #fff;
}
.sley-footer.x-colophon {
  position: relative;
  border-top: none;
  background-color: #0e3028;
  box-shadow: none;
  background-image: var(--wpr-bg-1afe30c2-c9da-4be9-85f9-8e7b8b6ab887);
  background-position: center;
  background-repeat: no-repeat;
}
.sley-footer.x-colophon.bottom {
  padding: 50px 0;
  font-size: 10px;
  text-align: left;
  color: #7a7a7a;
}
.x-img.s-post-image {
  margin-bottom: 40px;
}
.s-post-category .x-feature-box-content {
  margin-top: 20px;
  vertical-align: middle !important;
}
.s-post-category .x-feature-box-content h4 {
  text-transform: uppercase;
  font-weight: bold;
  font-style: normal;
  font-size: 1.1em;
  letter-spacing: 0.09em;
  color: #1c8559;
}
.s-post-text {
  color: #444c48;
}
.s-post-text {
  color: #444c48;
}
.s-post-text a {
  color: #1c8559;
}
.s-post-link.x-img > img {
  margin-top: 80px;
  display: block;
  margin-left: 0;
  margin-right: 0;
}
.s-post-author.x-feature-list {
  margin-top: 45px;
}
.s-post-author.x-feature-list h4 {
  text-transform: uppercase;
  font-weight: bold;
  font-style: normal;
  font-size: 1.1em;
  letter-spacing: 0.09em;
  color: #1c8559;
}
.s-post-author.x-feature-list p {
  color: #1c8559;
  font-style: italic;
}
.s-post-author .x-feature-box-graphic-inner {
  width: auto;
}
.s-post-tags a {
  text-transform: uppercase;
  color: #1c8559;
}
.x-text p {
  color: #1f1f1f;
}
@media (max-width: 640px) {
  .tg-layout-grid .cat-column,
  .tg-layout-grid .tg-ajankohtaista,
  .tg-layout-grid .events {
    max-width: 320px;
    max-height: 420px;
  }
}
.tg-layout-grid .cat-column .tg-cat-column-inner,
.tg-layout-grid .tg-ajankohtaista .tg-cat-column-inner,
.tg-layout-grid .events .tg-cat-column-inner {
  border-left: none;
  background: #FFF;
  height: 100%;
  display: block;
}
.tg-layout-grid .cat-column .cat-icon,
.tg-layout-grid .tg-ajankohtaista .cat-icon,
.tg-layout-grid .events .cat-icon {
  background: #084f3f;
  /* Old browsers */
  background: -moz-linear-gradient(45deg, #084f3f 0%, #4aab88 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(45deg, #084f3f 0%, #4aab88 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(45deg, #084f3f 0%, #4aab88 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#084f3f', endColorstr='#4aab88', GradientType=1);
  /* IE6-9 fallback on horizontal gradient */
  padding: 20px;
}
.tg-layout-grid .cat-column .cat-icon i,
.tg-layout-grid .tg-ajankohtaista .cat-icon i,
.tg-layout-grid .events .cat-icon i {
  display: block;
  background: var(--wpr-bg-844c20a4-16d1-47e0-a720-f129691abe8c) 0 0 no-repeat;
  width: 53px;
  height: 53px;
  margin: 0 auto;
}
.tg-layout-grid .cat-column .tg-item-media-holder,
.tg-layout-grid .tg-ajankohtaista .tg-item-media-holder,
.tg-layout-grid .events .tg-item-media-holder {
  position: relative;
  width: 100%;
  height: 1px;
  padding-bottom: 52.4%;
  display: block;
}
.tg-layout-grid .cat-column .tg-item-date,
.tg-layout-grid .tg-ajankohtaista .tg-item-date,
.tg-layout-grid .events .tg-item-date {
  padding: 1.25em 0 0;
  display: block;
  color: #000;
  margin-bottom: 0;
}
.tg-layout-grid .cat-column .tg-item-title,
.tg-layout-grid .tg-ajankohtaista .tg-item-title,
.tg-layout-grid .events .tg-item-title {
  font-size: 15px;
  font-family: "Merriweather Sans", sans-serif;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 18px !important;
  padding-left: 15px;
  padding-right: 15px;
}
.tg-layout-grid .cat-column .cat-description,
.tg-layout-grid .tg-ajankohtaista .cat-description,
.tg-layout-grid .events .cat-description {
  font-style: italic;
  padding-left: 15px;
  padding-right: 15px;
  color: #000;
  font-size: 13px;
  display: none;
}
@media (max-width: 979px) and (min-width: 768px) {
  .tg-layout-grid .cat-column .cat-description,
  .tg-layout-grid .tg-ajankohtaista .cat-description,
  .tg-layout-grid .events .cat-description {
    max-height: 270px;
  }
}
.tg-layout-grid .cat-column .tg-excerpt,
.tg-layout-grid .tg-ajankohtaista .tg-excerpt,
.tg-layout-grid .events .tg-excerpt {
  color: #1f1f1f;
  font-weight: lighter;
  -webkit-font-smoothing: antialiased;
}
.tg-layout-grid .cat-column .read-more .tg-item-read-more,
.tg-layout-grid .tg-ajankohtaista .read-more .tg-item-read-more,
.tg-layout-grid .events .read-more .tg-item-read-more {
  width: 105px;
  height: 46px;
  position: absolute;
  bottom: 20px;
  left: 50%;
  margin-left: -60px;
}
.tg-layout-grid .cat-column .tg-blog-name,
.tg-layout-grid .tg-ajankohtaista .tg-blog-name,
.tg-layout-grid .events .tg-blog-name {
  color: #0c7a60;
  display: block;
  font-size: 13px;
  line-height: 16px !important;
}
.tg-layout-grid .cat-column .tg-item-tags,
.tg-layout-grid .tg-ajankohtaista .tg-item-tags,
.tg-layout-grid .events .tg-item-tags,
.tg-layout-grid .cat-column .tg-blog-name,
.tg-layout-grid .tg-ajankohtaista .tg-blog-name,
.tg-layout-grid .events .tg-blog-name {
  font-style: normal;
  text-transform: uppercase;
  font-family: "Merriweather Sans", sans-serif;
  font-weight: bold;
}
.tg-layout-grid .cat-column .tg-item-tags .category,
.tg-layout-grid .tg-ajankohtaista .tg-item-tags .category,
.tg-layout-grid .events .tg-item-tags .category,
.tg-layout-grid .cat-column .tg-blog-name .category,
.tg-layout-grid .tg-ajankohtaista .tg-blog-name .category,
.tg-layout-grid .events .tg-blog-name .category {
  padding-right: 5px;
}
.tg-layout-grid .cat-column .tg-item-tags,
.tg-layout-grid .tg-ajankohtaista .tg-item-tags,
.tg-layout-grid .events .tg-item-tags {
  margin-bottom: 10px;
}
.tg-layout-grid .cat-column.onhover,
.tg-layout-grid .tg-ajankohtaista.onhover,
.tg-layout-grid .events.onhover {
  z-index: 1001;
  transform: scale(1.02);
}
.tg-layout-grid .cat-column.onhover .tg-item-media-holder,
.tg-layout-grid .tg-ajankohtaista.onhover .tg-item-media-holder,
.tg-layout-grid .events.onhover .tg-item-media-holder {
  display: none;
}
.tg-layout-grid .cat-column.onhover .tg-item-title,
.tg-layout-grid .tg-ajankohtaista.onhover .tg-item-title,
.tg-layout-grid .events.onhover .tg-item-title {
  display: none;
}
.tg-layout-grid .cat-column.onhover .cat-description,
.tg-layout-grid .tg-ajankohtaista.onhover .cat-description,
.tg-layout-grid .events.onhover .cat-description {
  display: block;
}
.tg-layout-grid .cat-column.onhover .tg-meta,
.tg-layout-grid .tg-ajankohtaista.onhover .tg-meta,
.tg-layout-grid .events.onhover .tg-meta {
  display: none;
}
.tg-layout-grid .tg-ajankohtaista .tg-item-media-inner {
  width: 100%;
  height: 1px;
  padding-bottom: 64.5%;
}
.tg-layout-grid .tg-ajankohtaista .tg-item-media-inner .tg-item-image,
.tg-layout-grid .tg-ajankohtaista .tg-item-media-inner .tg-item-media-poster {
  background-size: cover;
  background-position: 0 0;
}
.tg-layout-grid .tg-ajankohtaista .tg-item-date {
  display: none;
}
.tg-layout-grid .tg-ajankohtaista .tg-item-media-holder {
  position: relative;
  width: 100%;
  height: 100%;
  padding-bottom: 0%;
  display: block;
}
.tg-layout-grid .tg-ajankohtaista .tg-item-title {
  font-size: 15px;
  font-family: "Merriweather Sans", sans-serif;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 18px !important;
  padding-left: 30px;
  padding-right: 30px;
}
@media (max-width: 979px) and (min-width: 768px) {
  .tg-layout-grid .tg-ajankohtaista .tg-item-title {
    padding-left: 15px;
    padding-right: 15px;
  }
}
.tg-layout-grid .tg-ajankohtaista .tg-item-excerpt {
  opacity: 0;
}
@media (min-width: 1200px) {
  .tg-layout-grid .frame {
    max-height: 380px;
  }
}
@media (min-width: 980px) and (max-width: 1199px) {
  .tg-layout-grid .frame {
    max-height: 380px;
  }
}
@media (min-width: 768px) and (max-width: 979px) {
  .tg-layout-grid .frame {
    min-height: 400px;
  }
}
@media (max-width: 480px) {
  .tg-layout-grid .frame .tg-item-excerpt {
    display: none;
  }
}
.tg-layout-grid .frame .icon {
  display: block;
  width: 80px;
  height: 80px;
  padding: 0;
  background: var(--wpr-bg-46b34340-8674-437c-87cd-534f6759cb8b) 0 0 no-repeat;
}
@media (min-width: 768px) and (max-width: 979px) {
  .tg-layout-grid .frame .icon {
    display: none;
  }
}
.tg-layout-grid .frame .tg-item-inner {
  background: #FFF;
  padding: 30px 50px 0px 70px;
}
@media (max-width: 1199px) {
  .tg-layout-grid .frame .tg-item-inner {
    padding: 20px 50px 0px 30px;
  }
}
.tg-layout-grid .frame .tg-item-inner .frame-element {
  width: 100px;
  height: 100px;
  background: #1c8559;
  position: absolute;
  z-index: -1;
  display: none;
}
.tg-layout-grid .frame .tg-item-inner .frame-element:nth-child(1) {
  left: -20px;
  top: -20px;
}
.tg-layout-grid .frame .tg-item-inner .frame-element:nth-child(2) {
  right: -20px;
  top: -20px;
}
.tg-layout-grid .frame .tg-item-inner .frame-element:nth-child(3) {
  left: -20px;
  bottom: -20px;
}
.tg-layout-grid .frame .tg-item-inner .frame-element:nth-child(4) {
  right: -20px;
  bottom: -20px;
}
.tg-layout-grid .frame .cat-icon {
  display: block;
  float: left;
  width: 100px;
}
.tg-layout-grid .frame .cat-icon.small {
  width: 60px;
  margin-right: 20px;
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  .tg-layout-grid .frame .cat-icon {
    display: none;
  }
}
.tg-layout-grid .frame .tg-item-title-wrapper {
  display: block;
}
.tg-layout-grid .frame .tg-item-media-holder {
  position: relative;
  width: 100%;
  height: 1px;
  padding-bottom: 52.4%;
}
.tg-layout-grid .frame .tg-meta .tg-item-date {
  padding: 1.25em 0 0;
  display: inline-block;
  color: #000;
}
.tg-layout-grid .frame .tg-meta .tg-item-date:after {
  content: "•";
  padding: 0 10px;
}
.tg-layout-grid .frame .tg-meta .tg-blog-name {
  color: #0c7a60;
  display: inline-block;
  font-size: 13px;
  line-height: 18px !important;
  text-transform: uppercase;
}
.tg-layout-grid .frame .tg-item-title {
  margin-top: .5em;
  margin-bottom: 4px !important;
}
.tg-layout-grid .frame .cat-description {
  font-family: "Merriweather", serif;
  font-weight: 400;
  font-style: italic;
  padding-left: 30px;
  padding-right: 30px;
  color: #000;
  font-size: 14px;
  clear: both;
  padding: 0;
}
.tg-layout-grid .frame .tg-item-read-more {
  width: 125px;
  height: 54px;
  background: var(--wpr-bg-ce2c2717-e77d-4970-99fb-aa34a9f80078) 0 0 no-repeat;
  background-size: 100%;
}
.tg-layout-grid .frame .tg-item-read-more a {
  display: block;
  width: 100%;
  height: 100%;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.tg-layout-grid .frame .tg-item-read-more:hover {
  opacity: 0.8;
}
@media (max-width: 1199px) {
  .tg-layout-grid .frame .tg-item-read-more {
    width: 100px;
    height: 43px;
    background-size: contain;
  }
}
@media (min-width: 768px) and (max-width: 979px) {
  .tg-layout-grid .frame .tg-item-read-more {
    background: none;
  }
  .tg-layout-grid .frame .tg-item-read-more a {
    text-indent: 0;
  }
}
.tg-layout-grid .frame:hover .tg-item-media-holder {
  display: none;
}
.tg-item.x-1-4,
.tg-item.cat-column.no-gutter {
  position: initial !important;
  width: 25% !important;
  min-height: 400px !important;
  float: left !important;
}
@media (max-width: 1024px) {
  .tg-item.x-1-4,
  .tg-item.cat-column.no-gutter {
    width: 50% !important;
    min-height: 450px !important;
  }
}
@media (max-width: 600px) {
  .tg-item.x-1-4,
  .tg-item.cat-column.no-gutter {
    width: 100% !important;
    min-height: 380px !important;
  }
}
@media (min-width: 768px) and (max-width: 979px) {
  .tg-item.tg-ajankohtaista,
  .tg-item.cat-column {
    min-height: 440px;
  }
}
@media (min-width: 980px) {
  .tg-item.tg-ajankohtaista,
  .tg-item.cat-column {
    min-height: 410px;
  }
}
.custom-tg-header {
  background: #fbfaf8;
}
.custom-tg-header h2.h-custom-headline {
  background: var(--wpr-bg-eebe8b5a-9b65-436a-8679-7016c635e090) 30px 20px no-repeat;
  margin-bottom: 0 !important;
  padding: 30px 0px 30px 150px !important;
}
.tg-nav-color {
  color: #252525;
  font-family: "Merriweather";
  font-style: italic;
}
.tg-filter {
  padding: 5px 15px;
}
@media (max-width: 640px) {
  .tg-filter {
    padding: 5px;
  }
}
.tg-filter-active span {
  color: #bab17d !important;
  font-weight: bold;
}
.tg-grid-area-top1 {
  background: #fbfaf8;
  padding-bottom: 30px;
  margin-bottom: 50px;
}
.tg-filters-holder {
  padding-left: 120px;
  margin: 0;
}
@media (max-width: 767px) {
  .tg-filters-holder {
    padding-left: 0px;
  }
}
.blog-grid .tg-grid-holder {
  padding-top: 70px;
  background: var(--wpr-bg-61be892c-bd75-4f59-a612-f5fa59ee0d6e) top center no-repeat;
}
.tg-ajankohtaista {
  text-align: center;
  backface-visibility: hidden;
  transform: perspective(1px) translateZ(0);
}
.tg-bottom-holder {
  transition: all 0.25s ease-in-out;
}
.tg-item-read-more {
  width: 110px;
  height: 48px;
  margin: 0 auto;
  background: var(--wpr-bg-7c9b2cdc-90cf-4b4e-aaa1-87d8f2aa0efc) 0 0 no-repeat;
  background-size: 100%;
}
.tg-item-read-more a {
  display: block;
  width: 100%;
  height: 100%;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.tg-item-read-more:hover {
  opacity: 0.8;
}
h2.h-custom-headline {
  font-family: "Merriweather Sans";
  font-weight: bold;
  text-transform: uppercase;
  color: #1c8559;
  font-size: 18px;
  padding-bottom: 30px;
}
h2.h-custom-headline.icon-wave {
  padding-left: 60px;
  background: var(--wpr-bg-7bbbca0f-a198-4aee-bfa7-861f43e60c0c) 0 0 no-repeat;
}
h2.h-custom-headline.icon-search {
  background: #fbfaf8 var(--wpr-bg-1e3f6e88-b972-44c6-9efe-88f6fdc95c4e) 30px 20px no-repeat;
  margin-bottom: 0 !important;
  padding: 30px 0px 30px 150px !important;
}
@media (max-width: 640px) {
  h2.h-custom-headline.icon-search {
    background: #fbfaf8;
    padding: 20px !important;
  }
}
.slider-title {
  color: #000;
  font-size: 42px;
  line-height: 50px;
  font-weight: 800;
  border-bottom: 1px solid #e1e1df;
  margin-bottom: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
  font-family: "Merriweather Sans";
  padding-right: 50px;
  padding-left: 120px;
  background: var(--wpr-bg-942b33c6-de75-40ad-a3e7-c3e4a54b81f9) 10px 0px no-repeat;
}
.slider-title.slider-title-hero {
  font-size: 64px !important;
  line-height: 64px !important;
  background: none;
  padding-left: 0px !important;
  border-bottom: 0;
}
@media (max-width: 960px) {
  img.rs-hero {
    height: auto !important;
    width: 100% !important;
  }
}
.slider-excerpt {
  text-transform: none;
  font-size: 16px !important;
  font-weight: 400;
  font-style: italic;
  font-family: "Merriweather";
  padding-right: 50px;
}
.slider-excerpt.slider-excerpt-hero {
  font-size: 18px !important;
  line-height: 1.4;
  padding-left: 180px;
  padding-right: 150px;
  background: var(--wpr-bg-69a12f78-f430-4c42-8c45-4c64dd0dbcc4) 10px 0px no-repeat;
  min-height: 150px;
}
@media (max-width: 960px) {
  .slider-excerpt.slider-excerpt-hero {
    padding: 0 50px 0 15px  !important;
    background: none;
    max-height: none;
  }
}
.tparrows {
  background: #FFF;
  opacity: 1;
}
.tparrows:before {
  color: #000;
}
.tparrows:hover {
  background: #000;
}
.tparrows:hover:before {
  color: #bab17d;
}
.custom-element {
  position: relative;
  padding-bottom: 60px;
}
.custom-element .cat-heading {
  font-size: 15px;
  font-family: "Merriweather Sans", sans-serif;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  padding-left: 30px;
  padding-right: 30px;
}
.custom-element hr {
  width: 80%;
  margin: 5px auto;
}
.custom-element .cat-icon {
  padding: 20px;
}
.custom-element .cat-icon.lapset,
.custom-element .cat-icon.lapsiperheet {
  background: #4b338c;
  /* Old browsers */
  background: -moz-linear-gradient(45deg, #4b338c 0%, #8e328b 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(45deg, #4b338c 0%, #8e328b 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(45deg, #4b338c 0%, #8e328b 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4b338c', endColorstr='#8e328b', GradientType=1);
  /* IE6-9 fallback on horizontal gradient */
}
.custom-element .cat-icon.lapset i,
.custom-element .cat-icon.lapsiperheet i {
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDUuNSA0NS40IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0NS41IDQ1LjQ7IiB4bWw6c3BhY2U9InByZXNlcnZlIj48c3R5bGUgdHlwZT0idGV4dC9jc3MiPi5zdDB7ZmlsbDojRkZGRkZGO308L3N0eWxlPjx0aXRsZT5sYXBzZXQ8L3RpdGxlPjxnIGlkPSJMYXllcl8xXzFfIj48cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDMuMSw0NS40Yy0wLjgsMC0xLjUtMC43LTEuNS0xLjVjMC0xMi45LTUuNC0yMC4zLTEwLjktMjUuM2wtNi4xLDQuOWMxLjksMS4yLDQuMywzLjIsNC4zLDYuOGMwLjEsMy42LTIuNyw2LjctNi4zLDYuOXMtNi43LTIuNy02LjktNi4zYzAtMC4yLDAtMC4zLDAtMC41YzAtMi43LDEuNy00LjgsMy40LTYuM2wtNi4zLTNjLTQuOCw0LjMtOS4yLDEwLjQtOS4yLDIyLjljMCwwLjgtMC43LDEuNS0xLjUsMS41cy0xLjUtMC43LTEuNS0xLjVjMC0xMi42LDQuMy0xOS40LDkuNS0yNC40Yy0yLjEtMS4zLTUuOC0zLjgtNS44LTguNWMwLTQuNCwzLjUtNy45LDcuOS03LjljNC40LDAsNy45LDMuNSw3LjksNy45YzAsMy45LTIuNyw2LjMtNC44LDcuOWw2LjMsM2w2LjctNS40bDAsMGMtMi4xLTEuNi01LjMtNC01LjMtOC4zYzAtNC40LDMuNS03LjksNy45LTcuOVMzOSw0LDM5LDguM2MwLDAsMCwwLDAsMGMwLDQuNy0zLjcsNy4xLTUuOCw4LjVDMzksMjIuMyw0NC42LDMwLjMsNDQuNiw0NEM0NC42LDQ0LjgsNDQsNDUuNCw0My4xLDQ1LjR6IE0yMi4xLDI1LjVjLTEuNSwxLjItMy40LDIuOS0zLjQsNC44Yy0wLjEsMiwxLjQsMy43LDMuNCwzLjhjMiwwLjEsMy43LTEuNCwzLjgtMy40YzAtMC4xLDAtMC4zLDAtMC40QzI2LDI3LjcsMjMuNywyNi4zLDIyLjEsMjUuNUwyMi4xLDI1LjV6IE0xMi40LDYuMmMtMi43LDAtNC45LDIuMi00LjksNC45YzAsMy4xLDIuNiw0LjgsNC41LDZsMC42LDAuNGwwLjUtMC40YzIuNC0xLjgsNC4yLTMuNCw0LjItNkMxNy4zLDguNCwxNS4xLDYuMiwxMi40LDYuMnogTTMxLjEsMy40Yy0yLjcsMC00LjksMi4yLTQuOSw0LjljMCwyLjUsMS44LDQuMSw0LjIsNS45bDAuNiwwLjVsMC42LTAuNGMxLjktMS4yLDQuNS0yLjksNC41LTZDMzYsNS42LDMzLjgsMy40LDMxLjEsMy40eiIvPjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0yOS4xLDQ1LjRjLTAuOCwwLTEuNS0wLjctMS41LTEuNWMwLTMuNS0zLjctNS45LTUuMi02LjhjLTEuNSwwLjktNS4yLDMuMy01LjIsNi44YzAsMC44LTAuNywxLjUtMS41LDEuNXMtMS41LTAuNy0xLjUtMS41YzAtNi4zLDcuMy05LjcsNy42LTkuOWwwLjYtMC4zbDAuNiwwLjNjMC4zLDAuMSw3LjYsMy42LDcuNiw5LjlDMzAuNiw0NC44LDI5LjksNDUuNCwyOS4xLDQ1LjR6Ii8+PC9nPjwvc3ZnPg==);
}
.custom-element .cat-icon.nuoret,
.custom-element .cat-icon.opiskelijat {
  background: #1cccad;
  /* Old browsers */
  background: -moz-linear-gradient(45deg, #1cccad 0%, #cef2bc 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(45deg, #1cccad 0%, #cef2bc 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(45deg, #1cccad 0%, #cef2bc 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1cccad', endColorstr='#cef2bc', GradientType=1);
  /* IE6-9 fallback on horizontal gradient */
}
.custom-element .cat-icon.nuoret i,
.custom-element .cat-icon.opiskelijat i {
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNjAuNyA0OCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNjAuNyA0ODsiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+LnN0MHtmaWxsOm5vbmU7c3Ryb2tlOiNGRkY7c3Ryb2tlLXdpZHRoOjM7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTA7fTwvc3R5bGU+PHBhdGggY2xhc3M9InN0MCIgZD0iTTEuOCw0NmMwLTE0LjksNi4zLTIxLDExLjYtMjUuMmMyLjQtMS44LDQuNy0zLjgsNC43LTdjMC0zLjUtMi44LTYuMy02LjMtNi4zcy02LjMsMi44LTYuMyw2LjNjMCw0LjYsNC41LDYuNiw2LjEsNy44bDExLjEsNS44Ii8+PHBhdGggY2xhc3M9InN0MCIgZD0iTTQxLjYsNDZjMC0xNy03LjItMjQtMTMuMi0yOC45Yy0yLjgtMi4xLTUuMy00LjMtNS4zLThjMC00LDMuMi03LjIsNy4yLTcuMmgtMC40YzQsMCw3LjIsMy4yLDcuMiw3LjJjMCwzLjctMi42LDUuOS01LjMsOEMyNS43LDIyLjEsMTguNSwyOSwxOC41LDQ2Ii8+PHBhdGggY2xhc3M9InN0MCIgZD0iTTU4LjIsNDZjMC0xNC45LTYuMy0yMS0xMS42LTI1LjJjLTIuNC0xLjgtNC43LTMuOC00LjctN2MwLTMuNSwyLjgtNi4zLDYuMy02LjNjMy41LDAsNi4zLDIuOCw2LjMsNi4zYzAsNC42LTQuNSw2LjYtNi4xLDcuOGwtMTEuMSw1LjgiLz48L3N2Zz4=);
}
.custom-element .cat-icon.aikuiset,
.custom-element .cat-icon.seniorit {
  background: #ed555f;
  /* Old browsers */
  background: -moz-linear-gradient(45deg, #ed555f 0%, #ffc88c 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(45deg, #ed555f 0%, #ffc88c 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(45deg, #ed555f 0%, #ffc88c 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ed555f', endColorstr='#ffc88c', GradientType=1);
  /* IE6-9 fallback on horizontal gradient */
}
.custom-element .cat-icon.aikuiset i,
.custom-element .cat-icon.seniorit i {
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDcuOSA1MS44IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0Ny45IDUxLjg7IiB4bWw6c3BhY2U9InByZXNlcnZlIj48c3R5bGUgdHlwZT0idGV4dC9jc3MiPi5zdDB7ZmlsbDpub25lO3N0cm9rZTojRkZGO3N0cm9rZS13aWR0aDozO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEwO308L3N0eWxlPjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0yNC4yLDQ5LjdjMC0xNi41LTctMjMuMi0xMi44LTI4Yy0yLjctMi01LjItNC4yLTUuMi03LjdjMC0zLjksMy4xLTcsNy03aC0wLjNjMy45LDAsNywzLjEsNyw3YzAsMy42LTIuNSw1LjctNS4yLDcuN2MtNS44LDQuNy0xMi44LDExLjUtMTIuOCwyOCIvPjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00Niw0OS43YzAtMTguNS03LjgtMjYtMTQuNC0zMS40Yy0zLTIuMy01LjgtNC43LTUuOC04LjdjMC00LjMsMy41LTcuOCw3LjgtNy44aC0wLjRjNC4zLDAsNy44LDMuNSw3LjgsNy44YzAsNC0yLjgsNi40LTUuOCw4LjdjLTQuMSwzLjMtMTEuMSw4LjctMTMuOSwxNS44Ii8+PC9zdmc+);
}
.custom-element .cat-icon.yleinen {
  background: #084f3f;
  /* Old browsers */
  background: -moz-linear-gradient(45deg, #084f3f 0%, #4aab88 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(45deg, #084f3f 0%, #4aab88 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(45deg, #084f3f 0%, #4aab88 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#084f3f', endColorstr='#4aab88', GradientType=1);
  /* IE6-9 fallback on horizontal gradient */
}
.custom-element .cat-icon.yleinen i {
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMCIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgOTQuNiA1Ni42IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA5NC42IDU2LjY7IiB4bWw6c3BhY2U9InByZXNlcnZlIj48c3R5bGUgdHlwZT0idGV4dC9jc3MiPi5zdDB7ZmlsbDojRkZGRkZGO308L3N0eWxlPjxnPjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0xMC4yLDQyYy0yLjUtMC43LTQuOS0xLjQtNC45LTIuNmMwLjEtMSwwLjMtMS41LDIuMi0xLjVoMTF2LTQuOUg4LjJjLTUuMywwLTguMiwyLjQtOC4yLDYuNmMwLDQuOSw1LjEsNi40LDkuMiw3LjVjMi44LDAuOCw1LjEsMS41LDUuMSwyLjljMCwxLTAuNCwxLjctMi4yLDEuN0gwdjQuOWgxMi4xYzQuNiwwLDcuNS0yLjYsNy41LTYuOEMxOS43LDQ0LjYsMTQuNCw0My4xLDEwLjIsNDIiLz48cGF0aCBjbGFzcz0ic3QwIiBkPSJNNjkuNCw0My4xbC01LjMsMi43TDY0LDQ2LjJjLTEuNCw0LjUtMy4zLDUuOS03LDUuOWMtNC4xLDAtNi45LTMtNi45LTcuNGMwLTQuMywyLjktNy40LDYuOS03LjRjMi4xLDAsMy4yLDAuNSw0LjQsMS42bC0zLjEsMS43djBsLTUuOCwzLjJsMi4xLDQuMmgwbDAsMGwwLjItMC4xbDEzLjktNy43bC0wLjItMC40Yy0yLjQtNC45LTYuMy03LjUtMTEuNC03LjVjLTYuOSwwLTEyLjMsNS40LTEyLjMsMTIuM0M0NC43LDUxLjYsNTAuMSw1Nyw1Nyw1N2M2LjYsMCwxMi44LTQuOCwxMi41LTEzLjVMNjkuNCw0My4xeiIvPjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik04OS41LDMyLjl2NC41YzAsMi41LTEuMyw1LjEtNC44LDUuMWMtMy42LDAtNC44LTIuNi00LjgtNS4xdi00LjVoLTUuMXY0LjVjMCw1LjEsMi41LDguNSw3LjQsOS45djkuM2g1LjF2LTkuM2M0LjktMS40LDcuNC00LjcsNy40LTkuOXYtNC41SDg5LjV6Ii8+PHBhdGggY2xhc3M9InN0MCIgZD0iTTM1LjUsNTEuNmMtMi43LDAtMy44LTEuMy0zLjgtNC41VjMyLjloLTUuMXYxNS4xYzAsNS4xLDMuNSw4LjcsOC41LDguN2g0LjV2LTQuOUgzNS41Ii8+PHBhdGggY2xhc3M9InN0MCIgZD0iTTY4LjcsMC4xQzYyLjgsMC43LDU4LDUuNiw1Ny40LDExLjVjLTAuNiw2LjYsMy43LDEyLjMsOS44LDEzLjdjMC4yLDAsMC40LTAuMSwwLjQtMC4zdi05YzAtMC4yLTAuMS0wLjMtMC4zLTAuM2gtNS41Yy0wLjIsMC0wLjMtMC4xLTAuMy0wLjN2LTQuNmMwLTAuMiwwLjEtMC4zLDAuMy0wLjNoNS41YzAuMiwwLDAuMy0wLjEsMC4zLTAuM1Y0LjhjMC0wLjIsMC4xLTAuMywwLjMtMC4zaDQuNmMwLjIsMCwwLjMsMC4xLDAuMywwLjN2NS4zYzAsMC4yLDAuMSwwLjMsMC4zLDAuM2g1LjVjMC4yLDAsMC4zLDAuMSwwLjMsMC4zdjQuNmMwLDAuMi0wLjEsMC4zLTAuMywwLjNoLTUuNWMtMC4yLDAtMC4zLDAuMS0wLjMsMC4zdjkuNEM3OC42LDI0LjIsODMsMTksODMsMTIuOEM4Myw1LjMsNzYuNC0wLjgsNjguNywwLjF6Ii8+PC9nPjwvc3ZnPg==);
}
.custom-element .cat-icon i {
  display: block;
  width: 53px;
  height: 53px;
  margin: 0 auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
.custom-element .cat-description-long {
  display: none;
}
.custom-element .cat-cta {
  position: absolute;
  left: 50%;
  bottom: 5px;
  margin-left: -65px;
  width: 125px;
  height: 62px;
}
.custom-element .cat-cta a {
  display: block;
  width: 100%;
  height: 100%;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.custom-element .cat-cta:hover {
  opacity: 0.8;
}
.custom-element.onhover .cat-description-long {
  display: block;
}
.custom-element.onhover .cat-description {
  display: none;
}
/*
	HISTORY
*/
.history-intro {
  padding: 25px 0px 0px 50px !important;
}
@media (max-width: 600px) {
  .history-intro {
    padding: 25px 0px 0px 0px !important;
  }
}
.history-intro .history-intro-col {
  padding: 0px 0px 0px 70px !important;
  border-left: 1px solid #e8e8e8 !important;
}
@media (max-width: 600px) {
  .history-intro .history-intro-col {
    padding: 25px 0px 0px 0px !important;
    border: none !important;
  }
}
.timeline-heading-block {
  padding: 0px 0px 0px 32px !important;
}
@media (max-width: 600px) {
  .timeline-heading-block {
    padding: 0 !important;
  }
}
.timeline-heading-block .timeline-year {
  width: 70px;
  float: left;
}
@media (max-width: 600px) {
  .timeline-heading-block .timeline-year {
    float: none;
  }
}
.timeline-heading-block .timeline-year p {
  font-family: "Merriweather-Bold", serif;
  color: #272727;
  letter-spacing: 0.1em;
}
.timeline-heading-block .timeline-heading {
  float: left;
  margin-left: 19px;
}
@media (max-width: 600px) {
  .timeline-heading-block .timeline-heading {
    float: none;
    margin-left: 0;
  }
}
.timeline-heading-block .timeline-heading:after {
  clear: both;
}
.timeline-heading-block .timeline-heading p {
  font-family: "Merriweather Sans", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1c8559;
}
.timeline-content-block {
  padding: 0px 0px 0px 50px !important;
}
@media (max-width: 600px) {
  .timeline-content-block {
    padding: 0 !important;
  }
}
.timeline-content-block .timeline-content-col {
  padding: 0px 0px 0px 70px !important;
  border-left: 1px solid #e8e8e8 !important;
}
@media (max-width: 600px) {
  .timeline-content-block .timeline-content-col {
    padding: 0px 0px 0px 0px !important;
    border-left: none  !important;
  }
}
.timeline-content-block .timeline-content-col .timeline-content p {
  color: #272727;
}
.timeline-content-block .timeline-content-col .timeline-content p em {
  font-family: "Merriweather", serif;
  font-style: italic;
}
.slider-cat {
  width: 60px;
  height: 60px;
  display: block;
  float: right;
}
.slider-cat i {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.slider-cat i span {
  display: none;
}
.cat-icon i {
  display: block;
  background-repeat: no-repeat;
  background-position: left top;
  background: var(--wpr-bg-db812f5d-745f-404e-bccf-db44c8309def) 0 0 no-repeat;
}
.cat-icon i.kala {
  background-image: var(--wpr-bg-aee134ca-3d8b-42b2-b0e6-ef8a7b8e067f);
  background-size: 60px 60px;
}
.cat-icon i.pikari {
  background-image: var(--wpr-bg-cca6f863-03a4-42c2-adf9-487ae1e1b6c1);
  background-size: 60px 60px;
}
.cat-icon i.aallot {
  background-image: var(--wpr-bg-28d09591-7ae8-4835-823c-b537a309a2a0);
  background-size: 60px 60px;
}
.cat-icon i.ankkuri {
  background-image: var(--wpr-bg-916f3d4d-24a2-408d-8919-bd5d9abef366);
  background-size: 60px 60px;
}
.cat-icon i.henkilo {
  background-image: var(--wpr-bg-672666fa-e6f4-427b-856b-8de69817f8a9);
  background-size: 60px 60px;
}
.cat-icon i.kolminaisuus {
  background-image: var(--wpr-bg-8374f87e-b5fb-4e82-9f66-83ff7bf08454);
  background-size: 60px 60px;
}
.cat-icon i.koti {
  background-image: var(--wpr-bg-d89b1220-8fed-4922-83f5-74660d3e0445);
  background-size: 60px 60px;
}
.cat-icon i.kynttila {
  background-image: var(--wpr-bg-ebbbd4fe-10ad-4125-92de-0be5f21106fc);
  background-size: 60px 60px;
}
.cat-icon i.kyna {
  background-image: var(--wpr-bg-fa0a7b08-f7f5-4b35-9c60-ed1767cdaca1);
  background-size: 60px 60px;
}
.cat-icon i.lahetystyo {
  background-image: var(--wpr-bg-a78972f3-8d87-4994-8bcb-8b2392306b43);
  background-size: 60px 60px;
}
.cat-icon i.musiikki {
  background-image: var(--wpr-bg-4df1c66d-19c7-4a8b-9e45-f5a953759545);
  background-size: 60px 60px;
}
.cat-icon i.nuoli {
  background-image: var(--wpr-bg-757e2f7e-35a8-45ab-ae5f-3c43fe56989b);
  background-size: 60px 60px;
}
.cat-icon i.opiskelu {
  background-image: var(--wpr-bg-8433ec52-ae5b-4506-ab8e-c3cdbbed0d6e);
  background-size: 60px 60px;
}
.cat-icon i.otayhteytta {
  background-image: var(--wpr-bg-de320ca8-39a0-42b1-a01f-3664f6b1134b);
  background-size: 60px 60px;
}
.cat-icon i.raamattu {
  background-image: var(--wpr-bg-ad9bcbfe-6d5f-48f4-804c-7df6504cf196);
  background-size: 60px 60px;
}
.cat-icon i.sauva {
  background-image: var(--wpr-bg-416eef84-0804-44be-9da9-2aef49ce3c9a);
  background-size: 60px 60px;
}
.cat-icon i.sydan {
  background-image: var(--wpr-bg-14449b82-b064-4852-ab74-04b1cf5c6fab);
  background-size: 60px 60px;
}
h1.sley-forms {
  font-size: 32px;
  margin-top: 0;
  margin-bottom: 30px;
}
.entry-wrap {
  border-radius: 0px !important;
}
.entry-wrap.two-col-form {
  padding: 40px;
}
.entry-wrap.two-col-form .x-column.x-1-2 {
  width: 46%;
}
@media (max-width: 767px) {
  .entry-wrap.two-col-form .x-column.x-1-2 {
    width: 100%;
    float: none;
  }
}
.ninja-forms-form .ninja-forms-required-items {
  margin: 20px 0;
}
.ninja-forms-form label {
  margin-bottom: 5px;
  font-weight: 400 !important;
  color: #848484;
}
.ninja-forms-form .sley-form-text {
  border-radius: 4px !important;
}
.ninja-forms-form .sley-form-textarea {
  border-radius: 4px !important;
  resize: none !important;
}
.ninja-forms-form select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border-radius: 4px !important;
  padding: 10px !important;
  background: var(--wpr-bg-6c9cbbab-7008-4e00-bb17-a7d704432fe1) no-repeat 98% 50% !important;
  background-size: 10px !important;
}
.ninja-forms-form input.ninja-forms-field {
  border-radius: 4px !important;
  padding: 10px !important;
}
.ninja-forms-form input[type="submit"] {
  border-radius: 4px !important;
  background-color: #4AAB88 !important;
  color: #fff;
  font-weight: 400;
  margin-bottom: 0.25em;
  text-shadow: none !important;
  box-shadow: none !important;
  border-radius: none !important;
  border: none !important;
  padding: 0.763em 1.725em 0.813em !important;
}
.ninja-forms-form input[type="submit"]:hover {
  background-color: #458a71 !important;
}
.ninja-forms-required-items {
  margin: 20px 0;
}
label {
  margin-bottom: 5px;
  font-weight: 400 !important;
}
.sley-form-text {
  border-radius: 4px !important;
}
.sley-form-textarea {
  border-radius: 4px !important;
  resize: none !important;
}
select.sley-form-select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border-radius: 4px !important;
  padding: 10px !important;
  background: var(--wpr-bg-6214ec19-56f1-40e7-90bc-3cd59a3f2b3f) no-repeat 98% 50% !important;
  background-size: 10px !important;
}
.sley-form-input {
  border-radius: 4px !important;
  padding: 10px !important;
}
.sley-form-submit {
  border-radius: 4px !important;
  background-color: #4AAB88 !important;
  color: #fff;
  font-weight: 400;
  margin-bottom: 0.25em;
  text-shadow: none !important;
  box-shadow: none !important;
  border-radius: none !important;
  border: none !important;
  padding: 0.763em 1.725em 0.813em !important;
}
.sley-form-submit:hover {
  background-color: #458a71 !important;
}
.sley-form-general h1 {
  font-size: 32px;
  margin-top: 0;
  margin-bottom: 30px;
}
.sley-form-general label {
  margin-bottom: 5px;
  font-weight: 400 !important;
}
.sley-form-general textarea {
  border-radius: 4px !important;
  resize: none !important;
}
.sley-form-general select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border-radius: 4px !important;
  padding: 10px !important;
  background: var(--wpr-bg-85109bdc-853f-4f10-912a-8e42a39479e0) no-repeat 98% 50% !important;
  background-size: 10px !important;
}
.sley-form-general input {
  border-radius: 4px !important;
  padding: 10px !important;
}
.sley-form-general input[type="button"],
.sley-form-general input[type="submit"],
.sley-form-general button {
  border-radius: 4px !important;
  background-color: #4AAB88 !important;
  color: #fff;
  font-weight: 400;
  margin-bottom: 0.25em;
  text-shadow: none !important;
  box-shadow: none !important;
  border-radius: none !important;
  border: none !important;
  padding: 0.763em 1.725em 0.813em !important;
}
.sley-form-general input[type="button"]:hover,
.sley-form-general input[type="submit"]:hover,
.sley-form-general button:hover {
  background-color: #458a71 !important;
}
/*
	Siionin kannel
 */
.siion-intro-top {
  padding: 30px 0 0 30px;
}
.siion-intro-bottom {
  padding: 25px 35px 25px 50px !important;
}
.siion-intro-bottom .siion-intro-col {
  padding: 0px 0px 0px 70px !important;
  border-left: 1px solid #e8e8e8 !important;
}
.song-search-wrap {
  background: #0c7a60;
  padding: 40px 20px;
  background-image: var(--wpr-bg-d9b77cdc-e533-4b4d-869c-6adc251115cd);
  background-repeat: no-repeat;
}
.song-search-wrap .song-search-top img {
  float: left;
}
.song-search-wrap .song-search-top p.search-intro {
  text-transform: uppercase;
  color: #fff;
  margin-left: 30px;
  float: left;
  margin-top: 3px;
}
#hae_laulut {
  margin-top: 30px;
  padding: 20px !important;
  border: 0;
  font-family: "Merriweather", serif;
  font-style: italic;
  font-weight: normal;
  width: 50%;
  background-image: var(--wpr-bg-a717c252-4bb6-496b-986f-5881a7c59b41);
  background-repeat: no-repeat;
  background-position: 98% 50%;
}
@media (max-width: 870px) {
  #hae_laulut {
    width: 100%;
  }
}
@media (max-width: 870px) {
  input#hae_laulut::-webkit-input-placeholder {
    font-size: 12px;
  }
}
@media (max-width: 870px) {
  input#hae_laulut::-moz-placeholder {
    font-size: 12px;
  }
}
@media (max-width: 870px) {
  input#hae_laulut:-ms-input-placeholder {
    font-size: 12px;
  }
}
@media (max-width: 870px) {
  input#hae_laulut:-moz-placeholder {
    font-size: 12px;
  }
}
ul.ui-autocomplete {
  display: none !important;
}
.laulut-wrap #laulut {
  list-style-type: none;
  border-left: 1px solid #e5e5e5;
  padding: 0 20px 20px 40px;
  margin-top: 20px;
}
.x-pagination a,
.x-pagination span {
  box-shadow: none !important;
  color: #bab17d  !important;
}
.x-pagination a.current,
.x-pagination span.current {
  text-shadow: none !important;
  color: #000 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.x-pagination a.prev-next,
.x-pagination span.prev-next {
  color: #000 !important;
}
/*
	/Siionin kannel
 */
.siion-container-top {
  padding-bottom: 25px;
}
.siion-heading h1.h-custom-headline.cs-ta-right.h1 {
  margin-top: 0;
  font-weight: 900;
  font-size: 38px;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .siion-heading h1.h-custom-headline.cs-ta-right.h1 {
    float: left;
    text-align: left !important;
  }
}
.siion-heading .img-link {
  float: right;
  margin-top: 30px;
}
@media (max-width: 767px) {
  .siion-heading .img-link {
    float: left;
  }
}
.siion-content {
  border-left: 1px solid #e5e5e5;
  padding-left: 4%;
}
.siion-content .siion-navi {
  margin-top: 30px;
  float: left;
}
.siion-content .siion-navi img {
  margin: 0;
}
.siion-content .siion-navi.forward {
  margin-left: 65px;
}
@media (max-width: 810px) {
  .siion-content .siion-navi.forward {
    margin-left: 0;
    width: 100%;
    float: left;
  }
}
.siion-bottom {
  margin: 30px 0;
}
@keyframes mouse-wheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(5px);
  }
}
body .x-slider-scroll-bottom {
  display: none;
}
@media (min-width: 768px) {
  body .x-slider-container.below {
    padding-bottom: 50px;
  }
  body .x-slider-scroll-bottom.bottom {
    bottom: 7px;
  }
  body .x-slider-scroll-bottom.center {
    margin-left: -12px;
  }
  body .x-slider-scroll-bottom {
    display: block;
    height: 34px;
    width: 24px;
    border-radius: 11px;
    border: 2px solid #000;
  }
  body .x-slider-scroll-bottom:after {
    content: '';
    display: block;
    height: 5px;
    width: 2px;
    margin: 7px auto;
    background: #000;
    position: relative;
    animation: mouse-wheel 1.5s ease infinite;
  }
  body .x-slider-scroll-bottom i {
    display: none !important;
  }
}
.x-slider-scroll-bottom.above:hover {
  background-color: transparent;
  border: transparent;
}
.post-nosto .single-content {
  display: block;
  position: relative;
  background: #FFF;
}
.post-nosto .single-content .single-content-container .single-content-left {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 50%;
  padding: 0 !important;
}
.post-nosto .single-content .single-content-container .single-content-left img {
  display: none;
}
@media (max-width: 979px) {
  .post-nosto .single-content .single-content-container .single-content-left {
    position: relative;
    background: #FFF !important;
    width: 100%;
    height: auto;
  }
  .post-nosto .single-content .single-content-container .single-content-left img {
    display: block;
  }
}
.post-nosto .single-content .single-content-container .single-content-right {
  width: 50%;
  height: 100%;
  margin-left: 50%;
}
@media (max-width: 979px) {
  .post-nosto .single-content .single-content-container .single-content-right {
    width: 100%;
    margin-left: 0;
  }
}
@media (max-width: 979px) {
  .post-nosto .single-content {
    background: #FFF;
  }
  .post-nosto .single-content .bg-img {
    display: block;
    width: 100%;
    height: 200px;
  }
}
