/*!
Theme Name: TTK
Theme URI: http://underscores.me/
Author: Hahmo
Author URI: https://hahmo.fi
Description: Description
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ttk
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

TTK is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
* {
	font-family:"Source Sans Pro", serif;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}

.wp-block-separator {
	border:none !important;
}
.wp-block-column {
	word-break:normal;
	overflow-wrap:normal;
}

body,
button,
input,
select,
optgroup,
textarea {
	color: #222;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
}
h1 {
	font-family:Oswald, sans-serif;
	text-transform:uppercase;
	font-size: 4rem;
	font-weight:500;
	line-height:1;
	letter-spacing:1.5px;
	margin: 0.67em 0;
	color:#222;
}
h1 i {
	font-size:60%;
	font-style:normal;
}
h2,
h2 a {
	font-family:Oswald, sans-serif;
	font-weight:500;
	font-size:36px;
	font-size:2.25rem;
	line-height:1.1;
	letter-spacing:1px;
	text-decoration:none;
	color:#222;
}
h2.widget-title,
h2.widget-title a {
	font-size:24px;
	text-transform:uppercase;
}
.entry-content h2:not(.no-extra-margin):not(.iso):before,
body.search-results h2.entry-title:before {
	content:"";
	display:block;
	
	/*
	
	palauta 2022:
	
	background-color:#003cff;
	
	*/
	background-color:#ff69ff;
	
	
	width:48px;
	height:6px;
	margin-bottom:12px;
}

body.search-results h1 {
	margin-bottom:72px;
}
body.search-results article {
	margin-top:48px;
}
body.search-results h2.entry-title {
	margin-bottom:0;
}
body.search-results .entry-summary {
	margin-top:12px;
}

h2.iso {
	font-size:40px;
	font-size:2.5rem;
	text-transform:uppercase;
}

.palsta .tekstit {
	width:70%;
}

h3,
h3 a {
	font-family:"Oswald", sans-serif;
	letter-spacing:0.7px;
	font-size:18px;
	font-size:1.125rem;
	text-transform:uppercase;
	text-decoration:none;
	color:#222;
}
h5,
h5 * {
	font-family:Oswald, sans-serif;
	font-size: 20px;
	font-size: 1.25rem;
	letter-spacing: 0.2px;
	font-style:normal !important;
	font-weight:500 !important;
}
h5 {
	line-height: 1.4;
	margin-top:18px;
}
h5 i {
	font-style:normal;
	font-size: 14px;
	font-size: 0.875rem;	
}
.palsta h5 {
	margin-bottom:0;
}
p {
	margin-bottom: 1.5em;
}
p.pieni {
	font-size:13px;
	font-size:0.8125rem;
	line-height:1.4;
}
p.alaviite {
	border-top:1px solid #ccc;
	font-size:13px;
	font-size:0.8125rem;
	line-height:1.4;
	padding-top:8px;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	/*
	
	palauta 2022:
	
	color:#003cff;
	border-left: 7px dotted #003cff;
	
	*/
	color:#222;
	border-left: 7px dotted #ff69ff;
	
	
	box-sizing: border-box;
	font-weight: 700;
	line-height: 1.2;
	margin: 24px 0;
	padding: 28px 0 24px 34px;
}
address {
	margin: 0 0 1.5em;
}
code, kbd, tt, var {
	font-family: monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
	overflow-x:hidden;
}
*, *:before, *:after {
	box-sizing: inherit;
}
body {
	background: #fff;
	overflow-x:hidden;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
	clear:both;
}
ul, ol {
	margin: 0 0 1.5em 0;
}
.entry-content ul,
.entry-content ol {
	padding:0;
}
ul {
	list-style: none;
	list-style-position: outside;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 0.5em;
}
.entry-content li {
	padding-left:8px;
	text-indent: -8px;
}
.entry-content li:before {
	content: "· ";
	font-size: 16px;
	font-weight: 400;
	text-indent: -8px;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}
figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}




