/*
Theme Name: Bad Pixel - Ravintolat
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
*/


/*--------------------------------------------------------------
# KOODIT
Keltainen: 	#f9b659
Tummaharmaa	#121212
Musta		#000



100 = thin
300 = light
400 = regular
500 = medium
700 = bold
800 = extra bold
900 = black
--------------------------------------------------------------*/

:root {
  --color-bg_1: #fff;
  --color-bg_2: #121212;
  --color-bg_3: #000;
  --color-bg_4: #fff;  
  
  --color-font_1: #fff;
  --color-font_2: #121212;
  --color-font_3: #000;
  --color-font_4: #fff;
 
  --color-bg-button_1: #fff;
  --color-bg-button_2: #000;

  --font-family-1: "Merienda", serif;
  --font-family-2: "Open Sans", sans-serif;
}
/* Käyttö background: var(--color-bg_1); */


* {
	outline: none;
}



.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0) !important;
}

/* Wordpress editor styles start */

.entry-content img {
	margin: 0 0 1.5em 0;
	}
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}
.alignnone, img.alignnone {
	/* 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;
}

a, a:focus, a:visited, a:active {color: var(--color-font_1); text-decoration: none;}
a:hover {color: #669b46; text-decoration: none;}

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;
}

a:active,
a:hover {
	outline: 0;
}

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;
}

img {
	border: 0;
}

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
-------------------------------------------------------------- */

/*
@font-face {
    font-family: 'subscriber';
    src: url('fonts/custom/subscriber-regular-webfont.eot');
    src: url('fonts/custom/subscriber-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/custom/subscriber-regular-webfont.woff2') format('woff2'),
         url('fonts/custom/subscriber-regular-webfont.woff') format('woff'),
         url('fonts/custom/subscriber-regular-webfont.ttf') format('truetype'),
         url('fonts/custom/subscriber-regular-webfont.svg#subscriberregular') format('svg');
    font-weight: normal;
    font-style: normal;

}*/

html, body {
	color: var(--color-font_4);
	background: var(--color-bg_2) url('img/theme/bg.webp') no-repeat fixed;
	background-size: cover;
	background-position: center center;
	font-family: var(--font-family-2);
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
	font-size: 18px; /* Yleiskoko fontille, tähän suhteutettu muut */
	font-weight: 400; 
	overflow-x: hidden;	
}
@media(max-width: 767px){
	html, body { font-size: 17px; }
}

.hidden, .hide { display: none !important;}
.text-left {text-align: left;}
.text-right {text-align: right;}
.text-center {text-align: center;}

section {position: relative;}



/* --------------------------------------------------------------
	Fonttien kokoja, suhteutettuna yleiskokoon + Värejä
-------------------------------------------------------------- */

p { font-size: 1.0em; line-height: 1.5; }
a, a:hover, a:visited, a:focus {color: var(--color-font_1);}

h1, h2, h3, h4, h5, h6 { color: var(--color-font_1); font-family: var(--font-family-1); text-transform: uppercase;}
.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6 {
	color: var(--color-font_1);
}
/*
.footer .footer-inner h3 { 
	font-size: 1.7em; 
	font-weight: 400;
}
.footer a {font-size: 1.2em;}	
*/
h1 {
	font-size: 2.6em;
    margin: 0.75em 0;
}

h2 {
	font-size: 2.2em;
	margin: 0.3em 0;
}

h3 {
	font-size: 1.5em;
	margin: 0.25em 0;
}

h4 {
	font-size: 1.0em;
	margin: 0.4em 0;
}

h5 {
	font-size: 0.7em;
	margin: 0.4em 0;
}

h6 {
	font-size: 0.6em;
	margin: 0.3em 0;
}






/* --------------------------------------------------------------
	NAVIGAATIO, kts. css/nav-styles.css
-------------------------------------------------------------- */
.navigaatio-1 .navbar-toggler-icon {
    background-image: url('img/theme/hamburger.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;
	}

/* Liput 
.liput {
	list-style: none;
    width: 100%;
    position: absolute;
    z-index: 4;
}
.liput ul {
    max-width: 400px;
    float: right;
    background: rgb(241 200 12 / 0.8);
    padding: 0.5em 2.7em 0.5em 2.8em;
    border-radius: 0px 0px 0px 30px;
}
.liput li {
	display: inline;
	margin: 0em 0.5em 0em;
}
*/

@media(max-width: 991px){
	.navigaatio-1 ul.menu li.menu-item a {
		padding: 5px 10px;
	}
}@media(max-width: 767px){
	.navigaatio-1 .menu li a {
		font-size: 0.8em;
	}	
}

/* --------------------------------------------------------------
	HEADER
-------------------------------------------------------------- */

#header {
    width: 100%;
    background: url("img/theme/header.jpg") center center no-repeat;
    background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
    padding: 0.3em 0 0.4em;
    margin-bottom: 3em;
	text-align: center;
	display: inline-block;
	height: 550px;
	position: relative;
	border-bottom: var(--color-bg_1) 3px solid;
	/*box-shadow: 0px 25px 60px black;*/
	overflow: hidden;
    position: relative;
}
body:not(.page-id-18, .page-id-16 ) #header {
	box-shadow: 0px 25px 60px black;
}
@media(max-width: 767px){
	#header {height: 350px;}
}
/*
#header:after {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	background: rgb(31 31 31 / 0.30);
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}*/
.nav-logo {
    position: relative;
    margin: 0 auto;
    width: 100%;
	max-width: 120px !important;
    height: auto !important;
	/*
    -webkit-filter: drop-shadow(0px 0px 5px #999);
    filter: drop-shadow(0px 0px 5px #999);	
	*/
}

