/*
Theme Name: Siirtokuva Oy
Author: www.siirtokuva.fi
Author URI: www.siirtokuva.fi
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";

@font-face {
    font-family: 'Burbank Big Cd Bk';
    src: url('./fonts/BurbankBigCondensed-Black/BurbankBigCondensed-Black.woff2') format('woff2'),
        url('./fonts/BurbankBigCondensed-Black/BurbankBigCondensed-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


:root {
  --color-bg_1: #ffffff;	/* Valkoinen */
  --color-bg_2: #fafa00;	/* Pää vaalea */
  --color-bg_3: #000000;	/* Pää tumma */
  --color-bg_4: #3c3c3b;	/* Tehoste tumma */
 
  --color-border_1: #ffffff;
  --color-border_2: #fafa00;
  --color-border_3: #000000;
  --color-border_4: #3c3c3b;
  
  --color-font_1: #ffffff;
  --color-font_2: #fafa00;
  --color-font_3: #000000;
  --color-font_4: #3c3c3b;

  --color-bg_1: #ffffff;
  --color-bg_2: #fafa00;
  --color-bg_3: #000000;
  --color-bg_4: #3c3c3b;

  --tehostevari_1: #fafa00;
 
  --color-bg-button_1: #ffffff;
  --color-bg-button_2: #fafa00;
  --color-bg-button_3: #000000;
  --color-bg-button_4: #3c3c3b;

  /* --font-family-1: "PT Sans", sans-serif; */
  --font-family-1: "Karla", sans-serif;
  --font-family-2: "Burbank Big Cd Bk", system-ui;
  --font-family-3: "Karla", sans-serif;
  /* --font-family-2: "Bangers", system-ui; */

  --font-weight-regular-1: 400; /* regular  */
  --font-weight-bold-1: 700; /* bold */

  --font-weight-1: 100;
  --font-weight-2: 200;
  --font-weight-4: 400;
  --font-weight-5: 500; 
  --font-weight-6: 600; 
  --font-weight-7: 700;
  --font-weight-8: 800;
  --font-weight-9: 900;

  --full-width-content-with-nav: calc(100%);
  --button-border-radius-1: 10px;
}


.tehostevari-1 {
	color: var(--tehostevari_1);
}
.all-caps {
	text-transform: uppercase;
}

/* Scale efekti */
.container, .col, .col-md-5 {
	transition: .5s ease all;
}

.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);
}
.color-1 {
	color: var(--color-font_1);
}
.wrapper {
	width: var(--full-width-content-with-nav);
}
.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;
	color: #535353;
}
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: 700;
}
dfn {
	font-style: italic;
}
mark {
    background: #121212;
    color: #f9b659;
}
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;
}

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;
}

/* --------------------------------------------------------------
	COOKIE
-------------------------------------------------------------- */
.cc-window.cc-banner {
    max-width: 300px;
    font-size: 0.8em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2em;
    border-radius: 10px;
    margin: 1em;
}
.cc-window.cc-banner .cc-message {
    margin-bottom: 1em;
}
.cc-window.cc-banner .cc-message .cc-link {
    padding: 0em;
}

/* --------------------------------------------------------------
	PERUSSETTI
-------------------------------------------------------------- */

body {
	background: #fff;
}
html, body {
	color: var(--color-font_3);
	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-regular-1); 
}

.hidden, .hide { display: none !important;}
.text-left {text-align: left;}
.text-right {text-align: right;}
.text-center {text-align: center;}

section {position: relative;}

.footer hr {
    margin: 0.5rem 0;
}

.valistys-10 {	
	height: 10px;
	width: 100%;
}
.valistys-20 {	
	height: 20px;
	width: 100%;
}
.valistys-30 {	
	height: 30px;
	width: 100%;
}
.valistys-40 {	
	height: 40px;
	width: 100%;
}
.valistys-50 {	
	height: 50px;
	width: 100%;
}

hr {
	color: var(--color-border_4)
  }

/* --------------------------------------------------------------
	Fonttien kokoja, suhteutettuna yleiskokoon + Värejä
-------------------------------------------------------------- */

p { 
	font-size: 1.0em; 
	line-height: 1.5; 
}