/*--------------------------------------------------------------
# Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}
.site-header,
.kaare,
.site-content,
.site-footer {
	max-width:1300px;
	margin:0 auto;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

body.home .content-area {
	position:relative;
}

body.home .entry-content {
	margin-top:-40px;	
}

body.home h2.juuri-nyt {
	margin-bottom:12px;
	transition: margin-top 150ms;
}
@media screen and (min-height:600px){
	body.home h2.juuri-nyt {
		margin-top:-140px;
		
		/*
	
		palauta 2022:
	
		color:#fff;
	
		*/
		color:#ff69ff;
	}
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

body.julkaisu .entry-content .size-full img,
body.julkaisu .entry-content .size-large img,
body.esitys-lehti .entry-content img.size-large,
body.toimintakertomukset .entry-content img {
	box-shadow:0 0 8px rgba(0,0,0,0.15);	
}

body.esitys-2-2015 .entry-content {
	padding-top:48px;
}

body.esitys-lehti .entry-content figcaption {
	text-transform:uppercase;
	font-size:90%;
}

body.esitys-lehti .nro {
	font-weight:700;
	margin-bottom:18px;
	display:inline-block;
	border-top:6px solid transparent;
}
body.esitys-lehti .nro_1-2017,
body.esitys-lehti .nro[class*="_4-"],
body.esitys-lehti .nro_2-2008,
body.esitys-lehti .nro_1-2007 {
	border-top-color:#222;
}

article[class*="tiedotteet"] .entry-meta {
	font-size:32px;
	font-size:2rem;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Primary vs. secondary, vrt. /layouts/content-sidebar.css
--------------------------------------------------------------*/

.content-area {
	margin: 0 auto;
}
body:not(.no-sidebar) .content-area {
	float: left;
	margin: 0 -33.3% 0 0;	
	width: 100%;	
}
.site-main {
	margin: 0 32px;
}
body:not(.no-sidebar) .site-main {
	margin-right:25%;
	/*
	width: 66.7%;
	*/
	width: 70%;
	padding-right:48px;
}
body:not(.no-sidebar) .site-content .widget-area {
	margin-top:24px;
	float: right;
	/*
	width: 33.3%;
	*/
	width: 25%;
}

@media screen and (max-width:768px){
	body:not(.no-sidebar) .content-area {
		float: none;
		width: 100%;
	}
	body:not(.no-sidebar) .site-main {
		width: 100%;
		padding-right:32px;
	}
	body:not(.no-sidebar) .site-main > * {
		margin-right:32px;
	}
	body:not(.no-sidebar) .site-content .widget-area {
		float:none;
		width:100%;
	}
	body:not(.no-sidebar) .site-content .widget-area > * {
		margin-left:32px;
		margin-right:32px;
	}
	body:not(.no-sidebar) .site-content .widget-area > *:not(:last-child) {
		border-top: 1px solid #ccc;
	}
}
.site-footer {
	clear: both;
	width: 100%;
	margin-bottom:96px;
}


#secondary ul {
	list-style-type: none;
}

/*--------------------------------------------------------------
# Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
a *:not(i) {
	color: #222;
}
a {
	/*
	
	palauta 2022:
	
	color:#003cff;
	
	*/
	color: #6244e3;
	
	text-decoration:none;
	outline: 0;
}
#secondary a,
.site-info a {
	color:#222;
}
a:hover,
a:hover *,
#secondary a:hover {
	color:#aaa;
}