@keyframes logofade{
	from {opacity: 0;}
	to {opacity: 1;}
}
#logo { background: #000; z-index: 10; animation: logofade 0.5s 1 cubic-bezier(0.95, 0, 0.95, 0.49); }
#logo img {
    width: auto;
    height: auto;
    max-width: 200px;
    background: black;
    padding: 0.4em 1em 0.5em;
    position: absolute;
    left: 3em;
    /* top: 3.60em; */
    top: 1.5em;
    border: 1px solid #fff;
    border-radius: 0.0em 0.7em;
}
@media(max-width: 1060px){
	#logo img {max-width: 200px;}
}@media(max-width: 980px){
	#logo img {top: 3.60em;}
}

@media(min-width: 767px){
	#logo {display: block !important;}
	.navbar-brand {display: none !important;}
}@media(max-width: 767px){
	#logo {display: none !important;}
	.navbar-brand {display: block !important;}
}

.enkkulippu img {
	transform: scale(1.3);
    margin-bottom: 0.3em;
	width: 16px;
	height: 11px;
}

/* SLIDER 
.flexslider {
	max-height: 600px;
	overflow: hidden;
    margin: 0 0 0px;
    background: #171717;
    border: 0px solid #fff;
    position: relative;
    zoom: 1;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: '' 0 0px 0px rgba(0, 0, 0, 0.0);
    -moz-box-shadow: '' 0 0px 0px rgba(0, 0, 0, 0.0);
    -o-box-shadow: '' 0 0px 0px rgba(0, 0, 0, 0.0);
    box-shadow: '' 0 0px 0px rgba(0, 0, 0, 0.0);
}
.flexslider .slides {
    max-width: 1280px;
    margin: auto;
}
	
.flex-direction-nav a:before {
    font-family: "flexslider-icon";
    font-size: 40px;
    display: inline-block;
    content: '\f001';
    color: rgb(241 200 12);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}
*/

/* --------------------------------------------------------------
	FOOTER
-------------------------------------------------------------- */
.footer {
    background: var(--color-bg_3);
    min-height: 350px;
    position: relative;
	border-top: 3px solid var(--color-bg_1);
	font-size: 0.9em;
}
.footer .footer-inner {padding: 4em 0em 6em;}

.footer a, .footer a:hover, .footer a:visited, .footer a:active {
	color: #fff;
}

.footnote {
    position: relative;
    width: 100%;
    padding: 0.7em 0 0.3em 0;
}
.footnote a, .footnote a:hover, .footnote a:visited, .footnote a:active {
	color: #000;
}
.footnote .footer-logo img {
    width: 100px;
    height: auto;
}

