@charset "UTF-8";

/*
Theme Name: Selekti 2025
Theme URI: https://www.selekti.fi
Author: Ville Nurmi
Author URI: https://www.selekti.fi/
Version: 1.0
Text Domain: selekti_theme
*/

/*
MAIN COLORS
Background: #0A0E15
Level1 background: #121A27
Level2 background and lines: #212F46
Heading texts: #E6E6E6
Main texts: #B1B1B1
Secondary texts: #707A9B
Blue: #06B5F9
Purple: #C258DD
*/

:root{
	/* texts */
	--title-font: bree, sans-serif;
	--text-font: roboto, sans-serif;
	--title-secondary: #07dd6c;
	--title: rgba(255,255,255,0.9); /*#E2F7EB;*/
	--text: rgba(255,255,255,0.9); /*#e2f7eb; /*on dark background*/
	--text-on-purple: #EBE2F7;
	--text-secondary: rgba(255,255,255,0.5);/*#648774;*/
	--text-lightbg: #054941;
	--link: #07dd6c;
	--link-hover: #E2F7EB;
	/* backgrounds */
	--bg: #150c35;
	--bg-light: #E2F7EB;
	--bg-level1: rgba(255,255,255,0.05);/*#1b133b;/*#1d2838;*/
	--bg-level2: rgba(255,255,255,0.15);
	/* lines */
	--line: rgba(255,255,255,0.05);
	--strong-line: rgba(255,255,255,0.35);
	/* buttons */
	--button-bg: #07dd6c;
	--button-bg-hover: #054941;
	--button-text: #150c35;
	--button-text-hover: #fff;
	/* brand colors */
	--brightgreen: #07dd6c;
	--darkgreen: #054941;
	--brightpurple: #a189f7;
	--darkpurple: #402b99;
}


/* ==========================================================================
Table of Contents:

BASE STYLES
TEXT STYLING
IMAGE STYLING
BUTTONS
MARGINS
GRIDS
FLEX
MOBILE VS DESKTOP
HEADER
FRONT PAGE
CONTENT PAGE
FOOTER
MISCELLANEOUS

========================================================================== */

/* ===========
BASE STYLES
============= */

.clear{
	clear: both;
}

.group:after {
	content: "";
	display: table;
	clear: both;
}

*{
	margin: 0;
	padding: 0;
	border: 0;
}

body, html{
	height: 100%;
	width: 100%;
}

html {
  scroll-behavior: smooth;
}

body{
	font-family: var(--text-font);
  	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	font-size: 16px;
  	 line-height: 1.6em;
    color: var(--text);
	background: var(--bg);
}

body#tumma{
	background: var(--bg);
}

body#vihrea{
	background: var(--darkgreen);
}

body#violetti{
	background: var(--darkpurple);
}

.vihrea{
	background: var(--darkgreen);
}
.violetti{
	background: var(--darkpurple);
}

.anchorcover{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	z-index: 100;
}

.error404 #thumbnail, .error404 #maincontent{
	margin-bottom: 0px;
}

.error404 footer{
	margin-top: 0;
}

.alaraita{
	border-bottom: 2px solid var(--line);
	padding-bottom: 10px;
}

