@charset "UTF-8";

/*
Theme Name: Nika
Theme URI: https://www.selekti.fi/
Author: Mainostoimisto Selekti
Author URI: https://www.selekti.fi/
Version: 1.0
Text Domain: Nika-theme
*/

/*
COLORS
Blue: #065fab
Dark grey: #383838
Light grey: #5a5a5a
Green: #93c955
*/

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

0. BASE STYLES
1. TEXT STYLING
2. IMAGE STYLING
3. MARGINS AND GRIDS
4. BUTTONS
5. MOBILE VS DESKTOP
6. HEADER
7. FRONT PAGE
8. CONTENT PAGE
9. FOOTER
10. MISCELLANEOUS
11. MODULES

========================================================================== */
/* ===========
0. BASE STYLES
============= */

.clear{
	clear: both;
}

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

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

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

.clear{
clear: both;	
}


/* ===========
1. TEXT STYLING 
============= */

body {
font-size: 16px;
line-height: 1.5em;
font-family: 'Open Sans', Helvetica, Arial, sans-serif;
font-weight: 400;
color: #5a5a5a;
background: #fff;
}

h1, h2, h3, h4, .module-title-h2, .module-title-h3, .module-title-h4{
	display: block;
	margin-bottom: 25px;
	line-height: 1.2em;
	-webkit-hyphens: auto;
 	 -ms-hyphens: auto;
 	 hyphens: auto;
	font-family: 'Patua One', cursive;
	font-weight: 400;
}

.otsikkopalkki .module-title-h2, .otsikkopalkki h2{
	margin-bottom: 40px;
}

h1{
	font-size: 30px;
}	

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

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

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

p, .wp-block-buttons{
    margin-bottom: 25px;
}

#contentarea table p{
margin-bottom: 0;
padding: 5px;	
}

a{
text-decoration: none;
color: #065fab;	
font-weight: 700;
}

a:hover{
text-decoration: underline;
color: #e73132;
}

a.nuolilinkki{
	background-image: url('images/svg/nuoli.svg');
	background-repeat: no-repeat;
	background-position: 0px center;
	background-size: auto 13px;
	padding: 0 0 0 20px;
}

a.nuolilinkki:hover{
color: #e73132;
text-decoration: none;
}

.centered{
	text-align: center;
}

#contentarea ul, #contentarea ol, .perussisalto ul, .perussisalto ol{
	margin-left: 25px;
	margin-bottom: 25px;
}

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

@media (min-width: 992px){
h1{
	font-size: 42px;
}	
}

@media (min-width: 1200px){
h1{
	font-size: 48px;
}
h2, .module-title-h2{
	font-size: 26px;
}	

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

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

/* ===========
2. IMAGE STYLING
============= */

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

#contentarea .alignright.size-full, #contentarea .alignleft.size-full{
	width: 100%;
	height: auto;
	float: none;
}

#contentarea .wp-caption img.size-full, #contentarea img.size-full, #contentarea .size-full img, .perussisalto 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{
	display: block;
	max-width: 100%!important;
	width: auto;
	height: auto!important;
	line-height: 0;
}

/* ===========
3. MARGINS AND GRIDS 
============= */

.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;}

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

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

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

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

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

.grid4{
	width: 50%;
	float: left;
}	
}

@media (min-width: 992px){
.grid2{
	width: 50%;
	float: left;	
}
	
.grid3{
	width: 33.333333%;
	float: left;
}	
		
.grid66{
	width: 66.666666%;
	float: left;
}
	
.grid75{
	width: 75%;
	float: left;
}	
	
.grid4{
	width: 25%;
}
	
.flexboxwrap{
	display: flex;
	flex-wrap: wrap;
}	
	
.flexbox{
	display: flex;
}	
	
.flexmiddle{
	/*vertically*/
	align-items: center;
}	
	
.flexcenter{
	/*horizontally*/
	justify-content: center;
}	
	
.flexend{
	justify-content: flex-end;
}	
	
.narrow{
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}
	
.narrow-left{
	width: 80%;		
}	
	
.padding-small{
	padding-top: 40px;
	padding-bottom: 40px;
}

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

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

@media (min-width: 1200px){		
.wrapper{
	margin: 0 5%;
} 
	
.narrow, .narrow-left{
	width: 60%;
}
	
#thumbnail{
	width: 80%;
	margin: 0 auto;
}	
	
}

