/*
Theme Name: Ilveksiä ainiaan
Author: www.ilveksiäainiaan.com
Author URI: www.ilveksiäainiaan.com
Description: Teeman on toteuttanut © Bad Pixel Oy. | Teeman jälleenmyynti kielletty, ilman kirjallista lupaa.
Version: 0.1
Copyright: Kaikki oikeudet muutoksiin pidätetään © Bad Pixel Oy
*/

@import "css/nav-style.css";

/*--------------------------------------------------------------
# KOODIT
Keltainen: 	#FFCB05
Vihreä		#006934
Musta		#000000

100 = thin
300 = light
400 = regular
500 = medium
700 = bold
800 = extra bold
900 = black
--------------------------------------------------------------*/

:root {
  --color-bg_1: #ffffff;
  --color-bg_2: #000000;
  --color-bg_3: #006934;
  --color-bg_4: #FFCB05;


  --color-border_1: #ffffff;
  --color-border_2: #000000;
  --color-border_3: #006934;
  --color-border_4: #FFCB05;
  
  --color-font_1: #ffffff;
  --color-font_2: #000000;
  --color-font_3: #006934;
  --color-font_4: #FFCB05;
 
  --color-bg-button_1: #ffffff;
  --color-bg-button_2: #000000;
  --color-bg-button_3: #006934;
  --color-bg-button_4: #FFCB05;

  --font-family-1: 'Oswald', sans-serif;;

  --font-weight-1: 400; /* Regular */
  --font-weight-3: 400; /* Regular */
  --font-weight-bold: 700; /* Bold */

  --full-width-content-with-nav: calc(100%);
}

/* Käyttö background: var(--color-bg_1); */

.bg-1 { background: var(--color-bg_1); }
.bg-2 { background: var(--color-bg_2); }
.bg-3 { background: var(--color-bg_3); }
.bg-4 { background: var(--color-bg_4); }
.bg-5 { background: var(--color-bg_5); }
.bg-6 { background: var(--color-bg_6); }

.color-1 { color: var(--color-font_1); }
.color-2 { color: var(--color-font_2); }
.color-3 { color: var(--color-font_3); }
.color-4 { color: var(--color-font_4); }
.color-5 { color: var(--color-font_5); }
.color-6 { color: var(--color-font_6); }

.border-top-1 {
	border-top: 1px solid var(--color-border_3);
}

.wrapper {
	width: var(--full-width-content-with-nav);
}

/* saavutettavuuteen pois päältä
* {
	outline: none;
}
*/





.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0) !important;
}

/* Wordpress editor styles start */

.entry-content img {
	margin: 0 0 1.5em 0;
	}
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}
.alignnone, img.alignnone {
	text-align: none;
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 10px;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
	}

/* Wordpress editor styles end */

/* --------------------------------------------------------------
	NORMALIZE
-------------------------------------------------------------- */
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
	
}

body {
	margin: 0;
}

/*
html, 
body {
  height: 100%;
  min-height: 100%;
}
*/

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: var(--font-weight-bold);
}

dfn {
	font-style: italic;
}

mark {
    background: var(--color-bg_3);
    color: var(--color-font_4);
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}
/*
img {
	border: 0;
	width: 100%;
}*/

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0em;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}




/* --------------------------------------------------------------
	PERUSSETTI
-------------------------------------------------------------- */

body {
	background: var(--color-bg_1);
}
html, body {
	color: var(--color-font_2);
	font-family: var(--font-family-1);
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
	font-size: 16px; /* Yleiskoko fontille, tähän suhteutettu muut */
	font-weight: var(--font-weight-4); 
}

@media(max-width: 767px){
	html, body { }
}

.hidden, .hide { display: none !important;}
.text-left {text-align: left;}
.text-right {text-align: right;}
.text-center {text-align: center;}

section {position: relative;}

.image-cover {
	background-size: cover;
}
.image-contain {
	background-size: contain;
}
.image-center {
	background-position: center;
}

