/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 13 2021 | 04:33:30 */
/*declaration*/
.declaration h1,.declaration h2 {margin-top:20px;font-family:"Arial Narrow","Helvetica Condenced",sans-serif!Important;font-weight:bold;}
.declaration h2 {background-color:#000;color:#fff!important;padding:5px;}
.declaration h2.red {background-color:#e02b20;}
.declaration h3{color:#e02b20!important;font-family:Arial,Helvetica,sans-serif;font-size:18px!important;}
.declaration h1,.declaration h2,.declaration h3{margin-bottom:15px;}
.declaration .wpml-ls-legacy-list-horizontal {padding-left:0;}
.declaration ul,.declaration ul li {padding-left:0!important;}
.declaration ul li {margin-left:0;}
.declaration .wpml-ls-legacy-list-horizontal .wpml-ls-item {display:block;margin-left:0;}
.wpml-ls-current-language a {color:#000;}
.declaration h3,.declaration h2{letter-spacing:0!important;font-weight:bold;}
.parent-pageid-2456 h1 {margin-bottom:20px;}

@media only screen and (min-width: 1000px) {
.wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;font-size: 18px;width:
}
}

.palstoitus {
  max-width: 100%;
  margin: 0 auto;
  column-width: 300px;
column-gap:50px;
}
.palstoitus p {break-inside: avoid;}
.palstoitus h3{margin:20px 0 0 0;} 

/**/



#sidebar {padding-top:100px;}
.document-gallery .document-icon .title {font-size:14px;}
.document-gallery .document-icon {height:auto;padding-bottom:5px;;overflow:hidden;}
.et_pb_fullwidth_section .et_pb_text_inner p {font-size:24px;color:#000;line-height:130%;}

/*etusivu viilaukset*/
.korkeus {height:300px;width:300px;border-radius:150px;overflow:hidden;}
.korkeus h4 {text-shadow: 0px 3px 5px rgba(0,0,0,0.76);}
.marginaali{margin-top:150px;}
.xdiversity{position:absolute;top:200px;}
.diversity h1{position:relative;font-size:90px;letter-spacing:-6px;
  color:rgba(0,0,0,1);margin-top:-100px;text-align:center;}

.logotyyppi h1{/*font-family: 'Poiret One', cursive!important;*/}
h1,h2,h3,h4,h5{font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif!important;}

h1#logo-text,h5#logo-tagline{color:#fff;}
h1#logo-text{float:left;font-size:36px;padding-top:20px;
height:auto;width:120px;/*font-family: 'Poiret One', cursive!important;*/}
h5#logo-tagline{float:left;font-size:14px;width:280px;padding-top:20px;letter-spacing:0;
  font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif !important;margin-left:50px;}

h3 {color:#000!important;font-size:28px!important;}
h2{font-size:36px!important;}
.et_pb_post h2 a, .et_pb_post .entry-title a, .et_pb_portfolio_item h3 a, .et_pb_portfolio_item .et_pb_module_header a 
{font-size:20px;line-height:100%!important;}

/*tiiserin lyhennys*/
.et_pb_blog_grid .post-content p {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2; /* number of lines to show */
line-height: 1.5; /* fallback */
max-height: 2*1.5; /* fallback */
}

/*names*/
ul.names{padding-inline-start: 20px;}
.names li {float:left;padding-right:55px;width:auto;font-size:20px;}
#kt-layout-id_4822f4-33 .wrapper {gap:7px;font-size:16px;}

#kt-layout-id_4822f4-33 .tb-button__link {width:100%!important;}

#main-header{padding-right:30px;}