p.nostoteksti-1 {
	position: relative;
	background: #000;
	padding: 1em 1em 1em 3em;
	color: #fff;
	width: 100%;
	max-width: 700px;
}
p.nostoteksti-1:before {
	content: '';
	position: absolute;
	height: 100%;
	width: 20px;
	top: 0;
	bottom: 0;
	left: 0;
	background: #fafa00;
}

a, 
a:visited, 
a:active {
	color: var(--color-font_3); 
	text-decoration: underline;
}

/*
a.wp-block-button__link, 
a.wp-block-button__link:visited, 
a.wp-block-button__link:active {
	color: var(--color-font_3); 
	text-decoration: none;
} 
a.wp-block-button__link:hover {
	color: var(--color-font_3); 
	text-decoration: none;
}
*/

a:focus,
a:hover {
	color: var(--color-bg_3); 
}


.blogi-artikkeli a,
.footer a,
.goback a {text-decoration: none;}

h1 { 
	color: var(--color-font_3); 
	font-family: var(--font-family-2);
	text-transform: uppercase;
}

body:not(.home) h1 {
	font-size: 3.5em;
}

@media (max-width: 767px) {
	body:not(.home) h1 {
        font-size: 10vmin;
		line-height: 0.9em;
	}
}


h2, h3, h4, h5, h6 { 
	color: var(--color-font_3); 
	font-family: var(--font-family-3);
	font-weight: 700;
}
.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6 {
	color: var(--color-font_3);
	font-weight: var(--font-weight-bold-1);
}
.footer a, .footer a:hover, .footer a:visited, .footer a:active {
	color: var(--color-font_3);
}

h1 {
	font-size: 3.0em;
    margin: 0.75em 0;
	font-weight: var(--font-weight-regular-1);
}

@media (max-width: 991px) {
	.home h1 {
		font-size: 3.0em;
	}
}

h2 {
	font-size: 2.2em;
	margin: 0.7em 0;
	font-weight: var(--font-weight-bold-1);
}

h3 {
	font-size: 2.0em;
	margin: 0.5em 0;
	font-weight: var(--font-weight-bold-1);
}

h4 {
	font-size: 1.9em;
	margin: 0.4em 0;
	font-weight: var(--font-weight-bold-1);
}

h5 {
	font-size: 1.8em;
	margin: 0.4em 0;
	font-weight: var(--font-weight-bold-1);
}

h6 {
	font-size: 1.7em;
	margin: 0.3em 0;
	font-weight: var(--font-weight-bold-1);
}

h2, h3, h4, h5, h6 {
	text-align: center;
}

.listaa-artikkelit-block-1 h2,
.listaa-artikkelit-block-1 h3,
.footer h2 {
	text-align: inherit;
}

/* --------------------------------------------------------------
	NAVIGAATIO, kts. css/nav-styles.css
-------------------------------------------------------------- */

.navigaatio-1 .navbar-toggler {
	background: #000;
	color: #fff;
}

.nav-icon {
	height: 17px;
    vertical-align: middle;
    margin-top: -0.2em;
}

.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
-------------------------------------------------------------- */

.upper-up {
	position: relative;
    background: #dadada;
    color: #000000;
    text-align: center;
    width: 100%;
    min-height: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
	font-size: 0.8em;
	animation: 1s ease animaatio-1;
	z-index: 5;
}
@keyframes animaatio-1 {
	from {opacity: 0;}
	to {opacity: 1;}
	
}

.upper-up a {
	color: #ff7317;
}
.upper-up p {
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
}

.upper-up .btn-black {
    background: #000000;
    color: #ffffff;
    border-radius: 5px;
    padding: 0.4em 1em;
    margin: 0em 0.8em;
    font-weight: var(--font-weight-regular-1);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 15px;
    max-height: 40px;
	font-size: 1.0em;
}

.home .site-header {
	position: relative;
	padding-top: 9vh;
	padding-bottom: 6vh;
	width: 100%;
	background-size: cover !important;
}

/*
body:not(.home) .site-header:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(0deg, white 1%, rgba(255, 255, 255, 0) 100%);
}
*/

.home .site-header .headimage {
    max-width: 450px;
}
@media (max-width: 767px) {
	.home .site-header .headimage {
		display: none;
	}
	
}