.footer .pixel-logo, .pixel-logo a {color: #fff !important;}
.markkinoinnista-teksti {text-align: right !important;}
.markkinoinnista-teksti img { 
	width: auto;
    height: 25px;    
	transition: ease-in-out .5s
    }

.markkinoinnista-teksti img:hover {opacity: .7; transition: ease-in-out .5s; }    


@media (max-width: 767px){
	.markkinoinnista-teksti {text-align: center !important;}
}

/* --------------------------------------------------------------
	FRONT
-------------------------------------------------------------- */
.nostoboksit-front {
	margin-top: 9em;
	border-top: 3px solid var(--color-bg-button_1);
	border-bottom: 3px solid var(--color-bg-button_1);
}
.nostoboksit-front .btn.btn-1 {width: 100%; margin-top: 15px;}
.nosto-teksti {
	background: var(--color-bg_2);
	min-height: 600px;
	padding: 1em 4em 4em;
}
@media(max-width: 575px){
	.nosto-teksti {
		padding: 1em 2em 2em;
		margin: 8px 0px;
	}
}

.nosto-kuva.nosto-kuva-1 {
	background: url('img/theme/nosto-1.jpg') no-repeat;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}.nosto-kuva.nosto-kuva-2 {
	background: url('img/theme/nosto-2.jpg') no-repeat;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}

/*
.etusivu-linkkinostot {
    position: relative;
    margin: 6em 0 5em;
    padding: 8em 0 8em;
    background: #F1C80C;
    background: url("img/theme/etusivun-nostot/luelisaa-bg.webp") no-repeat fixed;
        background-position-x: 0%;
        background-position-y: 0%;
        background-size: auto;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.etusivu-linkkinostot::before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #F1C80C;
        background-color: rgb(241, 200, 12);
    background-color: #F1C80C;
    opacity: 0.6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
    filter: alpha(opacity=60);
    -moz-opacity: 0.6;
    -khtml-opacity: 0.6;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.etusivu-linkkinostot:hover::before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #F1C80C;
        background-color: rgb(241, 200, 12);
    background-color: #F1C80C;
    opacity: 0.75;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
    filter: alpha(opacity=75);
    -moz-opacity: 0.75;
    -khtml-opacity: 0.75;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.etusivu-linkkinostot .img-thumbnail {
    padding: 0.0rem;
    background-color: #000;
    border: 0px solid #000;
    border-radius: 0rem;
    max-width: 100%;
    height: auto;
    box-shadow: 0px 10px 24px -4px #000;
    -webkit-box-shadow: 0px 10px 24px -4px #000;
    -moz-box-shadow: 0px 10px 24px -4px #000;
}
.kuvaotsikko {
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0.0em;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.2em 0em 0.3em 0em;
}

.etusivu-linkkinostot .col-md-3, .etusivu-linkkinostot .col-sm-6 {
    transform: scale(1.0);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    padding: 1em;
	width: 50%;
}
.etusivu-linkkinostot .col-md-3:hover, .etusivu-linkkinostot .col-sm-6:hover {
    transform: scale(1.02);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
*/


/* Etusivun taustakuvia */
.front-main-text {z-index: 1;}
.nosto-teksti-2 {position:relative;}

/*.nosto-teksti-2:before {
	content: '';
	background: url('img/taustat/asset_2.svg') no-repeat;
	background-size: contain;
	width: 400px;
	height: 400px;
	position: absolute;
	top: -9em;
	right: -5em;
	z-index: 0;
	opacity: .2;
} */

/* Ajankohtaista */
.bloginostot{position:relative;}
/*.bloginostot:before {
	content: '';
	background: url('img/taustat/asset_13.svg') no-repeat;
	background-size: contain;
	width: 450px;
	height: 370px;
	position: absolute;
	top: -9em;
	right: -5em;
	z-index: 0;
	opacity: .2;
} 
.bloginostot:after {
	content: '';
	background: url('img/taustat/asset_12.svg') no-repeat;
	background-size: contain;
	width: 450px;
    height: 450px;
    position: absolute;
    bottom: -14em;
    left: -8em;
    z-index: 0;
    opacity: .2;
    transform: rotate(20deg);
} */

/* Menu sivu*/
/*
.sivupohja-1-otsikko:before {
	content: '';
	background: url('img/taustat/asset_2.svg') no-repeat;
	background-size: contain;
	width: 400px;
	height: 400px;
	position: absolute;
	top: 14em;
	right: -5em;
	z-index: 0;
	opacity: .2;
} 
.sivupohja-1-otsikko:after {
	content: '';
	background: url('img/taustat/asset_11.svg') no-repeat;
	background-size: contain;
	width: 450px;
    height: 450px;
    position: absolute;
    top: 50em;
    left: -8em;
    z-index: 0;
    opacity: .2;
    transform: rotate(20deg);
} 
.paivan-lounas:last-of-type:before {
	content: '';
	background: url('img/taustat/asset_3.svg') no-repeat;
	background-size: contain;
	width: 450px;
    height: 450px;
    position: absolute;
	top: -3em;
    right: -10em;
    z-index: 0;
    opacity: .2;
    transform: rotate(20deg);
} 
*/



#section-full-2 { margin: 8em 0 4em; }
#section-full-4 { overflow: hidden; }

/*
.sloped-div-1 {
    width: 120%;
    min-height: 350px;
    transform: rotate(-2deg);
    background: #f1c80c;
    margin-bottom: 10em;
    margin-left: -10%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3em;
    border: 8px solid #fef0bf;
}
.sloped-div-1-inner {
    transform: rotate(2deg);
    *margin-top: 6em;
    _margin-top: 6em;
}

.sloped-div-1-inner .btn {
    background: #1b1c1d;
    color: white;
    padding: 1em 2.5em;
}

.etusivun-youtube {
	max-width: 800px; 
	width: 100%; 
	display: flex; 
	align-items: center; 
	justify-items: center; 
	min-height: 450px;
}
.etusivun-youtube img {
    object-fit: cover;
    width: 100%;
    height: 450px;
}
*/

/* --------------------------------------------------------------
	LOUNAS -sivu
-------------------------------------------------------------- */
.lounas-kuva.lounas-kuva-1 {
	background: url('img/theme/nosto-1.jpg') no-repeat;
	background-size: cover !important;
	background-position: center  !important;
	background-repeat: no-repeat !important;
	padding: 7em 0em 10em;
	border-top: 3px solid var(--color-bg-button_1);
	border-bottom: 3px solid var(--color-bg-button_1);
	overflow: hidden;
    position: relative;
	margin-top: 8em;
}
.lounas-kuva.lounas-kuva-1:before {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	background: rgb(31 31 31 / 0.30);
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}
.lounas-kuva.lounas-kuva-1 div { margin: auto; }
.lounas-kuva.lounas-kuva-1 div h2 { color: #fff; font-size: 3.5em;}

.page-template-sivupohja-1 #header {
	box-shadow: none;
	margin-bottom: 0;
	z-index: 2;
	}
.sivupohja-1-otsikko {
	background: var(--color-bg_3);
	color: var(--color-font_1);
	width: 100%;
    margin-top: -8px;
	margin-bottom: 150px;
	box-shadow: 0px 25px 60px black;
	position: relative;
}
.paivan-lounas {
	position: relative;
}
.paivan-lounas div:not(.ateria) {
	padding: 2em 0em 1em 
}
.paivan-lounas:after {
    content: '';
    width: 70%;
    height: 1px;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    background: var(--color-bg_1);
    margin: auto;
}
/*
.paivan-lounas hr {
	border: 1px solid var(--color-bg-button_1);
    opacity: 1;
    width: 70%;
    margin: auto;
}*/

.paivan-lounas:last-of-type:after  {
	display: none;
}

/* --------------------------------------------------------------
	MENU -sivu
-------------------------------------------------------------- */
	.menulista h1 {font-size: 3em; margin: 0.35em 0;}
	
	.menulista .menulista-main-text {
		padding-bottom: 7em;
	}

	.menulista .accordion-item.haitarivalikko-menu .accordion-button:hover {
		background: #000000 !important;
	}

	.menulista .accordion-item.haitarivalikko-menu .accordion-button:hover .kolmio-ikoni {
		bottom: -1.2em;
	}
	
	.accordion-item {
		background: var(--color-bg_2);
		margin-bottom: 3em;
		border: 0px;
    	border-radius: 0px !important;
	}
	.accordion-button:not(.collapsed), .accordion-button {
		background: var(--color-bg_2);
		box-shadow: none;
		display: inline-block;
	}
	
	.accordion-button .kolmio-ikoni {
		width: 25px;
		height: 25px;
		border-radius: 100em;
		background: var(--color-bg_1);
		color: var(--color-font_2);
		font-size: 17px;
		position: absolute;
		bottom: -0.8em;
		left: 0;
		right: 0;
		margin: auto;
		-webkit-transition: all 0.3s ease;
		-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		transition: all 0.3s ease;
	}
	
	.accordion-item:last-of-type {
		margin-bottom: 10em;
	}	
	
	.accordion-item h2.accordion-header {margin: 0;}
	
	h2.accordion-header .accordion-button {
		color: var(--color-font_1);
		font-size: 1em;
		border-bottom: 3px solid var(--color-bg_1);
	}
	
	.menulista .accordion .accordion-body.menu-sisalto {
		color: var(--color-font_1);
	}		
	.menulista .accordion .accordion-body.menu-sisalto .menu-tuotteet {
		padding-top: 3em;
		padding-left: 2em;
	}	
	.menulista .accordion .accordion-body.menu-sisalto .menu-tuotteet .menu-tuotteen-lisakentta {
		color:  var(--color-font_4);
		max-width: 800px;
		margin: 0em auto 1.5em;
		font-size: 0.7em;
	}	
	.menulista .accordion .accordion-body.menu-sisalto .menu-sisalto-tuote {
		/*border-bottom: 1px solid var(--color-bg-button_1);*/
		border-bottom: 1px solid rgb(249 182 89 / 30%);
		padding-bottom: .5em;
		max-width: 800px;
		margin: 0em auto 0.7em;
	}	
	/* Väliotsikko menussa */
	.menulista .accordion .accordion-body.menu-sisalto .menu-sisalto-tuote.kayta-valiotsikkona-menussa {
		/*border-bottom: 1px solid var(--color-bg-button_1);*/
		border-bottom: 0px solid rgb(249 182 89 / 30%);
		padding-bottom: 0.1em;
		max-width: 800px;
		margin: 0em auto 0em;
		font-size: 1.8em;
		font-family: var(--font-family-1);
	}	
	.menulista .accordion .accordion-body.menu-sisalto .menu-sisalto-lisateksti-kategorialle {
		padding-bottom: .5em;
		max-width: 800px;
		margin: 0em auto 1.5em;
		color: var(--color-font_4);
	}	
	.menulista .accordion .accordion-body.menu-sisalto .menu-sisalto-lisateksti-kategorialle_ala{
		padding-bottom: .5em;
		max-width: 800px;
		margin: 0em auto 1.5em;
		color: var(--color-font_4);
		margin: 80px 10px;
		font-size: 0.8em;
	}
	
.accordion-button:focus {
    z-index: 3;
	border: 0;
    border-color: transparent;
    outline: 0;
    box-shadow: none;
}	

/* --------------------------------------------------------------
	ARCHIVE
-------------------------------------------------------------- */

/* --------------------------------------------------------------
	SINGLE & page-template-default
-------------------------------------------------------------- */

/*--------------------------------------------------------------
	Listaukset
--------------------------------------------------------------*/
ul.listaus {
    padding: 0;
    margin: 0;
    width: 100%;
}
ul.listaus li {
    width: 100%;
    background: #f1c80c;
    list-style: none;
    padding: 0.3em 1.5em;
    margin: 0px 0px 10px;
    font-weight: bold;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
ul.listaus li:hover {
    width: 90%;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}


/* --------------------------------------------------------------
	SEARCH PAGE
-------------------------------------------------------------- */



/* --------------------------------------------------------------
	Napit, buttonit & taulukot
-------------------------------------------------------------- */
.wp-block-button {
    background: black;
    max-width: 300px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    padding: 0.5em 1em;
    width: 100%;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    margin-bottom: 2em;
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI", "Helvetica Neue", Arial,sans-serif;
}
.wp-block-button:hover {
    background: #2c2c2c;
}
.wp-block-button__link {
    color: #fff;
    background-color: transparent;
    border: none;
    border-radius: 0px;
	box-shadow: none;
    cursor: pointer;
    display: inline-block;
    font-size: inherit;
    padding: inherit;
    text-align: center;
    text-decoration: none;
    overflow-wrap: break-word;
}

.btn.btn-1 {
	background: var(--color-bg-button_2); 
	color: var(--color-bg-button_1);
	border: 2px solid var(--color-bg-button_1);
	border-radius: 5px;
	padding: 15px 60px;
}
.bloginosto-front .btn.btn-1 {
	padding: 10px 50px; 
	margin-top: 15px;
	z-index: 1;
    position: relative;
	}
.btn.btn-1:hover {
	box-shadow: 8px 8px 0px #000;

}


/* Käyttö */

/*
.sloped-div-1-inner .btn {margin-top: 1em;}*/


/* MALLITAULUKKO 1 */
/*
.mallitaulukko-1 {
	width: 100%;
	padding: 4em 1em;
	text-align: center;
}
.mallitaulukko-1 h3,
.mallitaulukko-1 .taulukon-lisateksti {text-align: left;}
.mallitaulukko-1 img { max-height: 70px; }
.mallitaulukko-1 tr th:nth-of-type(1) {
	text-align: left;
}
*/
/* Piilotetaan tyhjiä rivejä *//*
html[lang="ru-RU"] .mallitaulukko-1 .min-max-litra,
html[lang="ru-RU"] .mallitaulukko-1 .bar-teho,
html[lang="es-ES"] .mallitaulukko-1 .min-max-litra,
html[lang="es-ES"] .mallitaulukko-1 .bar-teho,
html[lang="fr-FR"] .mallitaulukko-1 .min-max-litra,
html[lang="fr-FR"] .mallitaulukko-1 .bar-teho,
html[lang="de-DE"] .mallitaulukko-1 .min-max-litra,
html[lang="de-DE"] .mallitaulukko-1 .bar-teho {
	display: none;
}

.metric-otsikko,
.imperial-otsikko {padding-top: 1em;}
.metric-imperial-valinta ul.nav-tabs {margin-left: 0;}
.metric-imperial-valinta ul.nav-tabs li:nth-of-type(2),
.metric-imperial-valinta ul.nav-tabs li:nth-of-type(3) { 
	padding-left: 1em;
}
*/


/* --------------------------------------------------------------
	LOMAKKEET & Placeholderit
-------------------------------------------------------------- */
:placeholder,
::placeholder,
input:placeholder,
input::placeholder { color: #757575;}

.lomake-1 textarea,
.lomake-1 input[type=text],
.lomake-1 input[type=tel],
.lomake-1 input[type=email] {
    background: var(--color-bg_4);
    border: 1px solid var(--color-bg_3);
    padding: 0.6em;
    margin: 0.4em 0em;
    border-radius: 0.3em;
	width: 100%;
	color: #757575;
}
.lomake-1 input[type=submit] {
	background: var(--color-bg-button_2); 
	color: var(--color-bg-button_1);
	border: 2px solid var(--color-bg-button_1);
	border-radius: 5px;
	padding: 15px 60px;	
	width: 100%;
}

@media(min-width: 600px) and (max-width: 781px){ 
	#post-18 .wp-block-column {
		flex-basis: calc(100% - 1em)!important;
	}
	#post-18 .wp-block-column:nth-child(2n) {
		margin-left: 0em;
	}
}

.page-id-18 section .container:after {
	content: '';
	position: absolute;
	width: 100%;
	height: 3px;
	left: 0;
	right: 0;
	margin: auto;
	border-bottom: 3px solid var(--color-bg_1);
}
.page-id-18 .yhteyssivu-otsikko {
    background: var(--color-bg_3);
    color: var(--color-font_1);
    width: 100%;
    margin-top: -4.3em;
    margin-bottom: 150px;
    box-shadow: 0px 25px 60px black;
}





/* Lomakkeen viereinen kuva 
.alasivu-foot-left-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.alasivu-foot-left-img {
    overflow: hidden;
    max-height: 450px;
	padding-left: 0;
}
@media(max-width: 575px){.alasivu-foot-left-img {padding: 0px;}}
*/

/* --------------------------------------------------------------
	Kuvagalleria 
-------------------------------------------------------------- */
/*
.etusivun-youtube {
	transition: ease-in-out .5s all;
}.etusivun-youtube:hover {
	transition: ease-in-out .5s all;
	opacity: .6;
}*/
/*
#kuvagalleria_1 .kuva {
	max-height: 285px;
	max-width: 285px;
}

#kuvagalleria_2 .kuva {
    margin: 0.5em 0em;
	max-height: 228px;
    max-width: 228px;
}

#kuvagalleria_1 .item-img-wrap,
#kuvagalleria_2 .item-img-wrap {
    position: relative;
    text-align: center;
    overflow: hidden;
}

#kuvagalleria_1 .item-img-wrap img,
#kuvagalleria_2 .item-img-wrap img {
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
    width: 100%;
}

#kuvagalleria_1 .row,
#kuvagalleria_2 .row {
	padding: 0px 0px;
    margin: 0;
}
@media(max-width: 575px){
	#kuvagalleria_1 .row .kuva,
	#kuvagalleria_2 .row .kuva {
		max-width: calc(50%);
	}
}
*/

/************************image hover effect*******************/
/*
#kuvagalleria_1 .item-img-wrap,
#kuvagalleria_2 .item-img-wrap {
  position: relative;
  text-align: center;
  overflow: hidden;
}

#kuvagalleria_1 .item-img-wrap img,
#kuvagalleria_2 .item-img-wrap img {
  -moz-transition: all 200ms linear;
  -o-transition: all 200ms linear;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  width: 100%;
}

#kuvagalleria_1 .item-img-overlay,
#kuvagalleria_2 .item-img-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}


#kuvagalleria_1 .item-img-overlay span, 
#kuvagalleria_2 .item-img-overlay span {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    -moz-transition: opacity 250ms linear;
    -o-transition: opacity 250ms linear;
    -webkit-transition: opacity 250ms linear;
    transition: opacity 250ms linear;
    display: grid;
    align-items: center;
    text-align: center;
    color: #fff;
    font-family: 'Black Ops One', cursive;
}

#kuvagalleria_1 .item-img-wrap:hover .item-img-overlay span,
#kuvagalleria_2 .item-img-wrap:hover .item-img-overlay span {
  opacity: 1;
}

#kuvagalleria_1 .item-img-wrap:hover img,
#kuvagalleria_2 .item-img-wrap:hover img {
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
*/
/*
#kuvagalleria_1 #previous-page, #kuvagalleria_1 #next-page,
#kuvagalleria_2 #previous-page, #kuvagalleria_2 #next-page {
	display: none;
}
*/
/*
#kuvagalleria_1 .page-item .page-link,
#kuvagalleria_2 .page-item .page-link {
	border-radius: 100em;
	margin: 0.4em;
	background: white;
	width: 40px;
	height: 40px;
	color: transparent;
}
#kuvagalleria_1 .page-item.active .page-link,
#kuvagalleria_2 .page-item.active .page-link {
	border-radius: 100em;
	margin: 0.4em;
	background: #f1c80c;
	color: transparent;
	border: 0px solid;
}
#kuvagalleria_1 #previous-page.page-item .page-link,
#kuvagalleria_1 #next-page.page-item .page-link,
#kuvagalleria_2 #previous-page.page-item .page-link,
#kuvagalleria_2 #next-page.page-item .page-link {
	border-radius: 100em;
    margin: 0.4em;
    background: white;
    width: 40px;
    height: 40px;
    color: #f1c80c;
    border: 1px solid #f1c80c;
    display: grid;
    align-items: center;
    text-align: center;
	font-weight: bold;
}
.page-link:focus {
    z-index: 3;
    outline: 0;
    box-shadow: 0 0 0 0.0rem rgba(0,10,0,.0);
}
*/

/* --------------------------------------------------------------
	BLOGI
-------------------------------------------------------------- */

.blog-home {margin-bottom: 10em;}
.blog-home .blog-posts .blogi-artikkeli {
    margin-bottom: 4em;
    border-bottom: 1px dotted #eaeaea;
    padding-bottom: 3em;
}
.blogiteksti-nav-previous, .blogiteksti-nav-next {    
	font-size: 1.4em;
    font-weight: 500;
}
.blogi-vali-1 {
    width: 100%;
    background: var(--color-bg_3);
    height: 2px;
    margin: 4em 0 1em;
}
.blogi-vali-2 {
    width: 100%;
    background: transparent;
    height: 2px;
    margin: 1em 0 1em;
}
.some-icon {
	float: right;
	width: 40px;
	height: 40px;
	padding: 0.3em;
	}
	@media(max-width: 575px){
		.some-icon {
			float: left;
			width: 40px;
			height: 40px;
			padding: 0.3em;
			margin-top: 1em;
		}	
	}
.tagit a {
    background: var(--color-bg_3);
    color: var(--color-font_1);
    width: auto;
    max-width: 230px;
    padding: 0.5em 1.6em;
    border-radius: 5px;
    text-align: center;
    float: left;
    margin: 0.2em 0.2em;
    font-size: 0.8em;
    border: 1px solid var(--color-bg_1);
}
.open-more-1 a {
    font-size: 1.3em;
}

.bloginostot {
    margin-top: 4em;
    margin-bottom: 6em;
    text-align: center;
    font-size: 0.8em;
}
.bloginosto-front time {font-size: 0.8em}

.bloginostot h3 {
	margin-bottom: 1em;
	font-size: 2.2em;
	position: relative;
}
.bloginostot h3:after {
	content: '';
	width: 80%;
	max-width: 500px;
	height: 2px;
	display: block;
	position: absolute;
	left: 0; right: 0;
	background: var(--color-bg_1);
	margin: 20px auto;
}

.front-blog-post  {
	font-family: var(--font-family-1);
    margin-bottom: 0em;
	font-size: 1.8em;
}

.single .date {
	font-weight: bold;
    font-variant: all-small-caps;
	}


/* --------------------------------------------------------------
	MUUT
-------------------------------------------------------------- */
/* 404 */
.error404 section.basic.e-404 {margin-bottom: 7em;}
#searchsubmit {
	background: var(--color-bg-button_2); 
	color: var(--color-bg-button_1);
	border: 2px solid var(--color-bg-button_1);
	border-radius: 5px;
	padding: 15px 60px;	
}
.error404 .searchform input[type="text"] {
    padding: 0.7em;
    width: 100%;
    max-width: 500px;
}