.sisennys {
padding: 0 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.border-box{ 
	-webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

@media (min-width: 992px){
body{
	font-size: 16px;
	line-height: 28px;
}
}

/* ===========
TEXT STYLING 
============= */

h1, h2, h3, h4, .module-title-h2, .module-title-h3, .module-title-h4{
	font-family: var(--title-font);
	display: block;
	margin-bottom: 25px;
	line-height: 1.2em;
	font-weight: 700;
	color: var(--title);
}

.title-secondary{
	color: var(--title-secondary);
	font-style: italic;
	font-weight: 600;
}

#violetti .title-secondary{
	color: var(--brightpurple);
	font-style: italic;
	font-weight: 600;
}

h1{
	font-size: 36px;
}	

h2, .module-title-h2{
	font-size: 28px;
}	

h3, .module-title-h3{
	font-size: 24px;
}

h4, .module-title-h4{
	font-size: 21px;
}

.otsikkopalkki{
	margin-top: 20px;
	margin-bottom: 40px;
}

p{
    margin-bottom: 25px;
}

footer p:last-child{
	margin-bottom: 0;
}

strong{
color: var(--title);	
font-weight: 700;	
}

a{
	text-decoration: underline;
	font-weight: 700;
	color: var(--link);
	-webkit-transition: color 500ms ease;
	-moz-transition: color 500ms ease;
	-o-transition: color 500ms ease;
	transition:         color 500ms ease;
}

a:hover{
	text-decoration: underline;
	color: var(--link-hover);
}

li::marker {
  color: var(--brightgreen);
}

.tarkenne{
	color: var(--text-secondary);
	font-size: 14px;
	display: block;	
}

.ingressi{
	font-size: 18px;
	line-height: 1.6em;
}

a.nuolilinkki{
	display: inline-block;
	text-align: left;
	color:  var(--title);
	text-decoration: none;
	background: url('images/arrow-right-circle-green.svg') no-repeat 5px center;
	background-size: 20px 20px;
	padding-left: 35px;
	line-height: normal;
	transition: .2s;
}

a.nuolilinkki:hover, .tyonosto-palsta:hover a.nuolilinkki{
	background: url('images/arrow-right-circle-white.svg') no-repeat 5px center;
	text-decoration: underline;
	background-size: 20px 20px;
	transition: .2s;
}

.toimintakehoite a.nuolilinkki{
	background: url('images/arrow-right-circle-darkgreen.svg') no-repeat 5px center;
	background-size: 20px 20px;
	color:  var(--darkgreen);
}

#violetti .toimintakehoite a.nuolilinkki{
	background: url('images/arrow-right-circle-darkpurple.svg') no-repeat 5px center;
	background-size: 20px 20px;
	color:  var(--darkpurple);
}

.toimintakehoite  a.nuolilinkki:hover, #violetti .toimintakehoite  a.nuolilinkki:hover{
	background: url('images/arrow-right-circle-white.svg') no-repeat 5px center;
	text-decoration: underline;
	background-size: 20px 20px;
	transition: .2s;
}

.toimintakehoite .tarkenne{
	color: var(--darkgreen);
}

#violetti .toimintakehoite .tarkenne{
	color: var(--darkpurple);
}

footer a.nuolilinkki:last-child{
	margin-bottom: 0;
}

.centered{
	text-align: center;
	margin-left: auto;
	margin-right: auto;	
}

#content ul, #content ol{
	margin-left: 25px;
	margin-bottom: 25px;
}

::selection { 
	background: var(--brightgreen)!important; 
	color: var(--darkgreen)!important;
	-webkit-text-fill-color: var(--darkgreen);
}

#violetti ::selection { 
	background: var(--brightpurple)!important; 
	color: var(--darkpurple)!important;
	-webkit-text-fill-color: var(--darkpurple);
}

@media (min-width: 768px){
h1{
	font-size: 48px;
	
}	
}

@media (min-width: 992px){
	
.ingressi{
	font-size: 21px;
}
	
.keskitetty{
	text-align: center;
	margin-left: auto;
	margin-right: auto;	
}
	
h1{
	font-size: 50px;
}
	
/*.intro-otsikko h1{
		font-size: 65px;
}*/	
	
h2, .module-title-h2{
	font-size: 42px;
}	
		
h3, .module-title-h3{
	font-size: 32px;
}
	
h4, .module-title-h4{
	font-size: 24px;
}	
	
ul.list-divided{
	-moz-column-count: 3;
    -moz-column-gap: 40px;
    -webkit-column-count: 3;
    -webkit-column-gap: 40px;
    column-count: 3;
    column-gap: 40px;
	}	
}

@media (min-width: 1200px){
h1{
	font-size: 65px;
}
	
/*.intro-otsikko h1{
		font-size: 80px;
}*/			
}
	
@media (min-width: 1680px){
/*h1{
	font-size: 80px;
}*/
	
.intro-otsikko h1{
	font-size: 80px;
	margin-bottom: 40px
}		
	
h2, .module-title-h2{
	font-size: 40px;
}
	
h3, .module-title-h3{
	font-size: 28px;
}
	
h4, .module-title-h4{
	font-size: 21px;
}		
	
}

@media(min-width: 1920px){
.intro-otsikko h1{
	font-size: 100px;
	margin-bottom: 60px
}		
}

/* ===========
IMAGE STYLING
============= */

#thumbnail img, #thumbnail img.size-large{
	display: block;
	width: 100%!important;
	height: auto;
	border-radius: 20px;
}

#thumbnail{
	margin-bottom: 20px;
}