/* --------------------------------------------------------------
	Fonttien kokoja, suhteutettuna yleiskokoon + Värejä
-------------------------------------------------------------- */

p { 
	font-size: 1.0em; 
	line-height: 1.5; 
}


a, 
a:visited, 
a:active {
	/*color: var(--color-font_4); */
	text-decoration: underline;
}

a:focus,
a:hover {
	color: var(--color-bg_3); 
}


.footer a,
a.opener-linkki,
.goback a {text-decoration: none;}


.blogi-artikkeli a {
	color: var(--color-font_4);
}

h1 { 
	color: var(--color-font_2); 
	font-family: var(--font-family-1);
}

h2, h3, h4, h5, h6 { 
	color: var(--color-font_2); 
	font-family: var(--font-family-1);
}
.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6 {
	color: var(--color-font_1);
	font-weight: var(--font-weight-bold);
}

.color-1 h1,
.color-1 h2,
.color-1 h3,
.color-1 h4,
.color-1 h5,
.color-1 h6 {
	color: var(--color-font_1);
}

h1 {
	font-size: 3.0em;
    margin: 0.75em 0;
	font-weight: var(--font-weight-bold);
}

h2 {
	font-size: 2.5em;
	margin: 0.7em 0;
	font-weight: var(--font-weight-bold);
}

h3 {
	font-size: 2.0em;
	margin: 0.5em 0;
	font-weight: var(--font-weight-bold);
}

h4 {
	font-size: 1.8em;
	margin: 0.4em 0;
	font-weight: var(--font-weight-bold);
}

h5 {
	font-size: 1.5em;
	margin: 0.4em 0;
	font-weight: var(--font-weight-bold);
}

h6 {
	font-size: 1.2em;
	margin: 0.3em 0;
	font-weight: var(--font-weight-bold);
}


/* --------------------------------------------------------------
	NAVIGAATIO, kts. css/nav-styles.css
-------------------------------------------------------------- */

.navigaatio-1 .navbar-nav {
	flex-direction: row;
}
@media (max-width: 767px) {
	.navigaatio-1 .navbar-nav {
		flex-direction: column;
	}
}


.navbar-toggler:focus {
	outline: auto;
}

.navigaatio-1 .navbar-toggler-icon {
    background-image: url('img/theme/hamburger.svg') !important;
}
.navigaatio-1 .navbar-collapse.collapse.show .navbar-toggler-icon {
    background-image: url('img/theme/close.svg') !important;
}

.nav {
	transition:all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	}

/* --------------------------------------------------------------
	HEADER
-------------------------------------------------------------- */

#header {
	/*overflow: hidden;*/
    width: 100%;
    text-align: center;
    position: relative;
	height: 40vw;
}

.header .headerkuva {
	background-position: center;
	background-size: cover;
	position: relative;
}

.header .headerkuva:after {
	content: '';
	background-color: var(--color-bg_3);
	width: 100%;
	height: 100%;
	left: 0; 
	right: 0;
	top: 0;
	bottom: 0;
	opacity: .4;
	position: absolute;
}

.header .header-logoholder {
	position: relative;
}

.header .header-logoholder:after {
	content: '';
    width: 31vw;
    height: 18vw;
    background-image: url('img/theme/logo.png');
    position: absolute;
    right: -15vw;
    z-index: 10;
    top: 26%;
    background-size: contain;
    background-repeat: no-repeat;
}

@media (max-width: 650px) {
	.header .header-logoholder:after {
		right: -7vw;
	}	
}

.nav-logo {
    position: relative;
    margin: 0 auto;
    width: 100%;
	max-width: 120px !important;
    height: auto !important;
}

.lang-item-first {position: relative;}
.lang-item-first::after {
    content: '';
    width: 50%;
    position: absolute;
    bottom: -0.2em;
    margin: auto;
    right: 0;
    left: 0;
    background: var(--color-bg_4);
    height: 1px;
}

@media (max-width: 420px) {
	.menu-lang { margin: 0em 0em; }
	.nav-logo{ max-width: 100px !important; }
}