.palsta a:hover,
.palsta a:hover * {
	color:#888;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: left;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# TTK-ekstra
--------------------------------------------------------------*/
.bannerilinkki {
	max-width:300px;
}
.levea-naytto {
	display:none;
}
@media screen and (min-width:768px) {
	.kapea-naytto {
		display:none;
	}
	.levea-naytto {
		display:block;
	}
}


figure {
	position:relative;
}

.kuvaaja {
	position:absolute;
	top:0;
	right:-6px;

	font-size:10px;
	font-size:0.625rem;
	
	line-height:1;
	text-transform:uppercase;
	
	-ms-transform-origin: right top;
	-webkit-transform-origin: right top;
	transform-origin: right top;

	-ms-transform:rotate(-90deg); /* IE 9 */
    -webkit-transform:rotate(-90deg); /* Chrome, Safari, Opera */
	transform:rotate(-90deg);	
}




.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.post-navigation i {
	font-style:normal;
}


.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

.sis {
	position:relative;
}
.palsta {
	width:45%;
	float:left;
	margin-right: 5%;	
}

.palsta.nosto-kevyt {
	width:100%;
	margin-right:32px;
	overflow:hidden;
	position:relative;
	float:left;
	margin-bottom:32px;
	overflow:visible;
}

.palsta.nosto-kevyt .kuva.sis {
	background-position:center center;
	background-size:cover;
	background-repeat:no-repeat;
	border-radius:50%;
	width:96px;
	height:96px;
	float:left;
	overflow:hidden;
}
body:not(.home) .palsta.nosto-kevyt .kuva.sis {
	box-shadow:0 0 8px rgba(0,0,0,0.15);
}

body.home .palsta.nosto-kevyt h3 {
	word-wrap:normal;
	margin-top:6px;
}

body:not(.arkisto) .palsta a .sis .hover {
	content:"";
	display:block;
	top:0;
	left:0;
	width:100%;
	height:100%;
	position:absolute;
	background-color:#000;
	opacity:0;
	transition:opacity 150ms;
	z-index:0;
}
body:not(.arkisto) .palsta a:hover .sis .hover {
	opacity:0.3;
}

body.muistogalleria .palsta a .sis .hover {
	background-color:#fff;
}
body.muistogalleria .palsta a:hover .sis .hover {
	opacity:0.8;
}

body.arkisto .palsta a {
	transition:transform 100ms;
	display:block;
}
body.arkisto .palsta a:hover {
	transform:scale(0.98);
}

.palsta a img {
	transition:transform 150ms;
}
.palsta a:hover img {
	transform:scale(1.02);
}


.vuosiluku_arkisto {
	margin:0 6px;
}
.vuosiluku_arkisto:hover {
	color:#aaa;
}

.paakehys {
	margin-top:42px;
}
.juuri_nyt_laatikko .paakehys {
	margin-top:12px;
}
#kehys_arkisto .palsta {
	border-top:1px solid #ccc;
	padding-top:12px;
}

body.home .palsta.nosto-kevyt {
	margin-bottom:44px;
}
.palsta.nosto-kevyt .tekstit {
	float:left;
	word-wrap:normal;
	width:50%;
	margin-left:12px;
	margin-top:-12px;
}

.kehys_nosto-kevyt.kirjat .tekstit p {
	font-size:14px;
	line-height:1.2;
}

.palsta.nosto-kevyt:hover p {
	opacity:0.5;
}

.piilota {
	display:none;
}
.clear {
	clear:both !important;
}


.homepage-blog-column-small {
	display:none;
}

@media screen and (max-width:781px){
	.homepage-blog-column-large {
		display:none;
	}
	.homepage-blog-column-small {
		display:block;
	}
}

@media screen and (max-width:599px){
	.homepage-blog-column-small {
		margin-top:36px;
		border-top:1px solid #ccc;
	}
}


/*--------------------------------------------------------------
# TTK, artikkelikohtaisia
--------------------------------------------------------------*/

.pienennetty-kuva {
	float:left;
	padding:0 22px 22px 0;
}

.pienennetty-kuva.zodiak img {
	height:48px;
	width:auto;
}
.pienennetty-kuva.sidestep img {
	height:72px;
	width:auto;
}
.pienennetty-kuva.universum img {
	height:64px;
	width:auto;
}


/*--------------------------------------------------------------
# Yläpalkki, valikko
--------------------------------------------------------------*/


.site-header {
	position:relative;
}
.site-branding {
	position:absolute;
}

