/*
Theme Name: Bad Pixel - Räätälöity teema
Author: www.badpixel.fi
Author URI: www.badpixel.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";


:root {
  --color-bg_1: #ffffff;	/* Valkoinen */
  --color-bg_2: #d25050;	/* Pää vaalea */
  --color-bg_3: #000000;	/* Pää tumma */
  --color-bg_4: #3c3c3b;	/* Tehoste tumma */
 
  --color-border_1: #ffffff;
  --color-border_2: #d25050;
  --color-border_3: #000000;
  --color-border_4: #3c3c3b;
  
  --color-font_1: #ffffff;
  --color-font_2: #d25050;
  --color-font_3: #000000;
  --color-font_4: #3c3c3b;

  --color-bg_1: #ffffff;
  --color-bg_2: #d25050;
  --color-bg_3: #000000;
  --color-bg_4: #3c3c3b;

  --tehostevari_1: #d25050;
 
  --color-bg-button_1: #ffffff;
  --color-bg-button_2: #d25050;
  --color-bg-button_3: #000000;
  --color-bg-button_4: #3c3c3b;

  --font-family-1: "Ubuntu", sans-serif;
  --font-family-2: "Alfa Slab One", serif;
  --font-family-3: "Ubuntu", sans-serif;

  --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: var(--tehostevari_1);
}

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

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: 2.8em;
}

@media (max-width: 767px) {
	body:not(.home) h1 {
		font-size: 6.5vmin;
        line-height: 1.1em;
	}
}


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_1);
}

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

@media (max-width: 991px) {
	.home h1 {
		font-size: 2.3em;
	}
}

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 {}

.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: rgb(210, 80, 80);
	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
-------------------------------------------------------------- */


.home .site-header {
	position: relative;
    padding-top: 20vh;
    padding-bottom: 12vh;
	width: 100%;
	background-size: cover !important;
	text-align: left;
}

body:not(.home) .navigaatio-1 .menu li.current_page_item a, 
body:not(.home) .navigaatio-1 .menu li.current_menu_item a,
body:not(.home) .navigaatio-1 .menu li a {
    color: #fff;
}

body:not(.home) .navigaatio-1 .menu li .sub-menu li a {
    color: #000;
}


body:not(.home) .navigaatio-1.scrolled .menu li.current_page_item a, 
body:not(.home) .navigaatio-1.scrolled .menu li.current_menu_item a,
body:not(.home) .navigaatio-1.scrolled .menu li a,
body:not(.home) .navigaatio-1.scrolled .menu li .sub-menu li a {
    color: inherit;
}
@media (max-width: 767px) {
	body:not(.home) .navigaatio-1 .menu li.current_page_item a, 
	body:not(.home) .navigaatio-1 .menu li.current_menu_item a,
	body:not(.home) .navigaatio-1 .menu li a,
	body:not(.home) .navigaatio-1 .menu li .sub-menu li a {
		color: #000;
	}
}

.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;
}

.site-header {
	position: relative;
	padding-top: 16vh;
	padding-bottom: 6vh;
	width: 100%;
	background: var(--color-bg_2);
	background-size: cover !important;
	text-align: center;
}

.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: 900px;
}

@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_1);
	font-weight: 400;
	z-index: 1;
	text-shadow: 3px 5px 3px black;
}

.site-header .headcontent p {
	padding: 0.5em 1em 0.8em 1em;
    background-color: var(--color-bg_2);
    max-width: 500px;
}

#logo img {
    width: 100%;
    height: auto;
	max-width: 300px;
    position: relative;
}


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

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

.footer .footer-inner {
    width: 100%;
	z-index: 1;
    padding-top: 3em;
	padding-bottom: 4em;
}

.footer .footer-inner h2 {
	font-size: 1.5em;
	color: var(--color-font_1);
	/*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: column;
    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: var(--color-font_2);
	font-weight: bold;
}


.footer-footnote {
	background-color: #1e1e1e;
}
.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;
}

.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-effect-1 h1, .font-effect-1 h2, .font-effect-1 h3, .font-effect-1 h4, .font-effect-1 h5, .font-effect-1 h6 {
	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;
}

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

/* 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 #fff;
}

.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 #d7d7d7;
	max-height: 150px;
	color: #000;
	border-radius: 0.5em;
    padding: 0.6em;
}

.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
-------------------------------------------------------------- */

.miksi-meidat {
	background-color: var(--color-bg_3);
	color: var(--color-font_1);
	padding: 3em 0em;
}
.miksi-meidat p, .miksi-meidat h2 {
	color: var(--color-font_1);
}
.miksi-meidat ul, .miksi-meidat li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.yhteys-end {
	padding: 3em 0em 4em;
}
.yhteys-end .inner-yhteys-end {
	margin: auto;
	max-width: 1000px;
	background-color: #eaeaea;
	padding: 2em 3em;
}

.karttaupotus-3-laatikkoa {
	width: calc(100% + 30px);
    margin: -15px 0 15px -15px;
    border-radius: 15px 15px 0px 0px;
}


/* 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);
}




/* --------------------------------------------------------------
	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: 1.7em;
	}
	.image-title-block-2 h2 {
		font-size: 1.7em !important;
	}
}
@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: 420px) { 
	.home h1 {
        font-size: 1.7em;
    }
	body:not(.home) h1 {
        font-size: 1.4em;
    }
}


.nostoboksi-1 {
	padding: 1em 3em;
	border-radius: 30px;
}


/* YLIAJOT */

/* Bootstrap uusi xs ordering  576px alaspäin */
@media (max-width: 576px) {
    .order-xs-1 {
        order: 1 !important;
    }
    .order-xs-2 {
        order: 2 !important;
    }
}

