@charset "UTF-8";

/*
Theme Name: Rakennustoimisto Duo
Theme URI: https://www.selekti.fi/
Author: Mainostoimisto Selekti
Author URI: https://www.selekti.fi/
Version: 1.0
Text Domain: duo_theme
*/

/*
BRAND COLORS
Oranssi: #dc9f00;
Oranssi 75%: #e5b740;
Oranssi 50%: #edcf7f;
Oranssi 25%: #f6e7bf;
Oranssi 10%: #fbf5e5;
--
Harmaa: #3c3c3b;
Harmaa 75%: #6d6d6c;
Harmaa 50%: #9d9d9d;
Harmaa 25%: #cecece;
Harmaa 10%: #ebebeb;
*/

/* ==========================================================================
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%;
}

html {
  scroll-behavior: smooth;
}

.anchorcover{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	z-index: 999;
}
/* ===========
1. TEXT STYLING 
============= */
body{
	font-family: "tenon", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 16px;
    line-height: 1.8em;/*26px;*/
    color: #3c3c3b;
	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;
	color: #3c3c3b;
	font-weight: 500;
}

h1{
	font-size: 40px;
}	

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

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

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

p{
    margin-bottom: 25px;
}

#intro p{
	margin-bottom: 35px;
}

a{
	text-decoration: underline;
	color: #3c3c3b;/*#dc9f00;*/
}

.toimintakehoite a{
	color: #3c3c3b;
}

.toimintakehoitesisaltowrap.ctakuva a{
	color: #dc9f00;
}

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

a.nuolilinkki{
	/*display: inline-block;*/
	text-align: left;
	color: #3c3c3b;
	font-weight: 700;
	background-image: url('images/nuoli-kelt.svg');
	background-repeat: no-repeat;
	background-position: right 3px;
	background-size: 7px auto;
	padding-right: 16px;
	margin-bottom: 25px;
	line-height: 25px;
	height: 25px;
	text-decoration: none;
}

a.nuolilinkki:hover{
	text-decoration: underline;
	color: #3c3c3b;
}

.centered{
	text-align: center;
}

.titteli{
	text-transform: uppercase;
	color: #dc9f00;
}

.tarkenne{
	font-size: 14px;
	text-transform: uppercase;
	color: #dc9f00;
}

.toimintakehoite .tarkenne{
	color: #3c3c3b;
}

.toimintakehoitesisaltowrap.ctakuva .tarkenne{
	color: #dc9f00;
}

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

strong{
	font-weight: 700;
}

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

@media (min-width: 992px){
h1{
	font-size: 60px;
}
	
.otsikkopalkki{
	text-align: center;
}	
}

@media (min-width: 1200px){
h1{
	font-size: 70px;
}

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

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

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

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

#thumbnail img, .perussisalto 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{
	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;
}

.defaultcontentarea.padding-medium{
	padding-bottom: 35px;
}

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

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

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

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

#titlearea .padding-large{
	padding-top: 60px;
	padding-bottom: 35px;
}

.mobile .flexboxwrap{
	display: flex;
	flex-wrap: wrap;
}	
	
.mobile .flexbox{
	display: flex;
}	
	
.mobile .flexmiddle{
	/*vertically*/
	align-items: center;
}	
	
.mobile .flexcenter{
	/*horizontally*/
	justify-content: center;
}	

@media (min-width: 768px){
#titlearea .padding-large{
	padding-top: 90px;
	padding-bottom: 65px;
}
	
#titlearea.titlearea-image .padding-large{
	padding-top: 120px;
	padding-bottom: 95px;
}	
	
.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;
}	
	
.narrow{
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}
	
.padding-small{
	padding-top: 40px;
	padding-bottom: 40px;
}

.padding-medium{
	padding-top: 80px;
	padding-bottom: 80px;
}
	
.defaultcontentarea.padding-medium{
	padding-bottom: 55px;
}	
	
.padding-bottom{
	padding-bottom: 80px;
}	
	
.padding-bottom-small{
	padding-bottom: 40px;
}	
	
.padding-top{
	padding-top: 80px;
}	

.padding-large{
	padding-top: 120px;
	padding-bottom: 120px;
}	
	
#titlearea .padding-large{
	padding-bottom: 95px;
	padding-top: 120px;
}	
	
#titlearea.titlearea-image .padding-large{
	padding-top: 150px;
	padding-bottom: 125px;
}		
}

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