#contentarea .alignright.size-full, #contentarea .alignleft.size-full{
	width: 100%;
	height: auto;
	float: none;
}
.wp-block-image{
	margin-bottom: 25px!important;
}

.is-style-rounded img{
	border: 5px solid #fff;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.perussisalto-palsta .wp-caption{
	width: 100%!important;
}

.wp-caption img{
	margin-bottom: 10px;
}
.wp-caption-text{
	font-size: 14px;
	line-height: 1.6em;
}

.size-full img, img.size-full{
	display: block;
	width: 100%;
	height: auto;
	line-height: 0;
}

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
	max-width: 100%;
	height: auto;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
	max-width: 100%;
	height: auto;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	height: auto;
}

/* pikkukuvien koko ei skaalaudu */
#contentarea .wp-caption img.size-medium, #contentarea .wp-caption img.size-thumbnail, #contentarea .wp-caption img.size-large, #contentarea img.size-large, #contentarea img.size-medium, #contentarea img.size-thumbnail, .perussisalto img.size-large, .perussisalto img.size-medium, .perussisalto img.size-thumbnail, #contentarea .size-large img, #contentarea .size-medium img, #contentarea .size-thumbnail img, .perussisalto .size-large img, .perussisalto .size-medium img, .perussisalto .size-thumbnail img{
	display: block;
	max-width: 100%!important;
	width: auto;
	height: auto!important;
	line-height: 0;
}

@media (min-width: 992px){
#thumbnail{
	margin-bottom: 40px;
}
}

/* =====
BUTTONS 
======== */

a.painike, .painike a, a .painike, a.toissijainen-painike, .toissijainen-painike a, a .toissijainen-painike{
	display: inline-block;
	color: var(--text-lightbg);
	background: var(--brightgreen);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	padding: 5px 20px;
	-webkit-border-radius: 28px;
	-moz-border-radius: 28px;
	border-radius: 28px;
	transition: .2s;
}

#violetti a.painike, #violetti .painike a, #violetti a .painike, #violetti a.toissijainen-painike, #violetti .toissijainen-painike a, #violetti a .toissijainen-painike{
	color: var(--button-text);
	background: var(--brightpurple);
}

a.toissijainen-painike, .toissijainen-painike a, a .toissijainen-painike{
	background: none;
	border: 2px solid var(--brightgreen);
	color: var(--brightgreen);
}

#violetti a.toissijainen-painike, #violetti .toissijainen-painike a, #violetti a .toissijainen-painike{
	background: none;
	border: 2px solid var(--brightpurple);
	color: var(--brightpurple);
}

a.painike:hover, a .painike:hover, .painike a:hover, .ohjausnosto-wrap:hover a.painike, a.toissijainen-painike:hover, .toissijainen-painike a:hover, a .toissijainen-painike:hover{
	text-decoration: none;
	transform: scale(1.05);
	transition: .2s;
}

@media (min-width: 1680px){
	a.painike, .painike a, a .painike, a.toissijainen-painike, .toissijainen-painike a, a .toissijainen-painike{
		font-size: 16px;
	}
}

/* ========
MARGINS 
=========== */			

.padding-small{
	padding-top: 25px;
	padding-bottom: 25px;
}

.padding-medium{
	padding-top: 40px;
	padding-bottom: 40px;
}

.padding-large{
	padding-top: 90px;
	padding-bottom: 90px;
}

.padding-top{
	padding-top: 40px;
}

.padding-top-medium{
	padding-top: 40px;
}

.padding-bottom{
	padding-bottom: 40px;
}

.padding-bottom-small{
	padding-bottom: 25px;
}
@media (min-width: 992px){	
	
.narrow66{
	width: 66.6665%;
}
	
.narrow75{
	width: 75%;
}
	
.padding-small{
	padding-top: 40px;
	padding-bottom: 40px;
}

.padding-medium{
	padding-top: 100px;
	padding-bottom: 100px;
}

.padding-large{
	padding-top: 140px;
	padding-bottom: 140px;
}	
	
.padding-bottom{
	padding-bottom: 60px;
}
	
.padding-top{
	padding-top: 60px;
}	
	
.padding-top-medium{
	padding-top: 100px;
}	
	
.padding-bottom-small{
	padding-bottom: 40px;
}	
}

@media (min-width: 1200px){		
.wrapper{
	margin: 0 40px;
} 			
	
}