.main-navigation ul {
	list-style: none;
}
.paavalikko,
.paavalikko ul {
	padding:0;
	margin:0;
}
.paavalikko {
	margin-right:32px;
}
.paavalikko a[href*="#"] {
	cursor:default;
}
.paavalikko {	
	float:right;
}
.paavalikko > li {
	float: left;
	position: relative;
}
.paavalikko > li:hover > ul {
	display:block;
	right:0;
}
.paavalikko ul {
	float: left;
	position: absolute;
	z-index: 99999;

}
.paavalikko > li > ul {
	margin-right:0; 
	text-align:right;
	display:none;
}
.paavalikko ul ul {
	display:none;
	top:0;
	left:280px;
	text-align:left;
}
.paavalikko > li > ul > li:hover > ul,
.paavalikko > li > ul > li.focus > ul {
	display:block;
}
.paavalikko a {
	font-family:Oswald, sans-serif;
	font-weight:500;
	font-size:17px;
	letter-spacing:2px;
	text-decoration: none;
	text-transform: uppercase;
	display: block;
	padding:23px 16px 25px;
	transition:color 150ms;
}
.paavalikko > li > a {
	color:#000;
	background-color:transparent;
}
body.home .paavalikko > li > a {

	/*
	
	palauta 2022:
	
	color:#fff;
	
	*/
	color:#ff69ff;
}
.paavalikko > li > ul a {
	color:#fff;
	/*
	
	palauta 2022:
	
	color:#fff;
	background-color:#111;
	
	*/
	
	color:#222;
	background-color:#ff69ff;
}
.paavalikko ul a {
	width:280px;
}
.paavalikko ul ul a {

	/*
	
	palauta 2022:
	
	background-color:#1c51ff;
	
	*/
	
	color:#fff;
	background-color:#3d25ba;
	margin-left:0;
}
.paavalikko > li.current-menu-item > a,
.paavalikko > li.current-menu-ancestor > a,
.paavalikko > li.current-menu-parent > a,
body.julkaisu li.julkaisut-valikossa > a {
	/*
	
	palauta 2022:
	
	color:#003cff;
	
	*/
	color:#6244e3;
}
body.home .paavalikko > li.current-menu-ancestor > a,
body.home .paavalikko > li.current-menu-parent > a {

	/*
	
	palauta 2022:
	
	color:#fff;
	
	*/
	color:#ff69ff;
}
.paavalikko > li > ul > li.current-menu-item > a {

	/*
	
	palauta 2022:
	
	background-color:#3d6bff;
	
	*/
	color:#fff;
}
.paavalikko ul ul > li.current-menu-item > a {
	/*
	
	palauta 2022:
	
	background-color:#000;
	
	*/
	color:#ff69ff;
}
.paavalikko > li.menu-item-has-children > ul > li > a {
	padding-right:32px;
}
.paavalikko > li > ul > li.menu-item-has-children > a {
	background-size:20px;
	background-repeat:no-repeat;
	background-position:96.7% center;	background-image:url("data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20id%3D%22arrow_right%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20viewBox%3D%220%200%20128%20128%22%3E%0A%09%3Cpolyline%20class%3D%22arrow%22%20stroke%3D%22%23fff%22%20stroke-width%3D%2214%22%20fill%3D%22none%22%20points%3D%2250.1%2C15.9%2098.3%2C64%2050.1%2C112.1%20%22%2F%3E%0A%3C%2Fsvg%3E");
}
.paavalikko > li a:not([href*="#"]):hover {	
	color:#fff;
	
	/*
	
	palauta 2022:
	
	background-color:#003cff;
	
	*/
	background-color:#ff69ff;
}



















.pikkuvalikon_tausta {
	position:fixed;
	z-index:99998;
	
	/*
	
	palauta 2022:
	
	background-color:#003cff;
	
	*/	
	background-color:#ff69ff;
	
	top:0;
	left:0;
	width:100%;
	height:100%;
	display:none;
}
.pikkuvalikko {
	position:relative;
	z-index:99999;
	display:none;
	margin:0 auto;
	width:100%;
	padding:72px 0;
}
.pikkuvalikko ul {
	padding:0;
}


.pikkuvalikko a {

	font-family:Oswald, sans-serif;
	font-weight:300;
	font-size:24px;
	line-height:1;
	letter-spacing:2px;
	text-decoration: none;
	display: block;
	padding:24px 16px;
	transition:color 150ms;

	/*
	
	palauta 2022:
	
	color:#fff;
	
	*/
	color:#222;
}


.pikkuvalikko > li > a {
	text-transform:uppercase;
	font-size:18px;
	font-weight:500;
}

.pikkuvalikko > li > a[href*="#"] {
	cursor:default;
}

.pikkuvalikko > li > ul {
	margin-left:64px;
}

.pikkuvalikko ul ul {
	height:0;
	overflow:hidden;
	transition:background-color 300ms;
	margin-left:20px;
}
.pikkuvalikko > li > ul > li.focus > ul {
	height:auto;
}
.pikkuvalikko > li > ul > li > ul > li > a  {
	opacity:0;
	transition:opacity 600ms;
	position:relative;
	/*
	
	palauta 2022:
	
	color:#fff;
	
	*/
	color:#222;
}