.site-header .headimage img {
	border-radius: 20px;
    overflow: hidden;
	/* box-shadow: 25px 1px 20px -20px #000; */
}

.site-header {
	position: relative;
	padding-top: 10vh;
	padding-bottom: 4vh;
	width: 100%;
	background: var(--color-bg_2);
	background-size: cover !important;
}

.site-header:before {
    content: "";
    position: absolute;
    width: 53vw;
    height: 100%;
    background-image: url('img/taustat/header-element.svg');
    background-size: cover !important;
    background-position: left;
    right: 0;
	top: 0;
	bottom: 0;
}
@media (max-width: 1400px) {
	body.home .site-header:before {
		content: "";
		width: 60vw;
	}
	.site-header:before {
        content: "";
        width: 40vw;
	}
}

@media (max-width: 767px) {
	body.home .site-header:before,
	.site-header:before {
		display: none;
	}
}


.header-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 0;
}


.header-inner-content {
	max-width: 400px;
}

@media (max-width: 767px) {
	.header-inner-content {
		max-width: 100%;
		text-align: center;
		display: flex;
		justify-content: center;
		flex-flow: wrap;
	}
}

.site-header .headcontent,
.site-header .headcontent h1 {
	margin: 0em 0em 0.2em;
	color: var(--color-font_3);
	font-weight: 400;
	z-index: 1;
}

.site-header .headcontent p {
    background: #fafa00;
    padding: 1em 2em 0em 0em;
}

.site-header .headcontent h1 {
    background: #fafa00;
}

#logo img {
    width: 100%;
    height: auto;
	max-width: 300px;
    position: relative;
}

/* --------------------------------------------------------------
	FOOTER KUVAGALLERIA
-------------------------------------------------------------- */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Keskittää kuvat */
    width: 100%;
    max-width: 1000px;
    margin: 4em auto;
}

.gallery-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px; /* Tasainen väli */
    justify-content: space-evenly; /* Varmistaa tasaisen jakautumisen */
}

.gallery-item {
    width: 22%; /* 4 kuvaa rivillä, voit säätää tarvittaessa */
    aspect-ratio: 1 / 1; /* Neliömuoto */
    overflow: hidden; /* Piilottaa ylitse menevät osat */
    position: relative;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Täyttää alueen säilyttäen mittasuhteet */
    display: block;
}

button.load-more {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007cba;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: var(--button-border-radius-1);
}

button.load-more:hover {
    background-color: #005f8a;
}


/* --------------------------------------------------------------
	FOOTER
-------------------------------------------------------------- */

.footer {
    height: auto;
	min-height: 350px;
    position: relative;
	background: var(--color-bg_2);
}


.footer .footer-inner {
    width: 100%;
	z-index: 1;
    padding-top: 3em;
	padding-bottom: 4em;
}

.footer .footer-inner h2 {
	font-size: 1.5em;
	/*letter-spacing: 1px;*/
}

.footer .footer-inner .footer-some {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-flow: wrap;
}

@media (max-width: 767px) {
	.footer .footer-inner .footer-some {
		justify-content: center;
	}
}


.footer-some-wrapper {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
}
.some-1 {
    width: 32px;
    margin: 5px 12px;
}
@media (max-width: 991px) {
	.some-1 {
		width: 32px;
		margin: 5px 12px;
	}
}