@media (min-width: 1440px){		
.padding-bottom{
	padding-bottom: 80px;
}			
}

@media (min-width: 1680px){	
.wrapper{
	width: 1420px;
	margin: 0 auto;
} 
	
}

@media (min-width: 1920px){	
.wrapper{
	width: 1680px;
	margin: 0 auto;
} 
}

/* ===
GRIDS
====== */
footer .grid25{
	padding-bottom: 25px;
}	

footer .grid25:last-child{
	padding-bottom: 0;
}	

@media (min-width: 768px){

.grid25{
	width: 50%;
	float: left;
}	
	
footer .grid25{
	width: 100%;
}	
}
@media (min-width: 992px){
.grid50{
	width: 50%;
	float: left;	
}
	
.grid33{
	width: 33.333333%;
	float: left;
}	
		
.grid66{
	width: 66.666666%;
	float: left;
}
	
.grid75{
	width: 75%;
	float: left;
}		
	
.grid25{
	width: 25%;
	float: left;
}
	
footer .grid25{
	width: 50%;
	padding-bottom: 0;
}	
}
@media (min-width: 1200px){		
footer .grid25{
	width: 25%;
	padding-bottom: 0px;
}		
}

/* ===
FLEX
====== */
@media (min-width: 992px){
.flexboxwrap{
	display: flex;
	flex-wrap: wrap;
}	
	
.flexbox{
	display: flex;
}	
	
.flexmiddle{
	/*vertically*/
	align-items: center;
}	
	
.flexcenter{
	/*horizontally*/
	justify-content: center;
}	
}
/* ===========
MOBILE VS DESKTOP
============= */
#preload{
	display: none;
	height: 0px;
}
.desktop{
	display: none;
}

.mobile{
	display: block;
}	

@media (min-width: 992px){	
.desktop{
	display: block;
}

.mobile{
	display: none;
}	
}

/* ===========
HEADER
============= */

header{
	background-color: rgba(21,12,53,0.9);
	width: 100%;
	position: fixed;
  	top: 0;
	z-index: 1000;
}

#tumma header{
	background-color: rgba(21,12,53,0.9);
}

#vihrea header{
	background-color: rgba(5,73,65,0.9);
}

#violetti header{
	background-color: rgba(64,43,153,0.9);
}

#content{
	position: relative;
	top: 60px;
	margin-bottom: 60px;
}

#logo{
	width: 80px;
	height: 25px;
	float: left;
	display: block;
	margin: 18px 0 10px 0;
	background: url(images/selekti-logo.png) no-repeat center center;
	background-size: 80px auto;
}

#violetti #logo{
	background: url(images/selekti-logo-lila.png) no-repeat center center;
	background-size: 80px auto;
}

#logo a{
	display: block;
	width: 100%;
	height: 100%;
}

#logo img{
	width: 100%;
	height: auto;
	display: block;
}

#paavalikko{
	position: relative;
	display: inline-block;
	width: calc(100% - 80px);
}	

#paavalikko #mega-menu-wrap-header-menu .mega-menu-toggle + #mega-menu-header-menu{
	top: 60px;
	box-shadow: 0px 10px 10px 1px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 10px 10px 1px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 10px 10px 1px rgba(0,0,0,0.2);		
}

#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item:last-child{
	border-bottom: 0;
}

@media (max-width: 1023px){
#paanavigaatio{
	height: 60px!important;
	transition: .4s;
}
	
/*#paavalikko #mega-menu-wrap-header-menu .mega-menu-toggle + #mega-menu-header-menu{	
	border-bottom: 3px solid var(--brightgreen);	
}*/	
	
#mega-menu-wrap-header-menu .mega-menu-toggle + #mega-menu-header-menu{
	height: 100vh;
}		
	
.mega-menu-item > ul.mega-sub-menu {
	padding-left: 20px!important;
}
		
	
/*#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link{
	padding-left: 25px;
	padding-right: 25px;
}*/
	
#mega-menu-wrap-assistant-menu #mega-menu-assistant-menu > li.mega-menu-item.mega-hide-on-mobile > a.mega-menu-link{
	display: none;
}	
	
/*#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item	{
	border-top: 1px solid var(--strong-line);
}	
	
#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item:first-child	{
	border-top: 0;
}*/		
	
#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
	border-width: 1px;
	border-style: solid;
	border-color: var(--brightgreen)!important;
}
	
