html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block; }
body {
line-height: 1; }
ol, ul {
list-style: none; }
blockquote, q {
quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none; }
table {
border-collapse: collapse;
border-spacing: 0; } body {
background: #fff;
font: 14px/21px;
color: #333;
-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
font-size:16px;
}
header {
height:auto;
width:100%;
}
.headerinfo {
display:flex; 
align-items:center; 
justify-content:space-between;
}
.headerinfo-wrap  { background:#67b7e1;	
padding:7px 0;
color:#fff;
font-size:13px; }
.headerblock
{
display:flex; align-items:center; -webkit-box-pack:justify; -ms-flex-pack:justify; justify-content:space-between;
}
.headerinfoteksti { float:left; }
.headerinfoteksti p { font-size:16px; margin:2px 15px 0 0; font-weight:600; }
.headeremail, .headerphone { float:left; background:#4795be; padding:7px 10px; line-height:15px; border-radius:15px; }
.headeremail { margin-right:10px; }
.headerphone img { float:left; margin:0px 10px 0 0; }
.headeremail img { float:left; margin: 3px 10px 0 0; }
.headerfb { float:right; margin-left:10px; }
.headerfb img { margin:0px; padding:0px; margin-bottom:-5px; }
.headerfb img:hover { opacity: 0.6; filter: alpha(opacity=60); -webkit-transition: all .25s ease; -moz-transition: all .25s ease; -o-transition: all .25s ease; transition: all .25s ease; }
.sticky { position:absolute; top:0px; z-index:9999; width:100%; color:#fff; border-bottom:1px solid rgba(255,255,255,0.3) }
.logo, .valikko {  }
.logo {  }
.valikko {  } h1, h2, h3, h4, h5, h6 {
color: inherit; 
line-height: 130%;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; line-height: 130%; }
p { margin:0 0 20px 0; }
p, #main li { line-height: 150%; font-size:18px; font-weight:500; }
p img { margin: 0; }
em { font-style: italic; }
strong { font-weight: bold; }
small { font-size: 80%; } blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; }
blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
blockquote cite { display: block; font-size: 12px; color: #555; }
blockquote cite:before { content: "\2014 \0020"; }
blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }
hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; } a, a:visited { color: inherit; text-decoration: none; outline: 0; }
a:hover, a:focus { text-decoration:underline; }
p a, p a:visited { line-height: inherit; } ul, ol { margin:0 0 20px 20px; }
ul { list-style: none outside; }
ol { list-style: decimal; }
ul.square { list-style: square outside; }
ul.circle { list-style: circle outside; }
ul.disc { list-style: disc outside; }
ul ul, ul ol,
ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%;  }
ul ul li, ul ol li,
ol ol li, ol ul li { margin-bottom: 6px; }
li { line-height:150%; margin: 0 0 5px 20px; font-size:16px; list-style-type: disc; }
ol, ol li { list-style: decimal; }
ul.large li { line-height: 21px; }
li p { line-height: 21px; } .main-nav ul, .main-nav li {
list-style-type:none;
padding:0px;
margin:0px;
}
.main-nav li { display:flex; align-items:center; justify-content:flex-start }
.main-nav a {
font-size:14px;
padding: 0 14px;
text-decoration: none;
line-height: 70px;
display:block;
color:inherit;
font-weight:600;
opacity:.6;
position:relative;
-webkit-transition: all .25s ease;
-moz-transition: all .25s ease;
-o-transition: all .25s ease;
transition: all .25s ease;	
}
.main-nav > ul > li > a:before {
background-color: #fff;
border-radius: 0;
bottom: 0;
content: "";
height: 4px;
left: 0;
position: absolute;
right: 0;
-webkit-transition: -webkit-transform .3s;
transition: -webkit-transform .3s;
transition: transform .3s;
transition: transform .3s,-webkit-transform .3s;
-webkit-transition-timing-function: cubic-bezier(.665,.14,.785,.285);
transition-timing-function: cubic-bezier(.665,.14,.785,.285);
-webkit-transform: scaleX(0);
transform: scaleX(0);
-webkit-transform-origin: center center;
transform-origin: center center;
}
.main-nav > ul > li.menu-item-has-children > a { display:flex; align-items:center; }
.main-nav > ul > li.menu-item-has-children > a:after { content:''; display:inline-block; width:5px; height:5px; border-right:2px solid #fff; border-bottom:2px solid #fff; transform:rotate(45deg); opacity:.6; margin:0 0 5px 5px; transition:.25s all ease; }
.main-nav > ul > li.menu-item-has-children > a:hover:after { opacity:1 }
ul.sub-menu li.menu-item-has-children > a:after { content:''; display:inline-block; width:5px; height:5px; border-right:2px solid #fff; border-bottom:2px solid #fff; transform:rotate(-45deg); opacity:.6; margin:0 0 1px 5px; transition:.25s all ease;  }
ul.sub-menu > li.menu-item-has-children > a:hover:after { opacity:1 }
.main-nav a:hover {
opacity:1;
}
.main-nav > ul > li > a:hover:before {
-webkit-transition-timing-function: cubic-bezier(.12,.845,.305,1);
transition-timing-function: cubic-bezier(.12,.845,.305,1);
-webkit-transform: scaleX(1);
transform: scaleX(1);
}
.main-nav li.active > a { opacity:1 }
.main-nav li.active > a:before { -webkit-transition-timing-function: cubic-bezier(.12,.845,.305,1);
transition-timing-function: cubic-bezier(.12,.845,.305,1);
-webkit-transform: scaleX(1);
transform: scaleX(1); }
.main-nav ul ul a {
width: 155px;
color:inherit;
line-height: 130%;
padding: 10px 20px;
display:block;
opacity:.6;
}
.main-nav ul ul li {
margin:0;
padding:0;	
}
.main-nav ul ul a:hover {
color:inherit;
box-shadow:none;
opacity:1;
}
.main-nav ul li {
position:relative;
float:left;	
}
.main-nav ul ul {
position: absolute;
top: -200%;
left: 0;
opacity: 0;
background-color:rgba(30, 31, 36, 0.7);
color: #fff;
text-align: left;
margin: 0;
z-index: -999;
height: 0;
transform: translateY(-20px);
}
.main-nav ul ul ul {
left:195px;
margin-top:-39px;
}
.main-nav ul li:hover > ul {
position: absolute;
top: 100%;
opacity: 1;	
}
#show-nav {
display:none;	
background:#f4f4f4;
border:1px solid #dedddd;
margin-top:10px;
margin-bottom:10px;
}
#show-nav a, #close-nav a {
line-height:20px;
padding:10px 15px;	
}
#close-nav {
display:none;
background:#f4f4f4;
border:1px solid #dedddd;
margin-top:10px;
margin-bottom:20px;
}
.menu {
padding:0px;
margin:0px;
}
.main-nav ul > li:hover > ul {
position: absolute;
top: 100%;
opacity: 1;
z-index: 9999;
height: auto;
transform: translateY(0);
transition: transform .2s, opacity .3s;
} form {
margin-bottom: 20px; }
fieldset {
margin-bottom: 20px; }
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
border: 1px solid #ccc;
padding: 6px 4px;
outline: none;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
font: 13px;
color: #777;
margin: 0;
width: 100%;
max-width: 100%;
display: block;
margin-bottom: 20px;
background: #fff; }
select {
padding: 0; }
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus {
border: 1px solid #aaa;
color: #444;
-moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
-webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
box-shadow:  0 0 3px rgba(0,0,0,.2); }
textarea {
min-height: 60px; }
label,
legend {
display: block;
font-weight: bold;
font-size: 13px;  }
select {
width: 220px; }
input[type="checkbox"] {
display: inline; }
label span,
legend span {
font-weight: normal;
font-size: 13px;
color: #444; } .footer {
background:#1e1f24;
color:#fff;	
padding: 120px 0 0;	
}    .wp-caption
{
border: 0px solid #ddd;
background-color: #f3f3f3;
margin:0 0 20px 0;
padding:0;
display:block;
max-width:100%;
}
.wp-caption img
{
margin: 0;
padding: 0;
border: 0 none;
max-width:100%;
height:auto;
display:block;
}
.wp-caption p.wp-caption-text
{
font-size: 14px;
line-height: 17px;
padding: 8px 0;
margin: 0;
}
.wp-caption, .wp-caption p
{
text-align: center;
}
.gallery {
margin: 0 auto 18px;
clear:both;
overflow:hidden;
}
.gallery .gallery-item {
float: left;
margin-top: 0;
text-align: center;
width: 33%;
}
.gallery img {
border: 2px solid #cfcfcf;
}
.gallery .gallery-caption {
color: #888;
font-size: 12px;
margin: 0 0 12px;
}
.gallery img {
border: 10px solid #f1f1f1;
}
.bypostauthor{}
.aligncenter, div.aligncenter, .art-article .aligncenter img, .aligncenter img.art-article, .aligncenter img, img.aligncenter
{
display: block;
margin-left: auto;
margin-right: auto;
}
p.aligncenter , p.center 
{
text-align: center; 
}
.alignleft
{
float: left;
}
.alignright
{
float: right;
}
.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
max-width: 100%;
height: auto;
}