ul.menu-footer {
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.menu-footer li a {
	
}

ul.menu-footer li.current-menu-item a {
	color: #000000;
	font-weight: bold;
}


.footer-footnote {
	background-color: #000000;
}
.footnote {
	color: #ffffff;
	padding: 0.5em;
}

.footer-footnote .footnote-col-1,
.footer-footnote .footnote-col-2 {
	padding: 0;
}



.footer-logos {
    display: flex;
    justify-content: flex-start;
    align-items: center;
	gap: 10px;
}
@media (max-width: 767px) {
	.footer .footer-logos {
		justify-content: center;
	}
}

.footer .footer-inner .logo {
    float: left;
    /* width: 100%;
    max-width: 90px; */
}

.footer .footer-inner .logo img {
    height: 60px;
    width: auto;
}

.bp-logo {
    max-width: 70px;
    opacity: 0.7;
    transition: ease .5s all;
    height: 20px;
}

.bp-logo:hover {
    opacity: 1;
    transition: ease .5s all;
}

/* --------------------------------------------------------------
	FRONT
-------------------------------------------------------------- */
.front-section-1 {
	background-color: var(--color-bg_4);
	color: var(--color-font_1);
}

.front-section-2 {
	padding: 3em 0em;
}

.section-single {
	padding: 1em 0em;
}


/* --------------------------------------------------------------
	Efektivärit
-------------------------------------------------------------- */
.font-effect-1 {
	font-weight: var(--font-weight-bold-1);
	color: var(--color-font_4);
}
.font-effect-2 {
	font-weight: var(--font-weight-bold-1);
	color: var(--color-font_2);
}


.extraborder-1 {
    margin: 3em 0em 5em;
}
.wp-block-columns.extraborder-1 .wp-block-column {
	border-radius: 20px;
    padding: 1em;
    /* box-shadow: 5px 5px 0px #000; */
} 

.wp-block-columns.extraborder-1 .wp-block-column .wp-block-button__link {
	margin: 0;
}
.wp-block-columns.extraborder-1 .wp-block-column a.wp-block-button__link:visited {
	color: #fff;
}

.extraborder-2 { }
.wp-block-columns.extraborder-2 .wp-block-column {
	border-radius: 20px;
    overflow: hidden;
}


@media screen and (max-width: 600px) {
  .wp-block-table.hinnasto-table-1 {
    overflow-x: auto;
    display: block;
  }

  .wp-block-table.hinnasto-table-1 table {
    width: 1000px; /* Tai tarpeeksi leveä sisältöön nähden */
    min-width: 100%;
  }
}


/* --------------------------------------------------------------
	Error 404
-------------------------------------------------------------- */

body.error404 .site-header {
	display: none !important;
}

body.error404 .error-404 {
	padding: 3em 0em 5em;
}

/* --------------------------------------------------------------
	BLOGI / ARCHIVE
-------------------------------------------------------------- */

body.single .site-header {
	display: none !important;
}

body.archive.category .site-header {
	display: none !important;
}

section.blog-home {
	padding: 3em 0em 5em;
}

/*--------------------------------------------------------------
	Listaukset
--------------------------------------------------------------*/


/* Gutenberg block - 4 boksia */
.boxes-4 .box-outer {
	position: relative;
	margin: 1.5em;
	-webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;	
} 
.boxes-4 .box-outer:hover {
	transform: scale(1.02);
} 
.boxes-4 .box-inner a, .boxes-4 .box-inner a:visited, .boxes-4 .box-inner a:hover, .boxes-4 .box-inner a:active {
	color: var(--color-font_1);
} 
.boxes-4 h2  {
	color: var(--color-font_1);
	font-size: 1.8em;
} 
.boxes-4 .box-inner .icon {
	position: absolute;
	height: 90px;
    width: 90px;
    top: -2.7em;
	margin: auto;
	left: 0;
	right: 0;
	border-radius: 100em;
	background: var(--color-bg_3);
	box-shadow: 1px 2px 3px var(--color-bg_2);
	display: flex;
    align-items: center;
    justify-content: center;
	color: var(--color-font_2);
} 
.boxes-4 .box-inner .icon img {
	width: 50%;
	height: auto;
}


/* --------------------------------------------------------------
	Napit, buttonit & taulukot
-------------------------------------------------------------- */


.wtf-dtf-img-mobile {
	max-width: 200px;
	margin: 1em 0em 1em;
}

/* BTN 1 */
.btn-1 {
	letter-spacing: 2px;
    background-color: var(--color-bg-button_3);
    border: 0px solid var(--color-bg-button_1);
    color: var(--color-bg_1);
    font-weight: var(--font-weight-regular-1);
    cursor: pointer;
    padding: 15px 30px;
	text-align: center;
    -webkit-border-radius: 0px;
    border-radius: 0px;	
	margin: 0.75em 0;
	display: flex;
    flex-direction: column;
	font-size: 0.8em;
	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-1.btn:focus-visible {
    color: var(--color-bg_1);
    background-color: var(--color-bg-button_3);
    border: 0px solid var(--color-bg-button_1);
    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_1);
    background-color: var(--color-bg-button_3);
    border: 0px solid var(--color-bg-button_1);
}
.btn-1:hover {
    background-color: var(--color-bg-button_3);
    border: 0px solid var(--color-bg-button_1);
    color: var(--color-bg_1);
    font-weight: var(--font-weight-regular-1);

    -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;	
}

/* BTN 2 */
.btn-2 {
	letter-spacing: 2px;
    background-color: var(--color-bg-button_2);
    border: 2px solid var(--color-border_3);
    color: var(--color-font_3);
    font-weight: var(--font-weight-regular-1);
    cursor: pointer;
    padding: 15px 20px;
	text-align: center;
    -webkit-border-radius: 0px;
	margin: 0.75em 0;
	display: flex;
    flex-direction: column;
	font-size: 1.0em;
	/*text-transform: uppercase;*/

	border-radius: 0em;

	-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: 2px 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_3);
    background-color: var(--color-bg-button_2);
    border: 2px solid var(--color-bg-button_2);
}
.btn-2:hover {
    background-color: var(--color-bg-button_2);
    border: 2px solid var(--color-bg-button_3);
    color: #000;
    font-weight: var(--font-weight-regular-4);

	transform: scale(1.05);

    -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 a {
	text-decoration: none;
}

.wp-block-button.is-style-outline {
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;	
}

.wp-block-button.is-style-outline:hover {
	transform: scale(1.05);

    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;		
}


.wp-block-button__link {
	letter-spacing: 2px;
    color: #fff;
    background-color: var(--color-font_3);
    border-radius: .6em;
    font-size: 1em;
	margin: 0.75em 0;
	-webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;	
}

.wp-block-button__link:visited {
    color: #fff;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wp-block-button__link:active {
	color: #fff;
    transform: scale(1.03);
	-webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;	
}

.wp-block-media-text__media img, .wp-block-media-text__media video {
    border-radius: 30px;
}

.headcontent a {
	color: var(--color-font_3);
	border-radius: var(--button-border-radius-1);
}

.headcontent a.btn-1  {
	color: var(--color-font_1);
	border: 2px solid #fafa00;
}

.headcontent .btn {
	max-width: 350px;
}



/* --------------------------------------------------------------
	LOMAKKEET & Placeholderit
-------------------------------------------------------------- */
:placeholder,
::placeholder,
::-ms-input-placeholder,
input:placeholder,
input::placeholder { 
	color: #000;
}

::-webkit-input-placeholder { /* WebKit browsers */
color: #000 !important;
opacity: 1;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: #000 !important;
opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color: #000 !important;
opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
color: #000 !important;
opacity: 1;
}


/* Yleiset inputit */
input, textarea {
	border: 1px solid var(--color-border_4);
	margin: 0.2em 0em;
}
input[type="submit"]{
	background: var(--color-bg-button_3);
	color: var(--color-font_1);
	padding: .5em 1em;
	border: 1px solid var(--color-border_3);
	border-radius: var(--button-border-radius-1);
	letter-spacing: 2px;
	margin-top: 1em;
}


/* Yhteydenotto 1 lomake */

.yhteydenotto-1 {
	max-width: 1300px;
}
.yhteydenotto-1 p {
	margin: 0;
}

.yhteydenotto-1.split {
	display: flex;
	flex-direction: column;
	flex-flow: wrap;
	gap: 5px 15px;
}

.modal-content .yhteydenotto-1 {
	margin: 0;
	max-width: 100%;
}

.yhteydenotto-1 .col-50 {
	width: calc(50% - 8px);
	/*width: calc(50% - 15px);*/
}
.yhteydenotto-1 .col-100 {
	width: 100%;
	/* width: calc(100% - 15px); */
}

.yhteydenotto-1 input,
.yhteydenotto-1 textarea {
	width: 100%;
	margin: .2em auto;
	font-size: 1em;
	padding: .5em .5em;
	border: 1px solid #000;
	max-height: 150px;
	color: #000;
}

.yhteydenotto-1 label {
	font-size: 1.0em;
    margin: 0.5em 0;
    font-weight: var(--font-weight-regular-1);
}

.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-button_2);
	color: var(--color-font_3);
	border: 1px solid #f8e6cf;
	padding: .5em .5em;
	border-radius: 0em;
	max-width: 350px;
	float: right;
}