@media (min-width: 1440px){		
.wrapper{
	margin: 0 8.3332%;
} 	
	
#titlearea.titlearea-image .padding-large{
	padding-top: 180px;
	padding-bottom: 155px;
}		
}

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

/* ===========
4. BUTTONS 
============= */

a.painike, a .painike, .painike a{
	display: inline-block;
	text-decoration: none;
	padding: 10px 30px 10px 30px;
	color: #fff;
	background: #dc9f00;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 700;
	transition: .4s;
	border-radius: 6px;
}

a.painike:hover, a .painike:hover, .painike a:hover, .ohjausnosto-wrap:hover a.painike{
	text-decoration: none;
	background: #3c3c3b;
	color: #fff;
	transition: .4s;
}

.toimintakehoite a.painike{
	background: #3c3c3b;
}

.toimintakehoite a.painike:hover{
	background: #6d6d6c;
}

.toimintakehoitesisaltowrap.ctakuva a.painike{
	background: #dc9f00;
	color: #fff;
}

.toimintakehoitesisaltowrap.ctakuva a.painike:hover{
	background: #3c3c3b;
}

/* ===========
5. MOBILE VS DESKTOP
============= */

.desktop{
	display: none;
}

.mobile{
	display: block;
}	

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

.mobile{
	display: none;
}	
}

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

header{
	background: #fff;
}

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

#logo{
	width: 170px;
	float: left;
	display: block;
}

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

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

ul.mega-sub-menu a{
	padding-left: 30px!important;
}	
#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item.mega-item-align-right{
	height: 80px;
	line-height: 80px;
}
#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu li.mega-menu-item.mega-item-align-right a.mega-menu-link{
	display: inline-block;
	text-decoration: none;
	padding: 10px 30px 10px 30px;
	color: #fff;
	background: #dc9f00;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 700;
	transition: .4s;
	border-radius: 6px;
	height: auto;
	line-height: normal;
	margin-left: 20px;
}
#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu li.mega-menu-item.mega-item-align-right a.mega-menu-link:hover{
	text-decoration: none;
	background: #3c3c3b;
	color: #fff;
	transition: .4s;
}

@media (max-width: 991px){
.headerwrap{
	padding-left: 5px;
}		
	
#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-toggle + #mega-menu-header-menu{
	top: 70px;
}

#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item {
	border-bottom: 1px solid #9d9d9d;
}

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

#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item{
	border-bottom: 1px solid #6d6d6c;
}
	
#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link{
	background: #3c3c3b;
	color: #fff;
}
	
#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-current_page_item > a.mega-menu-link{
	color: #dc9f00;
}
	
ul.mega-sub-menu ul a{
	padding-left: 40px!important;
}		
}
@media (min-width: 992px){
header{
	position: fixed;
	z-index: 1000;
	width: 100%;
	top: 0px;
}	
	
#logo{
	width: 220px;
}
	
#paavalikko{
	position: relative;
	right: 0;
	width: calc(100% - 220px);
	height: auto;
	padding: 0;
	text-align: right;
	display: block;
}	

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 > li.mega-menu-flyout ul.mega-sub-menu li.mega-current_page_item > a.mega-menu-link{
	color: #fff;
	background: #e5b740;
}	
}

@media (min-width: 1200px){
#paavalikko #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link{
	padding-left: 20px;
	padding-right: 20px;
	font-size: 18px;
}
}

@media (min-width: 1440px){
#logo{
	width: 270px;
}
	
#paavalikko{
	width: calc(100% - 270px);
	}
	
}

/* ===========
7. FRONT PAGE
============= */
#intro{
	/*min-height: 80%;*/
    width: 100%;
    position: relative;
	background-color: #dc9f00; 
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	z-index: 1;
}	

#intro .wrapper{
	z-index: 100;
}

#intro-bg-image{
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	z-index: 1;
	height: 100%;
    width: 100%;
	position: absolute; 
}

#intro-bg-image img{
	width: 100%;
	height: auto;
}

#intro-content{
	color: #fff;
	padding: 100px 20px;
	z-index: 3;
	font-size: 18px;
}

#intro-content h1{
	color: #fff;
}

#intro-content p:last-child{
	margin-bottom: 0;
}

@media (min-width: 992px){
	
#intro{
	min-height: 60%;
    width: 100%;
    position: relative;
	display: flex;
	align-content: center;
	align-items: center;
	padding-top: 128px;
}	
	