@media (min-width: 1440px){		
.wrapper{
	margin: 0 6.25%;
} 		
}

@media (min-width: 1920px){	
.wrapper{
	width: 1680px;
	margin: 0 auto;
} 
}
/* ===========
4. BUTTONS
============ */

.painike, .wp-block-button a.wp-block-button__link, .secondary-menu li a{
text-transform: uppercase;
color: #fff;
padding: 10px 2em;
background: #065fab;
display: inline-block;
font-weight: 700;
font-size: 14px;	
text-decoration: none;
-moz-border-radius: 5px; 
-webkit-border-radius: 5px;
border-radius: 5px; 
}

.painike:hover, .wp-block-button a.wp-block-button__link:hover, .secondary-menu li a:hover{
background: #93c955;
color: #77a7cf;
text-decoration: none;	
}

a.pdflinkki{
padding: 10px 0 10px 50px;
background: url('images/pdf-icon.png') no-repeat left center;
background-size: 40px auto;	
display: block;
margin-bottom: 0px;
}

input.wpcf7-submit, .post-password-form input[type="submit"]{
text-transform: uppercase;
color: #fff;
padding: 0 2em;
background: #065fab;
display: inline-block;
font-weight: 700;
text-decoration: none;
-moz-border-radius: 5px; 
-webkit-border-radius: 5px;
border-radius: 5px; 
height: 50px;
line-height: 50px;
}

#yhteyslaatikko a.painike{
margin-top: 20px;	
}

.toimintakehoite.blue a.painike{
	background: #fff;
	color: #5a5a5a;
}
.toimintakehoite.blue a.painike:hover{
	background: #383838;
	color: #fff;
}
/* ===========
5. MOBILE VS DESKTOP
============= */

.desktop{
	display: none;
}

.mobile{
	display: block;
}	

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

.mobile{
	display: none;
}	
}


/* ===========
6. HEADER
============= */

header{
	background: #383838;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
}

.headerwrap{
	display: flex;
	align-items: center;
	justify-content: space-between;
}	

#logo{
	width: 100%;
	float: left;
	display: block;
	margin: 10px 0 20px 0;
}

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

#apupalkki{
	position: relative;
	text-align: right;
	display: block;
	padding: 10px 0 0 0;
	background: #383838;
	width: 100%;
}

.secondary-menu li a{
	padding: 6px 15px;
	font-size: 12px;
	margin-bottom: 10px;
	margin-left: 7px;
}

.secondary-menu li{
	list-style-type: none;
	display: inline-block;
}

#paavalikko{
	width: calc(100% - 130px);
	float: right;
	position: relative;
	text-align: right;
}

#paavalikko #mega-menu-wrap-header-menu .mega-menu-toggle + #mega-menu-header-menu{
	top: 51px;
	border-top: 1px solid #bababa;
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 {
	border-bottom: 1px solid #bababa;
}

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

ul.mega-sub-menu a{
	padding-left: 30px!important;
}	

.mobiilitriggeri{
	background: url('images/svg/suurennuslasi-white.svg') no-repeat;
	background-size: 30px auto;
	background-position: 5px 5px;
	width: 40px;
	height: 40px;
	display: block;
	float: right;
	margin-left: 20px;
}

.togglesearch{
	padding: 20px 0 10px 0;
	display: none;
	text-align: right;
}

.togglesearch input{
	border: 1px solid #bababa;
	height: 40px;
	width: calc(100% - 100px);
	line-height: 40px;	
	padding: 0 10px 0 10px;
	font-size: 0.8em;
	color: #5a5a5a;
}