/* 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 select {
	width: 100%;
	border: 1px solid var(--color-border_4);
	padding: 0.5em 0.5em;
	font-size: 0.9em;
    color: #757575;
}

.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;
}

.response-box {
    /* display: none; */
    width: 100%;
    height: auto;
    background: #f3f3f3;
    margin: 1em 0em;
    padding: 0.5em 1em;
    border: 1px solid #ff7317;
}

.disable-button {
	background: rgb(128 128 128 / 50%) !important;
	pointer-events: none !important;
}

/* --------------------------------------------------------------
	MUUT
-------------------------------------------------------------- */

.karttaupotus-3-laatikkoa {
	width: calc(100% + 30px);
    margin: -15px 0 15px -15px;
    border-radius: 15px 15px 0px 0px;
}

/*
---- Hintalaskuri 1 ----
*/
.hintalaskuri-1.split {
	display: flex;
	flex-direction: column;
	flex-flow: wrap;
	gap: 5px 15px;
	margin: 2em 0em 3em;
}
.hintalaskuri-1 .col-50 {
	width: calc(50% - 15px)
}
.hintalaskuri-1 .col-100 {
	width: calc(100% - 15px)
}
.hintalaskuri-1 input {
	width: 100%;
	margin: .2em auto;
	font-size: 1em;
	padding: .5em .5em;
	border: 1px solid #ccc;
	max-height: 150px;
	color: #757575;
}