#intro-bg-image{	
	z-index: 1;
	height: 100%;
    width: 100%;
	position: absolute; 
}	
	
#intro-content{
	z-index: 3;
	position: relative;
	padding: 30px 20px;
}	
}

@media (min-width: 1440px){
#intro{
	padding-top: 158px;
}	
}

@media (min-width: 1680px){	
#intro-content{
	background: none;
	padding: 0 20px;
	width: 60%;
	font-size: 24px;
} 
}

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

#titlearea{
	background-color: #dc9f00;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	color: #fff;
}

#titlearea h1{
	color: #fff;
}

.titlearea-empty{
	background-image: url('images/duo-bg-mobile.svg');
}
@media(min-width:992px){
.titlearea-empty{
	background-image: url('images/duo-bg.svg');
}
}	

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

footer{
	background: #3c3c3b;
	color: #fff;
}

footer a{
	color: #dc9f00;
	font-weight: 700;
}

footer .module-title-h4{
	color: #fff;
}

#footer-apupalkki{
	z-index: 999;
	position: relative;
	text-align: left;
	border-top: 1px solid #6d6d6c;
	padding-top: 20px;
	padding-bottom: 20px;
}

.footer-linkit{
	margin-bottom: 25px;
}

.footer-linkit a{
	display: block;
	color: #dc9f00;
	font-weight: 700;
	font-size: 14px;
}

footer ul{
	list-style: none;
}

.footerpalstat .grid4{
	padding-bottom: 25px;
}

.footerpalstat .grid4:last-child{
	padding-bottom: 0px;
}

.copyright{
	font-size: 14px;
	color: #cecece;
}

.footerpalstat .grid4.logo-footer{
	padding-left: 5px;
}
.footerpalstat .grid4.logo-footer img{
	width: 170px;
}

.somekuvakkeet a{
	display: inline-block;
	margin-right: 10px;
	width: 45px;
}

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

@media (min-width: 992px){
#footer-apupalkki{
	padding-bottom: 25px;
	padding-top: 25px;
}	
	
.footerpalstat .grid4.logo-footer{
	padding-left: 20px;
	padding-top: 0;
}	
	
.footerpalstat .grid4.logo-footer img{
	width: 220px;
}	
	
.footer-linkit{
	float: left;
	display: inline-block;
	margin-bottom: 0;
}
	
.footer-linkit a{
	display: inline-block;
	margin-right: 40px;
}		
	
.footerpalstat .grid4{
	padding-bottom: 0px;
	padding-top: 25px;
	}
	
.copyright{
	float: right;
}		
	
.somekuvakkeet{
	float: right;
	text-align: right;
}	
	
.somekuvakkeet a{
	margin-right: 0;
	margin-left: 10px;
}	
}

@media (min-width: 1440px){
.footerpalstat .grid4.logo-footer img{
	width: 270px;
}
}

/* 404 */
#titlearea404{
	background-image: url('images/duo-bg.svg');
	background-color: #dc9f00;
	background-position: center center;
	background-size: cover;
	color: #fff;
}

#titlearea404 h1{
	color: #fff;
}

.wrap404{
	width: 100%;
}

@media (min-width: 992px){
#titlearea404{
	min-height: 80vh;
    width: 100%;
    position: relative;
	display: flex;
	align-content: center;
	align-items: center;
}	
}

/* ===========
10. MISCELLANEOUS
============= */

.alaraita{
	border-bottom: 1px solid #3c3c3b;
}

hr{
	padding: 10px 0 0 0;
	margin-bottom: 35px;
	border-bottom: 1px solid #3c3c3b;
}

.harmaa{
	background-color: #ebebeb;
}

.vaaleaoranssi{
	background-color: #fbf5e5;
}

@media (min-width:992px){
#content{
	padding-top: 128px;
}
	
.home #content{
	padding-top: 0;
}	
}

@media (min-width:1440px){
#content{
	padding-top: 158px;
}
.home #content{
	padding-top: 0;
}		
}

/* ===========
11. MODULES
============= */
/*
11.1 PERUSSISÄLTÖ
*/

@media (min-width: 768px){
.perussisalto-1 .perussisalto-palsta{
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}		
	
.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%;
}		
	
.perussisalto-2, .perussisalto-3{
	padding-left: 8.333%;
	padding-right: 8.333%;
}	
}