/* /////////////////// Cookie popup ////////////////////////// */
#popup-cookie {
	display: none;
    width: 100%;
    height: auto;
    max-width: 400px;
    background: #F1C80C;
    color: #222;
    display: none;
    position: fixed;
    margin: auto;
    right: 1em;
    bottom: 3em;
    padding: 15px 20px 40px;
    border-radius: 0.4em 0.4em 0.4em 0.4em;
    box-shadow: 0px 0px 13px -3px #222;
    z-index: 100;
    font-size: 0.7em;
}

#popup-cookie p {
	font-size: 13px;
	margin-bottom: 2em;
}
#popup-cookie p a {
	color: #222;
	text-decoration: underline;
}

#popup-cookie h3 {
    padding: 0;
    margin: 5px 0px 10px;
	font-size: 2em;
}

#popup-cookie.popup-cookie-show {
	display: block;
	bottom: 3em;
	
	animation: animaatio-cookie ease 1s;
	-webkit-animation: animaatio-cookie ease 1s;
	-moz-animation: animaatio-cookie ease 1s;
	-o-animation: animaatio-cookie ease 1s;
	-ms-animation: animaatio-cookie ease 1s;	
	}
	
@keyframes animaatio-cookie {
	0% {opacity: 0; bottom: 0em;}
	100% {opacity: 1; bottom: 3em;}
}	