@keyframes logofade{
	from {opacity: 0;}
	to {opacity: 1;}
}
#logo {  
	z-index: 10; 
	animation: logofade 0.5s 1 cubic-bezier(0.95, 0, 0.95, 0.49); 
}
#logo img {
    width: 100%;
    height: auto;
    /*max-width: 150px;*/
    /*padding: 0.5em 0em;*/
	max-width: 300px;
    position: relative;
}



/* --------------------------------------------------------------
	FOOTER
-------------------------------------------------------------- */

.footer {
    min-height: 350px;
    position: relative;
	background: var(--color-bg_5);
}

.footer p,
.footer a {
	font-size: 0.8em;
}

.footer .footer-inner {
	padding: 5em 0em 5em;
	background-color: var(--color-bg_2);
}
@media (max-width: 575px) {
	.footer .footer-inner {
		text-align: center;
	}
}

.footer a, .footer a:hover, .footer a:visited, .footer a:active {
	color: var(--color-font_1)
}

.footer .copyright {
	font-size: 0.8em;
	text-align: left;
	color: var(--color-font_1);
}


.footer-footnote {
    padding: .5em 0em;
	background-color: var(--color-bg_3);
}

.footer .footer-sivukartta {
	padding-left: 9em;
}
@media (max-width: 991px) {
	.footer .footer-sivukartta {padding-left: 4em;}
}
@media (max-width: 575px) {
	.footer .footer-sivukartta {padding-left: 1em;}
}

.footer .footer-inner h2 {
	font-size: 1.5em;
}
.footer .footer-inner h5 {
	font-size: 1.4em;
}
.footer .footer-inner p {
	margin-bottom: 0rem;
	color: var(--color-font_1);
}

.footer .footer-inner .logo {
	float: left;
	width: calc(33%);
}



.footer .footer-inner .logo img {
	max-width: 135px;
}

.bp-logo {
	max-width: 55px !important;
	width: 100% !important;
	opacity: 0.7;
	transition: ease .5s all;
	height: 20px !important;
}
.bp-logo:hover {
	opacity: 1;
	transition: ease .5s all;
}


/* --------------------------------------------------------------
	SIVUPALKKI
-------------------------------------------------------------- */


/* --------------------------------------------------------------
	FRONT
-------------------------------------------------------------- */

.home .section-single h1,
.home .section-single h2,
.home .section-single h3 {
	color: var(--color-bg-button_1);
}


/* --------------------------------------------------------------
	sivu
-------------------------------------------------------------- */


/* --------------------------------------------------------------
	ARCHIVE
-------------------------------------------------------------- */

.archive-single {
	padding: 3em 0em 4em;
}
.archive.basic.blog-home {
	padding: 3em 0em 4em;
}
.single-post .archive.basic.blog-home {
	padding: 0em;
}

/* --------------------------------------------------------------
	SINGLE & page-template-default
-------------------------------------------------------------- */

.section-single {
	padding: 1em 0em 4em;
}


/*--------------------------------------------------------------
	Listaukset
--------------------------------------------------------------*/


/*--------------------------------------------------------------
	Galleria 
--------------------------------------------------------------*/
.galleria-1 img {
	object-fit: cover;
	width: 100% !important;
	height: 100% !important;
}




/* --------------------------------------------------------------
	SEARCH PAGE
-------------------------------------------------------------- */



/* --------------------------------------------------------------
	Napit, viivat, buttonit & taulukot
-------------------------------------------------------------- */

.line-1 {
	width: 100%;
	height: 4px;
	background: var(--color-border_3);
}


.otsikko-alaviivalla {
    border-bottom: solid 4px var(--color-border_3);
}