.hintalaskuri-1 select {
	width: 100%;
	max-width: 350px;
	padding: 0.8em;
}

.hintalaskuri-1 button {
    background: #000;
    color: #fff;
    padding: 0.6em 1em;
    margin-top: 1em;
    border: 0;
}

@media (max-width: 767px) {
	.hintalaskuri-1 .col-50.mobile-col-100 {
		width: calc(100% - 15px);
	}
	.hintalaskuri-1 .mobile-col-100 select {
		width: 100%;
		max-width: 100%;
	}
}

/*
---- Hintalaskuri 2 ----
*/
.hintalaskuri-2.split {
	display: flex;
	flex-direction: column;
	flex-flow: wrap;
	gap: 5px 15px;
	margin: 2em 0em 3em;
}
.hintalaskuri-2 .col-50 {
	width: calc(50% - 15px)
}
.hintalaskuri-2 .col-100 {
	width: calc(100% - 15px)
}
.hintalaskuri-2 input {
	width: 100%;
	margin: .2em auto;
	font-size: 1em;
	padding: .5em .5em;
	border: 1px solid #ccc;
	max-height: 150px;
	color: #757575;
}

.hintalaskuri-2 select {
	width: 100%;
	max-width: 350px;
	padding: 0.8em;
}

.hintalaskuri-2 button {
    background: #000;
    color: #fff;
    padding: 0.6em 1em;
    margin-top: 1em;
    border: 0;
}

@media (max-width: 767px) {
	.hintalaskuri-2 .col-50.mobile-col-100 {
		width: calc(100% - 15px);
	}
	.hintalaskuri-2 .mobile-col-100 select {
		width: 100%;
		max-width: 100%;
	}
}



/* Tooltip */
.info-tooltip-button {
	width: 20px;
	height: 20px;
	border-radius: 100em;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-color: var(--color-bg-button_4);
	color: var(--color-font_1);
}
.lomake label .info-tooltip-button {
	margin-left: 0.3em;
}



/* WP BLOCK NAPPI */
.wp-block-button.is-style-fill .wp-block-button__link {
    color: #fff;
    background-color: var(--color-border_3);
    border-radius: var(--button-border-radius-1);
    box-shadow: none;
    text-decoration: none;
    padding: calc(0.467em + 2px) calc(1.333em + 2px);
    font-size: 1.125em;
}
.wp-block-button.is-style-fill a.wp-block-button__link:hover,
.wp-block-button.is-style-fill a.wp-block-button__link:focus,
.wp-block-button.is-style-fill a.wp-block-button__link:active {
    color: #fff;
}