.togglesearch input.search-submit{
	display: inline-block;
	color: #fff;
	background: #065fab;
	font-weight: 700;
	text-decoration: none;
	padding: 0 20px 0 20px;
	-webkit-transition: background 300ms ease;
	transition:         background 300ms ease;
	border: 0;
	width: 70px;
	height: 42px;
	line-height: 42px;
	-moz-border-radius: 5px; 
-webkit-border-radius: 5px;
border-radius: 5px; 
}

.togglesearch input.search-submit:hover{
	background: #93c955;
	text-decoration: none;
	color: #fff;
}

#lang_sel_click a {
/*background: #fff none repeat scroll 0 0;*/
border: 0;
color: #fff;
display: block;
font-size: 14px;
line-height: 1.6em;
font-weight: 400;
padding-left: 10px;
text-decoration: none !important;
}

#lang_sel_click a span.wpml-ls-native{
	margin-left: 10px;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle::after {
	display: none!important;
}

.wpml-ls-legacy-dropdown-click a{
	padding: 0 10px 5px 10px;
}

/*#lang_sel_click li{
width: 110px;	
}*/

#apupalkki .wpml-ls-statics-shortcode_actions{
	background-color: transparent;
	margin-left: 20px;
	width: auto;
	float: right;
}

#lang_sel_click a{
background: url('images/svg/white-arrow-down.svg') no-repeat;
background-position: 95% 50%;	
background-color: transparent;	
background-size: 10px auto;	
}

#lang_sel_click li ul a {
background: #fff none repeat scroll 0 0;
color: #5a5a5a;
}

#lang_sel_click li ul li {
border-top: 1px solid #e2e2e2;
}

#lang_sel_click ul ul{
border: 0;
top: 50px;	
}

@media (max-width: 1023px){
#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link{
	padding-left: 20px!important;
}
#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu ul.mega-sub-menu ul li{
	background: #fff;
}
	
ul.mega-sub-menu ul a{
	padding-left: 40px!important;
}		
}
@media (min-width: 1024px){
	
#apupalkki .haku{
	display: inline-block;
	margin-left: 20px;
}	
	
.secondary-menu li a{
	margin-left: 10px;
	margin-bottom: 0;
}
	
#logo{
	width: 400px;
}
	
#paavalikko{
	position: relative;
	right: 0;
	width: calc(100% - 150px);
	height: auto;
	padding: 0;
	text-align: right;
	display: block;
}	
	
.mobiilitriggeri, .togglesearch{
	display: none;
}
	
.haku input{
border: 1px solid #bababa;
height: 30px;
width: 150px;
line-height: 30px;	
padding: 0 30px 0 10px;
font-size: 14px;
color: #5a5a5a;
background: #f5f5f5;	
}

.haku input.search-submit{
text-indent: -9999px;
border: 0;
background: url('images/svg/suurennuslasi.svg') no-repeat;
background-size: 30px auto;
background-position: 0px 0px;
width: 30px;
height: 30px;
position: absolute;	
top: 12px;	
margin-left: -30px;
margin-top: 0px;
padding: 0 26px 0 10px;
cursor: pointer;
}	
	
ul.mega-sub-menu a{
	padding-left: 10px!important;
}	
	
ul.mega-sub-menu ul a{
	padding-left: 10px!important;
}		
#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu ul.mega-sub-menu{
	margin-top: 3px;
}	
	
#paavalikko #mega-menu-wrap-header-menu .mega-menu-toggle + #mega-menu-header-menu{
	top: 3px;
	border-top: 0;
	box-shadow: none;
}	
	
#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item {
	border-bottom: 3px solid #383838;
	-webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
	
#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item:last-child{
	border-bottom: 3px solid #383838;
}	
	
#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link{
	font-size: 14px!important;
}	
	
#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu ul.mega-sub-menu ul li{
	background: #e5e5e5;
}	
	
