/*
Theme Name: Meiliboxi
Author: www.meiliboxi.fi
Author URI: www.meiliboxi.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;
  --color-bg_2: #2D2D2D;
  --color-bg_3: #fdfcf7;
  --color-bg_4: #ff7317;
  --color-bg_5: #242424;
  --color-bg_6: #f5962b;


  --color-border_1: #ffffff;
  --color-border_2: #2D2D2D;
  --color-border_3: #fdfcf7;
  --color-border_4: #ff7317;
  --color-border_5: #242424;
  
  --color-font_1: #ffffff;
  --color-font_2: #2D2D2D;
  --color-font_3: #fdfcf7;
  --color-font_4: #ff7317;

  --color-bg_1: #ffffff;
  --color-bg_2: #2D2D2D;
  --color-bg_3: #fdfcf7;
  --color-bg_4: #ff7317;
 
  --color-bg-button_1: #ffffff;
  --color-bg-button_2: #2D2D2D;
  --color-bg-button_3: #fdfcf7;
  --color-bg-button_4: #ff7317;

  --font-family-1: "Dosis", sans-serif;
  --font-family-2: "Dosis", sans-serif;

  --font-weight-regular-1: 500; /* regular  */
  --font-weight-bold-1: 700; /* bold */

  --font-weight-2: 400; /* extralight */
  --font-weight-4: 400; /* regular */
  --font-weight-5: 500; 
  --font-weight-6: 600; 
  --font-weight-7: 700; /* bold */

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

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

/* --------------------------------------------------------------
	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-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.1em; 
	line-height: 1.5; 
}


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

a.wp-block-button__link, 
a.wp-block-button__link:visited, 
a.wp-block-button__link:active {
	color: var(--color-font_1); 
	text-decoration: none;
} 
a.wp-block-button__link:hover {
	color: var(--color-font_4); 
	text-decoration: none;
}

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


.blogi-artikkeli a,
.footer a,
.goback a {text-decoration: none;}

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

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

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

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


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

.navigaatio-1 .navbar-toggler {
	background: var(--color-bg_1);
}

.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
-------------------------------------------------------------- */
.site-header {
	position: relative;
	background-size: cover;
	background-position: center center;
	height: 50vh;
	min-height: 350px;
	padding-bottom: 10vh;
	width: 100%;
	background: rgb(245,150,43);
	background: linear-gradient(90deg, rgba(245,150,43,1) 0%, rgba(255,115,23,1) 100%);
}
.site-header .headcontent {
	z-index: 5;
	margin-bottom: 2em;
	margin-left: 5vw;
}
@media(max-width: 767px){
	.site-header .headcontent {
		margin-left: auto;
	}
}
.site-header .headcontent,
.site-header .headcontent h1 {
	color: var(--color-font_1);
	text-shadow: 1px 1px 3px #2D2D2D;
}
.site-header::after {
	content: '';
	position: absolute;
	width: 100%;
	overflow: hidden;
	height: 100%;
	bottom: 0;
	background: url(img/taustat/head-clouds.svg) no-repeat;
	background-position: center bottom;
	margin-bottom: -0.1em;
}

.site-header .headcontent::after {
    content: '';
    position: absolute;
    width: 25vw;
    overflow: hidden;
    height: 25vh;
    background: url(img/taustat/flying-mails.svg) no-repeat;
    background-position: center center;
    right: 15vw;
    top: 8vh;
}
@media (max-width: 400px){
	.site-header .headcontent::after {
		content: '';
		top: 18vh;
	}	
}

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


/* --------------------------------------------------------------
	FOOTER
-------------------------------------------------------------- */
.footer {
    height: auto;
	min-height: 350px;
    position: relative;
	background: rgb(245,150,43);
	background: linear-gradient(90deg, rgba(255,115,23,1) 0%, rgba(245,150,43,1) 100%);
}
.footer::after {
	content: '';
	position: absolute;
	width: 100%;
	overflow: hidden;
	height: 100%;
	bottom: 0;
	background: url(img/taustat/footer-clouds.svg) repeat-x;
	background-position: center top;
	margin-bottom: 0.1em;
}

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

.footer .footer-inner h2 {
	font-size: 2.0em;
}