/* BTN 1 */
.btn-1 {
	letter-spacing: 2px;
    background-color: var(--color-bg-button_4);
    border: 1px solid var(--color-bg-button_4);
    color: var(--color-font_3);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    padding: 15px 15px;
	text-align: center;
    -webkit-border-radius: 0px;
    border-radius: 0px;	
	margin: 0.75em 0;
	/*
	display: flex;
    flex-direction: column;
	*/
	font-size: 0.7em;
	text-transform: uppercase;

	width: 100%;
    max-width: 240px;

	-webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;	
}
.btn-1.btn:focus-visible {
    color: var(--color-bg_1);
	letter-spacing: 3px;
    background-color: var(--color-bg-button_4);
    border: 1px solid var(--color-bg-button_4);
    outline: 0;
    box-shadow: none;

	-webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;		
}
.btn-1.btn-check:checked+.btn, .btn-1.btn.active, .btn-1.btn.show, .btn-1.btn:first-child:active, :not(.btn-check)+.btn-1.btn:active {
    color: var(--color-bg_2);
    background-color: var(--color-bg-button_4);
    border: 0px solid var(--color-bg-button_1);
}
.btn-1:hover {
	letter-spacing: 3px;
    background-color: var(--color-bg-button_4);
    border: 1px solid var(--color-bg-button_1);
    color: var(--color-bg_2);
    font-weight: var(--font-weight-bold);

    -webkit-filter: brightness(110%);
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;	
}

.uutinen.uutinen-front-vasen .btn-1,
.uutinen.uutinen-front-vasen .btn-1:hover {
	font-weight: var(--font-weight-3);
}


/* BTN 2 */
.btn-2 {
	letter-spacing: 3px;
    background-color: var(--color-bg-button_2);
    border: 0px solid var(--color-border_2);
    color: var(--color-font_1);
    font-weight: var(--font-weight-3);
    cursor: pointer;
    padding: 15px 15px;
	text-align: center;
    -webkit-border-radius: 0px;
    border-radius: 0px;	
	margin: 0.75em 0;
	display: flex;
    flex-direction: column;
	font-size: 0.7em;
	text-transform: uppercase;

	-webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;	
}
.btn-2.btn:focus-visible {
    color: var(--color-font_1);
    background-color: var(--color-bg-button_2);
    border: 0px solid var(--color-bg-button_2);
    outline: 0;
    box-shadow: none;

	-webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;		
}
.btn-2.btn-check:checked+.btn, .btn-2.btn.active, .btn-2.btn.show, .btn-2.btn:first-child:active, :not(.btn-check)+.btn-2.btn:active {
    color: var(--color-font_1);
    background-color: var(--color-bg-button_2);
    border: 0px solid var(--color-bg-button_2);
}
.btn-2:hover {
    background-color: var(--color-bg-button_2);
    border: 0px solid var(--color-bg-button_2);
    color: var(--color-font_1);
    font-weight: var(--font-weight-3);

    -webkit-filter: brightness(70%);
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;	
}

.headerkuva a {
	z-index: 10;
}
.headerkuva .btn-1 {
	padding: 1.4em 2em;
	font-size: 1em;
	transition: ease .5s;
}
@media (max-width: 460px) {
	.headerkuva .btn-1 {
		transform: scale(.8);
	}
}

.nostobutton-1 {
	position: absolute;
	bottom: 1em;
}
.nostobutton-1 .btn-1 {
	background-color: var(--color-bg-button_3);
	color: var(--color-font_4);
}
@media (max-width: 767px) {
	.nostobutton-1 {
		position: relative;
		bottom: inherit;
	}
}


.tapahtumanosto-1 {
	min-height: 500px;
}
.tapahtumanosto-1 img {
	max-width: 200px;
}
@media (max-width: 767px) {
	.tapahtumanosto-1 {
		min-height: 350px;
	}
}