#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-current-menu-parent, #paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-current-menu-item{
	border-bottom: 3px solid #065fab;
}		
	
#lang_sel_click ul ul{
top: 44px;	
}
	
	
}

/* ===========
7. FRONT PAGE
============= */


/* ===========
8. CONTENT PAGE
============= 
*/

#intro{
	position: relative;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	height: 30vh;
	min-height: 200px;
	width: 100%;
}

#breadcrumb{
	padding-top: 10px;
	padding-bottom: 10px;
	color: #5a5a5a;
	border-bottom: 1px solid #e2e2e2;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 12px;
}

#breadcrumb a.painike{
	font-size: 12px;
}

ul#breadcrumbs li{
	list-style: none;
	display: inline-block;	
	margin-left: 0;
}

ul#breadcrumbs{
	margin: 0;	
}

#breadcrumbs li.separator{
	padding: 0 10px;	
}

#breadcrumb .polku{
	display: block;
}	
.otayhteytta{
	display: block;
	margin-top: 10px;
}		

.metapalkki{
	padding: 23px 0 20px 0;
	font-size: 14px;
	color: #bababa;
}

.artikkelinosto{
	padding-bottom: 40px;
}

#sivutus{
text-align: center;	
margin: 20px 0;
}

#sivutus a.next, #sivutus a.prev{
text-transform: uppercase;
color: #fff;
padding: 0 2em;
background: #065fab;
display: inline-block;
font-weight: 700;
text-decoration: none;
-moz-border-radius: 5px; 
-webkit-border-radius: 5px;
border-radius: 5px; 
height: 50px;
line-height: 50px;
}

#sivutus a.next:hover, #sivutus a.prev:hover{
background: #93c955;		
text-decoration: none;
}

#sivutus .page-numbers{
margin: 0 10px;	
}

#subnav{
display: none;
}

.uutisnosto h3{
margin-bottom: 10px;	
}

.uutisnosto .date{
margin-bottom: 15px;
color: #aaa;	
font-size: 14px;
}

.uutisnosto.searchresult{
	margin-top: 15px;
	border-bottom: 1px solid #bababa;
}

.julkaisudata{
	font-size: 14px;
	margin-bottom: 25px;
}

.kuvapankkikuva img{
	width: 100%;
	height: auto;
}

@media screen and (min-width: 1024px){
	
#intro{
	height: 45vh;
}		
	
#subnav{
display: block;
}
	
#subnav li{
list-style: none;	
}

#subnav a{
display: block;
padding: 12px 0;
color: #5a5a5a;
font-weight: 400;
}

#subnav a:hover, #subnav .current_page_item a{
color: #065fab; /*#bd9547;	*/
text-decoration: none;
}	
	
#breadcrumb .polku{
	float: left;
	width: calc(100% - 220px);
}	
.otayhteytta{
	float: right;
	width: 200px;
	margin-left: 20px;
	text-align: right;
	margin-top: 0;
}	
	
.artikkelinosto{
	padding-bottom: 60px;
}
	
}

@media screen and (min-width: 1200px){
#intro{
	height: 60vh;
}		
}

/* ===========
9. FOOTER
============= */

footer{
	background-color: #383838;
	color: #77a7cf;
}

footer a{
	color: #77a7cf;
	text-decoration: underline;
	font-weight: 400;
}

footer a:hover{
	text-decoration: none;
}

.madeby{
	display: block;
	height: 60px;
	position: relative;
}

a.selekti{
	display: block;
	width: 60px;
	height: 60px;
	position: absolute;
	right: 10px;
	bottom: 0px;
	background: none;
	padding: 0;
}

a.selekti img{
	display: block;
	width: 100%;
	height: auto;
}

footer ul{
	list-style: none;
}

#footer-apupalkki{
	padding-top: 15px;
	padding-bottom: 13px;
}

.footer-linkit a{
	color: #a0a0a0;
	font-weight: 400;
	font-size: 14px;
	margin-right: 20px;
}