ul.menu-footer {
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.menu-footer li a {
	font-weight: var(--font-weight-6);
}

ul.menu-footer li.current-menu-item a {
	color: var(--color-font_1);
}

.footnote {
	color: var(--color-font_2);
	background: #e3e3e3;
	padding: 0.5em;
}

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


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

/* Haitarivalikko */

.haitarivalikko-1 p {
	font-size: 1em;
}
.haitarivalikko-1 .haitarivalikko-1-item {
	/*border: 1px solid #081226;*/
	margin-bottom: .5em;
	transition: .5s ease all;
}
.haitarivalikko-1 .haitarivalikko-1-header {
	background: #F5F5F5;
}

/*.haitarivalikko-1 .accordion-button:not(.collapsed) {*/
.haitarivalikko-1 .accordion-button {
    color: var(--color-font_2);
    border: 1px solid var(--color-border_3);
	padding: 1.0rem 2rem 1rem 4rem;
}
.haitarivalikko-1 .accordion-body {
    padding: 1rem 1.0em 0em;
    border-bottom: 1px solid #F5F5F5;
    border-left: 1px solid #F5F5F5;
    border-right: 1px solid #F5F5F5;
	
	display: grid; /* Tämä jotta esim table näkyy ok */
}

.haitarivalikko-1 .accordion-icon {
    width: 50px;
    height: 100%;
	border: 1px solid var(--color-border_4);
    position: absolute;
    left: 0;
    display: flex;
	background: #fff;
}
.haitarivalikko-1 .accordion-icon img {
    width: 100%;
	transition:all 0.2s ease;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
}

/* kiinni */
.haitarivalikko-1 .accordion-button.collapsed .accordion-icon img {
	transform: scale(0.5) rotate(-180deg);
}
/* auki */
.haitarivalikko-1 .accordion-button .accordion-icon img {
	transform: scale(0.5) rotate(0deg);
}

.haitarivalikko-1 .accordion-button span,
.haitarivalikko-1 .linkki-accordion span {
    font-size: 1.0em;
    font-weight: 600;
}

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

/* BTN 1 */
.btn-1 {
	letter-spacing: 3px;
    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-bold-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.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-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-bold-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_2);
    color: var(--color-font_1);
    font-weight: var(--font-weight-6);
    cursor: pointer;
    padding: 12px 15px;
	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: .6em;

	-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_1);
    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_2);
    color: #ffffff;
    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_2);
	font-weight: var(--font-weight-6);
    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:hover {
    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;	
}

.headcontent a {
	color: var(--color-font_1);
}
.headcontent .btn-2 {
	max-width: 150px;
}

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


/* Yleiset inputit */
input, textarea {
	border: 1px solid var(--color-border_4);
	margin: 0.2em 0em;
}
input[type="submit"]{
	background: var(--color-bg-button_4);
	color: var(--color-font_1);
	padding: .5em 1em;
	border: 1px solid var(--color-border_4);
	border-radius: 0.6em;
	letter-spacing: 2px;
}


/* Yhteydenotto 1 lomake */
.yhteydenotto-1 input,
.yhteydenotto-1 textarea {
	width: 100%;
	margin: .2em auto;
	font-size: .9em;
	padding: .5em .5em;
	border: 1px solid var(--color-border_4);
	max-height: 150px;
}

.yhteydenotto-1 label {
	font-size: 1.2em;
    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_4);
	color: var(--color-font_1);
	padding: .5em .5em;
	border: none;
	border-radius: 0em;
}

/* 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;
}
.lomake label {
	width: 100%;
	display: flex;
}
.lomake input {
	width: 100%;
	border: 2px solid var(--color-border_4);
	padding: 0.5em 0.5em;
}
.lomake select {
	width: 100%;
	border: 2px solid var(--color-border_4);
	padding: 0.5em 0.5em;
}

.lomake .input-group.nowrap {
	flex-wrap: nowrap;
}
.lomake .form-w-100 {
	width: 100%;
}
.lomake .form-w-50 {
	width: calc(50% - 5px);
}
.lomake .form-w-50:nth-of-type(even) {
	margin-right: 5px;
}
.lomake .form-w-50:nth-of-type(odd) {
	margin-left: 5px;
}

.lomake button[type="submit"] {
	background-color: var(--color-bg-button_4);
	color: var(--color-font_1);
	width: 100%;
	max-width: 200px;
	padding: .5em;
	border-radius: 5px;
	border: inherit;
	font-weight: bold;
	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;
}
.lomake button[type="submit"]:hover {
	transform: scale(1.05);
	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;
}

.lomake.register form {
	display: flex;
	flex-flow: wrap;
}

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

/* 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: 9999px;
    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 {
    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(max-width: 767px) {
	.mobile-text-center {
		text-align: center;
	}
}


/* ---------------
	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;}
	.footer .footer-inner h2 { font-size: 1.7em;}
	.navigaatio-1 .navlogo {
		max-width: 140px;
	}
}

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



/* --------------------------------------------------------------
	USP BAR & HERO SUBTITLE
-------------------------------------------------------------- */
.hero-subtitle {
	color: var(--color-font_1);
	font-size: 1.25em;
	font-weight: var(--font-weight-5);
	margin: 0 0 0.5em 0;
	text-shadow: 1px 1px 3px #2D2D2D;
	line-height: 1.4;
}

.usp-bar {
	background: var(--color-bg_3);
	padding: 3em 0;
}

.usp-bar-inner {
	display: flex;
	justify-content: center;
	gap: 2em;
	flex-wrap: wrap;
}