/* --------------------------------------------------------------
	LOMAKKEET & Placeholderit
-------------------------------------------------------------- */
:placeholder,
::placeholder,
input:placeholder,
input::placeholder { color: #000000;}

input[type="tel"]::placeholder {
     color: #000; 
}

.yhteydenotto-1 {
	width: 100%;
    margin: auto;
}

.yhteydenotto-1 input,
.yhteydenotto-1 textarea {
	width: 100%;
	margin: .2em auto;
	font-size: .9em;
	padding: .8em .5em;
	border: 1px solid var(--color-border_4);
	background: var(--color-bg_4);
}

.yhteydenotto-1 .tiedosto-1 {
	width: 100%;
	margin: .2em auto;
	font-size: .9em;
	padding: .5em .5em;
	border: 1px solid var(--color-border_1);
	background: var(--color-bg_1);
}

.yhteydenotto-1 label {
	font-size: 1.2em;
    margin: 0.5em 0;
    font-weight: var(--font-weight-3);
}

.yhteydenotto-1 input:focus,
.yhteydenotto-1 textarea:focus {
	border: 1px solid var(--color-bg-button_3);
}

.yhteydenotto-1 input[type="submit"]{
	background: var(--color-bg_4);
	color: var(--color-font_2);
	padding: .5em .5em;
	border: none;

}

.yhteydenotto-1 input.laheta-1 {
	background: var(--color-bg_4);
	color: var(--color-font_2);
	padding: 0.8em .5em;
	border: none;
	max-width: 250px;
	display: block;
    margin-left: 0;
}

/* custom checkbox styling for contact form 7 checkbox */
.yhteydenotto-1 span.wpcf7-list-item {
	display: inline-block;
	margin: 0em 0.5em;
}
.yhteydenotto-1	.wpcf7 .wpcf7-list-item {
	display: block;
	margin-bottom: 10px;
}
.yhteydenotto-1 .wpcf7-checkbox label {
	position: relative;
	cursor: pointer;
}
.yhteydenotto-1 .wpcf7-checkbox input[type=checkbox] {
	position: absolute;
	visibility: hidden;
	width: 30px;
	height: 30px;
	top: 0;
	left: 0;
}

.yhteydenotto-1 .wpcf7-checkbox input[type=checkbox] + span:before {
	display: block;
	position: absolute;
	content: '';
	border-radius: 0;
	height: 30px;
	width: 30px;
	top: 0px;
	left: 0px;
	border: 1px solid var(--color-bg-button_3);
}
.yhteydenotto-1 .wpcf7-checkbox input[type=checkbox] + span:after {
	display: block;
	position: absolute;
	content: "\2713";
	height: 30px;
	width: 30px;
	top: 0;
	left: 0;
	visibility: hidden;
	font-size: 18px;
	text-align: center;
	line-height: 30px;
}
.yhteydenotto-1 .wpcf7-checkbox input[type=checkbox]:checked + span:before {
	background: transparent;
}
.yhteydenotto-1 .wpcf7-checkbox input[type=checkbox]:checked + span:after {
	visibility: visible;
}
.yhteydenotto-1 .wpcf7-list-item-label {
	margin-left: 40px;
	display: inline-block;
}


/* Latausnappien tyylittely 
.wpcf7-file::-webkit-file-upload-button,
.wpcf7-file::-moz-file-upload-button,
.wpcf7-file::-ms-file-upload-button {
	visibility: hidden;
	display: none;
}
.wpcf7-file::before {
	content: '';
	background-color: var(--color-bg-button_1) !important;
	border: 3px solid var(--color-bg-button_3);
	padding: 10px 10px;
	margin-right: 1em;
	margin-left: -7px;
	outline: none;
	white-space: nowrap;
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	cursor: pointer;
	color: #000000;
	width: 180px;
	display: inline-block;
	text-align: center;
}
.tiedosto-1-lataus .wpcf7-file::before {
	content: 'Lataa kasvokuva';
}
.tiedosto-2-lataus .wpcf7-file::before {
	content: 'Lataa kokovartalokuva';
}
.wpcf7-file:hover::before {
	border: 3px solid var(--color-bg-button_3);
}
.wpcf7-file:active::before {
	background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}
*/

/* --------------------------------------------------------------
	Tapahtumalistaus
-------------------------------------------------------------- */

.artikkeli-tapahtuma h1 {
	font-size: 2.5em;
}
.artikkeli-tapahtuma h2 {
	font-size: 2.0em;
}

.tapahtumalistaus .pagination .page-numbers {
	border: 1px solid #eaeaea;
	padding: 0.2em 0.6em;
    margin: 0em 0.2em;
}
.tapahtumalistaus .pagination  {
    margin: 1em 0.2em;
}
.tapahtumalistaus .pagination a {
    color: var(--color-font_3);
}

.tapahtumalistaus article {
	margin-bottom: 1em;
	border-bottom: 1px solid #000;
	padding: 2em;
}
.tapahtumalistaus article:last-of-type {
	margin-bottom: 1em;
	border-bottom: 0px solid #000;
	padding: 2em;
}
.tapahtumalistaus article:nth-of-type(1) {
	margin-top: 2em;
}
.tapahtumalistaus .btn-2 {
	background-color: var(--color-bg-button_3);
	color: var(--color-font_4);
}

.tapahtumalistaus .tapahtumakuva {
	position: relative;
}
/*
.tapahtumalistaus .tapahtumakuva:after {
	content: '';
	position: absolute;
	width: 3px;
	height: 100%;
	right: -0.8em;
	background-color: var(--color-border_3);
	top: 0;
	bottom: 0;
}
*/
.tapahtumalistaus .tapahtumainfot {
	padding-left: 2em;
}

.tapahtumatietokuva {
	width: 20px;
	height: 20px;
	margin: 0em 1em 0.3em 0em;
}
.artikkeli-tapahtumasisalto,
.artikkeli-tapahtumatiedot {
	max-width: 1000px;
	margin: auto;
}
.artikkeli-tapahtuma {
	margin: 3em 0em;
}


.tapahtumalistaus article.paivamaara-vanha {
	display: none !important;
}

/* --------------------------------------------------------------
	BLOGI
-------------------------------------------------------------- */

.blogiteksti-nav-previous, .blogiteksti-nav-next {    
	font-size: 1.4em;
    font-weight: 500;
}
.blogi-vali-1 {
    width: 100%;
    background: var(--color-bg_3);
    height: 2px;
    margin: 4em 0 1em;
}
.blogi-vali-2 {
    width: 100%;
    background: transparent;
    height: 2px;
    margin: 1em 0 1em;
}

.some-icon img {
	width: 35px;
}
.some-icon {
	float: left;
	padding: 0.3em;
	}
	@media(max-width: 575px){
		.some-icon {
			float: left;
			padding: 0.3em;
			margin-top: 1em;
		}	
	}
.tagit a {
    background: var(--color-bg_3);
    color: var(--color-font_1);
    width: auto;
    max-width: 230px;
    padding: 0.5em 1.6em;
    border-radius: 5px;
    text-align: center;
    float: left;
    margin: 0.2em 0.2em;
    font-size: 0.8em;
    border: 1px solid var(--color-bg_1);
}
.open-more-1 a {
    font-size: 1.3em;
}

.bloginostot {
    margin-top: 10em;
    margin-bottom: 13em;
    text-align: center;
}
.bloginosto-front time {font-size: 0.8em}

.bloginostot h3 {
	margin-bottom: 1em;
	font-size: 3em;
	position: relative;
}
.bloginostot h3:after {
	content: '';
	width: 80%;
	max-width: 500px;
	height: 2px;
	display: block;
	position: absolute;
	left: 0; right: 0;
	background: var(--color-bg_1);
	margin: 20px auto;
}

.front-blog-post  {
	font-family: var(--font-family-1);
    margin-bottom: 0em;
	font-size: 2.5em;
}

.single .date {
	font-weight: bold;
    font-variant: all-small-caps;
	}



/* --------------------------------------------------------------
	YHTEYSTIEDOT
-------------------------------------------------------------- */


/* --------------------------------------------------------------
	MUUT
-------------------------------------------------------------- */



/* /////////////////// Cookie popup ////////////////////////// */
#popup-cookie {
	display: none;
    width: 100%;
    height: auto;
    max-width: 400px;
    background: #F1C80C;
    color: #222;
    display: none;
    position: fixed;
    margin: auto;
    right: 1em;
    bottom: 3em;
    padding: 15px 20px 40px;
    border-radius: 0.4em 0.4em 0.4em 0.4em;
    box-shadow: 0px 0px 13px -3px #222;
    z-index: 100;
    font-size: 0.7em;
}