.pikkuvalikko > li > ul > li > ul > li > a::before {
	content:"—";
	font-size:32px;
	font-size:1.5rem;
	line-height:0;
	position:relative;
	top:33px;
	left:-8px;
	transition:opacity 0;
	position:absolute;
	/*
	
	palauta 2022:
	
	color:#fff;
	
	*/
	color:#222;
}

.pikkuvalikko > li > ul > li.focus > ul > li > a {
	opacity:1;
}
.pikkuvalikko > li > ul > li.focus > ul > li > a::before {
	opacity:1;
}
.pikkuvalikko > li > a:not([href*="#"]):hover,
.pikkuvalikko > li > ul > li a:hover {
	
	/*
	
	palauta 2022:
	
	color:#4b75ff;
	
	*/
	color:#fff;
}

.pikkuvalikko > li > ul > li.focus > a {
	cursor:default;
	color:#fff;
}

.pikkuvalikko > li[class*='current'] > a,
.pikkuvalikko > li li[class*='current'] > a {
	color:#fff;
}

.menu-toggle {	
	position:absolute;
	right:0;
	width:36px;
	height:36px;
	cursor:pointer;
	z-index:99999;
	top:16px;
	right:24px;
	display:none;

}

.main-navigation > div.menu-toggle {
	margin:0 20px;
}

.menu-toggle svg {
	fill:none;
	stroke:#222;
	stroke-width:7;
	position:absolute;	
}
body.home .menu-toggle svg {
	/*
	
	palauta 2022:
	
	stroke:#fff;
	
	*/
	stroke:#ff69ff;
}


.menu-toggle svg#menu_toggle_button_svg_open {
	stroke:#fff;
}
.menu-toggle:hover svg,
.menu-toggle:hover svg#menu_toggle_button_svg_open {
	/*
	
	palauta 2022:
	
	stroke:#4b75ff;
	
	*/
	stroke:#222;
}

body.home .menu-toggle:hover svg {
	/*
	
	palauta 2022:
	
	stroke:rgba(255,255,255,0.5);
	
	*/
	stroke:#fff;
}
body.toggled .menu-toggle {
	position:fixed;
}





@media screen and (max-width: 1024px) {
	
	.paavalikko {
		height:69px;
	}
	.paavalikko * {
		display:none;
	}
}

body .menu-toggle svg#menu_toggle_button_svg_open,
body .menu-toggle svg#menu_toggle_button_svg_closed {
	display:none;
}

@media screen and (max-width: 1024px) {
	
	.menu-toggle {
		display:block;
	}
	body.toggled .pikkuvalikon_tausta,
	body.toggled .pikkuvalikko {
		display:block;
	}
	
	body.toggled .menu-toggle svg#menu_toggle_button_svg_open {
		display:block;	
	}
	body:not(.toggled) .menu-toggle svg#menu_toggle_button_svg_closed {
		display:block;
	}
	body.toggled .ylapalkki,
	body.toggled .site-content,
	body.toggled .site-footer {
		position:fixed;
	}
}

/*--------------------------------------------------------------
# Tilaa uutiskirje
--------------------------------------------------------------*/

/* Form */
#vscf {clear:both;}
#vscf:after {content:''; display:block; height:0; clear:both;}
.vscf-container {}

/* Form anchor */
#vscf-anchor {clear:both;}

/* Form elements */
#vscf .form-group {clear:both; margin-bottom:15px;}
#vscf .form-group label {margin-bottom:5px; display:block;}
#vscf .form-group input[type="text"], #vscf .form-group input[type="email"] {width:100%; font-family:inherit;}
#vscf .form-group textarea {width:90%; font-family:inherit;}
#vscf .form-group button {font-family:inherit;}
.vscf-name-group {}
.vscf-email-group {}
.vscf-subject-group {}
.vscf-captcha-group {}
.vscf-message-group {}
.vscf-privacy-group {}
.vscf-submit-group {}

/* Error */
#vscf .vscf-error {border-color:#ff0000; color:#ff0000;}

/* Hide elements */
#vscf .vscf-hide {display:none;}