#violetti #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
	border-width: 1px;
	border-style: solid;
	border-color: var(--brightpurple)!important;
	color: var(--brightpurple)!important;
}	
	
body.mega-menu-header-menu-mobile-open{
	position: fixed;	
}
}
@media (min-width: 1024px){
#paanavigaatio{
	height: 100px;
	display: flex;
	transition: .4s;
}	
	
#paanavigaatio .navigaatiowrap{
	width: 100%;
}	
	
#content{
	position: relative;
	top: 100px;
	margin-bottom: 100px;
}
	
#logo, #violetti #logo{
	width: 100px;
	height: 32px;
	margin: 18px 0 20px 0;
	background-size: 100px auto;
}
	
#paavalikko{
	position: relative;
	right: 0;
	width: calc(100% - 120px);
	float: right;
	height: auto;
	padding: 0;
	text-align: right;
	display: block;
	transition: .4s;
}	
	
#paavalikko #mega-menu-wrap-header-menu .mega-menu-toggle + #mega-menu-header-menu{
	top: 0;
	border-top: 0;
	box-shadow: none;
}	
	
#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item {
	border-bottom: 0;
}
}


@media (min-width: 1680px){	
#paanavigaatio .navigaatiowrap{
	width: 1420px;
	margin: 0 auto;
} 
}

@media (min-width: 1920px){	
#paanavigaatio .navigaatiowrap{
	width: 1680px;
	margin: 0 auto;
} 
}
	
/* ===========
FRONT PAGE
============= */

#intro{
	width: 100%;
	position: relative;
}

.introwrap{
	min-height: calc(100vh - 120px);
	display: flex;
    flex-direction: column;      /* asetetaan allekkain */
    justify-content: space-between;
}

.introcontent{
	width: 100%;
	height: 100%;
	padding-top: 80px;
	text-align: center;
	align-self: flex-start;
}

.mobiilikuvitus{
	line-height: 0;
	width: 100%;
	height: 100%;
align-self: flex-end;
}

@media(min-width: 768px){
.intro-otsikko, .intro-sisalto{
	width: 75%;
	margin: 0 auto;
}	
}

@media(min-width: 992px){
#intro{
	background-image: url('images/etusivu-kuvitus-liike.svg');
	background-repeat: no-repeat;
	background-position: center right;
	background-size: auto 100%;
	height: calc(100vh - 100px);
	min-height: auto;
	font-size: 18px;
	line-height: 1.6em;
}
	
#intro .mobiilikuvitus{
	display: none;
}	
	
.introwrap{
	display: flex;
	align-items: center;	
	justify-content: center;
}
	
.introcontent{
	height: auto;
	text-align: left;
	width: 60%;
	padding-top: 0px;
	padding-bottom: 80px;
}
	
.intro-otsikko, .intro-sisalto{
	width: 100%;
	margin: auto;
}	
}

@media(min-width: 1200px){
.introcontent{
	width: 66%;
}
}

@media(min-width: 1680px){
/*.introwrap{
	height: calc(100vh - 120px);
}*/	
	
.introcontent p{
	margin-bottom: 40px;
}		
}

@media(min-width: 1920px){
.introcontent{
	width: 75%;
	font-size: 21px;
	line-height: 1.6em;
}
}

/* ===========
CONTENT PAGE
============= */

/* ===========
FOOTER
============= */

footer{
	padding-bottom: 80px; /* backbuttoneille tilaa */
}

.footerpalstat{
	background: var(--bg-level1);
	border-radius: 20px;
}

.footer-linkit{
	padding: 15px 0 0 20px;
}

.footer-linkit a{
	color: var(--text-secondary);
	font-weight: 400;
	font-size: 14px;
	margin-right: 20px;
	text-decoration: none;
}

.footer-linkit a:hover{
	color: var(--text);
	text-decoration: underline;
}

.page-parent a#backtoparentBtn, a#backtoparentBtn, #scroll-to-topBtn{
	display: none;
}

a#scroll-to-topBtn.showBtn {
	display: inline-block; 
	position: fixed;
	width: 40px;
	height: 40px;
	bottom: 20px; 
	right: 20px;
	z-index: 200; 
	/*border: none;
	outline: none; */
	background-color: var(--bg-level2); 
	background-image: url('images/arrow-green-up.svg'); 
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 34px 34px;
	border-radius: 20px;
	transition: .4s;
	/*transition-behavior: allow-discrete;
	opacity: 1;
	scale: 1;*/
}