#popup-cookie p {
	font-size: 13px;
	margin-bottom: 2em;
}
#popup-cookie p a {
	color: #222;
	text-decoration: underline;
}

#popup-cookie h3 {
    padding: 0;
    margin: 5px 0px 10px;
	font-size: 2em;
}

#popup-cookie.popup-cookie-show {
	display: block;
	bottom: 3em;
	
	animation: animaatio-cookie ease 1s;
	-webkit-animation: animaatio-cookie ease 1s;
	-moz-animation: animaatio-cookie ease 1s;
	-o-animation: animaatio-cookie ease 1s;
	-ms-animation: animaatio-cookie ease 1s;	
	}
	
@keyframes animaatio-cookie {
	0% {opacity: 0; bottom: 0em;}
	100% {opacity: 1; bottom: 3em;}
}	


#popup-cookie .sulje-popup-1 {
	width: 115px;
    height: 30px;
    background: #F1C80C;
	/* color: #35d7e3; */
	color: #222;
	border: 1px solid #222;
	border-radius: 100em;
    position: absolute;
	left: 1.4em;
    bottom: 1.3em;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
	font-size: 1.1em;
	cursor: default;
}
/* /////////////////// Cookie popup ////////////////////////// */


/* --------------------------------------------------------------
	SIVUKOHTAISET MÄÄRITYKSET
-------------------------------------------------------------- */
.page-id-23 .section-single {
    padding: 1em 0em 1em;
}
.page-id-3 .section-single,
.page-id-13 .section-single {
   background: #fff;
   color: #000;
}