.usp-item {
	flex: 1 1 250px;
	max-width: 320px;
	text-align: center;
	padding: 1.5em 1em;
}

.usp-icon {
	margin-bottom: 0.75em;
}

.usp-title {
	color: var(--color-font_2);
	font-family: var(--font-family-1);
	font-size: 1.5em;
	font-weight: var(--font-weight-bold-1);
	margin: 0 0 0.3em 0;
}

.usp-desc {
	color: var(--color-font_2);
	font-size: 1em;
	margin: 0;
	line-height: 1.4;
}

@media (max-width: 767px) {
	.usp-bar-inner {
		flex-direction: column;
		align-items: center;
		gap: 1em;
	}
	.usp-item {
		max-width: 100%;
		padding: 1em 0.5em;
	}
	.hero-subtitle {
		font-size: 1.1em;
	}
}

/* --------------------------------------------------------------
   FRONT PAGE VISUAL POLISH
-------------------------------------------------------------- */

/* --- 1. USP Badge Cards --- */
.usp-item {
	background: #fff;
	border-radius: 1em;
	box-shadow: 0 2px 8px rgba(0,0,0,0.07);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.usp-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}
.usp-icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--color-bg_3);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 0.75em;
	box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* --- 2. Feature Boxes (boxes-4) Polish --- */
.boxes-4 .box-outer {
	border-radius: 1em;
	box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}
.boxes-4 .box-outer:hover {
	box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.boxes-4 .box-inner p {
	opacity: 0.9;
}

/* --- 3. Pricing Table Redesign --- */
.front-section-2 .wp-block-table {
	border-radius: 1em;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0,0,0,0.08);
	margin-bottom: 2em;
}
.front-section-2 table {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
}
.front-section-2 table thead th {
	background: #2D2D2D;
	color: #fff;
	font-weight: 700;
	padding: 1em;
	border: none;
}
.front-section-2 table thead th:nth-child(4) {
	background: var(--color-bg_4);
}
.front-section-2 table tbody td:nth-child(4) {
	background: rgba(255,115,23,0.06);
}
.front-section-2 table tbody tr:last-child td {
	font-size: 1.3em;
	font-weight: 700;
	color: var(--color-font_4);
}
.front-section-2 table tbody tr:nth-child(even) {
	background: var(--color-bg_3);
}
.front-section-2 table tbody tr:nth-child(odd) {
	background: #fff;
}
.front-section-2 table td,
.front-section-2 table th {
	padding: 0.75em 1em;
	border: none;
}

/* --- 4. Section Visual Rhythm --- */
.boxes-4 {
	position: relative;
	padding: 3em 0;
}
.boxes-4::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(-50vw + 50%);
	width: 100vw;
	background: var(--color-bg_3);
	z-index: -1;
}
.wrapper {
	overflow-x: hidden;
}

/* --- 5. Navbar Scroll Effect --- */
.navigaatio-1 {
	position: sticky !important;
	top: 0;
	z-index: 100;
	transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navigaatio-1.bg-hide {
	background: transparent;
	box-shadow: none;
}
.navigaatio-1.bg-show {
	background: rgba(255,255,255,0.97);
	box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

/* --- 6. CTA Button Hover Lift --- */
.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* --- 7. Intro Paragraph Optimal Width --- */
.front-section-2 > .container > .row > [class*="col"] > p:first-of-type {
	max-width: 720px;
}

/* --- 8. Section Headings Center --- */
.front-section-2 h2 {
	text-align: center;
}

/* --- Mobile Adjustments --- */
@media (max-width: 767px) {
	.usp-item {
		border-radius: 0.75em;
	}
	.front-section-2 table {
		font-size: 0.85em;
	}
	.front-section-2 table td,
	.front-section-2 table th {
		padding: 0.5em 0.5em;
	}
}

/* --------------------------------------------------------------
	GOOGLE ADSENSE MAINOSPAIKAT
-------------------------------------------------------------- */
.mbx-ad {
	text-align: center;
	overflow: hidden;
	clear: both;
	width: 100%;
	border-top: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
	background: #f9f9f9;
	padding: 0.75em 0 1em;
}
.mbx-ad-label {
	display: block;
	font-size: 0.7em;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: #999;
	margin-bottom: 0.4em;
	font-weight: 600;
	font-family: var(--font-family-1);
}
.mbx-ad ins {
	max-width: 100%;
}
.mbx-ad-header {
	padding: 0.75em 0 1em;
}
.mbx-ad-content_top {
	margin: 0 0 1.5em 0;
}
.mbx-ad-content_bottom {
	margin: 1.5em 0 0 0;
}
.mbx-ad-in_feed {
	width: 100%;
	flex-basis: 100%;
	margin: 0.5em 0;
}
.mbx-ad-pre_footer {
	padding: 0.75em 0 1em;
}

/* YLIAJOT */