/*
11.3 KUVALLISET NOSTOT PALSTOISSA
*/

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

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

@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: 0px;
}	
	
.kuvallinennosto-2 .kuvallinennosto-palsta{
	width: 50%;	
}
	
.kuvallinennosto-3 .kuvallinennosto-palsta{
	width: 33.3332%;	
}
	
.kuvallinennosto-4 .kuvallinennosto-palsta{
	width: 25%;	
}	
}

@media (min-width: 1200px){
.kuvallinennosto-2{
	padding-left: 8.333%;
	padding-right: 8.333%;	
}
}

/*
11.4 KUVANOSTOT
*/

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

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

@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-right: 8.333%;
}
.kuvanosto:nth-child(even) .kuvanosto-sisalto{
		padding-left: 8.333%;
		padding-right: 20px;
}	
}

/*
11.4 VIDEONOSTOT
*/

.videonosto-video{
	margin-bottom: 25px;
	position: relative;
	z-index: 1;
	overflow: hidden;
	text-align: center;
}

.videonosto-video .plyr_wrapper, .videonosto-video .plyr{
	border-radius: 10px!important;
}

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

.videonosto-video{
	width: 50%;
	margin-bottom: 0;
}
	
.videonosto-sisalto{
	width: 50%;
}	

}

@media (min-width: 1200px){
.videonosto-sisalto{
		padding-right: 8.333%;
}
}


/*
11.5 TOIMINTAKEHOITE
*/

.toimintakehoitesisaltowrap{
	background: #dc9f00;
	color: #fff;
	border-radius: 10px;
}

.toimintakehoitesisalto{
	padding: 40px 20px 15px 20px;
}

.toimintakehoitesisaltowrap.ctakuva{
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
}

.curtain {
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
}

.toimintakehoitesisalto h2, .toimintakehoitesisalto .module-title-h2, .toimintakehoitesisalto h3, .toimintakehoitesisalto h4{
	color: #fff;
}

@media (min-width: 768px){
.toimintakehoitesisaltowrap{	
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}
	
.toimintakehoitesisaltowrap.ctakuva{
	width: 100%;
}
	
.toimintakehoitesisalto{	
	padding: 40px 40px 15px 40px;	
}	
	
.toimintakehoitesisaltowrap.ctakuva	.toimintakehoitesisalto{	
	padding: 80px 80px 55px 80px;	
}	
}

@media (min-width: 1200px){
.toimintakehoitesisaltowrap{	
	width: 60%;
	margin-left: auto;
	margin-right: auto;
}
	
.toimintakehoitesisaltowrap.ctakuva{
	width: 80%;
}
	
.toimintakehoitesisalto{		
	padding: 40px 80px 15px 80px;
}	
	
.toimintakehoitesisaltowrap.ctakuva	.toimintakehoitesisalto{	
	padding: 120px 120px 95px 120px;	
}		
}

/*
11.6 OHJAUSNOSTOT TAUSTAKUVALLA
*/

.ohjausnosto-palsta{
	padding-bottom: 20px;
}

.ohjausnosto-wrap{
	padding-top: 80px;
	padding-bottom: 65px;
	height: 100%;
	text-align: center;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	border-radius: 10px;
	position: relative;
}

.ohjausnostot .ohjausnosto-wrap .module-title-h3, .ohjausnostot .ohjausnosto-wrap a{
	color: #fff!important;
}

@media (min-width: 768px){
.ohjausnostot .flexbox{
	display: flex;
	flex-wrap: wrap;
}
	
.ohjausnosto-palsta{
	padding-bottom: 40px;
}	

.ohjausnosto-1 .ohjausnosto-palsta{
	width: 60%;	
	margin: 0 auto;
}	
	
.ohjausnosto-2 .ohjausnosto-palsta{
	width: 50%;	
}
	
.ohjausnosto-3 .ohjausnosto-palsta{
	width: 50%;	
}
		
}

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

@media (min-width: 1200px){
.ohjausnosto-2{
	padding-left: 8.333%;
	padding-right: 8.333%;	
}
}

/* HENKILÖTIEDOT */

.henkilonosto{
	background: #ebebeb;
	height: 100%;
	padding-top: 40px;
	padding-bottom: 15px;
	border-radius: 10px;
	font-size: 14px;
}

.henkilonosto-sisalto{
	text-align: center;
	margin-bottom: 40px;
}