.page-id-3 .section-single h1,
.page-id-3 .section-single h2,
.page-id-3 .section-single h3,
.page-id-3 .section-single h4,
.page-id-3 .section-single h5,
.page-id-3 .section-single h6,
.page-id-13 .section-single h1,
.page-id-13 .section-single h2,
.page-id-13 .section-single h3,
.page-id-13 .section-single h4,
.page-id-13 .section-single h5,
.page-id-13 .section-single h6 {
	color: #000;
}




#logo {
    width: 100%;
    max-width: 200px;
    left: 1em;
    position: absolute;
    top: 1em;
}



/* --------------------------------------------------------------
	MOBILE / RESPONSIVE
-------------------------------------------------------------- */

/*
	p {font-size: 1em;}
	h1 {font-size: calc(4em - 1.5em);}
	h2 {font-size: calc(3.2em - 1.0em);}
	h3 {font-size: calc(2.5em - 0.7em);}	
	h4 {font-size: calc(2em - 0.5em);}
	h5 {font-size: calc(1.6em - 0.2em);}
*/


/* ---------------
	Scale Up
--------------- */

/* Mini devices ( 576 px and up) */	
@media (min-width: 576px) { }

/* Small devices (tablets, 768px and up) */	
@media (min-width: 768px) {	}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) { }

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { }



/* ---------------
	Scale Down
--------------- */

/* Large devices (desktops, 1200px and down) */
@media (max-width: 1200px) { }

/* Medium devices (desktops, 992px and down) */
@media (max-width: 991.9px) { }


/* Small devices (tablets, 767px and down) */	
@media (max-width: 767px) { 
	.text-center-mobile { text-align: center !important;}
	.hide-mobile {display: none;} 
	.footer ul.menu {padding: 0px;}
}

/* Micro devices (575.9px and down) */	
@media (max-width: 599px) {	}
@media (max-width: 781px) and (min-width: 600px){ }

/* Micro devices (575.9px and down) */	
@media (max-width: 575.9px) { }

/* Super mini devices (477px and down) */	
@media (max-width: 477px) { }



/* YLIAJOT */