.somelinkit{
	margin-bottom: 20px;
	margin-top: 20px;
}

.somelinkit a{
	width: 35px;
	height: 35px;
	margin-right: 10px;
	display: inline-block;
}

.somelinkit img{
	width: 100%;
	height: auto;
}

@media (min-width: 992px){

.somelinkit{
	float: right;
}	

.somelinkit{
	margin-bottom: 0;
	margin-top: 0;
}	
	
.footer-linkit{
	float: left;
	display: inline-block;
}	
}

/* ========
TAULUKOT
======== */

table{
max-width: 100%;	
}

tr{
border-bottom: 1px solid #e2e2e2;	
}



/* ========
LOMAKKEET
======== */

.wpcf7 form{
margin-top: 40px;	
}

.wpcf7 .onethird{
width: 100%;
float: left;	
padding: 0 2em 0 0;
margin-bottom: 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;
}

.wpcf7 .halfcol{
width: 100%;
float: left;	
padding: 0 0 0 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.wpcf7 .halfcol input{
margin-bottom: 20px;
}

.wpcf7 .twocols{
width: 100%;
float: left;	
padding: 0 2em 0 0;
margin-bottom: 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;
}

.lomakeosio{
border-bottom: 1px solid #e2e2e2;
width: 100%;
padding: 0 1em 1em 1em;
margin-bottom: 2em;
}

.lomakeosio-last{
border-bottom: 0;
width: 100%;
padding: 0 1em 1em 1em;
margin-bottom: 2em;
}

.wpcf7 input.wpcf7-text, .post-password-form input[type="text"]{
border: 1px solid #c9c9c9;
background: #e2e2e2;
height: 40px;
line-height: 40px;	
width: 100%;
padding: 0 10px 0 10px;
font-size: 0.8em;
color: #5a5a5a;	
margin-right: 1em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.wpcf7 textarea.wpcf7-textarea{
border: 1px solid #c9c9c9;
background: #e2e2e2;	
padding: 10px;
width: 100%;
font-family: 'Open Sans', Helvetica, Arial, sans-serif;
font-weight: 400;
font-size: 0.8em;
color: #5a5a5a;	
margin-right: 1em;

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

.wpcf7 .styled-select select {
background: transparent;
padding: 0 10px 0 10px;
font-size: 0.8em;
line-height: 1;
border: 0;
border-radius: 0;
height: 41px;
-webkit-appearance: none;
width: 106%;
outline: none;
}

.wpcf7-list-item{
margin-right: 20px;
display: inline-block;
}

.styled-select {
height: 41px;
overflow: hidden;
background: url('images/dropdown-arrow.png') no-repeat right #e2e2e2;
width: 100%;
border: 1px solid #c9c9c9;
}

@media screen and (min-width: 640px) {
.wpcf7 .onethird{
width: 50%;
}
}

@media screen and (min-width: 1024px){
.wpcf7 .onethird{
width: 33.3333333333%;
}

.wpcf7 .twocols{
width: 66.6666666666%;
}

.wpcf7 .halfcol{
width: 50%;
float: left;	
padding: 0 2em 0 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
}

/* =======
POPUP 
======= */

#popmake-3104{
background: #fff;	
padding: 3%;
width: 94%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

#popmake-3104 .popmake-title{
width: 80%;	
}

.pum-overlay{
background: rgba(37,44,46,0.7)!important;	
}

#popmake-3104 .popmake-content{
color: #5a5a5a;
}

#popmake-3104 .pum-container{
	background: #fff;
}
#popmake-3104 .popmake-close, .pum-theme-3098 .pum-content + .pum-close{
position: absolute;
top: 15px;
right: 15px;
background: url('images/ruksi.png') no-repeat;
height: 40px!important;
width: 40px!important;
display: block;
text-indent: -9999px;
background-size: 100% auto;	
}