.nimi{
	display: block;
	font-weight: 700;
	font-size: 21px;
	margin-bottom: 10px;
}

.tarkenne{
	display: block;	
	font-weight: 700;
	margin-bottom: 10px;
}

.yhteystiedot{
	display: block;
}

.henkilonosto .yhteystiedot p{
	margin-bottom: 0;
}

.henkilonosto-kuva{
	max-width: 200px;
	margin: 0 auto 25px auto;
}

.henkilonosto-kuva img{
	background: #fff;
	display: block;
	width: 100%; /*calc(100% - 10px);*/
	height: auto;
	border-radius: 50%;
	/*border: 5px solid #dc9f00;*/
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.yritysnosto{
	background: #3c3c3b;
	color: #fff;
	height: 100%;
	padding-top: 40px;
	padding-bottom: 15px;
	border-radius: 10px;
}

@media (max-width: 991px){
.henkilonosto, .yritysnosto{
	margin-bottom: 20px;
}
}

@media (min-width: 992px){
.henkilonosto{
font-size: 16px;	
	}
.henkilonostorivit{
	justify-content: center;		
}
	
}

@media (min-width: 1440px){
.yritysnosto{
	padding-left: 40px;
	padding-right: 40px;
	padding-top: 60px;
	padding-bottom: 35px;
}	
}

/*
YHTEYSTIEDOT TIIVIS
*/

.henkilonostotiivis{
	font-size: 14px;
}

.henkilonostotiivis-ylaosa{
	margin-bottom: 10px;
}

.henkilonostotiivis-sisalto{
	margin-bottom: 25px;
}

.henkilonostotiivis-kuva{
	float: left;
	width: 80px;
}

.henkilonostotiivis-kuva img{
	display: block;
	width: 100%;/*calc(100% - 10px);*/
	height: auto;
	border-radius: 50%;
	/*border: 5px solid #dc9f00;*/
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.henkilonostotiivis-ylaosa-tekstit{
	float: right;
	width: calc(100% - 80px);
}

.henkilonostotiivis .nimi, .henkilonostotiivis .titteli, .henkilonostotiivis .yhteystiedot p{
	margin-bottom: 0;
}

.yhteystietonostot-tiivis .yritysnostotiivis{
	color: #3c3c3b;
	background: #ebebeb;
	height: 100%;
	padding-top: 40px;
	padding-bottom: 15px;
	border-radius: 10px;
}


@media (min-width: 992px){
.henkilonostotiivis{
	font-size: 16px;
	margin-bottom: 40px;
}	
.desktop.henkilonostotiivis{
	display: flex;
}	
	
.henkilonostorivittiivis.pros50{
	width: 50%;
	margin-left: auto;
	margin-right: auto;
}
	
.henkilonostotiivis-kuva{
	float: left;
	width: 120px;
}
	
.henkilonostotiivis-sisalto{
	float: right;
	width: calc(100% - 120px);
	margin-bottom: 0;
}
}

@media (min-width: 1200px){
.henkilonostotiivis-kuva{
	float: left;
	width: 180px;
}
	
.henkilonostotiivis-sisalto{
	float: right;
	width: calc(100% - 180px);
}
}

@media (min-width: 1440px){
.yhteystietonostot-tiivis .yritysnostotiivis{
	padding-left: 40px;
	padding-right: 40px;
	padding-top: 60px;
	padding-bottom: 35px;
}	
}

/*
LOGOGALLERIA
*/

.logogalleria{
	background: #fff;
}

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

.logogalleria-logo{
	width: 60%;
	margin-left: auto;
	margin-right: auto;
	padding-top: 20px;
	padding-bottom: 20px;
}

@media (min-width: 768px){
	
.logogalleria-logo{
	width: 33.3332%;	
}
	
.logogalleria .flexbox{
	display: flex;
	flex-wrap: wrap;
}	
	
.logogalleria .flexmiddle{
/*vertically*/
	align-items: center;
}	
	
.logogalleria .flexcenter{
/*horizontally*/
	justify-content: center;
}		
	
}

@media (min-width: 1440px){
	
.logogalleria-logo{
	width: 16.6667%;	
}
}

/* 
GALLERIA 
*/
.gallery{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.gallery a{
	text-decoration: none;
	line-height: 0;
	display: inline-block;
	margin: 5px;
	width: calc(50% - 10px);
}

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

@media (min-width:768px){
.gallery a{
	width: calc(25% - 10px);
}
}

/*
11.7 HAITARI
*/
.haitari{
	background: #fff;
}
.faq-accordion{
	background: #fff;
	border-bottom: none;
}
.faq-accordion p{
	color: #3c3c3b;
	margin-bottom: 0;
}

.faq-accordion a.faq-accordion-title{
	display: block;
	text-decoration: none;
	font-size: 18px;
}
.main-faq-accordion{
	position:relative;
	padding:140px 0;
	background: #fff;
		}
.faq-accordion-box .faq-accordion-title{
	padding: 15px 40px 14px 20px;
	background-color: #ebebeb;
	color: #3c3c3b;
	font-weight: 700;
	font-size: 16px;
	position: relative;
	cursor: pointer;
	margin: 0;
	box-sizing: border-box;
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-transition: background-color .2s ease-out;
	-moz-transition: background-color .2s ease-out;
	transition: background-color .2s ease-out;
		}
.faq-accordion-box .faq-accordion-title.active{
	background-color: #fff;
}

.faq-accordion .faq-accordion-box{
	border-top: 4px solid #fff;
}

.faq-accordion .faq-accordion-box:first-child{
	border-top: 4px solid #ebebeb;
}

.faq-accordion-title .faq-accordion-mark{
	position: absolute;
	width: 14px;
	height: 14px;
	top: 50%;
	margin-top: -7px;
	right: 20px;
	background: url('images/plus.svg') no-repeat center center;
	}
.faq-accordion-title.active .faq-accordion-mark{
	background: url('images/minus.svg') no-repeat center center;
		}
.faq-accordion .faq-accordion-box:last-child{
	border-bottom: 4px solid #ebebeb;
		}
.faq-accordion .faq-content-container{
	border-top: 1px solid transparent;
	padding: 25px 10px 25px 20px;
		}

@media (min-width: 1440px){
	.faq-accordion{
		width: 75%;
		margin-left: auto;
		margin-right: auto;
	}
}

/* TAULUKOT */

table{
width: 100%;	
margin: 0 0 25px 0;
font-size: 14px;
line-height: 1.2em;
/*table-layout:fixed;*/
text-align: left;	
background: #fff;
border-spacing: 0;
border: 0;	
border-collapse: collapse;
}

th, td, .wp-block-table td, .wp-block-table th{
padding: 10px 10px;	
vertical-align: top;
word-wrap: break-word;
border: 0!important;	
}

tr:nth-child(even){
background: #ebebeb;	
}

th, thead, .wp-block-table thead{
font-weight: 700;
background: #cecece;
border-bottom: 2px solid #3c3c3b;	
}


/* LOMAKE */

.wpcf7{
	width: 100%;
	padding-top: 40px;
	background: #cecece;
	-webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
	text-align: left;
}
.wpcf7 input, .wpcf7 textarea{
background-color: #fff;
width: calc(100% - 20px);
padding: 5px 10px;	
border: 1px solid #ccc;
/*box-shadow: inset 0px 1px 4px rgba(0, 0, 0, 0.2);	*/
}

.wpcf7 textarea{
height: 143px;	
}

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

.wpcf7 input.wpcf7-submit{	
	display: inline-block;
	text-decoration: none;
	padding: 10px 30px 10px 30px;
	color: #fff;
	background: #dc9f00;
	text-transform: uppercase;
	-webkit-border-radius: 28px;
	-moz-border-radius: 28px;
	border-radius: 28px;
	font-size: 16px;
	border: 0;
	border-shadow: none;
	width: auto;
	height: auto;
}

.wpcf7 input.wpcf7-submit:hover{
	text-decoration: none;
	background: #3c3c3b;
}

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

/* SAAVUTETTAVUUS */

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	/* many screen reader and browser combinations announce broken words as they would appear visually */
	word-wrap: normal !important;
}

/* must have higher specificity than alternative color schemes inline styles */
.skip-link {
	background-color: #f1f1f1;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
	color: #21759b;
	display: block;
	font-size: 16px;
	font-weight: 700;
	left: -9999em;
	outline: none;
	padding: 15px 23px 14px;
	text-decoration: none;
	text-transform: none;
	top: -9999em;
}

.skip-link:focus {
	clip: auto;
	height: auto;
	left: 6px;
	top: 7px;
	width: auto;
	z-index: 100000;
}
/*
a:focus{
	outline: 3px solid #109cde;
  	outline-offset: -3px;
}*/