.wp-block-button.is-style-outline .wp-block-button__link {
    box-shadow: none;
    text-decoration: none;
    padding: calc(0.467em + 2px) calc(1.333em + 2px);
    font-size: 1.125em;
}
.wp-block-button .wp-block-button__link.is-style-outline:not(.has-text-color), .wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color) {
    color: var(--color-font_4);
}




/* --------------------------------------------------------------
	ROLL SLIDER - Marquee
-------------------------------------------------------------- */

.marquee {
  display: flex;
  block-size: var(--marquee-item-height);
  /* margin-block: var(--marquee-item-height); */
  position: relative;
  overflow-x: hidden;
  background-color: #000;
  /*
  mask-image: linear-gradient(
    to right,
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
  );
  */
}

.marquee .marquee__item {
	width: 300px; 
	height: var(--marquee-item-height);
	background-color: #000; 
	color: #ffffff;
}

.marquee--6 {
  --marquee-item-width: 300px;
  --marquee-item-height: 50px;
  --marquee-duration: 30s;
  --marquee-items: 4;
}

.marquee__item {
  --marquee-item-offset: max(
    calc(var(--marquee-item-width) * var(--marquee-items)),
    calc(100% + var(--marquee-item-width))
  );
  --marquee-delay: calc(var(--marquee-duration) / var(--marquee-items) * (var(--marquee-items) - var(--marquee-item-index)) * -1);
  position: absolute;
  inset-inline-start: var(--marquee-item-offset);
  transform: translateX(-50%);
  animation: go linear var(--marquee-duration) var(--marquee-delay, 0s) infinite;
  
  font-size: 0.9em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.marquee__item img {
 	width: 30px;
    height: 30px;
    margin-right: 0.5em;
}

.marquee__item:nth-child(4n) {
  border-top-right-radius: 1rem;
}

.marquee__item:nth-child(4n + 1) {
  border-bottom-right-radius: 1rem;
}

.marquee__item:nth-child(4n + 2) {
  border-bottom-left-radius: 1rem;
}

.marquee__item:nth-child(4n + 3) {
  border-top-left-radius: 1rem;
}



.marquee--6 .marquee__item:nth-of-type(1) {
  --marquee-item-index: 1;
}

.marquee--6 .marquee__item:nth-of-type(2) {
  --marquee-item-index: 2;
}

.marquee--6 .marquee__item:nth-of-type(3) {
  --marquee-item-index: 3;
}

.marquee--6 .marquee__item:nth-of-type(4) {
  --marquee-item-index: 4;
}

.marquee--6 .marquee__item:nth-of-type(5) {
  --marquee-item-index: 5;
}

.marquee--6 .marquee__item:nth-of-type(6) {
  --marquee-item-index: 6;
}

@keyframes go {
  to {  
    inset-inline-start: calc(var(--marquee-item-width) * -1);
  }
}

/* --------------------------------------------------------------
	MOBILE / RESPONSIVE
-------------------------------------------------------------- */

@media(min-width: 767px) {
	.hidden-mobile {
		display: block;
	}
	.hidden-mobile-flex {
		display: flex;
	}
	.show-mobile {
		display: none;
	}
	.show-mobile-flex {
		display: none;
	}
}

@media(max-width: 767px) {
	.hidden-mobile {
		display: none;
	}
	.hidden-mobile-flex {
		display: none;
	}
	.show-mobile {
		display: block;
	}
	.show-mobile-flex {
		display: flex;
	}
	.mobile-text-center {
		text-align: center;
	}
}
@media(max-width: 600px) {
	.xs-mobile-center {
		text-align: center;
		margin: auto;
	}
}



/* ---------------
	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) {
	h1 { font-size: 2.2em;}
	h2 { font-size: 1.7em;}
}

/* Micro devices */	
@media (max-width: 500px) {
body:not(.home) h1 {
	font-size: 3.0em;
}
}
@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 */

/* Bootstrap uusi xs ordering  576px alaspäin */
@media (max-width: 576px) {
    .order-xs-1 {
        order: 1 !important;
    }
    .order-xs-2 {
        order: 2 !important;
    }
}