#popmake-3104 .popmake-close:hover, .pum-theme-3098 .pum-content + .pum-close:hover{
position: absolute;
background: url('images/ruksi.png') no-repeat;
height: 40px!important;
width: 40px!important;
display: block;
text-indent: -9999px;
background-size: 100% auto;	
}


a#pyydatarjous, li#pyydatarjous-li{
	display: none;
}

#body-lang-fi a#pyydatarjous-tabletti, #body-lang-en a#pyydatarjous-tabletti, #body-lang-de a#pyydatarjous-tabletti, #body-lang-nb a#pyydatarjous-tabletti{
	display: none;
}	

#body-lang-sv a#pyydatarjous-tabletti{
text-transform: uppercase;
color: #fff;
padding: 3px 6px;
background: #065fab;
display: block; /*inline-block*/
position: absolute;
right: 100px;
top: 10px;
font-weight: 700;
	font-size: 0.7em;
text-decoration: none;
-moz-border-radius: 3px; 
-webkit-border-radius: 3px;
border-radius: 3px; 
	margin-top: 7px;
/*height: 50px;*/
/*line-height: 50px;*/
}

#body-lang-sv a#pyydatarjous-tabletti:hover{
background: #93c955;
text-decoration: none;	
}	

@media screen and (min-width: 640px) {

#body-lang-sv a#pyydatarjous-tabletti{
text-transform: uppercase;
color: #fff;
padding: 10px 2em;
background: #065fab;
display: block; /*inline-block*/
position: absolute;
right: 140px;
top: 5px;
font-weight: 700;
	font-size: 0.8em;
text-decoration: none;
-moz-border-radius: 5px; 
-webkit-border-radius: 5px;
border-radius: 5px; 
	margin-top: 5px;
/*height: 50px;*/
/*line-height: 50px;*/
}	

}

@media screen and (min-width: 768px) {
#popmake-3104{
width: 80%;
}
	
}

/* ===========
11. MODULES
============= */

/*
11.1 PERUSSISÄLTÖ
*/
.perussisalto-palsta{
	padding-bottom: 40px;
}

.perussisalto-4 .perussisalto-palsta{	
	padding-bottom: 20px;
}

@media (min-width: 768px){
.perussisalto-1 .perussisalto-palsta{
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}	
.perussisalto-palsta{
	padding-bottom: 0px;
}	
	
.perussisalto-4 .perussisalto-palsta{
	width: 50%;	
}
	
.flexbox.perussisalto-4{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}	
}

@media (min-width: 992px){

.perussisalto-1 .perussisalto-palsta{
	width: 80%;	
}	
	
.perussisalto-2 .perussisalto-palsta{
	width: 50%;	
}
	
.perussisalto-3 .perussisalto-palsta{
	width: 33.3332%;	
}
	
.perussisalto-4 .perussisalto-palsta{
	width: 25%;	
	padding-bottom: 0;
}	
}

@media (min-width: 1200px){
.perussisalto-1 .perussisalto-palsta{
	width: 60%;
}		
}

/*
11.2 KUVALLISET NOSTOT PALSTOISSA
*/

.kuvallinennosto-palsta{
	padding-top: 20px;
	padding-bottom: 20px;
}

.kuvallinennosto-palsta img{
	width: 100%;
	height: auto;
	margin-bottom: 25px;
}