#popup-cookie .sulje-popup-1 {
	width: 115px;
    height: 30px;
    background: #F1C80C;
	/* color: #35d7e3; */
	color: #222;
	border: 1px solid #222;
	border-radius: 100em;
    position: absolute;
	left: 1.4em;
    bottom: 1.3em;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
	font-size: 1.1em;
	cursor: default;
}
/* /////////////////// Cookie popup ////////////////////////// */


/* --------------------------------------------------------------
	SIVUKOHTAISET MÄÄRITYKSET
-------------------------------------------------------------- */




/* --------------------------------------------------------------
	MOBILE / RESPONSIVE
-------------------------------------------------------------- */

/*
	p {font-size: 1em;}
	h1 {font-size: calc(4em - 1.5em);}
	h2 {font-size: calc(3.2em - 1.0em);}
	h3 {font-size: calc(2.5em - 0.7em);}	
	h4 {font-size: calc(2em - 0.5em);}
	h5 {font-size: calc(1.6em - 0.2em);}
*/


/* ---------------
	Scale Up
--------------- */

/* Mini devices ( 576 px and up) */	
@media (min-width: 576px) { }

/* Small devices (tablets, 768px and up) */	
@media (min-width: 768px) {	}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) { }

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { }



/* ---------------
	Scale Down
--------------- */

/* Large devices (desktops, 1200px and down) */
@media (max-width: 1200px) { }

/* Medium devices (desktops, 992px and down) */
@media (max-width: 991.9px) { }


/* Small devices (tablets, 767px and down) */	
@media (max-width: 767px) { 
	.text-center-mobile { text-align: center !important;}
	.btn.btn-1 {padding: 15px;}
	.hide-mobile {display: none;} 
	.menulista .accordion .accordion-body.menu-sisalto .menu-tuotteet {
		padding-top: 2em;
		padding-left: 0em;
	}
	.footer ul.menu {padding: 0px;}
}

/* Micro devices (575.9px and down) */	
@media (max-width: 599px) {	}
@media (max-width: 781px) and (min-width: 600px){ }

/* Micro devices (575.9px and down) */	
@media (max-width: 575.9px) { }

/* Super mini devices (477px and down) */	
@media (max-width: 477px) { }



/* YLIAJOT */