#scroll-to-topBtn.buttonhidden{
	display: none;
	opacity: 0;
	scale: 0;
	width: 0;
	transition: .4s;
} 

a#scroll-to-topBtn.showBtn:hover {
  	background-color: var(--bg-level2); 
	background-image: url('images/arrow-white-up.svg'); 
	transition: .4s;
}

a#backtoparentBtn.showBtn{
	display: inline-block; 
	position: fixed;
	height: 40px;
	bottom: 20px; 
	left: 20px;
	z-index: 200; 
	text-align: left;
	font-size: 14px;
	font-weight: normal;
	line-height: 40px;
	border-radius: 20px;
	color: var(--text);
	text-decoration: none;
	background-image: url('images/arrow-left-green.svg'); 
	background-repeat: no-repeat;
	background-position: 5px center;
	background-size: 30px 30px;
	background-color: var(--bg-level2);
	padding-left: 45px;
	padding-right: 15px;
	margin-bottom: 0;
	transition: .4s;
}


a#backtoparentBtn.showBtn:hover{
	background-color: var(--bg-level2);
	background-image: url('images/arrow-left-white.svg'); 
	transition: .4s;
}

@media (min-width: 992px){	
footer{
	padding-bottom: 80px;
}

.footer-linkit{
	float: left;
	display: inline-block;
	padding: 15px 0 15px 20px;
}
	
a#scroll-to-topBtn.showBtn{
	bottom: 20px; 
	right: 20px;	
}	
a#backtoparentBtn.showBtn{	
	bottom: 20px; 
	left: 20px;
}	
}

@media (min-width: 1200px){	
footer{
	padding-bottom: 40px; /* backbuttoneiden tila pois */
}		
a#scroll-to-topBtn.showBtn{
	bottom: 40px; 
	right: 40px;	
}	
a#backtoparentBtn.showBtn{	
	bottom: 40px; 
	left: 40px;
}	
}

/* LOMAKE */

.wpcf7{
	width: 100%;
	-webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
	padding-top: 25px;
	padding-bottom: 25px;
	
}
.wpcf7 input, .wpcf7 textarea{
	font-family: var(--text-font);	
	width: calc(100% - 20px);
	padding: 5px 10px;		
	font-size: 14px;	
	border: 1px solid var(--strong-line);
	color: var(--text);	
	background: none;
}

.wpcf7 textarea{
	height: 143px;	
	border-radius: 20px;	
}

.wpcf7 input{
	height: 32px;
	line-height: 32px;
	border-radius: 20px;
}

.wpcf7 input.wpcf7-submit{	
	display: inline-block;
	color: var(--text-lightbg);
	background: var(--brightgreen);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	padding: 5px 30px;
	-webkit-border-radius: 28px;
	-moz-border-radius: 28px;
	border-radius: 28px;
	transition: .2s;
	width: auto;
	line-height: auto;
	height: auto;
}

.wpcf7 input.wpcf7-submit:hover{
	text-decoration: none;
	transform: scale(1.05);
	transition: .2s;
}

.wpcf7 .wpcf7-checkbox input{
	width: auto;
	height: auto;
	display: inherit;
	margin-right: 10px;
}

.wpcf7 label{
	font-size: 14px;
}

.wpcf7 .wpcf7-spinner{
	display: block;
}


/* ===========
MISCELLANEOUS
============= */

.piirroskuvacontainer{
	position: relative;
}

.piirroskuva{
	z-index: 2;
	position: absolute;
	top: -40px;
	right: 20px;
	width: 100px;
	height: auto;
	text-align: right;
}

.piirroskuva img{
	width: 100px;
	height: auto;
}

@media (min-width: 992px){
.piirroskuva{
	top: -60px;
	right: 50px;
	width: 200px;
}

.piirroskuva img{
	width: 200px;
	height: auto;
}
}	

@media (min-width: 1200px){
.piirroskuva{
	top: -100px;
	right: 50px;
	width: 250px;
}

.piirroskuva img{
	width: 250px;
	height: auto;
}
}	

/* Piilota heti kaikki suorat lapset niille secioneille, jotka halutaan animoida */
.animate-section > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

/* Kun JS lisää 'visible' luokan, elementti näkyy (stagger tehdään JS:llä) */
.animate-section > *.visible {
  opacity: 1;
  transform: translateY(0);
}