@media (min-width: 768px){
	
.kuvallisetnostot .flexbox{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
	
.kuvallinennosto-2 .kuvallinennosto-palsta{
	width: 50%;	
}
	
.kuvallinennosto-3 .kuvallinennosto-palsta{
	width: 50%;	
}
	
.kuvallinennosto-4 .kuvallinennosto-palsta{
	width: 50%;	
}	
}

@media (min-width: 992px){
	
.kuvallinennosto-palsta{
	padding-top: 0px;
	padding-bottom: 40px;
}	
	
.kuvallinennosto-2 .kuvallinennosto-palsta{
	width: 50%;	
}
	
.kuvallinennosto-3 .kuvallinennosto-palsta{
	width: 33.3332%;	
}
	
.kuvallinennosto-4 .kuvallinennosto-palsta{
	width: 25%;	
}	
}

/*
11.3 KUVANOSTOT
*/

.kuvanosto-kuva{
	margin-bottom: 50px;
	position: relative;
	z-index: 1;
	overflow: hidden;
	text-align: center;
}

.kuvanosto-kuva img{
	display: block;
	width: 100%;
	height: auto;
}

@media (min-width: 992px){	
.kuvanosto{
	display: flex;
	align-items: center;
}

.kuvanosto-kuva{
	width: 50%;
	margin-bottom: 0;
}
	
.kuvanosto-sisalto{
	width: 50%;	
}	
	
.kuvanosto:nth-child(even){
	flex-direction: row-reverse;
}	
}

@media (min-width: 1200px){	
.kuvanosto-sisalto{
	padding-left: 60px;
	padding-right: 60px;
}	
}

@media (min-width: 1680px){	
.kuvanosto-sisalto{
	padding-left: 120px;
	padding-right: 120px;
}	
}

/*
11.4 TOIMINTAKEHOITE
*/

.toimintakehoite{
	padding-top: 25px;
	background: #fff;
}


.toimintakehoite.blue{
	background: #065fab;
	color: #fff;
}

.toimintakehoite.gray{
	padding-left: 25px;
	padding-right: 25px;
}

.toimintakehoite.gray .toimintakehoitesisalto{
	background: #e2e2e2;
	padding-top: 50px;
	padding-bottom: 25px;
}


@media (min-width: 768px){
.toimintakehoitesisalto{	
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}	
}

@media (min-width: 1200px){
.toimintakehoitesisalto{	
	width: 60%;
	margin-left: auto;
	margin-right: auto;
}	
}
/*
11.5. TUOTENOSTOT
*/

.tuotenosto{
	padding-top: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid #e2e2e2;
	background: #fff;
}

@media (max-width: 991px){	
.tuotenosto:last-child{
	border-bottom: 0;
}
}

@media (min-width: 992px){
.tuotenostot{
	background: #e2e2e2;
	padding-top: 40px;
	padding-bottom: 40px;
}
	
.tuotenosto{
	border-right: 1px solid #e2e2e2;
}	
	
.tuotenostopalstat-2 .tuotenosto{
	width: 50%;	
}
	
.tuotenostopalstat-3 .tuotenosto{
	width: 33.3332%;		
}	
	
.tuotenostopalstat-4 .tuotenosto{
	width: 25%;	
}
	
.tuotenostopalstat-3 .tuotenosto:nth-child(3n+3),.tuotenostopalstat-2 .tuotenosto:nth-child(2n+2),.tuotenostopalstat-4 .tuotenosto:nth-child(4n+4),.tuotenostopalstat-3 .tuotenosto:last-child,.tuotenostopalstat-2 .tuotenosto:last-child,.tuotenostopalstat-4 .tuotenosto:last-child{
	border-right: 0;		
}	
.tuotenostopalstat-3 .tuotenosto:nth-child(4), .tuotenostopalstat-3 .tuotenosto:nth-child(5),.tuotenostopalstat-3 .tuotenosto:nth-child(6),.tuotenostopalstat-2 .tuotenosto:nth-child(5),.tuotenostopalstat-2 .tuotenosto:nth-child(6), .tuotenostopalstat-4 .tuotenosto:nth-child(5), .tuotenostopalstat-4 .tuotenosto:nth-child(6){
	border-bottom: 0;
}
	
}
	
/*
11.6. HUOMIONOSTO
*/

.huomionosto{
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.huomionostosisalto{
	background-color: rgba(56,56,56,0.9);
	color: #fff;
	padding-top: 50px;
	padding-bottom: 25px;
}

@media (min-width: 992px){
.huomionosto{
	background-size: 100% auto;
	background-attachment: fixed;
}
}