/* Success or fail message */
.vscf-info {font-style:normal; font-size:1.2em;}




/*--------------------------------------------------------------
# Haku
--------------------------------------------------------------*/

input[type="email"],
input[type="search"] {
	border:0;
	
	-webkit-border-radius:0;
	border-radius:0;
	-webkit-box-shadow: inset 0px 0px 0px 999px rgba(100,1000,100,0.1);
	-moz-box-shadow: inset 0px 0px 0px 999px rgba(100,100,100,0.1);
	box-shadow: inset 0px 0px 0px 999px rgba(100,100,100,0.1);
	
	height:32px;
	padding:3px 6px;
	vertical-align: bottom;
}

button,
input[type="submit"] {
    padding:0px 15px; 
    
    border:0 none;
    cursor:pointer;
    -webkit-border-radius:0;
    border-radius:0;
    
    font-weight:700;
    font-size:1rem;
    line-height:1;
    height:32px;
    text-transform:uppercase;
    transition:background 300ms; 

	/*
	
	palauta 2022:
	
	background:#003cff;
    color:#fff;
	
	*/   
    background:#ff69ff;
    color:#222;
    
}
button:hover,
input[type="submit"]:hover {

	/*
	
	palauta 2022:
	
	background:#000;
	
	*/ 
	
    color:#fff;
}

.haku-viiva {
	fill:none;
	stroke:#000000;
	stroke-width:14;
	stroke-miterlimit:10;
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer-sidebar {
	margin:48px 32px;
	border-top:1px solid #ccc;
}

#footer-sidebar > div {
	width:30%;
	box-sizing:border-box;
	float:left;	
	margin-right:3%;
}
#footer-sidebar > div:not(:first-child) {
	margin-left:14px;
}

#footer-sidebar .search-form {
	margin-top:16px;
}

body.search-no-results .site-footer .widget_search,
body.error404 .site-footer .widget_search {
	display:none;
}

@media screen and (max-width:768px){
	#footer-sidebar > div {
		width:100%;
	}
	#footer-sidebar > div:not(:first-child) {
		margin-left:0;
	}
}

.site-info {
	text-transform:uppercase;
	font-size:10px;
	font-size:0.625rem;
	margin:0 32px;
}

/*--------------------------------------------------------------
# Nappulat
--------------------------------------------------------------*/

.nappula {
	font-weight:700;
	text-transform:uppercase;
	font-size:14px;
	font-size:0.875rem;
}
.nappula a::before {
	content:"";
	display:inline-block;
	
	/*
	
	palauta 2022:
	
	background-color:#003cff;
	
	*/
	background-color:#222;
	
	
	background-size:70%;
	background-repeat:no-repeat;
	background-position:center center;
	width:32px;
	height:32px;
	vertical-align:-60%;
	margin-right:8px;
	cursor:pointer;
}
.nappula.osta a::before {
	background-image:url(/img/osta.svg);
}
.nappula.lataa a::before {
	background-image:url(/img/lataa.svg);
}
.nappula a:hover::before {
	background-color:#777;	
}


/*--------------------------------------------------------------
# Lyhytkoodien typografia
--------------------------------------------------------------*/

.blogiotsikot {
	max-width:200px;
}
.blogiotsikot .pvm {
	font-size:80%;
	font-weight:700;
}


/*--------------------------------------------------------------
# Some
--------------------------------------------------------------*/

.some-linkit a {
	margin:0 18px 18px 0;
	opacity:1;
	transition:opacity 300ms;
}

.some-linkit a:hover svg {
	/*
	
	palauta 2022:
	
	fill:#003cff;
	
	*/
	fill:#ff69ff;
}
h6,
.social-btn {
	text-transform:uppercase;
	font-size:14px;
	font-size:0.875rem;
	font-weight:700;
}
.social-box {
	margin-top:32px;
}
body.home .social-box {
	display:none;
}

.fb-syote {
	transform:scale(1);
	transform-origin:top left;
}
#ig-syote-raami {
	max-width:340px;
}


/*--------------------------------------------------------------
# Tuhogalleria
--------------------------------------------------------------*/

body[class*='tuhottu']{
	background:rgb(255,85,0);
}

body[class*='tuhottu'] #masthead {
	display:none;
}
	